/*
Theme Name: Narodni Muzej
Theme URI: https://narodnimuzej.rs/
Author: NextGame
Author URI: https://nextgame.rs/
Description: Oficijalna tema narodnog muzeja Srbije
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nm
Tags: one-column, two-columns, featured-images, footer-widgets, sticky-post, theme-options, threaded-comments, translation-ready
*/
@font-face { font-family: "ResavskaSSans-Black"; src: url("fonts/ResavskaSSans-Black.woff2") format("woff2"), url("fonts/ResavskaSSans-Black.woff") format("woff"), url("fonts/ResavskaSSans-Black.otf") format("opentype"); font-style: normal; font-weight: 400; }
@font-face { font-family: "ResavskaSSans-Light"; src: url("fonts/ResavskaSSans-Light.woff2") format("woff2"), url("fonts/ResavskaSSans-Light.woff") format("woff"), url("fonts/ResavskaSSans-Light.otf") format("opentype"); font-style: normal; font-weight: 400; }
@font-face { font-family: "ResavskaSSans-Medium"; src: url("fonts/ResavskaSSans-Medium.woff2") format("woff2"), url("fonts/ResavskaSSans-Medium.woff") format("woff"), url("fonts/ResavskaSSans-Medium.otf") format("opentype"); font-style: normal; font-weight: 400; }
/* helpers */
.clearfix:after { width: 100%; clear: both; content: " "; display: table; }

/* styles */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { /* Adjust font size */ font-size: 100%; text-size-adjust: 100%; /* Font varient */ font-variant-ligatures: none; /* Smoothing */ text-shadow: rgba(0, 0, 0, 0.01) 0 0 1px; text-rendering: optimizeLegibility; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; font-smoothing: antialiased; }

