/* Have fun adding your style here :) - PS: At all times this file should contain a comment or a rule, otherwise opera might act buggy :( */

@font-face {
  font-family: 'FPLight';
  src: url('fonts/FunctionPro-Light.eot');
  src: url('fonts/FunctionPro-Lightd41d.eot?#iefix') format('embedded-opentype'),
       url('fonts/FunctionPro-Light.woff') format('woff'),
       url('fonts/FunctionPro-Light.ttf')  format('truetype'),
       url('fonts/FunctionPro-Light.svg#svgFontName') format('svg');
}

@font-face {
  font-family: 'FPBold';
  src: url('fonts/FunctionPro-Bold.eot');
  src: url('fonts/FunctionPro-Boldd41d.eot?#iefix') format('embedded-opentype'),
       url('fonts/FunctionPro-Bold.woff') format('woff'),
       url('fonts/FunctionPro-Bold.ttf')  format('truetype'),
       url('fonts/FunctionPro-Bold.svg#svgFontName') format('svg');
}

/* MAP */

.map-container {
	width: 100%;
}
.map-container iframe{
	width: 100%;
	display: block;
	pointer-events: none;
	position: relative; /* IE needs a position other than static */
}
.map-container iframe.clicked{
	pointer-events: auto;
}


/* General Custom CSS */

h1,h2,h3,h4,h5,h6{
    font-family: 'FPBold';
}

p,span,a,strong,ul,li{
    font-family: 'FPLight';
	font-weight:bold;
}


h1{
   -webkit-text-fill-color: transparent; /* Will override color (regardless of order) */
   -webkit-text-stroke-width: 1px;
   -webkit-text-stroke-color: black;

   text-shadow: -5px 0px 0px rgba(213, 213, 213, 1);
}

#layer_slider_2{
	display:none;
}

.avia-menu-text{
    font-size: 16px;
}

.ls-btn a{
	color:#fff;
}

#wrap_all{
    background-color: #fff!important;
}

#nav_menu-3{
	margin: 0 0 30px 0!important;
}

.av-masonry-outerimage-container{
    margin-top: 15px!important;
}

#socket .copyright{
	line-height: 21px;
}

#intro{
	margin: 0 0 80px 0;
}

#intro .more{
    display: none;
}

#intro .btn{
    color: #1d243d!important;
    border: 1px solid #1d243d!important;
    background: transparent!important;
    border-radius: 0;
    padding: 10px 20px;
    width: 140px;
    float: left;
    cursor: pointer;
    transition: all 0.3s;
}

#intro .btn:hover{
    color: #ffffff!important;
    border: 1px solid #ffffff!important;
    background: #1d243d!important;
    border-radius: 0;
    padding: 10px 20px;
    width: 140px;
    float: left;
    cursor: pointer;
    transition: all 0.3s;
}

#h_expertise::before{
    content: ''!important;
    position: relative;
    left: 0!important;
    top: -33px;
    display: block;
    overflow: visible!important;
    width: 100%!important;
    height: 70px!important;
    background: #1d243d!important;
    -webkit-transform: skewY(2deg)!important;
    -moz-transform: skewY(2deg)!important;
    -ms-transform: skewY(2deg)!important;
    -o-transform: skewY(2deg)!important;
    transform: skewY(2deg)!important;
    -webkit-backface-visibility: hidden!important; 
     backface-visibility: initial!important;
}

#h_expertise::after{
    content: ''!important;
    position: relative;
    left: 0!important;
    top: 34px;
    display: block;
    overflow: visible!important;
    width: 100%!important;
    height: 70px!important;
    background: #1d243d!important;
    -webkit-transform: skewY(2deg)!important;
    -moz-transform: skewY(2deg)!important;
    -ms-transform: skewY(2deg)!important;
    -o-transform: skewY(2deg)!important;
    transform: skewY(2deg)!important;
    -webkit-backface-visibility: hidden!important; 
     backface-visibility: initial!important;
}

#h_expertise h1{
   -webkit-text-fill-color: transparent; /* Will override color (regardless of order) */
   -webkit-text-stroke-width: 1px;
   -webkit-text-stroke-color: white!important;

   text-shadow: 4px 0px 0px rgba(213, 213, 213, 1);
}

#h_expertise p{
   color: #fff;
}

