.vertical-center {
    min-height: 100%;  /* Fallback for browsers do NOT support vh unit */
    min-height: 100vh; /* These two lines are counted as one :-)       */

    display: flex;
    align-items: center;
}
.disposition-calendar tr.spacer {
    height: 2px;
}
.disposition-calendar tr.spacer.region {
    height: 8px;
    background-color: rgb(0,32,96);
}
.disposition-calendar tbody th, .disposition-calendar tbody td.day {
    background-color: rgb(0,32,96);
    color: white;
}
.disposition-calendar tbody th {
    line-height: 2.2em;
}
.disposition-calendar tbody th.day {
    width: 50px;
    text-align: center;
}
.disposition-calendar td.day {
    text-align: center;
}
.disposition-calendar .role {
    padding-left: 5px;
}
.disposition-calendar tr.role:nth-child(even) {
    background-color: rgb(207,213,234);
}
.disposition-calendar tr:nth-child(odd) {
    background-color: rgb(233,235,245);
}
.disposition-calendar td.day.available {
    background-color: rgb(169,209,142);
}
.disposition-calendar td.day.not-available {
    background-color: rgb(255,80,80);
}
.disposition-calendar .modified-after-deadline-available {
    background-color: rgb(108, 247, 105) !important;
}
.disposition-calendar .modified-after-deadline-notavailable {
    background-color: rgb(255, 140, 140) !important;
}
.disposition-calendar td:hover {
    -webkit-box-shadow: 3px 3px 5px 6px #ccc;  /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
    -moz-box-shadow:    3px 3px 5px 6px #ccc;  /* Firefox 3.5 - 3.6 */
    box-shadow:         3px 3px 5px 6px #ccc;  /* Opera 10.5, IE 9, Firefox 4+, Chrome 6+, iOS 5 */
}
.disposition-calendar td.pointer:hover {
    cursor: pointer;
}
.disposition-calendar tbody th.weekend {
    background-color: rgb(0, 51, 193);
}
.disposition-calendar .region-input {
    width:48px;
    height: 25px;
    border:none;
    border-image-width:0 !important;
    color: black;
    border-bottom-color: white;
}
.profile .roles span:hover {
    cursor: pointer;
    -webkit-box-shadow: 3px 3px 5px 6px #ccc;  /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
    -moz-box-shadow:    3px 3px 5px 6px #ccc;  /* Firefox 3.5 - 3.6 */
    box-shadow:         3px 3px 5px 6px #ccc;  /* Opera 10.5, IE 9, Firefox 4+, Chrome 6+, iOS 5 */
}
form .form-group input[type="checkbox"] {
    height: 24px;
}
.admin-overview tbody th:nth-child(1) {
    width: 50px;
}
.admin-overview tbody th:nth-child(2) {
    width: 80px;
}
.admin-overview .filters .badge:hover {
    background-color: red !important;
}
.user-management .panel.userlist {
    height: 100%;
    min-height: 100%;
    overflow-x: hidden;
}
.user-management .profile form label {
    line-height:34px;
}
.user-management .shadow {
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top:-10px;
    width: 100%;;
    bottom: -15px;
}
#user-profile-section {
    position: fixed;
    right: 0;
}
.text-right {
    text-align: right !important;
}
.mr-3 {
    margin-right: 1rem !important;
}
.mr-2 {
    margin-right: 0.5rem !important;
}
.mr-2 {
    margin-right: 0.25rem !important;
}
.mb-1 {
     margin-bottom: 0.25rem !important;
}
.ml-3 {
     margin-right: 1rem !important;
}
a {
    cursor: pointer;
}
.red {
    color: red;
}
.bold {
    font-weight: bold;
}
.badge-success {
    color: #fff;
    background-color: #28a745;
}
.badge-secondary {
    color: #fff;
    background-color: #6c757d;
}
.navbar-brand.logo {
    margin-top: auto;
    margin-bottom: auto;
    transition: All .3s ease;
    -webkit-transition: All .3s ease;
    height: 50px;
    max-height: 50px;
    width: 200px;
    padding: 0 15px;
}
.bg-dark {
    background-color: #343a40!important;
}
.rounded {
    border-radius: .25rem!important;
}
.border {
    border: 1px solid #dee2e6!important;
}
.logo a {
    background-image: url(resources/logo.png);
    width: 100%;
    height: 100%;
    display: block;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: left;
}
.inline {
    display: inline-block!important;
}
.availabilities .alert .deadline, .admin-overview .alert .buttons {
    position: relative;
    top:-6px;
}
/* Login start */
.position-relative {
    position: relative;
    width: 375px;
}
.login-container {
    width: 375px;
    margin: 0 auto;
}
.login-layout .widget-box.visible {
    visibility: visible;
    position: relative;
    z-index: auto;
    -moz-transform: scale(1,1) translate(0);
    -webkit-transform: scale(1,1) translate(0);
    -o-transform: scale(1,1) translate(0);
    -ms-transform: scale(1,1) translate(0);
    transform: scale(1,1) translate(0);
    transition: transform .3s ease;
    -moz-transition: -moz-transform .3s ease;
    -webkit-transition: -webkit-transform .3s ease;
    -o-transition: -o-transform .2s ease;
}
.login-layout .widget-box {
    visibility: hidden;
    position: fixed;
    z-index: -5;
    border-bottom: none;
    box-shadow: none;
    padding: 6px;
    background-color: #394557;
    -moz-transform: scale(0,1) translate(-150px);
    -webkit-transform: scale(0,1) translate(-150px);
    -o-transform: scale(0,1) translate(-150px);
    -ms-transform: scale(0,1) translate(-150px);
    transform: scale(0,1) translate(-150px);
}
.widget-box.no-border {
    border-width: 0;
}
.widget-box {
    padding: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    margin: 3px 0;
    border: 1px solid #CCC;
}
.widget-body {
    background-color: #FFF;
}
.login-layout .login-box .widget-main {
    padding-bottom: 16px;
}
.login-layout .widget-box .widget-main {
    padding: 16px 36px 16px;
    background: #F7F7F7;
}
.widget-main {
    padding: 12px;
}

