/* MAGAZINE WIDGETS */

.mag_item {
    position: relative;
}

.mag_item h3 {
    margin: 0 0 15px 0;
}

.mag_item.has-post-thumbnail h3 {
    margin-top: 10px;
}

.tmnf_titles_are_medium .mag_item .tmnf_excerpt p {
    font-size: 92%;
}

.tmnf_titles_are_small .mag_item .tmnf_excerpt p {
    font-size: 85%;
}

.tmnf_excerpt_disabled .mag_item .tmnf_excerpt p,
.tmnf_excerpt_disabled .mag_item .meta_more{
    display: none;
}

.mag_item .meta_more {
    margin:15px 0 5px 0;
}

.tmnf_center_text .meta_more{
    margin: 15px auto 5px auto;
    float: none;
    display: block;
    text-align: center;
}

.tmnf_center_text .meta_more a{
    max-width: 120px;
    float: none;
    margin: auto;
}

.mag_item.has-post-thumbnail .meta_categ {
    position: absolute;
    top: 20px;
    bottom: auto;
    left: 20px;
    margin: 0 0;
    max-width: 80%;
}

.tmnf_center_text .mag_item {
    text-align: center;
}


/* mag list */

.tmnf_mag_list .has-post-thumbnail .imgwrap {
    float: left;
    margin: 0 35px 5px 0;
    max-width: 35%;
}

.tmnf_mag_list .tmnf_img_right .has-post-thumbnail .imgwrap {
    float: right;
    margin: 0 0 5px 35px;
}

.tmnf_mag_list .has-post-thumbnail .meta_categ {
    top: 0;
    max-width: calc(35% - 14px);
}

.tmnf_mag_list .tmnf_img_right h3 {
    margin-top: 0;
}

/* mag plain */

.mag_item_plain.has-post-thumbnail h3 {
    margin-top: 0 !important;
}


/* mag grid + mosaic */

.tmnf_mag_grid.tmnf_columns_wrap {
    margin: 0 -4px !important;
    width: calc(100% + 8px) !important;
}

.tmnf_mag_grid .tmnf_column {
    padding: 4px 4px !important;
    margin: 0 0 0 0 !important;
}

.mag_item_grid {
    overflow: hidden;
    -webkit-box-shadow: inset 0px 0px 0px 1px #efefef;
    -moz-box-shadow: inset 0px 0px 0px 1px #efefef;
    box-shadow: inset 0px 0px 0px 1px #efefef;
}

.mag_item_overlay.has-post-thumbnail .imgwrap {
    margin: 0 -10px !important;
    width: calc(100% + 20px) !important;
    max-width: calc(100% + 20px) !important;
}

.mag_item_overlay .item_inn {
    padding: 25px 30px !important;
}
.mag_item_overlay.has-post-thumbnail .item_inn {
    position: absolute;
    bottom: 0;
    left: -10px;
    right: -10px;
    padding: 35px 40px !important;
}

.mag_item_grid h3 {
    margin: 0 0 !important;
}

.mag_item_grid img {
    opacity: .8;
}

.mag_item_grid:hover img {
    opacity: .3;
}

.mag_item_grid.has-post-thumbnail .meta_categ {
    left: 40px;
    max-width: 70%;
}


/* SLIDER */
.owl-carousel, .owl-carousel .owl-item {
    -webkit-tap-highlight-color: transparent;
    position: relative;
}
.owl-carousel {
    display: none;
    width: 100%;
    z-index: 1
}
.owl-carousel .owl-stage {
    position: relative;
    -ms-touch-action: pan-Y;
    -moz-backface-visibility: hidden
}
.owl-carousel .owl-stage:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0
}
.owl-carousel .owl-stage-outer {
    position: relative;
    -webkit-transform: translate3d(0, 0, 0)
}
.owl-carousel .owl-item, .owl-carousel .owl-wrapper {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0)
}
.owl-carousel .owl-item {
    min-height: 1px;
    float: left;
    -webkit-backface-visibility: hidden;
    -webkit-touch-callout: none
}
.owl-carousel .owl-item img {
    display: block;
}
.owl-carousel .owl-dots.disabled, .owl-carousel .owl-nav.disabled {
    display: none
}
.no-js .owl-carousel, .owl-carousel.owl-loaded {
    display: block
}
.owl-carousel .owl-dot, .owl-carousel .owl-nav .owl-next, .owl-carousel .owl-nav .owl-prev {
    cursor: pointer;
    cursor: hand;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}
