#header {
  padding-top: 34px;
}

#header.navbar.navbar-fixed-top.header_animate {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

#header .site-title > a, .site-description {
    color: #005b94;
    font-family: times new roman,times,serif;
    font-style: italic;
    font-weight: bold;
}

.home header .title-area .site-title, .home header .title-area .site-title::after, .site-title {
    line-height: 29px;
    margin: 0 !important;
}

#header .site-title > a {
    font-size: 28px;
    text-transform: uppercase;
}

.site-header.header_animate .site-title  {
  line-height: 70px !important;
}
.site-description {
    display: block;
    font-size: 20px;
    letter-spacing: 0.05em;
    line-height: 1.25;
    margin: 0;
    padding: 0;
    text-align: left;
}
.site-header.header_animate .site-description {
    display: none;
}
/* Section Styling for Home Page ----------- */

.home header h1::after, .fullwidth_slider .carousel-caption h1::after { margin: 15px auto 20px !important; }

#section1 {
    padding-bottom: 0;
}

#section1 .row {
    margin-left: 0;
    margin-right: 0;
}

#section1 > br, #section1 > p, #section1 .col-md-6 > p {
    display: none;
}

#section1 .col-md-6 {
padding: 0;
}

#section2 .content_wrapper.container {
  padding: 14px 0 !important;
}

.displaybox, .displaybox > p {
    background: #215F86;
}

.displaybox {
    border: 1px solid #fff;
    height: auto;
    position: relative;
    width: 100%;
}

.displaybox:hover, .displaybox:hover img {
  cursor: pointer;
  -webkit-filter: initial;
  filter: initial;
}

.displaybox:hover img {
    opacity: 1;
     transition: all 0.1s;
}
.displaybox img:hover {
    opacity: 1;
}

.displaybox img {
    margin: 0 !important;
    opacity: 0.5;
    -webkit-filter: blur(2px) brightness(0.7) grayscale(1.0);
    filter: blur(2px) brightness(0.7) grayscale(1.0);
    transition: all 0.1s;
}

.displaybox > p {
    height: 100%;
    margin: 0;
    opacity: 0.3;
    padding: 0;
    position: absolute;
    top: 0;
    width: 100%;
   display: none;
}

.displaybox > p:hover {
    background: transparent;
}

.top-left, .top-right, .bottom-left, .bottom-right {
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    line-height: 1em;
    max-width: 70%;
    position: absolute;
    text-shadow: -2px 1px 2px #000;
}
.top-left, .top-right { bottom: 0.5em; }
.bottom-left, .bottom-right { top: 0.5em; }
.top-left, .bottom-left { right: 0.5em; text-align: right; }
.top-right, .bottom-right { left: 0.5em; text-align: left;  }

/* Footer Widgets for Sample Theme v1.9.2 ----------- */

.footer-widgets .widgettitle {
    margin-top: 0;
    padding-bottom: 0;
    position: relative;
    color: #bdcbd6;
}
.footer-widgets, .site-footer.bottom-menu {
    background: #2E4F67;
    color: #fff;
    display: block;
    float: left;
    padding: 2% 0;
    text-align: center;
    width: 100%;
}
.footer-widgets .wrap {
    margin: 0 auto;
    max-width: 1170px;
}
.footer-widgets-1, .footer-widgets-2, .footer-widgets-3 {
    display: inline-block;
    float: none;
    max-width: 585px;
    text-align: left;
    width: 50%;
}
.footer-widgets-3 {
    margin-right: 0;
}
.footer-widgets .widget {
    padding: 0 35px;
}
.footer-widgets-2 .widget {
    border-left: 1px solid rgba(255, 255, 255, 0.33);
    padding: 0 60px;
}
.footer-widgets ul {
    list-style: outside none none;
    padding: 0;
}
.footer-widgets .widget-area ul li a {
    border: medium none;
    overflow: auto;
    padding-right: 0;
    transition: all 0.3s ease 0s;
    color: #fff;
}
.footer-widgets .widget-area ul li a:hover {
    border: medium none;
    padding-left: 5px;
    transition: all 0.3s ease 0s;
    color: #bdcbd6;
}
.footer-widgets .widget_recent_entries ul li::before, .footer-widgets .widget_categories ul li::before {
    color: inherit;
    content: "";
    font-family: "Fontawesome";
    padding-right: 5px;
}

