﻿@media only screen and (min-width: 320px) and (max-width: 680px) {

    .content-box {
        overflow-y: visible;
        max-height: none;
        text-align: center;
    }

    .content {
        padding: 10px !important;
    }


    .header-block {
        height: auto;
    }



    .wrapper {
        margin-top: 90px !important;
        /*overflow-y: scroll;*/
        height: calc(100vh - 90px) !important;
    }

    h1.title {
        font-size: 1.5em;
        line-height: 1.4;
    }

   

    .nsw-logo .arrow {
        margin-top: 10px;
        height: 30px;
    }

    

        .bannerCenterText h1 {
            
        }

    .bannerRightText h1 {
        font-size: 1em;
    }

    .cd-header {
        min-height: 110px;
        
    }

    .hyperlink-button {
         /*line-height: 50px;*/         
    }
}

@media only screen and (min-width: 680px) and (max-width: 1200px) {
    * {
        box-sizing: border-box;
    }

    .content {
        max-width: 1140px;
        width: 100%;
        margin: 0 auto;
        border: 1px;
        min-width: 370px;
    }

    .col1 {
        float: left;
        padding: 5px;
        background-color: white;
    }

    .col2 {
        float: right;
    }

    .bg {
        display: inline-block;
        min-width: 370px;
        width: 370px;
        min-height: 270px;
        background-size: 370px 270px;
    }


    .box {
        display: inline-block;
        min-width: 370px;
        min-height: 270px;
        transition: all ease-in 0.3s;
    }

        .box:hover {
            background-color: rgba(0, 84, 157, 0.9);
        }

            .box:hover .texte {
                background-color: transparent;
                margin-top: 0.5em;
            }

    .texte {
        position: absolute;
        display: inline-block;
        min-width: 370px;
        width: 370px;
        text-align: center;
        padding: 20px 0;
        color: #ffffff;
        font-size: 20px;
        margin-top: 207px;
        background-color: rgba(0, 84, 157, 0.7);
        transition: all ease-in 0.3s;
    }

    .desc {
        position: absolute;
        min-width: 370px;
        width: 370px;
        margin-top: 80px;
        padding: 10px;
        text-decoration: none;
        text-align: left;
        font-size: 14px;
        line-height: 1.4;
        color: transparent;
        transition: all ease-in 0.3s;
    }



    .legend {
        text-align: center;
        font-family: Arial;
        font-size: 11px;
        color: rgb(192,192,192);
    }

    .on {
        color: #ffffff;
    }



    .content {
        background-color: white;
    }

    .content-box {
        overflow-y: visible;
        max-height: none;
        text-align: center;
    }


    .header-block {
        height: auto;
    }



    .wrapper {
        /*overflow-y: scroll;*/
    }

    h1.title {
        font-size: 1.5em;
        line-height: 1.4;
    }

    .bannerCenterText h1 {
        
        color: white;
        
    }

    .bannerRightText h1 {
        font-size: 45px;
        padding-top: 20px;
        padding-left: 1em;
        color: white;
    }

    .nsw-logo {        
        height: 60px;
    }

        .nsw-logo .arrow {
            margin-top: 20px;
            height: 75px;
        }

    .headingcontainer {
        background-color: rgb(35,61,123);
        color: white;
        padding: 10px 0px 10px 10px;
        text-align: center;
        font-size: 1.6vw;
    }

    .hyperlink-button {
        /*line-height: 50px;*/
        /*font-size: 24px;*/        
    }
}



    @media only screen and (min-width: 1200px) {
        * {
            box-sizing: border-box;
        }

        .content {
            max-width: 1140px;
            width: 100%;
            margin: 0 auto;
            border: 1px;
            min-width: 370px;
        }

        .col1 {
            float: left;
            padding: 5px;
            background-color: white;
        }

        .col2 {
            float: right;
        }

        .bg {
            display: inline-block;
            min-width: 370px;
            min-height: 270px;
            background-size: 370px 270px;
        }


        .box {
            display: inline-block;
            min-width: 370px;
            min-height: 270px;
            transition: all ease-in 0.3s;
        }

            .box:hover {
                background-color: rgba(0, 84, 157, 0.9);
            }

                .box:hover .texte {
                    background-color: transparent;
                    margin-top: 0.5em;
                }

        .texte {
            position: absolute;
            display: inline-block;
            min-width: 370px;
            width: 370px;
            text-align: center;
            padding: 20px 0;
            color: #ffffff;
            font-size: 20px;
            margin-top: 207px;
            background-color: rgba(0, 84, 157, 0.7);
            transition: all ease-in 0.3s;
        }

        .desc {
            position: absolute;
            min-width: 370px;
            width: 370px;
            margin-top: 80px;
            padding: 10px;
            text-decoration: none;
            text-align: left;
            font-size: 14px;
            line-height: 1.4;
            color: transparent;
            transition: all ease-in 0.3s;
        }



        .legend {
            text-align: center;
            font-family: Arial;
            font-size: 11px;
            color: rgb(192,192,192);
        }

        .on {
            color: #ffffff;
        }




        .content {
            background-color: white;
        }

        .content-box {
            overflow-y: visible;
            max-height: none;
            text-align: center;
        }


        .header-block {
            height: auto;
        }



        .wrapper {
            /*overflow-y: scroll;*/
        }

        h1.title {
            font-size: 1.5em;
            line-height: 1.4;
        }

        .bannerCenterText h1 {
            
            color: white;
            /*font-size: 2.5em;*/
        }

        .bannerRightText h1 {
            font-size: 45px;
            padding-top: 20px;
            padding-left: 1em;
            color: white;
        }

        .nsw-logo {
            
            height: 75px;
        }

            .nsw-logo .arrow {                
                height: 75px;
            }

        .headingcontainer {
            background-color: rgb(35,61,123);
            color: white;
            padding: 10px 0px 10px 10px;
            text-align: center;
            font-size: 1.6vw;
        }

        .hyperlink-button {
            /*line-height: 50px;*/            
        }
    }


    /* iPhone 5 & 5S in portrait & landscape */
    @media only screen and (min-device-width : 320px) and (max-device-width : 568px) {
      

        .bannerCenterText h1 {
            
            color: white;
        }

        .bannerRightText h1 {
            font-size: 1.1em;
            padding-top: 1em;
            padding-left: 1em;
            color: white;
        }

        .nsw-logo {            
            height: 40px;
        }

        .cd-header {
            min-height: 70px;            
        }

        .wrapper {
            margin-top: 0px !important;
            /*overflow-y: scroll;*/
            height: calc(100vh - 90px) !important;
        }

        .hyperlink-button {
            line-height: 1px;
            
        }
    }

    /* iPhone 6, 7, & 8 Plus in portrait & landscape */
    @media only screen and (min-device-width : 414px) and (max-device-width : 736px) {
       

        .bannerCenterText h1 {
            
            color: white;
        }

        .bannerRightText h1 {
            font-size: 1.1em;
            padding-top: 1em;
            padding-left: 1em;
            color: white;
        }

        .nsw-logo {            
            height: 40px;
        }

        .cd-header {
            min-height: 70px;
            
        }

        .wrapper {
            margin-top: 0px !important;
            /*overflow-y: scroll;*/
            height: calc(100vh - 90px) !important;
        }

        .hyperlink-button {
            line-height: 1px;
            font-size: 0.2em;
        }
    }

    /* iPhone X in portrait & landscape */
    @media only screen and (min-device-width : 375px) and (max-device-width : 812px) and (-webkit-device-pixel-ratio : 3) {
       

        .bannerCenterText h1 {
            
            color: white;
        }

        .bannerRightText h1 {
            font-size: 1.1em;
            padding-top: 1em;
            padding-left: 1em;
            color: white;
        }

        .nsw-logo {            
            height: 40px;
        }

        .cd-header {
            min-height: 70px;
        
        }

        .wrapper {
            margin-top: 0px !important;
            /*overflow-y: scroll;*/
            height: calc(100vh - 90px) !important;
        }

        .hyperlink-button {
            line-height: 1px;
            font-size: 1.2em;
        }
    }

    /* iPad in portrait & landscape */
    @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
       

        .bannerCenterText h1 {
         
            color: white;
        }

        .bannerRightText h1 {
            font-size: 1.5em;
            padding-top: 0.7em;
            padding-left: 1em;
            color: white;
        }

        .nsw-logo {            
            height: 60px;
        }

        .cd-header {
            min-height: 70px;
        
        }

        .hyperlink-button {
            line-height: 1px;
            font-size: 1em;  
        }
    }

    /* iPhone 5 & 5S in portrait & landscape */
    @media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
        .content {
            min-width: 320px;
        }

        .box {
            min-width: 300px;
            width: 300px;
        }

        .bg {
            min-width: 300px;
            width: 300px;
        }

        .texte {
            min-width: 300px;
            width: 300px;
            padding: 10px 0;
            font-size: 1em;
        }

        .desc {
            min-width: 280px;
            width: 280px;
            padding: 0.5em;
            font-size: 0.8em;
            /*margin-top: 30px;*/
        }
    }

    /* iPhone 6, 7, & 8 Plus in portrait & landscape */
    @media only screen and (min-device-width : 414px) and (max-device-width : 736px) {
        .content {
            min-width: 325px;
        }
    }

    /* iPhone X in portrait & landscape */
    @media only screen and (min-device-width : 375px) and (max-device-width : 812px) and (-webkit-device-pixel-ratio : 3) {
        .content {
            min-width: 325px;
        }
    }

    /* ----------- iPad Pro ----------- */
    /* Portrait and Landscape */
    @media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 1.5) {


        .bannerCenterText h1 {
            
            color: white;
        }

        .bannerRightText h1 {
            font-size: 1.5em;
            padding-top: 0.7em;
            padding-left: 1em;
            color: white;
        }

        .nsw-logo {            
            height: 40px;
        }

        .cd-header {
            min-height: 70px;
        
        }

        .hyperlink-button {
            line-height: 1px;
            font-size: 1em;
        }
    }  