/*
Author: Thunderstruck Sales & Marketing
Author URI: http://thunderstrucksales.com
Description: Designed by Patrick Benske, Developed by Patrick Bullert
*/

@media only screen and (max-width: 768px) {
	html{
		width: 100%;
	}
	body{
		width: 100%;
	}

    body,button,input,select,textarea {font-size: 14px; line-height: 22px;}

    h1, h2, h3, h4, h5, h6{
        padding: 5px 0; 
    }

    h1{font-size: 20px; line-height: 22px;}
    h2{font-size: 15px; line-height: 18px;}
    h3{font-size: 14px; line-height: 16px;}
    h4{font-size: 12px; line-height: 14px;}
    h5{font-size: 12px; line-height: 14px;}
    h6{font-size: 12px; line-height: 14px;}

    [class*='col-'] {
        padding-right: 0;
        margin: 0;
    }

    .hoursfix p{
        display: none;
    }

    /*--------------------------------------------------------------
    # Button
    --------------------------------------------------------------*/
    .button,
    .wpcf7-submit,
    .button:visited,
    .wpcf7-submit:visited,
    input[type="submit"],
    input[type="submit"]:visited,
    .slideContent a,
    .slideContent a:visited{
        font-size: 12px;
        padding: 5px 20px;
    }

    /* Mobile Menu : Start */
    .mobilePlaceholder{
        display: inline-block;
        margin: 30px 20px 0 0;
        float: right;
    }

    .mobile-nav
    {
        position: relative;
        z-index: 9999;

        display: block;

        width: 40px;
        height: 30px;

        -webkit-transition: background-color .3s;
           -moz-transition: background-color .3s;
                transition: background-color .3s;
        /* Force Hardware Acceleration in WebKit */
        -webkit-transform: translate3d(0, 0, 0);
           -moz-transform: translate3d(0, 0, 0);
            -ms-transform: translate3d(0, 0, 0);
             -o-transform: translate3d(0, 0, 0);
                transform: translate3d(0, 0, 0);

        box-shadow: none;

        -webkit-backface-visibility: hidden;
                backface-visibility: hidden;
    }
    .mobile-nav.is-fixed
    {
        /* when the user scrolls down, we hide the header right above the viewport */
        -webkit-transition: -webkit-transform .3s;
           -moz-transition:    -moz-transform .3s;
                transition:         transform .3s;
    }
    .mobile-nav.is-visible
    {
        /* if the user changes the scrolling direction, we show the header */
        -webkit-transform: translate3d(0, 100%, 0);
           -moz-transform: translate3d(0, 100%, 0);
            -ms-transform: translate3d(0, 100%, 0);
             -o-transform: translate3d(0, 100%, 0);
                transform: translate3d(0, 100%, 0);
    }
    .mobile-nav.menu-is-open
    {
        /* add a background color to the header when the navigation is open */


    }
    .main-menu-trigger .cd-menu-text
    {
        font-weight: 700;
        /* hide the text on small devices */

        display: none;

        text-transform: uppercase;

        color: white;
    }
    .main-menu-trigger .cd-menu-icon
    {
        position: absolute;
        top: 50%;
        right: auto;
        bottom: auto;
        left: 50%;
        /* this span is the central line of the menu icon */

        display: inline-block;

        width: 40px;
        height: 3px;

        -webkit-transition: background-color .3s;
           -moz-transition: background-color .3s;
                transition: background-color .3s;
        -webkit-transform: translateX(-50%) translateY(-50%);
           -moz-transform: translateX(-50%) translateY(-50%);
            -ms-transform: translateX(-50%) translateY(-50%);
             -o-transform: translateX(-50%) translateY(-50%);
                transform: translateX(-50%) translateY(-50%);


        background-color: #000;
        /* these are the upper and lower lines in the menu icon */
    }
    .main-menu-trigger .cd-menu-icon::before,
    .main-menu-trigger .cd-menu-icon:after
    {
        position: absolute;

        width: 100%;
        height: 100%;

        content: '';
        -webkit-transition: -webkit-transform .3s, top .3s, background-color 0s;
           -moz-transition:    -moz-transform .3s, top .3s, background-color 0s;
                transition:         transform .3s, top .3s, background-color 0s;

        background-color: #000;
    }
    .main-menu-trigger .cd-menu-icon::before
    {
        top: -8px;
    }
    .main-menu-trigger .cd-menu-icon::after
    {
        top: 8px;
    }
    .main-menu-trigger .cd-menu-icon.is-clicked
    {
        background-color: rgba(255, 255, 255, 0);
    }
    .main-menu-trigger .cd-menu-icon.is-clicked::before,
    .main-menu-trigger .cd-menu-icon.is-clicked::after
    {
        background-color: white;
    }
    .main-menu-trigger .cd-menu-icon.is-clicked::before
    {
        top: 0;

        -webkit-transform: rotate(135deg);
           -moz-transform: rotate(135deg);
            -ms-transform: rotate(135deg);
             -o-transform: rotate(135deg);
                transform: rotate(135deg);

        background-color: #fff;
    }
    .main-menu-trigger .cd-menu-icon.is-clicked::after
    {
        top: 0;

        -webkit-transform: rotate(225deg);
           -moz-transform: rotate(225deg);
            -ms-transform: rotate(225deg);
             -o-transform: rotate(225deg);
                transform: rotate(225deg);

        background-color: #fff;
    }

    .main-menu-trigger
    {
        line-height: 30px;

        top: 50%;
        right: 0;
        bottom: auto;

        width: 100px;
        height: 30px;
        padding-left: 1em;

        -webkit-transform: translateY(-50%);
           -moz-transform: translateY(-50%);
            -ms-transform: translateY(-50%);
             -o-transform: translateY(-50%);
                transform: translateY(-50%);

        background-color: transparent;
    }
    .main-menu-trigger .cd-menu-text
    {
        display: inline-block;
    }
    .main-menu-trigger .cd-menu-icon
    {
        right: 0;
        left: 0;

        -webkit-transform: translateX(0) translateY(-50%);
           -moz-transform: translateX(0) translateY(-50%);
            -ms-transform: translateX(0) translateY(-50%);
             -o-transform: translateX(0) translateY(-50%);
                transform: translateX(0) translateY(-50%);
    }

    ul.main-menu{

        margin: 0;
    }

    .main-menu
    {
        /* by default it's hidden - on top of the viewport */
        position: fixed;
        z-index: 2;
        top: 0;
        left: 0;
        overflow: auto;

        width: 100%;

        -webkit-transition-duration: .4s;
           -moz-transition-duration: .4s;
                transition-duration: .4s;
        -webkit-transition-property: -webkit-transform;
           -moz-transition-property:    -moz-transform;
                transition-property:         transform;
        -webkit-transform: translateY(-100%);
           -moz-transform: translateY(-100%);
            -ms-transform: translateY(-100%);
             -o-transform: translateY(-100%);
                transform: translateY(-100%);


        background: rgba(0, 0, 0, 1);

        -webkit-backface-visibility: hidden;
                backface-visibility: hidden;
        /* this fixes the buggy scrolling on webkit browsers - mobile devices only - when overflow property is applied */
        -webkit-overflow-scrolling: touch;
    }
    .main-menu li
    {
        margin: 0;
        padding: 0;

        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    .main-menu a
    {
        font-size: 15px;

        text-decoration: none;
        display: block;
        margin: 0;
        padding: 10px 20px;
        text-align: center;
        -webkit-transition: background .2s;
           -moz-transition: background .2s;
                transition: background .2s;

        color: #fff;

    }
    .main-menu a:active,
    .main-menu a:hover
    {
        background: #282828;
    }
    .no-touch .main-menu a:hover
    {
        background-color: #e36767;
    }

    .main-menu.is-visible
    {
        -webkit-transform: translateY(0);
           -moz-transform: translateY(0);
            -ms-transform: translateY(0);
             -o-transform: translateY(0);
                transform: translateY(0);
    }

    .main-menu
    {
        padding: 0 0;
    }

    .sub-menu{
        display: none;
    }

    ul.sub-menu{
        margin: 0;
        padding: 0;
        background: #1a1a1a;
    }
    .sub-menu li a{
        border-bottom: 1px solid #000000;
    }

    a.parent{
        background-image: url('../images/arrow-down-white.png')!important;
        background-position: center right 25px!important;
        background-repeat: no-repeat!important;
    }
    /* Mobile Menu : End */

    /*--------------------------------------------------------------
    # Fixed Header
    --------------------------------------------------------------*/
    .fixedh{
        background: #fff;
        padding: 20px 20px;
    }

    .fixedh .col-9-12{
        float: right;
        width: 50%;
    }

    .fixedh .mobilePlaceholder{
        display: inline-block;
        margin: 0 0 0 0;
        float: right;
    }

    .fixedh .main-menu a{
        color: #1b1b1b;
        opacity: 1;
        padding: 14px 10px 0 10px;
    }

    .fixedh .logo_small{
        display: inline-block;
        max-width: 50%;
    }

    .fixedh .logo_small img{
        max-width: 100%;
        width: auto;
        height: auto;
    }

    .fixedh .languageSelector,
    .fixedh .logo_large{
        display: none;
    }

    .fixedh .phone{
        display: block;
        margin: 0;
        padding: 0;
        width: 100%;
     }

    .fixedh .phone a{
        color: #020c7e;
        float: right;
        padding: 8px 0 0 25px;
    }

    .fixedh .clear{
        display: none;
    }

.avatarImage{
    width: 100%;
    height:  400px;
}

.imageMiddle{
    display: block;
    width: 100%;
height: auto;
}

.alignMiddle{
    display: block;
    vertical-align: middle;
    width:  100%;
	height: auto;
}

/* Header - Fixed */
.header-fixed .logo_small{
    display: none;
}

.header-fixed .grid-pad{
    padding: 0;
}

.header-fixed #lang_sel_list{
    padding-right: 20px;
    padding-top: 11px;
}

.header #lang_sel_list{
    padding-top: 11px;
    z-index: 1;
}