#h_expertise .container{
	    top: -40px;
}

#h_expertise .avia-button{
    color: #ffffff!important;
    border: 1px solid #fff!important;
    background: transparent!important;
    border-radius: 0;
    width: 140px;
    padding: 14px 20px;
    font-size: 16px;
    margin: 0;
}


#services_menu .container{
    max-width: 100%;
    padding: 0;	
}

#serv_menu{
	margin: 0;
	height: 100px;
}

#serv_menu li{
	display: flex;
    flex-direction: column;
    justify-content: center;

    width: 20%;
    float: left;
    margin: 0;
    text-align: center;
    height: 100%;
    padding: 0;
    position: relative;
}

#serv_menu li a{
	display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    background-color: rgba(0,170,236,0.5);
    transition: all 0.8s;
}

#serv_menu li a span{
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
}

.serv-active{
	height: 150%!important;
	transition: all 0.8s;
}

.serv-active span{
    background: rgb(0,166,232) !important;
}

#serv_menu li a:hover{
	height: 150%!important;
	transition: all 0.8s;
}

#serv_menu li a span{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
	left: 0;
}

#single_service .container .template-page{
	padding-bottom: 0px!important; 
}

#single_service .container{
    max-width: 100%;
    padding: 0;	
}

#h_recent_post .container{
    max-width: 100%!important;
    padding: 0!important;
}

.cont{
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

     -webkit-flex-direction: column;
   flex-direction: column;
}

.service, .gallery{
	width: 100%;
	margin: 0;

    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

     -webkit-flex-direction: row;
   flex-direction: row;
}

.blogcategory{
	display:none;
}

.gallery-col{
    margin: 0!important;
}

.col1-3{
	width: 33.33%;
	float: left;
	background-repeat: no-repeat;
    background-size: cover;
}

.avia-post-nav, .post-edit-link, .navigationarrows{
	display:none!important;
}

.col1-3 img{
    height: 100%!important;
    width: 100%!important;
}

/*.gallery img{
	border-bottom: 2px solid #fff;
	border-color: #fff!important; 
}*/

.col2-3{
	width: 66.66%;
	float: left;
    background: white;
    padding: 50px;
}

.col3{
    width: 33.333%;
    float: left;
}

.col3 img{
    width: 100%;
    height: 100%;
    /*border-bottom: 2px solid #fff;
    border-color: #fff!important;*/
}

.serv-title h2{
	font-size: 60px;
	overflow: hidden;
    display: inline-block;
    font-weight: bold;
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    display: block;
    background-position: bottom right;
    background-size: cover;
	background-position: 10px -100px;
}

.serv-sub-title{
    margin: 10px 0;
}

.postid-175 .serv-title h2{	
	color: #171f30;
    -webkit-text-fill-color: #171f30;
    -webkit-background-clip: text;
}

/* Recent Events */

#h_recent_post.av-masonry-outerimage-container{
    position:relative;
}

#h_recent_post .av-inner-masonry-content{
    position: absolute;
    top: 40%;
    width: 70%;
    margin: 0 auto;
    left: 0;
    right: 0;
    background-color: rgba(255,255,255,0.9);
    display: none;
    padding: 50px;
    text-align: center;
}

#h_recent_post #av-masonry-1 .av-masonry-container a:hover .av-inner-masonry-content{
    display: block;
}

#h_recent_post #av-masonry-1 .av-masonry-container .av-masonry-date{
    display: none;
}

#h_recent_post .av-masonry-entry-title{
    border-bottom: 1px solid #000;
    padding: 0 0 6px 0;
    margin: 0 auto;
    width: 250px;   
}

#h_recent_post .av-large-gap.av-flex-size .av-masonry-entry .av-inner-masonry{
    margin-bottom: 0!important;
}

#h_recent_post .av-masonry-image-container{
    opacity: 1!important;
}

.age-template-template-single-event-php .container_wrap{
    border: none!important
}

.single-event-top{
    margin: 150px 0 0 0; 
}

.events-btn-container{
    text-align: center;
    min-height: 60px;   
}

