/*
Theme Name: Lernado Child Theme
Description: lernadotheme
Version: 9999
Template: enfold
Author: Lernado
*/
/* Child Styles */
.main_color a, .main_color h1 a, .main_color h2 a, .main_color h3 a, .main_color h4 a, .main_color h5 a, .main_color h6 a, .main_color .template-search a.news-content, .main_color .wp-playlist-item .wp-playlist-caption {
    color: #002b62;
}
.main_color a:hover, .main_color h1 a:hover, .main_color h2 a:hover, .main_color h3 a:hover, .main_color h4 a:hover, .main_color h5 a:hover, .main_color h6 a:hover, .main_color .template-search a.news-content:hover, .main_color .wp-playlist-item .wp-playlist-caption:hover {
    color: #88bbc8;
}
#top #wrap_all ins:before {
 content:none;
}
/* header select language */
#top select#gtranslate_selector {
 margin-top: -10px;
 margin-bottom: 0;
 padding: 0 6px;
 height: 30px;
}
/* cart button */
.html_visible_cart .cart_dropdown {
 right: 10px;
}
@media only screen and (max-width:767px){
 .responsive #top #main {
 padding-top: 90px !important;
}
 .responsive #top #wrap_all #header {
  position: fixed;
  margin: auto; 
 }
 .responsive #top #header_main > .container .main_menu .av-main-nav > li > a, .responsive #top #wrap_all .av-logo-container {
  height: 60px;
  line-height: 60px;
 }
 .responsive #top #wrap_all .av-logo-container {
   width: auto;
   max-width: 100%;
   margin-left:8%;
   margin-right:55px;
 }
 .responsive #top .logo {
  height: 60px !important;
 }
 .responsive .logo img {
  max-height: 60px;
 }
 .responsive #top #wrap_all .main_menu {
  height: 60px;
 }
 .html_visible_cart .av-burger-menu-main {
   padding-right: 15px;
 }
}
@media only screen and (max-width: 989px) and (min-width: 768px) {
 .responsive.html_mobile_menu_tablet.html_header_top.html_header_sticky #top #wrap_all #main {
    padding-top: 88px !important;
 }
 .responsive.html_mobile_menu_tablet #top #wrap_all #header {
  position: fixed;
  margin: auto; 
 }
 .responsive.html_mobile_menu_tablet #top #header_main > .container .main_menu .av-main-nav > li > a, .responsive.html_mobile_menu_tablet #top #wrap_all .av-logo-container {
  height: 60px;
  line-height: 60px; 
 }
}

#top .price, #top .price span, #top del, #top ins {
 font-size: 25px;
 line-height: 1.5;
}
#top form {
 margin-top: 10px;
 margin-bottom: 20px;
}
#top form.login, #top form.register {
 overflow: hidden;
 min-height:300px;
}

/* ----- WooCommerce Product Sorting ----- */
div .product-sorting {
 display:none;
}
/* ----- WooCommerce Checkout ----- */
.checkout-payment-notes {
 font-size: 0.92em;
 border:1px solid #009cde !important;
 padding:15px 20px;
 margin-left:0;
 margin-right: 0;
}
#lernadopayment.paypal-hide #woo_pp_ec_button_checkout {
 display:none;
}

