/*
Theme Name:     LearnThaiStyle-Child
Description:    Dev
Author:         admin
Template:       Divi

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/


@import url("css/header.css");
@import url("css/font-awesome.min.css");
@import url("css/footer.css");
@import url("css/page.css");
@import url("css/global.css");
@import url("css/responsive.css");


/*short-thai-cources- Start*/
.et_pb_section.et_pb_section_0.section_banner_teach {
    background-color: #ffffff;
}
/*short-thai-cources- End*/
/*edit profile section*/
.teacher-wrk-bk:after{
    position: relative;
    clear: both;
    display: block;
    content: "";
}
#profilePortal .et_pb_column.prfile-edit ,
.teacher-wrk-bk .edit_profile,
.edit_profile{
    width: 200px !important;
    margin-right: 40px !important;
    float: left;
}
#profilePortal .larning-matrials , .larning-matrials ,
.teacher-wrk-bk > div.larning-matrials{
    width: 230px !important;
    margin-right: 0 !important;
    margin-left: 40px;
    box-shadow: 0 0 5px 2px rgba(1, 1, 1, 0.05);
    padding: 15px !important;
    background: #ffffff;
    border-radius: 5px;
    overflow: hidden;
    float: left;
}
#profilePortal .et_pb_column.prfile-detls ,
.mid-box{
    width: calc(100% - 510px) !important;
    margin-right: 0 !important;
    float: left;
    background: #fff;
    border: 1px solid #ddd;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px #ccc;
}
div#profileBackground {
    background: transparent !important;
}
div#profilePortal.et_pb_row {
    max-width: 1400px !important;
    width: 95% !important;
    background: transparent !important;
}
#profilePortal .et_pb_column.prfile-edit .et_pb_text_inner > div{
    width: 100% !important;
    height: auto !important;
}
.et-db #et-boc #profilePortal  .et_pb_gutters3.et_pb_row .et_pb_column_1_3 .et_pb_module, 
.et_pb_gutters3.et-db #et-boc #profilePortal  .et_pb_column_1_3 .et_pb_module{
    margin-bottom: 30px;
}
.prfile-edit .user-info-edit ul ,
.user_menu{
    padding-left: 0;
}
.user_menu li{
    display: block;
}
.user_menu li a{
    list-style: none;
    display: block;
    text-align: center;
    color: #fff;
    border: 1px solid #9b464d;
    padding: 6px 10px;
    border-radius: 15px;
    margin-top: 5px;
    background: #9b464d;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: lighter;
    transition: all 500ms ease-in-out;
    -webkit-transition: all 500ms ease-in-out;
}
.user_menu li a:hover{
    background: #aa1522;
}
.prfile-detls h2{
    font-size: 23px;
    color: #9b464d;
    margin-bottom: 0;
    position: relative;
    font-weight: bold;
    padding: 0 0 10px;
}
h3.no-location {
    font-family: Oswald-Bold !important;
    font-size: 40px !important;
    color: #9b464d;
    text-align: center;
}
body h1.clint-nm {
    font-size: 20px !important;
    font-weight: 300 !important;
    text-align: left;
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif !important;
    margin: 0;
    color: #424242;
}
em.clr-grn {
    font-style: normal;
    font-weight: 600;
}
.prfile-detls h1{
    font-family: Oswald-Bold !important;
    font-size: 35px !important;
    color: #9b464d;
    margin-bottom: 20px;
    position: relative;
    font-weight: bold;
}
.profileInfo {
    padding: 30px;
    background: #f2f2f2;
    border: 6px solid #e0e0e0;
}
.teacher-dtl-box {
    background: #fff;
    padding: 20px;
    margin-top: 30px;
    border-radius: 5px;
    border: 1px solid #ccc;
}
.teacher-dtl-box p {
    margin-bottom: 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #ddd;
    padding-top: 8px;
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #777474 !important;
    overflow: hidden;
}
.teacher-dtl-box p:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}
.teacher-dtl-box p b {
    margin-right: 5px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    width: 150px;
    display: inline-block;
    text-align: left;
    float: left; 
}
.teacher-dtl-box .techr-dtl {
    padding-left: 160px;
    display: block;
    text-transform: uppercase;
}
.larning-matrials .wpc_page{
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.larning-matrials .wpc_page .wpc_pagedata_wrapper{
    width: 100% !important;
}
.larning-matrials .wpc_page a {
    font-weight: normal;
    letter-spacing: 1px;
    font-weight: lighter;
    font-size: 12px;
    text-transform: uppercase;
    text-align: center;
    display: block;
    color: inherit;
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid;
    text-align: left;
    padding-left: 20px;
    position: relative;
}
.larning-matrials .wpc_page a:before {
    position: absolute;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid  #666;
    left: 5px;
    top: 3px;
    content: "";
}
.larning-matrials .wpc_page a:hover:before {
     border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid #9b464d;
}
.larning-matrials .wpc_page a:hover {
    color: #9b464d;
    text-decoration: none !important; 
}
/*student portal*/
.user_image > div {
    width: 100% !important;
    height: auto !important;
    margin-bottom: 20px;
}
div#profilePortal .wpc_avatar_circle ,
.edit_profile .wpc_avatar_circle{
    width: 150px;
    height: 150px;
    border-radius: 100% !important;
    box-shadow: 0 0 4px #9a9797;
    border: 3px solid #fff;
    overflow: hidden;
    margin: auto;
}
.wpc_user_avatar_image{
    object-fit: cover;
}
div#profilePortal .wpc_avatar_circle .wpc_user_avatar_image{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#profilePortal .larning-matrials h3 , .larning-matrials h3{
    color: #fff;
    margin-bottom: 0;
    position: relative;
    font-weight: bold;
    padding: 15px 0;
    font-size: 18px;
    text-align: center;
    background: #5fbd18;
    margin: -20px -20px 20px;
}
.larning-matrials h3 + p{
    display: none;
}
#profilePortal .larning-matrials .wpc_table_nav_top {
    display: none;
}
.teachr-lst ul {
    list-style: none;
    padding: 15px;
    border: 1px solid #eee;
    margin-top: 15px;
    border-radius: 5px;
}
.teachr-lst ul li{
    display: block;
}
.teachr-lst ul li a{
    font-size: 14px;
    text-transform: uppercase;
    text-align: center;
    display: block;
    color: inherit;
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid #eee;
    text-align: left;
    padding-left: 15px;
    position: relative;
}
.teachr-lst ul li:last-child a{
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}
.teachr-lst ul li a:hover{
    color: #9b464d;
    border-color: #9b464d;
}
.teachr-lst ul li a:before{
    position: absolute;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid #666;
    left: auto;
    top: 6px;
    content: "";
    right: 15px;
}
.teachr-lst ul li a:hover:before{
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid  #9b464d;   
}
.teachers-services .et_pb_module_header{
    margin-bottom: 0px;
    position: relative;
    font-weight: bold;
    padding: 0 0 15px;
    font-size: 25px !important;
}
.teachers-services .et_pb_row{
    display: -webkit-box; 
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex; 
    display: flex;
    flex-wrap:wrap;
    justify-content: stretch;
}
.teachers-services .et_pb_row .et_pb_column.et_pb_column_1_3{
    background: #fff;
    padding: 15px 15px 90px;
    border-radius: 5px;
    box-shadow: 0 0 5px #ddd;
    width: 31%;
    margin-right: 3.5%;
}
.teachers-services .et_pb_main_blurb_image img{
    max-height: 80px;
}
.teachers-services .et_pb_button_module_wrapper {
    z-index: 55;
    position: absolute;
    bottom: 40px;
    text-align: center;
    width: 100%;
    left: 0;
    padding: 0 20px;
}
.teachers-services .et_pb_button_module_wrapper .et_pb_button{
    background: #9b464d !important;
    color: #fff;
    border-color: #9b464d !important;
    padding: 12px 16px !important;
    border: 2px solid;
    font-size: 14px !important;
    line-height: 1.7em!important;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block !important;
}
.teachers-services .et_pb_button_module_wrapper .et_pb_button:hover{
    padding: 12px 16px !important;
}
.teachers-services .et_pb_button_module_wrapper .et_pb_button:after{
    display: none;
}
#profilePortal{
    background: transparent !important;
    padding: 30px 0; 
}
#profilePortal .profileDescription{
    border: 0;
}
.over-way:before{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 0;
    content: "";
    background: rgba(0,0,0,0.56);
    z-index: 1;
}
.over-way *{
    color: #fff;
}
.over-way h2{
    font-size: 40px !important; 
    font-weight: bold;
    margin-bottom: 10px;
}
.over-way .et_pb_row{
    position: relative;
    z-index: 5;
}
#profilePortal .et_pb_column_2{
    height: auto;
}
#profilePortal .wpc_client_client_pages_list > strong a {
    color: red;
    display: block;
    text-align: center;
    margin-bottom: 15px;
    text-decoration: underline;
}
#profilePortal .wpc_client_client_pages_list > strong a:hover{
    color: #f00707;
}
ul.et_pb_side_nav.et-visible {
    display: none;
}
/*user profile page*/
.page-template-user_public_profile_template #et-main-area > .container .user-teacher{
    display: -webkit-box; 
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex; 
    display: flex;
    flex-wrap:wrap
}
.page-template-user_public_profile_template #et-main-area > .container  .details-box{
    background: #fff;
    border: 1px solid #ddd;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 0 10px #ccc;
    margin: 0 0 30px;
    order: 1;
    width: calc(100% - 300px);
}
.page-template-user_public_profile_template #et-main-area >.container .user-teacher > .avtarr-img{
    width: 280px !important;
    height: 300px !important;
    float: none;
    order: 2;
    margin-right: 0;
    margin-left: auto;
}
.page-template-user_public_profile_template #et-main-area > .container .wpc_avatar_output{
    border-radius: 0 !important;
    border: 4px solid #fff;
    box-shadow: 0 0 8px #ccc;
}
.details-box ul {
    border: 1px solid #ddd;
    margin: 10px 0 30px;
    border-radius: 5px;
}
.page-template-user_public_profile_template #et-main-area > .container .user-teacher  ul li{
    padding-bottom: 10px;
    margin-bottom: 0;
    border-bottom: 1px solid #ddd;
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 400;
    color: #777474 !important;
    position: relative;
    padding-left: 0;
    overflow: hidden;
    padding: 15px;
}
.user-teacher  ul li:last-child{
    border-bottom: 0;
}
.page-template-user_public_profile_template #et-main-area > .container .user-teacher  ul li b{
    margin-right: 0;
    width: 200px;
    position: relative;
    left: 0;
    top: 0;
    float: left;
}
.page-template-user_public_profile_template #et-main-area > .container .user-teacher  ul li span{
    display: block;
    margin-left: 200px;
}
/*end of user profile page*/
/*teacher membership page*/
.mid-box h2 {
    font-family: Oswald-Bold !important;
    font-size: 40px !important;
    color: #9b464d;
    margin-bottom: 20px;
    position: relative;
    font-weight: bold;
}
.h2-space.mid-box h2 {
    margin-top: 40px;
}
.gform_heading {
    margin-top: 30px;
    margin-bottom: 0 !important;
}
.gform_heading h3.gform_title {
    color: #9b464d;
}
.gform_wrapper label.gfield_label {
    font-weight: 500 !important;
    font-size: inherit;
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif;
    font-size: 15px;
    color: #333;
}
body .gform_wrapper ul.gform_fields {
    margin: 0 -16px !important;
}
.gform_wrapper ul.gform_fields li.gfield {
    padding-right: 16px;
    padding-left: 16px;
}
.form-group label{
    font-weight: 500 !important;
    font-size: inherit;
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif;
    font-size: 15px;
    color: #333;
    margin: 10px 0 5px
}
.form-group .form-control, .form-group label {
    display: block;
    width: 100%;
}
.gform_fields select ,
.gform_fields input ,
.gform_fields textarea,
.form-group .form-control {
    height: 40px;
    padding: 0 10px !important;
    border-radius: 3px;
    border-color: #ddd;
    width: 100% !important;
    -webkit-appearance: none;
    font-size: 15px !important;
    color: #5c5b5b;
    font-weight: normal !important;
    letter-spacing: 0.5px;
    margin: 0 !important;
}
body .gfield input.gfgeo-address-field[data-locator_enabled="1"], 
body .gfield input.advanced-address-autocomplete[data-locator_enabled="1"] {
    padding-left: 30px !important;
    position: relative;
}
.gfield div.gfgeo-locator-button-wrapper.infield {
    position: absolute !important;
    top: 55% !important;
    left: 4px !important;
    height: auto !important;
    padding: 0 !important;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}