.owl-carousel.owl-loading {
    opacity: 0;
    display: block
}
.owl-carousel.owl-hidden {
    opacity: 0
}
.owl-carousel.owl-refresh .owl-item {
    visibility: hidden
}
.owl-carousel.owl-drag .owl-item {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}
.owl-carousel.owl-grab {
    cursor: move;
    cursor: grab
}
.owl-carousel.owl-rtl {
    direction: rtl
}
.owl-carousel.owl-rtl .owl-item {
    float: right
}
.owl-carousel .animated {
    animation-duration: 1s;
    animation-fill-mode: both
}
.owl-carousel .owl-animated-in {
    z-index: 0
}
.owl-carousel .owl-animated-out {
    z-index: 1
}
.owl-carousel .fadeOut {
    animation-name: fadeOut
}
@keyframes fadeOut {
    0% {
        opacity: 1
    }
    100% {
        opacity: 0
    }
}
.owl-height {
    transition: height .5s ease-in-out
}
.owl-carousel .owl-item .owl-lazy {
    opacity: 0;
    transition: opacity .4s ease
}
.owl-carousel .owl-item img.owl-lazy {
    transform-style: preserve-3d
}
.owl-carousel .owl-video-wrapper {
    position: relative;
    height: 100%;
    background: #000
}
.owl-carousel .owl-video-play-icon:hover {
    -ms-transform: scale(1.3, 1.3);
    transform: scale(1.3, 1.3)
}
.owl-carousel .owl-video-playing .owl-video-play-icon, .owl-carousel .owl-video-playing .owl-video-tn {
    display: none
}
.owl-carousel .owl-video-tn {
    opacity: 0;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: opacity .4s ease
}
.owl-carousel .owl-video-frame {
    position: relative;
    z-index: 1;
    height: 100%;
    width: 100%
}

.owl-stage-outer {
    overflow: hidden;
}

.owl-nav>div {
    display: block;
    padding: 40px 5px;
    width: 50px;
    /* VAR */
    height: 95px;
    line-height: 1 !important;
    margin: 0 0;
    position: absolute;
    top: calc(50% - 45px);
    z-index: 2;
    overflow: hidden;
    opacity: 0;
    cursor: pointer;
    -webkit-transition: all .3s ease !important;
    -moz-transition: all .3s ease !important;
    transition: all .3s ease !important;
    background: rgba(255, 255, 255, .0);
    box-shadow: none !important;
    line-height: 1 !important;
    text-align: center;
    border-color: rgba(255, 255, 255, .05);
    border-width: 1px;
    border-style: solid;
}
.owl-nav .owl-prev {
    left: 30px;
}
.owl-nav .owl-next {
    right: 30px;
}
.owl-carousel:hover .owl-nav .owl-prev {
    left: 10px;
    opacity: 1;
}
.owl-carousel:hover .owl-nav .owl-next {
    right: 10px;
    opacity: 1;
}
.owl-carousel .owl-nav .owl-prev:before,
.owl-carousel .owl-nav .owl-next:before {
    font-size: 20px;
    line-height: 1 !important;
    position: absolute;
    top: 36px;
    left: 50%;
    margin-left: -8px;
}
.owl-carousel .owl-nav .owl-prev:before {
    content: "\2190";
}
.owl-carousel .owl-nav .owl-next:before {
    content: "\2192";
}

.tmnf_eleslider_wrap {
    position: relative;
}

