/*-------reserve modal-------*/

.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-header .close{
    /*font-family: 'UTM Avo Bold';*/
    color: #FFFFff;
    opacity: 1;
    position: relative;
    right: 9px;
    font-size: 17px;
    top: 4px;
}

.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 {
    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;
    position: relative;
}

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

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

div.error-message {
}

.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: 16px;
    font-weight: 500;
    padding: 0 20px;
    line-height: 1.3;
}

.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 {
    background: #e91364;
    color: #FFFFff;
    height: 34px;
    line-height: 34px;
    padding: 0 16px;
    border-radius: 20px;
    position: relative;
    bottom: -13px;
    font-size: 17px;
    min-width: 0;
}
/*----end modal----*/
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #737373;
}
::-moz-placeholder { /* Firefox 19+ */
    color: #737373;
}
:-ms-input-placeholder { /* IE 10+ */
    color: #737373;
}
:-moz-placeholder { /* Firefox 18- */
    color: #737373;
}
@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,.input-select {
        width: 100% !important;
        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;
        margin-bottom: 10px;
    }

    .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;
    margin-top: 10px;
}

.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: 5px;
}

.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;
}

.input-select{
    height: 50px;
    border: 1px solid #225256;
    border-radius: 3px;
    background: white;
    padding: 0 15px;
    color: #225256;
    width: 300px;
}
.max-width-600{
    max-width: 600px !important;
}
.tbnote{
    font-weight: bold;
}
.modal{
    color: #333;
    z-index: 999999;
}
/* --------- End Learn trial ---------- */
/* --------- OneSignal ---------- */
#onesignalModal .close {
    position: absolute;
    right: 0px;
    top: 0px;
    color: #555;
    opacity: 1;
    width: 40px;
    height: 40px;
}
#onesignalModal .modal-dialog {
    max-width: 500px;
}
.none-style{
    list-style: none;
}
.modal .red{
    color: red;
}
.ver-mid{
    vertical-align: middle;
}
#ruleModal .modal-message {
    font-weight: 400;
    font-size: 16px;
    text-align: justify;
}
#ruleModal .modal-message h3 {
    font-weight: bold;
    font-size: 18px;
}
.guide-video{
    width: 100%;
    height: 400px;
}
.modal h3{
    margin-bottom: 10px;
}
.modal b, .modal strong{
    font-weight: bold;
}
.modal p{
    margin-bottom: 10px;
}
.modal ul{
    padding-left: 40px;
    margin-bottom: 10px;
}
.modal ul li{
    padding: 3px 0;
    list-style: square;
}
.modal table td,.modal table th{
    padding: 5px;
    border: 1px solid #666;
}

#rulerPopup .modal-body{
    text-align: left;
}
/* --------- End OneSignal ---------- */

/* ------------- Responsive ------------- */
.phone-default{
    text-align: center;
    font-size: 15px;
}

#confirmPhoneModal .modal-dialog{
    width: 445px;
    margin: 98px auto;
}
#confirmPhoneModalTitle{
    text-align: center;
    padding-top: 15px;
    font-size: 15px;
    color: #FFFFff;
    /*font-family: 'UTM Avo Bold';*/
    font-family: inherit;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.line-1-popup-form{
    text-align: center;
    color: #FFFFff;
    font-size: 15px;
    /*font-family: 'UTM Avo';*/
    margin-bottom: 20px;
}
#confirmPhoneModalTitle span{
    display: inline-block;
    position: relative;
}
#confirmPhoneModalTitle span:before{
    content: " ";
    width: 94%;
    height: 1px;
    background: #FFFFff;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: -4px;
}
#confirmPhoneModal .modal-header{
    border-bottom: none;
    padding: 0;
}

#confirmPhoneModal input,#confirmPhoneModal select{
    height: 38px;
    line-height: 38px;
    background: #FFFFff;
    border: none;
    border-radius: 15px;
    /*font-family: 'UTM Avo';*/
}
#confirmPhoneModal .form-group{
    margin-bottom: 25px;    position: relative;
}
.cta-wrapper button {
    height: 45px;
    text-align: center;
    padding: 0 24px;
    color: #000000;
    /*font-family: 'UTM Avo Bold';*/
    border: none;
    background: #fffc00;
    font-size: 21px;
    border-radius: 15px;
    box-shadow: 0 4px 0 #dcc609;
    text-transform: uppercase;
}

.line1-title-modal{
    font-size: 22px;
    color: #fff600;
}

.line2-title-modal{
    font-family: 'Roboto';
    color: #ffffff;
    font-size: 22px;
}
#confirm-phone .box-form{
    padding: 33px 20px 0;
}
#confirmPhoneModal .modal-content{
    background-size: cover;
    border-radius: 0;
    border: none;
    background: url(../images/bg-popup-form.png) no-repeat;
    position: relative;
    background-size: 100% 100%;
}

