/*-------reserve modal-------*/
.modal {
    color: #222222;
}
.modal-prototype .modal-dialog {
    max-width: 800px;
    width: 100%;
}

.modal-prototype .modal-content {
    border-radius: 0;
    border: none;
    border-bottom: 1px solid;
}

.modal-prototype .modal-header {
    background-color: #0d3495;
    color: white;
    text-align: center;
    border: none;
}

.modal-prototype .modal-body {
    padding: 0;
    text-align: center;
}

.modal-prototype .modal-header .close {
    color: white;
    text-shadow: none;
    font-weight: normal;
    opacity: 1;
}

.modal-prototype .modal-header .modal-title {
    font-size: 24px;
    font-weight: 500;
}

.modal-prototype .modal-header .modal-title img {
    margin-right: 20px;

}

.modal-prototype .modal-header .modal-step {
    max-width: 768px;
}

.modal-prototype .modal-header .modal-step ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 10px;
    padding-left: 30px;
}

.modal-prototype .modal-header .modal-step ul li {
    width: 25%;
    float: left;
}

.modal-prototype .modal-header .modal-step ul li .step {
    display: block;
    height: 40px;
    line-height: 40px;
    position: relative;
}

.modal-prototype .modal-header .modal-step ul li .step .step-number {
    position: absolute;
    width: 58px;
    height: 58px;
    border: 3px solid white;
    border-radius: 29px;
    left: -15px;
    top: 0;
    margin-top: -9px;
    z-index: 4;
    line-height: 52px;
    font-size: 22px;
    background-color: #448e91;

}

.modal-prototype .modal-header .modal-step ul li .step-content {
    position: relative;
    display: block;
    overflow-y: hidden;
    padding-left: 40px;
    font-size: 16px;
}

.modal-prototype .modal-header .modal-step ul li .step-content:before {
    position: absolute;
    height: 0;
    width: 0;
    content: '';
    top: 50%;
    left: 43px;
    margin-top: -28px;
    border-left: 16px solid white;
    border-bottom: 28px solid transparent;
    border-top: 28px solid transparent;
    z-index: 1;

}

.modal-prototype .modal-header .modal-step ul li .step-content:after {
    position: absolute;
    height: 0;
    width: 0;
    content: '';
    top: 50%;
    left: 40px;
    margin-top: -28px;
    border-left: 16px solid #448e91;
    border-bottom: 28px solid transparent;
    border-top: 28px solid transparent;
    z-index: 2;
}

.modal-prototype .modal-header .modal-step ul li.active {
    background-color: white;
    color: #448e91;
}

.modal-prototype .modal-header .modal-step ul li.active .step .step-number {
    background-color: white;
    border-color: #448e91;
}

.modal-prototype .modal-header .modal-step ul li.active .step-content:before {
    border-left-color: #448e91;
}

.modal-prototype .modal-header .modal-step ul li.active .step-content:after {
    border-left-color: white;
}

.modal-prototype .hide-step1 .btn-confirm {
    margin-right: 20px;
}

.btn-primary.btn-prototype:hover {
    background-color: #0d3495;
    border-color: #0d3495;
}

/*Login modal*/

.login-box-left {
    border-right: 1px solid rgba(35,83,87, 0.3);
}

.login-box {
    text-align: center;
    width: 50%;
    float: left;
}

.box-title {
    display: block;
    line-height: 50px;
    background-color: rgba(68, 142, 145, 0.3);
    font-size: 20px;
    font-weight: 300;
    color: #225256;
}

.login-box .social-login {
    padding: 20px;
    list-style: none;
    margin: 0;
}

.login-box .social-login li {
    display: block;
    margin: 15px 0;
}

.box-form {
    padding: 20px;
}

.box-form .login-element-wr {
    margin: 15px 0;
}

.box-form .login-element-wr input,
.box-form .login-element-wr select{
    height: 50px;
    border: 1px solid #225256;
    border-radius: 3px;
    background: white;
    padding: 0 15px;
    color: #225256;
    width: 300px;
}

.box-form .login-actions {
    width: 300px;
    margin: auto;
}

.btn-prototype {
    height: 50px;
    line-height: 38px;
    min-width: 180px;
    display: inline-block;
    padding-left: 16px;
    padding-right: 16px;
    background-color: #f47b0e;
    border: none;
    font-size: 18px;
    font-weight: 600;
}

