/* 

Puzzle Template

http://www.templatemo.com/tm-477-puzzle 

*/

a,
a:hover,
a:focus {
    text-decoration: none;
}
a:focus {
    outline: none;
}
body{
    margin:0;
    padding:0;
    background-image:url(../images/back.jpg);
    background-repeat:repeat;
    /*background-size:cover;*/
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight:500;
}
.row {
    margin-right: 0px;
    margin-left: 0px;
}
p {
    margin: 0 0 20px;
}
.tm-image {
    width: 100%;
    /*height: 100%;*/
}


.fixed-header{
    width:100%;
    float:left;
    background: rgba(55,55,45,0.75);
    background: -moz-linear-gradient(top, rgba(55,55,45,0.75) 0%, rgba(55,55,45,0.38) 50%, rgba(55,55,45,0.38) 50%, rgba(55,55,45,0) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(55,55,45,0.75)), color-stop(50%, rgba(55,55,45,0.38)), color-stop(50%, rgba(55,55,45,0.38)), color-stop(100%, rgba(55,55,45,0)));
    background: -webkit-linear-gradient(top, rgba(55,55,45,0.75) 0%, rgba(55,55,45,0.38) 50%, rgba(55,55,45,0.38) 50%, rgba(55,55,45,0) 100%);
    background: -o-linear-gradient(top, rgba(55,55,45,0.75) 0%, rgba(55,55,45,0.38) 50%, rgba(55,55,45,0.38) 50%, rgba(55,55,45,0) 100%);
    background: -ms-linear-gradient(top, rgba(55,55,45,0.75) 0%, rgba(55,55,45,0.38) 50%, rgba(55,55,45,0.38) 50%, rgba(55,55,45,0) 100%);
    background: linear-gradient(to bottom, rgba(55,55,45,0.75) 0%, rgba(55,55,45,0.38) 50%, rgba(55,55,45,0.38) 50%, rgba(55,55,45,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#37372d', endColorstr='#37372d', GradientType=0 );
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#37372d', endColorstr='#37372d', GradientType=0 );
    position:fixed;
    top:0;
    z-index:111;
    transition:all 0.4s;
    -webkit-transition:all 0.4s;
    padding: 0px;
}

.container {
    padding-right: 5px;
    padding-left: 5px;
}

.navbar-toggle {
    position: absolute;
    top: 8px;
    right: 17px;
    margin: 0;
    z-index: 99999999;
    color: #fff;
    padding: 10px 10px;
    background-color: #006699;
    border: none;
    font-weight: bold;
    display:none;
}

.container>.navbar-header {
    min-height:85px;
    float:left;
    width:30%;
    position: relative;
    
}

.navbar-brand {
    color: #fff;
    font-weight:300;
    font-size: 38px;
    display: none;
    cursor: default;
    padding: 2px 2px;
}

.navbar-brand > img {
    width: 70%; 
}


}
.navbar-logo {
    float:left;
    cursor: default;
    position: relative;
    top: 5px;
}




.navbar-brand:hover,
.navbar-brand:focus {
    color: #93FAFF;
}
.fixed-header ul{
    padding:0;
    float:right;
    margin:0;
    width: 70%;
    text-align: right;
}
.fixed-header ul li{
    display:inline-block;
    padding: 35px 0px;
}
.fixed-header ul li a{
    text-decoration:none;
    color:#fff;
    font-size: 20px;
    font-weight: 600;
    padding: 10px 10px; 
    text-shadow: 2px 3px 8px rgba(0,0 ,0 ,1);   
}
.fixed-header ul li a:hover,
.fixed-header ul li .current{
    
    border-top: 2px solid #ccc;
    border-bottom: 2px solid #ccc;
    text-shadow: 0px 0px 10px rgba(255, 255 ,255 ,0.9)
}



.fixed-header {
    /*background: transparent;*/
    padding-top: 20px;
    
}
.fixed-header.scroll {
    background-color: rgba(55,55,45,0.75);

    box-shadow: 0 0 12px 8px rgba(0,0,0,0.75);
    padding: 0;
}