#confirmPhoneModal .modal-content:before{
    content: " ";
    background: url(../images/giftboxpopup.png) no-repeat;
    width: 123px;
    height: 123px;
    position: absolute;
    top: -75px;
    left: -49px;
}
#confirmPhoneModal.newmodal .modal-dialog {
    width: 504px;
}
#confirmPhoneModal.newmodal .modal-content {
    background: #ed0a70 url(../images/bg-popup-form2.png) no-repeat;
    border-radius: 10px;
}
#confirmPhoneModal.newmodal .modal-body {
    padding-left: 75px;
    padding-right: 75px;
}
#confirmPhoneModal.newmodal #confirmPhoneModalTitle {
    text-transform: inherit;
    padding-left: 45px;
}
#confirmPhoneModal.newmodal .line-1-popup-form {
    padding-left: 45px;
    position: relative;
    margin-bottom: 15px;
}
#confirmPhoneModal.newmodal .line-1-popup-form::before {
    content: "";
    display: block;
    height: 1px;
    width: 257px;
    background: #fff;
    position: absolute;
    top: -5px;
    left: 50%;
    margin-left: -106px;
}
#confirmPhoneModal.newmodal .modal-content::before {
    background: url(../images/giftboxpopup2.png) no-repeat;
    width: 170px;
    height: 210px;
    top: -23px;
    left: -34px;
}
#confirmPhoneModal.newmodal .modal-content::after {
    content: "";
    background: url(../images/giftboxpopup3.png) no-repeat;
    width: 71px;
    height: 74px;
    top: 28px;
    right: 21px;
    position: absolute;
}

#confirmPhoneModal .modal-content-n2:before{
    content: " ";
    background: url(../images/giftboxpopup-n2.png) no-repeat;
    width: 153px;
    height: 141px;
    position: absolute;
    top: -75px;
    left: -49px;
}

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

#confirm-phone .box-form{
    background: #FFFFff;
    border-radius: 20px;
}

#confirm-phone .box-form .login-element-wr input{
    width: 100%;
    height: 27px;
    line-height: 27px;
    font-size: 16px;
    font-family: 'Roboto';
    border: 1px solid #edeaea;
    border-radius: 10px;
}

#confirm-phone .input-select{
    width: 100%;
    height: 27px;
    line-height: 27px;
    font-size: 16px;
    font-family: 'Roboto';
    border: 1px solid #edeaea;
    border-radius: 10px;
}

#confirm-phone .box-form .login-element-wr input:focus{
    outline:none;
}
#confirm-phone .input-select:focus{
    outline:none;
}

#confirmPhoneModal .modal-body{
    padding-top: 0px;
    padding-left: 37px;
    padding-right: 37px;
    padding-bottom: 7px;
}

#confirmPhoneModal .help-block{
    color: #FFFFff !important;
    position: absolute;
    font-size: 12px;
    bottom: -30px;
    padding-left: 5px;
}

@media only screen  and (min-width : 1224px) {
    /* Styles */
}

@media only screen and (min-width : 1024px) and (max-width : 1223px) {
    /* Styles */
}

@media only screen and (min-width : 768px) and (max-width : 1023px) {
    /* Styles */
}

@media only screen and (min-width : 640px) and (max-width : 767px) {
    #onesignalModal .modal-dialog {
        max-width: 288px;
    }
}

@media only screen and (max-width : 639px) {
    .modal-dialog {
        padding: 15px;
    }
    #onesignalModal .modal-dialog {
        max-width: 288px;
    }
    #ruleModal .modal-message {
        font-size: 13px;
    }
    #ruleModal .modal-message h3 {
        font-size: 14px;
        font-weight: bold;
    }
    #ruleModal .modal-message h4 {
        font-size: 14px;
    }
    .guide-video{
        height: 300px;
    }
}

@media only screen and (min-width : 480px) and (max-width : 639px) {
    /* Styles */
}

@media only screen and (max-width : 479px) {
    .modal.in .modal-dialog {
        padding: 20px;
    }
    .guide-video{
        height: 250px;
    }
    .textmobileul {
        padding-left: 0 !important;
    }
    .textmobile{
        font-size: 11px;
    }
    #confirmPhoneModal .modal-dialog,
    #confirmPhoneModal.newmodal .modal-dialog{
        width: 100%;
        margin-right: auto;
        margin-left: auto;
    }
    #confirmPhoneModal .modal-body:before{
        display: none;
    }
    #confirmPhoneModal.newmodal .modal-content::before,
    #confirmPhoneModal.newmodal .modal-content::after {
        display: none;
    }
    #confirmPhoneModal.newmodal #confirmPhoneModalTitle,
    #confirmPhoneModal.newmodal .line-1-popup-form {
        padding-left: 0;
    }
    #confirmPhoneModal.newmodal .line-1-popup-form::before {
        margin-left: -85px;
        width: 170px;
    }
    #confirmPhoneModal .modal-body{
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 35px;
    }
    #confirmPhoneModalTitle{
        font-size: 13px;
    }
    #confirmPhoneModal.newmodal #confirmPhoneModalTitle {
        font-size: 18px;
    }
    #confirmPhoneModal.newmodal .modal-body {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media only screen and (min-width : 320px) and (max-width : 479px) {
    .guide-video{
        height: 200px;
    }
}