@font-face {
    font-family: 'assistantlight';
    src: url('../fonts/assistant-light-webfont.woff2') format('woff2'),
         url('../fonts/assistant-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'assistantregular';
    src: url('../fonts/assistant-regular-webfont.woff2') format('woff2'),
         url('../fonts/assistant-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'assistantsemibold';
    src: url('../fonts/assistant-semibold-webfont.woff2') format('woff2'),
         url('../fonts/assistant-semibold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/*--------------------------------------*/
/* GLOBAL
/*--------------------------------------*/
body, a, .dropdown-menu {
    /*-webkit-font-smoothing:antialiased;*/
    /*-moz-osx-font-smoothing: grayscale;*/
    font-family: 'Arial';
    font-size: 16px;
    line-height: 25px;
}
.container-fluid {
    max-width: 1200px;
}
.transition {
    -webkit-transition: all 0.25s ease 0s;
    transition: all 0.25s ease 0s;
}
.padded_section {
    padding-top: 80px;
    padding-bottom: 80px;
}


@media (max-width: 767px) { /* XS and down */
    .padded_section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

/*--------------------------------------*/
/* HEADER
/*--------------------------------------*/
.navbar-brand {
    display: block;
    width: 300px;
    height: auto;
    padding-top: 0;
    padding-bottom: 0;
    line-height: normal;
}
.caret {
    display: none;
}
.navbar-nav > li > a {
    color: #000;
    font-size: 14px;
    font-weight: bold;
    font-family: 'Open Sans', sans-serif;
}
.dropdown-menu li > a {
    color: #fff;
    font-size: 14px;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-transition: all 0.25s ease 0s;
    transition: all 0.25s ease 0s;
}
.no-touch .dropdown-menu li > a:hover,
.dropdown-menu li.current-menu-item > a,
.dropdown-menu li.current-page-item > a {
    color: #d18783;
    -webkit-transition: all 0.25s ease 0s;
    transition: all 0.25s ease 0s;
}
.navbar-collapse {
    border-width: 0;
}

@media (min-width: 768px) { /* SM MD LG and up */
    #mobile_menu_underlay {
        display: none !important;
    }
    .navbar {
        height:70px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: end;
            -ms-flex-align: end;
                align-items: flex-end;
        /*padding-bottom: 30px;*/
        clear: both;

    }
    .navbar > .container-fluid {
        width: 100%;
        /*display: -webkit-box;*/
        display: -ms-flexbox;
        /*display: flex;*/
        -webkit-box-align: end;
            -ms-flex-align: end;
                align-items: flex-end;
    }
    .dropdown-menu .container-fluid {
        margin-left: auto;
        margin-right: auto;
        padding: 0 15px;
    }
    .navbar-header {
        -ms-flex-negative: 0;
            flex-shrink: 0;
    }
    .navbar-nav > li > a:before {
        display:block;
        content: '';
        border-bottom: solid 2px transparent;
        -webkit-transform: scaleX(0);
                transform: scaleX(0);
        -webkit-transition: -webkit-transform 250ms ease-in-out;
        transition: -webkit-transform 250ms ease-in-out;
        transition: transform 250ms ease-in-out;
        transition: transform 250ms ease-in-out, -webkit-transform 250ms ease-in-out;
        margin-bottom: 5px;
        visibility: hidden;
    }
    
    .no-touch .navbar-nav > li > a:hover:before,.navbar-nav li a.action:before,
    .navbar-nav > li.current_page_item > a:before,
    .navbar-nav > li.current_page_ancestor > a:before,
    .navbar-nav > li.current_menu_item > a:before,
    .navbar-nav > li.current_menu_ancestor > a:before,
    .navbar-nav > li.dropdown.open > a:before {
        border-bottom-color: #d18783;
        -webkit-transform: scaleX(1);
                transform: scaleX(1);
        -webkit-transition: -webkit-transform 250ms ease-in-out;
        transition: -webkit-transform 250ms ease-in-out;
        transition: transform 250ms ease-in-out;
        transition: transform 250ms ease-in-out, -webkit-transform 250ms ease-in-out;
        visibility: visible;
    }
    .navbar-collapse {
        -webkit-box-flex: 1;
            -ms-flex-positive: 1;
                flex-grow: 1;
        padding: 0;
        width: 100%;
    }
    .navbar-nav {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
        -webkit-box-pack: end;
            -ms-flex-pack: end;
                justify-content: flex-end;
        float: left;
        height: 64px;
        width: 58%;
    }
    .navbar-nav > li > a {
        padding-bottom: 0;
        padding-right: 0;
        padding-left: 30px;
        padding-top: 10px;
        margin-bottom: -3px;
    }
    .navbar-nav > li:first-child > a {
        padding-left: 0;
    }
    .navbar-nav > li.dropdown {
        position: relative;
    }
    .navbar-nav > li.dropdown > .dropdown-menu {
        display: none;
        right: 0;
        border-width: 0;
        border-radius: 0;
        -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.125);
                box-shadow: 0 2px 10px rgba(0, 0, 0, 0.125);
        background-color: rgba(0,0,0,0.8);
        padding-top: 20px;
        padding-bottom: 20px;
        /*margin-top: 30px;*/
    }

    .navbar-nav > li.dropdown:hover > .dropdown-menu {
        display: block;
    }
    .submenu_flex {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
    .submenu_image {
        -webkit-transform: translateY(7px);
                transform: translateY(7px);
        /*-ms-flex-preferred-size: 144px;*/
           /* flex-basis: 144px;*/
    }
    .submenu_flex ul {
        -webkit-box-ordinal-group: 0;
            -ms-flex-order: -1;
                order: -1;
       /* -webkit-columns: 2;
                columns: 2;*/
    }
    .submenu_flex ul li {
        /*margin-right: 70px;*/
    }
    .submenu_parent_title {
        margin-bottom: 25px;
        color: #fff;
        font-size: 28px;
        border-bottom: 1px solid rgba(212, 212, 212, 0.5);
        -webkit-font-smoothing:antialiased;
        -moz-osx-font-smoothing: grayscale;
        -webkit-transform: translateY(-50%);
                transform: translateY(-50%);
    }
    .submenu_parent_title span {
        -webkit-transform: translateY(50%);
                transform: translateY(50%);
        display: inline-block;
        background-color: #41516e;
        padding-right: 15px;
    }
    .dropdown-menu a {
        margin-bottom: 10px;
        display: inline-block;
    }
}
@media(max-width: 1134px){
    .navbar{height: 140px;}
    .navbar-nav{float: right;width: 100%;}
}

@media (max-width: 991px) { /* SM XS and down */
    .navbar-nav > li > a {
        padding-left: 20px;
    }
}
@media (max-width: 767px) { /* XS and down */
    .site {
        padding-top: 60px;
    }
    .site-header {
        background-color: #fff;
        min-height: 60px;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 2000;
    }
    .navbar{height: 60px;}
    .navbar-header {
        height: 60px;
        -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.125);
                box-shadow: 0 2px 10px rgba(0, 0, 0, 0.125);
    }
    .navbar-nav {
        background-color: #000;
        padding-top: 30px;
        padding-bottom: 30px;
        margin-top: 0;
        margin-bottom: 0;
    }
    .switch{margin-top: 4px;}
    .pchome{display: none;}
    .menuhome{display: block;}
    #mobile_menu_underlay {
        display: none;
        background-color: #000;
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        width: 100%;
        height: 200%;
        z-index: 999;
    }
    .navbar-nav .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
    }
    .navbar-nav > li > a:after {
        display:block;
        content: '';
        border-bottom: solid 2px transparent;
        -webkit-transform: scaleX(0);
                transform: scaleX(0);
        -webkit-transition: -webkit-transform 250ms ease-in-out;
        transition: -webkit-transform 250ms ease-in-out;
        transition: transform 250ms ease-in-out;
        transition: transform 250ms ease-in-out, -webkit-transform 250ms ease-in-out;
        margin-top: 5px;
        visibility: hidden;
    }
    .no-touch .navbar-nav > li > a:hover:after,
    .navbar-nav > li.current_page_item > a:after,
    .navbar-nav > li.current_page_ancestor > a:after,
    .navbar-nav > li.current_menu_item > a:after,
    .navbar-nav > li.current_menu_ancestor > a:after,
    .navbar-nav > li.dropdown.open > a:after {
        border-bottom-color: #d18783;
        -webkit-transform: scaleX(1);
                transform: scaleX(1);
        -webkit-transition: -webkit-transform 250ms ease-in-out;
        transition: -webkit-transform 250ms ease-in-out;
        transition: transform 250ms ease-in-out;
        transition: transform 250ms ease-in-out, -webkit-transform 250ms ease-in-out;
        visibility: visible;
    }
    .navbar-nav > li {
        margin-bottom: 0;
    }
    .navbar-nav li {
        text-align: right;
    }
    .navbar-nav li > a {
        color: #fff;
        display: inline-block;
        -webkit-font-smoothing:antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    .dropdown-menu li {
        margin-bottom: 10px;
    }
    .navbar-brand {
        max-width: 194px;
        margin-top: 11px;
    }
    .icon_container {
        position: absolute;
        z-index: 8888;
        top: 1px;
        right: -5px;
    }
    .icon_container > div {
        position: absolute;
        right: 20px;
        top: 29px;
        font-size: 17px;
        color: #000;
    }
    .icon {
      border-radius: 0;
      height: 50px;
      right: 20px;
      width: 60px;
    }
    .icon span {
      background-color: #d18783;
      height: 2px;
      right: auto;
      left: 0;
      width: 16px;
    }
    .icon span:first-child {
      top: 30px;
    }
    .icon span:nth-child(2) {
      top: 35px;
    }
    .icon span:last-child {
      top: 40px;
    }
    .icon--active span:first-child {
        height: 2px;
        top: 35px;
    }
    .icon--active span:last-child {
        height: 2px;
        top: 35px;
    }
}

/*--------------------------------------*/
/* CHILDREN PAGES
/*--------------------------------------*/
.top_banner .container-fluid {
    height: 300px;
    text-align: center;
    display: block;
    line-height: 300px;
}
.carousel-inner .container-fluid {
    height: 500px;
}
.top_banner .container-fluid span {
    font-size: 35px;
    line-height: 25px;/*
    background: rgba(255,255,255,0.6);
    border:1px solid #fff;
    padding: 5px 15px; */
}
.top_banner .container-fluid.white_text span, .carousel-inner .container-fluid.white_text span {
    color: #000;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.top_banner .container-fluid.black_text span, .carousel-inner .container-fluid.black_text span {
    color: #fff;/*
    background: rgba(255,255,255,0.6);*/
/*    border: 1px solid #fff;*/
    padding:5px 15px;
}
@media (max-width: 1199px) { /* MD SM XS and down */
    .top_banner .container-fluid {
        height: 250px;
    }
    .carousel-inner .container-fluid {
        height: 450px;
    }
}
@media (max-width: 991px) { /* SM XS and down */
    .top_banner .container-fluid {
        height: 200px;
    }
    .carousel-inner .container-fluid {
        height: 285px;
    }
}
@media (max-width: 767px) { /* XS and down */
    .top_banner .container-fluid {
        /*height: 150px;*/
    }
    .carousel-inner .container-fluid {
        height: 350px;
    }
    .top_banner .container-fluid span {
        font-size: 24px;
    }
}
@media (max-width: 567px) { /* from iPhone 5 landscape width and down */
    .top_banner .container-fluid {
        height: 95px;
    }
    .carousel-inner .container-fluid {
        height: 150px;
    }
}
#tablist_wrapper ul li {
    border-bottom: 1px solid #a9a9a9;
    padding: 16px 0 4px;
    position: relative;
}
#tablist_wrapper ul li:first-child {
    padding-top: 8px;
}
#tablist_wrapper ul li a {
    font-size: 18px;
    font-family: 'assistantlight';
    color: #000;
}
#tablist_wrapper ul li a.on_hover, #tablist_wrapper ul li.current a {
    color: #000;
}
#tablist_wrapper ul li.current a {
    font-family: 'assistantsemibold';
}
@media (min-width: 768px) { /* SM MD LG and up */
    #tablist_wrapper ul {
        padding-right: 20px;
    }
    #collapsible_tablist {
        display: block !important;
        height: auto !important;
    }
}
.dropdown_mobile {
  position: relative;
  text-align: left;
  width: 100%;
  white-space: normal;
  border-width: 0;
  padding: 0;
  border-radius: 0;
  background-color: transparent;
  border-bottom: 1px solid #aaaaaa;
  padding-right: 15px;
  font-size: 18px;
}
.dropdown_mobile:after {
    content: '\e260';
    font-family: 'Glyphicons Halflings';
    position: absolute;
    right: 0;
    color: #000;
    font-size: 14px;
    bottom: 6px;
    /*top: 50%;*/
    /*-webkit-transform: translateY(-50%);*/
            /*transform: translateY(-50%);*/
}
.dropdown_mobile.collapsed:after {
    content: '\e259';
}
@media (max-width: 767px) { /* XS and down */
    .dropdown_mobile:after {
        content:"\e014";
    }
    .dropdown_mobile.collapsed:after {
        content:"\e236";
    }
    #tablist_wrapper {
        margin-bottom: 30px;
    }
    #tablist_wrapper ul {
      padding: 10px 0 0;
      -webkit-transition: all 0.25s ease 0s;
      transition: all 0.25s ease 0s;
    }
}
.title{font-size:40px;color: #cd1719;font-weight: 400;text-align: center;}
.page_title{text-align: center;}
.entry-content{text-indent: 2em;}
.contact-content{text-indent: inherit}
.page_title, .entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
    font-size: 18px;
    color: #cd1719;
    margin-bottom: 30px;
    line-height: 36px;
    font-weight: bold;
}
/*.entry-content{text-align:left;}*/
.entry-content p, .entry-content ul, .entry-content ol {
    margin-bottom: 20px;
    color: #5b5b5b;
}
.entry-content ul, .entry-content ol {
    padding-left: 16px;
}
.entry-content p + ul, .entry-content p + ol {
    margin-top: -20px;
}
.entry-content p a {
    color: #000;
    text-decoration: underline;
}
.entry-content p a:hover {
    text-decoration: none;
}
.entry-content strong {
    color: #000;
    font-family: 'assistantsemibold';
    font-weight: normal;
}
.entry-content hr, hr {
    border-top-color: #a9a9a9;
    margin-top: 0;
    margin-bottom: 20px;
}
.transparent_button {
    border-radius: 20px;
    display: inline-block;
    border: 1px solid transparent;
}
.transparent_button a {
    line-height: 40px;
    height: 40px;
    display: inline-block;
    padding-left: 20px;
    padding-right: 20px;
    text-decoration: none !important;
}
.black_text .transparent_button {
    border-color: #fff;
}
.white_text .transparent_button {
    border-color: #fff;
}
.black_text .transparent_button a {
    color: #fff !important;
}
.white_text .transparent_button a {
    color: #fff !important;
}
.transparent_button.on_hover {
    background-color: #cd1719;
    border-color:#cd1719;
}
.transparent_button.on_hover a {
color: #fff !important;
}
.blue_button {
    /*background-color: #ff3b3b;*/
    background-color: #9e9e9e;
    border-radius: 20px;
    color: #eaebec !important;
    display: inline-block;
    border: 1px solid #9e9e9e;
    text-indent: initial;
}
.blue_button.on_hover {
    background-color: #cd1719;
    color: #fff !important;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing: grayscale;
    border: 1px solid #cd1719;
}
.blue_button a {
    color: #eaebec !important;
    line-height: 40px;
    height: 40px;
    display: inline-block;
    padding-left: 20px;
    padding-right: 20px;
    text-decoration: none !important;
}
.blue_button.on_hover a {
    color: #fff !important;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.gray_button {
    background-color: #dedede;
    border-radius: 20px;
    color: #5b5b5b !important;
    display: inline-block;
    border: 1px solid #dedede;
}
.gray_button.on_hover {
    background-color: #95b9c4;
    color: #333c47 !important;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing: grayscale;
    border: 1px solid #95b9c4;
}
.gray_button a {
    color: #5b5b5b !important;
    line-height: 40px;
    height: 40px;
    display: inline-block;
    padding-left: 20px;
    padding-right: 20px;
    text-decoration: none !important;
}
.gray_button.on_hover a {
    color: #333c47 !important;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.sbutton{float: left;}
.white_button {
    background-color: #fff;
    border-radius: 20px;
    color: #333c47 !important;
    display: inline-block;
    border: 1px solid #333c47;
}
.white_button.on_hover {
    background-color: #495566;
    color: #fff !important;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing: grayscale;
    border: 1px solid #495566;
}
.white_button a {
    color: #333c47 !important;
    line-height: 40px;
    height: 40px;
    display: inline-block;
    padding-left: 20px;
    text-decoration: none !important;
    padding-right: 20px;
}
.white_button.on_hover a {
    color: #fff !important;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 767px) { /* XS and down */
    .page_title, .entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
        font-size: 18px;
    }
}

