/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.0
*/






/*** Responsive ***/
@media screen and (min-width: 1920px){
	body.home div.mcb-column-inner-z7ajbjx3e p{
		font-size:80px !important;
	}
	body.home div.mcb-column-inner-z7ajbjx3e p sup{
		font-size:38px !important;
	}
	body.home div.mcb-column-inner-z7ajbjx3e p span{
		font-size:70px !important;
	}
}
/*** End of Responsive ***/

/*** Speakers ***/
#speakers {
	z-index: 5;
}

.speakers-title, .speakers-break, .speakers-qa, .speakers-session {
	width: 100%;
	display: flex;
	flex-flow: column;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: center;
	padding-left: 20px;
	padding-right: 20px;
}

.speakers-title {
	justify-content: center;
	background-color: #4e627c;
	color: #ffffff;
}

.speakers-title .speaker-title {
	text-align: center;
	line-height:1.2;
}

.speakers-break {
	justify-content: center;
	background-color: #dddddd;
}

.speakers-qa {
	justify-content: center;
	background-color: #f4f4f4;
}

.speakers-session {
	justify-content: flex-start;
	background-color: #ffffff;
	align-items: flex-start;
}

.speaker-time:empty {
	display: none;
}

.speaker-title {
	display: block;
	width: 100%;
	text-align: left;
	font-size: 18px;
	font-weight: bold;
	line-height: 1.2;
	padding-top: 8px;
	padding-bottom: 8px;
}

.speaker-time {
	display: block;
	width: 140px;
	min-width: 140px;
	max-width: 140px;
	text-align: center;
	font-weight: bold;
	font-size: 18px;
	padding-right: 20px;
}

.speakers-header {
	width: 100%;
	display: flex;
	flex-flow: row;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	min-height: 60px;
}

.speakers-subheader {
	padding-left: 140px;
	line-height: 1.4;
/*	margin-bottom: 25px;*/
	font-size: 16px;
}

.speakers-subheader:empty {
	display: none;
}

.speaker-item {
	width: 100%;
	display: flex;
	flex-flow: row;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	padding-left: 15px;
	padding-top: 10px;
	padding-bottom: 10px;
	cursor: pointer;
}

.speakers-session + .speakers-session {
	border-top: 1px solid #979797;
}

.speaker-item:last-child {
	margin-bottom: 15px;
}

.speaker-image {
	display: inline-flex;
	min-width: 100px;
	width: 100px;
	height: 100px;
	border-radius: 50px;
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
	border: 3px solid #ffffff;
	margin-right: 20px;
	margin-left: 5px;
}

.speaker-name {
	display: block;
	font-weight: bold;
	color: #ac4d75 !important;
}

.speaker-item:hover .speaker-name, .speaker-item:focus .speaker-name {
	color: #5e5e5e !important;
}

.speaker-position {
	line-height: 1.4;
	font-size: 16px;
}

.speaker-country {
	margin-top: 5px;
}

.speaker-content span {
	font-size: 16px;
}

.single-speaker {
	width: 100%;
	display: flex;
	flex-flow: row;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: flex-start;
	padding-top: 20px;
}

.speaker-item-image {
	display: inline-flex;
	min-width: 140px;
	width: 140px;
	height: 140px;
	border-radius: 70px;
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
	border: 3px solid #cbcbcb;
	margin-right: 20px;
}

.speakers-tab-header {
	width: 100%;
	display: flex;
	flex-flow: row;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: flex-start;
	border-bottom: 2px solid #4A4A4A;
}

.speaker-tab {
	padding: 5px 20px;
	margin-right: 10px;
	cursor: pointer;
	color: #4A4A4A;
	white-space: nowrap;
	border-bottom: 4px solid #4A4A4A;
	font-weight: bold;
}

.speaker-tab.active, .speaker-tab:hover {
	color: #ffffff;
	border-bottom: 6px solid #4e627c;
	margin-bottom: -2px;
	background:#4e627c;
}

.speaker-tab-content:not(.active) {
	display: none;
}

body.single-member #Subheader, body.single-product #Subheader {
	display: none;
}

.main-title {
	font-size: 32px;
	margin-top: 40px;
	margin-bottom: 20px;
	line-height: 1.2;
}

.speaker-item-content {width: 100%;}


.speaker-item-content span {font-size: 16px;}

.speaker-item-country {
	margin-bottom: 10px;
}

.speaker-item-position {
	margin-bottom: 10px;
}

.speaker-item-description {margin-bottom: 25px; font-size: 16px;}

#Error_404 {margin-top: 0;}

div.wordart-attribution{display:none;}

.speaker-modal {
	position: fixed;
	top: 100px;
	left: calc(50% - 400px);
	width: 100%;
	z-index: 2000;
	display: none;
	max-width: 800px;
    height: auto;
    max-height: calc(100vh - 200px);
    padding: 25px;
    background-color: #ffffff;
    border: 1px solid #666666;
    cursor: auto;
}

.speaker-modal-title {
	display: block;
	font-size: 22px;
	font-weight: bold;
	margin-bottom: 15px;
}

.speaker-modal-close {
	position: absolute;
	top: 25px;
	right: 25px;
	padding: 11px;
	z-index: 1;
	text-align: center;
	cursor: pointer;
}

.speaker-modal-description {
	overflow: auto;
	max-height: calc(100vh - 350px);
	font-size: 16px;
	line-height: 1.45;
}

.speaker-modal-background {
	top: 0;
	left: 0;
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: #000000;
	opacity: 0.7;
	z-index: 1999;
}

.speaker-modal-close i {
	width: 18px;
	height: 18px;
	display: block;
}

.speaker-modal-content {
	display: flex;
	flex-flow: row;
	flex-direction: row;
	flex-wrap: nowrap;
}

.speaker-modal-sidebar {
	width: 220px;
	margin-right: 20px;
	flex-shrink: 0;
	font-size: 16px;
	line-height: 1.2;
	padding: 15px;
	background-color: #860038;
	color: #ffffff;
}

.speaker-modal-sidebar div {
	margin-bottom: 20px;
}

.speaker-modal-image {
	display: block;
    min-width: 190px;
    width: 19px;
    height: 190px;
    border-radius: 95px;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    border: 3px solid #ffffff;
    margin-left: auto;
    margin-right: auto;
}

.speaker-modal-name {
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 20px;
}

.speaker-modal-sidebar .speaker-modal-name {
	display: none;
}

.speaker-modal-position {
	padding-top: 15px;
	border-top: 1px solid #ffffff;
}

.speaker-modal-text {
	flex-shrink: 1;
}

/*** End of Speakers ***/

@media only screen and (max-width: 960px) {
	.speakers-header {
		flex-flow: column;
		flex-direction: column;
	}
	
	.speaker-time {
		width: 100%;
		min-width: 100%;
		max-width: 100%;
		padding: 0;
		padding-top: 15px;
		padding-bottom: 0;
		margin-bottom: -10px;
	}
	
	.speaker-title {
		width: 100%;
		text-align: left;
		padding-top: 15px;
		padding-bottom: 15px;
	}
	
	.speakers-subheader {
		padding-left: 0;
	}
	
	.speakers-tab-header {
		flex-flow: column;
		flex-direction: column;
		width: 100%;
		max-width: 260px;
		margin: 15px auto;
		border-bottom: 0 !important;
	}
	
	.speaker-tab {
		flex-grow: 1;
		width: 100%;
		text-align: center;
		margin-bottom: 0 !important;
		border-bottom: 1px solid #4A4A4A !important;
	}
}
