﻿/* #region Common css */
.ttl-btn, ttl-btn-red {
    min-width: 5em;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 33px;
    border: solid 1px;
    text-align: center;
    display: block;
    margin: auto;
}

.ttl-btn {
    background-color: #fff;
}

.ttl-btn-red {
    background-color: #be1c2f;
}

.ttl-btn--whitegrey-swipe,
.ttl-btn--whiteblack-swipe,
.ttl-btn--whitered-swipe,
.ttl-btn--whiteblue-swipe.disabled,
.ttl-btn--whiteblue-swipe,
.ttl-btn--redwhite-swipe,
.ttl-btn--whitegreen-swipe {
    background-position: right bottom;
    transition: all 0.3s ease;
}

.ttl-btn--whiteblue {
    color: #589fef;
    border: 1px solid currentColor;
}

    .ttl-btn--whiteblue:hover {
        color: #fff;
        background-color: #589fef;
    }

.ttl-btn--whiteblue-swipe {
    color: #589fef !important;
    border: solid 1px currentColor;
}

    .ttl-btn--whiteblue-swipe:hover {
        color: #fff !important;
        background: linear-gradient(to right, #589fef 50%, #fff 50%);
        background-size: 200% 100%;
        background-position: left bottom;
    }

.expand_box1-mobile .ttl-btn--whiteblue-swipe a:hover {
    color: #fff;
}

.ttl-btn--whitegreen-swipe {
    color: #5cb85c !important;
    border: solid 1px #4cae4c;
}

    .ttl-btn--whitegreen-swipe:hover {
        color: #fff !important;
        background: linear-gradient(to right, #5cb85c 50%, #fff 50%);
        background-size: 200% 100%;
        background-position: left bottom;
    }

.ttl-btn--whitered {
    color: #be1c2f;
    border: 1px solid currentColor;
}

    .ttl-btn--whitered:hover {
        color: #fff !important;
        background-color: #be1c2f;
    }

.ttl-btn--redwhite {
    color: #fff;
    border: 1px solid currentColor;
}

    .ttl-btn--redwhite:hover {
        color: #be1c2f !important;
        background-color: #fff;
    }

.ttl-btn--whitered-swipe {
    color: #be1c2f !important;
    border: solid 1px currentColor;
}

    .ttl-btn--whitered-swipe:hover {
        color: #fff !important;
        background: linear-gradient(to right, #be1c2f 50%, #fff 50%);
        background-size: 200% 100%;
        background-position: left bottom;
    }

.ttl-btn--redwhite-swipe {
    color: #fff !important;
    border: solid 1px currentColor;
}

    .ttl-btn--redwhite-swipe:hover {
        color: #be1c2f !important;
        background: linear-gradient(to right, #fff 50%, #be1c2f 50%);
        background-size: 200% 100%;
        background-position: left bottom;
    }

.ttl-btn--whiteblack {
    border: 1px solid #464b5d;
    color: black;
}

    .ttl-btn--whiteblack:hover {
        background-color: #464b5d;
        color: #fff;
    }

.ttl-btn--whiteblack-swipe, .ttl-btn.disabled {
    color: #464b5d !important;
    border: solid 1px currentColor;
}

    .ttl-btn.disabled:hover,
    .ttl-btn--whiteblack-swipe:hover {
        color: #fff !important;
        background: linear-gradient(to right, #464b5d 50%, #fff 50%);
        background-size: 200% 100%;
        background-position: left bottom;
    }

.ttl-btn--whitegrey {
    color: #707172;
    border: 1px solid currentColor;
    background-color: #cdcbcc;
}

    .ttl-btn--whitegrey:hover {
        background-color: #707172;
        color: #cdcbcc;
    }

.ttl-btn--whitegrey-swipe, .ttl-btn.disabled {
    color: #464b5d !important;
    border: solid 1px currentColor;
}

    .ttl-btn.disabled:hover,
    .ttl-btn--whitegrey-swipe:hover {
        color: #fff !important;
        background: linear-gradient(to right, #464b5d 50%, #fff 50%);
        background-size: 200% 100%;
        background-position: left bottom;
    }

.color-red {
    color: #be1c2f !important;
}

.btn-red {
    min-width: 112px;
    font-size: 12px;
    border-color: #d43f3a;
    border-radius: 33px;
    background-color: white;
    color: #be1c2f;
}

    .btn-red:hover {
        background-color: #be1c2f;
        color: #fff;
    }

.btn-blue {
    min-width: 112px;
    font-size: 12px;
    border: 1px solid #589fef;
    border-radius: 33px;
    background-color: white;
    color: #589fef;
}

    .btn-blue:hover {
        background-color: #589fef;
        color: #fff;
    }

/* [START] ttl-select */
select.ttl-select[value=""] {
    color: #999 !important;
}

select.ttl-select option:not([value=""]) {
    color: initial !important;
}

select.ttl-select option:active,
select.ttl-select option:checked,
select.ttl-select option[selected] {
    font-weight: bold !important;
}

select.ttl-select option[value=""][disabled] {
    color: #999 !important;
    display: none;
}
/* [END] ttl-select */
/* #endregion */

/* #region Success / Error styles */
.ttl-success-pane, .ttl-err-pane {
    display: none;
    font-size: 16px;
    /*font-weight: bold;*/
}

    .ttl-success-pane.active, .ttl-err-pane.active {
        display: initial;
    }

    .ttl-success-pane > span, .ttl-err-pane > span {
        width: 100%;
        font-weight: 300;
    }

/*.ttl-err-pane > span {
        color: #bf1e2d;
    }*/

.ttl-success-alert, .ttl-err-alert {
    width: 450px;
    position: absolute;
    right: 5px;
    bottom: 3vh;
    z-index: 10000;
}

.ttl-err-dlg .modal-body,
.ttl-success-dlg .modal-body {
    font-weight: 900;
    font-size: 24px;
}

.ttl-success-dlg .modal-body {
    color: steelblue;
}

.ttl-err-dlg .modal-footer button[data-dismiss="modal"],
.ttl-success-dlg .modal-footer button[data-dismiss="modal"] {
    width: 20%;
}
/* #endregion */

/* #region Ajax spinner section */
/* Start of spinner wrapper */
.ajx-container {
    display: block;
    overflow: hidden;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

    .ajx-container > .table-container {
        display: table;
        height: 100%;
        width: 100%;
        max-width: 100%;
        background-color: transparent;
    }

        .ajx-container > .table-container > .table-cell {
            display: table-cell;
            vertical-align: middle;
        }

    .ajx-container .spinner-container {
        position: absolute;
        /* background-color: rgba(0, 0, 0, 0.3); */
        background-color: rgba(255, 255, 255, .7);
        z-index: 1;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100%;
    }

        .ajx-container .spinner-container .spinner-root {
            top: 50%;
            position: relative;
            transform: translateY(-50%);
            margin-left: auto;
            margin-right: auto;
            text-align: center;
        }
/* End of spinner wrapper */

/* Start of spinner-1 */
.ajx-spinner-1 .spin-text {
    font-weight: bold;
    font-size: 16px;
    margin-top: 10px;
    color: #bf1e2d;
}

.ajx-spinner-1 .spin-loader {
    border: 10px solid #f3f3f3;
    border-radius: 50%;
    border-top: 10px solid #be1c2f;
    margin: 0 auto;
    width: 80px;
    height: 80px;
    -webkit-animation: ajx-spinner-1-spin 2s linear infinite;
    animation: ajx-spinner-1-spin 2s linear infinite;
}

@-webkit-keyframes ajx-spinner-1-spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes ajx-spinner-1-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
/* End of spinner-1 */

/* Start of spinner-2 */
.ajx-spinner-2 {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .ajx-spinner-2 div {
        box-sizing: border-box;
        display: block;
        position: absolute;
        width: 100%;
        height: 100%;
        margin: 6px;
        border: 6px solid #be1c2f;
        border-radius: 50%;
        animation: ajx-spinner-2-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        border-color: #be1c2f transparent transparent transparent;
    }

        .ajx-spinner-2 div:nth-child(1) {
            animation-delay: -0.45s;
        }

        .ajx-spinner-2 div:nth-child(2) {
            animation-delay: -0.3s;
        }

        .ajx-spinner-2 div:nth-child(3) {
            animation-delay: -0.15s;
        }

@keyframes ajx-spinner-2-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
/* End of spinner-2 */

/* Start of spinner-3 */
.ajx-spinner-3 {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .ajx-spinner-3 div {
        animation: ajx-spinner-3-spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        transform-origin: 40px 40px;
    }

        .ajx-spinner-3 div:after {
            content: " ";
            display: block;
            position: absolute;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: #be1c2f;
            margin: -4px 0 0 -4px;
        }

.white .ajx-spinner-3 div:after {
    background: #fff;
}

.ajx-spinner-3 div:nth-child(1) {
    animation-delay: -0.036s;
}

    .ajx-spinner-3 div:nth-child(1):after {
        top: 63px;
        left: 63px;
    }

.ajx-spinner-3 div:nth-child(2) {
    animation-delay: -0.072s;
}

    .ajx-spinner-3 div:nth-child(2):after {
        top: 68px;
        left: 56px;
    }

.ajx-spinner-3 div:nth-child(3) {
    animation-delay: -0.108s;
}

    .ajx-spinner-3 div:nth-child(3):after {
        top: 71px;
        left: 48px;
    }

.ajx-spinner-3 div:nth-child(4) {
    animation-delay: -0.144s;
}

    .ajx-spinner-3 div:nth-child(4):after {
        top: 72px;
        left: 40px;
    }

.ajx-spinner-3 div:nth-child(5) {
    animation-delay: -0.18s;
}

    .ajx-spinner-3 div:nth-child(5):after {
        top: 71px;
        left: 32px;
    }

.ajx-spinner-3 div:nth-child(6) {
    animation-delay: -0.216s;
}

    .ajx-spinner-3 div:nth-child(6):after {
        top: 68px;
        left: 24px;
    }

.ajx-spinner-3 div:nth-child(7) {
    animation-delay: -0.252s;
}

    .ajx-spinner-3 div:nth-child(7):after {
        top: 63px;
        left: 17px;
    }

.ajx-spinner-3 div:nth-child(8) {
    animation-delay: -0.288s;
}

    .ajx-spinner-3 div:nth-child(8):after {
        top: 56px;
        left: 12px;
    }

@keyframes ajx-spinner-3-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
/* End of spinner-3 */

/* Start of spinner-4 */
.ajx-spinner-4 {
    color: official;
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
}

    .ajx-spinner-4 div {
        transform-origin: 32px 32px;
        animation: ajx-spinner-4-spin 1.2s linear infinite;
    }

        .ajx-spinner-4 div:after {
            content: " ";
            display: block;
            position: absolute;
            top: 3px;
            left: 29px;
            width: 5px;
            height: 14px;
            border-radius: 20%;
            background: #be1c2f;
        }

.white .ajx-spinner-4 div:after {
    background: #fff;
}

.ajx-spinner-4 div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
}

.ajx-spinner-4 div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
}

.ajx-spinner-4 div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
}

.ajx-spinner-4 div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
}

.ajx-spinner-4 div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
}

.ajx-spinner-4 div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
}

.ajx-spinner-4 div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
}

.ajx-spinner-4 div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
}

.ajx-spinner-4 div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
}

