/*
	Theme Name: Master Study
	Theme URI: http://stylemixthemes.com/
	Author: StylemixThemes
	Author URI: http://stylemixthemes.com/
	Description: MasterStudy is the best WordPress theme for the Education & Learning Center - for educational organizations, who sell courses and organize classes locally. Using Masterstudy you can easily setup a WordPress site for your education company.
	Version: 1.5.5
	License: GNU General Public License v2 or later
	License URI: http://www.gnu.org/licenses/gpl-2.0.html
	Tags: classes, courses, education, education center, learning center, tutoring, teaching, study, studying, learning, lessons, instructor, teacher, mentor
	Text Domain: masterstudy
*/

/* UPD SEPT */
@media (max-width: 400px) {
	.course-title-holder {
		padding-right: 5px;		
	}
}

@media(max-width: 480px){
	.woocommerce-MyAccount-navigation ul {
		padding-left: 0;
	}
	.woocommerce-MyAccount-navigation ul li { 
		display: block; 
	}
}

@media (max-width: 767px) {
	.table-responsive>.table>tbody>tr>td, 
	.table-responsive>.table>tbody>tr>th, 
	.table-responsive>.table>tfoot>tr>td, 
	.table-responsive>.table>tfoot>tr>th, 
	.table-responsive>.table>thead>tr>td, 
	.table-responsive>.table>thead>tr>th {
		overflow: hidden;
		text-overflow: ellipsis;
	}
}

@media (max-width: 655px) {
	.course_table tr td.number.number-visible.title, .course_table tr td.title {
		padding-left: 20px;	
		display: block;
		width: 100%;
	}
	.course_table tr td.stm_badge {
		display: block;
		width: 100%;
		text-align: left;
	}
	.course_table tr td .meta {
		padding-left: 12px;
	}
	.course_table tr td.stm_badge .badge_unit {
		margin-left: 15px;
	}
	.woocommerce-message {
		padding-right: 26px;
	}
	.woocommerce-message .button {
		position: static;
		float: none;
		display: block;
	}
	.woocommerce-message .button:after {
		display: none;
	}
	.shop_table > tbody > tr td.actions {
		padding-left: 15px;
		padding-right: 15px;
	}
	.woocommerce .shop_table.cart .coupon .button {
		display: block;
		margin-top: 15px;
	}
	.woocommerce .shop_table.cart .coupon {
		float: none;
		margin-bottom: 30px;
	}
	.woocommerce .shop_table.cart .button.update-cart {
		float: none;
		margin-bottom: 15px;
	}
}

.tp-caption .icon_in_btn {
	text-align: center !important;
}



#multi-step-checkout .msc-descriptive-field {
	margin-bottom: 20px;
}

#multi-step-checkout .msc-descriptive-field .description {
	border: 1px solid #d3d3d3;
	border-bottom: none;
	background: #fafafa;
	padding: 15px;
}

#multi-step-checkout .msc-descriptive-field input {
	opacity: 0;
	position: absolute;
	z-index: -1;
	display: none;
}

#multi-step-checkout .btn {
	background: #ffd200;
	padding: 10px;
	font-family: 'Montserrat';
	text-transform: uppercase;
	color: #000;
}

#multi-step-checkout .btn.inverted,
#multi-step-checkout .msc-summary .msc-descriptive-field .btn
{
	background: #f0f0f0;
	border: 1px solid #d3d3d3;
	border-top: 1px solid transparent;
}

#multi-step-checkout .btn:hover,
#multi-step-checkout .msc-summary .msc-descriptive-field .btn:hover
{
	color: #000;
	border-color: #e5bd00;
	background: #ffd200;  
}

#multi-step-checkout .msc-descriptive-field p {
	margin: 0;
	padding: 0;
}

