.tmnf_container,
.tmnf_slider_inside {
    max-width: 1500px;
    width: 100%;
    margin: 0 auto
}

.header_fullwidth .tmnf_container_head {
    max-width: 100%
}

.tmnf_cell {
    padding: 0 30px;
    position: relative
}

.show_menu {
    display: block;
    position: absolute;
    right: 30px;
    top: -55px
}

.header_minimal .show_menu {
    top: 16px
}

#navigation,
#additional_menu {
    display: none
}

#navigation {
    padding-top: 15px;
    padding-bottom: 10px
}

#additional_menu_mobile {
    padding-bottom: 20px
}

.tmnf_menu ul {
    display: none;
    list-style: none;
    padding-left: 0;
    text-align: left
}

.tmnf_menu li {
    padding: 7px 0;
    position: relative
}

.tmnf_menu .sub-menu ul {
    margin: 2px 0 2px 15px;
    display: block
}

.tmnf_menu .sub-menu li {
    padding: 2px 0
}

.tmnf_menu .sub-menu li.current-menu-item>a {
    font-weight: 700;
    text-decoration: underline !important
}

.tmnf_menu li ul li:before {
    content: "";
    position: absolute;
    left: 20px
}

.toggle_submenu {
    position: relative;
    float: right;
    cursor: pointer;
    background-color: rgba(255, 255, 255, .1);
    padding: 12px;
    height: 35px;
    width: 35px;
    font-size: 11px;
    transition: transform .3s ease;
    border-radius: 50%;
    line-height: 1.2 !important;
    margin-top: -2px
}

.toggle_submenu.tmnf_submenu_active {
    transform: rotate(180deg)
}

.tmnf_menu li.special>a {
    width: 100%;
    padding: 8px 15px
}

.tmnf_kill {
    pointer-events: none
}

#additional_menu_mobile a i {
    padding: 6px;
    margin: 0 8px 0 0;
    border-radius: 50%;
    font-size: 12px
}

@media screen and (min-width:480px) {
    .no_search_entry .tmnf_searchform {
        max-width: 400px
    }
}

