﻿html {
    height: 100vh;
    margin: 0;
    padding: 0;
}
body {

    height:  100vh;
    margin: 0;
    padding: 0;
    background: url(../img/bgImage2.jpg) no-repeat center center fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    font: normal 14px/1.5 Arial, Tahoma, Helvetica, Verdana, sans-serif;
}
form {
    margin: 0;
    padding: 0;
}

.divlogo {
    /*margin-bottom: 20px;*/
    text-align:center
}

.divborder {
    border: 5px solid #FFFFFF;
    padding: 30px;
}

.divlogin {
    /*left: 50%;*/
    left: 20%;
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 330px;
    max-width: 330px;
    overflow:hidden;
}

.divfrase {
    /*left: 50%;*/
    right: 25%;
    position: fixed;
    top: 50%;
    transform: translate(50%, -50%);
    z-index: 1;
    color: #FFF;
    width: 500px;
    max-width: 500px;
    padding: 15px 30px 30px;
    text-align: right;
    font: 300 40px/1.2 "Century Gothic", CenturyGothic, Geneva, AppleGothic, sans-serif;
    text-transform: uppercase;
}

.divfrase2 {
    color: #FFF;
    padding: 15px 0 0;
    text-align: center;
    font: 300 40px/1.2 "Century Gothic", CenturyGothic, Geneva, AppleGothic, sans-serif;
    text-transform: uppercase;
    display: none;
    width: auto;
}

img {
    max-width: 100%;
}

.newStyle1 {
    color: #FFF;
}

#Submit1 {
    outline: 0;
    background: #a5d712;
    width: 100%;
    border: 0;
    padding: 15px;
    margin-top: 15px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    color: #FFF;
    font-size: 14px;
    -webkit-transition: all 0.3 ease;
    transition: all 0.3 ease;
    cursor: pointer;
}

#Submit1:hover {
    background: #85B200;
}
#UserEmail, #UserPass {
    outline: 0;
    background: rgba(255,255,255,0.6);
    width: 100%;
    box-sizing: border-box;
    border:0px;
    margin: 5px 0 5px;
    padding: 10px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    font-size: 14px;
}
span {
    color: #ff0000;
    font-size: 12px;
}




    /*==========  Non-Mobile First Method  ==========*/

    /* Medium Devices, Desktops */
    @media only screen and (max-width : 992px) {
        .divlogin {
            /*left: 50%;*/
            left: 25%;
            position: fixed;
            top: 50%;
            transform: translate(-50%, -50%);
            z-index: 1;
            width: 400px;
            max-width: 400px;

        }
        .divfrase {
            width: 350px;
            max-width: 350px;
            font: 300 30px/1.2 "Century Gothic", CenturyGothic, Geneva, AppleGothic, sans-serif;
        }
        .divfrase2 {
            display: none;
        }
    }

    /* Small Devices, Tablets */
    @media only screen and (max-width : 768px) {
        .divlogin {
            left: 50%;
            position: absolute;
            top: 40%;
            transform: translate(-50%, -50%);
            z-index: 1;
            width: 400px;
            max-width: 400px;
            margin: 0 auto 0;
        }

        .divfrase {
            display:none;
        }

        .divfrase2 {
            color: #FFF;
            padding: 15px 0 0;
            text-align: center;
            font: 300 18px/1.2 "Century Gothic", CenturyGothic, Geneva, AppleGothic, sans-serif;
            text-transform: uppercase;
            display: block;
        }

    }

    /* Extra Small Devices, Phones */ 
    @media only screen and (max-width : 480px) {
        .divlogin {
            width: 260px;/*230px*/
            max-width: 260px;/*230px*/
        }

        img {
            max-width: 100%;
        }

        .divfrase {
            display: none;
        }

        .divfrase2 {
            display: block;
        }
    }

    /* Custom, iPhone Retina */ 
    @media only screen and (max-width : 320px) {
        .divlogin {
            width: 230px;
            max-width: 230px;
        }
        img {
            max-width: 100%;
        }      

        .divfrase {
            display: none;
        }

        .divfrase2 {
            display: block;
        }         
    }

@-ms-viewport{
  width: device-width;
}

