/*
 * ------------
 * Override cf7
 * ------------
 */

.wpcf7-spinner {
    display: none !important;
}

/*
 * --------------------
 * Override vc_video-bg
 * --------------------
 */

.vc_row.vc_video-bg-container video {
    visibility: visible !important;
}

/*
 * ----------------------
 * Override vc_tta-panels
 * ----------------------
 */

.vc_tta-panels .vc_tta-panel:first-child .vc_tta-panel-heading {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.vc_tta-panels .vc_tta-panel:last-child .vc_tta-panel-heading {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.vc_tta-panels .vc_tta-panel .vc_tta-panel-heading {
    border-color: var(--color-pearlgray) !important;
}

.vc_tta-panels .vc_tta-panel .vc_tta-panel-heading:hover {
    background-color: var(--color-pearlgray-light) !important;
}

.vc_tta-panels .vc_tta-panel .vc_tta-panel-heading:not(:hover) {
    background-color: var(--color-pearlwhite) !important;
}

.vc_tta-panels .vc_tta-panel .vc_tta-panel-heading .vc_tta-panel-title > a {
    color: var(--color-panthagray) !important;
}

.vc_tta-panels .vc_tta-panel .vc_tta-panel-body {
    border-color: var(--color-pearlgray) !important;
    background-color: var(--color-white) !important;
}

/*
 * ---------------------
 * Override page-wrapper
 * ---------------------
 */

.page-wrapper {
    overflow: initial !important;
}

/*
 * -----------------
 * Override page-top
 * -----------------
 */

.page-top {
    padding: 0 !important;
}

/*
 * ------------
 * Override p3d
 * ------------
 */

.product #material_fieldset,
.product #p3d-material-name,
.product #p3d-cv {
    border: 1px solid var( --color-pearlgray-light ) !important;
    border-radius: 5px !important;
}

.product #p3d-pickfiles .progress {
    display: none;
}

.product #p3d-pickfiles .progress-wrap {
    transform: rotate(0deg) !important;
}

/*
 * ------------------------
 * Override loading overlay
 * ------------------------
 */

.loading-overlay .bounce-loader div {
    background-color: var(--color-orange);
    box-shadow: none;
}

/*
 * ------------------------
 * Override toggle dropdown
 * ------------------------
 */

section.toggle label {
    border: none;
    color: var(--color-pearlwhite);
    background: var(--color-panthagray);
    padding: 10px 20px 10px 15px;
}

section.toggle.active label, section.toggle label:hover {
    background: var(--color-orange);
}

/*
 * ---------------------
 * Override comment form
 * ---------------------
 */

.comment-form {
    background: var( --color-pearlwhite );
}

/*
 * ------------------
 * Override blog grid
 * ------------------
 */

.posts-container .post .grid-box {
    background: white !important;
    border: 1px solid var( --color-pearlgray-light ) !important;
    border-radius: 5px !important;
    padding: 20px !important;

}

/*
 * --------------------
 * Override single-blog
 * --------------------
 */

.single-post .main-content {
    margin: 0 !important;
    padding: 0 !important;
}

.single-post .post-header  {
    padding: 40px 0 !important;
}

.single-post .post-header .post-title {
    margin-bottom: 10px !important;
}

.single-post .post-header .post-meta {
    display: flex;
    display: -webkit-flex;
    display: -ms-flexbox;
    flex-wrap: wrap;
    margin-bottom: 0px !important;
}

.single-post .post-header .post-meta .post-date {
    float: none;
    width: auto;
}

/*
 * ---------------------
 * Override main content
 * ---------------------
 */

.main-content {
    padding-bottom: 0;
}

.page .main-content {
    padding-top: 0;
}

/*
 * -----------------
 * Override sidebars
 * -----------------
 */

.sidebar:not(.mobile-sidebar) .sidebar-content {
    border: none !important;
}