.tmnf_eleslider_wrap>img {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -20px 0 0 -20px;
    fill: white;
}

.tmnf_eleslider .owl-item {
    opacity: 1;
    max-height: 860px;
    overflow: hidden;
    position: relative;
}

.tmnf_eleslider img.bg_image {
    width: 100%;
    opacity: .7;
}

.slider_overlay_small {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    /*transform:translate(1100px, 0) rotate(-135deg);*/
    opacity: .5;
}

.slider_overlay {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: .65;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0.65+0,0+100;Neutral+Density */
    background: -moz-linear-gradient(top,  rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */

}

.eleslideinside {
    position: absolute;
    top: 180px;
    left: 50%;
    width: 60%;
    max-width: 760px;
    text-align: left;
    margin: 0 0 0 -600px;
    /* VAR */
    padding: 0 20px;
    z-index: 2;
}

[class*="hero-cover"] .eleslideinside {
    margin-top:20px;
}

.tmnf_width_narrow .eleslideinside,
.tmnf_width_minimal .eleslideinside {
    width: 70%;
    text-align: center;
    margin: -50px 0 0 -390px;
    /* VAR */
}

.eleslideinside .tmnf_excerpt {
    opacity: .8
}

.eleslideinside p {
    font-size: 110%;
    line-height: 1.6;
    margin: 5px 0 40px 0;
}

.eleslideinside p span {
    font-size: 14px;
    margin: 0 15px;
}


.eleslideinside h1,
.eleslideinside h2,
.eleslideinside h3,
.eleslideinside h4,
.eleslideinside p,
.eleslideinside a:not(.mainbutton) {
    color: #fff !important;
    text-shadow: none;
}

.eleslideinside h1,
.eleslideinside h2,
.eleslideinside h3,
.eleslideinside h4 {
    line-height: 1.05;
}


.active.center h2, .active.center p, .active.center a.su-button {
    animation-duration: 0.9s;
    animation-name: slidein;
    animation-fill-mode: both;
}
.active.center p {
    animation-delay: .5s;
}
.active.center a.su-button {
    animation-delay: .9s;
}

.tmnf_gradient_slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: block;
    content: '';
    height: 100%;
    opacity: .5;
}