.fake-beauty-selector table tr td,
.fake-beauty-selector table * tr td
{
	margin: 0 !important; 
	padding: 0 !important;
}
.fake-beauty-selector input[type="radio"]
{
	opacity: 0;
	position: absolute;
	z-index: -1;
	display: none;
}

.fake-beauty-selector input[type="radio"] + label {
	background-size: 64px 64px;
	cursor:pointer;
	background-repeat: no-repeat;
	background-position: center 4px;
	border-left-color: transparent;
	padding: 80px 0 0 0;
	margin: 0 0 0 0;
	width: 100%;
	text-align: center;
	font-weight: 300;
	position: relative;
	border: 2px solid transparent;
	opacity: 0.5;
	color: #545454;
	font-family: 'Montserrat';
}

.fake-beauty-selector input[type="radio"]:checked + label 
{
	background-color: #fff;
	opacity: 1;
	border-color: #2f8f2f;
}
.fake-beauty-selector input[type="radio"]:checked + label::before {
	position: absolute;
	top: 0;
	right: 0;
	content: "\f00c";
	font-family: FontAwesome;
	color: #fff;
	width: 24px;
	text-align: center;
	font-size: 12px;
	line-height: 24px;
	height: 24px;
	background: #2f8f2f;
}

.fake-beauty-selector input[type="radio"] + label.internal_billing
{
	background-image: url('/wp-content/themes/masterstudy/assets/images/icons/large/user.png');
}

.fake-beauty-selector input[type="radio"] + label.external_billing
{
	background-image: url('/wp-content/themes/masterstudy/assets/images/icons/large/collaboration.png');
}
	
.fake-beauty-selector input[type="radio"] + label.local_pickup
{
	background-image: url('/wp-content/themes/masterstudy/assets/images/icons/large/delivery.png');
}

.fake-beauty-selector input[type="radio"] + label.flat_rate
{
	background-image: url('/wp-content/themes/masterstudy/assets/images/icons/large/truck.png');
}

.fake-beauty-selector input[type="radio"] + label.bacs
{
	background-image: url('/wp-content/themes/masterstudy/assets/images/icons/large/bank.png');
}

.fake-beauty-selector input[type="radio"] + label.cod
{
	background-image: url('/wp-content/themes/masterstudy/assets/images/icons/large/pay.png');
}

.fake-beauty-selector input[type="radio"] + label.paypal
{
	background-image: url('/wp-content/themes/masterstudy/assets/images/icons/large/paypal.png');
}

.fake-beauty-selector input[type="radio"] + label.stripe
{
	background-image: url('/wp-content/themes/masterstudy/assets/images/icons/large/credit-card.png');
}

.cart_totals.fake-beauty-selector  {
	height: 392px;
}

#add_payment_method .cart-collaterals .cart_totals table th, .woocommerce-cart .cart-collaterals .cart_totals table th, .woocommerce-checkout .cart-collaterals .cart_totals table th
{
  width: 50%;
}


.cart_totals, .cart_totals * { position: relative;} 

.woocommerce-cart-form.processing .cart_totals span.highlight,
.cart_totals.processing span.highlight { opacity: 0; }
.cart_totals span.highlight {  
  font-size: 64px;
  display: none;
  color: #17181a;
  transform: rotate(-12.5deg);
  top: 0px;
  right: -8px;
  z-index: 0;
  font-family: "Open Sans", sans-serif;
  position: absolute;
  opacity: 1;
  transition-duration: 0.3s;
  transition-property: opacity;
  -moz-transition-duration: 0.3s;
  -moz-transition-property: opacity;
  -o-transition-duration: 0.3s;
  -o-transition-property: opacity;
  -webkit-transition-duration:  0.3s;
  -webkit-transition-property: opacity;
}

#multi-step-checkout {
	background: #fafafa;
	height: 100%;
	
}

#multi-step-checkout .fake-beauty-selector input[type="radio"] + label {
	border: none;
	opacity: 1;
	cursor: default;
	background-color: #fafafa;
}

