/*
Theme Name: Language School Child
Theme URI: http://cmsmasters.net/language-school-child/
Author: cmsmasters
Author URI: http://cmsmasters.net/
Description: Language School Child Theme
Template: language-school
Version: 1.0.0
License:
License URI:
Text Domain: language-school-child
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
*/

/* >> THEME */

/* Reset Table Styles */
.entry.content table td {
	border-bottom: 1px solid #e0e0e0 !important;
}

/* Header */
.header_top_left .wpml-ls,
.header_top_left .wpml-ls ul,
.header_top_left .wpml-ls ul li,
.header_top_left .wpml-ls ul li a {
	display: inline;
	padding: 0;
	border: none;
}
.header_top_left .wpml-ls li:before {
	display: none;
}
.header_mid {
	min-height: 80px !important;
}
@media only screen and (max-width: 1024px) {
	.header_mid_inner {
		text-align: center;
	}
	.header_mid .logo_wrap {
		float: none;
		display: inline-block;
	}
	.header_top_right .top-nav-preffix {
		display: inline-block;
		vertical-align: middle;
		padding-left: 5px;
	}
}
@media only screen and (min-width: 1025px) {
	.header_top_right .top_nav_wrap {
		display: flex;
		align-items: center;
	}
	.header_top_right .top-nav-preffix {
		padding-right: 10px;
	}
}

/* Headline */
.headline_outer {
	background-position: center;
}
.headline_outer .headline_inner .headline_text {
	max-width: 100%;
}

/* SECTION: Color Scheme 3 - add border */
.cmsmasters_row.cmsmasters_color_scheme_third {
	border: solid #e8e8e8;
	border-width: 1px 0;
}

/* SECTION: Color Scheme Bottom */
html .cmsmasters_color_scheme_bottom .widget_nav_menu li > a {
	padding: 7px 0;
	color: rgba(255,255,255,0.3);
}
html .cmsmasters_color_scheme_bottom .widget_nav_menu li.current_page_item > a,
html .cmsmasters_color_scheme_bottom .widget_nav_menu li a:hover {
	color: #fff;
}

/* COUNTERS */
.cmsmasters_counters .cmsmasters_counter_wrap {
	padding: 2px;
}
.cmsmasters_counters .cmsmasters_counter_wrap .cmsmasters_counter {
	margin: 0;
}
.cmsmasters_counters.no-border .cmsmasters_counter {
	border: none;
}

/* BLOG */
.blog .cmsmasters_wrap_pagination {
	margin: 0;
}
.cmsmasters_post_date .cmsmasters_mon {
	padding-bottom: 1px !important;
	font-size: 11px !important;
}

/* POSTS GRID MASONRY */
.post.cmsmasters_masonry_type .cmsmasters_post_read_more {
	float: none;
}

/* POSTS GRID PUZZLE */
.puzzle_post_content_wrapper {
	background: #fff;
}

/* SINGLE POST */
.cmsmasters_post_content .wp-post-image {
	margin-bottom: 30px;
}

/* TRIBE EVENTS */
/* Fix Navigation Arrows */
.tribe-events-sub-nav li.tribe-events-nav-left a:before, .tribe-events-sub-nav li.tribe-events-nav-left.tribe-events-nav-previous a:before, .tribe-events-sub-nav li.nav-previous a:before, .tribe-events-sub-nav li.tribe-events-nav-previous a:before {
    content: '\eb1d';
}
.tribe-events-sub-nav li.tribe-events-nav-right a:before, .tribe-events-sub-nav li.tribe-events-nav-right.tribe-events-nav-next a:before, .tribe-events-sub-nav li.nav-next a:before, .tribe-events-sub-nav li.tribe-events-nav-next a:before {
    content: '\eb1e';
}

/* SINGLE POST: Hide date in certain post categories and types */
article.category-cas-archive .cmsmasters_post_date,
article.programme .cmsmasters_post_date,
article.cas_project .cmsmasters_post_date,
article.publication .cmsmasters_post_date {
	display: none;
}

/* LIST */
.cmsmasters_archive_list {
	padding-bottom: 20px;
}
.cmsmasters_archive_type {
	padding: 15px 0;
}
.cmsmasters_archive_type .cmsmasters_archive_item_header,
.cmsmasters_archive_type .cmsmasters_archive_item_content {
	padding-bottom: 0;
}

