.uppercase{
    text-transform: uppercase !important;
}
.padding-left-0{
    padding-left:0 !important;
}
#login_form, #set_password_form, .forgot_pass, .change_pass, .awaiting_user_form{
    background: #fff;
    border: 1px solid #E4E6EA;
    border-radius: 8px;
    margin-top: 35px;
    padding: 30px 15px;
    box-shadow: 0px 4px 64px rgba(119, 130, 149, 0.1);
}

/** change padding to fix recaptcha width */
#login_form {
    padding: 40px 40px 20px;
}

#modal-awaiting-user .awaiting_user_form,
#modal-code-sent .awaiting_user_form{
    padding: 0;
}

#modal-awaiting-user .modal-wrap,
#modal-code-sent .modal-wrap {
    width: 100%;
    height: 100%;
}

#modal-code-sent .modal-dialog {
    margin: 15px;
    width: 350px;
    max-width: 100%;
}

#modal-code-sent {
    position: fixed;
    bottom: 0;
}

#modal-code-sent .close_popup {
    margin-top: -10px;
    margin-right: -5px;
    color: white;
    opacity: 1 !important;
}

#modal-code-sent .modal-body {
    text-align: center;
    color: white;
}

.code_send_block {
    left: 20px;
}

#modal-code-sent .modal-content{
    background: rgba(81,173,62,0.7);
    border: 1px solid rgba(81,173,62,0.7);
}

#modal-awaiting-user .modal-wrap>td{
    vertical-align: middle;
}

.awaiting_user_form{
    padding-top: 12px;
    padding-bottom: 15px;
}

.awaiting_user_form.modal-content{
    box-shadow: 0 5px 15px rgb(0 0 0 / 50%);
}

.awaiting_user_form .form-header{
    margin-bottom: 23px;
}

.awaiting_user_form .form-footer h4{
    margin-bottom: 4px;
}

.awaiting_user_form a{
    text-decoration: underline;
}

.awaiting_user_form a:hover{
    text-decoration: none;
}

.awaiting_user_form h4{
    font-size: 17px;
}

.change_pass .back-to-login {
    padding: 7px 14px;;
}
.margin-0{
    margin:0 !important;
}
.padding-0{
    padding:0 !important;
}
.after_password_set {
    color: #001238;
    font-size: 13px !important;
}
.message-box {
    background-color: #e1edf6;
    border-left: 5px solid #1b75bb;
    border-radius: 0 4px 4px 0;
    color: #001238;
    font-size: 12px;
    margin: 0;
    padding: 4px 30px 4px 15px;
}
.message-box.error {
    background-color: #fbe1e3;
    border-left: 5px solid #dca7b0;
    color: #a94442;
    font-size: 12px;
    margin: 0;
    padding: 4px 30px 4px 15px;
}
.form-group label, .related-fields > label {
    color: #001238;
}
.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
}
input {
    border-radius: 4px !important;
}
.form-control {
    height: 40px;
    border: 1px solid #BBC1CA;
    padding: 8px 16px;
}
.form-control, .form-group.form-md-line-input .onlineRoomsNumber, .form-control, .form-group.form-md-line-input .allocatedRoomsNumber {
    color: #001238;
}
.form-control, .form-group.form-md-line-input .form-control {
    font-size: 14px;
}
.form-control[disabled] {
    background-color: #f1f3f4;
    color: #778295;
    border: 1px solid #BBC1CA !important;
}

.form-control[disabled]:-webkit-autofill {
    -webkit-box-shadow:0 0 0 50px #f1f3f4 inset;
}


.auth_body .login-header h3 {
    font-size: 30px;
    font-weight: 300 !important;
    line-height: 50px;
}
.auth_body .login-header p {
    font-size: 18px;
    font-weight: 300 !important;
    line-height: 30px;
    margin-bottom: 0;
}

#login_form h3,
.forgot_pass h3,
.api-authorize h3 {
    font-size: 18px;
    line-height: 24px;
    margin: 0 0 30px;
}

.app-footer .btn-group .btn,
.btn {
    font-size: 14px;
    line-height: 24px;
    color: #fff !important;
    text-decoration: none;
    padding: 8px 16px;
    background: #32C0A0;
    border: none;
    outline: none !important;
    transition: all .2s ease-in;
    border-radius: 20px;
    cursor: pointer;
}
.app-footer .btn-group .btn {
    border-radius: 20px !important;
}

