/*
Theme Name: Enfold 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: enfold
*/



/*Add your own styles here:

THREEHANDS
The Font is Open Sans throughout 
Font colour for nav items, headings and smaller body text is -  #434343
Larger body text is slightly lighter -  #636363

The main RED is - #b21c17
The darker RED in the footer is - #8c1825
The dark grey is -  #363636

*/

@import 'https://fonts.googleapis.com/css?family=Sue+Ellen+Francisco';

.image-overlay {
 visibility: hidden;
 }
 
#header_main {
    border-bottom-width: 1px !important;
    border-bottom-style: solid !important;
	border-bottom-color: #E1E1E1 !important;
}

.av-subheading.av_custom_color {opacity:1 ;}

.special_amp {
font-family: inherit;
font-style: inherit;
font-size: inherit;
line-height: inherit;
font-weight: inherit;
color: inherit!important;
}


body {
  color: #434343;
}
a:hover{
  color: #434343 !important;
}

.threehands-big-bullet-list  {margin-top:40px !important;}
.threehands-big-bullet-list li {margin-bottom:20px !important; font-size: 18px !important;}

#hidden { visibility: hidden;display: none;}

/*Header aread start*/
.html_header_top.html_header_transparency #header{
  position: relative !important;
  background: #fff;
}

.header_color img{
  margin-top: 16px;
}

#top .av_header_transparency.av_alternate_logo_active .logo a > img{
  opacity: 1!important;
}
#top .av_header_transparency.av_alternate_logo_active .logo a > img ~ span{
  display: none;
}
#top #header.header_color.av_header_transparency .av-main-nav > li > a .avia-menu-text,
.main_menu ul:first-child > li a .avia-menu-text{
  color: #434343;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 1px;
}

#top #menu-item-search.menu-item-search-dropdown>a {
  opacity: 1 !important; 
}

#top #wrap_all .av_header_transparency .main_menu ul:first-child > li > a {color:#434343;}


/* 
#top #menu-item-search.menu-item-search-dropdown>a:hover{
  opacity:1;
}*/

#top .av-main-nav .menu-item-search {display:block !important; z-index:20 !important;}

#top #header.header_color.av_header_transparency .av-main-nav > li.current-menu-item > a .avia-menu-text,
#top #header.header_color.av_header_transparency .av-main-nav > li > a:hover .avia-menu-text,
.main_menu ul:first-child > li a:hover .avia-menu-text,
.main_menu ul:first-child > li.current-menu-item > a .avia-menu-text
{
  color: #b21c17;
  border-bottom: 4px solid #b21c17;
  padding-bottom: 2px;
}

.av-main-nav li:hover .avia-menu-fx, .current-menu-item > a > .avia-menu-fx, .av-main-nav li:hover .current_page_item > a > .avia-menu-fx{
   visibility: hidden;
}

#top .iconbox.av-no-box .iconbox_icon{
  border-width: 0;
  font-size: 50px;
  margin: 0 auto 0px auto;
  height: 80px;
  line-height: 80px;
}

.iconbox .iconbox_content .iconbox_content_title {
  font-size: 30px;
  font-weight: 400;
}
#top .av-main-nav ul a{
  font-size: 16px;
}
.html_header_top .header_color .main_menu ul:first-child >li > ul, .html_header_top #top .header_color .avia_mega_div > .sub-menu {
  border-top-color: #8c1826;
}
#featuredbox .iconbox_top .iconbox_content:hover a.iconbox_icon.iconbox_icon ~ .iconbox_content_title,
#featuredbox .iconbox_top .iconbox_content:hover a.iconbox_icon.iconbox_icon,
#featuredbox .iconbox_top a.iconbox_icon:hover{
  background-color: transparent!important;
  color: #434343 !important;
  border-color: transparent!important;
}


#casestudy-featuredbox .iconbox_top .iconbox_content .iconbox_content_container{
  display: none;
}
#casestudy-featuredbox .template-page{
  padding-bottom: 0;
}
#casestudy-featuredbox .iconbox_top .iconbox_content:hover a.iconbox_icon.iconbox_icon ~ .iconbox_content_title{
  color: #b21c17;
}
#casestudy-featuredbox .iconbox_top .iconbox_content:hover a.iconbox_icon.iconbox_icon{
  background-color: transparent!important;
  border-color: transparent!important;
}
#casestudy-display .slide-entry-wrap article .entry-footer:after,
#service-box .iconbox_top .iconbox_content:after,
#featuredbox .iconbox_top .iconbox_content:after {
  content: '+';
  font-size: 80px;
  font-weight: 400;
  font-family: 'Times New Roman';
  line-height: 1.2em;
  color: #b21c17;  
}

#casestudy-display .slide-entry-wrap article .entry-footer:hover:after,
#service-box .iconbox_top .iconbox_content:hover:after,
#featuredbox .iconbox_top .iconbox_content:hover:after{
 color: #444;
}

#top #wrap_all .custom-color-heading .av-subheading.av-subheading_below {
  color: #636363;
}

#top-header .av-subheading.av-subheading_below {
  color: #ffffff !important; 
  padding-left:20px;
  padding-right:20px;
}

#top-header h1.av-special-heading-tag {font-weight: 400; font-size:38px;}

#top-header {
/*-webkit-background-size: cover; /* For WebKit*/
/*    -moz-background-size: cover;    /* Mozilla*/
 /*   -o-background-size: cover;      /* Opera*/
 /*   background-size: cover;         /* Generic*/
    }

#featuredbox .iconbox_top .iconbox_content:hover:after{
  color: #434343 !important;
}
.main_color .iconbox_top .iconbox_content {
  cursor: pointer;
}

.single-portfolio .avia-image-container.avia-align-center .avia-image-container-inner{
   display: block;
   width: 100%;
}

.single-portfolio .av-styling-no-styling .avia_image{
  display: block;
  min-width: 100%; 
}

.main_color .iconbox_top .iconbox_content .iconbox_content_container {
  color:#636363;
  font-size: 18px;/* 24px */
  line-height: 1.4;
  min-height: 80px;
}
#top #wrap_all .av_header_transparency .main_menu ul:first-child > li > a[href~='mailto:info@threehands.co.uk']{
  display: none;
}
.topMenuGetInTouch{
  float: left;
  width: 80px;
  height: 80px;
  background: #b21c17;
  color: #fff!important;
  border-radius: 50%;
  word-spacing: normal;
  font-size: 25px;
  display: inline-block;
  text-align: center;
  font-family: 'Sue Ellen Francisco', cursive;
  padding-top: 10px;
  margin-top: 10px;
  font-weight: 500;
}
.topMenuGetInTouch:focus,
.topMenuGetInTouch:hover{
  text-decoration: none;
  color: #fff!important;
}
.main_menu ul > li > a {
  text-transform: uppercase;
}
/*Header area end*/

@media(min-width:1450px){
#service-box .iconbox .iconbox_content_container p{
   padding: 0 50px;
}

}



#layer_slider_1 h2 a,
#layer_slider_1 h2,
#layer_slider_1 h1,
.wp-caption-text {
  font-family: 'Droid Sans', Arial, sans-serif !important;
}

.wp-caption-text {font-size:0.99em !important;}