.login-box .toolbar {
    background: #5090C1;
    border-top: 2px solid #597597;
}
.login-layout .header.blue {
    border-bottom-color: #d5e3ef;
}
.login-layout h4.bigger {
    font-size: 19px;
}
.login-layout .header {
    line-height: 28px;
    margin-bottom: 16px;
    margin-top: 18px;
    padding-bottom: 4px;
    border-bottom: 1px solid #CCC;
}
.login-layout .blue {
    color: #478fca!important;
}
.login-layout .lighter {
    font-weight: lighter;
}
.login-layout h4 {
    font-size: 18px;
    font-weight: 400;
    font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
}
.space-6, [class*=vspace-6] {
    max-height: 1px;
    min-height: 1px;
    overflow: hidden;
    margin: 6px 0 5px;
}
.login-layout .widget-box .widget-main form {
    margin: 0;
}
.widget-main>form, .widget-main>form .input-append, .widget-main>form .input-prepend {
    margin-bottom: 0;
}
.login-layout fieldset {
    padding: 0;
    margin: 0;
    border: 0;
    min-width: 0;
}
.login-layout label {
    margin-bottom: 11px;
}
.login-layout .block {
    display: block!important;
}
.login-layout label {
    font-weight: 400;
    font-size: 14px;
}
.login-layout span.input-icon {
    display: inline-block;
}
.login-layout .input-icon {
    position: relative;
}
.login-layout .input-icon.input-icon-right>input {
    padding-left: 6px;
    padding-right: 24px;
}
.login-layout .input-icon.input-icon-right>.ace-icon {
    left: auto;
    right: 3px;
}
.login-layout .input-icon>.ace-icon {
    padding: 0 3px;
    z-index: 2;
    position: absolute;
    top: 1px;
    bottom: 1px;
    left: 3px;
    line-height: 28px;
    display: inline-block;
    color: #909090;
    font-size: 16px;
}
.login-layout .ace-icon {
    text-align: center;
}
.login-layout .space {
    max-height: 1px;
    min-height: 1px;
    overflow: hidden;
    margin: 12px 0;
}
.login-layout label input[type=checkbox].ace, .login-layout label input[type=radio].ace {
    z-index: -100!important;
    width: 1px!important;
    height: 0!important;
}
.login-layout input[type=checkbox].ace {
    opacity: 0;
    position: absolute;
    z-index: 1;
    width: 18px;
    height: 18px;
    cursor: pointer;
}
.login-layout input[type=checkbox].ace+.lbl {
    position: relative;
    display: inline-block;
    margin: 0;
    line-height: 20px;
    min-height: 18px;
    min-width: 18px;
    font-weight: 400;
    cursor: pointer;
}
.btn-login {
    background-color: #428bca!important;
    border-color: #428bca;
}
.btn-login {
    border-width: 4px;
    font-size: 13px;
    padding: 4px 9px;
    line-height: 1.39;
}
.btn-login,.btn-login:focus {
    background-color: #428bca!important;
    border-color: #428bca !important;
}
.btn-login:active, .btn-login:hover {
    background-color: #1b6aaa!important;
    border-color: #428bca !important;
}
.login-layout .btn {
    display: inline-block;
    color: #FFF!important;
    text-shadow: 0 -1px 0 rgba(0,0,0,.25)!important;
    background-image: none!important;
    border: 5px solid #FFF;
    border-radius: 0;
    box-shadow: none!important;
    -webkit-transition: all ease .15s;
    -o-transition: all ease .15s;
    transition: all ease .15s;
    cursor: pointer;
    vertical-align: middle;
    margin: 0;
    position: relative;
}
.login-layout .btn-sm {
    border-width: 4px;
    font-size: 13px;
    padding: 4px 9px;
    line-height: 1.39
}
.login-layout .width-35 {
    width: 35%!important;
}
.btn-login>.ace-icon {
    margin-right: 3px;
}
.login-layout .bigger-110 {
    font-size: 110%!important;
}
.login-layout .space-4, [class*=vspace-4] {
    max-height: 1px;
    min-height: 1px;
    overflow: hidden;
    margin: 4px 0 3px;
}
.login-box .toolbar>div:first-child {
    float: left;
    text-align: left;
}
.login-box .toolbar>div {
    width: 50%;
    display: inline-block;
    padding: 9px 0 11px;
}
.login-layout .widget-box .widget-body .toolbar>div>a {
    font-size: 15px;
    font-weight: 400;
    text-shadow: 1px 0 1px rgba(0,0,0,.25);
}
.login-box .toolbar>div:first-child>a {
    margin-left: 11px;
}
.login-box .forgot-password-link {
    color: #FE9;
}
.login-box .toolbar>div:first-child+div>a {
    margin-right: 11px;
}
.login-box .user-signup-button {
    color: #CF7;
    background: none;
    border: none;
}
.login-box .user-signup-button:hover {
    background-color: #1b6aaa!important;
    border: none;
}
.login-box .btn {
    display: inline-block;
    color: #FFF!important;
    text-shadow: 0 -1px 0 rgba(0,0,0,.25)!important;
    background-image: none!important;
    border: 5px solid #FFF;
    border-radius: 0;
    box-shadow: none!important;
    -webkit-transition: all ease .15s;
    -o-transition: all ease .15s;
    transition: all ease .15s;
    cursor: pointer;
    vertical-align: middle;
    margin: 0;
    position: relative
}
.login-layout .pull-right {
    float: right!important
}
.login-layout .signup-box .toolbar {
    background: #76B774;
    border-top: 2px solid #759759;
    padding: 9px 18px;
}
.login-layout .align-center, .center {
    text-align: center!important;
}
.login-layout .signup-box .back-to-login-button {
     color: #FE9;
     font-size: 14px;
     font-weight: 700;
     text-shadow: 1px 0 1px rgba(0,0,0,.25);
    background: none;
    border: none;
 }
.login-layout .signup-box .back-to-login-button:hover {
    background: #759759;
}
.space-24 {
    max-height: 1px;
    min-height: 1px;
    overflow: hidden;
    margin: 24px 0 23px;
}
.login-layout .btn-success, .login-layout .btn-success:focus {
    background-color: #87b87f!important;
    border-color: #87b87f;
}
.login-layout .width-65 {
    width: 65%!important;
}
.login-layout .btn-sm>.ace-icon.icon-on-right {
    margin-right: 0;
    margin-left: 3px;
}
.login-layout .logo {
    margin-top: auto;
    margin-bottom: auto;
    transition: All .3s ease;
    -webkit-transition: All .3s ease;
    height: 100px;
    width: 200px;
}
/* Login end */