#multi-step-checkout .fake-beauty-selector input[type="radio"]:checked + label::before {
	content: '';
	background: none;
}

#multi-step-checkout .msc-progress {
	width: 100%;
	margin: 40px 0;
	text-align: center;
	position: relative;
}

#multi-step-checkout .msc-progress .msc-point {
	display: inline-block;
	text-align: center;
	width: 120px;
	position:relative;
	z-index: 3;
}

#multi-step-checkout .msc-progress .msc-line {
	position: absolute;
	text-align: center;
	z-index: 0;
	width: 120px;
	border-top: 1px dotted #dfdfdf;
	left: 60px;
	top:12px;
}

#multi-step-checkout .msc-progress .msc-point .msc-circle {
	display: inline-block;    
	width: 20px;
	height: 20px;
	position: relative;
	color: #fff;
	font-size: 12px;
	line-height: 20px;
	z-index: 1;
	font-family: "Montserrat";
	border-radius: 120px;
	margin: 0;
	padding: 0;
	background: #dfdfdf;
}

#multi-step-checkout .msc-progress .msc-point p.msc-label {
	margin: 0 0 0 0;
	font-size: 12px;
	font-family: "Montserrat";
	text-transform: uppercase;
	font-weight: 100;
	padding: 0;
	color: #dfdfdf;
}

#multi-step-checkout .msc-progress .msc-point.active-123 p.msc-label,
#multi-step-checkout .msc-progress .msc-point.active-13 p.msc-label {
	color: #000 ;
	font-weight: 500;  
}

#multi-step-checkout .msc-progress .msc-point.active-123 .msc-circle,
#multi-step-checkout .msc-progress .msc-point.active-13 .msc-circle {
	background: #ffd200 ;
	color: #000;
}
#multi-step-checkout .msc-progress .msc-point.active-123 .msc-line {
	border-color: #ffd200;
} 

#multi-step-checkout .msc-section {
	background: #fff;
	border: 1px solid #f5f5f5;
	box-shadow: 0px 0px 10px #eaeaea;
	padding: 20px;
	margin-bottom: 40px;
}

#multi-step-checkout .msc-section h2, 
#multi-step-checkout .msc-section h3, 
#multi-step-checkout .msc-section h4,
#multi-step-checkout .msc-section h5,
#multi-step-checkout .msc-section h6 {
	font-weight: 500;
}

#multi-step-checkout .msc-only-logo {
	text-align: center;
	margin-bottom: 20px;
}

#multi-step-checkout .msc-only-logo img {
	max-width: 160px;
	height: auto;
}

#multi-step-checkout form .msc-field {
	margin-bottom: 10px;
}

#multi-step-checkout .woocommerce .cart_totals {
	background: #fafafa;
	border: 1px solid #d3d3d3;
}

.margin-0px {
	margin: 0px !important;
}

.margin-top-0px {
	margin-top: 0px !important;
}


.margin-bottom-0px {
	margin-bottom: 0px !important;
}

#multi-step-checkout form .msc-field label {
	font-weight: 500;
	color: #333;
	margin-bottom: 5px;
	width: 100%;
}
#multi-step-checkout form .msc-field select,
#multi-step-checkout form .msc-field input {
	width: 100%;
	padding-left: 10px;
	padding-right: 10px;
	transition-duration: 0.2s;
	-moz-transition-duration: 0.2s;
	-webkit-transition-duration: 0.2s;
	-o-transition-duration: 0.2s;
	transition-property: border, box-shadow;
	-moz-transition-property: border, box-shadow;
	-webkit-transition-property: border, box-shadow;
	-o-transition-property: border, box-shadow;
	border: 1px solid #d3d3d3;
	background: #fff;
}

#multi-step-checkout form .msc-field select
{
	padding: 6px 8px !important;
}

#multi-step-checkout form .msc-field input[type="checkbox"] {
	width: auto;
}