.pageHeader .lang_sel_list_horizontal{
        float: right;
        padding-right: 13px;
        padding-top: 5px;
    }

.pageHeader .phone{
        float: left;
        padding: 10px 0 0 20px;
}
.pageHeader .phone a,
.pageHeader .phone a:visited{
    color:  #fff;
}

.pageHeader .main-menu a, .pageHeader .main-menu a:visited{
    color:  #fff;
}

.pageHeader .main-menu{
        z-index: 999!important;
}
    /*--------------------------------------------------------------
    # Header
    --------------------------------------------------------------*/

    .header,
    .pageHeader{
        position: relative;
        background: rgba(255, 255, 255, 0.24);
        height: auto;
    }

    .header .col-3-12,
    .pageHeader .col-3-12{
        width: 100%;
        background: #fff;
    }

    .header .col-9-12,
    .pageHeader .col-9-12{
        position: relative;
        padding: 0px 0 10px 0;
        width: 100%;
        background: #000;
    }

    .header .logo_large,
    .pageHeader .logo_large{
        background: #020C7E;
        text-align: left;
        padding: 20px 20px 10px 20px;
        position: relative;
        width: auto;
        display: inline-block;
    }
    .header .logo_large img,
    .pageHeader .logo_large img{
        width: auto;
        height: auto;
        max-height: 50px;
    }

    .hero{
        height: auto;
        min-height: 400px;
    }

    .hero .grid-pad{
        padding: 0;
        margin: 0;
    }

    .phone{
        float: left;
        padding: 10px 0 0 20px;
    }
    .languageSelector{
        float: right;
        padding-right: 13px;
        padding-top: 5px;
    }

    .languageSelector ul li{
        float: left;
        list-style: none;
        padding: 2px 7px;
    }

    .middle{
        display: block;
        height: 100%;
        float: none;
        padding: 0 20px;
    }

    .text{
        display: block;
        max-width: 100%;
        line-height: 30px;
        padding: 40px 20px;
    }

    .text a,
    .text a:visited{
        padding: 12px 30px;
        font-size: 13px;
    }

    /*--------------------------------------------------------------
    # Front Page
    --------------------------------------------------------------*/
    .splurbs{
        width: 100%;
        height: auto;
        padding: 15px 0 30px 0;
    }

    .splurbs a{
        text-decoration: none;
    }

    .splurbs [class*='col-']{
        padding-right: 0;

    }

    .splurbs .content{
        padding: 15px 20px 0 20px;
        border-bottom: 1px solid #d9d9d9;
    }

    .splurbs .content:hover{
        padding: 15px 20px 0 20px;
        margin-top: 0;
    }

	.splurbs h3{
	max-width: auto;
	}

    .aboutSection{
        padding: 40px 0;
        line-height: 27px;
        font-size: 14px;
    }

    .aboutSection .col-1-2{
        padding: 0 20px;
    }

    .aboutSection h3{
        line-height: 25px;
        font-size: 17px;
    }

    .sectionWrap{
        background: #F0EDE5;
        color: #f8e5c6;
    }
    .sectionWrap .grid{
        display: block;
        padding: 0;
    }

    .sectionWrap .left{
        padding: 0;
        width: 100%;
    }

    .sectionWrap .right{
        background: #CB995E;
        min-height: auto;
        padding: 30px 40px;
        width: 100%;
    }

    .sectionWrap h3{
        color: #fff;
        text-transform: uppercase;
        font-weight: 400;
        font-size: 25px;
        margin-bottom: 0;
    }

    .sectionWrap strong{
        color: #fff;
    }

    .acf-map{
        width: 100%;
        height: 300px;
        margin: 0;
    }

    /* fixes potential theme css conflict */
    .acf-map img {
       max-width: inherit !important;
    }

    .wpcf7 .col-1-2,
    .wpcf7 .col-1-1{
        padding:  0;
    }

    .wpcf7 .phone{
        padding: 0;
    }

    .button, .wpcf7-submit, .button:visited, .wpcf7-submit:visited, input[type="submit"], input[type="submit"]:visited, .slideContent a, .slideContent a:visited{
        padding: 15px 50px;
        font-size: 15px;
        border-radius: 0;
        border: none;
    }

    /*--------------------------------------------------------------
    # Footer
    --------------------------------------------------------------*/
    .footer{
        padding: 20px 0;
    }

    .copyright{
        padding: 0 0 20px 0;
        width: 100%;
        margin: 0;
    }

    .disclamer{
        padding: 0!important;
        margin: 0;
        width: 100%;
        text-align: left;
    }

    /*--------------------------------------------------------------
    ## Swiper Overrides
    --------------------------------------------------------------*/
    .slideContent{
        padding: 50px 20px;
    }
    .swiper-button-prev,
    .swiper-container-rtl .swiper-button-next {
      left: 10px!important;
       background-size: 7px!important;
    }
    .swiper-button-next,
    .swiper-container-rtl .swiper-button-prev {
      
      right: 10px!important;
      background-size: 7px!important;
    }

    .swiper-container .slideContent a{
        margin: 5px 0;
    }


    .pageBanner{
        padding:  50px 0;
    }

    .pageBanner h1{
        font-size: 20px;
        line-height: 30px;
    }

    .bgWrap{
        padding:  20px 0;
    }

    .featLin{
        border-left: 2px solid #be985d;
        padding:  25px 20px 10px 20px;
        margin: 0 0;
    }
 
    .featLin h3{
        text-transform: uppercase;
        font-size: 16px;
        line-height: 17px;
        font-weight: 400;
    }

    .featLin span{
        font-size: 20px;
        text-transform: uppercase;
        color: #020c7e;
        font-weight: 600;
    }