.app-footer .btn-group .btn:hover,
.app-footer .btn-group .btn:active,
.btn:hover,
.btn:active {
    background-color: #259486;
}

.app-footer .btn-group .btn:focus,
.btn:focus {
    background-color: #32C0A0;
}

.app-footer .btn-group .btn.default,
.btn.default {
    background: transparent;
    color: #001238 !important;
    border: 1px solid #778295;
    box-shadow: none !important;
}
.app-footer .btn-group .btn.default:hover,
.app-footer .btn-group .btn.default:active,
.btn.default:hover,
.btn.default:active {
    background: #EBF0FF;
}

.app-footer .btn-group .btn.default:focus,
.btn.default:focus {
    background: #CCD9FF;
}

.has-loader{
    position: relative;
    transition: color .2s ease;
}

.has-loader.loading {
    color: transparent !important;
}

.has-loader:after {
    content: '';
    display: block;
    opacity: 0;
    width: 14px;
    height: 14px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    border-bottom: 2px solid transparent;
    border-left: 2px solid transparent;
    border-radius: 50%;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    animation: 0.45s linear 0s infinite normal none running spin;
    transition: opacity .2s ease;
}

.has-loader.loading:after {
    opacity: 1;
}

@keyframes spin {
    from {
        transform:rotate(0deg);
    }
    to {
        transform:rotate(360deg);
    }
}

#login_form #lngSelector, .passTint #lngSelector{
    background: rgba(0, 0, 0, 0) none repeat scroll 0 center;
    border:none;
    border-bottom:1px solid #868585;
    box-shadow: none;
    color: #333;
    font-size: 16px;
    padding-left: 0;
    padding-right: 0;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    height: 34px;
    display:block;
    width:100%;
}
.forgot_pass,
.change_pass {
    width: 100%;
    padding: 40px;
    margin: 35px auto 0;
}

.back_login {
    width: 100%;
}

.has-error input.form-control,
input.error,
select.error,
textarea.error,
.myimg_upload.qq-upload-button.error,
button.error {
    border: 1px solid #f13e64 !important;
    background-color: #fbe1e3;
}

.server-error-alert,
.password-form-group,
.main_login_btn {
    display: none;
}

.server-error-alert {

    position: relative;
    border: 1px solid #f3565d;
    background: #FEEEEF;
    color: #001238;
    padding: 10px 40px;
}

.server-error-alert .close{
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    opacity: 1;
}

.server-error-alert .close:before,
.server-error-alert .close:after {
    content: '';
    position: absolute;
    top: 5px;
    left: 10px;
    height: 14px;
    width: 2px;
    background-color: #001238;
}

.server-error-alert .close:before {
    transform: rotate(45deg);
}

.server-error-alert .close:after {
    transform: rotate(-45deg);
}

.alert-danger-icon {
    position: absolute;
    left: 14px;
    top: 13px;
}

.input-icon > i {
    color: #ccc;
    display: block;
    font-size: 16px;
    left: 0;
    margin: 11px 2px 4px 10px;
    position: absolute;
    text-align: center;
    width: 16px;
    z-index: 3;
}
[class*=" fa-"]:not(.fa-stack), [class*=" glyphicon-"], [class*=" icon-"], [class^="fa-"]:not(.fa-stack), [class^="glyphicon-"], [class^="icon-"] {
    display: inline-block;
    line-height: 14px;
}
.input-icon {
    left: 0;
    position: relative;
}
.input-icon > .form-control {
    padding-left: 33px;
}
#login_form hr {
    margin: 20px -30px;
}


.auth_body.auth_admin {
    background: url(../login_screen/login_bg_3.jpg) no-repeat center center fixed;
}

.auth_admin .login_info{
    margin-top: 215px;
    padding: 30px 15px;
}