/* PROGRAMMES LIST */
.programme .cmsmasters_archive_item_img_wrap {
	float: left;
	width: 44px;
	margin: 6px 20px 10px 0;
}
.programme .cmsmasters_archive_item_cont_wrap {
	clear: both;
	padding-top: 15px;
}
.cmsmasters_archive_type.programme .cmsmasters_archive_item_info {
	margin-top: 5px;
	padding-top: 5px;
}
.cmsmasters_archive_type.programme .cmsmasters_archive_item_info * {
	padding-right: 5px;
}
.cmsmasters_archive_type.programme .cmsmasters_archive_item_info [class^="cmsmasters-icon-"]::before {
	margin-right: 5px;
}

/* PROGRAMME */
.programme .acf-meta {
	display: inline-block;
	position: relative;
	z-index: 1;
	margin-bottom: 20px;
}
.cmsmasters_tabs.programme_tabs {
	margin-top: -40px;
}
@media only screen and (max-width: 768px) {
	.cmsmasters_tabs.programme_tabs {
		margin-top: 40px;
	}
}
.cmsmasters_tabs.tabs_mode_tab.tabs_left .cmsmasters_tabs_list {
	text-align: right;
}

/* PROJECTS LIST */
.cmsmasters_toggles.cas_projects .cmsmasters_toggle_wrap .cmsmasters_toggle_title > a {
	padding-bottom: 0;
}
.cmsmasters_toggles.cas_projects .cmsmasters_toggle_title .entry-meta {
	padding: 3px 55px 10px 25px;
	font-size: 12px;
	line-height: 22px;
}
.cmsmasters_toggles.cas_projects .cmsmasters_toggle_title .entry-meta * {
	font-size: 12px;
}
.cmsmasters_toggles.cas_projects .cmsmasters_toggle_title .entry-meta > * {
	padding-right: 5px;
}
.cmsmasters_toggles.cas_projects .cmsmasters_toggle_title .entry-meta [class^="cmsmasters-icon-"]::before {
	margin-right: 5px;
}

/* PROJECT */
.cas_project .acf-meta {
	margin-bottom: 20px;
}

/* PUBLICATIONS LIST */
.single .publication:after {
	display: block;
	content: "";
	clear: both;
}
.cmsmasters_archive_type.publication.no-excerpt {
	padding: 5px 0;
}
.publication .cmsmasters_archive_item_img_wrap {
	float: left;
	width: 88px;
	margin-right: 20px;
}
.single .publication .cmsmasters_archive_item_img_wrap {
	width: 44px;
}
@media only screen and (max-width: 540px) {
	.publication .cmsmasters_archive_item_img_wrap {
		margin: 0 auto 10px !important;
	}
}
.publication .preloader .full-width {
	margin: 0;
}
.cmsmasters_archive_type.publication .cmsmasters_archive_item_header {
	padding-bottom: 5px;
}
.cmsmasters_archive_type.publication .cmsmasters_archive_item_content {
	padding-bottom: 0;
}
.cmsmasters_archive_type.publication .cmsmasters_archive_item_info {
	margin: 10px 0;
	padding-top: 5px;
}
.cmsmasters_archive_type.publication .cmsmasters_archive_item_info * {
	padding-right: 5px;
}
.cmsmasters_archive_type.publication .cmsmasters_archive_item_info [class^="cmsmasters-icon-"]::before {
	margin-right: 5px;
}

/* PUBLICATION */
.publication .acf-meta {
	margin-bottom: 30px;
}

/* PROFILES LIST */
.cmsmasters_profile.horizontal {
	padding-bottom: 20px;
}
.cmsmasters_profile.horizontal.masonry {
	column-gap: 30px;
	padding: 20px;
}
.cmsmasters_profile.horizontal.masonry-2 {
	column-count: 2;
}
.cmsmasters_profile.horizontal.masonry-3 {
	column-count: 3;
}
.cmsmasters_profile.horizontal.masonry-4 {
	column-count: 4;
}
.cmsmasters_profile.horizontal.masonry > * {
	float: none;
	display: inline-block;
	margin: 0 0 30px;
	width: 100%;
}
.cmsmasters_profile.horizontal.fellows .profile .pl_meta {
	padding-top: 5px;
}
.cmsmasters_profile.horizontal.fellows .profile .pl_meta > * {
	display: block;
	padding-top: 5px;
	text-align: center;
}
.cmsmasters_profile.horizontal.fellows .profile .pl_meta [class^="cmsmasters-icon-"]::before {
	margin-right: 5px;
}


