#session-monitor,
#lock-container {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 12px;
    line-height: 20px;
}

#session-monitor *,
#lock-container * {
    -webkit-box-sizing: border-box;
    -mox-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}

#session-monitor {
    display: inline-block;
    line-height: 30px;
    padding: 2px 5px 2px 2px;
}

#session-clock {
    font-family: "Small Fonts", "System", "Terminal";
    font-size: 1.0em;
    font-weight: 700;
    display: inline-block;
    padding: 0px 5px;
}

#lock-container {
    font-family: tahoma;
    font-size: 12px;
    color: #404040;
    position: fixed;
    top: 50px;
    max-width: 350px;
    z-index: 9012;
    border: 3px solid #bbb;
    margin: 50px auto;
    border-radius: 3px;
    -webkit-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5), inset 0px 0px 3px rgba(255, 255, 255, 0.5);
    -moz-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5), inset 0px 0px 3px rgba(255, 255, 255, 0.5);
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5), inset 0px 0px 3px rgba(255, 255, 255, 0.5);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

#lock-container #lock-head {
    text-align: center;
    padding: 5px;
    background-color: #eee;
    background-image: -webkit-linear-gradient(top, #eee, #ddd);
    background-image: -moz-linear-gradient(top, #eee, #ddd);
    background-image: -o-linear-gradient(top, #eee, #ddd);
    background-image: linear-gradient(to bottom, #eee, #ddd);
    border-bottom: 1px solid #ccc;
}

#lock-container #lock-title {
    width: 64%;
    color: #999;
    text-shadow: 2px -2px #fff;
    display: inline-block;
    font-size: 1.4em;
    font-weight: 600;
}

#lock-container #button-logout {
    width: 30%;
    display: inline-block;
}

#lock-container #button-lock {
    width: 100px;
    z-index: 90040
}

#lock-container #lock-text {
    background-color: #FFF;
    padding: 5px;
    text-align: left;
}

#lock-container #lock-message {
    display: none;
}

#lock-container #lock-action {
    padding: 2px;
    height: 31px;
    border-top: 1px solid #CCC;
    background-color: #fff;
    background-repeat: no-repeat;
    background: -webkit-linear-gradient(left, #ccc 5%, #ddd 20%, #fff 50%, #ddd 80%, #ccc 95%);
    /* Chrome10-25,Safari5.1-6 */
    background: -moz-linear-gradient(left, #ccc 5%, #ddd 20%, #fff 50%, #ddd 80%, #ccc 95%);
    /* FF3.6-15 */
    animation: swipe 5s infinite;
}

@keyframes swipe {
    0% {
        background-position: 0px 0;
    }
    100% {
        background-position: 700px 0;
    }
}

#lock-container #lock-form {
    padding: 0px;
    margin: 0px;
    display: inline-block;
}

#lock-container #lock-user {
    width: 100px;
}

#lock-container #lock-pass {
    width: 120px;
}

#lock-container .tsl-input,
#lock-container input[type="text"],
#lock-container input[type="password"] {
    border: 1px solid #ddd;
    margin: 0px 2px 0 0;
    padding: 4px 5px;
    min-height: 24px;
    line-height: 16px;
    height: 26px;
    display: inline-block;
    min-width: 50px;
    border-radius: 0px;
}

#lock-container .tsl-btn,
#session-monitor .tsl-btn {
    min-height: 24px;
    height: 26px;
    line-height: 16px;
    padding: 2px 5px;
    margin: 0px;
    display: inline-block;
    font-weight: 500;
    font-size: 1.0em;
}

.tsl-btn {
    color: #FFF;
    text-align: center;
    text-shadow: 0 -1px #333;
    text-decoration: none;
    border-radius: 3px;
    border: 1px solid #888;
    cursor: pointer;
    -webkit-box-shadow: inset 0 1px rgba(255, 255, 255, 0.4), 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.4), 0 1px 2px rgba(0, 0, 0, 0.2);
}

