body {
    font-family: 'Sarabun', sans-serif;
    height: 100%;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    margin: 0;
    font-family: 'Sarabun', sans-serif;
    font-weight: bold;
    font-size: 35px;
}

.logo-holder {
    text-align: center;
    position: absolute;
    top: 0;
    width: 100%;
    height: 50px;
    margin: 0;
    background: #fafafa;
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.1);
    line-height: 50px;
}

.wrapper {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    min-height: 100vh;
    height: 100vh;
}

.login-panel {
    width: 300px;
    margin: 0 auto;
}

@media (min-width: 400px) {
    .login-panel {
        width: 360px;
    }
}

@media (min-height: 900px) {
    .login-panel {
        margin-top: -200px;
    }
}

.login-panel-header{
    text-align: center;
    margin: 0 0 35px 0;
}

.form-control {
    margin-bottom: -1px;
    display: block;
    width: 100%;
    height: 50px;
    line-height: 50px;
    font-size: 1em;
    color: #555555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #e2e2e2;
    border-radius: 3px;
    box-shadow: none;
}

.form-control-first {
    border-radius: 6px 6px 0 0;
}

.form-control-last {
    margin-bottom: 0;
    border-radius: 0 0 6px 6px;
}

.form-control:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    z-index: 2;
    position: relative;
}

.btn-primary {
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.19);
    line-height: 47px;
    height: 47px;
    font-size: 17px;
    font-weight: 700;
    border-radius: 6px;
    border-color: #1ecad3;
    background: #1ecad3 !important;
    color: #fff;
    padding: 0;
    border: none;
}

.btn-primary:hover{
    border: none;
}

.has-error .help-block, .has-error .control-label, .has-error .radio, .has-error .checkbox, .has-error .radio-inline, .has-error .checkbox-inline {
    color: #ff6666;
}

.has-error .form-control, .has-error .form-control:focus {
    border-color: #ff6666;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.has-success .form-control, .has-success .form-control:focus {
    border-color: #66cc99;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.validation-summary-errors {
    background: #ff5c7b;
    color: #fff;
    padding: 15px;
    border-radius: 3px;
    margin-bottom: 15px;
}

.validation-summary-errors ul {
    margin-bottom: 0;
}