/*--------------------------------------*/
/* PAGE COMPONENTS
/*--------------------------------------*/
.certifications {
    overflow-x: hidden;
}
.certifications ul li {
    width: 25%;
}
.certifications ul {
    margin-left: -30px;
    margin-right: -30px;
}
.certifications ul li {
    padding-left: 30px;
    padding-right: 30px;
    margin-bottom: 15px;
}
.certifications ul li a {
    display: block;
    color: #5b5b5b;
    font-size: 14px;
    text-align: center;
    line-height: 19px;
}
.certifications ul li a .img-responsive {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
}
@media (min-width: 768px) and (max-width: 991px) {  /* SM */
    .certifications ul {
        margin-left: -15px;
        margin-right: -15px;
    }
    .certifications ul li {
        width: 50%;
        padding-left: 15px;
        padding-right: 15px;
    }
}
@media (max-width: 567px) {
    .certifications ul {
        margin-left: -15px;
        margin-right: -15px;
    }
    .certifications ul li {
        width: 50%;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/*--------------------------------------*/
/* NEWS
/*--------------------------------------*/
#posts_list {
    overflow-x: hidden;
}
#posts_list ul {
    margin-left: -20px;
    margin-left: -20px;
}
#posts_list ul li {
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 60px;
    width: 50%;
}
#posts_list ul li .entry-content {
    text-align: justify;
}
#front_page #posts_list ul li .entry-content {
    text-align: left;
}

