/* =============================================
-----------------  16.Contact Us  -------------
==============================================*/

#map { height:360px; margin-bottom:40px; }

#map.map3 { margin:30px 0 50px; }

#map.map4 { border:6px solid rgba(255, 255, 255, 0.95); }

.contact-list { margin-bottom: 30px; }

.contact-list li { margin-bottom:5px; }

#contact-section { padding:60px 0 50px; margin-bottom:60px; }

#contact-section.contact-bg { background-image: url('../images/backgrounds/contactbg.jpg'); background-repeat: no-repeat; -webkit-background-size: cover; background-size: cover; background-position: center center; }

@media (min-width: 768px) { #map { height:500px; margin-bottom: 50px; }

    #map.map2 { 
        height:600px; }

/*    #map.map3 { margin:50px 0 60px; }*/
    #map.map3 { margin:50px 0 0px; }

    #map.larger { height:700px; }

    #map.larger.vertical { margin-bottom:0; height:600px; }

    .contact-list { margin-bottom: 40px; }

    #contact-bg { padding:100px 0 90px; }
}

@media (min-width: 992px) { #map.map2 { margin-bottom:60px; }
}

/* Partners Carousel */
.our-partners a { display:block; transition: all 0.4s ease; -webkit-transition: all 0.4s ease; position: relative; opacity:0.8; border:2px solid transparent; }

.our-partners a:hover { opacity:1; border-color:#eaeaea; }

.our-partners img { display:block; width:auto; height: auto; }

.partner { text-align: center; }

.partner img { display:inline-block !important; max-width: 100% !important; width:auto !important; height: auto; vertical-align: middle; }

.partner img { transition: all 0.4s ease; -webkit-transition: all 0.4s ease; -webkit-filter: grayscale(100%); -moz-filter: grayscale(100%); -ms-filter: grayscale(100%); -o-filter: grayscale(100%); filter: grayscale(100%); }

.partner:hover img { -webkit-filter: grayscale(0%); -moz-filter: grayscale(0%); -ms-filter: grayscale(0%); -o-filter: grayscale(0%); filter: grayscale(0%); }

.partner-wrapper .partner { min-height: 64px; }

.partner  + .partner { margin-top:30px; }

.form-box-container { position: relative; margin-bottom:40px; }

label.error { font-weight: 400; color:#ca1515; margin-top:5px; transition: all 0.4s; -webkit-transition: all 0.4s; }

#footer label.error  { font-size:12px; }

.form-control.error { border-color:#ca1515; }

@media (min-width: 768px) { .form-box-container { margin-bottom:100px; }

    .form-box { position: absolute; width:460px; top:-640px; right:15px; padding:30px 20px 10px; z-index:100; background-color: #fff; box-shadow:0 2px 9px rgba(0,0,0, 0.14); -wekbit-box-shadow:0 2px 9px rgba(0,0,0, 0.14); }

    .form-box.dark { background-color: #2a2a2a; }

    .form-box.dark > h2 { color:#c7c7c7; }

    .form-box.dark .form-control { background-color: #505050; border-color:#1a1a1a; color:#c7c7c7; }

    .form-box.dark label.input-desc { color:#b9b9b9; }

    .form-box.dark .form-control::-moz-placeholder { color: #c7c7c7; }

    .form-box.dark .form-control:-ms-input-placeholder { color: #c7c7c7; }

    .form-box.dark .form-control::-webkit-input-placeholder { color: #c7c7c7; }

    .contact-text { margin-top:-70px; }
}


@media (min-width: 992px) { .form-box { width:540px; }
}