.fixed-header.scroll ul li{
    
    padding: 28px 0px;
}

.fixed-header.scroll ul li a:hover,
.fixed-header.scroll ul li .current{
    
    border-top: none;
    border-bottom: none;
    text-shadow: 0px 0px 10px rgba(255, 255 ,255 ,0.9)
}

.fixed-header.scroll ul {
    position: relative;
    
}

.fixed-header.scroll .navbar-brand {
    font-size: 30px;
    display: block;
}

.fixed-header.scroll .navbar-logo {
    display: none;
}

#home {
    padding-top: 8.5em;
}

.menuphone {
    color: #fff;
    font-size: 20px;
    margin-left: 10px;
    text-shadow: 2px 3px 8px rgba(0,0 ,0 ,1);
    font-weight: 600;
}

.content {
    padding-right: 0px;
    padding-left: 0px;
}
.content-item {
    padding-right: 0px;
    padding-left: 0px;
    min-height:580px !important;
    background-color: rgba(255,255,255,0.75) !important;
    box-shadow: 0px 0px 25px 5px rgba(0,0,0,0.6);
    text-shadow: 2px 2px 2px rgba(0,0,0,0.2);
}


.content-item p:last-child {
    margin-bottom: 0;
}
.background.content-item-1 {
    padding: 55px 65px;

}
.last {
    padding-right: 0px;
    padding-left: 0px;
    min-height:277px !important;
    background-color: rgba(255,255,255,0.6) !important;
    box-shadow: 0px 0px 25px 5px rgba(0,0,0,0.6);
    text-shadow: 2px 2px 2px rgba(0,0,0,0.2);    
}
.background {
    background-color: #fff;
    padding: 30px 25px 30px 25px;
}

.background_footer {
    background-color: #fff;
    padding: 15px 10px 15px 10px;
}

.footer-title {
    margin: 0 0 10px 0;
}

.footer-text {
    margin: 0 0 8px 0;
}

.about-text-container {
    font-style: italic;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
}
.about-text {
    margin-bottom: 0;
    line-height: 1.6;
}
.main-title {    
    font-weight: 300;
    font-size: 34px;
    line-height: 1.4;
    margin-top: 0px;
    margin-bottom: 10px;
}
.section-title {
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 25px;
}
.dark-blue-text {
    color: #006699;
}

.light-blue-text {
    color: #2FACFF;
}

.dark-blue-bordered-btn:hover,
.dark-blue-bordered-btn:focus,
.dark-blue-btn {
    background: #006699;
    color: white;    
}
.dark-blue-btn:hover,
.dark-blue-btn:focus,
.dark-blue-bordered-btn {
    background: none;
    border: 1px solid #006699;
    color: #006699;
}

.dark-red-text {
    color: #990000;
}

.light-red-text {
    color: #FF6666;
}

.section-text {
    line-height: 1.6;
    font-size: 1em;
    margin-bottom: 15px;
}
.background ul {
   margin-bottom:00px;
}
.background li {
    list-style: square;
    font-size: 16px;
    line-height: 27px;
}
.btn {
    border-radius:0px;
    padding: 10px 25px;
    margin-top: 20px;
    font-size: 20px;
    font-weight: 300;
    margin-right: 15px;
    transition:all 0.3s;
    -webkit-transition:all 0.3s;
}
.btn:last-child {
    /*margin-right: 0;*/
}
.btn-big {
    padding: 10px 10px;
    
}
.btn-contact {
    font-size: 20px;
    width: 100%;
    padding: 10px 0;
    color: #807D7D;
    font-weight: 300;
    margin-top: 10px;
    transition: all 0.3s ease;
}
.btn-contact:hover,
.btn-contact:focus {
    color: white;
    background-color: rgba(47,47,47,0.5);
}

.btn-bg {
    background: rgba(171,171,171, 0.75);
    color: #333;
}

