@media only screen and (max-width: 1700px) {
    .sidebar-cats {
        right: 0;
    }

    .sidebar-cats + .similar-news {
        max-width: 100%;
    }

    .with-sidebar article {
        max-width: 1100px;
    }

    .article-content {
        min-height: auto;
    }
}


@media only screen and (max-width: 1440px) {
    .main-nav {
        padding: 8rem 0 2rem 0;
    }

    .nav-menu li {
        margin: 0 7px;
    }

    .nav-menu > li:first-child {
        margin: 0 10px 0 0;
    }

    .nav-menu > li:last-child {
        margin: 0 0 0 10px;
    }

    .logo img {
        height: 65px;
    }

    header.on-top img {
        height: 50px;
    }

    .nav-menu a {
        font-size: 1.8rem;
    }

    .announcements-container {
        grid-template-columns: 1.3fr 1fr;
    }

    .hero-content {
        max-width: 90%;
    }

    .news-list-item h2,
    .tab-heading {
        font-size: 3rem;
    }

    .news-list-wrapper,
    .documents-list-wrapper {
        width: 70%;
    }

    .sidebar-news-list-wrapper aside {
        width: 25%;
    }

    .sidebar-cats {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        padding: 0 0 6rem 0;
        max-height: 100%;
    }

    .with-sidebar article {
        max-width: 100%;
    }

}


@media only screen and (max-width: 1199px) { 
    .logo {
        top: -57px;
    }

    header.on-top .logo {
        top: -15px;
    }

    header.on-top img {
        height: 36px;
    }
    
    .main-nav {
        padding: 8rem 0 3rem 0;
    }

    .nav-menu {
        display: none;
        flex-wrap: wrap;
        justify-content: start;
    }

    .nav-menu.visible {
        display: block;
    }

    .nav-menu li,
    .nav-menu li:last-child,
    .nav-menu li:first-child {
        margin: 0;
    }

    .nav-menu a {
        display: block;
    }
    
    .news-grid,
    .quick-links-grid,
    .about-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .three-column-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mobile-nav-wrapper,
    .nav-mobile-wrapper {
        display: block;
    }

    .mobile-nav-wrapper {
        position: absolute;
        right: 0;
        color: #fff;
        text-transform: uppercase;
        bottom: -22px;
    }

    .mobile-nav-wrapper span {
        position: relative;
        display: inline-block;
        top: -6px;
        margin: 0 7px 0 0;
        font-size: 1.4rem;
    }

    .hero-section {
        margin-top: 3rem;
    }

    .section-header h2,
    .announcements-section h2,
    .about-section h2,
    .hero-title {
        font-size: 3rem;
    }

    .hero-category {
        font-size: 2rem;
    }

    .has-submenu .submenu {
        padding: 1.5rem;
        margin: 0;
    }

    .has-submenu .submenu,
    .has-submenu .submenu.active {
        position: relative;
        transform: none;
        display: none;
        top: auto;
    }

    .has-submenu .submenu {
        background: #023e7c;
        margin: 0.5rem 0 0 0;
        box-shadow: none;
    }

    .has-submenu .submenu.active {
        display: block;
        height: 100%;
        max-height: 1000px;
    }

    .submenu::before {
        display: none;
    }

    .has-submenu .submenu a,
    .has-submenu .submenu a:hover {
        color: #fff;
    }

    .has-submenu .submenu li {
        border-bottom: 1px solid #426f9e;
        padding: 1rem 0;
    }

    .submenu-toggle::after {
        position: absolute;
        right: 0;
        top: 16px;
        background: url(../img/chevron-up.svg) 50% 50% no-repeat;
        background-size: 10px auto;
        transform: rotate(180deg);
    }

    .nav-menu li {
        border-bottom: 1px solid #e0e0e0;
    }

    .link-title {
        font-size: 3rem;
    }

    .sidebar-news-list-wrapper aside {
        width: 100%;
        margin: 0;
    }

    .mobile-filters-btn {
        display: block;
        text-align: center;
    }

    aside form {
        margin: 20px 0 0 0;
        display: none;
    }

    .news-list-wrapper,
    .documents-list-wrapper {
        width: 100%;
        margin: 4rem 0 0 0;
    }

    .sidebar-news-list-wrapper {
        margin: 2rem 0 0 0;
    }

    .article-page-wrapper h1 {
        font-size: 3.5rem;
        margin: 0 0 2rem 0;
    }

    .img-left-section img,
    .img-right-section img {
        max-width: 450px;
    }

    .img-left-section .img-section-content {
        padding: 0 0 0 4rem;
    }

    .img-right-section .img-section-content {
        padding: 0 4rem 0 0;
    }

    .cv-container {
        padding: 0;
    }

    .announcements-container {
        grid-template-columns: 1fr;
    }

    .minister-list {
        grid-template-columns: repeat(3, 1fr);
    }


}