.gfield div.gfgeo-locator-button-wrapper.infield img{
    opacity: 0.9;
    max-width: 15px;
}
form#public_profile {
    margin-top: 30px;
}
.gform_fields select,
.form-group .form-control.select ,.form-group select{
    background-image: url(images/arrow-botom.png);
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: 96% center; 
}
.form-group .form-control,
.form-group{
    margin-bottom: 10px
}
.form-group {
    margin-top: 15px;
}
.gform_fields textarea,
.form-group textarea ,
.form-group textarea.form-control  {
    height: 90px !important;
    padding: 15px !important;
}
.gform_button {
    background: #5fbd18 !important;
    color: #fff;
    border-color: #5fbd18 !important;
    padding: 8px 16px !important;
    border: 2px solid;
    font-size: 20px !important;
    line-height: 1.7em!important;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block !important;
    width: 100% !important;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}
.gform_button:hover {    
    background: #69d517 !important;
    color: #fff;
    border-color: #69d517 !important;
}

button.btn.btn-primary{
    background: #9b464d !important;
    color: #fff;
    border-color: #9b464d !important;
    padding: 8px 15px !important;
    border: 2px solid;
    font-size: 16px !important;
    line-height: 1.7em!important;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block !important;
    border-radius: 5px;
    cursor: pointer;
    transition: all 500ms ease-in-out;
    -webkit-transition: all 500ms ease-in-out;
    max-width: 200px;
    width: 100% !important;
}
button.btn.btn-primary:hover{
    opacity: 0.8;
}
.check-bxx{
    display: inline;
}
.container.teacher-wrk-bk {
    margin: 60px auto;
}
.gfield_checkbox {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
}
body .mid-box .gfield_checkbox > li{
    width: 100%;
}
.gfield_checkbox  input{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 55;
    left: 0;
    top: 0;
}
.gfield_checkbox li label {
    padding-left: 40px !important;
    position: relative;
    font-weight: normal !important;
    padding-top: 1px !important;
    padding-bottom: 1px !important;
}
.gfield_checkbox li input:checked ~ label{
    font-weight: normal !important; 
}
.gfield_checkbox li label:before{
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    border-radius: 3px;
    border: 1px solid #ddd;
    content: "";    
}
.gfield_checkbox li {
    width: 50%;
}
.gfield_checkbox li input:checked ~ label:before{
    background: url(images/check-iconsbg.png) no-repeat center center;
    background-size: 20px auto;
}
span.ginput_price {
    color: #9b464d;
    opacity: 1 !important;
    transition: all 500ms ease-in-out;
    -webkit-transition: all 500ms ease-in-out; 
    font-weight: 600;  
}
.gfield_checkbox li input:checked ~ label span.ginput_price {
    color: #5fbd18;
    margin-left: 5px;
}
.gfield_total label {
    font-family: Oswald-Bold !important;
    font-size: 60px !important;
    color: #9b464d !important;
    margin-bottom: 0;
    position: relative;
    font-weight: bold;
    text-align: center;
    display: block !important;
    text-transform: uppercase;
}
body .ginput_container_total .ginput_total {
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif;
    text-transform: uppercase;
    font-size: 40px !important;
    display: block;
    text-align: center;
}
body li.gfield_total{
    border: 1px dashed #ccc;
    padding: 15px;
    background: #ffffffe3;
    position: relative !important;
    left: 0 !important;
    right: auto !important;
}
ul.users-list-wrapper {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
    justify-content: center;
}
ul.users-list-wrapper li{
    width: 20%;
    float: left;
    padding: 0 10px;
    position: relative;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    text-align: center;
}
body ul.users-list-wrapper li .user-avatar{
    width: 100% !important; 
    float: none !important;
    margin-right: 0 !important;
    order: 1;
}
body ul.users-list-wrapper li .user-avatar img{
    border-radius: 100% !important;
    width: 100px !important;
    box-shadow: 0 0 4px #9a9797 !important;
    border: 3px solid #fff !important;
    height: 100px !important;
    object-fit: cover;
}
ul.users-list-wrapper li span.address {
    position: absolute;
    background: #fff;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    width: 250px !important;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    z-index: -55;
    border: 1px solid #ddd;
    box-shadow: 0 0 5px #ccc;
    opacity: 0;
    order: 3;
    transition: all 500ms ease-in-out;
    -webkit-transition: all 500ms ease-in-out;
    top: auto;
    bottom: 95%;
}
ul.users-list-wrapper li:hover span.address{
    opacity: 1;
    visibility: visible;
    z-index: 55;
}
ul.users-list-wrapper li .top-wrapper{
    order: 2;
    width: 100%;
    text-align: center;
    margin-top: 10px;
}
ul.users-list-wrapper li .top-wrapper a{
    text-decoration: none;   
    font-size: 18px !important;
    color: #9b464d;
    margin-bottom: 0;
    position: relative;
    font-weight: bold;
    display: block;
    font-family: Oswald-Bold !important;
}
ul.users-list-wrapper li span.address .gmw-icon-location-thin{
    display: block;
    text-align: center;
    font-size: 35px;
    margin-bottom: 5px;
}
ul.user_menu {
    padding: 0;
}
.gm-style .gm-style-iw {
    max-width: 300px!important;   
    max-height: 300px !important;
}
.gm-style .gm-style-iw .wp-user-avatar {
    width: 60px !important;
    height: 60px !important;
    border-radius: 100% !important;
    border: 3px solid #fdfdfd !important;
    box-shadow: 0 0 10px #ccc !important;
}
.gm-style .gm-style-iw a.title ,
h3.gmw-sl-title.user-name.gmw-sl-element{
    font-size: 18px !important;
    color: #9b464d !important;
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif;
    font-weight: bold;
} 
.gm-style a.gmw-get-directions {
    text-decoration: none !important;
    padding: 5px 10px;
    border: 0;
    padding: 8px 20px;
    margin: 2px;
    color: #fff;
    background: #99324d;
    color: #fff !important;
    font-size: 12px !important;
    border-radius: 3px;
    transition: all 500ms ease-in-out;
    -webkit-transition: all 500ms ease-in-out;
}
.gm-style a.gmw-get-directions:hover {
    opacity: 0.7;
}
.gmw-info-window {
    text-align: center;
    padding: 20px !important;
}
button.gm-ui-hover-effect{
    top: 0 !important;
    right: 0 !important;
}
.pagination-per-page-wrapper.top {
    display: none !important;
}
input[type=submit].gform_button {
    margin-left: auto !important;
    margin-right: 0 !important;
}
.hide_class{
    display: none !important;
}
/*teacher profile page*/
.student_list {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    margin: 20px 0px;
    justify-content: stretch; 
}
.box-section {
    width: 100%;
    padding: 15px 10px;
    box-sizing: border-box;
    background: #fafafa;
    margin-right: 0;
    margin-bottom: 2%;
    transition: all 500ms ease-in-out;
    -webkit-transition: all 500ms ease-in-out;
}
.box-section:hover {
    box-shadow: 0 0 5px #ccc;
}
div#profilePortal .box-section .wpc_avatar_circle,
.edit_profile .box-section .wpc_avatar_circle {
    object-fit: cover;
    margin-bottom: 10px;
}
.box-section h3 a {
    display: block;
    text-align: center;
    margin: 20px 0 10px;
    font-family: Oswald-Bold !important;
    text-transform: uppercase;
    font-size: 20px;
}
.box-dtl{
    display: -webkit-box; 
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex; 
    display: flex;
    flex-wrap:wrap;
    text-align: center;
    justify-content: center;
}
.tool-tip-up{
    width: 45px;
    height: 45px;
    border-radius: 100%;
    display: inline-block;
    margin: auto;
    position: relative;
    margin: 0;
    box-shadow: 0 0 2px #ccc; 
    background: #fff;
    cursor: pointer;
    transition: all 500ms ease-in-out;
    -webkit-transition: all 500ms ease-in-out;
}

