/* Fetch open-sans font from Google's CDN */

@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,700');
html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    /* Global */
    font-family: 'Open Sans', sans-serif;
}


/* Bootstrap Overrides */

.container {
    width: auto !important;
}

.form-horizontal .control-label {
    margin-bottom: 5px !important;
}

.alert {
    max-width: 400px;
    padding: 16px;
    margin: 0 auto;
    text-align: center;
    border-radius: 0;
    border: 0;
}

.has-error .control-label {
    color: #cc0000;
}


/* Main Layout Styles */

#kc-container {
    width: 100%;
    height: 100%;
    position: fixed;
    overflow-y: auto;
    background-color: rgba(255, 255, 255, 0.7);
    background-color: #f3f3f3;
}

#kc-container-wrapper {
    width: 100%;
    height: 100%;
    padding: 2em .75em;
    overflow: hidden;
    text-align: left !important;
    font-size: 14px !important;
    vertical-align: top;
}

#kc-header {
    display: block;
    width: 182px;
    height: 90px;
    margin: 0 auto;
    background-image: url('../images/vitaly-logo.svg');
    background-repeat: no-repeat;
    background-size: 100%;
}

#kc-header-wrapper {
    display: none;
}

.kc-feedback-text {
    line-height: 1.5em;
}

.btn-default {
    margin-right: 14px;
    color: #777;
}


/* Bootstrap-select */

.bootstrap-select {
    margin-bottom: 30px !important;
}

.dropdown-toggle.selectpicker {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.dropdown-menu:not(.inner) {
    background: transparent;
    border: 0;
    padding: 0;
}

.dropdown-menu.inner {
    /* margin-top: 6px !important; */
    border-radius: 4px !important;
    border-color: #f2f2f2 !important;
}

.dropdown-menu.inner li a {
    padding: 10px;
}

.bs-caret>.caret {
    position: absolute;
    top: 20px;
    right: 30px;
}


/* overrides */

.modal-body .form-group {
    margin: 25px auto 0;
    max-width: 420px;
    height: 50px;
}

#kc-form-login .bootstrap-select,
.modal-body .bootstrap-select {
    height: 50px;
    margin-bottom: 12px !important;
}

#kc-form-login .bs-caret>.caret,
.modal-body .bs-caret>.caret {
    top: 24px;
}

#kc-form-login .dropdown-toggle.selectpicker,
.modal-body .dropdown-toggle.selectpicker {
    height: 50px;
    padding-left: 16px;
    border-color: #f2f2f2;
}


/* Modal */

.modal-dialog {
    max-width: 600px;
    margin: 100px auto;
    padding: 10px;
}

.modal-content {
    border: 0;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-bottom: 0;
}

.modal-body {
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    color: #666;
}

.modal-body h1 {
    margin: 0 auto 20px;
    font-size: 22px;
    font-weight: 300;
}

.modal-body p {
    max-width: 360px;
    margin: 0 auto;
    font-size: 14px;
}

.modal-footer {
    text-align: center;
    border-top: 0;
    padding-bottom: 40px;
}

.modal-footer .btn-lg {
    min-width: 180px;
    padding: 10px 16px;
    font-size: 18px;
}

/* Version number shown on the bottom of page */
#version-number {
    position: fixed;
    bottom: 0;
    right: 0;
    padding: 3px;
    background: #fff;
    z-index: 999;
    border: solid #ccc;
    border-width: 1px 0 0 1px;
}

#version-number small {
    display: block;
    margin: 0 5px;
    color: rgba(0, 0, 0, 0.87);
}

/* @media only screen and (min-width: 640px) { */

@media only screen and (min-width: 1024px) {
    #kc-container {
        background-color: rgba(255, 255, 255, 0.7);
    }
    #kc-container-wrapper {
        position: relative;
        width: 50%;
        padding: 2.5em;
        background: rgba(255, 255, 255, 0.7);
        background: #fff;
        display: inline-block;
        text-align: left !important;
        font-size: 14px !important;
    }
    #kc-locale {
        right: 0;
    }
}