.passTint{
    background: #fff none repeat scroll 0 0;
    border: 1px solid #eee;
    border-radius: 6px 6px 0 0 !important;
    margin-top: 35px;
    padding: 30px 15px;
}
.app_icon{
    width:60px;
    height:60px;
    border-radius:6px;
    margin-left:10px;
}
.app_info{
    margin-left:10px;
}
.passTint hr{
    margin: 20px -15px;
}
.note {
    margin: 0 0 20px;
    padding: 15px 30px 15px 15px;
    border-left: 5px solid #eee;
    border-radius: 0 4px 4px 0;
}
.note.note-danger {
    background-color: #f8f8f8;
    border-color: #f3565d;
    color: #210406;
}
.note.note-danger ul{
    padding-left:0;
    list-style-type: none;
}
.note.note-danger ul li{
    padding:8px 10px;
}
.note.note-danger ul li:before{
    content: "\f054";
    font-family: FontAwesome;
    position: relative;
    left:-10px;
    color:#f3565d;
}
.authorize, .back_to_login,
.login_app{
    background: #f76916;
}
.authorize:hover, .authorize:focus,
.back_to_login:hover, .back_to_login:focus,
.login_app:hover, .login_app:focus{
    background: #ab490f;
    border-color:#ab490f;
    box-shadow: none;
}
.deny{
    color:#000;
}
.deny:hover, .deny:focus{
    background: #c2cad8;;
    border-color:#bcc5d4;
    box-shadow: none;
    color:#000;
}
.actions_init{
    background: #fff none repeat scroll 0 0;
    border: 1px solid #eee;
    border-radius: 0 0 6px 6px !important;
    padding: 5px 15px 30px;
}
.act{
    margin-top:20px;
}
.logged_as i.fa{
    color:#338ec9;
    font-size: 14px;
}
.access_acc{
    margin-left: 10px;
}
.accept_terms{
    font-size: 12px;
}
.modal-overlay {
    background-image: url(images/black_25.png);
    z-index: 50002;
    display: none;
    height: 100%;
    left: 0;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0;
    position: fixed;
    top: 0;
    width: 100%;
}
.popup {
    padding: 0px;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    display: none;
    height: 200px;
    left: 50%;
    margin-left: -150px;
    margin-top: -100px;
    position: fixed;
    top: 25%;
    width: 300px;
    z-index: 1050;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    background-clip: padding-box;
    border-radius: 6px !important;
}
.terms_popup {
    width: 50%;
    min-width: 300px;
    margin: 0 auto;
    top: 10%;
    left: 0;
    right: 0;
    height: 600px;
}
.popup .popup-title {
    border-bottom: 1px solid #EFEFEF;
    margin: 0;
    line-height: 1.42857;
    padding: 15px;
}
.close_popup{
    padding: 0;
    cursor: pointer;
    background: 0 0;
    border: 0;
    display: inline-block;
    margin-top: 0;
    margin-right: 10px;
    float: right;
    font-size: 21px;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .2;
}
.close_popup:hover{
    opacity: 1;
}
.popup-footer {
    padding: 15px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
}
.popup-body {
    position: relative;
    padding: 15px;
    overflow-y: auto;
    max-height:460px;
}
.popup-footer .close{
    text-transform: uppercase;
    padding: 10px 20px;
    background: inherit;
    border: 1px solid transparent;
    opacity: 1;
    border-radius: 4px !important;
}
.full-width{
    margin-left: -30px;
    margin-right: -30px;
}
.change_auth_method .select_new_method{
    text-decoration: underline;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.change_auth_method.disabled {
    pointer-events: none;
    opacity: 0.4;
}

.uppercase {
    text-transform: uppercase;
}

.disabled_block {
    pointer-events: none;
    opacity: 0.5;
}

.auth-associations .btn-group.bootstrap-select {
    border: none;
    box-shadow: none;
    display: block;
    height: 34px;
    margin: 5px 0 0 10px;
    width: 240px !important;
    padding: 0;
}
.auth-associations .btn-group.bootstrap-select .caret {
    border: none;
    margin-top: -8px !important;
    width: 8px;
    height: 8px;
}
.auth-associations .btn-group.bootstrap-select .caret:before {
    content: "\F107";
    display: inline-block;
    border: 0;
    font-family: FontAwesome, sans-serif;
    font-style: normal;
    font-weight: normal;
}
.auth-associations .btn-group.bootstrap-select > .btn.default {
    background: #e5e5e5;
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1), 0 1px 2px rgba(0, 0, 0, .18);
    color: #001238 !important;
    float: left;
    font-weight: 600;
    font-style: normal;
    font-size: 12px;
    height: 34px;
    line-height: 18px;
    min-width: 240px;
    position: relative;
}
.auth-associations .btn-group.bootstrap-select > .btn.default:hover,
.auth-associations .btn-group.bootstrap-select > .btn.default:focus,
.auth-associations .btn-group.bootstrap-select > .btn.default:active,
.auth-associations .btn-group.bootstrap-select > .btn.default.active {
    background: lightgray;
    box-shadow: 0 3px 6px rgba(0, 0, 0, .2), 0 3px 6px rgba(0, 0, 0, .26);
    border: none;
}
.auth-associations .btn-group.bootstrap-select > .dropdown-menu {
    box-shadow: 0 3px 6px rgba(0, 0, 0, .16), 0 3px 6px rgba(0, 0, 0, .22) !important;
    margin: 1px 0 0;
    min-width: 100%;
    border-radius: 2px !important;
    background-color: white;
    border: 0 !important;
}
.auth-associations .btn-group.bootstrap-select.open > .dropdown-menu {
    transition: opacity 1500ms cubic-bezier(.23, 1, .32, 1) .1ms;
    opacity: 1;
    filter: alpha(opacity=100);
}
.auth-associations .btn-group.bootstrap-select.open > .dropdown-menu.open {
    margin-bottom: 50px;
}
.auth-associations .btn-group.bootstrap-select.open > .dropdown-menu li > a {
    padding: 8px 14px;
    color: #555;
    line-height: 18px;
    font-family: "Open Sans", sans-serif;
    white-space: normal;
}
.auth-associations .btn-group.bootstrap-select.btn-group .dropdown-menu li a:hover {
    background: #e5e5e5;
}
.auth-associations .btn-group.bootstrap-select .checkbox {
    left: 14px;
}
.auth-associations .btn-group.bootstrap-select .checkbox > .box {
    top: 0;
    border: 2px solid #666;
    height: 16px;
    width: 16px;
    display: inline-block;
}
.auth-associations .btn-group.bootstrap-select .checkbox > .check {
    top: 0;
    left: 4px;
    width: 8px;
    height: 15px;
    border: 3px solid #0072bc;
    border-top: none;
    border-left: none;
    display: inline-block;
}
.auth-associations .available-props, .auth-associations .unavailable-props {
    padding: 8px 14px;
    font-size: 14px;
    line-height: 21px;
}
.auth-associations .unavailable-props {
    color: #afafaf;
    border-top: solid 2px #999;
}
.auth-associations .available-props ol,
.auth-associations .unavailable-props ol {
    margin-left: 10px;
}
.auth-associations .available-props ol > li:before,
.auth-associations .unavailable-props ol > li:before {
    content: "*";
    position: absolute;
    left: -10px;
}
.multiple .auth-associations #propList {
    padding-left: 16px;
    margin-bottom: 10px;
}
.auth-associations .bootstrap-select .disabled {
    opacity: 0.6;
}
/*----------------------------------- Updates API connection approval modal for use by IDP (identity/oauth2/authorize */
.oauth-2 > .wrap,
.oauth-2 .logo-wrap,
.auth_body.oauth-2,
.oauth-2 .login-header,
.oauth-2 .login-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.oauth-2 {
    font-size: 12px;
    background: #f1f3fa;
    color: #001238;
    font-family: "Poppins", sans-serif;
    height: auto;
    min-height: 100vh;
}
.oauth-2 > .wrap {
    padding: 10px;
}
.oauth-2 a {
    text-decoration: none;
}
.oauth-2 hr {
    border-top: 1px solid #fff;
}
.oauth-2 .login-header h1 {
    letter-spacing: 0.3px;
}
.oauth-2 .login-body {
    width: 573px;
    margin: 40px 0 0 0;
    background: #fff;
    border: 1px solid #E4E6EA;
    border-radius: 8px;
    margin-top: 35px;
    padding: 30px 15px;
    box-shadow: 0px 4px 64px rgb(119 130 149 / 10%);
}
.oauth-2 ul {
    list-style: inherit;
}
.oauth-2 .login-body > section:last-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding: 22px 20px 31px 20px;
}
.oauth-2 .login-body hr {
    border: none;
}
.oauth-2 .login-body hr,
.oauth-2 .login-body > section + section {
    border-top: 1px solid #ddd;
}
.oauth-2 .access_acc {
    margin: 0 0 10px 0;
    font-size: 11px;
    letter-spacing: -0.2px;
}
.oauth-2 .login-footer {
    display: inline-block;
    margin-top: 51px;
    letter-spacing: 0.3px;
}
.oauth-2 p {
    font-size: 10px;
}
.oauth-2 .validation {
    font-size: 12px;
    color: #ff0000;
    display: none;
}
.oauth-2 .validation.organization-validation {
    padding: 13px 19px;
    display: block;
}
/* -------------------------------------------------------------------------------------------------- app description */
.app-description {
    padding: 19px 20px 5px 20px
}
.app-description figure {
    display: flex;
    margin: 0 0 7px 0;
}
.app-description figure img {
    display: flex;
    margin-right: 17px;
}
.app-description figure h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}
.app-description figure h6 {
    font-size: 13px;
    font-weight: 400;
    margin: 4px 0;
}
/* ------------------------------------------------------------------------------------------------ select properties */
.select-properties {
    padding: 13px 19px;
}
.select-properties .md-radio-inline {
    margin: 24px 0 24px 10px;
}
.select-properties .form-group.md-checkbox-inline {
    margin: 0 0 10px 10px;
}
.select-properties .btn-group.bootstrap-select > .btn.default {
    margin: 0;
    justify-content: space-between;
    background: #fff !important;
    border: 1px solid #BBC1CA !important;
    border-radius: 4px;
    box-shadow: none;
    color: #001238 !important;
    outline: none !important;
    text-transform: uppercase;
}
/* ------------------------------------------------------------------------------------------ buttons group in footer */
.app-footer .btn-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 30px;
    min-width: 230px;
}