.tool-tip-up .fa:before{ 
    position: absolute;
    top:50%;
    left: 50%;
    transform: translate(-50% , -50%);
    color: #9b464d;
    font-size: 22px;
    transition: all 500ms ease-in-out;
    -webkit-transition: all 500ms ease-in-out;
}
.tool-tip-up:nth-child(2n){
     margin: 0 10px;
}
.inner_div {
    position: absolute;
    bottom: 130%;
    width: 250px;
    text-align: center;
    background: #fff;
    padding: 10px;
    font-size: 14px;
    /* border: 1px solid #e5e5e5; */
    color: #000;
    box-shadow: 0 0 2px #dbdada;
    border-radius: 5px;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    left: 50%;
    display: none;
    opacity: 0;
    visibility: hidden;
    line-height: 1.2;
}
.inner_div:after {
    width: 0; 
  height: 0; 
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;  
  border-top: 15px solid #fff;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  bottom: -14px;
  content: "";
}
.tool-tip-up:hover{
    background: #9b464d !important;
}
.tool-tip-up:hover  .fa:before{
    color: #fff !important;
}
.tool-tip-up:hover .inner_div {
    opacity: 1;
    visibility: visible;
    display: block;
}
.wpc_user_avatar_literal {
    display: none;
}
.btn-inner {
    padding: 10px 0;
    text-align: center;
    margin-top: 20px;
}
.btn-inner a {
    display: inline-block;
    padding: 5px 20px;
    margin: 2px;
    color: #fff;
    background: #99324d;
    border-radius: 0px;
    transition: all 500ms ease-in-out;
    -webkit-transition: all 500ms ease-in-out;
}
.btn-inner a:hover {
    background: #8d2440;
}
.bg-thai{
    background-position: center left;
    background-image: url(/wp-content/uploads/2019/06/Thai-Letters-Banner.jpg) !important;
    background-size: cover;
}
.bg-thai .et_pb_column {
    width: 100%;
}
span.link {
    display: block;
    color: #9b464d;
    margin: 10px 0 0;
}
.map-sec {
    margin-bottom: 50px;
}
.list-teacher-show {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}
.gmw-info-window-inner.standard {
    overflow: auto !important;
}
.gmw-info-window-inner a.gmw-get-directions {
    display: none !important;
}
a.gmw-get-directions.go_profile {
    display: inline-block !important;
}
/*end of teacher profile page*/
@media (min-width: 1201px){
    .box-section {
        width: 31%;
        padding: 15px 10px;
        box-sizing: border-box;
        background: #fafafa;
        margin-right: 3.5%;
        margin-bottom: 3.5%;
    }
    .box-section:nth-child(3n) {
        margin-right: 0;
    }
}
@media (max-width: 1200px){
    .ful-wd.container{
        width: 95% !important;
    }
}
@media (min-width: 768px) and (max-width: 1200px){
    .box-section {
        width: 49%;
        padding: 15px 10px;
        box-sizing: border-box;
        background: #fafafa;
        margin-right: 2%;
        margin-bottom: 2%;
    }
    .box-section:nth-child(2n) {
        margin-right: 0;
    }
}