.ajx-spinner-4 div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
}

.ajx-spinner-4 div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
}

.ajx-spinner-4 div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
}

@keyframes ajx-spinner-4-spin {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}
/* End of spinner-4 */

/* Start of spinner-5 */
.ajx-spinner-5 {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
}

    .ajx-spinner-5 div {
        position: absolute;
        border: 4px solid #be1c2f;
        opacity: 1;
        border-radius: 50%;
        animation: ajx-spinner-5-spin 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .ajx-spinner-5 div:nth-child(2) {
            animation-delay: -0.5s;
        }

@keyframes ajx-spinner-5-spin {
    0% {
        top: 28px;
        left: 28px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: -1px;
        left: -1px;
        width: 58px;
        height: 58px;
        opacity: 0;
    }
}
/* End of spinner-5 */

/* Start of spinner-10 */
.ajx-spinner-10 {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
}

    .ajx-spinner-10 div {
        position: absolute;
        top: 27px;
        width: 11px;
        height: 11px;
        border-radius: 50%;
        background: #be1c2f;
        animation-timing-function: cubic-bezier(0, 1, 1, 0);
    }

.white .ajx-spinner-10 div {
    background: #fff;
}

.ajx-spinner-10 div:nth-child(1) {
    left: 6px;
    animation: ajx-spinner-10-1-spin 0.6s infinite;
}

.ajx-spinner-10 div:nth-child(2) {
    left: 6px;
    animation: ajx-spinner-10-2-spin 0.6s infinite;
}

.ajx-spinner-10 div:nth-child(3) {
    left: 26px;
    animation: ajx-spinner-10-2-spin 0.6s infinite;
}

.ajx-spinner-10 div:nth-child(4) {
    left: 45px;
    animation: ajx-spinner-10-3-spin 0.6s infinite;
}

@keyframes ajx-spinner-10-1-spin {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes ajx-spinner-10-3-spin {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes ajx-spinner-10-2-spin {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(19px, 0);
    }
}
/* End of spinner-10 */

/* Start of spinner-11 */
.ajx-spinner-11 {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
}

    .ajx-spinner-11 div {
        display: inline-block;
        position: absolute;
        left: 6px;
        width: 13px;
        background: #be1c2f;
        animation: ajx-spinner-11-spin 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
    }

.white .ajx-spinner-11 div {
    background: #fff;
}

.ajx-spinner-11 div:nth-child(1) {
    left: 6px;
    animation-delay: -0.24s;
}

.ajx-spinner-11 div:nth-child(2) {
    left: 26px;
    animation-delay: -0.12s;
}

.ajx-spinner-11 div:nth-child(3) {
    left: 45px;
    animation-delay: 0;
}

@keyframes ajx-spinner-11-spin {
    0% {
        top: 6px;
        height: 51px;
    }

    50%, 100% {
        top: 19px;
        height: 26px;
    }
}
/* End of spinner-11 */
/* #endregion */

/*#region Contact modal*/
#dlgContact {
    z-index: 100003;
}

    #dlgContact .icon-btn-round {
        background-color: black;
        padding: 12px 12px !important;
        border-radius: 50%;
        color: #fff;
    }

    #dlgContact .form-control-feedback {
        display: flex;
        justify-content: center;
        align-items: center;
        left: 18px !important;
        margin-right: 0px;
        margin-left: 0px;
    }

    #dlgContact .form-control {
        padding: 6px 36px !important;
    }

    #dlgContact textarea.form-control {
        padding: 6px 12px !important;
        height: auto !important;
    }

    #dlgContact .style-black-in-submit {
        background: black;
        color: #fff;
    }
