/* Call me back form */
#gform_wrapper_1 {margin:0 !important;}
#gform_1 .gfield label {display: none}
#gform_1 .gfield {padding:0; margin:0;}
#gform_1 .gfield div {padding:0; margin:0;}
#gform_1 #field_1_5 {width:100%;}
#gform_1 #field_1_3 {width:48.5%; margin-right:3%; float:left;}
#gform_1 #field_1_4 {width:48.5%; clear:none; float:left;}
#gform_1 .gform_body input,
#gform_1 .gform_body select {width:100%;}
#gform_1 .gform_footer {padding-top:0;}
#gform_1 .validation_error {display: none;}
#gform_1 .gfield_error {background:none; border:none;}
#gform_1 .validation_message {color:#ec9c9c}
#gform_1 li.gfield_error input {border-color:#ec9c9c}


/* Contact Form */
#gform_2 .gfield label {display: none}
#gform_2 .gfield {padding:0; margin:0;}
#gform_2 .gfield div {padding:0; margin:0;}
#gform_2 #field_2_1 {width:48.5%; margin-right:3%; float:left;}
#gform_2 #field_2_2 {width:48.5%; clear:none; float:left;}
#gform_2 .gform_body input,
#gform_2 .gform_body select {width:100%;}
#gform_2 .gform_footer {padding-top:0;}
#gform_2 .validation_error {display: none;}
#gform_2 .gfield_error {background:none; border:none; max-width:100% !important;}
#gform_2 .validation_message {color:#ec9c9c}
#gform_2 li.gfield_error input {border-color:#ec9c9c}

/* General Gravity Forms */

.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {padding:5px 10px !important; }


/* Pagination */

.themesflat-pagination{ margin-top: 50px; min-height: 34px; }
.themesflat-pagination .page-numbers-wrap{ margin: 0; }
.themesflat-pagination .page-numbers-wrap a,
.themesflat-pagination .page-numbers-wrap span.current { display: inline-block; text-align: center; padding: 0; margin-right: 3px; font-family: "Montserrat"; font-size: 13px; font-weight: 600; min-width: 34px; }
.themesflat-pagination .page-numbers-wrap a,
.themesflat-pagination .page-numbers-wrap span.current { display: inline-block; line-height: 29px; width: 30px; height: 30px; text-align: center; background-color: transparent; border: 1px solid #e0e0e0; color: #777; -webkit-transition: all 0.3s ease-in-out; -moz-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out;  }
.themesflat-pagination .page-numbers-wrap span.current  { background-color: #00abc9; color: #fff; border-color: #00abc9; -ms-transform: scale(1.1); -webkit-transform: scale(1.1); transform: scale(1.1); }

.project-nav .themesflat-pagination,
.woocommerce-pagination { text-align: center; }

/* Other stuff */

.footer-buttons a {display: block; text-align: center; margin-bottom: 20px;}

.featured-title-heading a, .featured-title-heading span.sep {display: none;}

.gallery-box.team-member-gallery-box .hover-effect .icon a.zoom-popup {width:auto; padding:0 10px; font-size:16px;}
.counter-section .icon-wrap {margin-bottom: 20px;}

.wp-caption {width:100% !important}

.parallax-overlay .bg-parallax-overlay.overlay-black {background-color: #132837;}

.custom-button a.color-red {background-color: #860038}
.custom-button a.color-red:hover {background-color: #294E6A}
.custom-button a.color-red:hover span {color:#fff;}

.custom-button a.color-white {background-color: #FFFFF0; }
.custom-button a.color-white span {color:#333;}
.custom-button a.color-white:hover {background-color: #860038}
.custom-button a.color-white:hover span {color:#fff;}

.custom-button a.color-medium-blue {background-color: #294E6A}
.custom-button a.color-medium-blue:hover {background-color: #860038}
.custom-button a.color-medium-blue:hover span {color:#fff;}

.custom-button a.color-dark-blue {background-color: #132837}
.custom-button a.color-dark-blue:hover {background-color: #860038}
.custom-button a.color-dark-blue:hover span {color:#fff;}

#top-bar {background-color: rgba(255,255,255,0.9);}
#top-bar, #top-bar a {color:#860038;}

.team-member-name-zoom {width:auto !important; padding:0 10px;}



/***** Media Queries *****/
@media screen and (max-width: 1500px){
    a.main-logo img {max-width:140px;}
}


@media screen and (max-width: 1200px){
    a.main-logo img {max-width:130px;}
    #site-header-inner {padding-top:15px !important; padding-bottom:15px !important;}
}

@media screen and (max-width: 767px){
    a.main-logo img {max-width:100px !important;}
    #site-header-inner {padding-top:6px !important; padding-bottom:6px !important;}
}