
/* Potrait */
/*@media screen and (orientation:portrait) and (min-height: 547px) {
    body {
        background-color: green;
        background-image: url('images/375x667.png');
        background-repeat: no-repeat;
    }
}*/

/* landscape */
/*@media screen and (orientation:landscape) {
    body {
        background-color: yellow;
        background-image: url('images/667x375.png');
        background-repeat: no-repeat;
    }
}*/

/*VISUALIZZAZIONE DA LAPTOP*/
/*@media (max-width: 1200px) {*/
@media only screen and (min-width: 1185px) and (max-width: 1500px) {
    body {
        background-color: black;
        /* The image used */
        background-image: url('images/375x667.png');

        /* Center and scale the image nicely */
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        /* contaier */
        .container{
            margin-top: 240px;
            margin-bottom: 0px;
            margin-right: 0px;
            margin-left: 530px;
        }

        /* Login */
        #div_login {
            border: 1px solid gray;
            border-radius: 1px;
            width: 360px;
            height: 290px;
            box-shadow: 0px 2px 2px 0px  gray;
            margin-left: 0px;
        }

        #div_login h1{
            margin-top: 0px;
            font-weight: normal;
            font-size: 30px;
            background-color: cornflowerblue;
            color: white;
            font-family: sans-serif;
        }

        #div_login div{
            clear: both;
            margin-top: 10px;
            padding: 5px;
        }

        #div_login .textbox{
            width: 100%;
            font-weight: normal;
            font-family: sans-serif;
            font-size: 30px;
            padding: 10px;
        }

        #div_login input[type=submit]{
            width: 140px;
            font-weight: normal;
            font-family: sans-serif;
            font-size: 30px;
            padding: 10px;
            background-color: lightseagreen;
            border: 0px;
            color: white;
        }
    }
}

/*-------------------------------------------------------*/

/*VISUALIZZAZIONE DA MOBILE VERTICALE */
@media only screen and (orientation:portrait) and (min-width: 375px) and (max-width: 375px) and (min-height: 647px) and (max-height: 667px) {
    body {
        background-color: black;
        /* The image used */
        background-image: url('images/375x667.png');

        /* Center and scale the image nicely */
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
            
        /* contaier */
        .container{
            margin-top: 190px;
            margin-bottom: 0px;
            margin-right: 0px;
            margin-left: 0px;
        }

        /* Login */
        #div_login {
            border: 1px solid gray;
            border-radius: 1px;
            width: 360px;
            height: 290px;
            box-shadow: 0px 2px 2px 0px  gray;
            margin-left: 0px;
        }

        #div_login h1{
            margin-top: 0px;
            font-weight: normal;
            font-size: 30px;
            background-color: cornflowerblue;
            color: white;
            font-family: sans-serif;
        }

        #div_login div{
            clear: both;
            margin-top: 10px;
            padding: 5px;
        }

        #div_login .textbox{
            width: 100%;
            font-weight: normal;
            font-family: sans-serif;
            font-size: 30px;
            padding: 10px;
        }

        #div_login input[type=submit]{
            width: 140px;
            font-weight: normal;
            font-family: sans-serif;
            font-size: 30px;
            padding: 10px;
            background-color: lightseagreen;
            border: 0px;
            color: white;
        }
    }
}

/*VISUALIZZAZIONE DA MOBILE ORIZONTALE*/
@media only screen and (orientation:landscape) and (min-width: 667px) and (max-width: 667px) and (min-height: 375px) and (max-height: 375px) {
    body {
        background-color: yellow;
        background-image: url('images/667x375.png');
        background-repeat: no-repeat;
        /* contaier */
        .container{
            margin-top: 40px;
            margin-bottom: 0px;
            margin-right: 0px;
            margin-left: 150px;
        }

        /* Login */
        #div_login {
            border: 1px solid gray;
            border-radius: 1px;
            width: 360px;
            height: 290px;
            box-shadow: 0px 2px 2px 0px  gray;
            margin-left: 0px;
        }

        #div_login h1{
            margin-top: 0px;
            font-weight: normal;
            font-size: 30px;
            background-color: cornflowerblue;
            color: white;
            font-family: sans-serif;
        }

        #div_login div{
            clear: both;
            margin-top: 10px;
            padding: 5px;
        }

        #div_login .textbox{
            width: 100%;
            font-weight: normal;
            font-family: sans-serif;
            font-size: 30px;
            padding: 10px;
        }

        #div_login input[type=submit]{
            width: 140px;
            font-weight: normal;
            font-family: sans-serif;
            font-size: 30px;
            padding: 10px;
            background-color: lightseagreen;
            border: 0px;
            color: white;
        }
    }
}

/*VISUALIZZAZIONE DA MOBILE VERTICALE*/
@media only screen and (orientation:portrait) and (min-width: 375px) and (max-width: 375px) and (min-height: 792px) and (max-height: 812px) {
    body {
        background-color: black;
        /* The image used */
        background-image: url('images/375x667.png');

        /* Center and scale the image nicely */
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
            
        /* contaier */
        .container{
            margin-top: 265px;
            margin-bottom: 0px;
            margin-right: 0px;
            margin-left: 0px;
        }

        /* Login */
        #div_login {
            border: 1px solid gray;
            border-radius: 1px;
            width: 360px;
            height: 290px;
            box-shadow: 0px 2px 2px 0px  gray;
            margin-left: 0px;
        }

        #div_login h1{
            margin-top: 0px;
            font-weight: normal;
            font-size: 30px;
            background-color: cornflowerblue;
            color: white;
            font-family: sans-serif;
        }

        #div_login div{
            clear: both;
            margin-top: 10px;
            padding: 5px;
        }

        #div_login .textbox{
            width: 100%;
            font-weight: normal;
            font-family: sans-serif;
            font-size: 30px;
            padding: 10px;
        }

        #div_login input[type=submit]{
            width: 140px;
            font-weight: normal;
            font-family: sans-serif;
            font-size: 30px;
            padding: 10px;
            background-color: lightseagreen;
            border: 0px;
            color: white;
        }
    }
}

