/*================================================
============
-Table Of Contents
--------------------------------------------------
1. Medium Layout: 1280px.
2. Tablet Layout: 768px.
3. Mobile Layout: 320px.
4. Wide Mobile Layout: 480px.
5. Smaller Devices.
---------------------------------------------------
=================================================== */


/* =================================================
1. Medium Layout: 1280px.
==================================================== */

@media only screen and (min-width: 992px) and (max-width: 1200px) {

    .simple-marquee-container {
        bottom: 45px;
        z-index: 1.5;
    }
  
}

/* =================================================
2. Tablet Layout: 768px.
==================================================== */

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .hero-pattern,
    .hero-left-inner:before,
    .hero-left-inner:after {
        background-image: none;
    }
    .hero-left-inner:after {
        -webkit-transform: skewX(0deg);
        -ms-transform: skewX(0deg);
        transform: skewX(0deg);
        width: 100%;
    }
    .hero-text-slider {
        bottom: 0px;
        left: 0px;
        width: 100%;
        padding: 10px;
        text-align: center;
    }
    .hero-text-slider .owl-theme .owl-controls {
        position: relative;
    }
    .hero-author {
        left: 0px;
        top: 0px;
    }
    .sidebar,
    .tranning-area,
    .education-area,
    .contact-left,
    .about-left {
        margin-bottom: 30px;
    }
    /* Blog Page */
    .pagination {
        margin-bottom: 15px;
    }
    /* Error Page */
    .error-page-area {
        padding: 130px 0px;
    }
    .simple-marquee-container {
        bottom: 0px;
        z-index: 1.5;
    }
    .cd-stretchy-nav ul a {
        height: 40px;
        line-height: 40px;
    }
    .sidebar{
        display: none;
    }
    .videoWrapper,.videoWrapper1{
        position: relative;
        padding-bottom: 56.25%; /* 16:9 */
        padding-top: 25px;
        height: 0;
    }
    .videoWrapper iframe, .videoWrapper1 iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    .desktop-news-slider{
        display: none;
    }
    .ticker-container{
        display: block;
    }
}

/* =================================================
3. Mobile Layout: 320px.
==================================================== */

@media only screen and (max-width: 767px) {
    /*Utility Style */
    .inner-padding {
        padding: 30px 0px;
    }
    /* Nav Section */
    .logo-area span {
        display: inline-block;
        font-size: 14px;
    }
    .cd-stretchy-nav ul {
        max-height: 400px;
    }
    /* Hero Section */
    .hero-author-mobile {
        margin-top: 100px;
    }
    /* Blog Page */
    .sticky-post {
        margin-bottom: 30px;
    }
    .regular-post {
        padding-top: 0px;
    }
    .regular-post-inside {
        height: auto;
        margin-bottom: -15px;
    }
    .pagination {
        margin-bottom: 15px;
    }
    textarea.form-control {
        width: 100%;
        margin-left: 0px;
    }
    .contact-wrap {
        padding-left: 0;
        padding-right: 0;
    }
    .contact-wrap-left {
        margin: 0px 20px;
    }
    .portfolio-items {
        margin-top: 0px;
    }
    .regular-post-right {
        padding: 15px 0px;
    }
    .regular-post-left {
        padding: 15px 0px;
    }
    .blog-pagination li a,
    .work-pagination li a {
        padding: 5px 10px;
        font-size: 12px;
        margin: 2px;
    }
    .blog-side-bar img {
        width: 67%;
    }
    .isotope-pading {
        padding: 10px 0px;
    }
    .port-caption {
        transform: translateX(-550px);
    }
    .portfolio-filter ul li {
        margin-bottom: 15px;
    }
    .hero-pattern,
    .hero-left-inner:before,
    .hero-left-inner:after {
        background-image: none;
    }
    .hero-left-inner:after {
        -webkit-transform: skewX(0deg);
        -ms-transform: skewX(0deg);
        transform: skewX(0deg);
        width: 100%;
    }
    .hero-text-slider {
        bottom: 0px;
        left: 0px;
        width: 100%;
        padding: 10px;
        text-align: center;
    }
    .hero-text-slider .owl-theme .owl-controls {
        position: relative;
    }
    .hero-author {
        left: 0px;
        top: 0px;
    }
    .sidebar,
    .tranning-area,
    .education-area,
    .contact-left,
    .about-left {
        margin-bottom: 30px;
    }
    .hobby-area .hobby-left,
    .hobby-area .hobby-right {
        width: 100%;
    }
    /* Contact Page */
    .google-map,
    #gmap {
        height: 200px;
    }
    /* Error Page */
    .error-page-area {
        padding: 55px 0px;
    }
    .simple-marquee-container {
        bottom: 0px;
        z-index: 1.5;
    }
    .cd-stretchy-nav ul a {
        height: 40px;
        line-height: 40px;
    }
    .sidebar{
        display: none;
    }
    .videoWrapper,.videoWrapper1{
        position: relative;
        padding-bottom: 56.25%; /* 16:9 */
        padding-top: 25px;
        height: 0;
    }
    .videoWrapper iframe,.videoWrapper1 iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    .desktop-news-slider{
        display: none;
    }
    .ticker-container{
        display: block;
    }
}

