/*!
Theme Name: ITVSA
Theme URI: http://underscores.me/
Author: Fun in Elk City
Author URI: https://funinelkcity.com
Description: Custom theme for ITV Studios Australia
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: itv-studios-australia
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

ITVSA is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/* -------------------------------- 

Text style

-------------------------------- */

@font-face {
  font-family: reem;
  src: url(font/reem-regular.otf);
}

@font-face {
  font-family: reem-med;
  src: url(font/reem-medium.otf);
}

@font-face {
  font-family: reem-light;
  src: url(font/ITV-Reem-Light.otf);
}

*, *::after, *::before {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-size: 18px;
  line-height:20px;    
  font-family: "reem", sans-serif;
}

p {   
  font-size: 1.75rem;
  line-height: 2rem;
  letter-spacing: .03em;   
  font-family: "reem", sans-serif;
}

li {
  margin: 0;    
  font-size: 18px;
  line-height:20px;    
  font-family: "reem", sans-serif;
  list-style: none;
}

.row h1 {
  margin: 0;    
  font-size: 40px;
  line-height:40px;    
  font-family: "reem-med", sans-serif;    
}

.row h2 {
  margin: 0;    
  font-size: 34px;
  line-height:34px;    
  font-family: "reem", sans-serif;   
}

.row h3 {
  margin: 0;    
  font-size: 26px;
  line-height:26px;    
  font-family: "reem-light", sans-serif;  
  text-transform: uppercase;   
}

.row h4 {   
  font-size: 22px;
  line-height:22px;    
  font-family: "reem", sans-serif;
}

.row h6 {
  margin: 0;    
  font-size: 26px;
  line-height:26px;    
  font-family: "reem-med", sans-serif;    
  color: #2F86F1;
}

.row a {
  color: #2F86F1;
  text-decoration: none;
}

@media only screen and (max-width: 576px) {
.row h2 {
  margin: 0;    
  font-size: 26px;
  line-height:26px;    
  font-family: "reem", sans-serif;   
}
}

#wpadminbar {
    position: fixed;
    bottom:auto;
    top:70px;
    z-index: 9;
}

.ninja-forms-req-symbol,
.nf-form-fields-required {
  display: none;
}

.nf-form-content button, .nf-form-content input[type=button], .nf-form-content input[type=submit] {
    display: inline-block;
    vertical-align: top;
    overflow: hidden;
    -webkit-appearance: none;
    padding: 0 20px;
    font-size: 16px;
    line-height: 30px;
    font-weight: 900;
    border-radius: 10px;
    background-color: #2F86F1!important;
    border: 2px solid #2F86F1!important;
    color: #EDEDED!important;
    white-space: nowrap;
    -webkit-transition: color 0.15s linear 0s, background-color 0.15s linear 0s;
    transition: color 0.15s linear 0s, background-color 0.15s linear 0s;
    position: relative;
    text-align: center;
    opacity: 1;
    max-width: 100%;
    text-overflow: ellipsis;
    text-transform: none;
    text-decoration: none!important;
}

/* -------------------------------- 

Header style

-------------------------------- */

.site-main {
  margin-top: 70px;
}

.fiec-main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: #EDEDED;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
          box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  z-index: 3;
}

.fiec-main-header:after {
  /* clearfix */
  content: "";
  display: table;
  clear: both;
}

.fiec-main-header__logo {
  float: left;
  margin: 0 0 0 5%;
  height:60px;
}

.fiec-main-header__logo img {
  display: block;
  height:100%;    
}

@media only screen and (min-width: 768px) {
  .fiec-main-header {
    height: 80px;
  }
  .fiec-main-header__logo {
    margin: 0 0 0 5%;
  }
}

/* -------------------------------- 

Nav style

-------------------------------- */

.navbar {
    -webkit-box-shadow: 0 1px 20px rgba(0, 0, 0, 0.1);
          box-shadow: 0 1px 20px rgba(0, 0, 0, 0.1);
}

.navbar-expand-lg .navbar-nav .dropdown-menu {
  border: none;
  border-radius: 10px;
}

.navbar-light .navbar-toggler-icon {
  background-image: url("/wp-content/themes/itv-studios-australia/img/menu.svg");
  border: none;
  width: 30px;
  height: 30px;
}
// this is a white icon with 50% opacity
.navbar-dark .navbar-toggler-icon {
  background-image: url("/wp-content/themes/itv-studios-australia/img/menu.svg");
}

.navbar-light .navbar-toggler {
  border: none;
}

.nav-item {
  margin: 0 5px;
}