@media screen and (min-width:768px) {
    .tmnf_content {
        width: 73%;
        float: left
    }

    .tmnf_sidebar {
        width: 27%;
        float: left
    }

    .tmnf_columns_2 .tmnf_item {
        width: 50%
    }

    .tmnf_columns_3 .tmnf_item {
        width: 33%
    }

    .tmnf_columns_4 .tmnf_item {
        width: 25%
    }

    .foocol {
        width: 16%
    }

    .foocol.last {
        width: 80%;
        padding-right: 50%
    }

    #tmnf_woo .tmnf_content {
        width: 75%
    }

    #tmnf_woo .tmnf_sidebar {
        width: 25%
    }

    .tmnf_sidebar_none .tmnf_content,
    .tmnf_sidebar_none .archive_subtitle {
        float: none;
        margin: auto
    }

    .tmnf_sidebar_none .tmnf_archive_title {
        text-align: center
    }

    #tmnf_core {
        margin-top: 80px
    }

    .foocol .sidebar_item:first-child {
        margin-top: 80px
    }

    .foocol .sidebar_item:last-child {
        margin-bottom: 80px
    }

    .tmnf_blog_item.has-post-thumbnail .tmnf_imgwrapper {
        margin: 0 -1px 0 0;
        width: 40%;
        height: 100%;
        min-height: 0;
        position: absolute;
        top: 0;
        left: 0
    }

    .tmnf_blog_item.has-post-thumbnail .tmnf_blog_item_inn,
    .tmnf_blog_item.has-post-thumbnail .tmnf_meta_row {
        margin: 0 0 0 calc(40% - 1px)
    }

    .tmnf_blog_item.has-post-thumbnail .tmnf_blog_item_inn {
        min-height: 250px
    }

    .tmnf_sidebar_left main {
        float: right
    }

    .tmnf_sidebar_none .tmnf_single_inn,
    .tmnf_sidebar_none .tmnf_page_header_inn {
        max-width: 900px;
        margin: auto
    }

    #tmnf_site.tmnf_sidebar_none .tmnf_page_header .tmnf_cell,
    .tmnf_page_header.tmnf_sidebar_none .tmnf_cell {
        text-align: center;
        margin: auto
    }

    .tmnf_page_header.tmnf_sidebar_none .tmnf_post_meta {
        display: inline-block
    }

    .tmnf_sidebar_none .alignfull {
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        width: auto;
        max-width: 1000%;
        margin-top: 25px;
        margin-bottom: 25px
    }

    .tmnf_sidebar_none .alignwide {
        margin-left: calc(38% - 25vw) !important;
        margin-right: calc(38% - 25vw) !important;
        width: auto;
        max-width: 1000%
    }

    .tmnf_sidebar_none_boxed .alignwide {
        margin-left: calc(38% - 30vw) !important;
        margin-right: calc(38% - 30vw) !important
    }

    .alignwide img,
    .alignfull img {
        display: block;
        margin: 0 auto;
        padding: 0
    }

    .wp-block-gallery.alignleft {
        margin-right: 30px !important
    }

    .wp-block-gallery.alignright {
        margin-left: 30px !important
    }

    .tmnf_sidebar_active .tmnf_sidebar_right .tmnf_entry,
    .tmnf_sidebar_active .tmnf_sidebar_left .tmnf_entry {
        padding-left: 15%;
        padding-right: 10%;
        border-width: 0 1px;
        position: relative;
        overflow: hidden;
        margin-bottom: 30px
    }

    .tmnf_sidebar_active .tmnf_sidebar_left .tmnf_entry {
        padding-left: 10%;
        padding-right: 15%
    }

    .tmnf_sidebar_active .tmnf_sidebar_right .tmnf_entry .addtoany_content {
        position: absolute;
        top: 0;
        left: 5%;
        width: 40px;
        margin: 0 0 0 -10px !important
    }

    .tmnf_sidebar_active .tmnf_sidebar_left .tmnf_entry .addtoany_content {
        position: absolute;
        top: 0;
        right: 5%;
        width: 40px;
        margin: 0 !important
    }

    .tmnf_page_header {
        margin-top: -1px;
        padding: 7vw 0 0
    }

    .tmnf_page_header_image {
        padding: 7vw 0 6.5vw
    }

    .events_2_columns .tmnf_cell {
        width: 50%
    }

    .events_2_columns .tmnf_cell:nth-child(2n+3) {
        clear: left
    }

    .events_3_columns .tmnf_cell {
        width: 33.33%
    }

    .events_3_columns .tmnf_cell:nth-child(3n+4) {
        clear: left
    }

    .events_4_columns .tmnf_cell {
        width: 25%
    }

    .events_4_columns .tmnf_cell:nth-child(4n+5) {
        clear: left
    }

    .tmnf_event_content .tmnf_event_head {
        padding: 35px 20px
    }

    .tmnf_event_content .tmnf_event_head>div {
        padding: 8px 20px;
        font-size: 18px !important
    }

    .tmnf_project_header {
        padding-top: 80px;
        padding-bottom: 40px
    }

    .tmnf_project_header .tmnf_container {
        max-width: 900px
    }

    .tmnf_folio_content {
        max-width: 900px
    }

    .tmnf_post_navigation {
        display: flex;
        justify-content: space-between
    }

    .tmnf_previous_post,
    .tmnf_next_post {
        width: 50%
    }

    .tmnf_next_post {
        border-width: 1px 1px 1px 0
    }

    .tmnf_related_item {
        width: 33.3%
    }

    .tmnf_related_item:last-of-type {
        display: inherit
    }

    .tmnf_links_credits {
        float: left;
        overflow: hidden
    }

    .footer_icons {
        overflow: hidden;
        float: right;
        margin: 0
    }

    .footer_icons .tmnf_social_menu li {
        margin: 35px 5px 35px 0
    }

    .footer_icons .tmnf_social_menu li a {
        width: auto;
        padding: 10px 15px
    }

    .footer_icons .tmnf_social_menu li a span {
        display: block
    }
}

@media screen and (min-width:992px) {
    .tmnf_item.format-quote .tmnf_post_inn {
        padding: 30px
    }

    .tmnf_blog_item.format-quote {
        padding: 60px
    }

    .author_box {
        padding: 35px 35px 35px 140px
    }

    .author_box_img {
        position: absolute;
        top: 35px;
        left: 35px
    }
}