#multi-step-checkout form .msc-field input.readonly{
	/*border: none;*/
	background: #f0f0f0;
	cursor: no-drop;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;   
}

#multi-step-checkout form .cart_totals {
	padding-top: 0;
	padding-bottom: 0;
	margin-bottom: 20px;
	background: none; border: none;
}

#multi-step-checkout form .cart_totals .button.sign-up 
{
	position: relative; z-index: 1;
	background: #f5f5f5;
	font-size: 12px;
	line-height: normal;
	padding-top: 10px;
	font-weight: 300;
	padding-bottom: 10px;
	color: #333;
border: 1px solid #d3d3d3;
	border-color: #dfdfdf;
}

#multi-step-checkout form .msc-separator {
	border-top: 1px solid #000;
	margin-bottom: 10px;
}

#multi-step-checkout form .msc-field select.on-focus,
#multi-step-checkout form .msc-field input.on-focus 
{
	box-shadow: 0 0 5px #ffd200 !important;
	border-color: #ffd200 !important;
}

#multi-step-checkout form .msc-field
{
	position: relative;
}

#multi-step-checkout form .msc-field p.error-message {
	position: absolute;
	bottom: -9px;
	right: 24px;
	margin: 0;
	padding: 0;
	background: #e40918;
	font-size: 11px;
	line-height: normal;
	color: #fff;
	font-weight: 300;
	padding: 2px 4px;
	display: none;
	z-index: 3;
}

#multi-step-checkout form .msc-field.readonly p.error-message
{
	background: #ffd200;
	color: #000;
}

#multi-step-checkout form .msc-field.on-error  p.error-message {
	display: block;
}

#multi-step-checkout form .msc-field.on-error .selectize-input,
#multi-step-checkout form .msc-field.on-error select,
#multi-step-checkout form .msc-field.on-error input {
	border-color: #e40918;
	color: #e40918;
}

#multi-step-checkout form .msc-field.on-error .selectize-input.focus,
#multi-step-checkout form .msc-field.on-error select.on-focus,
#multi-step-checkout form .msc-field.on-error input.on-focus 
{
	box-shadow: 0 0 5px #e40918 !important;
	border-color: #e40918 !important;
}


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


.swal2-modal .swal2-image {
	margin: 0 auto !important;
}

.clear-both {
	clear: both;
}

.woocommerce-price-suffix {
	color: #888;
	clear: both;
	display: block;
}

#multi-step-checkout .msc-sign-in a.recovery {
	font-size: 14px;
	color: #cf0000;
	text-align: right;
	font-weight: 600;
}

#multi-step-checkout .msc-sign-in a.recovery:hover {
	color: #ff0000;
}








.shop_table.cart {
    border: 1px solid #e5e5e5;
    overflow: hidden
}

@media(max-width:480px) {
    .shop_table.cart .cart-bottom>* {
        width: auto;
        padding: 0 10px;
        font-size: 13px;
        text-transform: capitalize
    }
    .shop_table.cart .cart-bottom>*.continue-to-shop {
        padding: 0
    }
    .shop_table.cart .cart-bottom>*.update {
        width: auto;
        border: 0
    }
    .shop_table.cart .cart-bottom>*.update:hover {
        background: #ca0815;
        color: #fff
    }
    .shop_table.cart .cart-bottom>* a {
        padding: 0 10px;
        font-size: 13px;
        background: #f4f9fc;
        font-weight: 600;
        border: 0
    }
    .shop_table.cart .cart-bottom>* a:hover {
        background: #ca0815;
        color: #fff
    }
    .shop_table.cart .cart-bottom>* input[type="submit"] {
        font-size: 13px
    }
}

.shop_table.cart .cart_item {
    border-top: 1px solid #e5e5e5;
    padding: 10px 15px
}

.shop_table.cart .cart_item.head {
    border: 0;
    background: #f9f9f9
}