.news-content p{
    height:80px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
#posts_list a h2 {
    color: #000;
}
.index-news h2{
    height:30px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    line-height: 30px;
}
@media (min-width: 768px) and (max-width: 991px) {  /* SM */
    #posts_list ul li {
        width: 100%;
    }
}
@media (max-width: 567px) {
    #posts_list ul li {
        width: 100%;
    }
}
.post_date {
    color: #5b5b5b;
    margin-bottom: 10px;
}
.navigation.pagination {
    border-top: 1px solid #a9a9a9;
    border-bottom: 1px solid #a9a9a9;
    padding-top: 15px;
    padding-bottom: 15px;
}
.navigation.pagination, .navigation.pagination a {
    color: #5b5b5b;
    font-size: 18px;
}
.navigation.pagination .current {
    color: #000;
}
.navigation.pagination .nav-links {
    text-align: center;
}
.navigation.pagination .nav-links > * {
    display: inline-block;
    margin: 0 5px;
}
.entry-content.blue_background_box {
    padding: 30px 35px;
    background-color: #586775;
}

/*--------------------------------------*/
/* SERVICES
/*--------------------------------------*/
#single_service {
    overflow-x: hidden;
}
.two_optional_columns_layout.flex {
    margin-left: -20px;
    margin-right: -20px;
}
.two_optional_columns_layout.flex > * {
    -ms-flex-preferred-size: 0;
        flex-basis: 0;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    padding-left: 20px;
    padding-right: 20px;
}
.entry-content.blue_background_box p, .entry-content.blue_background_box strong, .entry-content.blue_background_box ul, .entry-content.blue_background_box ol {
    color: #fff;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing: grayscale;
}
@media (max-width: 767px) { /* XS and down */
    .entry-content.blue_background_box {
        padding: 10px 15px;
        margin-left: -15px;
        margin-right: -15px;
    }
    .two_optional_columns_layout.flex .left_column {
        margin-bottom: 30px;
    }
}
.two_optional_columns_layout {
    margin-bottom: 80px;
}
#other_services {
    margin-left: -15px;
    margin-right: -15px;
}
#other_services li {
    width: 25%;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 30px;
}
#other_services li a h2 {
    color: #000;
    font-size: 18px;
}
#other_services .embed-responsive {
    padding-bottom: 66%;
    margin-bottom: 15px;
}
@media (max-width: 767px) { /* XS and down */
    #other_services {
        margin-left: -7.5px;
        margin-right: -7.5px;
    }
    #other_services li {
        width: 50%;
        padding-left: 7.5px;
        padding-right: 7.5px;
    }
}
#front_page #other_services {
}
#front_page #other_services li {
    width: 33.33%;
    margin-bottom: 0;
    overflow: hidden;
}
#front_page #other_services li:hover .background_cover{
        -webkit-transition:all 0.5s;
        cursor: pointer;
        transform: scale(1.1);
}
#front_page #other_services li a {
    background-color: #fff;
    min-height: 63px;
    display: inline-flex;
    align-items: center;
    padding: 15px;
    transform: translateY(calc(-50% + 3px ));
}
#front_page #other_services li a h2 {
    font-size: 22px;
}
#front_page #other_services .embed-responsive {
    margin-bottom: 0;
    padding-bottom: 56.25%;
}
#other_services .background_cover{box-shadow: 0 0 15px rgba(0,0,0,0.3);}
@media (min-width: 768px) and (max-width: 991px) {  /* SM */
    #front_page #other_services li {
        margin-bottom: 15px;
    }
    #front_page #other_services li a {
        transform: translateY(0);
        padding-left: 0;
        padding-right: 0;
    }
}
@media (max-width: 567px) { /* from iPhone 5 landscape width and down */
    #front_page #other_services li {
        margin-bottom: 15px;
    }
    #front_page #other_services li a {
        transform: translateY(0);
        padding-left: 0;
        padding-right: 0;
    }
}