.bottom-icons {
    text-align: right;
}

.bottom-icons a {
    padding-left: 0.5em;
}

.fa {
  font-size: 1.3em;
  opacity: 0.6;
}

.fa:hover {
  opacity: 1;
}

/* Page Styling ----------- */

.hide-title .entry-header {
    display: none;
}
.hide-title .entry-content {
    margin-top: -30px !important;
}

.page .entry-header p.lead {
    display: none;
    margin-bottom: 12px;
    padding: 0 0 24px;
}

.center {
    text-align: center !important;
}

.full-width-content h2.entry-title {
    margin-top: 50px;
}

.site-inner {
    padding: 150px 0 50px;
}

.full-width-content .entry-content {
    margin-top: 30px;
    text-align: left;
}

p {
    font-size: 18px;
    line-height: 1.5em;
    margin: 0 0 12px;
    padding: 0 0 12px;
}

.indent-block {
    padding-left: 2em;
}

/* Team Section Page Styling ----------- */

.thumbnail .caption {
    padding: 0;
}

.caption > h4 {
    font-size: 26px;
}

.caption > p {
    font-size: 17px;
    line-height: 1.4em;
    text-align: left;
}

.team_section .col-md-4.col-sm-6.col-xs-12 {
    padding: 0 4%;
}

.full-width-content h2.entry-title {
    margin-top: 40px;
}

.testimonial_section.section, .client_carousel.section, .contact_section.section, .blog_section.section, .services_section.section, .blog_section section, .portfolio_section.section, .pricing_section.section, .info_slider_section.section, .content_wrapper.container, .info_video_section.section, .info_image_section.section, .team_section.section {
    padding: 30px 0;
}

/* Button (extra) Styling and Form Stuff----------- */

.btn.center.block {
    display: block;
    float: none;
    margin: 12px auto;
    max-width: 75%;
    min-width: auto;
}

.btn.btn-default:hover, .btn.btn-default:focus, .btn-group:focus .btn.btn-default.dropdown-toggle, button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, .button:hover, .entry-content .button:hover  {
    background-color: #2a6496;
    border-color: #000;
    color: #fff;
}

input, select, textarea {
    border: 1px solid #ccc;
    padding: 7px 12px;
}

input:focus, textarea:focus {
    background: #eee none repeat scroll 0 0;
    border-color: #2980b9;
    outline: medium none;
}

.current-menu-item > a, .current-menu-parent > a, .current_page_parent > a {
    color: #a9bcca !important;
}

/* Sidebar Form styling ----------- */

#text-5.widget.widget_text {
    background: #eee none repeat scroll 0 0;
    border-top: 4px solid #ddd;
    padding: 0 16px;
    max-width: 500px;
}

#text-5 .widget-title.widgettitle {
    font-size: 25px;
}

.sidebar .wpcf7-form > p {
    font-size: 15px;
    margin-bottom: 5px;
    padding-bottom: 5px;
}

.sidebar .wpcf7-form > p input, .sidebar .wpcf7-form > p select, .sidebar .wpcf7-form > p textarea {
    background: #fff none repeat scroll 0 0;
    border: 1px solid #ccc;
    padding: 4px 12px;
}

.sidebar .wpcf7-form > p textarea {
    height: 120px;
}

/* Sidebar Nav styling ----------- */

.sidebar .menu .menu-item > a {
    display: block;
    line-height: 2;
}

.sidebar .menu .menu-item > a:hover {
    text-indent: 0.5em;
}

/* Responsive Nav Plugin styling ----------- */

.responsive-menu ul.sub-menu {
    padding-left: 0;
}

body #responsive-menu {
    max-width: 300px;
}

body #click-menu {
    border-radius: 4px;
    box-shadow: -1px 1px 8px 1px #ddd;
    padding: 8px 5px 2px;
}
.cta-button a {
color:#fff!important;
background: #005b94;
padding: 20px 20px!important;
border-radius:5px;
border:2px solid #005b94;
}
.cta-button a:hover {
color:#005b94!important;
border:2px solid #005b94;
}