/* =================================================
4. Wide Mobile Layout: 480px.
==================================================== */

@media only screen and (min-width: 480px) and (max-width: 768px) {
    .hero-about:before,
    .hero-about:after {
        width: 120%;
        -webkit-transform: skewX(-7deg);
        -ms-transform: skewX(-7deg);
        transform: skewX(-7deg);
    }
    .about-container {
        padding-right: 15px;
    }
    .hero-about-inside img {
        max-width: 120px;
        max-height: 120px;
    }
    .hero-about-inside div img {
        max-width: 80px;
        max-height: 120px;
    }
    .padding-none {
        padding-right: 15px
    }
    .google-map {
        padding-left: 0px;
    }
    .hero-about-social li a {
        width: 45px;
    }
    .hobbie-icon {
        width: 18%;
    }
    .hobbie-title {
        margin-top: 5%;
        margin-left: -4%;
        width: 135px;
    }
    .hobbie-title h6 {
        font-size: 18px;
        padding-left: 20px;
    }
    .awards-slider {
        height: 228px;
    }
    textarea.form-control {
        width: 102%;
    }
    .isotope-pading {
        padding: 10px;
    }
    .port-caption {
        transform: translateX(-600px);
    }
    .contant-detalis-wrap {
        height: auto;
        margin: 0px;
    }
    .contant-detalis-wrap {
        height: auto;
        margin: 0px;
    }
    .contact-btn {
        margin-left: 0px;
    }
    .simple-marquee-container {
        bottom: 0px;
        z-index: 1.5;
    }
    .cd-stretchy-nav ul a {
        height: 40px;
        line-height: 40px;
    }
    .sidebar{
        display: none;
    }
    .videoWrapper,.videoWrapper1{
        position: relative;
        padding-bottom: 56.25%; /* 16:9 */
        padding-top: 25px;
        height: 0;
    }
    .videoWrapper iframe,.videoWrapper1 iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    .desktop-news-slider{
        display: none;
    }
    .ticker-container{
        display: block;
    }
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .about-container {
        height: 100%;
        margin-top: 60px;
    }
    .padding-none2 {
        padding-right: 35px;
    }
    .simple-marquee-container {
        bottom: 0px;
        z-index: 1.5;
    }
    .sidebar{
        display: none;
    }
    .videoWrapper,.videoWrapper1{
        position: relative;
        padding-bottom: 56.25%; /* 16:9 */
        padding-top: 25px;
        height: 0;
    }
    .videoWrapper iframe,.videoWrapper1 iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    .desktop-news-slider{
        display: none;
    }
    .ticker-container{
        display: block;
    }
}

/* =================================================
5. Smaller Devices.
==================================================== */


/* Smaller Devices. */

@media only screen and (min-width: 240px) and (max-width: 411px) {
    .hero-text-slider-inside {
        text-align: center;
        height: 480px;
    }
    .body-page {
        padding-top: 150px;
    }
    .simple-marquee-container {
        bottom: 0px;
        z-index: 1.5;
    }
    .cd-stretchy-nav ul a {
        height: 40px;
        line-height: 40px;
    }
    .sidebar{
        display: none;
    }
    .videoWrapper, .videoWrapper1{
        position: relative;
        padding-bottom: 56.25%; /* 16:9 */
        padding-top: 25px;
        height: 0;
    }
    .videoWrapper iframe,.videoWrapper1 iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    .desktop-news-slider{
        display: none;
    }
    .ticker-container{
        display: block;
    }
}
