@import url(https://fonts.googleapis.com/css?family=Raleway:400,500,600);

html,
body{
    position: relative;
    background-color: #222;
    margin:  0;
    padding: 0;
    font-family: 'Raleway', sans-serif;
    height: 100%;
    min-height: 100%;
}

a{
    text-decoration: none;
}

img,
form,
ul, li{
    margin:  0;
    padding: 0;
    border:  0;
}
img{
    vertical-align: bottom;
}
input:focus{
    outline: none;
}
input[type="text"], input[type="password"] {
  -webkit-appearance: caret; /* toglie ombre safari */
  -moz-appearance: caret;    /* toglie ombre moz mobile */
}

.clear{
    display: block;
    width: 100%;
    clear: both;
    height: 1px;
}

.base-shadow{
    box-shadow: 0 34px 60px 12px rgba(0,0,0,0.45);
}

/*******************************
*
*            LAYOUT
*
********************************/

.main-mgr-container,
.main-module-container{
    position: relative;
    width: 100%;
    min-width: 650px;
    min-height: 75%;
    padding: 5% 0 50px 0;
    background: white url(../images/manager/bg_01.jpg) center center no-repeat;
    background-size: cover;
}

    .mgr-topbar{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 35px;
        overflow: hidden;
        background-color: #222;
        background-color: rgba(0,0,0,0.45);
        text-shadow: 0 0 0.7em black;
        z-index: 100;
    }
        .mgr-topbar ul.topbar-menu{
            list-style: none;
        }
            ul.topbar-menu li{
                float: left;
                padding: 8px 25px;
            }
            ul.topbar-menu li.language-chooser{
                padding-top: 6px;
            }
            ul.topbar-menu li.language-chooser img{
                margin: 1px 2px 0 0;
            }
            ul.topbar-menu li.topbar-item-right{
                float: right;
                border-left: 1px solid #111;
            }
            ul.topbar-menu li a{
                color: #b3b3b3;
                text-decoration: none;
            }
            ul.topbar-menu li a:hover,
            ul.topbar-menu li a:active{
                color: #eee;
            }


/*******************************
*
*            LOGIN
*
********************************/

.login-content-box{
    position: absolute;
    width: 460px;
    background-color: white;
    top: 50%;
    left: 50%;
    margin-left: -230px;
    margin-top: -220px;
    padding-bottom: 20px;
    text-align: center;
}
    .mgr-customer-logo{
        border-bottom: 1px solid #333;
        padding: 18px 0;
        margin-bottom: 30px;
        text-align: center;
        background-color: #333;
        box-shadow: 0 2px 2px 0 rgba(0,0,0,0.25);
    }

    .login-customer-error{
        display: none;
        color: red;
        margin: 20px auto;
    }

    .login-form-container{
        padding: 30px 0 20px;
    }

    #login-form p{
        position: relative;
        display: block;
        width: 300px;
        height: 50px;
        padding: 0 10px;
        margin: 0 auto 20px auto;
        border-bottom: 1px solid #ddd;
    }
    #login-form p select {
        position: relative;
        top: 6px;
        display: block;
        width: 290px;
        margin: 0 auto;
        font-size: 12pt;
        color: #8a8b8c;
        background: none;
        border: 0;
        z-index: 5;
    }
    #login-form p input:-webkit-autofill {
        -webkit-box-shadow: 0 0 0px 1000px white inset;
    }
    #login-form p input,
    #login-form p span{
        position: relative;
        top: 11px;
        display: block;
        width: 290px;
        margin: 0 auto;
        font-size: 16pt;
        text-align: center;
        color: #175784;
        background: none;
        border: 0;
        z-index: 5;
    }
    #login-form p span{
        position: absolute;
        display: none;
        left: 16px;
        letter-spacing: 0.05em;
        color: #aaa;
        z-index: 1;
    }
    #login_password input{
        letter-spacing: 5px;
    }

    .login-submit-btn{
        padding-top: 40px;
        font-weight: bold;
        color: #457fc4;
        font-size: 1.6em;
        cursor: pointer;
    }

/*******************************
*
*         MANAGER HOME
*
********************************/