.app-footer .logged_as a {
    font-weight: 800;
    color: #363636;
}
/* --------------------------------------------------------------------- switching in select properties radio buttons */
#connect_all_properties:checked ~ .md-radio-inline label[for=connect_all_properties] .check,
#connect_specific_properties:checked ~ .md-radio-inline label[for=connect_specific_properties] .check {
    opacity: 1;
    transform: scale(1);
}
#connect_all_properties,
#connect_all_properties_wrap,
#connect_specific_properties,
#connect_specific_properties_wrap {
    display: none;
}
.oauth-2 #connect_all_properties_wrap.selected,
.oauth-2 #connect_specific_properties_wrap.selected {
    display: block;
    min-height: 43px;
}
#connect_specific_properties_wrap select {
    display: none !important;
}
/* --------------------------------------------------------------------------------------- next authorization template*/
.oauth-2 .app-header {
    display: flex;
}

.oauth-2 .login-header .logo {
    width: 239px;
    height: 39px;
}
.oauth-2 .app-header .logo {
    width: 30px;
    height: 30px;
}
.oauth-2 .note.note-danger {
    border: none;
    width: 100%;
    max-width: 317px;
}
.oauth-2 .app-header > figure {
    flex-shrink: 0;
}
.oauth-2 .app-header > div {
    flex-grow: 1;
}
.oauth-2 .note.note-danger ~ .btn-group .btn {
    margin: 10px;
}
.oauth-2 .note.note-danger + p {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    opacity: .5;
}

.accept_terms {
    line-height: 18px;
    text-align: center;
}

.form-group.forget-password {
    text-align: center;
    font-size: 12px;
}

.login-body a {
    color: #3366FF;
}

.form-control:hover {
    border-color: #778295;
}

.form-control:focus {
    border-color: #3366FF;
    box-shadow: 0px 0px 8px rgba(51, 102, 255, 0.5);
}

.form-group {
    margin-bottom: 20px;
}

.has-error > label{
    color: #F3565D;
}

.error-message {
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    color: #F3565D;
}

.email-form-group .error-message,
.password-form-group .error-message {
    display: none;
}

.email-form-group.has-error .error-message,
.password-form-group.has-error .error-message {
    display: block;
    margin-top: 7px;
}

.forget-password {
    display: none;
}

.back-to-sign-in {
    cursor: pointer;
}
/* ----------------------------------------------------------------------------------------------------- media queries*/
@media (max-width: 595px) {
    .oauth-2 .login-body {
        width: 100%;
    }
}


@media (max-width: 767px) {
    .terms_popup {
        top: 5%;
        width: 90%;
    }
  }

@media (min-width: 768px) {
    #modal-code-sent {
        bottom: 50px;
    }
}