.no-bg {
    background: none;
    border: 1px solid #aaa;
}
.yellow-btn {
    background:#ACA633;
    border:1px solid #ACA633;
    color:#fff;
}
.yellow-btn:hover,
.yellow-btn:focus {
    background: none;
    color: #ACA633;
}
.green-btn {
    background:#168887;
    border:1px solid #168887;
    color:#fff; 
}
.green-btn:hover,
.green-btn:focus {
    background: none;
    color: #168887;
}
.normal-btn {
    font-size: 16px;
    font-weight: 300;
    min-width: 145px;
}

#links {
    width: 100%;
    float: left;
}

#links a img {
    width: 33.333%;
    float: left;
}

.hideimg {
    display: none;
}

.form-control {
    box-shadow: none;
    font-size: 16px;
    height: auto;
    padding: 8px 12px;
}
.form-group {
    margin-bottom: 12px;
}
.contact-form {
    overflow: hidden;
    margin-left: -15px;
    margin-right: -15px;
}
.content-item input, .content-item textarea {
    border-radius:0px;
}

li {
    list-style: square;
}
.contact-field {
    padding-left: 0;
    padding-right: 0;
}
.footer {
    color:#fff;
    font-size: 14px;
    font-weight: 400;
    padding:48px 0;
}
.footer a {
	color: #FF6;
}
.margin-b-0 {
    margin-bottom: 0;
}
.flexbox {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
}
.pad-l-3 {
    padding-left: 3px;
}
.margin-b-25 {
    margin-bottom: 25px;
}

@media screen and (max-width:1199px){

    .btn {
        /*margin-top: 0px;*/
        padding: 5px 10px;
    }

    #home div:nth-child(2) h1 { margin-top: 55px; }

    .content-item {
        min-height: 481px !important;
    }
    .content-item img {
        /*min-height: 470px !important;*/
    }
    .background p {
        line-height: 22px;        
    }
    .background p,
    .background li {
        font-size: 14px;
        line-height: 18px;
    }
    .background h2 {
        margin-bottom: 15px !important;
    }
    p {
        margin: 0 0 10px;
    }
    .background {
        background-color: #fff;        
    }
    .last {
        min-height: 228px !important;
    }
    textarea#message {
        height: 125px;
    }
}

@media screen and (max-width: 1199px) and (min-width: 992px) {
    .background {
        padding: 35px 25px;
    }
    .background.content-item-1 {
        padding: 0 40px;
    }
    .btn-contact {
        /*margin-top: 0;*/
    }
    .form-control {
        font-size: 0.9em;
    }
}

@media screen and (max-width:991px){
    
    .background.content-item-1 {padding: 35px 45px;}

    #home div:first-child {height: 175px;}
    #home div:nth-child(2) {height: auto; }   
    #home div:nth-child(2) h1 { margin-top: 0; }

    #services div:first-child {height: 175px;}
    #services div:nth-child(2) {height: auto; }

    #clients div:first-child {height: 175px;}
    #clients div:nth-child(2) {height: auto; }

    #contact form div {height: auto !important;}
    #contact div:first-child {height: 175px;}
    #contact div:nth-child(2) {height: auto; }


    /*#externals div:first-child {height: 175px;}*/
    #externals div:nth-child(2) {height: auto; }



    .content-item {
        min-height: inherit !important;
    }
    .content-item img {
        min-height: inherit !important;
        height: auto;
    }
    .fixed-header ul li a {
        font-size: 16px;
        padding: 0px 10px;
    }
    .menuphone {
        font-size: 16px;
    }
    .background p {
        line-height: 27px;
    }
    
    .background h2 {
        margin-bottom: 20px;
    }
    p {
        margin: 0 0 20px;
    }
    .btn {
        margin-top: 20px;        
    }
    .last {
        min-height: 284px !important;
    }
    textarea#message {
        height: inherit;
    }

    
}