.shop_table.cart .cart_item.head span {
    line-height: 23px;
    color: #555
}

.shop_table.cart .product-name img {
    max-width: 60px
}

.shop_table.cart .product-name .name {
    margin: 0 15px;
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1
}

.shop_table.cart .product-price .woocs_special_price_code {
    color: #000
}

.shop_table.cart a.remove {
    display: inline-block;
    font-size: 17px
}

.shop_table.cart a.remove i {
    color: #bbb;
    vertical-align: middle;
    -webkit-transition: .4s;
    -o-transition: .4s;
    transition: .4s
}

.shop_table.cart a.remove:hover {
    background: transparent
}

.shop_table.cart a.remove:hover i {
    color: #ca0815
}

.shop_table.cart .quantity button, .shop_table.cart .quantity input.qty {
    line-height: 32px !important
}

.shop_table.cart .quantity button {
    font-size: 11px
}


@media(min-width:768px) {
    
    .shop_table.cart .cart_item {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap
    }
    .shop_table.cart .cart_item>span {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        align-items: center;
        -webkit-box-flex: 1;
        -moz-box-flex: 1;
        -webkit-flex: 1;
        -ms-flex: 1;
        flex: 1;
        justify-content: center
    }
    .shop_table.cart .cart_item>span.product-name {
        -webkit-box-flex: 3;
        -moz-box-flex: 3;
        -webkit-flex: 3;
        -ms-flex: 3;
        flex: 3
    }
    .shop_table.cart .cart_item>span.product-remove {
        -webkit-box-flex: .5;
        -moz-box-flex: .5;
        -webkit-flex: .5;
        -ms-flex: .5;
        flex: .5
    }
    .shop_table.cart .cart_item:not(.head)>span.product-name {
        justify-content: unset
    }
}


@media(max-width:767px) {

    .shop_table.cart .cart_item {
        display: block;
        border: 0;
        border-bottom: 1px solid #e5e5e5;
        padding: 14px 0 11px;
        padding-left: 90px;
        position: relative;
        min-height: 60px;
        float: left;
        width: 100%
    }
    .shop_table.cart .cart_item:last-child {
        border: 0
    }
    .shop_table.cart .cart_item.head {
        display: none
    }
    .shop_table.cart .cart_item>span {
        display: block;
        line-height: normal
    }
    .shop_table.cart .cart_item>span img {
        position: absolute;
        left: 15px;
        top: 20px;
        right: auto
    }
    .shop_table.cart .cart_item>span.product-name {
        width: 100%;
        padding: 0 40px 3px 0;
        line-height: 25px
    }
    .shop_table.cart .cart_item>span.product-name .name {
        margin: 0;
        line-height: 23px;
        display: block
    }
    .shop_table.cart .cart_item>span.product-subtotal b {
        font-weight: 500
    }
    .shop_table.cart .cart_item>span.product-remove {
        position: absolute;
        right: 14px;
        left: auto;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        transform: translateY(-50%);
        line-height: 20px
    }
    .shop_table.cart .cart_item .product-quantity {
        margin: 10px 0 4px
    }
    .shop_table.cart .cart_item .quantity .box {
        display: inline-block
    }
    .shop_table.cart .cart_item .quantity .box button, .shop_table.cart .cart_item .quantity .box input.qty {
        line-height: 28px !important
    }
}

@media(max-width:479px) {
	.shop_table.cart .cart_item .quantity .box input.qty {
		min-width: 120px
	}
}


@media(max-width:320px) {
    .shop_table.cart .cart_item .quantity .box input.qty {
        max-width: 70px
    }
}




.cart_totals table:focus, .cart_totals table *:focus {
    outline: 0
}

.cart_totals table tr th, .cart_totals table * tr th {
    font-weight: normal !important;
    padding-left: 25px !important;
    border-bottom: 1px solid #ddd !important
}

@media(min-width:992px) {
    .cart_totals table tr th, .cart_totals table * tr th {
        max-width: 100px
    }
}