/*responsive modal contact*/
@media screen and (max-device-width:552px) {
    .modal.modal-center .modal-dialog {
        /*width: 64%;*/
        width: 80%;
        left: 50%;
    }
}
/*end responsive*/
/*#endregion style modal*/

/* #region Bootstrap modal customization */
.modal-header-disabled {
    border-bottom: 1px solid #eee;
    background-color: lightgrey;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.modal-content.center .modal-footer,
.modal-content.center {
    text-align: center;
}
/*Huong - MOD vien popup video*/
/*.modal-content {
    box-shadow: 5px 8px 18px #333; 
    line-height: 0.428571 !important;
}*/
/* #endregion */

/* #region UnSorted ??? */
#ilGECountdown {
    color: grey;
    margin-top: 20px;
}

.table-countdown {
    margin: 0px auto;
}

    .table-countdown .cd-border-right {
        border-right: 1px solid;
    }

    .table-countdown th {
        font-size: xx-large;
        width: 70px;
    }

.new-session-tabs {
    display: -webkit-flex;
    display: flex;
    box-shadow: 0 0 0 1px #e5e5e5;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
}

.login-box, .login-page .omniauth-container {
    box-shadow: 0 0 0 1px #e5e5e5;
    border-bottom-right-radius: 2px;
    border-bottom-left-radius: 2px;
    padding: 15px;
}

.btn-start {
    font-size: 20px;
}
/* #endregion */

.text-justify {
    text-align: justify;
}

.card {
    background-color: #fff;
    border-radius: 8px;
    padding: 2vw;
    box-shadow: -1px 2px 9px 3px rgba(0, 0, 0, 0.04);
}

@media only screen and (max-width: 576px) {
    .card.card-text {
        padding: 2rem;
    }
}

.p-0 {
    padding: 0;
}

.m-0 {
    margin: 0;
}

.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
}

.d-flex {
    display: flex;
}

.align-self-center {
    align-items: center;
}

.h-100 {
    height: 100%;
    min-height: 100%;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}