/*--------------------------------------*/
/* CASE STUDIES
/*--------------------------------------*/
#case_studies {
    overflow-x: hidden;
}
#case_studies .flex {
    margin-left: -20px;
    margin-right: -20px;
}
#case_studies .flex > * {
    -ms-flex-preferred-size: 0;
        flex-basis: 0;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    padding-left: 20px;
    padding-right: 20px;
}
#case_studies ul > li {
    padding-top: 80px;
    padding-bottom: 80px;
}
@media (max-width: 767px) { /* XS and down */
    #case_studies ul > li {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    #case_studies .image_video_container {
        margin-bottom: 30px;
    }
}
#case_studies .image_video_container .img-responsive {
    width: 100%;
}
#case_studies ul > li:nth-child(2n) .flex > * {
            order: 1;
}
#case_studies ul > li:nth-child(2n) .image_video_container {
            order: 2;
}
#case_studies ul > li:nth-child(2n) {
    background-color: #3b4551;
}
#case_studies ul > li:nth-child(2n) .page_title, #case_studies ul > li:nth-child(2n) .entry-content p {
color: #fff;
-webkit-font-smoothing:antialiased;
-moz-osx-font-smoothing: grayscale;
}
#single_case_study .image_video_container {
    margin-bottom: 30px;
    margin-right: 30px;
    max-width: 50%;
    width: 100%;
    float: left;
}
@media (max-width: 767px) { /* XS and down */
    #single_case_study .image_video_container {
        margin-right: 0;
        max-width: none;
        float: none;
    }
}
.case_studies_buttons {
    margin-top: 15px;
}
.case_studies_buttons > span {
    margin-bottom: 15px;
    margin-right: 10px;
}
.case_studies_buttons > span:last-child {
    margin-right: 0;
}
.carousel .carousel-indicators {
    bottom: 10px;
}
.carousel .carousel-indicators li, .carousel .carousel-indicators li.active {
    border-color: #cd1719;
    margin-left: 5px;
    margin-right: 5px;
}
.carousel .carousel-indicators li.active {
    background-color: #cd1719;
}
.carousel-inner .container-fluid > div {
    width: auto;
    padding:10px 20px;
    background: rgba(0,0,0,0.4);
    /*border:1px solid #fff;*/
    box-shadow: 10px 0 200px rgba(0,0,0,0.8)
}
.carousel .big_title {
    font-size: 35px;
}
.carousel .small_title {
    font-size: 27px;
}
.carousel .black_text .big_title, .carousel .black_text .small_title {
    color: #fff;
}
.carousel .white_text .big_title, .carousel .white_text .small_title {
    color: #fff;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.carousel .big_title, .carousel .small_title, .carousel .transparent_button {
    margin-bottom: 20px;
}
.carousel .carousel_arrows {
    position: absolute;
    z-index: 100;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 100%;
}
.carousel .carousel_arrows > a {
    width: 35px;
    height: 35px;
    border-right: 1px solid #787878;
    float: left;
    border-bottom: 1px solid #787878
}
.carousel .carousel_arrows > a img {
    width: 12px;
    height: 24px;
}
.carousel .carousel_arrows > a:first-child {
    border-bottom: 1px solid #787878;
    float: right;
    border-left: 1px solid #787878;
    border-right: none;
}
@media (min-width: 768px) { /* SM MD LG and up */
    #front_page .row > div:first-child {
        padding-right: 60px;/*
        border-right: 1px solid #a4a4a4;*/
        margin-bottom: 30px;
    }
    #front_page .row > div:last-child {
        /*border-left: 1px solid #a4a4a4;*/
        /*padding-left: 60px;*/
        /*transform: translateX(-1px);*/
        clear: both;
    }
}
@media (min-width: 768px) and (max-width: 991px) {  /* SM */
    #front_page .row > div:first-child {
        padding-right: 30px;
    }
    #front_page .row > div:last-child {
        padding-left: 30px;
    }
}
.blue_box {
    background-color: #41516e;
    padding: 20px 15px;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.blue_box h3.page_title {
    font-size:22px;
    color:#fff;
    line-height: 28px;
    margin-bottom: 20px;
}
.blue_box p {
    color: #acacac;
}

/*--------------------------------------*/
/* CONTACT
/*--------------------------------------*/
#contact_page {
    overflow-x: hidden;
}
@media (min-width: 768px) { /* SM MD LG and up */
    #contact_page .two_optional_columns_layout.flex {
        margin-left: -40px;
        margin-right: -40px;
    }
    #contact_page .two_optional_columns_layout.flex > * {
        padding-left: 40px;
        padding-right: 40px;
    }
}
@media (min-width: 768px) and (max-width: 991px) {  /* SM */
    #contact_page .two_optional_columns_layout.flex {
        margin-left: -40px;
        margin-right: -40px;
    }
    #contact_page .two_optional_columns_layout.flex > * {
        padding-left: 40px;
        padding-right: 40px;
    }
}
#addresses li {
    margin-bottom: 30px;
}
#addresses li:last-child {
    margin-bottom: 0;
}
.google_map_container {
    padding-bottom: 30.25%;
}
#contact_page .form-group label {
    font-weight: normal;
    color: #5b5b5b;
}
#contact_page .form-control {
    /*background-color: transparent !important;*/
    color: #000;
    /*border-width: 0 0 1px 0;*/
    /*border-bottom-color: #8d8d8d;*/
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
    background: #f7f7f7;
    border:none;

}
#contact_page input.form-control{
    height: 40px;  
    line-height: 40px;
    font-size: 18px;  
    text-indent: 1em;
}
#contact_page textarea.form-control {
    border-width: 1px;
    border-color: #8d8d8d;
    padding: 15px;
}
#contact_page .form-group {
    margin-bottom: 30px;
}
#contact_page .btn {
    background: none;
    border: none;
    min-width: 100px;
}
#contact_page .on_hover .btn {
    color: #fff;
}