body { color: #000; font-size: 16px; font-weight: 400; line-height: 1.5; font-family: "ResavskaSSans-Medium", sans-serif; transition: padding-top ease .44s; background: #fff; }
body.padded { padding-top: 120px; }

h4 { font-size: 36px; margin-bottom: 24px; }

ul { list-style: none; }

p { margin-bottom: 20px; }

a { color: inherit; text-decoration: none; }

a, input { outline: none; }

img { height: auto; max-width: 100%; }

iframe { display: block; max-width: 100%; }

/* global */
.container { margin: 0 auto; padding: 30px 6%; max-width: 1920px; }

.learn-more { color: #364F56; font-size: 18px; font-family: "ResavskaSSans-Black"; }
.learn-more i { font-weight: 100; transition: all ease .4s; }
.learn-more:hover i { padding-left: 8px; }

.button { line-height: 1; padding: 15px 25px; background: #364F56; display: inline-block; }

.wp-caption-text { font-size: 15px; font-style: italic; }

.alignleft { float: left; clear: left; margin-right: 15px; }

.alignright { float: right; clear: right; margin-left: 15px; }

.text-center { text-align: center; }

.text-right { text-align: right; }

.half { width: 50%; float: left; padding: 0 30px; }
.half:nth-child(even) { border-left: 1px solid #364F56; }

.map { margin-bottom: 30px; }

/* header */
.top-search { top: -120px; position: fixed; background: #364F56; transition: top ease .22s; padding: 40px; height: 120px; width: 100%; }
.top-search.live { top: 0; }
.logged-in .top-search.live { top: 32px; }
.top-search form { color: #fff; display: block; }
.top-search form input { width: 99%; color: #fff; padding: 12px; font-size: 16px; line-height: 24px; background: transparent; border: none; border-bottom: 1px solid #fff; }
.top-search form input:focus + button { visibility: hidden; opacity: 0; }
.top-search form button { transition: all ease .24s; background: transparent; position: absolute; font-size: 24px; line-height: 1; border: none; height: 100%; color: #fff; right: 20px; top: 0; }

#header { color: #fff; transition: top ease .44s; position: absolute; z-index: 95; width: 100%; left: 0; top: 0; }
.logged-in #header { top: 32px; }
#header.low { top: 120px; }
.logged-in #header.low { top: 152px; }
#header .logo img { height: auto; max-width: 162px; }
#header .logo.eng img { max-width: 184px; }
#header .socials, #header .search-lang { float: right; padding-top: 24px; margin-left: 40px; }
#header .socials { padding-top: 26px; }
#header .socials a { padding: 0 5px; display: inline-block; }
#header .search-lang { margin-left: 60px; }
#header .search-lang .search-toggle, #header .search-lang .langs { margin-left: 20px; position: relative; display: inline-block; }
#header .search-lang #lang_sel_list { height: auto; display: inline-block; font-family: "ResavskaSSans-Medium"; }
#header .search-lang #lang_sel_list a { background: none; }
#header .search-lang #lang_sel_list ul li { float: none; display: inline-block; padding: 0 4px !important; }
#header .search-lang #lang_sel_list ul a { color: #fff; font: inherit; line-height: 1.5; background: none; text-transform: capitalize; }
#header .search-lang #lang_sel_list ul a:visited { background: none; }
#header .search-lang .latinic { margin-left: 5px; }
#header .main-menu { float: right; }
#header .main-menu li { padding: 25px 10px; position: relative; display: inline-block; }
#header .main-menu li.menu-item-has-children:after { transform: rotate(90deg); display: inline-block; margin-left: 4px; content: "\203A"; }
#header .main-menu li .sub-menu { display: none; min-width: 200%; background: #fff; position: absolute; top: 100%; left: 0; }
#header .main-menu li .sub-menu li { color: #364F56; display: block; padding: 10px; }
#header .main-menu li:hover .sub-menu { display: block; }
.logged-in #header { top: 32px; }

.slider { width: 100%; overflow: hidden; min-height: 420px; max-height: 820px; position: relative; background: #9C9C9C; }
.home .slider { margin-bottom: 20px; }
.slider .slide { color: #fff; min-height: 420px; position: relative; }
.slider .slide:before { background: rgba(0, 0, 0, 0.3); position: absolute; content: " "; height: 101%; width: 100%; left: 0; top: 0; }
.slider .slide .info { max-width: 740px; transform: translate(-50%, -50%); text-align: center; position: absolute; left: 50%; top: 55%; }
.slider .slide .info h1 { font-size: 64px; margin-bottom: 32px; }
.slider .slide .info h1.alone { margin: 0; }
.slider .slide .info p { line-height: 2; margin-bottom: 40px; }
.slider .slide .info-hours { padding: 15px; background: #364F56; color: #fff; font-size: 24px; position: absolute; bottom: 5%; left: 5%; }
.slider .slide .info-hours span { font-weight: 500; display: block; }
.slider .slide video { height: auto; max-width: 100%; }
.slider .slide .video-controler { opacity: 0; width: 64px; height: 64px; margin: -32px; display: block; transition: all ease .2s; background: url("img/play.svg") no-repeat center; background-size: cover; position: absolute; left: 50%; top: 50%; }
.slider .slide .video-controler.paused { background: url("img/pause.svg") no-repeat center; }

.slick-dots { width: 100%; text-align: center; position: absolute; bottom: 20px; left: 0; }
.slick-dots li { width: 150px; height: 5px; margin: 0 7px; cursor: pointer; background: #E9E5DB; display: inline-block; transition: background ease .24s; }
.slick-dots li.slick-active { background: #364F56; }
.slick-dots li button { font-size: 0; display: none; }

.post-content ul, .site-content ul { list-style: disc; padding-left: 30px; margin-bottom: 20px; }
.post-content a, .site-content a { color: #364F56; }
.post-content a:hover, .site-content a:hover { color: inherit; text-decoration: underline; }

.site-content { color: #000; }

.archive-content { padding: 120px 0 0; }
.archive-content.days { padding: 0; }
.archive-content.days article { margin-bottom: 20px; }
.archive-content.days article .learn-more { color: #fff; float: right; }
.archive-content.days .day-schedule { color: #E0E0E0; padding: 20px; font-size: 36px; text-align: center; text-transform: uppercase; background: #364F56; }
.archive-content article { padding: 15px 0; overflow: hidden; }
.archive-content article:nth-child(odd) { background: #E0E0E0; }
.archive-content article .entry-thumbnail, .archive-content article .entry-content { width: 66%; float: left; padding: 0 64px; }
.archive-content article .entry-thumbnail { width: 33%; overflow: hidden; border-right: 1px solid #000; }
.archive-content article .entry-thumbnail img { float: right; display: block; }
.archive-content article .entry-date { color: #364F56; margin-bottom: 15px; }
.archive-content article .entry-title { font-size: 36px; margin-bottom: 30px; text-transform: uppercase; }
.archive-content article .entry-content { margin-bottom: 15px; }

.boxes { display: flex; }
.boxes.news, .boxes.related.slick-slide { display: flex !important; }
.boxes .box { flex: 1; margin: 0 10px; background-color: #C4C4C4; }
.boxes .box:first-child { margin: 0 10px 0 0; }
.boxes .box:last-child { margin: 0 0 0 10px; }
.boxes .box.marginalized { position: relative; }
.boxes .box.marginalized:after { width: 2px; height: 80%; content: " "; background: #364F56; position: absolute; right: -11px; top: 10%; }
.boxes .box.marginalized:last-child:after { content: none; }

.text { top: 50%; left: 50%; max-width: 500px; position: absolute; transform: translate(-50%, -50%); }

.diptih { margin-bottom: 20px; }
.diptih .hlf { min-height: 480px; position: relative; background: transparent; }
.diptih .hlf .text { top: 30px; max-width: 480px; transform: translate(-50%, 0); }
.diptih .hlf h4 { margin-bottom: 25px; }
.diptih .hlf h6 { color: #4F4F4F; font-size: 14px; font-weight: 400; margin-bottom: 40px; text-transform: uppercase; }
.diptih .hlf p { line-height: 2; margin-bottom: 40px; }

.latest-news, .related-news { margin-bottom: 80px; }
.latest-news .slick-dots, .related-news .slick-dots { bottom: -40px; text-align: right; padding-right: 80px; }
.latest-news .slick-dots li, .related-news .slick-dots li { width: 75px; }

.categories, .home-categories { text-align: center; margin-bottom: 20px; }
.categories .cat, .home-categories .cat { overflow: hidden; position: relative; }
.categories .cat img, .home-categories .cat img { display: block; transition: transform ease .4s; }
.categories .cat h4, .categories .cat .learn-more, .home-categories .cat h4, .home-categories .cat .learn-more { width: 100%; position: absolute; top: 30px; left: 0; }
.categories .cat h4, .home-categories .cat h4 { font-size: 30px; padding: 0 25px; }
.categories .cat .learn-more, .home-categories .cat .learn-more { bottom: 30px; top: auto; }
.categories .cat:hover img, .home-categories .cat:hover img { transform: scale(1.2); transition: transform ease 1s; }

.categories { overflow: hidden; text-align: left; padding-top: 20px; }
.categories .cat { float: left; width: 24.25%; margin-left: 1%; margin-bottom: 20px; position: relative; }
.categories .cat:nth-child(4n+1) { margin-left: 0; clear: left; }
.categories .cat h4 span { display: block; font-size: 18px; font-family: "ResavskaSSans-Light"; }
.categories .cat .learn-more { padding-left: 20px; }

.redirect { margin: 0 0 20px; }
.redirect .rdrct { color: #fff; text-align: center; padding: 75px 25px; background: #364F56; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(255, 255, 255, 0) 100%), #173F48; transition: background ease .4s; }
.redirect .rdrct:hover { background: #364F56; }
.redirect .rdrct .icon { margin-bottom: 10px; }
.redirect .rdrct h4 { min-height: 40px; margin-bottom: 10px; }
.redirect .rdrct .learn-more { color: #fff; }

.read-more { margin-bottom: 20px; }
.read-more .interesting { margin: 20px 0; }
.read-more .interesting .interest { color: #fff; padding: 75px 80px; position: relative; filter: grayscale(1); background-size: cover; background-position: center; background-repeat: no-repeat; transition: filter ease .88s; }
.read-more .interesting .interest:before { top: 0; left: 0; width: 100%; height: 100%; content: " "; position: absolute; background: rgba(0, 0, 0, 0.3); }
.read-more .interesting .interest:hover { filter: grayscale(0); }
.read-more .interesting .interest h4 { position: relative; margin-bottom: 40px; }
.read-more .interesting .interest .learn-more { color: #fff; bottom: 40px; position: absolute; }

.projects { margin-bottom: 120px; }
.projects .diptih { color: #fff; }
.projects .diptih .hlf { min-height: 340px; }
.projects .diptih .hlf img { opacity: 0; }
.projects .diptih .hlf .text { top: auto; left: 25%; bottom: 5%; transform: translate(-25%, 0); }
.projects .diptih .hlf .text .learn-more { color: #fff; }

#tabs { overflow: hidden; margin-bottom: 75px; }
#tabs ul { width: 25%; float: left; }
#tabs ul li { text-align: right; margin-bottom: -1px; background: #C4C4C4; border: 1px solid #364F56; }
#tabs ul li.ui-tabs-active { color: #fff; background: #364F56; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(255, 255, 255, 0) 100%), #173F48; transition: background ease .4s; }
#tabs ul li.ui-tabs-active:hover { background: #364F56; }
#tabs ul li a { display: block; padding: 45px 25px; text-transform: uppercase; }
#tabs .tab-content { width: 75%; float: left; position: relative; background-size: cover; background-position: center; background-repeat: no-repeat; }
#tabs .tab-content:before { top: 0; left: 0; width: 100%; height: 100%; content: " "; position: absolute; background-color: rgba(54, 79, 86, 0.5); }
#tabs .tab-content .text, #tabs .tab-content .learn-more { color: #fff; }
#tabs .tab-content h5 { font-size: 36px; margin-bottom: 20px; }

.post-content { padding: 60px 20% 0; margin-bottom: 60px; line-height: 22px; font-family: "ResavskaSSans-Light"; font-size: 18px; }
.post-content.shortened-content { position: relative; max-height: 370px; overflow: hidden; }
.post-content.shortened-content .learn-more { width: 100%; display: block; background: #fff; line-height: 20px; padding-top: 10px; text-align: center; position: absolute; bottom: 0; left: 0; }
.post-content.shortened-content .learn-more:after { content: "\203A"; margin-left: 4px; display: inline-block; transform: rotate(90deg); transition: transform ease .4s; }
.post-content.shortened-content.whole { max-height: none; }
.post-content.shortened-content.whole .learn-more:after { transform: rotate(270deg); }
.post-content.shortened-content p:last-of-type { margin-bottom: 40px; }
.post-content.post-children li { line-height: 2; }
.post-content.post-children a { color: #364F56; text-transform: uppercase; }
.post-content h3 { margin-bottom: 24px; }
.post-content iframe { margin: 0 auto 20px; }

.pagination { text-align: center; }
.pagination .pagi-links { padding: 30px 0; font-size: 18px; }
.pagination .pagi-links .page-numbers { padding: 0 20px; font-family: "ResavskaSSans-Light"; display: inline-block; }
.pagination .pagi-links .page-numbers .active { text-decoration: underline; font-family: "ResavskaSSans-Black"; }

.gallery { margin-bottom: 30px !important; }
.gallery .gallery-caption { font-size: 16px; }

.large-gallery { opacity: 0; width: 1680px; width: 1440px; margin: 0 auto 120px; transition: opacity ease .4s; }
.large-gallery a { display: block; margin-bottom: 20px; }
.large-gallery a img { transition: all ease .6s; will-change: transform, box-shadow; }
.large-gallery a:hover { z-index: 6; }
.large-gallery a:hover img { transform: scale(1.01); transition: all ease 1.2s; box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12), 0 10px 10px rgba(0, 0, 0, 0.11); }

.contact-content { font-size: 36px; text-align: center; }
.contact-content h3 { color: #364F56; font-size: 48px; text-transform: uppercase; }

.contact-fields { line-height: 2; overflow: hidden; margin-bottom: 60px; }

.museums { text-align: center; }
.museums .ui-tabs-nav { list-style: none; padding: 44px 10% 0; background: #F3F0EE; box-shadow: 0 0 4px rgba(0, 0, 0, 0.12), 0 4px 4px rgba(0, 0, 0, 0.24); }
.museums .ui-tabs-nav li { margin: 0 30px; display: inline-block; border-bottom: 3px solid transparent; }
.museums .ui-tabs-nav li a { color: #364F56; font-size: 18px; line-height: 1; display: block; padding: 60px 0 30px; }
.museums .ui-tabs-nav li.ui-tabs-active { font-weight: 500; border-bottom: 3px solid #000; }
.museums .tab-content { padding: 50px 10% 0; }
.museums .tab-content h2 { color: #364F56; font-size: 48px; text-transform: uppercase; }
.museums .tab-content h4 { color: #364F56; font-size: 36px; }
.museums .tab-content p:last-child { margin-bottom: 0; }

.event-nav { padding: 0 7.5%; margin-bottom: 40px; background: #F3F0EE; box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.12), 0px 4px 4px rgba(0, 0, 0, 0.24); }
.event-nav .event-pagination { padding: 44px 0; font-size: 24px; text-align: center; position: relative; border-bottom: 1px solid #000; }
.event-nav .event-pagination h3 { font-size: 36px; text-transform: uppercase; }
.event-nav .event-pagination a { top: 50px; position: absolute; }
.event-nav .event-pagination a.prev-step { left: 0; }
.event-nav .event-pagination a.next-step { right: 0; }
.event-nav .event-pagination a .dashicons { font-size: 36px; }
.event-nav .event-filters { display: flex; padding-top: 10px; }
.event-nav .event-filters a { flex: 1; padding: 0 10px; line-height: 50px; text-align: center; display: inline-block; border-bottom: 4px solid #F3F0EE; }
.event-nav .event-filters a.active { position: relative; border-bottom: 4px solid #364F56; }
.event-nav .event-filters a.active:before { right: 10px; position: absolute; display: inline-block; font-weight: 300; content: "\2716"; }

footer { color: #fff; background: #333; padding: 80px 0 0; }
footer .wrapper { overflow: hidden; max-width: 1920px; }
footer .wrapper .block { float: left; padding: 0 10px; position: relative; }
footer .wrapper .block img { max-width: 162px; }
footer .wrapper .block.footer-logo { width: 25%; padding-top: 0; text-align: center; }
footer .wrapper .block.footer-logo p { line-height: 1; margin: 20px 0 0; }
footer .wrapper .block.menu-mid { width: 20%; }
footer .wrapper .block.menu-small { width: 15%; }
footer .wrapper .block.menu-large { width: 25%; }
footer .menu { position: relative; padding-bottom: 40px; }
footer .menu li { font-size: 20px; text-transform: uppercase; margin-bottom: 20px; }
footer .menu .sub-menu { color: #E0E0E0; margin: 20px 0; }
footer .menu .sub-menu li { font-size: 16px; margin-bottom: 10px; text-transform: initial; }
footer .menu .sub-menu li:hover { text-decoration: underline; }
footer .bottom-links { bottom: 0; left: 10px; min-width: 200%; position: absolute; }
footer .bottom-links p { margin: 0; line-height: 1.25; }
footer .bottom-links a { display: inline-block; }
footer .bottom-links a:not(:first-child) { margin-left: 4px; }
footer .icon-pobednik {max-width: 75px!important; padding-top: 20px;} 