/* ----------- iPad 3, 4 and Pro 9.7" ----------- */

/* Portrait */

@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {

    ul.social-icons {
        margin: auto;
    }

    .intro-img {
        margin-top: 70px;
    }

    
}

@media only screen and (min-width: 504px) and (max-width: 768px) and (orientation: portrait) {
    .intro-img {
        margin-top: 70px;
    }
}

/****** iPhone 6,7 8 *******/

@media only screen and (min-device-width: 375px) and (max-device-width: 667px) {
    p {
        font-size: 15px;
    }

    ul.social-icons {
        margin-bottom: 30px;
        width: 100%;
        text-align: center;
    }

    ul.social-icons li {
        float: left;
        margin-left: 20px;
        width: 45px;
        display: inline-block;
    }

    ul.social-icons li img {
        height: 40px;
    }

    .intro-img {
        background-image: url(../img/4-pillars-jump-strike-mobile.jpg);
        background-position: center top;
        padding-top: 120px;
    }

    .about-img {
        background-image: url(../img/sitting-on-throne-mobile.png);
        background-position: center top;
    }

    .contact-img {
        background-image: url(../img/soldier-in-cave-mobile.jpg);
        background-position: top right;
    }

    .content {
        min-height: calc(100vh - 200px);
    }

    ul.social-icons {
        margin-bottom: 30px;
        width: 100%;
        text-align: center;
    }

    ul.social-icons li {
        float: none;
        margin-left: 0px;
        margin-right: 20px;
        width: 45px;
        display: inline-block;
        *display: inline;
        /*IE7*/
    }

    .trailer-modal-body {
        background-image: url('../img/modal-bg.png');
        background-repeat: no-repeat;
        background-size: 100% 100%;
        background-color: transparent !important;
        border: none !important;
    }

    .modal-body iframe {
        margin-top: 2px;
        margin-left: -4px;
        height: 250px;
        width: 102%;
    }
}

/* ----------- iPhone 6+, 7+ and 8+ ----------- */

/* Portrait and Landscape */

@media only screen and (min-device-width: 414px) and (max-device-width: 736px) {
    p {
        font-size: 15px;
    }

    ul.social-icons {
        margin-bottom: 30px;
        width: 100%;
        text-align: center;
    }

    ul.social-icons li {
        float: none;
        margin-left: 0px;
        margin-right: 20px;
        width: 45px;
        display: inline-block;
    }
    
    ul.social-icons li:last-child {
        margin-right: 30px;
    }

    ul.social-icons li img {
        height: 40px;
    }

    .intro-img {
        background-image: url(../img/4-pillars-jump-strike-mobile.jpg);
        background-position: center top;
        background-size: contain;
        padding-top: 120px;
    }

    .about-img {
        background-image: url(../img/sitting-on-throne-mobile.png);
        background-position: center top;
    }

    .contact-img {
        background-image: url(../img/soldier-in-cave-mobile.jpg);
        background-position: top right;
    }
    
    .modal-body iframe {
        height: 250px;
        width: 100%;
        background-color: red;
    }

    .content {
        min-height: calc(100vh - 80px);
    }
}

/******** Mobile Desktop *****/

@media (min-width: 504px) and (max-width: 767px) {
    .content {
        min-height: calc(100vh - 180px);
    }

    ul.social-icons {
        margin-bottom: 30px;
        width: 100%;
        text-align: center;
    }

    ul.social-icons li {
        float: none;
        margin-left: 0px;
        margin-right: 20px;
        width: 45px;
        display: inline-block;
        *display: inline;
        /*IE7*/
    }

    p {
        font-size: 15px;
    }

    .intro-img {
        background-image: url(../img/4-pillars-jump-strike-mobile.jpg);
        background-position: center top;
        padding-top: 120px;
    }

    .about-img {
        background-image: url(../img/sitting-on-throne-mobile.png);
        background-position: center top;
    }

    .contact-img {
        background-image: url(../img/soldier-in-cave-mobile.jpg);
        background-position: top right;
    }

}