@media only screen and (max-width: 1400px) {
    .rotate-text::before {
        height: 92%;
    }
}

@media only screen and (max-width: 1200px) {
    .rotate-text::before {
        height: 85%;
    }
    .text {
        top: 0;
    }
}

@media screen and (max-width: 1024px) {
    #header .header-content {
        width: 90%;
        max-width: 100%;
        padding: 40px 0;
    }

    .nav-toggle {
        display: block;
    }

    .navigation {
        position: fixed;
        background-color: #313131;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 99999;
        visibility: hidden;
        opacity: 0;
        -webkit-transition: opacity 0.5s, visibility 0s 0.5s;
        transition: opacity 0.5s, visibility 0s 0.5s;
    }

    .navigation .primary-nav {
        position: relative;
        top: 23%;
        -moz-transform: translateY(-45%);
        -ms-transform: translateY(-45%);
        -webkit-transform: translateY(-45%);
        transform: translateY(-45%);
    }

    .navigation li {
        display: block;
        margin-bottom: 1px;
    }

    .navigation a {
        display: block;
        font-size: 18px;
        margin: 0;
        text-align: center;
        padding: 17px 0;
        color: #fff;
    }

    .navigation a:hover, .navigation a.active {
        color: #ff5a27;
    }

    .news blockquote {
        padding: 20px;
    }

    .news p {
        font-size: 12px;
    }

    .flex-control-nav {
        bottom: 20px;
    }

    .rotate-text::before {
        height: 390px;
    }
}

@media only screen and (max-width: 990px) {
    .rotate-text::before {
        height: 300px;
        width: 100%;
    }

    .rotate-text {
        padding-bottom: 0;
    }
}

@media screen and (max-width: 768px) {
    #main-slider .item {
        height: 400px;
        background-repeat: no-repeat;
        background-position: top right;
        background-size: cover;
    }

    .carousel-content {
        margin-top: 60%;
    }

    #header.fixed a {
        color: #fff;
    }

    #header.fixed a.logo {
        color: #000;
    }

    .banner-text {
        padding-top: 30%;
    }

    .banner-text h1 {
        font-size: 42px;
    }

    .banner-text p {
        font-size: 18px;
    }

    .flexslider {
        padding-bottom: 80px;
    }

    .flex-control-nav {
        width: 100%;
    }

    .footer .footer-col {
        margin-bottom: 50px;
    }

    .products .categories-grid .categories ul li {
        width: 100%;
    }
}

@media screen and (max-width: 640px) {
    .banner-text {
        padding-top: 57%;
    }

    .news p {
        font-size: 12px;
    }
}

@media screen and (max-width: 480px) {
    .banner-text {
        padding-top: 45%;
    }

    .banner-text h1 {
        font-size: 32px;
    }

    .rotate-text::before {
        height: 200px;
    }

    .news p {
        font-size: 12px;
    }
}

@media screen and (max-width: 320px) {
    .banner-text {
        padding-top: 55%;
    }

    .news blockquote {
        padding: 20px 5% 0;
    }

    .news p {
        font-size: 12px;
    }
}

@media screen and (max-width: 768px) {
    .cores_li {
        width: 100%;
        margin-left: 0;
    }
    .cores_li_top {
        width: auto;
    }
}

@media (min-width: 992px) {
    .unseen {
        margin-top: -150px;
    }
}