.sidebar .sidebar-content aside.widget {
    margin-bottom: 0px;
    background-color: var( --color-white );
}

.sidebar:not(.mobile-sidebar) .sidebar-content aside.widget {
    border: 1px solid var( --color-pearlgray-light ) !important;
    padding: 20px !important;
    border-radius: 5px;
}

.sidebar .sidebar-content aside.widget:not(:last-child) {
    margin-bottom: 20px !important;
}

.sidebar .sidebar-content aside.widget h3.widget-title {
    font-size: 16px !important;
}

.sidebar .sidebar-content aside.widget_layered_nav {
    border: none !important;
}

.mobile-sidebar {
    z-index: 99;
}

.mobile-sidebar .sidebar-toggle {
    position: relative;
    top: 0;
    right: 0;
    width: 1em;
    height: 1em;
    margin: 20px 20px 20px auto;
    border: none;
    line-height: 1em;
}

.mobile-sidebar .sidebar-toggle:hover {
    box-shadow: none;
}

.mobile-sidebar .sidebar-content {
    z-index: 2;
    border-top: 1px solid var( --color-pearlgray-light ) !important;
    max-height: calc( 100vh - 57px );
}

.sidebar-overly {
    z-index: 97; 
}

.sidebar-overlay.active {
    opacity: 0.75;
    background: var( --color-black );
}

@media (max-width: 991px) {
    html.sidebar-opened .page-wrapper {
        left: 0px;
    }
}

/*
 * --------------------
 * Override feature-box
 * --------------------
 */

.featured-box:not(:last-child) {
    margin-bottom: 20px;
}

.featured-box {
    margin: 20px 0;
    border: 1px solid var( --color-pearlgray-light );
    background: #ffffff;
    padding: 0px;
    min-height: 0px;
    border-radius: 5px;
}

.featured-box .box-content {
    padding: 20px !important;
    border: none !important;
    top: 0 !important;
}

/*
 * -------------
 * Override card
 * -------------
 */

.card:not(:last-child) {
    margin-bottom: 20px;
}

.card {
    position: relative;
    z-index: 0;
    background-color: var( --color-white );
    border: 1px solid var( --color-pearlgray-light );
    border-radius: 5px;
    box-shadow: none;
}

.card:hover {
    position: relative;
    z-index: 1;
}

.card.card-padded {
    padding: 20px;
}

.card .card-body {
    background-color: var( --color-white ) !important;
}

/*
 * ------------------------
 * Override responsive tabs
 * ------------------------
 */

.woocommerce-tabs .resp-tabs-container h2.resp-accordion {
    font-size: 20px !important;
    padding: 10px 0px !important;
}

/*
 * --------------------
 * Override font colors
 * --------------------
 */

.woocommerce-tabs .resp-tabs-list li {
    color: var( --color-pearlgray-dark ) !important;
}

/*
 * ------------------------
 * Override text-alignments
 * ------------------------
 */

.wc-proceed-to-checkout {
    text-align: left !important;
}

/*
 * ----------------
 * Override widgets
 * ----------------
 */

.widget .product_list_widget li {
    margin-bottom: 10px;
    padding: .5rem 0;
    background-color: #ffffff;
    border: 1px solid var( --color-pearlgray-light ) !important;
}

.widget .widget-title {
    margin-bottom: 20px;
}

.widget.follow-us .share-links a {
    box-shadow: none !important;
}

/*
 * --------------------
 * Override js composer
 * --------------------
 */

.vc_row-has-fill>.vc_column_container>.vc_column-inner, .vc_row-has-fill+.vc_row>.vc_column_container>.vc_column-inner, .vc_row-has-fill+.vc_row-full-width+.vc_row>.vc_column_container>.vc_column-inner, .vc_col-has-fill>.vc_column-inner{
    padding-top: 0 !important;
}

.wpb_gmaps_widget .wpb_wrapper {
    padding: 0 !important;
}

.wpb_content_element {
    margin-bottom: 20px;
}

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

