.form-horizontal #submit-label {
    display: none
}

.form-horizontal #submit-element {
    text-align: right;
    clear: both
}

.form-horizontal label {
    float: left
}

.form-horizontal .form-group {
    clear: both
}

.form-horizontal .form-control {
    width: auto;
    display: block;
    float: left;
    width: 62.667%
}

.form-horizontal ul {
    clear: both;
    list-style: none;
    padding-left: 33.3333%
}

.cms-login-box {
    width: 100% !important;
    max-width: 400px !important;
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important
}

.cms-login-box-row {
    max-width: 850px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2px
}

.login-content{
    background-color: #fff !important;
    overflow-y: auto;
    height: 100vh;
    display: block;
    position: relative;
    padding-bottom: 100px;
    box-sizing: border-box;
}

.login-details-content{
    padding: 0 70px;
    height: 60vh;
    display: flex;
    align-items: center;
}

.login-details-content input {
    box-sizing: border-box;
    background-color: #f0f7fc;
    margin-bottom: 24px;
    border-radius: 8px;
    border: 0;
    padding: 23px 25px;
    width: 100%;
    min-width: 143px;
    height: 58px;
}

.login-details-content .submit-btn {
    font-size: 18px;
    margin-bottom: 0;
    width: auto !important;
    font-weight: 700;
    color: #fff;
    padding: 0;
}

.form-label{
    font-size: 15px;
    margin-bottom: 12px;
}

.text-orange{
    color: #E85D18;
}

.text-casatour {
    color: #00b1ac;
}

.main-title{
    font-weight: 600;
    font-size: 38px;
    line-height: 38px;
    font-style: italic;
    margin-top: 0;
}

.login-subtitle{
    font-size: 17px;
    font-weight: 600;
    color: #000000;
}

.form-content{
    width: 90%;
    padding: 30px 40px 0 0;
    margin-bottom: 0;
}

.form-content ul, .hint{
    clear: both;
    list-style: none;
    color: red;
    padding: 0;
}

.footer nav{
    display: flex;
    flex-flow: wrap;
}

.footer nav a, .footer nav a:visited, .footer nav a:focus, .footer nav a:active {
    margin-right: 30px;
    font-weight: 600;
    font-size: 15px;
    color: #000;
}

.footer-element{
    padding: 0 70px;
}

.copyright-text{
    flex: 1 0 0%;
    text-align: right;
}

.login-bg-image{
    min-height: 100vh;
    background-image: url('../../../img/loginMask.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right center;
}

.logo-container{
    padding-right: 30px;
    padding-top: 20px;
}

.login-logo-img{
    min-height: 80px;
    background: url('../../../img/logo_large.png') top right no-repeat;
}

.login-logo-img-casatour{
    min-height: 80px;
    background: url('../../../img/logo_casatour_dark.png') top right no-repeat;
}

.footer-content{
    position: absolute;
    bottom: 0;
    width: 100%;
    overflow-x: hidden;
}

.footer{
    margin: 30px 0;
}

.forgot-pass-btn, .forgot-pass-btn:hover, .forgot-pass-btn:visited{
    float: right !important;
    color: #E85D18;
    text-decoration:none;
}

@media only screen and (max-width: 1564px) {
    .copyright-text {
        white-space: nowrap;
    }
}
@media only screen and (max-width: 1025px) {
    .login-details-content{
        padding-top: 0;
    }

    .footer-element{
        padding: 0;
    }

    .login-bg-image{
        display: none;
    }

    .login-content{
        height: unset;
    }

    .login-content{
        width: 100%;
        margin: 0 auto;
    }

    .form-content {
        padding: 30px 60px 0 0;
        margin-bottom: 50px;
    }

    .login-details-row{
        margin: 0 auto;
        padding-bottom: 0;
    }

    .footer-content {
        padding: 0 200px;
    }

    .copyright-text {
        text-align: left;
    }
}

@media only screen and (max-width: 769px) {
    .login-details-content {
        height: 50vh;
    }

    .form-content {
        width: 100%;
        padding: 0;
        margin-bottom: 0;
    }

    .footer nav a {
        margin-right: 12px;
    }

    .footer nav {
        flex-flow: unset;
    }

    .footer{
        margin-top: 15px;
    }

    .copyright-text {
        flex: unset;
    }
}

@media only screen and (max-width: 765px) {
    .footer-content {
        padding: 0 100px;
    }
}

@media only screen and (max-width: 420px) {
    .footer-content {
         justify-content: unset;
         text-align: unset
    }

    .footer nav {
        flex-flow: column;
    }
    .footer nav a {
        margin-right: 12px;
        display: block;
    }

    .login-details-content {
        height: 100vh;
        padding: 0 20px;
        margin-top: -170px;
    }

    .main-title{
        font-size: 32px;
    }

    .logo-container {
        padding: 20px 30px 0 18%;
    }

    .login-logo-img {
        background: url(../../../img/logo_large.png) top left no-repeat;
    }

    .footer-content {
        padding-left: 8%;
    }

    .footer nav a {
        margin-right: 12px;
        display: block;
        padding: 10px 25px;
    }
}

@media only screen and (max-width: 376px) {
    .logo-container {
        padding: 20px 30px 0 15%;
    }

    .login-details-content {
        margin-top: -150px;
    }

    .footer nav a {
        margin-right: 12px;
        display: block;
        padding: 10px 13px;
    }
}