.btn-login {
    float: right;
}

.error-message {
    margin-top: 5px;
    font-weight: 300;
    color: #f47b0e;
}

/* Confirm phone modal */
.form-error {
    font-size: 16.9px;
}

.form-label {
    min-width: 130px;
    text-align: left;
    color: #21595b;
    font-size: 18px;
    font-weight: 300;
}

#confirm-phone .box-form, #confirm-phone-learn .box-form {
    max-width: 690px;
    margin: auto;
    text-align: left;
}

.btn-get-code {
    font-size: 15px;
    border-radius: 8px;
    margin-left: 15px;
    border: none;
    color: #0d3495;
}

.confirm-actions {
    text-align: center;
}

div.error-message {
    padding-left: 150px;
}

.box-title span {
    color: #f47b0e;
}

.table-infomation {
    max-width: 670px;
    margin: 40px auto 20px;
}

.box-action {
    margin: 20px auto 40px;
}

.modal-message {
    margin: 40px auto 20px;
    font-size: 20px;
    font-weight: 500;
    padding: 0 20px;
}

.box-title .img {
    margin-right: 10px;
    display: none;
}
.step1 .hide-step1, .step2 .hide-step2, .hasphone .hide-hasphone{
    display: none;
}
.hasphone .show-hasphone{
    display: initial;
}
.res-message{
    display: none;
    font-weight: 300;
}

.bottom-popup {
    background: transparent url("../images/popup.png") no-repeat scroll center top;
    bottom: 20px;
    color: #fff;
    height: 196px;
    padding: 50px 20px;
    position: fixed;
    right: 40px;
    text-align: center;
    width: 237px;
}
.bpname {
    border-bottom: 1px solid #fff;
    font-size: 25px;
    line-height: 1.2;
    margin-bottom: 9px;
    text-transform: uppercase;
}
.bpcta, .bpcta:hover, .bpcta:active, .bpcta:focus {
    background: transparent url("../images/bpcta.png") no-repeat scroll center center;
    color: #fff;
    display: block;
    font-size: 13px;
    height: 24px;
    margin: 0 auto;
    padding: 2px 10px 2px 28px;
    width: 121px;
}

.modal-prototype.step1 .login-element-wr {
    text-align: center;
}

.hide-step2 .btn-confirm-next {
    margin-left: 10px;
}
/*----end modal----*/

@media only screen and (max-width: 768px) {
    .modal img{
        max-width: 100%;
    }
    .modal-prototype .modal-dialog {
        max-width: 400px;
        margin: 10px auto 0;
    }

    .show-mobile {
        display: block;
    }

    .hide-mobile {
        display: none;
    }

    .login-box {
        width: 100%;
    }

    .box-title {
        background-color: transparent;
        line-height: 1.5;
    }

    .box-form {
        padding: 10px;
    }

    .box-form .login-element-wr input {
        width: 280px;
        max-width: 100%;
    }

    .box-form .login-element-wr {
        text-align: center;
    }

    .box-form .login-actions {
        width: 280px;
        max-width: 100%;
    }

    .login-box .social-login {
        padding: 10px;
    }

    .modal-prototype .modal-header .modal-title {
        font-size: 20px;
    }

    .modal-prototype .modal-header .modal-title img {
        margin-right: 10px;
    }

    #confirm-phone .box-form, #confirm-phone-learn .box-form {
        text-align: center;
    }

    .form-label {
        width: 280px;
        display: block;
        text-align: left;
    }

    .btn-get-code {
        padding-top: 10px;
        margin-left: 0;
        display: inline-block;
    }

    .login-box-left .box-title, .bottom-popup {
        display: none;
    }

    .box-title .img {
        display: inline-block;
    }

    div.error-message {
        padding-left: 0;
        text-align: center;
    }

    .btn-prototype {
        margin-bottom: 5px;
    }
}

#learnTrialModal .modal-dialog {
    max-width: 562px;
}

#learnTrialModal iframe{
    display: block;
    width: 100%;
}

.se-box-note {
    font-size: 11px;
    font-style: italic;
    margin: 15px 5%;
}

.tbnote {
    text-align: left;
}

.tbl-mobile {
    display: none;
}

.exit-popup {
    position: fixed;
    z-index: 0;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    width: 100%;
    background-color: transparent;
}