/* Portrait */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 2) {
    .divlogin {
        left: 50%;
        position: absolute;
        top: 50%;
    }

    .divfrase {
        display: none;
    }

    .divfrase2 {
        display: block;
        font: 300 35px/1.2 "Century Gothic", CenturyGothic, Geneva, AppleGothic, sans-serif;
    }
}

/* Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 2) {
   .divlogin {
        /*left: 50%;*/
        left: 25%;
        position: fixed;
        top: 50%;
    }

    .divfrase {
        /*left: 50%;*/
        right: 25%;
        position: fixed;
        top: 50%;
        transform: translate(50%, -50%);
        z-index: 1;
        color: #FFF;
        width: 400px;
        max-width: 500px;
        margin: 0 auto 100px;
        padding: 15px 30px 30px;
        text-align: right;
        font: 300 35px/1.2 "Century Gothic", CenturyGothic, Geneva, AppleGothic, sans-serif;
        text-transform: uppercase;
    }
}

/* Portrait */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 1) {
    .divlogin {
        left: 50%;
        position: absolute;
        top: 50%;
    }

    .divfrase {
        display: none;
    }

    .divfrase2 {
        display: block;
        font: 300 35px/1.2 "Century Gothic", CenturyGothic, Geneva, AppleGothic, sans-serif;
    }
}

/* Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 1) {
   .divlogin {
        /*left: 50%;*/
        left: 25%;
        position: fixed;
        top: 50%;
    }

    .divfrase {
        /*left: 50%;*/
        right: 25%;
        position: fixed;
        top: 50%;
        transform: translate(50%, -50%);
        z-index: 1;
        color: #FFF;
        width: 400px;
        max-width: 400px;
        margin: 0 auto 100px;
        padding: 15px 30px 30px;
        text-align: right;
        font: 300 35px/1.2 "Century Gothic", CenturyGothic, Geneva, AppleGothic, sans-serif;
    }
}

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2) {
   .divlogin {
        zoom: 0.51;
    }

    .divfrase {
        display: none;
    }
}

/* Portrait */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) {
   .divlogin {
        zoom: 0.60;
    }

    .divfrase {
        display: none;
    }
}

/* ----------- iPhone 6 ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2) { 
   .divlogin {
        zoom: 0.56;
    }

    .divfrase {
        display: none;
    }
}

/* Portrait */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) { 
   .divlogin {
        zoom: 0.76;
    }

    .divfrase {
        display: none;
    }
}

/* Landscape */
@media only screen 
  and (max-device-width: 640px) 
  and (-webkit-min-device-pixel-ratio: 1)
  and (orientation: landscape) { 
   .divlogin {
        zoom: 0.6;
    }

    .divfrase {
        display: none;
    }
}

@media only screen 
  and (min-device-width: 320px)
  and (max-device-width: 533px) 
  and (-webkit-min-device-pixel-ratio: 1)
  and (orientation: portrait) {
   .divlogin {
        zoom: 0.90;/*0.76*/
    }

    .divfrase {
        display: none;
    }
}

@media only screen 
  and (min-device-width: 320px)
  and (max-device-width: 533px) 
  and (-webkit-min-device-pixel-ratio: 1)
  and (orientation: landscape) {
   .divlogin {
        zoom: 0.52;
    }

    .divfrase {
        display: none;
    }
}

/* Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) {
   .divlogin {
        zoom: 0.45;
    }

    .divfrase {
        display: none;
    }
}

@media only screen 
  and (max-device-width: 773px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape) { 
   .divlogin {
        zoom: 0.6;
    }

    .divfrase {
        display: none;
    }
}

/* Landscape */
@media only screen 
  and (max-device-width: 732px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape) { 
   .divlogin {
        zoom: 0.61;
    }

    .divfrase {
        display: none;
    }
}

@media only screen 
  and (min-device-width: 360px) 
  and (max-device-width: 640px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape) { 
   .divlogin {
        zoom: 0.58;
    }

    .divfrase {
        display: none;
    }
}

/* Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) {


   .divlogin {
        zoom: 0.53;
    }

    .divfrase {
        display: none;
    }

}