#top .av-large-testimonial-slider .avia-testimonial-meta {
  margin-top: 0px;
}

#top .av-large-testimonial-slider .avia-testimonial-meta-mini {
  text-align: center !important;
}

#top .av-large-testimonial-slider .avia-slideshow-arrows a{
  top: 10%;
display:none;
}
#top .av-large-testimonial-slider .avia-testimonial-meta .avia-testimonial-image {
  display: none;
}

.home #featuredbox.avia-section-large .content{
   padding-top: 10px;
   padding-bottom: 20px;
}

#testimonial-section.avia-section-large .content{
  padding-top: 35px;
  padding-bottom: 35px;	
}
 
#home-blog-section.main_color .minor-meta,
#home-blog-section.main_color .slide-meta{
  display: none;
}

#home-blog-section article[itemprop="blogPost"]{
  background: #fff;
}
#home-blog-section .avia-content-slider article[itemprop="blogPost"] .slide-entry-title {
  font-size: 1.4em;
  color: #434343;
}

#home-blog-section .avia-content-slider article[itemprop="blogPost"] .slide-entry-excerpt{
  font-size: 16px;
  line-height: 1.6;
  color: #b21c17;
  margin-top: 0;
}

#home-blog-section .slide-entry-wrap .slide-content{
  padding: 20px;
}

#home-blog-section .slide-entry-wrap{
  margin-bottom: 0;
}

/* recent tweets */

.tp_recent_tweets ul li span{
   color: #444;
}

.widget_tp_widget_recent_tweets .widgettitle{
   margin-bottom: 20px;
   text-transform: initial;
}

.tp_recent_tweets ul li .twitter_time{
  color: #919191;
}


/* single-portfolio */

.single-portfolio #main .container_wrap_first .container {
   max-width: 870px;
}

.single-portfolio .avia-post-nav{
 /* display: none;*/
  z-index:1;
}

.single-portfolio .page-thumb{
  float: right;
  margin-top: -50px;
}

.single-portfolio .entry-content img{
  /*width: 100%;*/
}

.navigation a{
  color: #444!important;
  font-size: 16px;
}

.navigation a:hover{
  color: #b21c17!important;
  text-decoration: none; 
}

.single-portfolio article{
   margin-top: 30px;
}

.single-portfolio .navigation,
.single .navigation {
   position: relative;
   margin-top: 50px;
   padding: 5px 0;
   border-top: 2px solid #e1e1e1;
   border-bottom: 2px solid #e1e1e1;
}

.single .navigation {
   margin-top: 10px !important;
   }
.single .content .entry-content-wrapper {padding-right: 0;}

.single-post-nav-container {
	min-width:99% !important; 
	padding:0;
	margin:0 0 40px !important;
	float:left;
	
}

.single-case-study-nav-container {
	
	margin:0 auto;
	padding-top:40px !important;
	
	
}

.single-portfolio .content,
.single .content {
   padding-top: 40px;
}

.single-portfolio .entry-content h3:first-child{
  font-size: 24px;
  font-weight: 200;
  margin-top: 15px; 
}

.single-portfolio .entry-content .portfolio-subheading{
  color: #b21c17; 
  margin-bottom: 100px;
}



.single-portfolio#top .navigation .avia-post-nav,
.single#top .navigation .avia-post-nav {
   display: block!important;
   position: absolute;
   top: 60px; 
   background: #fff;
   color: #444; 
   height: 50%; 
   z-index:1; 
}

.single-portfolio#top .navigation .disabled-post-nav .avia-post-nav,
.single#top .navigation .disabled-post-nav .avia-post-nav {
   color: #e1e1e1 !important;
}

.single-portfolio .avia-post-nav .label,
.single .avia-post-nav .label{
   display: none;
}

.single-portfolio#top .navigation .avia-post-nav.avia-post-prev,
.single#top .navigation .avia-post-nav.avia-post-prev{   
    left: 70%;    
}

.single-portfolio#top .navigation .avia-post-nav.avia-post-next,
.single#top .navigation .avia-post-nav.avia-post-next{
    right: 0;
    padding-right: 0;
}

.single-portfolio#top .navigation .avia-post-nav .entry-info .entry-title,
.single#top .navigation .avia-post-nav .entry-info .entry-title{
  display: none;
}


.single-portfolio .navigation .avia-post-nav .entry-info-wrap,
.single .navigation .avia-post-nav .entry-info-wrap {
    width: 100%;
}

.single-portfolio#top .navigation .avia-post-nav.avia-post-prev .entry-info:before,
.single#top .navigation .avia-post-nav.avia-post-prev .entry-info:before{
   content: "< Previous";
}

.single-portfolio#top .navigation .avia-post-nav.avia-post-next .entry-info:before,
.single#top .navigation .avia-post-nav.avia-post-next .entry-info:before{
   content: "Next >";
}

.single-portfolio .navigation .avia-post-nav .entry-info span,
.single .navigation .avia-post-nav .entry-info span{
   display: none;
}

.single-portfolio .avia-post-nav .entry-info,
.single .avia-post-nav .entry-info{
  width: 80px;
  margin: 0; 
  z-index: 2 !important;
}

.single-portfolio .avia-post-nav,
.single .avia-post-nav{
  z-index: 3 !important;
}

.single-portfolio .disabled-post-nav .avia-post-nav .entry-info,
.single .disabled-post-nav .avia-post-nav .entry-info{ 
  z-index: 1 !important;
}

#casestudy-display.avia-section-large .content{
  padding-top: 30px;
}


#casestudy-display .av_textblock_section,
#home-blog-section .av_textblock_section {
  text-align: center;
  font-size: 1.5em;
}

#casestudy-display .av_textblock_section a,
#home-blog-section .av_textblock_section a{
  text-decoration: none;
}

#casestudy-display .av_textblock_section a:after,
#home-blog-section .av_textblock_section a:after {
  content: '\2192';
  font-size: 30px;
  font-weight: 400;
  font-family: 'Times New Roman';
  color: #b21c17;
  margin-left: 10px;
}

#casestudy-display .av_textblock_section a:hover:after
#home-blog-section .av_textblock_section a:hover:after{
  color:#434343;
}

#home-blog-section.avia-section-large .content{
  padding-bottom: 20px;
}

.main_color a{
  color: #b21c17;
}
#home-blog-section.avia-section-large article img{
  border-radius:0 !important;
  width: 100%;
}

#home-blog-section.avia-section-large article .slide-image {
  border-radius:0 !important;
  width: 100%;
}

#service-box .container,
#top-header .container,
#home-blog-section .container,
#av_section_1 .container,
#home-partners-section .container
{
  max-width: none;
}
#top #home-partners-section .avia-logo-element-container img {
  box-shadow: none;
}
#team-section-title .special-heading-border,
#home-partners-section .special-heading-border,
#case-studies .special-heading-border
 {
  display: none;
}
#team-section-title .av-special-heading-tag,
#home-partners-section .av-special-heading .av-special-heading-tag,
#case-studies .av-special-heading-tag,
#casestudy-display .av-special-heading-tag,
.sue-ellen-heading {
  float: none !important;
  text-align: center;
  text-transform: none !important;
  color: #b21c17;
  font-family: 'Sue Ellen Francisco', cursive;
  font-weight: 400;
  font-size: 40px;
}