/*VISUALIZZAZIONE DA MOBILE ORIZONTALE*/
@media only screen and (orientation:landscape) and (min-width: 812px) and (max-width: 812px) and (min-height: 375px) and (max-height: 375px) {
    body {
        background-color: yellow;
        /* The image used */
        background-image: url('images/375x667.png');

        /* Center and scale the image nicely */
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        /* contaier */
        .container{
            margin-top: 40px;
            margin-bottom: 0px;
            margin-right: 0px;
            margin-left: 220px;
        }

        /* Login */
        #div_login {
            border: 1px solid gray;
            border-radius: 1px;
            width: 360px;
            height: 290px;
            box-shadow: 0px 2px 2px 0px  gray;
            margin-left: 0px;
        }

        #div_login h1{
            margin-top: 0px;
            font-weight: normal;
            font-size: 30px;
            background-color: cornflowerblue;
            color: white;
            font-family: sans-serif;
        }

        #div_login div{
            clear: both;
            margin-top: 10px;
            padding: 5px;
        }

        #div_login .textbox{
            width: 100%;
            font-weight: normal;
            font-family: sans-serif;
            font-size: 30px;
            padding: 10px;
        }

        #div_login input[type=submit]{
            width: 140px;
            font-weight: normal;
            font-family: sans-serif;
            font-size: 30px;
            padding: 10px;
            background-color: lightseagreen;
            border: 0px;
            color: white;
        }
    }
}

/*VISUALIZZAZIONE DA MOBILE VERTICALE*/
/*@media (max-width: 414px) {*/
@media only screen and (orientation:portrait) and (min-width: 414px) and (max-width: 414px) and (min-height: 876px) and (max-height: 896px) {
    body {
        background-color: black;
        /* The image used */
        background-image: url('images/375x667.png');

        /* Center and scale the image nicely */
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        /* contaier */
        .container{
            margin-top: 300;
            margin-bottom: 0px;
            margin-right: 0px;
            margin-left: 17px;
        }

        /* Login */
        #div_login {
            border: 1px solid gray;
            border-radius: 1px;
            width: 360px;
            height: 290px;
            box-shadow: 0px 2px 2px 0px  gray;
            margin-left: 0px;
        }

        #div_login h1{
            margin-top: 0px;
            font-weight: normal;
            font-size: 30px;
            background-color: cornflowerblue;
            color: white;
            font-family: sans-serif;
        }

        #div_login div{
            clear: both;
            margin-top: 10px;
            padding: 5px;
        }

        #div_login .textbox{
            width: 100%;
            font-weight: normal;
            font-family: sans-serif;
            font-size: 30px;
            padding: 10px;
        }

        #div_login input[type=submit]{
            width: 140px;
            font-weight: normal;
            font-family: sans-serif;
            font-size: 30px;
            padding: 10px;
            background-color: lightseagreen;
            border: 0px;
            color: white;
        }
    }
}

/*VISUALIZZAZIONE DA MOBILE ORIZONTALE*/
/*@media (max-height: 414px) {*/
@media only screen and (orientation:landscape) and (min-width: 896px) and (max-width: 896px) and (min-height: 414px) and (max-height: 414px) {
    body {
       background-color: yellow;
        /* The image used */
        background-image: url('images/375x667.png');

        /* Center and scale the image nicely */
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        /* contaier */
        .container{
            margin-top: 55;
            margin-bottom: 0px;
            margin-right: 0px;
            margin-left: 260px;
        }

        /* Login */
        #div_login {
            border: 1px solid gray;
            border-radius: 1px;
            width: 360px;
            height: 290px;
            box-shadow: 0px 2px 2px 0px  gray;
            margin-left: 0px;
        }

        #div_login h1{
            margin-top: 0px;
            font-weight: normal;
            font-size: 30px;
            background-color: cornflowerblue;
            color: white;
            font-family: sans-serif;
        }

        #div_login div{
            clear: both;
            margin-top: 10px;
            padding: 5px;
        }

        #div_login .textbox{
            width: 100%;
            font-weight: normal;
            font-family: sans-serif;
            font-size: 30px;
            padding: 10px;
        }

        #div_login input[type=submit]{
            width: 140px;
            font-weight: normal;
            font-family: sans-serif;
            font-size: 30px;
            padding: 10px;
            background-color: lightseagreen;
            border: 0px;
            color: white;
        }
    }
}
/* Potrait / Iphone SE */
@media only screen and (orientation:portrait) and (min-width: 375px) and (max-width: 375px) and (min-height: 647px) and (max-height: 667px) {

}

/* landscape / Iphone SE */
@media only screen and (orientation:landscape) and (min-width: 667px) and (max-width: 667px) and (min-height: 375px) and (max-height: 375px) {
  
}

/* Potrait / Iphone XR */
@media only screen and (orientation:portrait) and (min-width: 414px) and (max-width: 414px) and (min-height: 876px) and (max-height: 896px) {
 
}

/* landscape / Iphone XR */
@media only screen and (orientation:landscape) and (min-width: 896px) and (max-width: 896px) and (min-height: 414px) and (max-height: 414px) {

}

/* Potrait / Galaxy NOTE 9 */


/* landscape / Galaxy NOTE 9 */