/*
Theme Name: firsteye child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: firsteye
*/
 #scroll-top-link {
  background-color: #de1e21;
}
#scroll-top-link {
  color: #ffffff;
  border: 1px solid #de1e21;
}
#header #header_main_alternate .container {max-height:0;} /* this object was covering up a section of the site meaning you couldn't highlight words at the top of a page - DO NOT REMOVE */
body .column-top-margin {margin-top:0;}
div .av_one_half {margin-left: 1% !important;margin-right: 1% !important;width: 48%;}
.text-padding {padding: 0 140px;}
.container_wrap {border:none;}
@media only screen and (max-width: 767px) {.text-padding {padding: 0;}}
/* header */
.logo-text {position: relative;top: -130px;font-size: 26px;line-height: 30px;color: #de1e21;text-align:right;z-index:1;}
/* logo */
div .logo {position:relative;left:16.2% !important;height: 133px;z-index:99;}
@media only screen and (max-width: 1155px) {
div .logo {left:19.8% !important;}}
@media only screen and (max-width: 870px) {
div .logo {left:26.8% !important;}.logo-text{font-size:20px;}}
/* menu */
.av_minimal_header #header_main_alternate {border-top: 1px dotted #000002;margin-top:20px;height:50px;}
.av_seperator_small_border .av-main-nav > li > a > .avia-menu-text {border-left-color: #000;}
.av-main-nav li a {text-align:center;}
.av-main-nav {width:100%;text-align:center;}
@media only screen and (max-width: 831px) {.av_minimal_header #header_main_alternate{height:100px;}}
/* slider */
@media only screen and (max-width: 480px) {
div.ls-wp-fullwidth-helper, #top .avia-layerslider .ls-wp-container {
width: 100% !important;
}
}
/* mega menu */
.av-main-nav li {text-transform: uppercase;}
.av-main-nav li.last_picture {font-size:0!important;background: url(/wp-content/uploads/2017/08/First-Eye-menu-image.jpg) 0 10px no-repeat; background-size: 191px 206px;background-position: top right;}
.av-main-nav li.last_picture span{visibility:hidden;}
.avia_mega_div {padding: 0px !important;}
.sub-menu .avia-bullet{display: none;}
#top #header .avia_mega_div .sub-menu li ul li a, #top #header .avia_mega_div .sub-menu li ul li {padding-left: 0 !important;	margin-left: 0 !important;padding-top: 7px; padding-bottom: 7px;}
#top #header .sub-menu .sub-menu .sub-menu li a {color: #000 !important; font-size:12px !important; padding-left:10px !important;}
#top #header .mega_menu_title a, #top #header .sub-menu li a {font-weight: normal; color: #000; font-size: 13px !important;line-height:20px;}
#top #header .avia_mega_div .sub-menu li ul li {padding-top: 0; padding-bottom: 0;}
#top #header .avia_mega_div .sub-menu li ul li a {border-top: 1px #ccc solid;}
#top #header .avia_mega_div .sub-menu li ul li a:hover{text-decoration: underline;}
#top #header .avia_mega_div .sub-menu .sub-menu li ul li:last-child a {border-bottom: 1px #ccc solid;}
#top #header .twelve.units{max-width: 900px;left: -50px !important;}
.hidden-item a span {font-size:0px;visibility:hidden;height:0;}
.hidden-item ul li a span {visibility:visible;font-size:12px !important;}
.hidden-item .sub-menu {position:relative !important;top:-40px !important;}
/* full width container */
#slider-container .container {padding:0;}
/* @media only screen and (max-width: 767px) {#slider-container .container {display:none;}} */
/* form */
#element_avia_3_1, #element_avia_2_1, #element_avia_1_1, #element_avia_4_1, #element_avia_5_1, #element_avia_6_1, #element_avia_3_2, #element_avia_2_2, #element_avia_1_2 {border: 1px solid #ccc !important;}
.modified_width .button:hover {background-color:#6b0f14 !important;}
/* new ninja forms */
#top .nf-form-wrap .nf-field-element input, #top .nf-form-wrap .nf-field-element textarea {border-color:#ccc;}
/* image page link */
.image-page-link {background: rgba(0,0,0,0.5) !important; position: absolute !important; bottom: 0 !important; margin-bottom: 0; width: 100%; padding:15px 0;color:#fff;}
.image-page-link:hover {background-color: rgba(0,0,0,0.8) !important;}
.image-page-link {/* hover effect */transition: background-color .8s ease-in-out !important;-moz-transition: background-color .image-page-link ease-in-out !important;-webkit-transition: background-color .image-page-link ease-in-out !important;}
.image-page-link a {text-decoration:none !important; color:#fff !important;}
/* image page link - 1/3 */
.image-page-link-one-third {background: rgba(0,0,0,0.5) !important; position: absolute !important; bottom: 3px !important; width: 100%; padding:15px 0;color:#fff;}
.image-page-link-one-third:hover {background-color: rgba(0,0,0,0.8) !important;}
.image-page-link-one-third {/* hover effect */transition: background-color .8s ease-in-out !important;-moz-transition: background-color .image-page-link-one-third ease-in-out !important;-webkit-transition: background-color .image-page-link-one-third ease-in-out !important;}
.image-page-link-one-third a {text-decoration:none !important; color:#fff !important;}
/* footer */
.widgettitle {font-size:15px;text-transform:none;}
.textwidget {font-size:14px;line-height:20px;font-weight:100;}
.textwidget span a:hover {text-decoration:underline;color:#fff;}
.textwidget a {color:#fff;}
#recent-posts-3 ul li a {color:#fff;font-style:normal;font-weight:100;font-family:lato;line-height:16px;}
#recent-posts-3 ul li {padding-top:0;}
#menu-services li a {color:#fff;font-weight:100;line-height:16px;}
#menu-services li a:hover {text-decoration:underline;}
/* widgets */
.widget {padding: 15px 0;}



/* new site css */

/* homepage services */
.services-container {display:inline-flex;}
@media only screen and (max-width: 900px) {.services-container {display:block;}}
.services-container div {margin:0 1%;flex:1;}
.services-container div:first-child {margin-left:0 !important;}
.services-container div:last-child {margin-right:0 !important;}
.services-read-more-button {padding:3px 20px;text-align:center;background:#3b3b3b;margin:0 auto;color:#fff !important;-webkit-transition: all 0.3s;-moz-transition: all 0.3s;-o-transition: all 0.3s;transition: all 0.3s;}
.services-container .services-read-more-button:hover {text-decoration:none;background:#0a0a0a;-webkit-transition: all 0.3s;-moz-transition: all 0.3s;-o-transition: all 0.3s;transition: all 0.3s;}
.services-container p {display:grid;margin-top:5px;}
.services-container div p img {margin-bottom:0;padding-bottom:0;-webkit-transition: all 0.3s;-moz-transition: all 0.3s;-o-transition: all 0.3s;transition: all 0.3s;}
.services-container div p img:hover {transform: scale(1.1, 1.1);-webkit-transition: all 0.3s;-moz-transition: all 0.3s;-o-transition: all 0.3s;transition: all 0.3s;}
.services-container h2 {text-align:center;margin-top:0;font-size:15px;font-weight:400;margin-bottom:0;}
@media only screen and (min-width: 901px) {#services-colour-section {max-height:365px;}}

/* border separator */
#border-container .container {padding:0;max-width:100%;}
#border-container {min-height:0;}

/* row of logos */
.accreditation-logos {display:table;text-align:center;width:100%;}
.accreditation-logos div {display:table-cell;}
@media only screen and (max-width: 767px) {.accreditation-logos div {display:block;}}

/* contact us page */
#map-containing-section .container {max-width:100%;padding:0;margin:0;}

/* general */
.avia-section {min-height:0;}


.big-preview img {
    height: 320px !important;
    width: auto !important;
}