#top #wrap_all .av-social-link-facebook a,
#top #wrap_all .av-social-link-facebook:hover a,
#top #wrap_all .av-social-link-twitter a,
#top #wrap_all .av-social-link-twitter:hover a,
#top #wrap_all .av-social-link-linkedin a,
#top #wrap_all .av-social-link-linkedin:hover a {
  color: #363636!important;
  text-decoration: none;
}

.socket_color a:hover{
  color: #999!important;
  text-decoration: none;
}

#footer #text-2 .widgettitle{
  font-family: 'Sue Ellen Francisco', cursive;
  text-transform: inherit;
  font-size: 28px;
  font-weight: 400;
  margin: 0;
}

#top #wrap_all .av-social-link-twitter:hover a,
#top #wrap_all .av-social-link-facebook:hover a,
#top #wrap_all .av-social-link-linkedin:hover a
{
  border-radius: 50%;
}

#top #wrap_all .av-social-link-twitter:hover{
  background: #46d4fe!important;
}

#top #wrap_all .av-social-link-facebook:hover {
  background: #37589b!important;
}

#top #wrap_all .av-social-link-linkedin:hover {
  background: #37589b!important;
}

#footer #text-2 .textwidget p a{
  text-decoration: underline;
  font-size: 16px;
  margin-bottom: 10px;
  display: inline-block;
}
#footer ul.social_bookmarks li {
  clear: none;
  margin-right: 10px;
  font-size: 30px;
  width: 48px;
  border-radius: 50%;  
  background:#fff!important;
}

#top .social_bookmarks {
  height: 48px;
}
#footer .widgettitle{
  font-size: 16px;
  font-weight: bold;
  margin-top: 0;
  text-transform: none;
}
body div .first, body div .no_margin {
  margin-left: 0 !important;
}
#top .social_bookmarks li a {
  float: left;
  width: 48px;
  line-height: 48px;
}
#footer #text-2 .textwidget{
  font-weight: bold;
  font-size: 16px;
}

#footer {
  padding: 15px 0 15px 0;
}

#socket {
  font-size: 14px;
  background: #282828;
}

#socket .copyright {
  float: right;
}
#socket .sub_menu_socket {
  float: left;
}
#footer .container{
  position: relative;
}
#footer .container #theImg{
  position: absolute;
  left: -35px;
  width: 80px;
  top: 40px;
}
#footer #text-2 .textwidget p a:hover{
  color: #ddd!important;
}
#layer_slider_1 h1,
#layer_slider_1 h2{
  text-align: center;
  font-weight: 400;
}
#footer div .av_one_half:nth-child(1) { width: 58%; }
#footer div .av_one_half:nth-child(2) { width: 38%; margin-left: 4%; }

#layer_slider_1 .button {
  border-radius: 5px;
  background: #fff;
  color: #b21c17;
  font-size: 30px !important;
  font-family: 'Sue Ellen Francisco', cursive;
  padding: 15px 20px !important; 
}

#layer_slider_1 .button:hover {
  color: #434343;
}

.page-id-4869 #casestudy-display .iconbox_top .iconbox_content .iconbox_content_container {min-height:10px;}

@media (max-width: 870px){
.page-id-4869 #casestudy-display .iconbox .iconbox_content .iconbox_content_title {min-height:80px;}
.page-id-4869 #casestudy-display .iconbox_top .iconbox_content .iconbox_content_container {min-height:0px;}
}

@media (max-width: 767px){
.page-id-4869 #casestudy-display .iconbox .iconbox_content .iconbox_content_title {min-height:0px;}
.page-id-4869 #casestudy-display .iconbox {margin-bottom:0 !important;}
}

#casestudy-featuredbox .entry-content-wrapper article .entry-content-header > a:before,
#service-box .entry-content-wrapper article .entry-content-header > a:before,
#featuredbox .entry-content-wrapper article .entry-content-header > a:before,
.page-id-4869 #casestudy-display  .iconbox:nth-child(1n) .entry-content-header > a:before {
  content: '';
}

#casestudy-featuredbox .entry-content-wrapper div:nth-child(1n) > article .entry-content-header > a,
#service-box .entry-content-wrapper div:nth-child(1n) > article .entry-content-header > a,
#featuredbox .entry-content-wrapper div:nth-child(1n) > article .entry-content-header > a,
.page-id-4869 #casestudy-display  div:nth-child(1n) .entry-content-header > a {
  background: transparent url("/wp-content/uploads/people.png") no-repeat center;
}

#featuredbox .entry-content-wrapper div:nth-child(1n) > article:hover .entry-content-header > a,
.page-id-4869 #casestudy-display  div:nth-child(1n) .entry-content-header > a:hover {
  background: transparent url("/wp-content/uploads/people-hover.png") no-repeat center;
}

#casestudy-featuredbox .entry-content-wrapper div:nth-child(2n) > article .entry-content-header > a,
#service-box .entry-content-wrapper div:nth-child(2n) > article .entry-content-header > a,
#featuredbox .entry-content-wrapper div:nth-child(2n) > article .entry-content-header > a,
.page-id-4869 #casestudy-display  div:nth-child(2n) .entry-content-header > a{
  background: transparent url("/wp-content/uploads/citizenship.png") no-repeat center;
}

#featuredbox .entry-content-wrapper div:nth-child(2n) > article:hover .entry-content-header > a,
.page-id-4869 #casestudy-display  div:nth-child(2n) .entry-content-header > a:hover {
  background: transparent url("/wp-content/uploads/citizenship-hover.png") no-repeat center;
}

#casestudy-featuredbox .entry-content-wrapper div:nth-child(3n) > article .entry-content-header > a,
#service-box .entry-content-wrapper div:nth-child(3n) > article .entry-content-header > a,
#featuredbox .entry-content-wrapper div:nth-child(3n) > article .entry-content-header > a,
.page-id-4869 #casestudy-display  div:nth-child(3n) .entry-content-header > a{
  background: transparent url("/wp-content/uploads/social.png") no-repeat center;
}

#featuredbox .entry-content-wrapper div:nth-child(3n) > article:hover .entry-content-header > a,
.page-id-4869 #casestudy-display  div:nth-child(3n) .entry-content-header > a:hover {
  background: transparent url("/wp-content/uploads/social-hover.png") no-repeat center;
}

.avia-content-slider .fake-thumbnail .slide-image{
  min-height: 250px;
}
.av_header_transparency #advanced_menu_toggle {
  background-color: #ffffff;
  color: #333333;
  border-color: #e1e1e1;
}

#top-header .container,
#av_section_1 .container,
#av_section_1 .template-page,
#news-container.container,
#news-container .template-page ,
#news-container .avia-builder-widget-area{
  padding: 0 !important;
}

#top-header .avia-image-container.avia-align-center .avia-image-container-inner,
#av_section_1 .avia-image-container.avia-align-center .avia-image-container-inner {
  display: block;
}

#top-header .avia-image-container.avia-align-center .avia-image-container-inner img,
#av_section_1 .avia-image-container.avia-align-center .avia-image-container-inner img
{
  display: block;
  min-width: 100%; 
}

