.clear {
    clear: both;
    overflow: hidden;
    height: 0px;
    font-size: 0px;
    display: block;
}

html.overflow-hidden body {
    overflow: hidden;
}

/*helper classes*/

.nopadding,
.nopadding>*[class*="col"] {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
}

.line-through {
    display: inline-block;
    position: relative;
}

.line-through:after {
    position: absolute;
    width: 100%;
    height: 1px;
    left: 0;
    top: 50%;
    background: currentColor;
    content: "";
}

.clearfix:after {
    content: "";
    display: block;
    clear: both;
}

.valign-middle {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    align-items: center;
}

.page-height {
    position: relative;
}

.full-size {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.hidden {
    display: none!important;
}

.visible {
    display: block!important;
}

.inline-indent {
    width: 10px;
    height: 1px;
    background: currentColor;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    position: relative;
    top: -1px;
}

.fixed-background {
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
}

body.mobile .fixed-background {
    background-attachment: scroll;
}

.label {
    white-space: normal;
}


/*loader*/

#loader-wrapper {
    position: fixed;
    left: -100px;
    top: -100px;
    right: -100px;
    bottom: -100px;
    background: #fff;
    z-index: 12;
}



/*mouseover*/

.mouseover {
    overflow: hidden;
    background-size: cover;
    background-position: center top;
}

.mouseover:after {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    content: "";
}

.mouseover:hover:after {
    background: rgba(0, 0, 0, .4);
}

.mouseover:hover:before {
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    opacity: 1;
}

.mouseover-helper-frame {
    z-index: 1;
    position: absolute;
    left: 40px;
    top: 40px;
    right: 40px;
    bottom: 40px;
    opacity: 0;
}

.mouseover:hover .mouseover-helper-frame {
    opacity: 1;
}

.mouseover-helper-frame:before,
.mouseover-helper-frame:after {
    border: 1px rgba(255, 255, 255, .4) solid;
    content: "";
    position: absolute;
    width: 0%;
    height: 0%;
}

.mouseover:hover .mouseover-helper-frame:before,
.mouseover:hover .mouseover-helper-frame:after {
    width: 100%;
    height: 100%;
}

.mouseover-helper-frame:before {
    border-top-color: transparent;
    border-right-color: transparent;
    left: 0;
    bottom: 0;
}

.mouseover-helper-frame:after {
    border-bottom-color: transparent;
    border-left-color: transparent;
    right: 0;
    top: 0;
}

.mouseover-helper-icon {
    width: 69px;
    height: 69px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -34.5px 0 0 -34.5px;
    z-index: 1;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    opacity: 0;
}

.mouseover-helper-icon:before {
    width: 100%;
    height: 1px;
    left: 50%;
    margin-left: -34.5px;
    top: 34px;
    content: "";
    background: #fff;
    position: absolute;
}

.mouseover-helper-icon:after {
    height: 100%;
    width: 1px;
    top: 50%;
    margin-top: -34.5px;
    left: 34px;
    content: "";
    background: #fff;
    position: absolute;
}

.mouseover:hover .mouseover-helper-icon {
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    opacity: 1;
}

body.mobile .mouseover .mouseover-helper-frame,
body.mobile .mouseover .mouseover-helper-icon,
body.mobile .mouseover:after {
    display: none;
}

.mouseover-simple {
    position: relative;
    display: inline-block;
    white-space: nowrap;
}

.mouseover-simple:after,
.mouseover-simple:before {
    content: "";
    position: absolute;
    height: 1px;
    right: 50%;
    left: 50%;
    background: currentColor;
    top: 50%;
}

.mouseover-simple.size-1:after,
.mouseover-simple.size-1:before {
    height: 2px;
    margin-top: -2px;
}

.mouseover-simple:before {
    left: 50%;
    right: 50%;
}

.mouseover-simple:hover:after,
.mouseover-simple.active:after {
    left: -5px;
}

.mouseover-simple:hover:before,
.mouseover-simple.active:before {
    right: -5px;
}

/*poster 3d*/

.poster-3d *,
.poster-3d *:after,
.poster-3d *:before,
.poster-3d:after {
    transition-delay: 0s!important;
    -webkit-transition-delay: 0s!important;
}

.poster-3d.mouseover:hover:after {
    background: rgba(0, 0, 0, .15);
}

.poster-3d *[class*="layer-"] {
    z-index: 1;
}

.poster-3d:not(.animation-disabled),
.poster-3d:not(.animation-disabled) *[class*="layer-"] {
    -webkit-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
}

.poster-3d.shadow:hover {
    box-shadow: 0 45px 100px rgba(0, 0, 0, 0.4);
}

.poster-3d .shine {
    opacity: 0;
    z-index: 1;
}

.poster-3d:hover .shine {
    opacity: 1;
}


/**/

.title-line {
    margin-bottom: 30px;
}

.title-line span {
    height: 5px;
    width: 30px;
    display: inline-block;
    vertical-align: bottom;
    background: currentColor;
}


header {
    z-index: 10;
    position: relative;
    vertical-align: middle;
}

@media (max-width: 767px) {
    .header-empty-space {
        height: 65px;
    }
}


/*-------------------------------------------------------------------------------------------------------------------------------*/


/* 04 - OVERLAY MENUS */


/*-------------------------------------------------------------------------------------------------------------------------------*/

.overlay {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    bottom: 0px;
    visibility: hidden;
    opacity: 0;
    z-index: 11;
}

.overlay.frame {
    left: 30px;
    top: 30px;
    right: 30px;
    bottom: 30px;
    width: auto;
}

