﻿body {
    font-family: Lato Regular;
    background-color: #277552;
    padding-top: 40px;
    padding-bottom: 40px;
    height:100vh;
}
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) {
    body {
        zoom: 0.9;
        -moz-transform: scale(0.9);
        -moz-transform-origin: top center;
        -o-transform: scale(0.9);
        -o-transform-origin: top center;
        -webkit-transform: scale(0.9);
        -webkit-transform-origin: top center;
        transform: scale(0.9); /* Standard Property */
        transform-origin: top center;
        /*position: absolute;
        right: 0;
        top: 0;
        width: 1024px;*/
    }
}

@font-face {
    font-family: "Lato Regular";
    src: url("Lato-Regular.ttf");
    font-weight: normal;
    font-style: normal;
}

a:hover {
    text-decoration: none;
    outline: none;
}

a:focus {
    text-decoration: none;
    outline: none;
    color: #fff;
}

a:hover:focus {
    color: #23527c;
}

.form-signin {
    padding: 15px;
    margin: 0 auto;
}

.image-logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.login-middle {
    padding-left: 0;
    padding-right: 0;
    height: 450px;
    width: 550px;
    background-color: #2c855d;
    border-bottom: 3px solid #256f4d;
}

.login-middle-mod {
    padding-left: 0;
    padding-right: 0;
    width: 550px;
    box-shadow: 1px 3px 1px 0px rgba(0,0,0,0.200);
    border-radius: 20px;
}

.ul-login {
    height: 40px;
}

.linkbutton-webcam {
    background-color: #4ac18c;
}

    .linkbutton-webcam > a {
        text-align: left !important;
        color: #fff;
    }

.linkbutton-form {
    background-color: #4ac18c;
}

    .linkbutton-form > a {
        text-align: right !important;
        color: #fff;
    }

.nav > li > a:focus {
    text-decoration: none;
    background-color: #2c855d !important;
    color: #aeebd0 !important;
}

.nav > li > a:hover {
    text-decoration: none;
    background-color: #256f4d;
    opacity: 0.98;
}

.active {
    background-color: #2c855d !important;
}

    .active > a {
        color: #aeebd0 !important;
    }

.linkbutton-default {
    color: #aeebd0;
}

.float-none {
    float: none !important;
}

.username {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    height: 55px;
    background-color: #aeebd0;
    border-radius: 1000px 1000px 1000px 1000px; /*padding-top: 12px;     padding-left: 25px;*/
}

.password {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    height: 55px;
    background-color: #aeebd0;
    border-radius: 1000px 1000px 1000px 1000px; /*padding-top: 12px;     padding-left: 25px;*/
}

.postpassword {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    height: 30px;
}

.alert {
    margin-bottom: 10px;
    border-radius: 20px;
}

.entra {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 45px;
    height: 55px;
    background-color: #19abff;
    border-radius: 1000px 1000px 1000px 1000px;
}

.lnkentra {
    display: block;
    width: 100%;
    height: 55px;
    color: #fff;
    font-size: x-large;
    font-weight: bolder;
    background-color: #19abff;
}

.btn:hover, .btn:focus {
    color: #fff;
    text-decoration: none;
}

.btn {
    box-shadow: 0px 3px 1px rgba(0,0,0,.125);
    border: 0px;
}

    .btn:active {
        box-shadow: inset 0px 3px 1px rgba(0,0,0,.125) !important;
        outline: none;
    }

        .btn:active:focus, .btn:focus {
            outline: none;
        }

        .btn:active > *:first-child {
            margin-top: 2px;
        }

.textbox-icon {
    top: 12px;
    left: 7%;
    float: left;
    color: #277552;
    position: absolute;
}

.textbox:focus, .textboxwebcam:focus {
    outline: none;
    box-shadow: inset 0px 3px 1px rgba(0,0,0,.200) !important;
    padding-top: 2px;
}

.textbox {
    padding-left: 60px;
    border-radius: 50px;
    background-color: transparent;
    border: 0;
    height: 100%;
    width: 100%;
    font-size: medium;
    color: #277552;
    line-height: normal;
}