@media only screen and (max-width: 991px) {
    .top-bar .social-list {
        display: none;
    }

    .news-card:hover {
        box-shadow: none;
        background: #F4F4F4;
        color: #000;
    }

    .article-content,
    .doc-list-wrapper,
    .img-left-section .img-section-content,
    .img-right-section .img-section-content {
        font-size: 1.6rem;
    }

    .article-content ul li::before,
    .img-left-section ul li::before,
    .img-right-section ul li::before {
        top: 10px;
    }

    .doc-list-wrapper li::before {
        top: 8px;
    }

    .doc-list-wrapper li:first-child::before {
        top: -1px;
    }

    .doc-list-wrapper li:first-child {
        padding: 0 0 10px 0;
    }

    .doc-list-wrapper li {
        padding: 10px 0;
    }

    .article-page-wrapper h1 {
        font-size: 3rem;
    }

    .person-three-col h3 {
        font-size: 2.4rem;
    }

    .doc-list-wrapper h2,
    .gallery-wrapper h2,
    .similar-news h2,
    .featured h2 {
        margin: 0 0 1.5rem 0;
        font-size: 2.6rem;
    }

    .similar-news h2,
    .featured h2 {
        position: relative;
        top: -4px;
        padding: 0 100px 0 0;
    }

    .gallery-items-list {
        grid-column-gap: 20px;
        grid-row-gap: 20px;
    }

    .article-main-img {
        margin: 2rem 0 1rem;
    }

    .doc-list-wrapper {
        padding: 2rem 0 0 0;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .swiper-button-prev {
        right: 55px;
    }

    .quote-wrapper blockquote {
        font-size: 2.3rem;
        padding: 0 0 0 80px;
    }

    .quote-wrapper blockquote .author {
        margin: 2rem 0 0 0;
        font-size: 2rem;
    }

    .quote-wrapper blockquote::before {
        left: 14px;
    }

    .doc-list-wrapper a::after {
        top: 0;
    }

    .person-pic-main-links-wrapper {
        padding: 3rem 0;
    }

    .person-main-links-wrapper ul,
    .person-position {
        font-size: 2.4rem;
    }

    .govori a::before,
    .intervjui a::before,
    .zivotopis a::before,
    .interviews a::before,
    .speeches a::before {
        top: 3px;
    }

    .person-main-links-wrapper a {
        padding: 0 0 0 4rem;
    }

    .person-pic-main-links-wrapper img {
        max-width: 340px;
    }

    .person-main-links-wrapper {
        padding: 4rem 4rem 4rem 8rem;
    }

    .person-three-col {
        grid-template-columns: repeat(1, 1fr);
        gap: 4rem;
    }

    .img-left-section,
    .img-right-section {
        flex-wrap: wrap;
    }

    .img-left-section .img-section-content,
    .img-right-section .img-section-content {
        padding: 2rem 0 0 0;
    }

    .img-left-section img,
    .img-right-section img {
        max-width: 100%;
    }

    .img-right-section img {
        order: 1;
    }

    .img-left-section,
    .img-right-section {
        margin: 4rem 0;
    }

    .img-left-section + .img-right-section {
        margin: 0 0 4rem 0;
    }

    .img-left-section h2,
    .img-right-section h2 {
        font-size: 3rem;
    }

    .img-left-section h3, .img-right-section h3 {
        font-size: 2.4rem;
    }

    .contact-form .form-row.three {
        grid-template-columns: repeat(1, 1fr);
    }

    .external-link::before {
        top: 0;
    }

    .minister-img-wrapper {
        padding: 0 3rem 0 0;
    }

    .minister-list {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (min-width: 768px) and (max-width: 991px) {
    .video-link-ico {
        top: 40%;
    }
}

@media only screen and (max-width: 767px) {

    .gdacc-accessibility-button {
        display: none !important;
    }

    .search-input {
        width: 100%;
    }

    .news-grid,
    .quick-links-grid,
    .about-cards-grid,
    .three-column-grid,
    .promo-grid,
    .about-links-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    footer .social-list {
        justify-content: start;
    }

    .quick-link-card:hover .link-image,
    .about-card:hover .about-image {
        transform: scale(1);
    }

    .about-links-column {
        margin: 0;
    }

    .about-cards-grid,
    .promo-grid {
        gap: 2rem;
    }

    .card-date {
        position: relative;
        bottom: auto;
        margin: 2rem 0 0 0;
    }

    .news-card {
        padding: 0;
    }

    .about-cards-grid {
        margin-bottom: 0;
    }

    .quick-link-card-wrapper {
        margin: 0 0 2rem 0;
    }

    .promo-section {
        padding: 0;
    }

    .hero-content {
        position: relative;
        bottom: auto;
        left: auto;
        max-width: 100%;
        background: #f4f4f4;
        color: #000;
        padding: 20px;
        border-bottom-left-radius: 6px;
        border-bottom-right-radius: 6px;
    }

    .hero-overlay {
        display: none;
    }

    .hero-image {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .hero-category,
    .video-label {
        font-size: 1.8rem;
    }

    .hero-section {
        margin-top: 1.5rem;
    }

    .hero-title {
        font-size: 2.6rem;
    }
    
    .news-list-item {
        flex-wrap: wrap;
    }

    .news-list-item img {
        max-width: 100%;
    }

    .news-list-item-content {
        max-width: 100%;
        padding: 1.5rem 0 0 0;
    }

    .quote-wrapper {
        flex-wrap: wrap;
    }

    .quote-wrapper blockquote::before {
        left: 0;
        height: 160px;
    }

    .quote-wrapper blockquote {
        padding: 0 0 0 65px;
        margin: 0;
        min-height: 150px;
    }

    .quote-wrapper img {
        display: none;
        margin: 0 auto;
    }

    .person-pic-main-links-wrapper img {
        max-width: 260px;
    }

    .person-main-links-wrapper ul,
    .person-position {
        font-size: 2.2rem;
    }

    .govori a::before,
    .intervjui a::before,
    .zivotopis a::before,
    .speeches a::before,
    .interviews a::before {
        background-size: 20px auto;
    }

    .person-three-col h3 {
       margin: 0 0 1rem 0; 
    }

    .person-three-col {
        font-size: 1.8rem;
    }

    .featured .card-date {
        margin: 0;
        padding: 1rem 0;
    }

    .hero-content a h1 {
        color: #000;
    }

    .arrow-btn:hover,
    .arrow-btn:focus,
    .arrow-btn:active {
        background: #EDEDED;
        color: #000;
    }

    .primary-btn:hover,
    .primary-btn:focus,
    .primary-btn:active,
    aside .primary-btn:hover,
    aside .primary-btn:focus,
    aside .primary-btn:active {
        background: #023e7c;
        color: #fff;
    }

    .video-link-ico:hover {
        transform: scale(1) translateY(-50%);
    }

    .arrow-btn:hover::after,
    .arrow-btn:active::after,
    .arrow-btn:focus::after {
        background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTEiIGhlaWdodD0iMTEiIHZpZXdCb3g9IjAgMCAxMSAxMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEgNS40MDUwM0g5LjgxIiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8cGF0aCBkPSJNNS40MDUwMyAxTDkuODA1MDMgNS40TDUuNDA1MDMgOS44MSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==") 50% 50% no-repeat;
        background-size: 10px auto;
    }

    .about-links-column a:hover,
    .about-links-column a:focus,
    .about-links-column a:active {
        transform: none;
    }

    .pagination-wrapper a:hover,
    .pagination-wrapper a:focus,
    .pagination-wrapper a:active {
        border: 2px solid #E1E1E1;
        color: #000000;
        background: transparent;
    }

    .pagination-wrapper .active a:hover {
        background: #023E7C;
        border: 2px solid #023E7C;
        color: #fff;
    }

    .hero-content a:hover h1,
    .video-content a:hover h3 {
        opacity: 1;
    }

    .announcements-list-wrapper li a:hover h3,
    .item-list a:hover h4 {
        color: #000;
    }

    .print-page-ico,
    .news-item-details .share-ico::after {
        display: none;
    }

    .tab-links-wrapper a:hover,
    .tab-links-wrapper a:active,
    .tab-links-wrapper a:focus {
        background: #E5EAED;
        color: #000;
    }

    
}

@media only screen and (max-width: 575px) {
    .subpage h1 {
        font-size: 2.8rem;
    }

    .article-intro {
        font-size: 1.8rem;
    }

    .search-box-desktop-container {
        display: none;
    }

    .search-box-trigger-mobile {
        display: block;
        margin: 0 8px 0 0;
    }

    .main-nav {
        padding: 6rem 0 3rem 0;
    }

    .search-box-mobile-container {
        padding: 0 15px 10px 15px;
    }

    .logo {
        top: -43px;
    }

    .logo img {
        height: 55px;
    }

    .top-bar {
        top: 10px;
        max-width: 100%;
        left: auto;
        margin: 0;
    }

    .hero-section {
        margin-top: 2rem;
    }

    .search-input {
        background: #efefef;
    }

    .language-selector::before {
        display: none;
    }

    .language-selector {
        font-size: 1.4rem;
    }

    .language-selector li:first-child {
        margin: 0 15px 0 0;
    }

    .to-top-copyright-wrapper {
        flex-wrap: wrap;
        /*text-align: center;
        justify-content: center;*/
        margin: 3rem 0 0 0;
    }

    .copyright {
        margin: 20px 0 0 0;
    }

    footer {
        padding: 3rem 0;
    }

    footer .social-list {
        /*justify-content: center;*/
        margin: 0;
    }

    .footer-column h3 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .footer-grid {
        gap: 2rem;
    }

    .section-header h2,
    .announcements-section h2,
    .about-section h2 {
        font-size: 2.6rem;
    }

    .hero-title,
    .video-content h3 {
        font-size: 2.4rem;
    }

    .about-links-column a {
        font-size: 2rem;
    }

    .card-title,
    .announcements-list-wrapper li h3 a {
        font-size: 2.1rem;
    }

    .card-description {
        font-size: 1.6rem;
    }

    .announcements-section h2,
    .about-section h2 {
        margin-bottom: 1rem;
    }

    .about-title {
        font-size: 2.6rem;
    }

    .video-content {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        max-width: 100%;
        background: #f4f4f4;
        color: #000;
        padding: 20px;
        border-bottom-left-radius: 6px;
        border-bottom-right-radius: 6px;
    }

    .video-overlay {
        display: none;      
    }

    header.on-top {
        top: -33px;
    }

    .news-list-item h2,
    .tab-heading {
        font-size: 2.6rem;
    }

    .news-list-item-content p {
        margin: 1rem 0 0 0;
    }

    .news-item-details {
        font-size: 1.4rem;
    }

    .pagination-wrapper li a {
        width: 45px;
        height: 45px;
        padding: 6px 0;
    }

    .pagination-wrapper li.prev a,
    .pagination-wrapper li.next a {
        width: 45px;
        height: 45px;
    }

    .article-page-wrapper h1 {
        font-size: 2.8rem;
    }

    .gallery-items-list {
        grid-template-columns: repeat(2, 1fr);
        grid-column-gap: 15px;
        grid-row-gap: 15px;
    }

    .video-inner-wrapper.has-video::after,
    .article-main-img-wrapper .has-video::after,
    .video-link-ico {
        width: 50px;
        height: 50px;
        background: url(../img/play-video-ico.svg) 50% 50% no-repeat;
        background-size: 50px auto;
    }

    .share-items-wrapper a {
        width: 100%;
        margin: 0 0 15px 0;
    }

    .share-items-wrapper a:last-of-type {
        margin: 0;
    }

    .document-item {
        padding: 20px 0;
    }

    .document-item h2 {
        font-size: 2rem;
    }

    .document-results,
    .document-item-info {
        font-size: 1.6rem;
    }

    .download-btn {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin: 10px 0 0 0;
    }

    .featured-themes .download-btn {
        position: absolute;
        right: 0;
        top: 14px;
        transform: none;
        margin: 0;
    }

    .featured-themes li:first-child .download-btn {
        top: 0;
    }

    .featured-themes li a:first-of-type {
        font-size: 1.6rem;
    }

    .featured-theme-item h2 {
        font-size: 2.4rem;
    }

    .featured-theme-item h3 {
        font-size: 1.8rem;
    }

    .document-item:last-of-type {
        padding: 20px 0 0 0;
    }

    .quote-wrapper blockquote {
        font-size: 2rem;
        padding: 0 0 0 50px;
        margin: 0;
        line-height: 1.3;
    }

    .quote-wrapper blockquote .author {
        font-size: 1.8rem;
    }

    .quote-wrapper blockquote::before {
        width: 35px;
        background: url(../img/quote-ico.svg) 0% 0% no-repeat;
        background-size: 35px auto;
    }

    .person-pic-main-links-wrapper {
        flex-wrap: wrap;
    }

    .person-main-links-wrapper {
        top: auto;
        left: auto;
        padding: 2.5rem;
    }

    .person-pic-main-links-wrapper img {
        max-width: 100%;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .person-pic-main-links-wrapper {
        padding: 2rem 0 0 0;
    }

    .person-main-links-wrapper li:first-child {
        padding: 0 0 1.5rem 0;
    }

    .person-main-links-wrapper li {
        padding: 1.5rem 0;
    }

    .person-main-links-wrapper li:last-child {
        padding: 1.5rem 0 0 0;
    }

    .person-main-links-wrapper ul,
    .person-position {
        font-size: 2rem;
    }

    .govori a::before,
    .intervjui a::before,
    .zivotopis a::before,
    .interviews a::before,
    .speeches a::before {
        top: -2px;
    }

    .featured .card-title {
        font-size: 1.8rem;
    }

    .person-three-col {
        font-size: 1.6rem;
    }

    .tab-links-wrapper a {
        font-size: 1.8rem;
        padding: 10px 35px;
    }

    .contact-form .form-row.two {
        grid-template-columns: repeat(1, 1fr);
    }

    .zivotopis a::after,
    .zivotopis a:hover::after {
        width: 30px;
        height: 30px;
        background: #fff url(../img/download-ico.svg) 50% 50% no-repeat;
        background-size: 12px auto;
    }

    .footer-links,
    footer {
        font-size: 1.6rem;
    }

    .copyright {
        font-size: 1.4rem;
    }

    .minister-content-wrapper {
        flex-wrap: wrap;
        padding: 2rem 0 0 0;
    }

    .minister-img-wrapper {
        max-width: 100%;
        padding: 0;
        width: 100%;
    }

    .minister-img-wrapper img,
    .minister-img-wrapper + .cv-container {
        max-width: 100%;
    }

    .external-link {
        margin: 1rem 0 2rem 0;
    }

    .video-content h3 {
        color: #000;
    }

   /* .news-item-details li {
        margin: 0 12px 5px 12px;
    }*/

    .news-item-details li.priopcenje-link {
        margin: 10px 12px 0 0;
    }

    .news-item-details li.priopcenje-link + .share-ico .share::before {
        top: 12px;
    }

}

@media screen and (max-width: 420px) {
    .primary-btn,
    .arrow-btn,
    .blue-btn {
        width: 100%;
        text-align: center;
        padding: 10px 20px;
    }

    .section-header .arrow-btn {
        max-width: 40%;
        padding: 5px 2px;
    }

    .link-title {
        font-size: 2.4rem;
        bottom: 1.5rem;
    }

    .news-item-details .video-list::before {
        width: 20px;
        height: 19px;
        background: url(../img/news-video-ico.svg) 50% 50% no-repeat;
        background-size: 20px auto;
    }

    .news-item-details .video-list,
    .news-item-details .photo-ico {
        padding: 0 0 0 28px;
    }

    .doc-list-wrapper h2,
    .gallery-wrapper h2,
    .similar-news h2 {
        font-size: 2.4rem;
    }

    .quote-wrapper {
        margin: 3rem 0;
    }

    .hidden-side-nav {
        width: 100%;
    }

    .minister-list {
        grid-template-columns: repeat(1, 1fr);
    }

}