@media only screen and (min-width: 1800px) {
    .container {
        max-width: 1704px;
    } 
    
}

@media screen and (max-width: 1799px) {
    .container {
        width: 100%;
        max-width: 100%;
    }
}

@media screen and (max-width: 1400px) {
    .promo-video {
        padding: 60px 0 0 0;
    }
    
    .video-wrapper {
        width: 100%;
    }

    .video-desc {
        position: relative;
        top: auto;
        bottom: auto;
        width: 100%;
        height: auto;
        padding: 60px;
    }
}

@media only screen and (max-width: 1199px) {
    .slider-title h2 {
        font-size: 40px;
    }

    .outline-desc {
        font-size: 16px;
        padding: 20px;
        margin: 30px 0 0 0;
    }
 
    .inner-page .download-wrapper {
        padding: 10px 15px 7px 15px;
    }

    .news-list-wrapper .news-item {
        width: 32%;
    }

    .news-list-wrapper .news-item:nth-child(4n) {
        margin: 0 2% 40px 0;
    }

    .news-list-wrapper .news-item:nth-child(3n) {
        margin: 0 0 40px 0;
    }

    .sidebar {
        width: 35%;
    }

    .prod-list {
        width: 65%;
        padding: 0 0 0 60px;
    }
}

@media only screen and (max-width: 991px) {
    .container {
        width: 100%;
    }

    .nav-list li a {
        font-size: 16px;
    }

    .submenu {
        width: 245px;
    }

    .nav-list li {
        margin: 0 13px 0 0;
    }

    .reference-txt-wrapper {
        padding: 30px 30px 30px 40px;
    }

    .reference-txt-wrapper li {
        margin: 0 0 5px 0;
    }

    .proizvodi-usluge {
        margin: -50px 0 0 0;
    }

    .reference .prev-arrow {
        left: 20px;
    }

    .reference .next-arrow {
        right: 20px;
    }

    .reference .prev-arrow,
    .reference .next-arrow {
        width: 35px;
        height: 35px;
        background: #fff url(../img/arrow-left-blue.svg) 50% 50% no-repeat;
        background-size: 11px auto;
        box-shadow: 0 1px 10px rgba(0,0,0,.3);
    }

    .proizvodi-usluge {
        margin: -30px 0 0 0;
    }

    .featured-item {
        padding: 30px;
    }

    .slider-title h2 {
        font-size: 35px;
    }

    .featured-desc {
        margin-bottom: 20px;
    }

    .featured-list {
        margin: 0 0 0 40px;
    }

    .reference {
        margin: 50px 0 0 0;
        padding: 0;
    }

    .news {
        margin: 0 0 50px 0;
        padding: 30px 0 60px 0;
    }

    .inner-page h1,
    .news h2,
    .reference h2 {
        font-size: 33px;
    }

    .pad-80 {
        padding: 40px 0;
    }

    .inner-page {
        padding: 40px 0;
    }

    .inner-page h1 {
        margin: 0 0 20px 0;
    }

    .tag-wrapper {
        font-size: 16px;
        padding: 15px 5px;
    }

    .gallery-grid {
        margin: 40px 0 20px 0;
    }

    .upotreba-wrapper h2 {
        margin: 0 0 20px 0;
    }

    .location-map {
        margin: 0 0 50px 0;
    }
    
    .inner-page .download-wrapper .download-btn {
        padding: 10px 20px;
    }
    
    .inner-page .download-wrapper .download-label {
        padding: 10px 0 0 10px;
        font-size: 14px;
    }

    .footer-col {
        width: 31%;
    }

    .sidebar {
        width: 100%;
    }

    .prod-list {
        width: 100%;
        padding: 0;
        margin: 40px 0 0 0;
    }

    .proizvod-desc-inner {
        width: 100%;
    }

    .products-home,
    .news-carousel {
        padding: 60px 0;
    }

}