.nf-form-content input:not([type=button]) {
height:35px!important;
}
.nf-form-content input[type=submit] {
line-height:10px;
}
.nf-error.field-wrap .nf-field-element:after {
height:34px!important;
line-height: 35px!important;
}

#ninja_forms_required_items, .nf-field-container {
margin-bottom:15px!important;
}
/* ###########################################################
------------------------------------- MEDIA QUERIES -------------------------------- */

@media only screen and (max-width: 1024px)  {

#header { padding-top: 25px; }
.site-header.navbar.navbar-fixed-top { position: relative !important; }
.top-left, .top-right, .bottom-left, .bottom-right { font-size: 32px; max-width: 92%; }
.home .site-inner { margin: 25px 0 0; }
.site-inner { padding: 50px 0; }
#click-menu #RMX.threeLines { font-size: 80px; }
body #responsive-menu #responsive-menu-title, body #rm-additional-content { display: none; }
button#responsive-menu-button { background-color: rgba(255,255,255,0.8) !important; }
.responsive-menu-label.responsive-menu-label-bottom { color: #ddd !important; display: none !important; }

}


@media only screen and (max-width: 991px)  {

.container { max-width: 95%; }
.column_wrapper > div { margin-bottom: 0; }
.section_wrapper header { padding-top: 0; }
.site-footer.bottom-menu .col-md-6 { float: left; width: 50%; margin: 0; }
.team_section.section .container { max-width: 100%; padding: 0; }
.col-md-3.col-sm-6.col-xs-12 { float: left; width: 25%; }

}


@media only screen and (max-width: 767px)  {

.site-inner { padding: 25px 0; }
#section1 .col-md-6{ float: left; width: 50%; }
.top-left, .top-right, .bottom-left, .bottom-right { font-size: 24px; }
.footer-widgets .widget, .footer-widgets-2 .widget { padding: 0 30px; }
.entry-title, h1, .h1 { font-size: 38px; }
h2, .h2 { font-size: 34px; }
h3, .h3 { font-size: 30px; }
h4, .h4 { font-size: 27px; }
.team_section .col-md-4.col-sm-6.col-xs-12 { float: left; width: 50%; }

}


@media only screen and (max-width: 640px)  {

.displaybox br { display: none; }
.top-left, .top-right, .bottom-left, .bottom-right {
    font-size: 24px;
    text-align: center;
    margin: 0 auto;
    top: 20%;
    bottom: auto;
    left: 0;
    right: 0;
}

}



@media only screen and (max-width: 550px)  {

#header { padding-top: 12px; padding-right: 45px; }
.site-description { font-size: 16px; }
.home header .title-area .site-title, .home header .title-area .site-title::after, .site-title, .site-header.header_animate .site-title {
    line-height: 0.8em !important; text-align: left; }
#header .site-title > a { font-size: 24px; }
body #click-menu { right: 10px; top: 10px; }
.footer-widgets-1, .footer-widgets-2, .footer-widgets-3 { margin: 13px 0; width: 100%; }
.footer-widgets-2 .widget { border:  none; }

}


@media only screen and (max-width: 500px)  {

.home #section1 {  background-color: transparent; }
#section1 .col-md-6 { width: 100%; }
.displaybox {
    border: none;
    border-radius: 12px;
    box-shadow: 0 -9px 14px -7px #000 inset, 0 3px 7px 0 #fff inset;
    display: table;
    height: auto;
    margin: 5px auto;
    overflow: hidden;
    position: relative;
    text-align: center;
    vertical-align: middle;
    width: 92%;
}
.displaybox br, .displaybox img { display: none; }

.top-left, .top-right, .bottom-left, .bottom-right {
    display: block;
    font-size: 20px;
    margin: 0 auto;
    padding: 15px;
    position: static;
    text-align: center;
}
.team_section .col-md-4.col-sm-6.col-xs-12 { float: left; width: 100%; }

.archive-pagination.pagination { float: left; }

}


@media only screen and (max-width: 400px)  {

.site-footer.bottom-menu .col-md-6 { padding: 0 4px 24px; width: 100%; }
.site-footer .creds p { font-size: 15px; }
.bottom-icons { text-align: center; word-spacing: 0.4em; }
body #responsive-menu { width: 80%; }

}