@keyframes slidein {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* dots navigation */

.tmnf_eleslider .owl-dots {
    position: absolute;
    z-index: 12;
    bottom: 0;
    left: 50%;
    margin: 0 0 0 0;
    border-width: 1px 0 0 0;
    border-style: solid;
    border-color: rgba(255, 255, 255, .4) ;
    line-height: 1.3;
    margin-left: -580px !important;
    max-width: 1200px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
}

.tmnf_dots_disabled .owl-dots {
    display: none;
}

.tmnf_eleslider .owl-dot {
    display: block;
    float: left;
    padding: 50px 45px 80px 65px;
    content: '';
    margin: 0 0 0 -1px;
    position: relative;
    opacity: .6;
    vertical-align: bottom;
    border-width: 0 0 0 0;
    border-style: solid;
    border-color: rgba(255, 255, 255, .3) ;
    counter-increment: step;
    transition-duration: 0.4s;
}

/* number/counter */
.tmnf_eleslider .owl-dot::before {
    content: counter(step, decimal);
    top: 5px;
    left: 5px;
    position: absolute;
    text-align: center;
    height: 50px;
    width: 50px;
    line-height: 2.3 !important;
    z-index: 3;
    font-size: 60px !important;
    transition-duration: 0.4s;
    opacity: .6;
}

.tmnf_eleslider .owl-dot.active {
    opacity: 1;
    border-color: rgba(255, 255, 255, .15) ;
    box-shadow: 0 0 50px rgba(0, 0, 0, .05);
}


/* loading */
.owl-carousel.loading {
    width: 100%;
    display: block !important;
    min-height: 550px;
    opacity: 1;
}

.owl-carousel.loading.owl-loaded:before {
    display: none;
}

.owl-carousel.loading>.eleinside {
    display: none;
}


/* elementor edit mode */
.elementor-edit-mode .tmnf_eleslider_wrap {
    background-color: #000;
}
.elementor-edit-mode .tmnf_eleslider_wrap>img {
    display: none;
}
.elementor-edit-mode .owl-carousel {
    display: block !important;
    overflow: hidden;
}
.elementor-edit-mode .eleinside {
    display: none;
}
.elementor-edit-mode .eleinside:first-child {
    display: block !important;
}
.elementor-edit-mode .eleinside img {
    display: block;
    width: 100% !important;
    max-width: 100% !important
}

.elementor-edit-mode .eleinside .eleslideinside img {
    display: block;
    width: auto !important;
    max-width: 100% !important
}


/* rewrite desktop */

@media screen and (max-width: 1380px) {

    .eleslideinside {
        position: absolute;
        left: 0;
        width: 60%;
        margin: 0 0 0 20px;
    }

    .eleinside img.bg_image {
        margin: 0 -10% !important;
        width: 120% !important;
        max-width: 120% !important;
    }

    .tmnf_width_narrow .eleslideinside,
    .tmnf_width_minimal .eleslideinside {
        margin: 0 0 0 0;
        left: 15%;
        max-width: 100%;
    }

    .tmnf_eleslider .owl-dots {
        left: 0;
        margin-left: 1px !important;
        width: calc(100% - 1px);
        max-width: calc(100% - 1px);
    }

    .owl-nav>div {
        width: 40px;
        height: 85px;
    }

    .owl-carousel .owl-nav .owl-prev::before, .owl-carousel .owl-nav .owl-next::before {
        font-size: 14px;
    }

}

@media screen and (max-width: 1275px) {

    .header_icon a {
        padding: 12px 10px 18px 10px;
        text-align: center;
        width: 60px;
    }

    .header_icon a span {
        display: none;
    }

    .header_icon i {
        margin: 0 0 0 0;
    }

}

@media screen and (max-width: 1155px) {

    .eleinside img.bg_image {
        margin: 0 -20% !important;
        width: 140% !important;
        max-width: 140% !important;
    }

    .eleslideinside {
        width: 70%;
    }
    
    [class*="hero-cover"] .eleslideinside {
        margin-top: 0;
    }

    .eleslideinside h1, .eleslideinside h2 {
        font-size: 70px !important;
    }

    .eleslideinside p {
        font-size: 100% !important;
    }

    .tmnf_eleslider .owl-dot {
        padding: 30px;
    }

    .tmnf_eleslider .owl-dot::before {
        display: none;
    }

    .mag_item_overlay h3 {
        font-size: 20px;
    }

    .tmnf_mag_list .has-post-thumbnail .imgwrap {
        margin: 0 20px 5px 0;
    }

    .tmnf_mag_list .tmnf_img_right .has-post-thumbnail .imgwrap {
        margin: 0 0 5px 20px;
    }


}

@media screen and (max-width: 1025px) {


    .eleinside img.bg_image {
        margin: 0 -40% !important;
        width: 180% !important;
        max-width: 180% !important;
    }

    .eleslideinside {
        margin: 0 0 0 20px;
    }

    .tmnf_eleslider .owl-dots {
        display: none;
    }

    .mag_item_grid.has-post-thumbnail p.meta_front {
        display: none;
    }

    .mag_item_grid h3 {
        font-size: 24px !important;
    }

}

@media screen and (max-width: 868px) {


    .eleinside img.bg_image {
        margin: 0 -60% !important;
        width: 220% !important;
        max-width: 220% !important;
    }

    .eleslideinside h1, .eleslideinside h2 {
        font-size: 60px !important;
    }

    .owl-carousel.loading {
        min-height: 200px;
    }

    .owl-carousel:hover .owl-nav .owl-prev {
        left: -2px;
    }
    .owl-carousel:hover .owl-nav .owl-next {
        right: -2px;
    }

    .folio_nav_item a i {
        display: none;
    }

    .eleslideinside {
        width: auto;
        right: 20px;
    }

    .mag_item_grid,
    .tmnf_column:first-child .mag_item_grid {
        border-width: 1px 1px 1px 1px;
        margin: 0 -1px -1px 0;
    }

    .tmnf_column:nth-child(2) .mag_item_grid,
    .tmnf_column:nth-child(4) .mag_item_grid {
        margin-right: 0 !important;
    }

    .tmnf_column:nth-child(3) .mag_item_grid,
    .tmnf_column:nth-child(4) .mag_item_grid {
        margin-bottom: 0 !important;
    }

}

@media screen and (max-width: 868px) {

    .tmnf_column_3:nth-last-of-type(1),
    .tmnf_column_5:nth-last-of-type(1){
        display: none;
    }


    .eleinside img.bg_image {
        margin: 0 -80% !important;
        width: 260% !important;
        max-width: 260% !important;
    }

    .eleslideinside {
        top: 15% !important;
    }

    .eleslideinside p,
    .eleslideinside h1,
    .eleslideinside h2,
    .eleslideinside h3,
    .eleslideinside h4,
    .eleslideinside h5,
    .eleslideinside h6 {
        margin: 0 0 15px 0 !important;
    }

    .eleslideinside h1,
    .eleslideinside h2 {
        font-size: 50px !important;
    }

    .eleslideinside a.mainbutton {
        display: inline-block;
        margin: 10px 0 0 0;
        padding: 12px 15px;
    }

    a.mainbutton::after {
        margin-left: 10px;
    }

    .eleslideinside img {
        margin: 0 auto 35px auto;
        max-width: 40% !important;
    }

}



@media screen and (max-width: 468px) {


    .eleinside img.bg_image {
        margin: 0 -100% !important;
        width: 300% !important;
        max-width: 300% !important;
    }

    .eleslideinside h1, .eleslideinside h2 {
        font-size: 36px !important;
    }

    .eleslideinside {
        top: 10% !important;
    }

    .tmnf_mag_list .has-post-thumbnail .imgwrap {
        float: none !important;
        margin: 0 0 15px 0 !important;
        max-width: 100%;
        width: 100%;
    }

    .mag_item_grid,
    .tmnf_column:first-child .mag_item_grid {
        margin: 0 0 -1px 0;
    }
}



/* FONTELLO */

@font-face {
    font-family: 'fontello';
    src: url('../webfonts/fontello.eot?81149198');
    src: url('../webfonts/fontello.eot?81149198#iefix') format('embedded-opentype'),
        url('../webfonts/fontello.woff2?81149198') format('woff2'),
        url('../webfonts/fontello.woff?81149198') format('woff'),
        url('../webfonts/fontello.ttf?81149198') format('truetype'),
        url('../webfonts/fontello.svg?81149198#fontello') format('svg');
    font-weight: normal;
    font-style: normal;
}
[class^="icon-"]:before, [class*=" icon-"]:before {
    font-family: "fontello";
    font-style: normal;
    font-weight: normal;
    speak: never;

    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    /* opacity: .8; */

    /* For safety - reset parent styles, that can break glyph codes*/
    font-variant: normal;
    text-transform: none;

    /* fix buttons height, for twitter bootstrap */
    line-height: 1em;

    /* Animation center compensation - margins should be symmetric */
    /* remove if not needed */
    margin-left: .2em;

    /* you can be more comfortable with increased icons size */
    /* font-size: 120%; */

    /* Font smoothing. That was taken from TWBS */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* Uncomment for 3D effect */
    /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

.icon-left:before {
    content: '\2190';
}
/* '←' */
.icon-up:before {
    content: '\2191';
}
/* '↑' */
.icon-right:before {
    content: '\2192';
}
/* '→' */
.icon-down:before {
    content: '\2193';
}
/* '↓' */