.tsl-info {
    border-color: #154c86 #113f70;
    background-color: #1c65b2;
    background-image: linear-gradient(to bottom, #6DC7E1, #1c65b2);
}

.tsl-warning {
    border-color: #D2861C;
    background-color: #D0851B;
    background-image: linear-gradient(to bottom, #F2E294, #D0851B);
}

.tsl-danger {
    border-color: #72100d #5b0d0b;
    background-color: #921511;
    background-image: linear-gradient(to bottom, #e4201b, #9f1713);
}

.tsl-btn {
    margin: -2px 0 0;
}

#session-monitor #button-lock,
#lock-container #button-logout,
#lock-container #button-slider {
    line-height: 20px;
}

#lock-container #button-slider {
    width: 110px;
    position: relative;
    cursor: pointer;
}

#session-monitor #button-lock {
    display: inline;
}

#lock-container button:disabled,
#lock-container input:disabled,
.tsl-grey {
    color: #999;
    border-color: #eee #ccc;
    background-color: #DDF;
    background-image: linear-gradient(to bottom, #eee, #ccc);
}

#lock-container #button-close {
    display: none;
    position: absolute;
    top: 5px;
    left: 5px;
    width: 25px;
    height: 25px;
    line-height: 23px;
    border-radius: 100%;
    padding: 0px;
    text-transform: capitalize;
    color: #000;
    border-color: #bbb #bbb;
}

#lock-container #button-close i {
    display: none;
}

#loading-overlay {
    z-index: 9011;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    background: -webkit-radial-gradient(50% 50%, ellipse closest-corner, rgba(0, 0, 0, 0.3) 1%, rgba(0, 0, 0, 0.725) 100%) repeat scroll 0 0 transparent;
    background: -moz-radial-gradient(50% 50%, ellipse closest-corner, rgba(0, 0, 0, 0.3) 1%, rgba(0, 0, 0, 0.725) 100%) repeat scroll 0 0 transparent;
    background: -ms-radial-gradient(50% 50%, ellipse closest-corner, rgba(0, 0, 0, 0.3) 1%, rgba(0, 0, 0, 0.725) 100%) repeat scroll 0 0 transparent;
    background: -o-radial-gradient(50% 50%, ellipse closest-corner, rgba(0, 0, 0, 0.3) 1%, rgba(0, 0, 0, 0.725) 100%) repeat scroll 0 0 transparent;
    background: radial-gradient(50% 50%, ellipse closest-corner, rgba(0, 0, 0, 0.3) 1%, rgba(0, 0, 0, 0.725) 100%) repeat scroll 0 0 transparent;
}

#lock-container,
#lock-container #lock-form {
    display: none;
}

:required {
    -webkit-box-shadow: none!important;
    -moz-box-shadow: none!important;
    -ms-box-shadow: none!important;
    -o-box-shadow: none!important;
    box-shadow: none!important;
}

::placeholder {
    color: #ccc;
}

::-moz-placeholder {
    color: #ccc;
}

::-webkit-input-placeholder {
    color: #ccc;
}

::-ms-input-placeholder {
    color: #ccc;
}

.alert {
    padding: 5px 10px;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert-success {
    background-color: #dff0d8;
    border-color: #d6e9c6;
    color: #468847;
}

.alert-info {
    background-color: #d9edf7;
    border-color: #bce8f1;
    color: #3a87ad;
}

.alert-warning {
    background-color: #fcf8e3;
    border-color: #fbeed5;
    color: #F0DC7A;
}

.alert-danger {
    background-color: #f2dede;
    border-color: #eed3d7;
    color: #b94a48;
}

.text-success {
    color: #468847;
}

.text-info {
    color: #3a87ad;
}

.text-warning {
    color: #F0DC7A;
}

.text-danger {
    color: #b94a48;
}

#lock-container {width: 30%; left: 40%;}

@media screen and (max-width:1060px) {
    #lock-container {width: 50%; left: 25%;}
}

@media screen and (max-width:780px) {
    #lock-container {width: 60%; left: 20%;}
}

@media screen and (max-width:680px) {
    #lock-container {width: 70%; left: 15%;}
}

@media screen and (max-width:480px) {
    #lock-container {width: 80%; left: 10%;}
}

@media screen and (max-width:360px) {
    #lock-container {width: 90%;  left: 5%;}
}

@media screen and (max-width:250px) {
    #lock-container {width: 100%;  left: 0%; margin: 50px auto;}
    #lock-container #lock-title { width: 50%; }
}