.avia-image-container-inner, .avia_image, .av-image-caption-overlay {border-radius:0;}

#top-header .av-image-caption-overlay-center p:first-child,
#top-header .av-image-caption-overlay-center p:nth-child(2),
.av-image-caption-overlay-center p:last-child{
  font-weight: 400;
  margin: 0;
  line-height: 1;
}

.entry-content-wrapper div li{
  font-size: 16px;
}
#top-header .av-image-caption-overlay-center p:first-child,
.av-image-caption-overlay-center p:first-child,
#av_section_1 .av-image-caption-overlay-center p:first-child{
  font-size: 2.6em !important;
  margin-bottom: 15px;
}

#top-header .av-image-caption-overlay-center p:nth-child(2),
.av-image-caption-overlay-center p:last-child{
  font-size: 1.5em;
}

.av-caption-image-overlay-bg{
  background: none!important;
  opacity: 0!important; 
}

#header-a .custom-color-heading .av-special-heading-tag{
  font-size: 1.8em;
  line-height: 1.2;
  font-weight: 400;
  margin-bottom: 30px;
}
#header-a .entry-content-wrapper{
  padding-top: 50px;
}
#service-box .container {
  padding: 0;
}

#header-b{
  padding: 50px 0;
}
#service-box .entry-content-wrapper .av_one_third{
  background: #F0F0F0;
  -webkit-transition: all .5s ease-in-out;
  -moz-transition: all .5s ease-in-out;
  -o-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
  margin: 0;
  position: relative;
}

#service-box .entry-content-wrapper .av_one_third:hover {
  background-color: #fff;
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -o-transform: scale(1.05);
  transform: scale(1.05);
  position: relative;
  z-index: 10;
  box-shadow: 2px 2px 4px #eee
}

#service-box .iconbox.av-no-box .iconbox_icon{
  background-color: transparent!important;
}

#team-section .av_one_fourth{
    background: #fff;
  margin-top: 30px;
  -webkit-transition: all .5s ease-in-out;
  -moz-transition: all .5s ease-in-out;
  -o-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
}
#team-section .av_one_fourth:hover{
  box-shadow: 0px 0px 20px #ccc;
}
#team-section .av_one_fourth:hover .toggle_icon .hor_icon,
#team-section .av_one_fourth:hover .toggle_icon .vert_icon {
  border-color: #434343;
}
#team-section .team-member-name {
    margin-top: 20px;
    font-weight: 400;
    margin-bottom: 15px;
}

#team-section .avia-builder-el-no-sibling {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #636363;
    background: #fff;
}
#team-section .toggle_content,
#team-section .team-member-name,
#team-section .team-member-job-title,
#team-section .team-member-description {
	padding-left:20px;
	padding-right:20px;
}
#team-section .toggle_content,
#team-section .team-member-description{
padding-bottom:20px;
  font-size: 16px;
  color: #636363;
  line-height: 24px
}

#team-section .team-member-description{
  min-height: 1px; /*250px;*/
}

#team-section .avia-team-member {
min-height: 320px; /* 550px; */
}

#team-section .togglecontainer{
margin: 0 ;
  z-index: -2;
}

.active_tc.toggle_wrap {z-index: 999 !important;}

#team-section .avia-team-member{
margin-bottom: 0;
  position: relative;
}
#team-section .team-img-container{
  position: static;
  border-radius: 0;
}

#team-section blockquote {border:none; font-size: 0.9em;}

blockquote {margin-top:35px;color:#b21c17; font-style:italic;}
blockquote b, blockquote strong {color:#434343; font-style:normal;}

#team-section .team-img-container img {
  border-radius: 0 !important;
  height: auto;
  width: 100%;
}
#team-section .avia-team-member .team-social{
  visibility: visible;
  opacity: 1;
  background: transparent !important;
  border: 0 !important;
  top: auto !important;
  bottom: -50px !important; /* -30 */
  position: absolute !important;
  height: auto !important;
}
#team-section .team-social-inner{
  width: auto;
  left: 60px;
  display: inline-flex;
}
#team-section .toggler{
padding-top: 25px;
}

#team-section .toggler {
  color: #fff;
}

#team-section .team-social a {
  height: 40px;
  line-height: 40px;
  width: 70px;
  font-size: 40px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
}
#team-section .team-member-job-title {
    margin-bottom: 20px;
  font-size: 16px;
}
#team-section-title .content {
    padding-bottom: 0;
}

#case-studies .content {
    padding-bottom: 0;
}

#team-section .single_toggle p a {
  display: inline-block;
  margin-left: 40px;
}

#team-section .single_toggle p a:first-child {
  margin-left: 50px;
}
#team-section .single_toggle p a:first-child i.fa{
  line-height: 1.2em;
  vertical-align: sub;
}
#team-section .single_toggle .toggle_icon{
  border: 0;
}
#team-section .toggle_icon .hor_icon,
#team-section .toggle_icon .vert_icon {
  border-color: #b21c17;
}

.single .avia-post-nav { display: none!important;
background:none !important; }

.template-blog .post_delimiter{
  margin: 0;
  padding: 0;   
}

/* news & insight */

.post-meta-infos .blog-author,
.post-meta-infos .text-sep-date {display:none;}

.container .av-content-small.units{
  width: 68%;
}
.archive .container .av-content-small.units{
 padding-right: 50px; 
}

#after_section_1 aside,
#after_section_2 aside,
.archive aside,
.category aside{
  padding-left: 30px;
}

.entry-content-wrapper .big-preview.single-big,
.archive .big-preview.single-big 
{
   width: 42%;
   float: left;
}

.big-preview.single-big img{
  width: 100%;
  border-radius: 0;
  height: auto; /*192px;*/
}

.big-preview.single-big{
  padding: 0 0 10px 0;
}

.blog-meta {display:none;}

.redtext {color: #b21c17;}

.category-news .post-entry h4,
body.date .post-entry h4 {
	color: #444444 !important;
	}


.post-entry h4 {
	color: #b21c17; 
	font-weight:normal; 
	font-size:16px;
	line-height: 1.35em;
	margin-bottom: 15px;
}

ol {margin-left: 0;}



#after_section_1 article .custom-wrapper,
.archive article .custom-wrapper 
{
  margin-bottom: 20px;
  float:left;
}

#after_section_1 .entry-content{
  margin-top: -10px;
}

.content .entry-content-wrapper .entry-content-wrapper,
.archive .content article .entry-content-wrapper
{ 
   width: 50%;
   padding-left: 30px;	 
   padding-right: 0;
}

.content,#top #main .sidebar{
  border: none;
}


.entry-content p{
  font-size: 16px;
}

.widget_tp_widget_recent_tweets{
   padding: 20px!important;
   background-color: #f0f0f0;	
}

#news-container .Annual_Archive_Widget .widgettitle
{
   display: none;	
}

#news-container .entry-content-wrapper li:first-child{
  margin-left: 0px; 
}

.tp_recent_tweets  li{
  padding-left: 35px;
}


/*** custom read-more and time for blogs ***/

.custom_read_time{
  border-top: 0px solid #e1e1e1;
  border-bottom: 2px solid #e1e1e1;
  padding: 10px 0;
  margin-bottom: 50px; 
  margin-top: 0px;
  clear: left;
}

