
#main.wide {
  .entry-content {
    overflow: hidden;
  }
}

.wpb_single_image {
    a:hover,
    a:focus {
        img {
            @include opacity(0.8);
        }
    }
}

body {

    .wpb_row > .wpb_wrapper {
        h1,
        h2 {
            &.wpb_heading {
                margin-left: 15px;
            }
        }
    }

    .vc_separator.wpb_content_element {
        margin-bottom: 34px;

        @media #{$screen-medium} {
            margin-bottom: 24px;
        }
    }

    .vc_separator h4 {
        font-size: $title-font-size;
        line-height: 50px;

        @media #{$screen-normal} {
            font-size: 38px;
            line-height: 46px;
        }

        @media #{$screen-medium} {
            font-size: 30px;
            line-height: 36px;
        }
    }

    .wpb_toggle,
    #content h4.wpb_toggle {
        background-image: none;
        font-size: 17px;
        font-weight: bold;
        line-height: 24px;
        position: relative;
        padding: 10px 0 10px 30px;
        margin: 0;

        &:before {
            content: "\f105";
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 20px;
            height: 20px;
            margin-top: auto;
            margin-bottom: auto;
            display: inline-block;
            font-family: FontAwesome;
            font-style: normal;
            font-weight: bold;
            line-height: 19px;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            text-align: center;
        }
    }

    .wpb_accordion .wpb_accordion_wrapper .wpb_accordion_header a {
        background-image: none;
        font-size: 17px;
        font-weight: bold;
        line-height: 24px;
        margin: 0;
    }

    .wpb_toggle_title_active,
    #content h4.wpb_toggle_title_active {
        background-image: none;

        &:before {
            content: "\f107";
        }
    }

    .wpb_toggle_content {
        padding: 15px 20px 25px;
        margin: 0;
    }

    .wpb_gallery .wpb_flexslider .flex-control-nav {
        bottom: 10px;
    }

    .flexslider {
        border-width: 0;
        background: transparent;
        @include box-shadow(none);
    }

    .flex-control-paging li a {
        width: 12px;
        height: 12px;
        border-radius: 6px;
        margin: 5px 1px;
        @include opacity(1);
        @include box-shadow(none);
    }

    .flexslider:hover {
        .flex-prev {
            left: 0;
            @include opacity(1);
        }

        .flex-next {
            right: 0;
            @include opacity(1);
        }
    }

    .flex-direction-nav {
        .flex-prev {
            left: 0;
        }

        .flex-next {
            right: 0;
        }
    }

    .wpb_content_element.wpb_tabs .wpb_tour_tabs_wrapper .wpb_tab {
        background: transparent;
        padding: 30px 0 15px;
    }

    .wpb_content_element.wpb_tabs .wpb_tour_tabs_wrapper.custom-tabs .wpb_tab {
        border: medium none;
    }

    .wpb_tour .wpb_tour_tabs_wrapper .wpb_tab {
        padding-bottom: 15px;
    }

    .wpb_content_element .wpb_tabs_nav li {
        border-radius: 2px;
        font-weight: bold;
        font-size: 17px;
        text-transform: uppercase;
    }

    .wpb_content_element .wpb_tabs_nav li a {
        font-weight: bold !important;
    }

    .wpb_content_element .wpb_tour_tabs_wrapper .wpb_tabs_nav a,
    .wpb_content_element .wpb_accordion_header a {
        padding: 8px 17px;
    }

    .wpb_content_element .wpb_tabs_nav li.ui-tabs-active a,
    .wpb_content_element .wpb_tabs_nav li:hover a {
        padding-bottom: 7px;
    }

    .wpb_content_element.wpb_tour .wpb_tabs_nav li.ui-tabs-active a,
    .wpb_content_element.wpb_tour .wpb_tabs_nav li:hover a {
        padding-bottom: 8px;

        @media #{$screen-small} {
            padding-bottom: 7px;
        }
    }

    .wpb_content_element .custom-tabs .wpb_tabs_nav li {
        border: medium none !important;
        border-radius: 0 !important;
        font-size: 14px;
        margin-right: 5px;
        margin-bottom: 5px;
    }

    .wpb_content_element .custom-tabs .wpb_tabs_nav li a,
    .wpb_categories_filter a,
    .categories_filter a {
        padding: 6px 32px 5px;
        font-weight: bold !important;
    }

    .wpb_content_element .custom-tabs .wpb_tabs_nav li.ui-tabs-active a,
    .wpb_content_element .custom-tabs .wpb_tabs_nav li:hover a {
        padding-bottom: 5px;
    }

    .wpb_content_element .wpb_accordion_wrapper .wpb_accordion_header {
        border-radius: 2px;
    }

    .wpb_accordion .wpb_accordion_wrapper .ui-state-default .ui-icon, .wpb_accordion .wpb_accordion_wrapper .ui-state-active .ui-icon {
        top: 0.8em;
    }

    .wpb_teaser_grid .categories_filter,
    .wpb_categories_filter {
        list-style: none;
        margin-bottom: 35px;
    }

    .wpb_teaser_grid .categories_filter li,
    .wpb_categories_filter li {
        margin: 0 4px 4px 0;

        a {
            display: inline-block;
            margin: 0;
            font-weight: bold;
            border: medium none !important;
            font-size: 14px;
            text-transform: uppercase;
        }
    }

    .wpb_thumbnails {
        list-style: none;
    }

    .teaser_grid_container .post-item {
        margin-bottom: 0;

        .post-thumb {
            margin-bottom: 15px;
        }
    }

    .wpb_button {
        border-color: rgba(0, 0, 0, 0.1) !important;
    }

    .wpb_column > .wpb_wrapper {
        .product h3 {
            margin-bottom: 15px;
        }

        .person-box .person-photo {
            margin-bottom: 20px;
        }

        .feature-box .line {
            margin-bottom: 15px;
        }

        .wpcf7 p {
            margin-bottom: 25px;
        }
    }

    .wpb_row, .wpb_content_element,
    ul.wpb_thumbnails-fluid > li,
    .last_toggle_el_margin,
    .wpb_button {
        margin-bottom: 20px;
    }

    .wpb_row:last-child,
    .wpb_content_element:last-child {
        margin-bottom: 0;
    }

    .wpb_single_image {
	max-width: 100%;

        .vc_single_image-wrapper { 
            max-width: 100%;
        }
        img {
            max-width: 100%;
        }
    }


}

.nav-tabs > li,
.nav-tabs > li > a {
    margin-bottom: -1px !important;
}

.wpb_content_element {
    .ui-widget-content,
    .ui-widget-header {
        background: transparent;
        background-image: none;
        color: inherit;
        border-width: 0;
    }
}
