/****************************
* Factory: GPI *
* Author: Stefano Berton    *
****************************/
@media only screen and (min-width: 321px) and (max-width: 799px) {
    
    .container {
        position: relative;
        width: 100%;
        height: auto;
        float: left;
        clear: both;
        text-align: center;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin: 118px 0 40px 0;
    }
    .container .center {
        width: calc(100% - 80px);
        height: auto;
        border: 1px solid #ffffff;
        background-color: #ffffff;
        border-radius: 7px;
        padding: 0 7px 0 7px;
        margin: 0 0 50px 0;
    }
        
    .main-menu {
        width: 100%;
        height: 29px;
        background-color: #951B82;
        position: absolute;
        top: 64px;
        right: 0;
        overflow-x: scroll;
        overflow-y: hidden;
        white-space: nowrap;
        margin: 0;
        padding: 8px 0 0 0;
    }
    
    .main-menu ul {
        width: calc(100% - 8px);
        height: 32px;
        margin: 0;
        padding: 0;
        font-size: 16px;
        list-style-type: none;
    }
    
    .main-menu ul li {
        height: 32px;
        width: auto;
        padding: 10px;
        margin: 0;
        text-transform: uppercase;
        border-right: 1px solid #fff;
        display: inline;
    }
    
    .main-menu ul li a {
        color: #ffffff;
        text-decoration: none;
        margin: 0;
        padding: 0;
        width: auto;
        height: 32px;
    }
    
    .main-menu ul li a:visited {
        color: #ffffff;
        text-decoration: none;
    }
    
    .main-menu ul li a:hover {
        color: #ff6633;
        background-color: #951B82;
        text-decoration: none;
    }
    
    .login-form button[type="submit"] {
        width: 100%;
        height: 40px;
        border: 0px;
        border-radius: 5px;
        color: #fff;
        background-color: #951B82;
        font-weight: bold;
        font-size: 11pt;
        letter-spacing: 2px;
    }
    
    .login-form .form-label {
        display: inline-block;
        width: 50px;
        height: 100%;
        float: left;
    }
    
    .login-form .form-group {
        width: 100%;
        height: 50px;
    }
    
    .container .form-group {
        margin-bottom: 10px;
    }
    
    .container .form-group.last {
        margin-bottom: 0;/*20px;*/
    }
    
    .login-form .form-label img {
        width: 100%;
        height: 100%;
    }
    
    .login-form .form-input {
        /*width: calc(100% - 50px);
        height: 100%;*/
        width: calc(100% - 62px);
        height: calc(100% - 4px);
        padding: 1px 1px 1px 0px;
        padding-left: 0px;
        padding-left: 10px;
        border: 1px solid #cbd5dd;
        border-left-color: rgb(203, 213, 221);
        border-left-style: solid;
        border-left-width: 1px;
        border-left: 0;
        color: #757575;
        font-size: 10pt;
        letter-spacing: 1px;
    }
    
    .header-logo {
        width: 100%;
        height: 64px;
        position: absolute;
        left: 0;
        top: 0;
        background-image: linear-gradient(to right, #fff, #951B82);
        padding: 0;
        margin: 0;
    }
    
    .header-logo img {
        margin: 6px 0 0 8px;
        width: 156px !important;
        height: 50px !important;
    }
    
    .footer {
        width: calc(100% - 40px);
        height: 26px;
        position: fixed;
        bottom: 0;
        left: 0;
        clear: both;
        background-image: linear-gradient(to right, #ff6633, #fff);
        text-align: right;
        padding: 10px 40px 0 0;
        margin: 0;
    }
    
    .footer img {
        float: right;
        margin: -0.15em 0 0 5px;
    }
}