#exitPopupModal .modal-dialog {
    max-width: 700px;
    margin-top: 200px;
    width: 700px;
}

#exitPopupModal .modal-content {
    border: 10px solid #41b867;
    text-align: center;
    position: relative;
}

#exitPopupModal .modal-content:before {
    content: '';
    background: url("../images/muathi.png") no-repeat;
    width: 780px;
    height: 300px;
    display: inline-block;
    position: absolute;
    left: -50px;
    top: -250px;
}

#exit-content {
    position: relative;
    padding: 0;
    font-size: 24px;
    color: #272727;
    margin-top: 60px;
    font-weight: bold;
    text-transform: uppercase;
}

#exit-content p {
    margin-bottom: 2px;
}

.btn-buy-now {
    width: 278px;
    height: 60px;
    line-height: 60px;
    background: #f65254;
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    display: inline-block;
    margin-top: 25px;
    border-radius: 8px;
}

.btn-buy-now:hover, .btn-buy-now:focus {
    color: white;
}

#exitPopupModal .close {
    font-weight: normal;
    color: white;
    width: 32px;
    height: 32px;
    background: #41b867;
    opacity: 1;
    border-radius: 50%;
    font-size: 18px;
    text-shadow: none;
    position: absolute;
    bottom: 0;
    right: 15px;
    outline: none;
}

#exitPopupModal .close span {
    display: block;
    margin-top: -5px;
}

#exitPopupModal .modal-body {
    padding: 0 0 20px 0;
}

.login-element-wr .form-label {
    min-width: 200px;
}

/* --------- Learn trial ---------- */
.learn_trial_sl{
    /*max-width: 80%;*/
    /*margin: 0 auto;*/
    background: #000;
}
.learn_trial_sl img, .learn_trial_sl .slick-track{
    margin: 0 auto;
}
.learn_trial_sl img{
    max-height: 200px;
    cursor: pointer;
    padding: 0 8px;
}
#learnTrialModal .modal-dialog{
    margin-top: 50px !important;
}
.learn_trial_sl .slick-prev {
    left: 5px;
    z-index: 99;
}
.learn_trial_sl .slick-next {
    right: 23px;
}

.learn_trial_sl .slick-prev:before, .slick-next:before {
    font-size: 40px;
}
.learn_trial_sl .slick-prev, .learn_trial_sl .slick-next {
    height: 36px;
    top: 50%;
    width: 36px;
}
.item_slick{
    position: relative;
}
.item_slick .fa {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    font-size: 40px;
    color: rgba(0, 0, 0, 0.81);
    cursor: pointer;
}
.item_slick:hover .fa{
    color: #CC181E;
}
/* --------- End Learn trial ---------- */
/* --------- Gift ---------- */
.modal-gift .modal-content {
    border-radius: 0;
}
.modal-gift .modal-header {
    background-color: #390090;
    color: #ffc81f;
    position: relative;
}
.modal-gift .modal-footer {
    border-top: none;
    text-align: center;
}
.modal-gift .modal-title {
    text-align: center;
    font-size: 25px;
    font-weight: bold;
    text-transform: uppercase;
}
.gift-image {
    margin: 10px 0;
}
.gift-name {
    font-size: 27px;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    color: #390090;
    border-bottom: 2px solid #ecb440;
    padding-bottom: 12px;
    max-width: 450px;
    margin: 10px auto;
}
.gift-num-spin {
    font-size: 20px;
    color: #390090;
}
.gift-note {
    color: #fe4e4e;
    font-size: 21px;
}
/* --------- End Gift ---------- */

/* --------- Rule ---------- */
.rule-wr {
    font-size: 16px;
    padding: 10px 20px 0;
    text-align: justify;
}
.rule-wr h2, .rule-wr h3 {
    font-weight: bold;
    color: #492583;
}
.rule-wr h2 {
    font-size: 20px;
}
.rule-wr h3 {
    font-size: 18px;
}
.rule-wr table > thead th {
    background: #5a429a;
    color: #ffffff;
    text-align: center;
    padding: 13px 10px;
}
.rule-wr table tbody td {
    padding: 10px;
}
.rule-wr table > thead th, .rule-wr table tbody td {
    border-right: 1px solid #ffffff;
}
.rule-wr .table-striped > tbody > tr:nth-of-type(2n) {
    background-color: #cbccce;
}
/* --------- End rule ---------- */