.single-post .custom_read_time,
.single-post #tp_widget_recent_tweets-4
{
 display: none;
}
 
/*** end here ***/

/*
.av-caption-image-overlay-bg{
  background: none!important;
  opacity: 0!important;
}

*/
#after_section_2 .container{
   position: relative;
   top: -97px;
}

#after_section_2 .post-meta-infos *,
.date .post-meta-infos *,
.category .post-meta-infos *,
.more-link
{
  display: none;
}

#after_section_2 .custom_read_time *,
.date .custom_read_time *,
.category .custom_read_time *{
display: inline!important;
  font-size: 16px; 
}

#after_section_2 .custom_read_time time,
.date .custom_read_time time,
.category .custom_read_time time
{
  color: #444;
}

.custom_read_time .read-more-link{
  float: right;   
}

#after_section_2 .template-page{
  margin-top: 80px;
}

.custom-archive ul{
  margin-bottom: 0;
  margin-left: 0;
}

.custom-archive li a{
  color: #444;
}

.custom-archive li a:hover{
  color: #b21c17!important;
}

.page .Annual_Archive_Widget, /* #av_section_1 */
.archive .custom-archive 
{
    padding: 12px 0!important;
    width: 64%;
    border-top: 1px solid #e3e3e3!important;
    border-bottom: 1px solid #e3e3e3;
    font-size: 16px;
    margin-top: 50px; 
}

.page .Annual_Archive_Widget a{
  color: #444;
} /* #av_section_1 */

.page .Annual_Archive_Widget a:hover{
  color:#b21c17!important;
} /* #av_section_1 */

.avia-builder-widget-area{
   max-width: 1310px;
   margin-left: auto;
   margin-right: auto;
   padding: 0 50px;
}

#after_section_2.container_wrap{
  border: none;
}
/* pagination */

#top .pagination .current, #top .pagination a, #top .fullsize .template-blog .pagination a{
   height: 45px; 
   width: 45px;
   line-height: 45px;
   font-size: 18px;
   font-weight: bolder;  
}

#top .main_color .pagination a:hover{
  background: #b21c17;
  color: #fff!important;
}

.pagination-meta{
  font-size: 18px!important;
}

div .single-big .pagination{
  padding-right: 0;
}
/*contact */

body .av-special-heading .av-special-heading-tag{
   font-weight: bold;
}

body .av_two_third .av-special-heading .av-special-heading-tag:first-child{
  font-weight: 100;
  font-size: 24px; 
}
#av_section_2{
 border: none;
}

.entry-content-wrapper .Annual_Archive_Widget li{
  display: inline;
}/* #av_section_1 */



#team-section .toggle_icon .vert_icon {
  left: 22px;
  top: 0px;
  height: 2em;
}
#team-section .toggle_icon .hor_icon {
  top: 12px;
  left: 10px;
  width: 2em;
}
#team-section .toggler,
#team-section .toggle_content{
  background: transparent;
  border: 0;
}

#casestudy-display .avia-content-slider .entry-content-header .blog-categories,
#casestudy-display .avia-content-slider .slide-meta,
#casestudy-display .avia-slideshow-arrows{
  display: none;
}

#casestudy-display .avia-content-slider, .avia-content-slider-inner{
  overflow: visible !important;
}

#casestudy-display .avia-content-slider-active .slide-entry-wrap {
  position: static !important;
  visibility: hidden;
  visibility: visible !important;
  opacity: 1 !important;
  transition: none !important;
  transform: initial !important;
}
#casestudy-display .slide-entry-wrap article {
  background: #fff;
  margin-bottom: 30px;
  cursor: pointer;
}

#casestudy-display .avia-content-slider .slide-image {
	background-color:#ffffff;}
	

#casestudy-display .avia-content-slider .slide-image img{
  width: 70%;
  height:auto;
}
#casestudy-display .avia-content-slider .slide-content{
  border-top: 2px solid #ddd;
  padding: 20px;
  text-align: center;
  min-height: 350px 
}

#casestudy-display .slide-entry-wrap article .entry-footer:after {
  position: relative;
  top: 0px;
  left: 50%;
  margin-left: -23px;
  font-size: 60px;
  font-weight: 300;
  line-height: 1;
}
#casestudy-display .avia-content-slider .slide-entry-excerpt {
  overflow: visible;
  text-overflow: inherit;
  color: #b21c17;
  margin-top: -8px;
}

#casestudy-display .avia-content-slider .slide-entry-excerpt p {

  margin-top: 30px;
  color:#444;

}

#casestudy-display .avia-content-slider .slide-entry-excerpt,
#casestudy-display .avia-content-slider .slide-entry-title {
  font-size: 16px;
  line-height: 1.4em;
  text-align: left;
  
}
#casestudy-display .avia-content-slider .slide-entry-title{
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;  
}

/* privacy and cookies */

#privacy-text-styling .av_textblock_section .avia_textblock h3:first-child{
  font-size: 24px;
  font-weight: 100;
  margin-bottom: 30px;
}

.privacy-heading{
  margin-top: 30px;
  margin-bottom: 0;
  font-weight: bold;
}

 ul.bullets-red li{ 
background: url('/wp-content/uploads/bullets-red.jpg') no-repeat;
    padding-left: 20px;
    list-style: none;
    background-position: 0px 12px;
    margin-left: 0;
}

.bullets-red{
  margin-left: 0;
}

.single-post .entry-content ul ,
.template-page .post-entry ul{
       list-style-image: url('/wp-content/uploads/bullets-red.jpg');
}



/* team section*/

#team-section.avia-section-large .content{
  padding-top: 40px;
  padding-bottom: 120px;
}

.single_toggle{
  padding-bottom: 20px;
}

/* news & insight single post */

.av-share-box{
  height: 100px;
}

.av-share-box .av-share-link-description{
   float: left;
   margin-top: 20px;
}

.av-share-box{
  background: #f0f0f0;
  padding: 0 30px; 
}

#top .av-share-box ul{
    border: none;
    float: right;
    width: 35%;
}

.single-post .entry-content-header{
  margin-top: 0px; /* 40 */
}
.single-post .widgettitle{
  padding: 10px 0;
  text-transform: initial;
}

.single-post .Annual_Archive_Widget ul li,.widget_recent_entries ul li{
    padding: 10px 0;
    border-top: 2px solid #e1e1e1!important;
    color: #444;
    font-size: 16px;
}

.single-post .Annual_Archive_Widget ul li:last-child, .widget_recent_entries ul li:last-child{
  border-bottom: 2px solid #e1e1e1;
}

.single-post .Annual_Archive_Widget ul li a,.widget_recent_entries ul li a{
  color: #444!important;
  font-family: ' arial', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-style: inherit; 
}

.single-post .Annual_Archive_Widget ul li a:before,.widget_recent_entries ul li a:before{
  content: "> ";
}

.single-post .post-meta-infos{
    margin: 30px 0 0;
    border-top: 2px solid #e1e1e1;
    border-bottom: 2px solid #e1e1e1;
    padding: 10px 0;
}

.single-post .post-meta-infos *, .single-post .post-meta-infos a{
  color: #444;
  font-size: 16px;
}