.avatarImage{
    width:  100%;
    min-height:  300px;
    height:  auto;
    background-size:  cover!important;
    margin-bottom:  20px;
    background-position: center!important;
}

.team .wrap{
    padding:  0 0;
}

.team .wrap h2{
    text-transform: uppercase;
    font-weight: 300;
    color:  #02107f;
}

.team .wrap p{
    font-size:  15px;
    line-height:  25px;
    font-weight: 300;
    /* color:  #02107f; */
    padding:  0 0 0 0;
}

.team [class*='col-']{
    width:  100%;
    display: inline-block;
}

.team.left,
.team.right{
    width:  100%;
    float:  none;
}

.team .left .content{
    margin:  40px 0;
    padding: 0 20px;
    border-left: 2px #be985d solid;
}

.team .right .content{
    margin:  40px 0;
    padding: 0 20px;
    border-right: 2px #be985d solid;
    text-align: right;
}

.masonry { /* Masonry container  */
    column-count: 1;
    column-gap: 1em;
    overflow: hidden;
}

.item { /* Masonry bricks or child elements  */
    display: inline-block;
    padding-right:  40px;
    z-index:  20;
    position: relative;
    height: auto;
    overflow: hidden;
    border: 2px solid #02107F;
    padding:  20px;
    width: calc(100% - 40px);
    margin: 25px 20px;
    position: relative;
}

