/*
Theme Name: Dension
Description: Theme for dension.com
Author: Bitknights
Template: enzio
*/

.wp-caption-text{
   font-weight: 400;
}
.gallery-caption{
   font-weight: 600;
}
.bypostauthor{
   text-align: left;
}

.product-hero-video {
   background-size: cover !important;
}

.full-width,
.full-width a, 
.full-width button {
   width:100%; 
}

header.header-default .logo {
    padding-top: 25px;
}

header.header-default .header-right {
    padding-right: 60px;
}


header.header-default .main-search {
    right: 0;
}

.gva-search-content .gva-main-search button {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: transparent;
    color: black;
    font-size: 24px;
}

header.header-default .header-mobile .main-search {
    right: 15px;
}

@media (min-width: 992px) {
    ul.nav > li.menu-item:last-child > a {
        color: red;
        border: 2px solid black;
        border-radius: 5px;
        margin: 20px 0;
        padding: 2px 12px;
    }

    ul.nav > li.menu-item:last-child > a:hover {
        color: black;
        border: 2px solid red;
    }


    header.header-dark-blue ul.nav > li.menu-item:last-child > a {
        color: #009AD7;
        border: 2px solid #fff;
    }

    header.header-dark-blue ul.nav > li.menu-item:last-child > a:hover {
        color: #fff;
        border: 2px solid #009AD7;
    }

    header.header-light-blue ul.nav > li.menu-item:last-child > a {
        color: #002A5F;
        border: 2px solid #fff;
    }

    header.header-light-blue ul.nav > li.menu-item:last-child > a:hover {
        color: #fff;
        border: 2px solid #002A5F;
    }
}

.header-mainmenu .canvas-menu.gva-offcanvas {
    display: none;
}

iframe.lg-object {
    padding: 30px;
    background-color: white;
    border-radius: 5px;
}

.lg-backdrop.in {
    opacity: 0.33;
}