.cart_totals table tr td, .cart_totals table * tr td {
    text-align: right;
    padding-right: 25px !important;
    border-bottom: 1px solid #ddd !important
}

.cart_totals table tr.shipping .button, .cart_totals table * tr.shipping .button {
    background: transparent;
    padding: 0;
    border: 0;
    color: #ca0815;
    line-height: 40px
}

.cart_totals table tr.shipping .button:before, .cart_totals table * tr.shipping .button:before {
    display: none
}

.cart_totals table tr.shipping .button:hover, .cart_totals table * tr.shipping .button:hover {
    color: #ca0815
}

.cart_totals table tr.order-total th, .cart_totals table tr.order-total td, .cart_totals table * tr.order-total th, .cart_totals table * tr.order-total td {
    border: 0 !important
}

.cart_totals table b, .cart_totals table strong, .cart_totals table label, .cart_totals table * b, .cart_totals table * strong, .cart_totals table * label {
    font-weight: 500;
    color: #000
}

.cart_totals table {
    border: 0 !important;
    margin: 0 !important
}

.cart_totals table th, .cart_totals table td {
    border: 0 !important;
    padding: 0 !important
}



.woocommerce table.shop_table>thead>tr>th, .woocommerce table.shop_table>thead>tr>td, .woocommerce table.shop_table>tbody>tr>td, .woocommerce table.shop_table>tbody>tr>th, .woocommerce table.shop_table>tfoot>tr>td, .woocommerce table.shop_table>tfoot>tr>th {
    line-height: 34px !important;
    width: auto;
    color: #888;
    font-weight: normal
}

.woocommerce table.shop_table>tbody>tr.order-total>th, .woocommerce table.shop_table>tbody>tr.order-total>td {
    line-height: 40px !important
}

.woocommerce table.shop_table.account-orders-table, .woocommerce table.shop_table.order_details {
    margin: 0;
    border-color: #e5e5e5;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0
}

.woocommerce table.shop_table.account-orders-table>thead>tr>th, .woocommerce table.shop_table.account-orders-table>thead>tr>td, .woocommerce table.shop_table.account-orders-table>tbody>tr>td, .woocommerce table.shop_table.account-orders-table>tbody>tr>th, .woocommerce table.shop_table.order_details>thead>tr>th, .woocommerce table.shop_table.order_details>thead>tr>td, .woocommerce table.shop_table.order_details>tbody>tr>td, .woocommerce table.shop_table.order_details>tbody>tr>th {
    display: table-cell;
    padding: 10px;
    border: 0;
    text-align: center;
    border-bottom: 1px solid #e5e5e5
}


@media(max-width:768px) {
    .woocommerce table.shop_table_responsive tr, .woocommerce-page table.shop_table_responsive tr {
        display: table-row
    }
    .woocommerce table.shop_table_responsive tr td, .woocommerce-page table.shop_table_responsive tr td {
        display: table-cell;
        border: 0 !important
    }
    .woocommerce table.shop_table_responsive tr td:before, .woocommerce-page table.shop_table_responsive tr td:before {
        display: none
    }
    .woocommerce table.shop_table_responsive tr:nth-child(2n) td, .woocommerce-page table.shop_table_responsive tr:nth-child(2n) td {
        background: transparent
    }
    .woocommerce table.shop_table_responsive tbody th, .woocommerce-page table.shop_table_responsive tbody th {
        display: block;
        border: 0 !important
    }
}

@media(max-width:767px) {
	
    .woocommerce table.shop_table_responsive tr td, .woocommerce-page table.shop_table_responsive tr td {
        background: transparent !important
    }
    .woocommerce table.shop_table_responsive tr td:before, .woocommerce-page table.shop_table_responsive tr td:before {
        font-weight: normal
    }
}

.woocommerce table.shop_table > tbody > tr > td {
	width: 50%;
}