/* PROFILE */
html.csstransitions .cmsmasters_profile .profile img,
.profiles.opened-article .profile_sidebar .profile-image {
	background-position: center top;
	background-size: cover;
}

.profiles.opened-article .profile .profile_sidebar {
	float: left;
}
.profiles.opened-article .profile .with_sidebar {
	float: right;
	padding-left: 40px;
	padding-right: 0;
}
.profiles.opened-article .profile_sidebar {
	margin-bottom: 50px;
}
.profiles.opened-article .profile_sidebar .profile-image {
	margin: 0 auto;
}
.profiles.opened-article .profile_sidebar .profile_details_title {
	margin-bottom: 10px;
}
.profiles.opened-article .profile_sidebar .profile_details:not(:first-child) {
	margin-top: 20px;
}
.profiles.opened-article .profile_sidebar .profile-image img {
	display: block;
	width: 100%;
}
.profiles.opened-article .profile .profile_features, .profiles.opened-article .profile .profile_details {
	margin-bottom: 0;
}
@media only screen and (max-width: 1024px) {
	.profiles.opened-article .profile_sidebar .profile-image {
		width: 250px;
		height: 250px;
		overflow: hidden;
		border-radius: 50%;
	}
	.profiles.opened-article .profile_sidebar .profile-image img {
		display: none;
	}
	.profiles.opened-article .profile_sidebar .profile_details_title {
		text-align: center;
	}
}
@media only screen and (max-width: 768px) {
	.cmsmasters_profile_header {
		text-align: center;
	}
}

/* EVENT */
#tribe-events-content.tribe-events-single .cmsmasters_single_event_header .cmsmasters_single_event_header_left,
#tribe-events-content.tribe-events-single .cmsmasters_single_event_header .cmsmasters_single_event_header_left .cmsmasters_event_date,
#tribe-events-content.tribe-events-single .cmsmasters_single_event_header .cmsmasters_single_event_header_left .cmsmasters_single_event_header_left_inner,
#tribe-events-content.tribe-events-single .cmsmasters_single_event_header .cmsmasters_single_event_header_right {
	float: none;
}
#tribe-events-content.tribe-events-single .cmsmasters_single_event_meta .cmsmasters_event_meta_info_item {
	display: flex;
}
@media only screen and (min-width: 769px) {
	.cmsmasters_single_event_header_left {
		display: flex;
		align-items: start;
	}
	.cmsmasters_single_event_header_right {
		float: left !important;
		margin-left: 114px;
	}
	.cmsmasters_single_event_header_right * {
		display: inline !important;
	}
	.cmsmasters_single_event_header_right a {
		padding-right: 1rem;
	}
}

/* Calendar */
#wp-calendar,
#wp-calendar thead th {
	background: none !important;
}
#wp-calendar tbody a {
	font-weight: 600;
}

/* SHORTCODES */
.cmsmasters_heading_wrap .cmsmasters_heading_divider {
	color: #e0e0e0;
}

/* POSTS SLIDER */
.cmsmasters_posts_slider {
	padding-bottom: 7px;
}
.cmsmasters_posts_slider .owl-buttons {
	top: -60px;
}
.cmsmasters_posts_slider .programme {
	padding: 0 20px 40px;
	min-width: 280px;
}
.cmsmasters_posts_slider .programme .preloader {
	padding-bottom: 60.34%;
}
.cmsmasters_posts_slider .programme .cmsmasters_slider_post_cont .cmsmasters_slider_post_cont_wrap {
	padding: 17px 20px 15px;
	border-width: 1px;
	border-style: solid;
	border-top-width: 0;
	border-top-style: solid;
}
.cmsmasters_posts_slider .programme .cmsmasters_slider_post_footer {
	display: flex;
	justify-content: space-between;
}

/* >> CUSTOM CLASSES */
.d-none {
	display: none !important;
}
.m-0 {
	margin: 0 !important;
}

.acf-meta > div > span {
	font-weight: 600;
	color: #3d3d47;
}