input[class^="textbox"], input[class*=" textbox"] {
    /*da sistemare*/
}

.textboxwebcam {
    margin-left: 10px;
    background-color: transparent;
    border: 0;
    height: 30px;
    width: 200px;
    font-size: medium;
    color: #277552;
    line-height: normal;
}

.chkricorda {
    float: left;
}

.password-dimenticata {
    float: right;
}

*::-webkit-input-placeholder {
    color: #277552;
    font-size: small;
    font-weight: bold;
}

*:-moz-placeholder {
    /* FF 4-18 */
    color: #277552;
    font-size: small;
    font-weight: bold;
}

*::-moz-placeholder {
    /* FF 19+ */
    color: #277552;
    font-size: small;
    font-weight: bold;
}

*:-ms-input-placeholder {
    /* IE 10+ */
    color: #277552;
    font-size: small;
    font-weight: bold;
}

input[type=checkbox] {
    display: none;
}

/* SQUARED FOUR */
.squaredFour {
    float: left;
    width: 20px;
    position: relative;
}

    .squaredFour label {
        cursor: pointer;
        position: absolute;
        width: 20px;
        height: 20px;
        top: 0;
        border-radius: 4px;
        background: #fff;
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfff4', endColorstr='#b3bead',GradientType=0 );
    }

        .squaredFour label:after {
            -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
            filter: alpha(opacity=0);
            opacity: 0;
            content: '';
            position: absolute;
            width: 12px;
            height: 8px;
            background: transparent;
            top: 4px;
            left: 4px;
            border: 3px solid #333;
            border-top: none;
            border-right: none;
            -webkit-transform: rotate(-45deg);
            -moz-transform: rotate(-45deg);
            -o-transform: rotate(-45deg);
            -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
        }

        .squaredFour label:hover::after {
            -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
            filter: alpha(opacity=30);
            opacity: 0.5;
        }

    .squaredFour input[type=checkbox]:checked + label:after {
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
        filter: alpha(opacity=100);
        opacity: 1;
    }
/* FINE SQUARED FOUR */
.spanricorda {
    float: left;
    margin-left: 30px;
    color: #fff;
    font-weight: lighter;
}

.vertical-align {
    display: flex;
    flex-direction: row;
}

    .vertical-align > [class^="col-"], .vertical-align > [class*=" col-"] {
        display: flex;
        align-items: center;
        justify-content: center; /* Optional, to align inner items horizontally inside the column */
    }

.vertical-center {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex; /* Align the bootstrap's container vertically */
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center; /* In legacy web browsers such as Firefox 9      we need to specify the width of the flex container */ /*width: 100%;*/ /* Also 'margin: 0 auto' doesn't have any effect on flex items in such web browsers      hence the bootstrap's container won't be aligned to the center anymore.         Therefore, we should use the following declarations to get it centered again */
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
}

.nopadding {
    padding: 0 !important;
}

.nopadding-left {
    padding-left: 0px;
}

.nopadding-right {
    padding-right: 0px;
}

.nopadding-left-right {
    padding-left: 0px;
    padding-right: 0px;
}

.tipsy-inner {
    background-color: #C00;
    color: #FFF;
    max-width: 200px;
    padding: 5px 8px 4px 8px;
    text-align: center;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    box-shadow: 0 0 5px #C00;
    -webkit-box-shadow: 0 0 5px #C00;
    -moz-box-shadow: 0 0 5px #C00;
}

.tipsy {
    font-size: 13px;
    position: absolute;
    z-index: 10;
    top: -75%;
    left: 25%;
    display: none;
}

.tipsy-arrow-w {
    border-right-color: #C00;
}

.tipsy-arrow {
    top: 100%;
    left: 50%;
    position: absolute;
    width: 0;
    height: 0;
    line-height: 0;
    border-left: 6px solid transparent;
    border-top: 6px solid #C00;
    border-right: 6px solid transparent;
    border-bottom: 6px solid transparent;
}
