/*@import url('../font-awesome-4.1.0/css/font-awesome.css');*/
/*@import url("../Content/font-awesome.min.css");*/
@import url(https://fonts.googleapis.com/css?family=Lato:400,700);


/* ----    LARGHEZZA -----*/
@media only screen and (min-width: 769px)
{

    body
    {
        background: url('../images/cms/login/bg.png');
        background-position: 0;
        background-repeat: repeat;
    }

      .form-4
    {
        -webkit-box-shadow: 0 2px 3px rgba(0,0,0,.55);
        -moz-box-shadow: 0 2px 3px rgba(0,0,0,.55);
        box-shadow: 0 2px 3px rgba(0,0,0,.55);
        border: 1px solid #818c94;
        border: 1px solid rgba(0,0,0,.4);
    }
}

@media only screen and (max-width: 768px)
{
    body
    {
        background-color: #fff;
    }

   
}

@media only screen and (min-width: 1200px)
{
    .section_login
    {
        margin-top: 150px;
    }

}
/* --FINE    LARGHEZZA -----*/

/* ----    ALTEZZA -----*/
@media only screen and (max-height: 480px)
{

    .space_after
    {
        height: 80px;
    }
}


@media only screen and (min-height: 481px) and (max-height: 720px)
{

    .space_after
    {
        height: 182px;
    }
}

@media only screen and (min-height: 721px) and (max-height: 1280px)
{
    .space_after
    {
        height: 260px;
    }
}
/* ----FINE    ALTEZZA -----*/

.space_after
{
    display: block;
    width: 100%;
}



body
{
    font-family: 'Lato',sans-serif;
    font-weight: 300;
    font-size: 12px;
    color: #333;
    overflow-y: scroll;
    overflow-x: hidden;
    height: auto;
}


/* GLOBALS */

*,
*:after,
*:before
{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

.clearfix:after
{
    content: "";
    display: table;
    clear: both;
}


/* Demo 4 */

.form-4
{
    /* Size and position */
    /*width: 300px;
    margin: 50px auto 0px;
    padding: 10px;
    position: relative;
    color: white;*/
    /*-----------------*/
    margin-left: auto;
    margin-right: auto;
    min-height: 364px;
    min-width: 320px;
    max-width: 412px;
    width: calc(100% - 40px);
    padding: 36px;
    margin-bottom: 28px;
    background-color: #fff;
}



.form-4 h1
{
    font-size: 22px;
}

.form-4 h1
{
    font-size: 22px;
    padding-bottom: 30px;
}

input:-webkit-autofill
{
    background-color: white !important;
    -webkit-box-shadow: 0 0 0px 1000px white inset;
}

.form-4 input[type=text],
.form-4 input[type=password]
{
    /* Size and position */
    width: 100%;
    height: 36px;
    padding: 0px 4px 0px 10px;
    margin-bottom: 15px;
    /* Styles */
    border: 1px solid rgba(0,0,0,.6); /* Fallback */
    /*border: 1px solid rgba(78,48,67, 0.8);*/
    background: #fff;
    border-radius: 2px;
    /*box-shadow: 0 1px 0 rgba(255,255,255,0.2), inset 0 1px 1px rgba(0,0,0,0.1);*/
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    /* Font styles */
    font-family: 'Lato', sans-serif;
    color: #818181;
    font-size: 13px;
}

/* Placeholder style (from http://stackoverflow.com/questions/2610497/change-an-inputs-html5-placeholder-color-with-css) */

.form-4 input::-webkit-input-placeholder
{
    color: rgba(37,21,26,0.5);
    text-shadow: 0 1px 0 rgba(255,255,255,0.15);
}

.form-4 input:-moz-placeholder
{
    color: rgba(37,21,26,0.5);
    text-shadow: 0 1px 0 rgba(255,255,255,0.15);
}

.form-4 input:-ms-input-placeholder
{
    color: rgba(37,21,26,0.5);
    text-shadow: 0 1px 0 rgba(255,255,255,0.15);
}

.form-4 input[type=text]:hover,
.form-4 input[type=password]:hover
{
    border-color: #333;
}

.form-4 input[type=text]:focus,
.form-4 input[type=password]:focus,
.form-4 input[type=submit]:focus
{
    box-shadow: 0 1px 0 rgba(255,255,255,0.2), inset 0 1px 1px rgba(0,0,0,0.1), 0 0 0 3px rgba(255,255,255,0.15);
    outline: none;
}

/* Fallback */
.no-boxshadow .form-4 input[type=text]:focus,
.no-boxshadow .form-4 input[type=password]:focus
{
    outline: 1px solid white;
}

.form-4 input[type=submit]
{
}

.btn_submit
{
    /* Size and position */
    display: block;
    width: 100%;
    height: 39px;
    padding: 0;
    margin: 0;
    /* Styles */
    background: #0067b8;
    /*background-image: linear-gradient(bottom, rgb(65,65,65) 80%);
    background-image: -o-linear-gradient(bottom, rgb(65,65,65) 80%);
    background-image: -moz-linear-gradient(bottom, rgb(65,65,65) 80%);
    background-image: -webkit-linear-gradient(bottom, rgb(65,65,65) 80%);
    background-image: -ms-linear-gradient(bottom, rgb(65,65,65) 80%);
    background-image: -webkit-gradient( linear, left bottom, left top, color-stop(0.8, rgb(65,65,65)) );*/
    border-radius: 3px;
    /*border: 1px solid #4e3043;*/
    box-shadow: inset 0 1px rgba(255,255,255,0.4), 0 2px 1px rgba(0,0,0,0.1);
    cursor: pointer;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    /* Font styles */
    color: white;
    text-shadow: 0 1px 0 rgba(0,0,0,0.3);
    font-size: 17px;
    font-weight: bold;
    font-family: 'Lato', sans-serif;
    text-align: center;
}



.logoLoginLogin
{
    background: url(../images/cms/login/login.png) repeat-x left top;
    color: #ffffff;
    text-shadow: 0px 2px 1px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    width: 84px;
    height: 39px;
    display: block;
    margin: 0 auto;
}

.logoLoginLogin:hover
{
    background: url(../images/cms/login/login.png) repeat-x left bottom;
}

.logoLoginBlocked
{
    background: url(../images/cms/login/blocked.png) repeat-x left top;
    color: #ffffff;
    text-shadow: 0px 2px 1px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    width: 110px;
    height: 39px;
    display: block;
    margin: 0 auto;
}

.logoLoginBlocked:hover
{
    background: url(../images/cms/login/blocked.png) repeat-x left bottom;
}

.logoLoginManutenzione
{
    /*background: url(../images/cms/login/manutenzione.png) repeat-x left top;*/
    color: #ffffff;
    text-shadow: 0px 2px 1px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    width: 169px;
    height: 39px;
    display: block;
    margin: 0 auto;
}

.logoLoginManutenzione:hover
{
    /*background: url(../images/cms/login/manutenzione.png) repeat-x left bottom;*/
    color: red;
}

.copyright
{
    position: fixed;
    bottom: 0;
    background-color: rgba(0,0,0,0.6);
    width: 100%;
    font-family: Tahoma;
    font-size: 12px;
    text-align: center;
    padding: 5px;
    color: #fff;
}



.form-4 input[type=submit]:hover
{
}

/* Fallback */
.no-boxshadow .form-4 input[type=submit]:hover
{
    background: #594642;
}

.form-4 label
{
    display: none;
    padding: 0 0 5px 2px;
    cursor: pointer;
}

.form-4 label:hover ~ input
{
    border-color: #333;
}

.no-placeholder .form-4 label
{
    display: block;
}

label[for=login], label[for=password]
{
    text-align: center !important;
    color: black !important;
}
