body {
    background: #f5f5f5 !important;
    padding: 0 !important;
}

.login-portlet {
    width: 300px;
    margin: auto;
}
.login-portlet * {
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    color: #333;
    text-shadow: none !important;
}

.login-portlet ul {
    margin: 0;
    padding: 10px 20px;
    list-style: disc outside !important;
}

.login-portlet .header *,
.login-portlet .footer,
.login-portlet .footer * {
    color: #fff;
}

.login-portlet .header {
    padding: 20px;
}

.login-portlet .body {
    background: #fff;
    padding: 30px 20px 20px;
}

.login-portlet .footer {
    padding: 20px;
    margin: 0 0 30px;
}

.login-portlet h1{
    font-weight: 700;
    padding-bottom: 9px;
    margin: 40px 0 20px;
    margin-bottom: 0;
    text-align: center;
}

.login-portlet h2 {
    font-weight: bolder !important;
}

.login-portlet input[type="text"],
.login-portlet input[type="password"] {
    display: block;
    width: 250px;
    height: 34px;
    padding: 0px 5px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.login-portlet input:focus {
    border-color: #66afe9 ;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
}

.login-portlet button,
.login-portlet a.button,
.login-portlet input[type="submit"] {
    display: inline-block;
    padding: 6px 12px;
    margin-top: 20px;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    color: #fff !important;
    border: 4px outset #d5d5d5;
    margin: 30px auto 0;
    display: table;
}
.login-portlet .input[type="submit"]:hover,
.login-portlet .input[type="submit"]:active,
.login-portlet .input[type="submit"]:focus,
.login-portlet button:hover,
.login-portlet button:active,
.login-portlet button:focus,
.login-portlet .button:hover,
.login-portlet .button:active,
.login-portlet .button:focus {
    color: #fff !important;
    border-top: 0;
    border-right: 0;
    border-left: 0;
}

.login-portlet .group p,
.login-portlet .group p a{
    font-size: 0.9em !important;
    margin: 5px 0 15px;
    text-align: center;
    text-decoration: none;
    font-weight: normal;
}

.login-portlet .group p a:hover {
    text-decoration: underline;
    cursor: pointer;
}

.antivirus {
    width: 240px;
    background: #fff;
    padding: 20px 30px;
    margin: auto;
}

.antivirus a {
    text-align: center;
    display: block;
}

.antivirus > img {
    margin: 0 auto 15px;
    display: table;
}

.antivirus a img {
    margin-bottom: 20px;
}

.antivirus a {
    font-weight: bold;
    text-decoration: none;
}

/* Assegurats */
.login-portlet.assegurats .header,
.login-portlet.assegurats .footer {
    background:  #568ba1;
}

.login-portlet.assegurats  h1{
    color: #436c7d;
}

.login-portlet.assegurats button,
.login-portlet.assegurats .button,
input[type="submit"] {
    background: #568ba1;
    text-decoration: none;
    display: inline-block;
    margin-top: 0;
}

.login-portlet.assegurats button:hover,
.login-portlet.assegurats button:active,
.login-portlet.assegurats button:focus,
.login-portlet.assegurats .button:hover,
.login-portlet.assegurats .button:active,
.login-portlet.assegurats .button:focus,
.login-portlet.assegurats input[type="submit"]:hover,
.login-portlet.assegurats input[type="submit"]:active,
.login-portlet.assegurats input[type="submit"]:focus {
    background: #7ab6cf !important;
    border-bottom:4px solid #95c5d9;
    text-decoration: none;
}

.login-portlet.assegurats .group p,
.login-portlet.assegurats .group p a{
    color: #436c7d !important;
}

.login-portlet.assegurats .antivirus a:hover {
    color: #568ba1;
    text-decoration: underline;
}

/* Empreses */
.login-portlet.empreses .header,
.login-portlet.empreses .footer {
    background: #e5b844;
}

.login-portlet.empreses h1{
    color: #c4aa4e;
}

.login-portlet.empreses button,
.login-portlet.empreses .button {
    background: #e5b844;
    text-decoration: none;
}


.login-portlet.empreses .button {
    display: inline-block;
    margin-top: 0;
}

.login-portlet.empreses .button b {
    color: #fff;
}

.login-portlet.empreses button:hover,
.login-portlet.empreses button:active,
.login-portlet.empreses button:focus,
.login-portlet.empreses .button:hover,
.login-portlet.empreses .button:active,
.login-portlet.empreses .button:focus {
    background: #dec584;
    border-bottom:4px solid #95c5d9;
    text-decoration: none;
}

.login-portlet.empreses .group p,
.login-portlet.empreses .group p a{
    color: #c4aa4e !important;
}

.login-portlet.empreses .antivirus a:hover {
    color: #e5b844;
    text-decoration: underline;
}

.login-portlet.empreses button {
    margin: 0 auto;
}

.login-portlet.empreses p.label-btn {
    margin-top: 30px !important;
    display: block;
}

.login-portlet.assegurats .aui-form-validator-message.required {
    width: calc(100% - 30px);
    color: #fff;
}

.aui-form-validator-error-container .aui-field-element {
    background: none !important;
}

.aui-form-validator-error-container .aui-field-element input[type='text'] {
    background: url(/cass-theme/images/messages/error.png) no-repeat scroll 98% 50%;
}

.center {
    margin: auto;
    display: table;
}

hr{
    margin: 1em;
}

.text-center{
    text-align: center;
}