a.vc_general.vc_btn3 {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.mfp-iframe-holder .mfp-close {
    width: 38px;
    padding-right: 9px;
}

.main-page-content {
    font-size: 16px;
    line-height: 28px;
    padding-top: 1.5em;
}

.vc_btn3.vc_btn3-color-primary, .vc_btn3.vc_btn3-color-primary.vc_btn3-style-flat {
    color: #fff;
    background-color: #009AD7;
}

.vc_row.row-container {
    overflow: hidden;
}

.vc_wpb_row_inner:nth-child(even) .vc_row-o-equal-height.remove_padding .widget.gsc-heading.align-left {
    padding-right: 5em;
}

.vc_wpb_row_inner:nth-child(odd) .vc_row-o-equal-height.remove_padding .widget.gsc-heading.align-left {
    padding-left: 5em;
}

article.type-automotive .vc_row-o-equal-height.remove_padding,
article.type-automotive .vc_row-o-equal-height.remove_padding .vc_row-o-equal-height {
    min-height: 250px;
}

/* DENSION HEADERS */

header.header-dark-blue,
header.header-dark-blue .stuck {
    color: #fff;
    background-color: #002A5F;
}

header.header-dark-blue a {
    color: #fff;
}

header.header-dark-blue ul.nav > li.menu-item > a:after {
    display: none;
}

header.header-dark-blue ul.navbar-nav.gva-nav-menu > li > a:hover,
header.header-dark-blue ul.navbar-nav.gva-nav-menu > li > a:focus,
header.header-dark-blue ul.navbar-nav.gva-nav-menu > li > a:active,
header.header-dark-blue ul.navbar-nav.gva-nav-menu > li > a:hover .caret,
header.header-dark-blue ul.navbar-nav.gva-nav-menu > li > a:focus .caret,
header.header-dark-blue ul.navbar-nav.gva-nav-menu > li > a:active .caret {
    color: #009AD7;
} 


header.header-light-blue,
header.header-light-blue .stuck {
    color: #fff;
    background-color: #009AD7;
}

header.header-light-blue a {
    color: #fff;
}

header.header-light-blue ul.nav > li.menu-item > a:after {
    display: none;
}

header.header-light-blue ul.navbar-nav.gva-nav-menu > li > a:hover,
header.header-light-blue ul.navbar-nav.gva-nav-menu > li > a:focus,
header.header-light-blue ul.navbar-nav.gva-nav-menu > li > a:active,
header.header-light-blue ul.navbar-nav.gva-nav-menu > li > a:hover .caret,
header.header-light-blue ul.navbar-nav.gva-nav-menu > li > a:focus .caret,
header.header-light-blue ul.navbar-nav.gva-nav-menu > li > a:active .caret {
    color: #002A5F;
} 

.benefits-grid img {
    max-width: 100px;
}

.vc_grid-item .vc_grid-item-mini .vc_row {
}

.vc_grid-container .vc_row {
    margin: 0 !important;
}

.gsc-box-hover.industry-hover-box {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;

}

@media (max-width: 991px) {
    .gsc-box-hover.industry-hover-box {
        margin-bottom: 20px;
    }
}


.gsc-box-hover.industry-hover-box .frontend {
    position: relative;
}

.gsc-box-hover.industry-hover-box .frontend img {
    width: 100%;
    height: 100%;
}

.gsc-box-hover.industry-hover-box .frontend .frontend-content {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: left;
    background-color: rgba(0,0,0,0.5);
}

.gsc-box-hover.industry-hover-box .frontend-content,
.gsc-box-hover.industry-hover-box .frontend-content .box-title,
.gsc-box-hover.industry-hover-box .frontend-content .box-link {
    color: white;
}

.gsc-box-hover.industry-hover-box .frontend-content .box-desc,
.gsc-box-hover.industry-hover-box .backend .content-be .be-desc {
    font-size: 86%;
    text-align: justify;
}


.gsc-box-hover.industry-hover-box .box-content {
    -webkit-perspective: unset;
    perspective: unset;
}

.gsc-box-hover.industry-hover-box .backend .link-action a {
    color: #ffffff;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 100% 35px 15px;
    vertical-align: bottom;
    text-align: right;
}

.gsc-box-hover.industry-hover-box .backend .link-action a.btn-inline:after {
    position: relative;
    top: unset;
    left: 10px;
}

.gsc-box-hover.industry-hover-box .backend .box-title a:hover {
    text-decoration: none;
}

/** RESET default enzio skin behavior */
.gsc-box-hover.industry-hover-box .backend .content-be,
.gsc-box-hover.industry-hover-box .frontend,
.gsc-box-hover.industry-hover-box .frontend .frontend-content,
.gsc-box-hover.industry-hover-box .backend,
.gsc-box-hover.industry-hover-box:hover .frontend,
.gsc-box-hover.industry-hover-box:hover .frontend .frontend-content,
.gsc-box-hover.industry-hover-box:hover .backend,
.gsc-box-hover.industry-hover-box:active .frontend,
.gsc-box-hover.industry-hover-box:active .frontend .frontend-content,
.gsc-box-hover.industry-hover-box:active .backend,
.gsc-box-hover.industry-hover-box:focus .frontend,
.gsc-box-hover.industry-hover-box:focus .frontend .frontend-content,
.gsc-box-hover.industry-hover-box:focus .backend,
.gsc-box-hover.industry-hover-box.active .frontend,
.gsc-box-hover.industry-hover-box.active .frontend .frontend-content,
.gsc-box-hover.industry-hover-box.active .backend {
    -webkit-transform: unset;
    -moz-transform: unset;
    -o-transform: unset;
    transform: unset;
    -webkit-transform-style: unset;
    -moz-transform-style: unset;
    -o-transform-style: unset;
    transform-style: unset;
    -webkit-transition: unset;
    -moz-transition: unset;
    -o-transition: unset;
    -ms-transition: unset;
    transition: unset;

    -webkit-transition: opacity 0.35s;
    -o-transition: opacity 0.35s;
    -moz-transition: opacity 0.35s;
    -ms-transition: opacity 0.35s;
    transition: opacity 0.35s;
}

.gsc-box-hover.industry-hover-box .backend {
    background-color: rgba(0,0,0,0.8);
}

.gsc-box-hover.industry-hover-box .backend,
.gsc-box-hover.industry-hover-box:hover .frontend .frontend-content,
.gsc-box-hover.industry-hover-box:active .frontend .frontend-content,
.gsc-box-hover.industry-hover-box:focus .frontend .frontend-content,
.gsc-box-hover.industry-hover-box.active .frontend .frontend-content {
    opacity: 0;
}

.gsc-box-hover.industry-hover-box .frontend .frontend-content,
.gsc-box-hover.industry-hover-box:hover .backend,
.gsc-box-hover.industry-hover-box:active .backend,
.gsc-box-hover.industry-hover-box:focus .backend,
.gsc-box-hover.industry-hover-box.active .backend {
    opacity: 1;
}