.events-btn{
    width: 200px;
    margin: 10px auto 40px auto;
    height: 40px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.events-btn a{
    padding: 10px 20px;
    display: inline-block;
    width: 100%;
    height: 100%;
    border: 2px solid #000;
    color: #000;


    display: flex;
    align-items: center;
    justify-content: center;
}


/* CONTACT INFORMATION */

#contact_info h2{
    background-image: url('../images/promotional-staff.jpg'); 

    font-size: 60px;
    overflow: hidden;
    display: inline-block;
    font-weight: bold;
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    display: block;
    background-position: bottom right;
    background-size: cover; 
} 

.page-id-129 h1{
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: white;
    text-shadow: none!important;
    font-size: 50px;
}

input, textarea, select{
    background: transparent!important;
    border: none!important;
    border-bottom: 1px solid #fff!important;
    color: #fff!important;    
}

::-webkit-input-placeholder {
   color: #fff!important;
}

:-moz-placeholder { /* Firefox 18- */
   color: #fff!important;  
}

::-moz-placeholder {  /* Firefox 19+ */
   color: #fff!important;  
}

:-ms-input-placeholder {  
   color: #fff!important;  
}

#top input[type="text"]:focus, #top input[type="password"]:focus, #top input[type="email"]:focus, #top input[type="number"]:focus, #top input[type="url"]:focus, #top input[type="tel"]:focus, #top input[type="search"]:focus, #top textarea:focus{
    box-shadow:none!important;
}

#form select {
   -webkit-appearance: none; 
   -moz-appearance: none;
   appearance: none;       /* remove default arrow */
   background-image: url(...html);   /* add custom arrow */
}

#form select option{
   background:#e1e1e1!important;
   color:#222222!important;
   padding:5px 10px!important;
}

#form select::-ms-expand { 
    display: none; /* remove default arrow on ie10 and ie11 */
}
.send{
    border: 1px solid #fff!important;
}

#map{
    width: 100%;
    height: 350px;
}

#contact_map .container{
    max-width: 100%;
    padding: 0!important;
}


/* FOOTER */

.contact-cta{
    color: #00a6e8!important;
    border: 1px solid #00a6e8!important;
    padding: 15px 40px;   
}

.s-facebook, .s-twitter, .s-linkedin, .s-google{
     display: block;
    width: 40px;
    float: left;   
}

.s-facebook:hover{
    content:url("../images/facebook-hover.png");
}

.s-google:hover{
    content:url("../images/google-hover.png");
}

.s-twitter:hover{
    content:url("../images/twitter-hover.png"); 
}

.s-linkedin:hover{
    content:url("../images/linkedin-hover.png");
}

.contact-cta:hover{
    background: #00a6e8;
    color: #fff!important;
    text-decoration: none;
}

#text-2{
	margin:30px 0 0 0!important;
}

#text-2 .textwidget{
    height: 80px;
    margin-top: 1.65em;
}

#text-3 .textwidget{
    margin-top: 0.65em;
}

.widgettitle{
     color: #00a6e8!important;
    font-family: FPLight;
    font-weight: bold;   
}

#socket{
    font-size: 16px!important;
}

#footer{
    background-image: url('../images/bg-bottom-dark.png');
    background-position: top right;
    background-size: contain; 
    background-repeat: no-repeat;
}

.sub_menu_socket #avia3-menu .avia-menu-text{
	color: #929292!important;
    font-size: 14px!important;
    font-weight: bold!important;
    font-family: 'FPLight'!important;
}

.sub_menu_socket #avia3-menu a:hover{
	color: #00a6e8!important;
	text-decoration:none!important;
}

.sub_menu_socket #avia3-menu .avia-menu-text:hover{
	color: #00a6e8!important;
	text-decoration:none!important;
}

.service{
	background: url(../images/select-arrow.png) 100% / 15px no-repeat;
    background-position: 99% 20%;
}

.contactus-cta{
    background: #fff;
    border: 1px solid #fff!important;
    color: #1d243d!important;
    display: block;
    text-align: center;
    padding: 5px 10px;
    font-weight: bold;
    margin: 15px 0 0 0;
}

.contactus-cta:hover{
    background: transparent;
    border: 1px solid #fff!important;
    color: #fff!important;
    display: block;
    text-align: center;
    padding: 5px 10px;
    font-weight: bold;
    margin: 15px 0 0 0;
	text-decoration:none;
}


/* ADDITIONAL CSS */



/*
Desktop Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the desktop view of your site */