/* archieve page */

.archive .avia-image-container.avia-align-center .avia-image-container-inner{
   display: block;
}

.archive .avia_image{
  height: auto; /*275px;*/
  border-radius: 0;
  width: 100%;
} 

.archive .content li{
  display: inline;
  margin-left: 1em;
  padding: 3px 0;
}

.archive .content li:first-child{
  margin-left: 0;
}

.archive .container_wrap{
  border: 0;
}

.archive .custom-archive {
   width: 100%;
   margin-bottom: 40px;
   margin-top: 0;
}

/* for mobile device */
@media (max-width: 767px){
 /* #layer_slider_1 h2 {
    font-size: 14px!important;
    line-height: 1.5!important;
  }
  #layer_slider_1 h1{
    font-size: 18px !important;
    line-height: 1.5 !important;
    white-space: normal!important;
    max-width: 100%!important;
    left: 0 !important;
  }*/

  .date .custom_read_time,
  .category .custom_read_time{
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.archive .container .av-content-small.units{
 padding-right: 0px; 
}

.responsive .template-blog .post_delimiter{
   padding: 0;
   margin: 0;
 }
 
.responsive .logo img{
   width: 222px;
 }
 
#casestudy-display .av_textblock_section p a{
  white-space: nowrap;
}

  #footer .widget{
    margin-bottom: 0;
  }
  #footer .widget:last-child{
    margin-top: 0;
  }
  .responsive #socket .sub_menu_socket{
    display: block;
    margin-top: -80px;
    text-align: left;
    margin-left: -15px;
  }
  #socket {
    padding-bottom: 50px;
  }
  #socket .sub_menu_socket li{
    line-height: 22px;
  }
  #socket .copyright{
    margin-top: 60px;
    float: none;
    display: block;
  }
  #home-blog-section article[itemprop="blogPost"] {
    margin-bottom: 20px!important;
  }
  #footer .handImg {
    text-align: left;
	width: 25%;
    /*margin: 0 auto;*/
  }

  #footer #text-2 .textwidget a {
    font-size: 18px;
  }
  .responsive #top .av-large-testimonial-slider.avia-testimonial-wrapper .avia-testimonial,
  #featuredbox.avia-section-large .content,
  #testimonial-section.avia-section-large .content{
    padding: 0;
  }
  #layer_slider_1 .button {
    font-size: 30px !important;
	padding: 15px 20px !important; 
  }
  #layer_slider_1 h1 br{
    display: none;
  }
  #top .avia-slideshow-arrows a.next-slide{
    right: -50px;
  }
  #top .avia-slideshow-arrows a.prev-slide{
    left: -50px;
  }
  #footer #text-2 .textwidget p a:hover,
  #footer #text-2 .textwidget p a{
    text-decoration: none;
  }
  #top #wrap_all #top-header .container,
  #top #wrap_all #av_section_1 .container
  {
    width: auto;
    max-width: none;
  }

  #top-header .av-image-caption-overlay-center p:first-child{
    margin-bottom: 5px;
      font-size: 1.5em !important;
  }
    #top-header .av-image-caption-overlay-center p:first-child{
        margin-bottom: 5px;
        font-size: 1.5em !important;
    }
    #top-header .avia-image-container.avia-align-center .avia-image-container-inner img{
       min-height: 140px; 
    }
    #top-header.avia-section{
        min-height: auto;
    }
    #service-box .iconbox.av-no-box .iconbox_content{
        padding: 0px 5%;
    }

   .big-preview.single-big img{
  width:100%;
  height: auto; /*220px;*/
  }
  
  #after_section_2 article .custom-wrapper, .archive article .custom-wrapper {float:left;}
  
  
  #casestudy-display .av_textblock_section p a{
  white-space: inherit;
  }

#top-header .avia-image-container.avia-align-center .avia-image-container-inner img,
#av_section_1 .avia-image-container.avia-align-center .avia-image-container-inner img,
.archive .avia_image
{
  min-width: 100%;
}

.avia-builder-widget-area{
  padding: 0;
}

.avia-slider-testimonials .avia-testimonial-content p:last-child{
   text-align: justify;
}

.responsive #top #wrap_all .slide-entry{
   margin-bottom: 20px!important;
}

 /*news */

.entry-content-wrapper .big-preview.single-big,
.archive .big-preview.single-big,
.content .entry-content-wrapper .entry-content-wrapper,
.archive .content .entry-content-wrapper
{
   width: 100%!important;
}

.archive .content .entry-content-wrapper{
  padding-left: 0!important;
}

#after_section_2 .container{
   position: relative;
   top: -40px;
}

#news-container .Annual_Archive_Widget{
  width:100%;
  margin: 20px 0;
}
.av-image-caption-overlay-center p:first-child, #av_section_1 .av-image-caption-overlay-center p:first-child{
  font-size: 1.5em !important;
  margin-bottom: 5px;
}

.content .entry-content-wrapper .entry-content-wrapper,
.archive .content .entry-content-wrapper

{
  padding-left: 0;
}

#after_section_2 article .custom-wrapper, .archive article .custom-wrapper{
  margin-bottom: 0;
}

#av_section_1 .avia-builder-el-2{
  margin: 0 20px;
}

.pagination-meta{
  width: 100%!important;
}

#top .pagination .current, #top .pagination a, #top .fullsize .template-blog .pagination a{
  height: 40px;
    width: 40px;
    line-height: 40px;
    font-size: 16px;
    font-weight: bolder;

}

/* menus */

#mobile-advanced li > a:hover, .html_header_mobile_behavior #mobile-advanced span:hover, .html_header_mobile_behavior #mobile-advanced span:hover a{
  color: #fff!important;
}

/* portfolio */

.single-portfolio#top .navigation .avia-post-nav.avia-post-prev,
.single#top .navigation .avia-post-nav.avia-post-prev {   
    left: 0;
    padding-left: 0;    
}

.single-portfolio#top .navigation .avia-post-nav,
.single#top .navigation .avia-post-nav {
   top: 112px;
}

.avia-image-container-inner{
  background-position: center;
}

/* contact */

#av_section_1.av-minimum-height.av-minimum-height-custom{
  padding: 0 20px;
}

.single-post-nav-container {margin-bottom: 60px !important;}
}



@media only screen and (max-width: 1060px) { /*1023*/
  .topMenuGetInTouch {
    display: none;
  }
}

@media (min-width: 768px){
  #footer #text-2{
    display: inline-block;
    float: right;
  }
  #top #home-partners-section .avia-logo-element-container .slide-entry {
    padding: 20px;
  }
  #footer .handImg {
    float: left;
    margin-right: 30px;
    width: 80px;
  }
  #footer .inner-footer {
    float: left;
    max-width: 70%;
  }
  #header_main .container, .main_menu ul:first-child > li a {
    height: 100px;
    line-height: 100px;
  }
  #top #wrap_all #main #testimonial-section.avia-no-border-styling {
    min-height: 260px;
  }

  #casestudy-display .av_one_third {
    margin-left: 3%;
    width: 31.2%;
  }
  

}