.nav-item a {
    font-size:16px;
    line-height: 16px;    
    font-family: "reem", sans-serif;
    color: #37384C;
    font-weight: 800;
}

.dropdown-item {
	padding: 10px;

}

.dropdown-item:focus, .dropdown-item:hover {
  color: #2F86F1!important;
  text-decoration: none;  
  padding: 10px;
  background-color: #fff;
}

.navbar-dark .navbar-nav .nav-link, .navbar-dark .navbar-nav .nav-link{
  color: #37384C!important;
  text-decoration: none;
}

.navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover {
  color: #2F86F1!important;
  text-decoration: none;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255,255,255,.9);
}


.button,
.more-link,
.search-submit {
    display: inline-block;
    vertical-align: top;
    overflow: hidden;
    -webkit-appearance: none;
    padding: 0 20px;
    font-size: 16px;
    line-height: 30px;
    font-weight: 900;
    border-radius: 10px;
    background-color: #2F86F1;
    border: 2px solid #2F86F1;
    color: #EDEDED!important;
    white-space: nowrap;
    -webkit-transition: color 0.15s linear 0s, background-color 0.15s linear 0s;
    transition: color 0.15s linear 0s, background-color 0.15s linear 0s;
    position: relative;
    text-align: center;
    opacity: 1;
    max-width: 100%;
    text-overflow: ellipsis;
    text-transform: none;
    text-decoration: none!important;
    z-index: 99999;
}

.button:hover,
.more-link:hover {
background-color: #EDEDED;
text-decoration: none;
border: 2px solid #2F86F1;
color: #2F86F1!important;
opacity:1;    
}

.more-link {
  margin-top: 20px;
}



/* -------------------------------- 

Body style

-------------------------------- */

.space100 {
	margin: 100px 0;
}

.space200 {
	margin: 200px 0;
}

.paddy100 {
  padding: 100px 0;
}

.paddy200 {
  padding: 200px 0;
}

.fiec-fixed-bg {
  position: relative;
  min-height: 60vh;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  z-index: 1;
}

.fiec-fixed-bg__content, .fiec-fixed-bg h2 {
  position: absolute;
  left: 50%;
  top: 80%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
      -ms-transform: translateX(-50%) translateY(-50%);
          transform: translateX(-50%) translateY(-50%);
  width: 90%;
  max-width: 1170px;
  margin: 0 auto;
  text-align: center;
  font-size: 3rem;
  font-family: "reem-med", sans-serif; 
}

.fiec-fixed-bg h1, .fiec-fixed-bg h2 {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  color: #EDEDED;
}

.fiec-fixed-bg.fiec-fixed-bg--1 {
  background-image: url("../img/fiec-background-1.jpg");
}

.fiec-fixed-bg.fiec-fixed-bg--1:before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
        height:30vh;
background: rgb(56,57,77);
background: -moz-linear-gradient(0deg, rgba(56,57,77,1) 20%, rgba(56,57,77,0.6082808123249299) 70%, rgba(56,57,77,0) 100%);
background: -webkit-linear-gradient(0deg, rgba(56,57,77,1) 20%, rgba(56,57,77,0.6082808123249299) 70%, rgba(56,57,77,0) 100%);
background: linear-gradient(0deg, rgba(56,57,77,1) 20%, rgba(56,57,77,0.6082808123249299) 70%, rgba(56,57,77,0) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#38394d",endColorstr="#38394d",GradientType=1);
    opacity: 1;
}

@media only screen and (min-width: 768px) {
  .fiec-fixed-bg h1, .fiec-fixed-bg h2 {
    font-size: 3.6rem;
  }
}

@media only screen and (min-width: 1170px) {
  .fiec-fixed-bg h1, .fiec-fixed-bg h2 {
    font-size: 4.8rem;
    font-weight: 300;
  }
  @supports (background-attachment: fixed) {
    /* fix bug on IE11 and below */
    .fiec-fixed-bg {
      background-attachment: fixed;
    }
  }
}

.fiec-scrolling-bg {
  position: relative;
  min-height: 100%;
  padding: 2em 0;
  line-height: 1.6;
  /*-webkit-box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
          box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);*/
  z-index: 2;
}

.fiec-scrolling-bg.fiec-scrolling-bg--color-1 {
  background-color: #FFFFFF;
  color: #38394D;
}

.fiec-scrolling-bg.fiec-scrolling-bg--color-2 {
  background-color: #EDEDED;
  color: #38394D;
}