/*--------------------------------------*/
/* FOOTER
/*--------------------------------------*/
.footerbg{height: 4px;background: #cd1719}
.site-footer {
    /*background-color: #495566;*/
    background-color: #fff;
    padding-top: 50px;
    padding-bottom: 30px;
}
@media (max-width: 767px) { /* XS and down */
    .site-footer {
        padding-top: 30px;
        padding-bottom: 10px;
    }
}
#footer_info .entry-content {
    margin-top: 10px;
}
#footer_info .entry-content p {
    color: #fff;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing: grayscale;
}
#footer_info {
    -ms-flex-preferred-size: 0;
        flex-basis: 0;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
            text-align: center;
}
#footer_info .footer_home{
max-width: 300px;
display: inline-block;
text-align: center;
}
#footer_menu {
    -ms-flex-preferred-size: 0;
        flex-basis: 0;
    -webkit-box-flex: 2;
        -ms-flex-positive: 2;
            flex-grow: 2;
}
#footer_menu > div {
    margin-left: 50px;
    -ms-flex-preferred-size: 0;
        flex-basis: 0;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
}
#footer_menu .sub-menu {
    list-style: none;
}
#footer_menu .sub-menu, #footer_menu .sub-menu li {
    margin: 0;
    padding: 0;
}
#footer_menu li > a {
    margin-bottom: 25px;
    border-bottom: 1px solid #d18783;
    display: block;
    padding-bottom: 3px;
    color: #fff;
    font-size: 17px;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-transition: all 0.25s ease 0s;
    transition: all 0.25s ease 0s;
}
.no-touch #footer_menu li > a:hover,
#footer_menu li.current-menu-item > a,
#footer_menu li.current-page-item > a,
#footer_menu li.current-menu-parent > a,
#footer_menu li.current-page-parent > a {
    color: #d18783;
    -webkit-transition: all 0.25s ease 0s;
    transition: all 0.25s ease 0s;
}
#footer_menu .sub-menu {
    margin-top: -10px;
}
#footer_menu .sub-menu li a {
    display: inline-block;
    margin-bottom: 5px;
    font-size: 15px;
    border-bottom-width: 0;
}
.social_networks {
    margin-top: 20px;
}
.social_networks a {
    color: #d18783;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.social_networks a .fa {
    font-size: 20px;
    margin-left: 5px;
    display: inline-block;
}
#copyright_bar {
    border-top: 1px solid #d18783;
    padding-top: 3px;
    margin-top: 30px;
}
#copyright_bar, #copyright_bar a {
    font-size: 12px;
    color: #b1b1b1;
}
@media (max-width: 767px) { /* XS and down */
    #copyright_bar {
        line-height: normal;
    }
    #footer_info .entry-content {
        margin-top: 10px;
        text-indent: inherit;
    }
    .social_networks {
        margin-top: 0;
    }
    .footer_home {
        margin-bottom: 15px;
        display: inline-block;
    }
}
@media (max-width: 414px){
    .encnbg .enleft{display: none;}
    .navbar-header,.navbar{height: 70px;}
    .switch span a{color: #fff;}
    .icon_container{top:-10px;}
    #front_page #other_services li{width: 50%;}
    #posts_list ul li{padding-left: 30px;padding-right: 20px;}
    .switch{margin-top: 30px;}
}
@media (max-width:375px){
    .navbar-header,.navbar{height: 65px;}
    /*.icon_container{top: 17px;}*/
}

@media (max-width: 320px){
    .navbar-header,.navbar{height: 65px;}
    .icon_container{top:-8px;}

}
/*--------------------------------------*/
/* MEDIA QUERIES
/*--------------------------------------*/
@media (min-width: 768px) { /* SM MD LG and up */

}
@media (min-width: 992px) { /* MD LG and up */

}
@media (min-width: 1200px) { /* LG and up */

}
@media (min-width: 992px) and (max-width: 1199px) {  /* MD */

}
@media (min-width: 768px) and (max-width: 991px) {  /* SM */

}
@media (max-width: 1199px) { /* MD SM XS and down */

}
@media (max-width: 1024px) { /* from iPad landscape width and down */

}
@media (max-width: 991px) { /* SM XS and down */

}
@media (max-width: 768px) { /* from iPad portrait width and down */

}
@media (max-width: 767px) { /* XS and down */

}
@media (max-width: 667px) { /* from iPhone 6 landscape width and down */

}
@media (max-width: 567px) { /* from iPhone 5 landscape width and down */

}
@media (max-width: 375px) { /* from iPhone 6 portrait width and down */

}
.embed-responsive-16by9 img{height:auto;}
.top_banner .container-fluid h1.banner_title{display:inline-block;font-size:35px;line-height:25px;margin:0;font-weight:400;color:#fff;padding:5px 15px;}
@media (max-width: 767px) {
    .top_banner .container-fluid h1.banner_title{font-size:24px;}
}
h2.card-title{font-size:14px;}
.entry-content h2.page_title{text-indent:0;}
.entry-content h2.page_title a{color:inherit;}