@media (max-width: 767px) and (orientation: portrait) {
  /*#layer_slider_1 h1 {
    top: 10px!important;
    font-size: 15px !important;
    line-height: 1.3em !important;
  }
  #layer_slider_1 h2{
    top: 75px!important;
    font-size: 12px !important;
    line-height: 1.3em !important;
	
  }
  #layer_slider_1 h2 ~ a{
    top: 120px!important;
  }
  #layer_slider_1 .button {
    font-size: 30px !important;
	padding: 15px 20px !important; 
  }*/
  
  
}



@media (max-width: 767px) and (orientation: landscape) {
  /*#layer_slider_1 h1{
    top: 50px!important;
  }
  #layer_slider_1 h2 {
    top: 130px !important;
  }
  #layer_slider_1 h2 ~ a{
    top: 220px!important;
  }*/
   
  
}

/*

 .responsive #top #wrap_all .avia-content-slider-odd  .slide-entry.first{
        width: 48%; 
     }
     .responsive #top #wrap_all .avia-content-slider-odd .slide-entry.slide-parity-even{
          clear: none;
          margin-left: 4% 
     }
     .responsive #top #wrap_all .slide-entry.slide-parity-odd{
         margin-left: 0!important;   
     }
     
     */
     


@media (min-width: 480px) and (max-width: 767px){
 .responsive #top #wrap_all .avia-content-slider-odd  .slide-entry.first,
 .responsive #top #wrap_all .avia-content-slider-odd  .slide-entry {
        width: 100%; 
     }
     .responsive #top #wrap_all .avia-content-slider-odd .slide-entry.slide-parity-even{
          clear: none;
          margin-left: 0px 
     }
     .responsive #top #wrap_all .slide-entry.slide-parity-odd{
         margin-left: 0px !important;  
     }
#casestudy-display .avia-content-slider .slide-content{
    min-height: 1px; /*420px;*/
 }
 
 
  
}

@media (max-width: 766px){
 .avia-testimonial p {font-size:17px !important; line-height: 1.3 !important;text-align:center !important;}
 
 /* tighten up spacing on what we do page for mobile */
 .page-id-4764 #header-a .hr-invisible {display:none;}
  .page-id-4764 #header-b  {padding-top: 0 !important;}
  .post-entry-4764 .entry-content-wrapper {padding-top: 25px !important;}
 
}

@media (min-width: 321px) and (orientation: portrait) {
  #layer_slider_1 h2 ~ a {
    top: 130px!important;
  }
}

@media only screen and (min-device-width : 768px) {
  #service-box .entry-content-wrapper {
    display: flex !important;
  }

  #service-box .entry-content-wrapper .av_one_third {
    margin: 0 !important;;
    width: auto !important;;
    float: none !important;;
    flex: 1 !important;
  }
  #service-box .iconbox.av-no-box .iconbox_content{
    padding: 50px 5%;
  }
}


/* for ipad and tablet device */
@media only screen and (min-device-width : 768px) and (max-device-width: 1024px) {
  #header_main .container{
    padding: 0 20px;
  }
 
  .single-portfolio#top .navigation .avia-post-nav.avia-post-prev {
    left: 70%;    
  }
  
 
   
  .responsive .logo img{
     margin-top: 35px;
     width: 222px;
  }
 
  .date .custom_read_time,
  .catgeory .custom_read_time{
    width: 90%;
  }
   
  #top .pagination .current, #top .pagination a, #top .fullsize .template-blog .pagination a{
    height: 38px;
    width: 38px;
    line-height: 38px;
    font-size: 16px;
    font-weight: bolder;
  }
   .pagination-meta{
    width: 100%!important;
   }
 
  .single-portfolio .page-thumb{
     margin-top: 0;
  }

  .responsive .main_menu ul:first-child > li > a {
    padding: 0 8px;
  }
  #mobile-advanced li > a:hover, .html_header_mobile_behavior #mobile-advanced span:hover, .html_header_mobile_behavior #mobile-advanced span:hover a{
    color: #fff!important;
  }
  .av-main-nav > li > a .avia-menu-text {
    font-size: 14px!important;
  }
  .home #av_section_1{
    margin-top: -200px!important;
  }
  .av_header_transparency #advanced_menu_toggle {
    background-color: #ffffff;
    color: #333333;
    border-color: #e1e1e1;
  }

  #service-box .iconbox .iconbox_content .iconbox_content_title {
    font-size: 24px;
  }
  #service-box .iconbox_top .iconbox_content .iconbox_content_container {
    font-size: 16px;
    min-height: 120px;
  }
  #service-box .iconbox_top .iconbox_content:after {
    font-size: 50px;
    line-height: 1em;
  }
  
  .archive .big-preview.single-big img 
  {
    width: 100%;
    padding-left: 0;
  } 

.content .entry-content-wrapper .entry-content-wrapper,
.archive .content article .entry-content-wrapper /* .big-preview.single-big*/ 
{
   width: 50%;
}
  
#after_section_2 aside, .archive aside, .category aside{
  padding-left: 0;
}

.single-post .custom-wrapper,
.archive .custom-archive,
.archive .custom-wrapper,
.archive .custom_read_time{
 width: 90%;
}

.single-post-nav-container {width:80% !important;}

.sidebar .inner_sidebar{
  margin-left: 0;
}
#after_section_2 article .custom-wrapper, .archive article .custom-wrapper{
  margin-bottom: 0;
}
}



/* for ipad and tablet device mode landscape */
@media only screen
and (min-device-width: 768px)
and (max-device-width: 1024px)
and (orientation: landscape)
and (-webkit-min-device-pixel-ratio: 1) {
  
  #casestudy-display .avia-content-slider .slide-content{
     min-height: 400px;
  }  
  
  /*
  #layer_slider_1 h1 {
    top: 50px!important;
    line-height: 1.5 !important;
  }
  
 
  #layer_slider_1 h2{
    top: 200px!important;
    line-height: 1.5 !important;
  }
  #layer_slider_1 h2 ~ a{
    top: 350px!important;
  }
  
   #layer_slider_1 .button {
   
    margin-right: 15px;
  }
  */
  
  #team-section .team-social a {
    height: 30px;
    line-height: 30px;
    width: 50px;
    font-size: 30px;
  }
 
  #news-container .Annual_Archive_Widget {
  width: 61%;
}

.single .navigation {width:90%;}

.single#top .navigation .avia-post-nav.avia-post-prev {left:65%;}

}