@media screen and (max-width:767px){

    #home div:first-child {height: 250px;}

    #services div:first-child {height: 250px; overflow: hidden;}

    #clients div:first-child {height: 310px; overflow: hidden;}

    #contact div:first-child {height: 250px; overflow: hidden;}

    /*#externals div:first-child {height: 250px; overflow: hidden;}*/

    .btn {padding: 5px 10px;}

    .background {padding: 35px 25px; }
    
    .navbar-brand>img {
        width: 60%;
    }

    .container>.navbar-header {
        width: 100%;
        bottom: 0;
    }

    .container {width: 480px;}

    .navbar-logo img {
        width: 170px;
        padding: 0px 40px;
    }

    .fixed-header {
        background: rgba(55,55,45,0.75);
        box-shadow: 0px 0px 7px 8px rgba(0,0,0,0.75);
    }



    .last {
        min-height: inherit !important;
    }
    .fixed-header.scroll .navbar-brand {
        padding: 12px 15px 0;
    }

    .fixed-header.scroll ul li {
        padding: 5px 0;
        border-radius: 5px;
        width: 48% !important;
        box-shadow: 2px 2px 2px 2px rgba(0,0,0,0.35);
    }

    .fixed-header.scroll ul li:hover {
        box-shadow: 1px 1px 1px 1px rgba(0,0,0,0.35) inset;
    }

    .fixed-header.scroll ul li .current {
        box-shadow: 1px 1px 1px 1px rgba(0,0,0,0.35) i;
    }


    .navbar-toggle {
        display:block;
        top: 20px;
        width: 40px;
        height: 40px;
        background-color: white; 
        box-shadow: 0px 5px 6px 2px rgba(0,0,0,0.6);
    }
    
    .navbar-toggle .icon-bar {
        background-color: #006699;
        width: 20px;
        height: 3px;
    }
    
    .fixed-header ul li a:hover, 
    .fixed-header ul li .current {
        border-top: none;
    }
    .fixed-header {
        padding: 0;
    }
    .fixed-header ul li a {
        font-size: 1em;
    }
    .main-menu ul {
        width: 100%;
        border-top: 5px solid rgba(0,0,0,0.35);
        text-align: center;
        
    }
    .main-menu {
        max-height: 0;
        transition: max-height 0.3s;
        overflow: hidden;
        width: 100%;
    }
    /* http://css3.bradshawenterprises.com/animating_height/ */
    .main-menu.show {
        max-height: 300px;
        /*overflow: aut0;*/
        width: 100%;
    }
    .main-menu ul li {
    	padding: 0;
        display: inline-block;
    	width: 46%;
    	float: left;
    	margin: 1%;
    	background-color: #ccc;
        border-radius: 20px;
    }
    
    .main-menu ul li:last-child {
        float: none;
        text-align:center;    	
    }

    .main-menu ul li a {
        padding: 5px 10px;
        width: 100%;
        float: left;
    }
    #home {
        padding-top: 90px;
    }

    .pad-l-3 {
        padding-left: 15px;
    }

    .menuphone {
        display: none !important;
    }

    .mob_img { position: relative; bottom: 135px; }
    .swiper-slide .mob_img { position: relative; bottom: 0px; }
}

@media screen and (max-width:500px) {

    .fixed-header.scroll ul li {
        width: 31%;
    }

    .fixed-header.scroll ul li:nth-child(2) {
        width: 32%;
    }

    .fixed-header.scroll ul li:nth-child(4) {
        width: 48%;
    }    

    .fixed-header.scroll ul li:nth-child(5) {
        width: 48%;
    }
    .btn {
        margin-top: 10px;
        padding: 5px;
    }
    .container {width: inherit;}

    .mob_img { bottom: 45px; }

}

@media screen and (max-width: 480px) {
    .background.content-item-1 {
        padding: 40px 45px;
    }
}

@media screen and (max-width: 420px) {
    .background {
        padding: 40px 35px;
    }
    .background.content-item-1 {
        padding: 20px 25px;
    }
}

