.ov-hidden {
    overflow: hidden;
    position: relative;
    height: 100%;
}

body .hide {
    display: none;
}

body.freeze {
    overflow-y: hidden;
}

[class*="content_wrap-"] {
    padding: 45px 0 61px;
    /***
        - Header height 45px
        - Toolbar height 51px
    ***/
}

[class*="content_wrap-"].withAppDownload {
    /* padding-top: 101px; */
    padding-top: 166px;
}

[class*="content_wrap-"].withFooter {
    padding-bottom: 0;
}

.content_wrap-login,
.content_wrap-register,
.content_wrap-forgotpwd,
.content_wrap-resetpwd {
    padding-top: 65px;
}

.content_wrap-login.withAppDownload,
.content_wrap-register.withAppDownload,
.content_wrap-forgotpwd.withAppDownload,
.content_wrap-resetpwd.withAppDownload {
    padding-top: 121px;
}

/*** Form ***/
.form {
    padding: 0 10px;
}

.form_row {
    margin-bottom: 10px;
}

.form_row .row-wrap {
    width: 100%;
    position: relative;
}

.error .row-wrap {
    border: 1px solid #CC0000;
    border-radius: 5px;
}

.error .error_mesg {
    color: #CC0000;
    padding: 5px 0 0 10px;
}

.row-wrap .form-ttl {
    font-size: 15px;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

[class*="content_wrap-"] .row-wrap input {
    color: #999;
    border: 1px solid #EAEAEA;
    padding: 5px 10px 5px 55px;
}

[class*="content_wrap-"] .row-wrap select {
    color: #999;
    border: 1px solid #EAEAEA;
    padding: 5px 10px 5px 0;
    height: 40px;
    width: 100%;
}

[class*="content_wrap-"] .row-wrap.p-full input {
    padding-left:1em;
}

[class*="content_wrap-"] .row-wrap.p-full select {
    text-indent:1em;
}

.row-wrap input:focus {
    box-shadow: 0 0 4px 1px rgba(10, 124, 235, .7);
}

.checkbox {
    margin: 15px 0 10px;
}

.checkbox input[type="checkbox"] {
    position: inherit;
    margin: 0;
    display: none;
}

.checkbox input[type="checkbox"] + label .icon:before {
    display: none;
}

.checkbox input[type="checkbox"] + label {
    font-size: 0;
    padding-left: 0;
}

.checkbox label > * {
    display: inline-block;
    vertical-align: top;
}

.checkbox input[type="checkbox"] + label .icon {
    width: 22px;
    height: 22px;
    line-height: 22px;
    font-size: 13px;
    color: #999;
    text-align: center;
    border: 1px solid #F0F0F0;
    border-radius: 50%;
}

.checkbox input[type="checkbox"] + label .agree-txt {
    width: calc(100% - 32px);
    line-height: 1.6;
    font-size: .9rem;
    margin-left: 8px;
    cursor: pointer;
}

.agree-txt > * {
    line-height: 1.2;
    display: inline-block;
    vertical-align: middle;
}

.checkbox.error .row-wrap {
    color: #CC0000;
    border: none;
}

.checkbox.error .error_mesg {
    /* display: none; */
}

.checkbox input[type="checkbox"]:checked + label .icon:before {
    display: inline-block;
}

.checkbox input[type="checkbox"]:checked + label .icon {
    color: #0A7CEA;
}

.checkbox input[type="checkbox"]:checked + label .agree-txt {
    color: #000;
}

div.has-error {
    color: red;
}

/*** Prompt ***/
.prompt_wrap {
    width: 100%;
    color: #FFF;
    background-color: #666;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    z-index: 8;
    bottom: 0;
}

.prompt_wrap > * {
    font-size: 15px;
    display: inline-block;
    vertical-align: middle;
}

.prompt_wrap .icon {
    font-size: 18px;
    margin-right: 5px;
}

/*** Loading ***/
.loading {
    width: 100%;
    height: 100%;
    text-align: center;
    color: #FFF;
    background: rgba(0, 0, 0, .5);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
}

.loading:before {
    content: '';
    height: 100%;
    display: inline-block;
    vertical-align: middle;
}

.loading_wrap {
    display: inline-block;
    vertical-align: middle;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 20px;
}

.loading-spinner:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 5px solid rgba(0, 0, 0, .4);
    border-top-color: rgb(255, 255, 255);
    animation: spin 1s infinite linear;
    -webkit-animation: spin 1s infinite linear;
    -moz-animation: spin 1s infinite linear;
}

.loading-message {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    0% {
        transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
    }
}

@-moz-keyframes spin {
    0% {
        transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
    }
}

/*** Hide Banner for v1 ***/
.main_row-sm-banner,
.banner {
    display: none;
}

/*** Base Color ***/
.f_light_blue{
    color: #0A7CEA !important;
}

.f_red{
    color: #CC0000 !important;
}

.bg_light_blue{
    background-color: #0A7CEA !important;
}

/*** base adjust for item list wrap ***/
.adjust_item_list_wrap{
    margin-top: 10px;
    border-bottom: 1px solid #E6E6E6;
}

.mb10{
    margin-bottom: 10px;
}

/* radio input */
.radio_wrap{
    display: inline-block;
    vertical-align: middle;
    position: relative;
    cursor: pointer;
}

.radio_wrap input {
    opacity: 0;
    border-width: 0px;
    width: 0;
    height: 0;
    position: absolute;
    z-index: -1;
}

.radio_wrap > div {
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 5px;
    border: 1px solid #333;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    border-radius: 50%;
    transition: box-shadow 0.3s, border 0.3s;
}

.radio_wrap > div + span {
    display: inline-block;
    vertical-align: middle;
}

.radio_wrap input:checked + div {
    border-color: #399AFC;
    box-shadow: inset 0 0 0 4px #399AFC;
}

.text-danger {
    color: #CF0F0F;
}