@media only screen and (max-width: 767px) {

    .slider-title h2 {
        font-size: 30px;
    }

    .mobile-nav {
        display: block;
    }

    .nav-list li.search {
        display: none;
    }

    .nav-list li.mobile-logo img {
        width: 100px;
        margin: 0 auto;
        display: block;
    }

    .mobile-nav {
        display: block;
        margin: 5px 0 0 0;
    }

    .nav-list {
        position: fixed;
        right: 0;
        top: 0;
        display: none;
        bottom: 0;
        background: #ffffff;
        width: 240px;
        padding: 0;
        margin: 0;
        float: none;
        z-index: 101;
        overflow-y: auto;
        box-shadow: -10px 0 20px rgba(0,0,0,.3);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    .nav-list .search,
    .nav-list .user,
    .nav-list .cart {
        display: none;
    }

    .nav-list li {
        width: 100%;
        margin: 0;
        top: auto;
        padding: 0;
        border-bottom: 1px solid #DCDCDC;
    }

    .nav-list li:last-child {
        border-bottom: none;
    }

    .nav-list li a {
        display: block;
        width: 100%;
        padding: 12px 15px;
        text-align: left;
    }

    .nav-list li a.show-submenu:after {
        display: none;
    }

    .nav-list .submenu {
        position: relative;
        left: 0;
        right: 0;
        top: auto;
        width: 100%;
        box-shadow: none;
        padding: 5px;
    }

    .nav-list .submenu li {
        padding: 0;
        border-bottom: none;
    }

    .nav-list .submenu a {
        padding: 5px 10px;
    }

    .featured-list li:before {
        margin: 0 15px 0 0;
    }

    .inner-page .reference-item {
        padding: 0 0 10px 0;
    }

    .inner-page .reference-item .reference-txt-wrapper {
        padding: 30px 30px 20px 30px;
    }

    .inner-page .reference-txt-wrapper h3 {
        margin: 0 0 10px 0;
    }

    .page-main-img img {
        margin: 30px auto 0 auto;
    }

    .about-item-wrapper {
        margin: 20px 0 30px 0;
    }

    .about-item-wrapper h2 {
        margin: 20px 0 10px 0;
    }

    .intro-txt {
        padding: 20px 0 0 0;
    }

    .footer-col {
        font-size: 15px;
    }

    .promo-video h2 {
        font-size: 26px;
    }

    .video-desc {
        padding: 40px;
    }

    .copyright .copy {
        text-align: center;
        width: 100%;
    }

    .footer-logo {
        margin: 0 0 20px 0;
        width: 100%;
        text-align: center;
    }

    footer {
        padding: 60px 0 110px 0;
    }

    .news-list-wrapper .news-item {
        width: 49%;
    }

    .news-list-wrapper .news-item:nth-child(3n) {
        margin: 0 2% 40px 0;
    }

    .news-list-wrapper .news-item:nth-child(2n),
    .news-list-wrapper .news-item:nth-child(4n) {
        margin: 0 0 40px 0;
    }

    .news-title,
    .product-item h3 {
        font-size: 16px;
    }

    .sidebar {
        padding: 25px;
    }

    .prod-cat-island {
        flex-wrap: wrap;
    }

    .prod-island,
    .prod-cat {
        width: 100%;
    }

    .inner-page h1,
    .news-carousel h2,
    .products-home h2 {
        font-size: 32px;
    }

}

@media only screen and (max-width: 600px) {
    .inner-page h1, .news h2, .products-home h2 {
        font-size: 30px;
    }

    .proizvodi-usluge {
        margin: 0;
    }

    .proizvodi-usluge .col-xs-6 {
        width: 100%;
    }

    .featured-list li:before {
        display: inline-block;
        top: 1px;
        float: none;
    }

    .featured-list a {
        display: inline-block;
    }

    .featured-list {
        margin: 0;
        text-align: center;
    }

    .featured-item {
        margin: 30px 0 0 0;
    }

    .featured-item:before {
        height: 9px;
        width: 100%;
        bottom: auto;
    }

    .slider-title {
        left: 15px;
        bottom: 15px;
        right: 15px;
    }

    .slider-title h2 {
        font-size: 22px;
    }

    .header-slider .next-arrow, .header-slider .prev-arrow {
        top: 39%;
        background: url(../img/arrow-left.svg) 50% 50% no-repeat;
        background-size: auto 25px;
    }

    .header-slider .next-arrow {
        right: 10px;
    }

    .header-slider .prev-arrow {
        left: 10px;
    }

    .search-input {
        width: 100%;
        left: 0;
        transform: none;
        top: 0;
        position: relative;
        text-align: center;
        margin: 19px 0 0 0;
    }

    .search-input .input {
        width: 60%;
    }

    .onama-img .img-desc {
        font-size: 16px;
    } 

    .timeline-wrapper:before {
        left: 0;
    }

    .entries {
        width: 100%;
        max-width: 100%;
        left: auto;
    }

    .entries .entry {
        width: 100%;
        text-align: left;
        padding: 10px 20px;
    }

    .entries .entry .title {
        line-height: 1;
        margin: 10px 0;
    }

    .entries .entry .title:before,
    .entries .entry:nth-child(2n) .title:before {
        content: '';
        position: absolute;
        left: -20px;
        height: 5px;
        top: 10px;
        width: 13px;
        background: #0E3267;
    }

    .entries .entry:not(:first-child) {
        margin-top: 0;
    }

}

@media screen and (max-width: 575px) {
    .main-nav {
        padding: 10px 0;
    }

    .search-wrapper {
        top: 110px;
    }

    .slider-title {
        padding: 15px;
    }

    .slider-title h2 {
        font-size: 22px;
    }

    .promo-video h2 {
        font-size: 22px;
    }

    .video-desc {
        padding: 30px;
    }

    .footer-col {
        width: 100%;
        margin: 0 0 30px 0;
    }

    .top {
        height: 40px;
        width: 40px;    
        right: 20px;
        bottom: 20px;
        background: url(../img/chevron-up.svg) no-repeat 50% 50%, url(../img/back-to-top-bg.svg) no-repeat 50% 50%;
        background-size: 15px auto, 40px auto;
    }

    .top.fade-out:hover,
    .no-touch .top:hover {
        background: url(../img/chevron-up.svg) no-repeat 50% 50%, url(../img/back-to-top-bg.svg) no-repeat 50% 50%;
        background-size: 15px auto, 40px auto;
        opacity: 1;
    }
}

@media only screen and (max-width: 479px) {

    .inner-page .reference-item .reference-txt-wrapper {
        padding: 20px;
    }

    .gallery-grid {
        margin: 20px 0;
    }

    .outline-desc {
        padding: 10px;
        font-size: 14px;
        margin: 20px 0 0 0;
    }

    .extra-info img {
        max-width: 100%;
    }

    .onama-img .img-desc {
        font-size: 14px;
        padding: 0 10px;
    }

    .about-item-wrapper h2,
    .entries .entry .title {
        font-size: 20px;
    }

    .intro-txt {
        padding: 0;
    }

    .news-list-wrapper .news-item {
        width: 100%;
    }

    .news-list-wrapper .news-item:nth-child(2n),
    .news-list-wrapper .news-item:nth-child(4n),
    .news-list-wrapper .news-item:nth-child(3n) {
        margin: 0 0 40px 0;
    }

    .inner-page h1,
    .news-carousel h2,
    .products-home h2 {
        font-size: 28px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        top: 16px;
    }

    .products-home,
    .news-carousel {
        padding: 40px 0;
    }

    .promo-video {
        padding: 40px 0 0 0;
    }

    
}

@media only screen and (max-width: 375px) {

    .reference-txt-wrapper {
        padding: 25px;
    }

    .reference-txt-wrapper h3 a {
        font-size: 19px;
    }

    .featured-item h2 {
        font-size: 22px;
        margin: 0 0 10px 0;
    }

    .upotreba-wrapper .col-xs-4 {
        width: 100%;
    }

    .tag-wrapper {
        margin: 0 0 10px 0;
    }

    .upotreba-wrapper h2 {
        font-size: 25px;
    }

    .gallery-grid {
        margin: 20px 0 10px 0;
    }

    .page-main-img img {
        margin: 30px auto 0 auto;
    }

    .inner-page h1,
    .news-carousel h2,
    .products-home h2 {
        font-size: 24px;
    }

    .promo-video h2 {
        font-size: 20px;
    }
}