.tender .mainItem,
.tender .subItem{
    padding: 20px 0;
}

.tender .borderLeft{
    border-left: 1px solid #AC814C;
    padding: 0 20px 0 20px;
}

.tender .borderTop{
    border-top: 2px solid #AC814C;
    border-bottom: 2px solid #AC814C;
    padding: 20px 40px 40px 40px;

}

.tender h3{
    font-size: 20px;
    line-height: 22px;
}

.tender span,
.tender strong{
    font-size: 14px;
}

.tender p{
    font-size: 15px;
    line-height: 20px;
}

.tender ul{
    padding: 0 0 0 20px;
    width: calc(100% - 20px);
}

.tender ul li{
    width: 100%;
}

} /* END 767px query */

@media screen and (min-width: 768px) and (max-width: 1200px) {

    /*--------------------------------------------------------------
    # Header 
    --------------------------------------------------------------*/
    .header{
        position: relative;
        background: rgba(255, 255, 255, 0.24);
        height: auto;
    }

    .header .col-9-12{
        position: relative;
        padding-top: 20px;
    }

    .hero .logo_large{
        padding: 40px 30px;
        position: relative;
        width: auto;
    }

    .header-fixed .logo_small{
        height: 91px;
        padding: 30px 20px;
    }

    .header-fixed .phone{
        padding-top: 10px;
    }
    .header-fixed .lang_sel_list_horizontal {
        padding-right: 0;
        padding-top: 12px;
    }

    .header-fixed .main-menu{
        padding: 7px 0 0 0;
        float: right;
        clear: both;
    }

    .main-menu a,
    .main-menu a:visited{
        float: left;
        display: block;
        padding: 5px 5px!important;
        font-size: 16px;
        font-weight: 400;
        text-decoration: none;
        text-transform: uppercase;
        color: #fff;
        opacity: 0.7;
    }

    /*--------------------------------------------------------------
    # Front Page
    --------------------------------------------------------------*/
    .splurbs{
        height: auto;
        padding-bottom: 20px;
    }

    .splurbs [class*='col-']{
        padding-right: 0;
        float: left;
        width: 50%;
    }

    .splurbs a{

    }

    .splurbs .content{
        padding: 10px 20px;
    }

    .splurbs .content:hover{
        padding: 10px 20px;
        margin-top: 0px;
    }

    .sectionWrap .right{
        min-height: auto;
        padding: 25px 0 0 50px;
    }

    .footer .right{
        padding: 20px 0 0 20px;
    }

	
} /* END 1024px query */

@media screen and (min-width: 600px) and (max-width: 768px) {

    .avatarImage{
        height: 500px!important;
    }

}