.mgr-home-launchpad{
    width: 80%;
    max-width: 1000px;
    margin: 0 auto;
    background-color: white;
}

    .mgr-home-launchpad .mgr-customer-logo{
        position: relative;
        padding: 16px 0;
        margin-bottom: 2px;
    }

        .layout-mode-btn{
            position: absolute;
            top: 50%;
            right: 36px;
            display: block;
            height: 24px;
            width: 25px;
            margin-top: -12px;
            background: url(../images/manager/icons-layout-mode.png) right bottom no-repeat;
            transition: background-position 0.2s 0.3s ;
        }
        .layout-mode-btn.grid-mode{
            background-position: left bottom;

        }

    .mgr-home-launchpad ul{
        display: block;
        list-style: none;
    }
        .mgr-home-launchpad ul li.module-item{
            position: relative;
            display: block;
            width: 100%;
            float: left;
            border-top: 1px solid #eee;
            background: #url(../images/manager/icon-next.png) 94% center no-repeat;
            transition: width 0.15s, height 0.1s;
        }
        .mgr-home-launchpad ul li.first-module{
            border: 0;
        }
            .mgr-home-launchpad ul li a{
                display: block;
                padding: 20px 120px 20px 140px;
                text-decoration: none;
                background-position: 50px center;
                background-repeat: no-repeat;
                background-size: 32px 32px;
                filter:progid:DXImageTransform.Microsoft.Alpha(enabled=false);
                transition: background-position 0.5s;
                opacity:1
            }
            .mgr-home-launchpad .mod_title{
                display: block;
                color: #3a6aa3;
                font-size: 1.45em;
                font-weight: 600;
            }
            .mgr-home-launchpad .mod_description{
                display: block;
                padding-top: 5px;
                color: #888;
                font-weight: 400;
            }
        .mgr-home-launchpad ul li.selected{
            background: #f1f1f1 url(../images/manager/icon_loading_module.gif) 95% center no-repeat;
            -moz-transition-property:background-color;
            -o-transition-property:background-color;
            -webkit-transition-property:background-color;
            transition-property:background-color;
            -moz-transition-duration:0.4s;
            -o-transition-duration:0.4s;
            -webkit-transition-duration:0.4s;
            transition-duration:0.4s;
        }
        .mgr-home-launchpad ul li.not-selected{
            background: none;
        }
            .mgr-home-launchpad li.not-selected a{
                filter:progid:DXImageTransform.Microsoft.Alpha(enabled=false);
                opacity:0.1;
                -moz-transition-property:opacity;
                -o-transition-property:opacity;
                -webkit-transition-property:opacity;
                transition-property:opacity;
                -moz-transition-duration:0.5s;
                -o-transition-duration:0.5s;
                -webkit-transition-duration:0.5s;
                transition-duration:0.5s;
            }

    ul.grid-mode li.module-item{
        width: 25%;
        box-sizing: border-box;
        height: 180px;
        border-right: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
        border-top : 0;
        background-position: 92% center;
        overflow: hidden;
    }
        ul.grid-mode li.module-item a{
            background-position: 30px 30px;
            padding: 80px 14% 20px 30px;
            font-size: 0.8em;

        }
        ul.grid-mode li.module-item .mod_title{
            font-size: 1.25em;
        }

    ul li.module-item.highlight-module{
        background-color: #f0f6fd;

    }
        ul li.module-item.highlight-module a{
            background-size: auto auto;
        }
    ul li.module-item.selected.highlight-module{
        background-color: white;
    }


/*******************************
*
*            FOOTER
*
********************************/

.mgr-footer{
    padding: 30px 0;
    text-align: center;
    color: #5f5f5f;
    background-color: #222;
}
    .mgr-footer img,
    .footer-description{
        vertical-align: middle;
        margin: 0 5px;
    }

/*******************************
*
*        RESPONSIVE LAYOUT
*
********************************/

@media (max-width: 1024px){

    .mgr-home-launchpad {
        width: 90%;
    }
        .mgr-home-launchpad ul li a { padding: 15px 120px 15px 140px; }
        .mgr-home-launchpad .mod_title{ font-size: 1.1em; }
        .mgr-home-launchpad .mod_description{ font-size: 0.9em; }

        .mgr-home-launchpad ul.grid-mode li.module-item .mod_title { font-size: 1em; }

}

#cambioPassword {
    text-decoration: none;
    color: #175784;
    font-size: smaller;
    padding-right: 50px;
}