.overlay .animation-wrapper {
    background: rgba(34, 34, 34, .95);
    transform: perspective(1000px) rotateX(66deg) scale(0.3) skewX(32deg) skewY(-40deg) rotateY(12deg);
    -webkit-transform: perspective(1000px) rotateX(66deg) scale(0.3) skewX(32deg) skewY(-40deg) rotateY(12deg);
}

.overlay.active {
    visibility: visible;
    opacity: 1;
}

body.mobile .overlay {
    left: -100%;
}

body.mobile .overlay.active {
    left: 0%;
}

body.mobile .overlay.frame.active {
    left: 30px;
}

.overlay.active .animation-wrapper {
    transform: perspective(1000px) rotateX(0deg) scale(1) skewX(0deg) skewY(0deg) rotateY(0deg);
    -webkit-transform: perspective(1000px) rotateX(0deg) scale(1) skewX(0deg) skewY(0deg) rotateY(0deg);
}

.overlay .content-wrapper {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
    opacity: 0;
}

.overlay.active .content-wrapper {
    opacity: 1;
}

.overlay .cell-view.page-height {
    padding: 50px 0 15px 0;
}

.overlay.frame .overlay-cell-align {
    margin-top: -60px;
}

.overlay.frame .cell-view.page-height {
    padding-top: 110px;
}

@media (min-width: 992px) {
    .overlay nav {
        display: block;
        margin-top: -8px;
    }
    .overlay nav > ul > li {
        padding-bottom: 26px;
        margin-right: 0;
    }
    .overlay nav > ul > li > a {
        font-size: 18px;
        color: #fff;
        line-height: 36px;
    }
    .overlay nav > ul > li > a:before {
        position: absolute;
        width: 0%;
        height: 1px;
        background: #fff;
        content: "";
        left: 0;
        bottom: 0;
    }
    .overlay nav > ul > li:hover > a:before,
    .overlay nav > ul > li.active > a:before {
        width: 100%;
    }
    .overlay nav li {
        float: none;
        margin-left: 0!important;
    }
}

.overlay nav.single-column > ul > li:hover > a:before {
    width: 0;
}

.overlay nav.single-column > ul > li > a:hover:before,
.overlay nav.single-column > ul > li.active > a:before {
    width: 100%;
}

.overlay .megamenu-wrapper {
    position: relative;
}

.overlay .megamenu {
    right: auto;
    left: 100%;
    top: 0;
}

.overlay nav>ul>li:nth-child(4) .megamenu,
.overlay nav>ul>li:nth-child(5) .megamenu,
.overlay nav>ul>li:nth-child(6) .megamenu,
.overlay nav>ul>li:nth-child(7) .megamenu,
.overlay nav>ul>li:nth-child(8) .megamenu {
    top: auto;
    bottom: 0;
}

.overlay nav>ul>li>ul {
    left: 100%;
    margin-left: 0;
    top: 0;
}

.overlay nav>ul>li:nth-child(4)>ul,
.overlay nav>ul>li:nth-child(5)>ul,
.overlay nav>ul>li:nth-child(6)>ul,
.overlay nav>ul>li:nth-child(7)>ul,
.overlay nav>ul>li:nth-child(8)>ul {
    top: auto;
    bottom: 0;
}

.overlay .button-close {
    position: fixed;
    z-index: 2;
}
.overlay.frame .button-close {
    top: 30px;
    right: 30px;
}
.portfolio-3 {
    margin: 0 -50px;
}
.portfolio-3 .sorting-item {
    padding: 0 50px;
}
.portfolio-3 .sorting-item,
.portfolio-3 .grid-sizer {
    width: 50%;
}
.portfolio-landing-entry-2 {
    height: 500px;
    position: relative;
    max-width: 860px;
    margin: 0 auto;
}
.portfolio-landing-entry-2 .mouseover {
    float: left;
    width: 50%;
    height: inherit;
}
.portfolio-landing-entry-2 .text-content {
    float: left;
    width: 50%;
    position: relative;
    height: inherit;
}
.portfolio-landing-entry-2 .text-content .align {
    height: inherit;
    margin: 0 30px;
    position: relative;
}
.portfolio-landing-entry-2 .text-content .top {
    position: absolute;
    left: 0;
    right: 0;
    top: 20px;
}
.portfolio-landing-entry-2 .text-content .middle {
    height: inherit;
}
.portfolio-landing-entry-2 .text-content .middle .valign-text-wrapper {
    padding: 0;
}
.portfolio-landing-entry-2 .text-content .bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
}

/*Desktops (>=992px)*/

@media (max-width: 1199px) {
    .portfolio-3 .sorting-item,
    .portfolio-3 .grid-sizer {
        width: 100%;
    }
}
/* Tablets (>=768px)*/

@media (max-width: 991px) {
    .portfolio-3 {
        margin: 0 -15px;
    }
    .portfolio-3 .sorting-item {
        padding: 0 15px;
    }
}

/*Phones (<768px)*/

@media (max-width: 767px) {
    .portfolio-3 {
        margin: 0;
    }
    .portfolio-3 .sorting-item {
        padding: 0;
    }
    .portfolio-landing-entry-2 {
        max-width: 430px;
        height: auto;
    }
    .portfolio-landing-entry-2 .mouseover,
    .portfolio-landing-entry-2 .text-content {
        width: auto;
        float: none;
        height: auto;
        padding-bottom: 116%;
        display: block;
    }
    .portfolio-landing-entry-2 .text-content {
        padding-bottom: 0;
    }
    .portfolio-landing-entry-2 .text-content .top,
    .portfolio-landing-entry-2 .text-content .bottom {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        width: 100%;
    }
    .portfolio-landing-entry-2 .text-content .align {
        margin: 0;
    }
}