@media screen and (min-width:1200px) {
    .tmnf_cell {
        padding: 0 40px
    }

    .tmnf_events {
        margin: 0 -40px
    }

    .tmnf_eleslider .owl-dots {
        margin: 0 0 0 -610px
    }

    .header_fullwidth .tmnf_container_head {
        padding: 0 1%
    }

    [class*=hero-cover] #header {
        position: absolute;
        width: 100%;
        background-color: rgba(0, 0, 0, .8);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px)
    }

    [class*=hero-cover] #header:not(.scrolled) {
        background: 0 0 !important
    }

    [class*=hero-cover] .tmnf_page_header {
        padding-top: 18vw
    }

    [class*=hero-cover] #navigation,
    [class*=hero-cover] #main_menu>li {
        border-color: rgba(255, 255, 255, .2)
    }

    [class*=hero-cover] #header .search_input {
        border-color: rgba(255, 255, 255, .2);
        background-color: rgba(0, 0, 0, .1);
        color: #fff
    }

    #header .tmnf_cell {
        display: flex;
        flex-direction: row;
        overflow: visible
    }

    #header.scrolled {
        -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, .1);
        -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, .1);
        box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, .1)
    }

    .title_part {
        margin-right: 60px;
        position: absolute
    }

    .header_minimal .title_part {
        margin-right: 60px;
        position: relative
    }

    .header_minimal #navigation {
        border-width: 0 0 0 1px
    }

    #header.header_minimal #additional_menu_mobile #menu-additional-menu {
        display: none !important
    }

    .header_fixed #header {
        position: fixed;
        width: 100%;
        top: 0
    }

    .header_fixed.header_classic #header.scrolled {
        top: -1px
    }

    .header_fixed #header .tmnf_cell_first,
    .header_fixed #header .search_nav_part {
        max-height: 500px;
        opacity: 1;
        -webkit-transition: all .3s ease;
        -moz-transition: all .3s ease;
        transition: all .3s ease
    }

    .header_fixed #header.scrolled .tmnf_cell_first,
    .header_fixed #header.scrolled .search_nav_part {
        max-height: 0;
        opacity: 0
    }

    [class*=hero-cover] .header_fixed .tmnf_header_fix {
        display: none
    }

    .header_fixed .tmnf_header_fix {
        height: 108px;
        display: block
    }

    .header_minimal.header_fixed .tmnf_header_fix {
        height: 20px
    }

    .search_nav_part {
        flex: 1
    }

    .navigation_part {
        width: 100%;
        display: block
    }

    #navigation {
        display: flex;
        flex-wrap: wrap;
        justify-content: normal
    }

    #navigation {
        z-index: 1;
        position: relative;
        padding-top: 0;
        padding-bottom: 0;
        border-style: solid;
        border-width: 1px 0 0 1px
    }

    .tmnf_menu {
        display: block;
        list-style-type: none;
        padding: 0;
        width: 100%
    }

    .tmnf_menu>li {
        margin-left: 10px
    }

    #main_menu>li {
        border-style: solid;
        border-width: 0 1px 0 0;
        margin: 0 0 -1px;
        display: block;
        float: left;
        padding: 0
    }

    #main_menu>li>a {
        padding: 30px 40px
    }

    .show_menu,
    .toggle_submenu {
        display: none
    }

    .tmnf_menu {
        list-style: none;
        padding: 0;
        margin: 0
    }

    .tmnf_menu li {
        display: inline-block;
        position: relative
    }

    .tmnf_menu li a {
        display: block;
        padding: 10px 15px;
        text-decoration: none;
        line-height: 1.2
    }

    .tmnf_menu ul {
        display: none;
        position: absolute;
        top: 90%;
        left: 15px;
        padding: 15px 25px;
        width: 250px
    }

    .tmnf_menu ul li {
        width: 100%;
        padding: 0 10px
    }

    .tmnf_menu .sub-menu ul {
        display: none
    }

    .tmnf_menu li:hover>ul {
        display: block;
        z-index: 9
    }

    .tmnf_menu ul ul {
        top: 0;
        left: 100%;
        margin: -15px 0 0 !important
    }

    .tmnf_menu li ul li a {
        display: block;
        padding: 8px 0;
        line-height: 1.4;
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, .1)
    }

    .tmnf_menu li ul li:last-child a {
        border-bottom: 1px solid rgba(255, 255, 255, 0)
    }

    .tmnf_menu li.menu-item-has-children a {
        position: relative;
        padding-right: 45px !important
    }

    .tmnf_menu li.menu-item-has-children>a:after {
        content: '';
        display: inline-block;
        width: 0;
        height: 0;
        content: '→';
        font-family: Arial, Helvetica, sans-serif !important;
        position: absolute;
        line-height: 1;
        font-size: 13px;
        top: calc(50% - 8px);
        right: 35px;
        transform: translateY(-50%)
    }

    .tmnf_menu .sub-menu li.menu-item-has-children>a:after {
        font-size: 12px
    }

    .tmnf_menu>li>ul:after {
        border-width: 8px 0 0 8px;
        border-color: transparent transparent transparent rgba(0, 0, 0, .2);
        border-style: solid;
        bottom: 100%;
        content: "";
        height: 0;
        position: absolute;
        left: 0;
        top: -8px;
        width: 0
    }

    .tmnf_menu li a:focus {
        outline: 2px solid rgba(0, 0, 0, .1)
    }

    .tmnf_menu li:focus-within>ul {
        display: block
    }

    .tmnf_menu li ul li a:focus {
        outline: 2px solid rgba(0, 0, 0, .3)
    }

    .tmnf_menu li.special:last-of-type {
        float: right !important
    }

    #additional_menu {
        float: right;
        display: block;
        margin-top: 0;
        text-align: left
    }

    #additional_menu .tmnf_menu li {
        padding: 5px 0
    }

    #additional_menu .tmnf_menu>li>a {
        padding: 5px 7px 5px 55px
    }

    #additional_menu a i {
        font-size: 20px;
        margin: 0;
        display: block;
        position: absolute;
        left: 0;
        top: 5px;
        border-radius: 50%;
        padding: 11px;
        width: 42px;
        height: 42px
    }

    .menu-item-description {
        opacity: .6;
        font-size: 12px !important;
        display: block;
        clear: both;
        font-weight: 500
    }

    #main_menu>li.tmnf_wide>.sub-menu {
        width: 460px
    }

    #main_menu>li.tmnf_wide>.sub-menu>li {
        width: 50%;
        float: left
    }

    #main_menu>li.tmnf_wide>.sub-menu>li ul {
        box-shadow: 0 0 10px 10px rgba(0, 0, 0, .1)
    }

    #main_menu>li.tmnf_wide>.sub-menu>li ul:after {
        border-style: solid;
        bottom: 100%;
        content: "";
        height: 0;
        position: absolute;
        left: -8px;
        top: 28px;
        width: 0;
        border-width: 8px 8px 8px 0;
        border-color: transparent rgba(0, 0, 0, .2) transparent transparent;
        transform: rotate(0deg)
    }

    #tmnf_core {
        margin-top: 140px
    }

    .tmnf_project_header {
        padding-top: 140px
    }

    main h1.tmnf_main_title {
        margin: 0 0 20px
    }

    .tmnf_archive_title {
        margin: 10px 0
    }

    .archive_subtitle {
        max-width: 65%
    }

    .tmnf_blog_item {
        margin: 0 0 60px
    }

    .tmnf_page_header .tmnf_cell {
        max-width: 75%
    }

    #sidebar .sidebar_item {
        padding: 35px
    }

    .tmnf_related_wrap {
        margin: 0 -30px;
        max-width: calc(100% + 60px)
    }

    .tmnf_related_item {
        padding: 0 30px
    }

    .tmnf_top_scroll {
        width: 70px;
        right: 100px;
        padding: 20px 20px 22px
    }

    ul#menu-widget-menu {
        margin: -35px
    }

    ul#menu-widget-menu>li>a {
        padding: 18px 35px
    }

    ul#menu-widget-menu ul.sub-menu {
        margin: 0 0 25px 55px
    }

    .tmnf_columns_2 .tmnf_repeater_section {
        width: 50%;
        float: left
    }

    .footer_bottom {
        padding: 0
    }
}