/**
 * Basic CSS Media Query Template
 * TODO: I should probably use Sass...
 * Author: Michael Vieth
 * ------------------------------------------
 *  Responsive Grid Media Queries - 1280, 1024, 768, 480
 *   1280-1024   - desktop (default grid)
 *   1024-768    - tablet landscape
 *   768-480     - tablet 
 *   480-less    - phone landscape & smaller
 * --------------------------------------------
 */
 @media all and (min-width: 1024px) and (max-width: 1280px) { 
    .sert .sertPlace .sertEm {
        width: 240px;
    }
    .progs .infoCard img {
        width:100%;
    }
 }

 @media all and (min-width: 768px) and (max-width: 1024px) { 
    .sert .sertPlace .sertEm {
        width: auto;
    }
    main .backForInfo .mainInfoBck {
        font-weight: 300;
        font-size: 2.3em;
    }
    .progs .infoCard img {
        width:100%;
    }

    .newsImage {
        width:100%;
    }
 }
 
 @media all and (min-width: 480px) and (max-width: 768px) { 
    .sert .sertPlace .sertEm {
        width: auto;
        font-size: 1em;
    }
    .social {
        margin-top:15px;
    }
    .progs .infoCard img {
        width:100%;
    }
    .newsImage {
        width:100%;
    }
 }
 
 @media all and (max-width: 480px) {
    main .backForInfo .mainInfoBck {
        font-size: 1.4em;
    }

    .progs .infoCard img {
        width:100%;
    }

    .gradbg {
        min-height: auto;
    }

    .gradbg h2 {
        text-align:center;
    }

    .splide__slide.is-active img {
        opacity: 1;
        transition: 0.3s all ease-in-out;
        transform: scale(0.75);
    }
    
    .sldCon {
        padding:0px;
        overflow: hidden;
    }

    .fly .infoCont {
        padding: 0;
    }

    .fly p, .sert p {
        font-size: 1.2em;
    }

    .prices .container {
        padding:0;
    }

    .prices .table th {
        border-bottom: none;
        padding-bottom: 5px;
        font-size: 1.2em;
    }

    .sert .sertPlace .sertEm {
        width:140px;
        left: 53%;
        font-size: 1em;
        padding: 4px 20px;
    }
    .newsImage {
        width:100%;
    }

}
 
 
 /* Portrait */
 @media screen and (orientation:portrait) { /* Portrait styles here */ }
 /* Landscape */
 @media screen and (orientation:landscape) { /* Landscape styles here */ }
 
 
 /* CSS for iPhone, iPad, and Retina Displays */
 
 /* Non-Retina */
 @media screen and (-webkit-max-device-pixel-ratio: 1) {
 }
 
 /* Retina */
 @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
 only screen and (-o-min-device-pixel-ratio: 3/2),
 only screen and (min--moz-device-pixel-ratio: 1.5),
 only screen and (min-device-pixel-ratio: 1.5) {
 }
 
 /* iPhone Portrait */
 @media screen and (max-device-width: 480px) and (orientation:portrait) {
 } 
 
 /* iPhone Landscape */
 @media screen and (max-device-width: 480px) and (orientation:landscape) {
 }
 
 /* iPad Portrait */
 @media screen and (min-device-width: 481px) and (orientation:portrait) {
 }
 
 /* iPad Landscape */
 @media screen and (min-device-width: 481px) and (orientation:landscape) {
 }