.fiec-scrolling-bg.fiec-scrolling-bg--color-3 {
  background: rgb(237,237,237);
  background: linear-gradient(180deg, rgba(237,237,237,1) 0%, rgba(255,255,255,1) 100%);
  color: #38394D;
}

.fiec-scrolling-bg.fiec-scrolling-bg--color-4 {
  background-color: #38394D;
  color: #EDEDED;
}

.fiec-scrolling-bg.fiec-scrolling-bg--color-4 .row a {
  color: #EDEDED!important;
  font-size: 16px;
}

.fiec-scrolling-bg.fiec-scrolling-bg--color-4 .row a:hover {
  color: #2F86F1!important;
}


.fiec-scrolling-bg__content {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

@media only screen and (min-width: 768px) {
  .fiec-scrolling-bg {
    padding: 2em 0;
    font-size: 2rem;
    line-height: 2;
    font-weight: 300;
  }
}

/*HERO VIDEO*/

.hero-video {
  position: relative;
  background-color: #ffffff;
  height: 65vh;
  width: 100%;
  overflow: hidden;
}

.hero-video video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

.hero-video .container {
  position: relative;
  z-index: 1;
}

.hero-video .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 50%;
  width: 100%;    
  background: rgb(56,57,77);
  background: linear-gradient(180deg, rgba(56,57,77,0) 0%, rgba(56,57,77,1) 100%);   
  z-index: 1;
}

@media only screen and (max-width: 450px) {
.hero-video {
  position: relative;
  background-color: #ffffff;
  height: 60vh;
  width: 100%;
  overflow: hidden;
  margin-top:50px;    
}
.hero-video video {
  height: 200px;
}    
}

.footer-container {
  position:relative;
  width: 90%;    
  max-width: 1200px;
  z-index:-1;  
  margin-bottom: 200px;  
}

.footer {
    width:100%;
    margin: auto;
    position:fixed;
    bottom:0;
    padding:40px;
    height:200px;
    color:#EDEDED;
    background-color:#38394D;
    z-index:-1;
}

.footer p {
    font-size: 14px;
    margin:0px;
    color: #EDEDED;
}

.footer a {
    color:#EDEDED;
}

.footer a:hover {
    text-decoration: underline;
    color:#2F86F1;
}

@media only screen and (max-width: 576px) {
.footer-container {
  position:relative;
  width: 90%;   
  max-width: 1200px; 
  margin-bottom: 200px; 
  z-index:-1;    
}    
.footer {
    width:100%;
    position:fixed;
    bottom:0;
    padding:40px;
    height:200px;
    color:#EDEDED;
    background-color:#38394D;
    z-index:-1;
}    
}


.rounds {
	border-radius: 10px;	
}


.globe {
  background-image: url("/wp-content/themes/itv-studios-australia/img/itvsa-globe.png");
  background-repeat: no-repeat;
  background-position: right;
  background-size: contain;
}


/* -------------------------------- 

Latest news style

-------------------------------- */


.b-0 {
    bottom: 0;
}
.bg-shadow {
background: rgb(56,57,77);
background: linear-gradient(180deg, rgba(56,57,77,0) 0%, rgba(56,57,77,1) 100%);
    border-radius: 10px;
}
.top-indicator {
    right: 0;
    top: 1rem;
    bottom: inherit;
    left: inherit;
    margin-right: 1rem;
}
.overflow {
    position: relative;
    overflow: hidden;
}
/*
.zoom img {
    transition: all 0.2s linear;
}
.zoom:hover img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}*/





/* -------------------------------- 

Search style

-------------------------------- */

#search {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
background: rgb(237,237,237);
background: linear-gradient(180deg, rgba(237,237,237,0.98) 0%, rgba(56,57,77,0.98) 100%);
    
    -webkit-transition: all 0.25s ease-in-out;
	-moz-transition: all 0.25s ease-in-out;
	-o-transition: all 0.25s ease-in-out;
	-ms-transition: all 0.25s ease-in-out;
	transition: all 0.25s ease-in-out;

    -webkit-transform: translate(0px, -100%) scale(0, 0);
	-moz-transform: translate(0px, -100%) scale(0, 0);
	-o-transform: translate(0px, -100%) scale(0, 0);
	-ms-transform: translate(0px, -100%) scale(0, 0);
	transform: translate(0px, -100%) scale(0, 0);
    
    opacity: 0;
    z-index: 99999;
}