@media only screen and (min-width: 1001px) and (max-width: 1400px) {
  /* Add your Desktop Styles here */

        #h_recent_post .av-inner-masonry-content{
            padding: 20px;
        } 

        .gallery {
        height: 260px;
      }
}

@media only screen and (min-width: 768px) and (max-width: 1000px) {
  /* Add your Desktop Styles here */

        #h_recent_post .av-inner-masonry-content{
            padding: 20px;
        }  

        #h_recent_post .av-masonry-entry-title{
            width: 100%!important;
      }

      .gallery {
        height: 190px;
      }
}

@media only screen and (min-width: 1360px) {
  /* Add your Desktop Styles here */

  .single #header_main .container{
        max-width: 100%;
        padding: 0 100px!important;
  }

  .single .col2-3{
    padding: 50px 100px!important;
  }

  .col2-3{
        padding: 50px 250px 50px 50px!important;
  }

}


@media only screen and (min-width: 768px) {
  /* Add your Desktop Styles here */


}

@media only screen and (min-width: 1201px) {
	#intro{
		    background-size: contain!important;
	}
}


@media only screen and (max-width: 1200px) {
	#intro{
		background-size: 26% 90%!important;
	}
}


@media only screen and (min-width: 981px) and (max-width: 1100px) {
  /* Add your Desktop Styles here */
	
	#serv_menu li a span{
		font-size: 16px;
	}
	
	.cont .service .col1-3{
		background-position: -100px 0!important;
	}
	
	#h_recent_post .av-masonry-entry-title{
		width:100%;
	}
	
}


@media only screen and (min-width: 768px) and (max-width: 980px) {
  /* Add your Desktop Styles here */
  
	#single_service .service .col1-3{
		display:none!important;
    }
	
	#h_recent_post .av-masonry-entry-title{
		width:100%;
	}
	
	#single_service .service .col2-3{
		width:100%!important;
    }
	
	.serv-title h2{
		font-size: 30px!important;
    }
	
	#single_service .container .hr{
        display:none!important;  
    }
	
	#serv_menu li .serv-active span{
		padding: 0 0 50px 0;
	}
	
	#serv_menu li{
		width: 33.333333%!important;	
	}
	
	#single_service .container .template-page{
		padding-top: 0!important;
    }
	
	#h_recent_post .av-masonry-entry-content{
		display:block!important;
	}
	
	.my-widget-content{	
		display:none!important;
	}
}


/*
Mobile Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */

@media only screen and (max-width: 767px) {
  /* Add your Mobile Styles here */

    #contact_map .container{
        max-width: 100%!important;
        width: 100%!important;
    }
	
	#h_recent_post .av-masonry-entry-title{
		width:100%;
	}
	
	h1.av-special-heading-tag{
		font-size: 35px!important;
	}
	
	#layer_slider_1{
		display:none;
	}

	#layer_slider_2{
		display:block;
	}

	
	.my-widget-content{	
		display:none!important;
	}

    h4{
        font-size: 14px;
    }
	
	#single_service .container{
		max-width: 90%!important;
	}

    .single-event-top{
        margin: 50px 0 0 0;
    }

    #intro{
        background-image: none!important;
    }

    #h_recent_post .av-inner-masonry-content{
        top: 0;
    }

     #h_recent_post .av-masonry-entry-title{
        width: 100%;
    }

    #h_recent_post .container{
        width: 100%!important; 
    }

    #services_menu .container{
        width: 100%!important;
        max-width: 100%!important;
    }

    #single_service .container{
        width: 100%!important;
        max-width: 100%!important;   
    } 
	
	#single_service .container .hr{
        display:none!important;  
    }
	
	#single_service .container .template-page{
		padding-top: 0!important;
    }

    #serv_menu li{
		width: 100%;
		height: 50px;
    }
	
	#serv_menu li a{
		position:relative!important;
	}
	
	.serv-active{
		height:100%!important;
	}
	
	#serv_menu li .serv-active span{
		position:relative!important;
	}

    .col1-3,.col2-3{
        width: 100%;
    }

    .col2-3{
        padding: 0px 10px;
    }

    .serv-title{
      margin-top: 20px;
    }

    .serv-title h2{
      font-size: 20px;  
    }

    .gallery{
        height: auto!important;
    }

    .service, .gallery{
        -webkit-flex-direction: column!important;
        flex-direction: column!important;
    }
}
        