/* Enter Your Custom CSS Here */
.phone-info span { font-size: 14px; }
.nav-cta a { 
  height: 40px !important;
  line-height: 40px !important;
  padding: 0 10px !important;
  margin-left: 2px !important;
  text-transform: uppercase; 
  border-radius: 7px;
  background-color: #BF1337;
  color: #fff !important;
}
.header-scrolled .nav-cta a { margin-top: 2px; }
#header:not(.header-scrolled) .nav-cta a { margin-top: 24px; }
.nav-cta a:hover { background-color: #fff; }

#header_meta .phone-info, #header_meta a{color: #fff;}
#header_meta strong{color:#fff;}
#header_meta {background: #1E5CA6;}
#header #avia-menu li a:hover{background: #BF1337; color: #fff;}
#header #avia-menu li.current-menu-item a{background: #BF1337; color: #fff;}

.home #header #header_main{border: none; box-shadow: none;}
.home #layer_slider_1{border: none; box-shadow: none;}
.home #av_section_1 .iconbox_top .iconbox_content{box-shadow: 0px 0px 1px 0px #BF1337; min-height: 175px;}
.home #av_section_1 h3{text-transform: capitalize; overflow: visible;}
.home #av_section_1 .template-page{padding-top: 30px;}
.home #av_section_2 .container h4, .home #av_section_2 .container h3, .home #av_section_2 .container h2, .home #av_section_2 .container h1{color:#fff; text-transform: capitalize;}
.home #av_section_2 .container p{color: #fff;}
.home #av_section_2 .av-special-heading h3.av-special-heading-tag, .home #av_section_2 form h3{text-transform: capitalize;  font-size: 24px;}
.home #av_section_2 .avia_ajax_form input[type="submit"]{background:#BF1337;}
.home #av_section_3 .av-special-heading h3.av-special-heading-tag{font-weight: bold; font-size: 40px;}
.home #av_section_3 .avia_textblock p{color: #1E5CA6; font-size: 16px;}
.home #av_section_4 .av-special-heading h1.av-special-heading-tag{color: #fff; text-transform: capitalize; font-weight: bold; font-size: 40px;}
.container .breadcrumb .breadcrumb-trail .trail-before{color: #BF1337;}
#main .container .main-title.entry-title a {color: #1E5CA6!important; font-weight: bold;}

#top #wrap_all #main #layer_slider_1{background: url('/wp-content/uploads/2015/07/styro-texture.jpg');}
#top #wrap_all #main #av_section_1{background: url('/wp-content/uploads/2015/07/styro-texture.jpg');}
#top #wrap_all #main #av_section_3{background: url('/wp-content/uploads/2015/07/styro-texture.jpg');}
#top #wrap_all #header #header_main{border-bottom: 5px solid #1E5CA6;}
#top #main .sidebar_right{background: url('/wp-content/uploads/2015/07/styro-texture.jpg');}
#av_section_2 #wpcf7-f104-o1 input, #av_section_2 #wpcf7-f104-o1 textarea{padding: 13px; border-radius: 3px;}
#av_section_2 #wpcf7-f104-o1 .wpcf7-submit{padding: 15px 60px; background: #BF1337;}
#av_section_2 .avia_textblock h3{font-size: 23px;}

.mobile-click { display: none; }
#header_meta a {  
  padding: 10px;
  font-size: 18px;
  background-color: #bf1337;
  position: relative;
  top: 0;
}
#header_meta { min-height: 48px; }
#top .social_bookmarks { height: 48px; }
.header-address {  
  padding: 10px;
  font-size: 18px !important; 
  position: relative;
  top: 0;
}
#top #wrap_all .social_bookmarks a { line-height: 48px; }
.html_header_top.html_header_topbar_active.html_header_sticky #top #main {
    padding-top: 139px !important;
}

@media screen and ( max-width: 1130px ) {
  #header_main .container {
    padding-left: 0;
    padding-right: 14px;
  } 
}

@media screen and ( max-width: 1090px ) {
  .phone-info  {
    width: 100%;
    text-align: center;
  }
  .phone-info > span { width: 100%; }
  .header-address {  
    padding: 10px;
    font-size: 18px !important; 
    position: relative;
    top: 0;
    margin-bottom: 6px !important;
    margin-top: 10px !important;
  }
  #header_meta a:not(.mobile-click) { display: block; }
  .phone-info span { width: 100%; }
  .social_bookmarks {
    margin: 0 auto !important;
    display: block;
    float: none !important;
    width: 60px !important;
  }
  #header_meta .phone-info a {  border: 1px solid #1e5ca6; }
}

@media screen and ( max-width: 1023px ) {
  .av-main-nav > li > a {
    padding: 0 8px !important;
    height: 50px !important;
    line-height: 50px !important;
  }
  #header:not(.header-scrolled) .nav-cta a {
    margin-top: 6px;
    height: 36px !important;
    line-height: 36px !important;
  }
  #header_main .container, .main_menu ul:first-child > li a {
    height: 50px;
    line-height: 50px;
  }
  .responsive .logo img {
    margin: 0;
    max-width: 200px;
    margin-top: 0px;
  }
}

@media screen and ( max-width: 820px ) and ( min-width: 768px ) {
  .av-main-nav > li > a { font-size: 11px; }
}

@media screen and ( max-width: 767px ) {
  .social_bookmarks a { color: #fff !important; }
  .social_bookmarks li { border: 0 !important; }
  #header_meta a { display: block !important; }
  .nav-cta { display: none; }  
  .mobile-click { display: block; }
  .phone-info  { padding: 0; }
  #header_meta .container {
    width: 100% !important;
    max-width: 100% !important;
  }
  .mobile-click {
    font-size: 16px;
    padding: 10px; 
    background-color: #bf1336;
    text-transform: uppercase;
    display: block !important;
  }
}

@media(max-width: 400px){
  #header #header_meta .social_bookmarks a{color: #fff!important;}
  #header #header_meta .phone-info{line-height: 1;}
  #header #header_meta .phone-info a{display: inline-block;}
  #header #header_meta .phone-info span{line-height: 2;}
}



.inv-recaptcha-holder .grecaptcha-badge {visibility: hidden !important;}

#text-7 {display: none;}

@media (max-width: 480px) {
	.html_header_top.html_header_topbar_active.html_header_sticky #top #main {
   		 padding-top: 0 !important;
	}

	#text-7 {
  		display: inline;
  		position: fixed;
    	left: 0; right: 0; bottom: 0;
		z-index: 5;
  		margin: 0 !important;
	}

	#text-7 img {
   		padding: 0;
    	margin: 0 auto;
	}
	
	#layerslider_3,
	#footer .el_after_av_one_fourth,
	#socket {z-index: 0;	}
}