/* ----- Item List ----- */
.custom-item-list {
 clear:both;
 display:-webkit-box;
 display:-ms-flexbox;
 display:flex;
 -ms-flex-wrap: wrap;
  	flex-wrap: wrap;
}
.custom-item-list > .item {
 margin: 0 1% 1% 0;
 width: 32.6%;
 border:1px solid #e1e1e1;
 background-color:#fff;
}
.custom-item-list > .item:nth-child(3n){
 margin-right: 0;
}
.top-course .custom-item-list > .item {
 width: 24.25%;
}
.top-course .custom-item-list > .item:nth-child(3n){
 margin-right: 1%;
}
.top-course .custom-item-list > .item:nth-child(4n){
 margin-right: 0;
}
.custom-item-list > .item > a {
 display:block;
 width:100%;
 height: 100%;
 text-decoration: none;
 position: relative;
 padding-bottom: 36px;
}
.custom-item-list .item-ph {
 position:relative;
 overflow: hidden;
}
.custom-item-list .item-ph::before {
 content:'';
 display:block;
 padding-top:100%;
 width:100%;
}
.custom-item-list .item-ph > img {
 position: absolute;
 height: 100%;
 max-width: initial;
 top: 50%;
 left: 50%;
 -webkit-transform: translate(-50%, -50%); /* Safari用 */
 transform: translate(-50%, -50%);
}
.custom-item-list .item-ph .image-overlay {
 position: absolute;
 top:0;
 bottom:-2px;
 left:0;
 right:0;
 -webkit-transition: opacity 0.4s ease-in-out;
 -moz-transition: opacity 0.4s ease-in-out;
 transition: opacity 0.4s ease-in-out;
}
.custom-item-list a:hover .image-overlay {
 opacity: 0.7 !important;
}
.custom-item-list .image-overlay .image-overlay-inside:before {
 content: '\E832';
}
.custom-item-list .item-content {
 padding: 15px;
 position: relative;
}
.custom-item-list .item-content .avia-arrow {
 border-bottom: none;
 border-right: none;
 z-index: 1000;
 top: -5px;
 margin-left: -6px;
}
.custom-item-list .item-ttl {
 font-weight: lighter;
 letter-spacing: 1px;
 font-size: 1em;
 line-height: 1.3em;
 padding-right: 48px;
}
.custom-item-list .onsale {
 position: absolute;
 background: #02a2d8;
 z-index: 10;
 color: #FFF;
 top: 10px;
 right: 8px;
 left: auto;
 margin: 0;
 min-width: 40px;
}
.custom-item-list .item-price {
 display:block;
 color: #02a2d8;
 font-size: 25px;
 line-height: 1.5;
 font-weight: 600;
}
.custom-item-list .item-price del {
 color: #999;
}
.custom-item-list .item-link-btn {
 position: absolute;
 bottom:0;
 left:0;
 width: 100%;
 background-color: #f8f8f8;
 border-top:1px solid #e1e1e1;
 opacity: 0.2;
 color:#666;
 font-size: 11px;
 font-weight: 600;
 line-height: 15px;
 padding: 10px;
 overflow: hidden;
 -webkit-transition: all 0.3s ease;
 -moz-transition: all 0.3s ease-in-out;
 transition: all 0.3s ease-in-out;
 text-align: center;
}
.custom-item-list a:hover .item-link-btn {
 opacity: 1;
}
.custom-item-list .item-link-btn span {
 font-size: 14px;
 position: relative;
 top: 1px;
 font-weight: normal;
 margin-right: 5px;
}
@media only screen and (max-width: 767px){
 .custom-item-list > .item,
 .top-course .custom-item-list > .item{
  margin: 0 1% 1% 0;
  width: 49%;
 }
 .custom-item-list > .item:nth-child(3n){
  margin-right: 1%;
 }
 .top-course .custom-item-list > .item:nth-child(4n){
  margin-right: 1%;
 }
 .custom-item-list > .item:nth-child(2n){
  margin-right: 0;
 }
 
}
@media only screen and (max-width: 479px){
 .custom-item-list > .item,
 .top-course .custom-item-list > .item{
  margin: 0 0 20px 0;
  width: 100%;
 }
}

/* ----- PMS Register ----- */
#top #wrap_all .all_colors .pms-form-fields-wrapper h3 {
 margin-bottom:20px;
}
#top .pms-form-fields-wrapper input[type="text"],
#top .pms-form-fields-wrapper input[type="password"]{
 margin-bottom: 0;
}
.pms-form-fields-wrapper .pms-field-subscriptions {
 margin-top:30px;
}
.pms-form-fields-wrapper .pms-field-subscriptions h3 + .select-plan-note {
 margin-top:-5px;
 font-size: 13px;
}
.pms-form-fields-wrapper .pms-field-subscriptions .pms-tax-notice {
 display:none;
}
.pms-form-fields-wrapper #pms-paygates-wrapper {
 margin-top:50px;
}
.pms_field-errors-wrapper p {
 margin-bottom: 0;
}
.chosen-container-single .chosen-search input[type="text"] {
 background-image:none !important;
}
.pms-account-subscription-details-table + h3 {
 display:none;
}
.pms-field-input-container input[type="text"] {
 margin-bottom: 0 !important;
}

.privacy-confirm {
 font-size:14px;
 margin-bottom:20px;
 border-bottom: 1px solid #e1e1e1;
}

/* ----- Skype Teacher ----- */
#skypeteacherlist .flex_column {
 position: relative;
 padding-bottom: 60px;
}
#skypeteacherlist .flex_column .skypeteacher-link {
 position:absolute;
 bottom:0;
 left:0;
 right:0;
 margin:auto;
}
.togglecontainer .single_toggle:first-child .toggler, .togglecontainer .taglist + .single_toggle .toggler {
 outline:none;
}

/* ----- account ----- */
.pms-account-subscription-details-table .pms-account-subscription-details-table__actions {
 display:none;
}