/*.vc_column-gap-1 > .vc_column_container {
    padding-left: 0.5px !important;
    padding-right: 0.5px !important;
}

.vc_column-gap-2 > .vc_column_container {
    padding: 0 1px 0 1px !important;
}

.vc_column-gap-3 > .vc_column_container {
    padding: 0 1.5px 0 1.5px !important;
}

.vc_column-gap-4 > .vc_column_container {
    padding: 0 2px 0 2px !important;
}

.vc_column-gap-5 > .vc_column_container {
    padding: 0 2.5px 0 2.5px !important;
}

.vc_column-gap-6 > .vc_column_container {
    padding: 0 3px 0 3px !important;
}

.vc_column-gap-7 > .vc_column_container {
    padding: 0 3.5px 0 3.5px !important;
}

.vc_column-gap-8 > .vc_column_container {
    padding: 0 4px 0 4px !important;
}

.vc_column-gap-9 > .vc_column_container {
    padding: 0 4.5px 0 4.5px !important;
}

.vc_column-gap-10 > .vc_column_container {
    padding: 0 5px 0 5px !important;
}

.vc_column-gap-15 > .vc_column_container {
    padding: 0 7.5px 0 7.5px !important;
}

.vc_column-gap-20 > .vc_column_container {
    padding: 0 10px 0 10px !important;
}

.vc_column-gap-25 > .vc_column_container {
    padding: 0 12.5px 0 12.5px !important;
}

.vc_column-gap-30 > .vc_column_container {
    padding: 0 15px 0 15px !important;
}

.vc_column-gap-35 > .vc_column_container {
    padding: 0 17.5px 0 17.5px !important;
}*/

/*
 * ----------------
 * Aspect ratio fix
 * ----------------
 */

.vc_video-aspect-ratio-169 .wpb_video_wrapper {
    position: relative;
    padding-top: calc( 9/16 * 100% );
}

.vc_video-aspect-ratio-43 .wpb_video_wrapper {
    position: relative;
    padding-top: calc( 3/4 * 100% );
}

.vc_video-aspect-ratio-235 .wpb_video_wrapper {
    position: relative;
    padding-top: calc( 1/2.35 * 100% );
}

.wpb_video_wrapper iframe {
    position: absolute;
    top:  0;
    left: 0;
    max-height: 100%;
}

/*
 * ----------------------
 * Override progress bars
 * ----------------------
 */

.vc_progress_bar .progress-label {
    line-height:    1em;
    margin-bottom: 10px;
}

.vc_progress_bar .vc_single_bar {
    border: 1px solid var( --color-pearlgray-light );
    border-radius: 5px;
    margin-bottom: 10px;
}

/*
 * -------------------
 * Override seperators
 * -------------------
 */

.porto-separator {
    margin-bottom: 0px;
}

/*
 * ----------------------------
 * Override category containers
 * ----------------------------
 */

ul.products {
    margin-bottom: 0px;
}

ul.products li.product-category .thumb-info-wrapper {
    border: 1px solid var( --color-pearlgray-light );
    border-radius: 5px;
}

ul.products li.product-category .thumb-info-title {
    color: var( --color-panthagray );
    padding: 10px;
    background-color: rgba( 230, 231, 237, 0.4 );
}

ul.products li.product-category .thumb-info-title h1 {
    font-size: 16px !important;
    margin-bottom: 10px !important;
}

ul.products li.product-category .thumb-info-wrapper:after {
    background-color: #FFFFFF;
    opacity: 0.5;
}

ul.products li.product-category:hover .thumb-info-wrapper:after {
    opacity: 0;
}

/*
 * ---------------
 * Section Titles
 * ---------------
 */

.related.products .slider-title {
    padding: 0px !important;
    border: none !important;
}

/*
 * ---------
 * wp bakery
 * ---------
 */

.wpb_row:last-child {
    margin-bottom: 0 !important;
}