/* for ipad and tablet device mode portrait */
@media only screen
and (min-device-width: 768px)
and (max-device-width: 1024px)
and (orientation: portrait)
and (-webkit-min-device-pixel-ratio: 1) {

  #top .av_header_transparency.av_alternate_logo_active .logo a > img {
    max-width: 150px;
    margin-top: 28px;
  }

   #casestudy-display .avia-content-slider .slide-content{
    min-height: 550px
  }
 
  .page .Annual_Archive_Widget,
  .single-post .custom-wrapper, 
  .archive .custom-archive, 
  .archive .custom-wrapper, 
  .archive .custom_read_time
  {
     width: 100%;
  }

  .content .entry-content-wrapper{
    padding-right: 0;
  }
  
  .avia-testimonial p {font-size:20px !important; line-height: 1.3 !important; text-align:center !important;}

  /*#layer_slider_1 .button {
    font-size: 30px !important;
	padding: 15px 20px !important; 
  }
  #layer_slider_1 h1 {
    top: 45px!important;
    font-size: 26px !important;
  }
  #layer_slider_1 h2{
    top: 190px!important;
    font-size: 18px !important;
  }
  #layer_slider_1 h1,
  #layer_slider_1 h2 {
    line-height: 1.2 !important;
  }

  #layer_slider_1 h2 ~ a{
    top: 260px!important;
  }*/
  
  .topMenuGetInTouch{
    display: none;
  }
  #home-blog-section .container{
    padding: 0 15px;
  }
  #home-blog-section .av_one_third{
    margin-left: 14px;
    width: 32%;
  }
  #home-blog-section .avia-content-slider article[itemprop="blogPost"] .slide-entry-title {
    font-size: 1.2em;
    line-height: 1.2em;
  }
  #home-blog-section .avia-content-slider article[itemprop="blogPost"] .slide-entry-excerpt {
    font-size: 13px;
    line-height: 1.2;
  }
  
.container .av-content-small.units{
  width: 100%;
}
  
  .page aside{
    display: none;
   }
  
#top #main .sidebar{ display:none;
  /* overflow: inherit; causes ipad portrait links to not work on news section */
 }
 
}



@media (max-width: 992px) {
  #top .av-large-testimonial-slider .avia-testimonial-name{
    font-size: inherit;
  }
  #top .av_header_transparency.av_alternate_logo_active .logo a > img {
    max-width: 200px;
  }
}


@media (min-width: 768px) {
#top .av_header_transparency.av_alternate_logo_active .logo a > img,
  .header_color img{
    margin-top: 35px!important;
    width: 222px;
  }
  
  }
@media (min-width: 992px) {
  #top .av-large-testimonial-slider .avia-testimonial-content {
    font-size: 2em;
    line-height: 1.5em;
  }
  #footer .textwidget{
    font-size: 14px;
  }
  #footer .container #theImg {
    left: -60px;
  }
  #top .av_header_transparency.av_alternate_logo_active .logo a > img,
  .header_color img{
    margin-top: 35px!important;
    width: 222px;
  }
  #home-blog-section .slide-entry-wrap{
    text-align: center;
  }
  #home-blog-section article[itemprop="blogPost"]{
    display: inline-block;
    float: none;
    text-align: left;
    margin-left: 30px;
    max-width: 400px;
    vertical-align: top;
  }
  #team-section .av_one_fourth {
    margin-left: 2%;
    width: 23.5%;
  }
}

/*@media only screen and (min-width : 1280px){*/
 #layer_slider_1 h1 {
    top: 50px!important;
    font-size: 34px!important;
  }
  #layer_slider_1 h2{
    top: 250px!important;/*200*/
    font-size: 22px!important;
  }
  #layer_slider_1 h2 ~ a{
    top: 400px!important;
  }
  #layer_slider_1 h1,
  #layer_slider_1 h2{
    line-height: 1.2!important;
  }
  #layer_slider_1 .button {
    font-size: 30px !important;
    padding: 15px 20px !important; 
    border-radius: 5px;
  }
  #top .av-large-testimonial-slider .avia-testimonial-name {
    font-size: 18px;
  }
  #top .av-large-testimonial-slider .avia-testimonial-content {
    font-size: 24px;
  }
/*}*/


@media only screen and (max-width: 1450px) {
#layer_slider_1 h1 
  {
  font-size: 30px!important;
  top: 50px!important;
  line-height: 1.2 !important;
  white-space:normal !important;
  }
  
   #layer_slider_1 h2 {
    top: 250px!important;
	 font-size: 20px!important;
	line-height: 1.2 !important;
	white-space:normal !important;
  }
  
  #layer_slider_1 h2 ~ a {
  font-size: 20px!important;
  top: 400px!important;
  }
  
   #layer_slider_1 .button {
  font-size: 30px !important;
  padding: 15px 20px !important; 
   top: 420px!important;
  }
  
 
}
 
  

@media only screen and (max-width: 1200px) {
#layer_slider_1 h1 
  {
  font-size: 25px!important;
  top: 45px!important;
  line-height: 1.2 !important;
  white-space:normal !important;
  }
  
   #layer_slider_1 h2 {
    top: 190px!important;
	font-size: 18px !important;
	line-height: 1.2 !important;
	white-space:normal !important;
  }
  
  #layer_slider_1 h2 ~ a {
  font-size: 18px!important;
  top: 320px!important;
  }
  
   #layer_slider_1 .button {
  font-size: 30px !important;
  padding: 15px 20px !important; 
 
   top: 320px!important;
  }
  
  .single-portfolio .entry-content .portfolio-subheading{
  margin-bottom: 140px;
}
 
  
}


@media only screen and (max-width: 1000px) {
#layer_slider_1 h1 
  {
  font-size: 20px!important;
  top: 45px!important;
  line-height: 1.2 !important;
  white-space:normal !important;
  }
  
   #layer_slider_1 h2 {
    top: 190px!important;
	font-size: 16px !important;
	line-height: 1.2 !important;
	white-space:normal !important;
  }
  
  #layer_slider_1 h2 ~ a {
  font-size: 16px!important;
  top: 280px!important;
  }
  
   #layer_slider_1 .button {
  font-size: 30px !important;
  padding: 15px 20px !important; 
   top: 280px!important;
  }
 
  
}

@media only screen and (max-width: 767px) {
#layer_slider_1 h1 
  {
font-size: 19px !important;
  margin: 0 auto !important;
  text-align: center !important;
  width:100% !important;
  left:0 !important; /* 80 */
  /*padding-left:10% !important;
  padding-right:10% !important;*/
  }
  
  #layer_slider_1 h2,
  #layer_slider_1 h2 ~ a {
  font-size: 16px !important;
  margin: 0 auto !important;
  text-align: center !important;
  width:100% !important;
  left:0 !important;
  
  }
  
  #layer_slider_1 .button {
  font-size: 30px !important;
  padding: 15px 20px !important; 
  margin: 0 auto !important;
  text-align: center !important;
  width:100% !important;
  left:0 !important;
  
  }
  
  .single-portfolio .entry-content .portfolio-subheading{
  margin-bottom: 80px;
}


  
}

@media only screen and (max-width: 666px) {
	
		#layer_slider_1 h1 
  {
  font-size: 14px !important;
	}
	
		#layer_slider_1 h2{
    display:none !important
	}
}

@media only screen and (max-width: 570px) {
	
	#layer_slider_1 h1 
  {
  font-size: 14px !important;
	}
	
	#layer_slider_1 h2 {
		top: 130px!important;
	}
		
		#layer_slider_1 h2,
	#layer_slider_1 .button {
    display:none !important;
	}


.single-portfolio .entry-content .portfolio-subheading {
  margin-bottom: 30px;
	}
}

@media only screen and (max-width: 414px) {
	#layer_slider_1 h2 {
    display:none !important
}
}

@media only screen and (max-width: 340px) {
	
#layer_slider_1 h1 
  {
  font-size: 14px !important;
  top: 20px !important;
  }
  
	#layer_slider_1 h2 {
    display:none !important
}
}