@media (max-width: 1199px){
    #profilePortal .et_pb_column.prfile-edit {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 0;
    }
    #profilePortal .et_pb_column.prfile-edit > div{
        max-width: 300px;
        margin: auto;
    }
    .teacher-wrk-bk .edit_profile, .edit_profile {
        float: none !important;
        display: block;
        margin: 20px auto !important;
    }
    #profilePortal .et_pb_column.prfile-detls , 
    #profilePortal .et_pb_column.prfile-detls, .mid-box {
        width: calc(100% - 270px) !important;
        margin-right: 0 !important;
    }
}


@media (max-width: 980px){
    #profilePortal .et_pb_column.prfile-detls ,
    #profilePortal .et_pb_column.prfile-detls, .mid-box {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 30px;
    }
    #profilePortal .et_pb_column.prfile-detls, .mid-box {
        margin: 50px auto;
    }
    #profilePortal .et_pb_column.prfile-detls{
        margin: 20px auto;
    }
    #profilePortal .larning-matrials , .larning-matrials {
        width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0;
    }
    .et_pb_row , .container{
        max-width: 100% !important;
        width: 93% !important;
    }
    .page-template-user_public_profile_template #et-main-area >.container > div {
        float: none;
        margin: auto;
        margin-bottom: 40px;
    }
    .page-template-user_public_profile_template #et-main-area > .container > ul{
        padding-left: 0;
    }
    .avtar-img {
        width: 100%;
        float: none;
        margin-bottom: 30px;
    }
    .ixt-dtl-bx {
        margin-left: 0;
        text-align: left;
    }
    .page-template-user_public_profile_template #et-main-area > .container .user-teacher{
        display: block !important;
    }
    .page-template-user_public_profile_template #et-main-area >.container .user-teacher > .avtarr-img {
        width: 240px !important;
        height: 240px !important;
        order: 1;
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 30px;
    }
    .page-template-user_public_profile_template #et-main-area >.container .user-teacher > .avtarr-img,
    .page-template-user_public_profile_template #et-main-area >.container .user-teacher > .avtarr-img * {
        width: 240px !important;
        height: 240px !important;
        border-radius: 100% !important;
    }  
    .page-template-user_public_profile_template #et-main-area > .container .details-box {
        padding: 30px;
        order: 2;
        width: 100%;
    }
}
@media (max-width: 580px){
    .txt-dtls strong {
        width: 100%;
        display: block;
        float: none;
    }
    .txt-dtls span {
        display: block;
        margin-left: 0;
        margin-top: 10px;
    }
    .page-template-user_public_profile_template #et-main-area > .container > ul li b{
        width: 100%;
        margin: 0 0 10px;
        display: block;
    }
    .page-template-user_public_profile_template #et-main-area > .container > ul li span{
        display: block;
        margin: 0;
        padding-left: 0;
    }
    .page-template-user_public_profile_template #et-main-area >.container .user-teacher > .avtarr-img,
    .page-template-user_public_profile_template #et-main-area >.container .user-teacher > .avtarr-img * {
        width: 200px !important;
        height: 200px !important;
        border-radius: 100% !important;
    }
    .page-template-user_public_profile_template #et-main-area > .container .details-box {
        width: 100%;
    }
}
@media (max-width: 580px){
    .et_pb_section + .container {
        margin-top: 30px !important;
    }
    .page-template-user_public_profile_template #et-main-area > .container {
        padding: 30px 15px;
    }
    .page-template-user_public_profile_template #et-main-area > .container .user-teacher ul li b {
        margin-right: 0;
        width: 100%;
    }
    .page-template-user_public_profile_template #et-main-area > .container .user-teacher ul li span {
        display: block;
        margin-left: 0;
    }
    body h4.main-heading {
        font-size: 18px !important;
    }
    .page-template-user_public_profile_template #et-main-area > .container .details-box {
        padding: 30px 15px;
    }
    .page-template-user_public_profile_template #et-main-area > .container .user-teacher ul li,
    .abot-box{
        font-size: 12px;
    }
}
@media (max-width: 480px){
    .profileInfo {
        padding: 15px;
    }
    .teacher-dtl-box {
        padding: 10px;
    }
    .teacher-dtl-box .techr-dtl {
        padding-left: 0;
        font-size: 11px;
    }
    .teacher-dtl-box p b{
        float: none;
        display: block;
        width: 100%;
        margin-bottom: 5px;
    }
    .page-template-user_public_profile_template #et-main-area > .container > ul li{
        padding-left: 0;
    }
    .page-template-user_public_profile_template #et-main-area > .container > ul li b{
        position: static;
        margin-bottom: 8px;
        margin-right: 0;
        width: auto;
        display: block;
    }
    .page-template-user_public_profile_template #et-main-area > .container {
        padding: 30px 0;
    }
    .over-way h2{
        font-size: 30px;
    }
  
    #profilePortal .et_pb_column.prfile-detls, .mid-box{
        padding: 20px 15px;
    }
    #profilePortal .larning-matrials, .larning-matrials, .teacher-wrk-bk > div.larning-matrials {
        width: 100% !important;
        margin-right: auto !important;
        margin-left: auto;
        border-radius: 5px;
        float: none;
    }
    .box-section {
        padding: 20px;
    }
}