#search.open {
    -webkit-transform: translate(0px, 0px) scale(1, 1);
    -moz-transform: translate(0px, 0px) scale(1, 1);
	-o-transform: translate(0px, 0px) scale(1, 1);
	-ms-transform: translate(0px, 0px) scale(1, 1);
	transform: translate(0px, 0px) scale(1, 1); 
    opacity: 1;
}

#search .close {
    position: fixed;
    top: 40px;
    right: 54px;
    color: #38394D;
  background-color: ;
  border-color: #ccc;
  opacity: 1;
  padding: 10px 17px;
  font-size: 27px;
}


#search h3 {
    position: absolute;
    top: 25%;
    width: 100%;
    color: #fff;
    text-align: center;
}
#search input[type="search"] {
    position: absolute;
    top: 50%;
    width: 100%;
    color: rgb(255, 255, 255);
    background: rgba(0, 0, 0, 0);
    font-size: 60px;
    font-weight: 300;
    text-align: center;
    border: 0px;
    margin: 0px auto;
    margin-top: -51px;
    padding-left: 70px;
    padding-right: ;
    outline: none;
}
#search .btn {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100px;
    max-width: 200px;
    margin-top: 61px;
    margin-left: -45px;
}


.search-submit {
    display: inline-block;
    vertical-align: top;
    overflow: hidden;
    -webkit-appearance: none;
    padding: 0 20px;
    font-size: 16px;
    line-height: 30px;
    font-weight: 900;
    border-radius: 10px;
    background-color: #2F86F1;
    border: 2px solid #2F86F1;
    color: #EDEDED!important;
    white-space: nowrap;
    -webkit-transition: color 0.15s linear 0s, background-color 0.15s linear 0s;
    transition: color 0.15s linear 0s, background-color 0.15s linear 0s;
    position: absolute;
    text-align: center;
    opacity: 1;
    max-width: 100%;
    text-overflow: ellipsis;
    text-transform: none;
    text-decoration: none!important;
    z-index: 99999;
    top: 54%;
    left: 50%;
    width: 150px;
    margin-left: -75px;
}

.search-submit :hover {
background-color: #EDEDED;
text-decoration: none;
border: 2px solid #2F86F1;
color: #2F86F1!important;
opacity:1;    
}

.search-form {
  width: 100%;
  height: 100%;
}

.is-form-style {
  position: absolute;
  left: 50%;
  top: 50vh;
}


.vid iframe {
  border-radius: 10px;
}


.fts-mashup-image-and-video-wrap img {
  width: 100%;
}

img.fts-jal-fb-vid-image {
  width: 100%;
  height: auto;
}

.attachment-post-thumbnail .size-post-thumbnail .wp-post-image img,
.post-thumnail img {
  width: 100%!important;
  height: auto;
  padding: 0;
}

.postimage img {
  width: 100%!important;
  height: auto;
}

.entry-footer,
.entry-meta,
.page .entry-title {
  display: none;
}

.search-results .entry-title {
  display: inline-block!important;
  margin-top: 20px;
}

.btn-link,
.btn-link:hover {
  text-decoration: none!important;
}

.wp-block-latest-posts__post-title {
  position: relative;
  top: auto;
  bottom: 0;
  width: 100%;
  color: #38394D!important;
  margin: 0;    
  font-size: 22px;
  line-height:22px;    
  font-family: "reem", sans-serif; 
}

.wp-block-latest-posts__featured-image ul li:before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height:30vh;
  background: rgb(56,57,77);
  background: -moz-linear-gradient(0deg, rgba(56,57,77,1) 20%, rgba(56,57,77,0.6082808123249299) 70%, rgba(56,57,77,0) 100%)!important;
  background: -webkit-linear-gradient(0deg, rgba(56,57,77,1) 20%, rgba(56,57,77,0.6082808123249299) 70%, rgba(56,57,77,0) 100%)!important;
  background: linear-gradient(0deg, rgba(56,57,77,1) 20%, rgba(56,57,77,0.6082808123249299) 70%, rgba(56,57,77,0) 100%)!important;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#38394d",endColorstr="#38394d",GradientType=1);
  opacity: 1;
}

.wp-block-latest-posts__featured-image img {
  border-radius: 10px;
  margin-bottom: 10px;
}

.fts-jal-fb-picture img, .fts-vid-div,
.fts-mashup-image-and-video-wrap img {
  border-radius: 10px;
}

.sitemap-item {
  margin-top: 10px;
  list-style: disc!important;
}



.nf-form-content .label-above .nf-field-label, .nf-form-content .label-below .nf-field-label, .nf-form-content .label-hidden .nf-field-label {
  display: none;
}

.nopics .post-thumbnail {
  display: none;
}
