/**
* Styles for Badges.
**/

.trainer-name {
	display: inline-block;
	vertical-align: top;
}

.trainer-all-badges {
	display: inline-flex;
	vertical-align: top;
	margin-left: 7px;
}

.trainer-all-badges.mobile-badges { /* mobile */
	margin-left: 0;
	height: 50px;
}

.trainer-all-badges .trainer-badge-wrapper {
	width: 40px;
}

.trainer-all-badges .trainer-badge-item {
    position: absolute;
    cursor: pointer;
    width: 40px;
}

.trainer-all-badges .trainer-badge-item .badge-icon img {
	height: 35px;
	width: auto;
}

.trainer-all-badges.mobile-badges .trainer-badge-item .badge-icon img { /* mobile */
    margin-left: 0;
}

.trainer-all-badges .trainer-badge-item .badge-tooltip {
	font-size: 16px;
	line-height: 24px;
	position: absolute;
	bottom: 100%;
	left: 50%;
	display: block; 
	min-width: 300px;
	margin-bottom: 20px;
	padding: 20px 15px;
	-webkit-transform: translate(-50%, 0);
	-ms-transform: translate(-50%, 0);
	transform: translate(-50%, 0);
	color: #515151;
	background: #fff;
	box-shadow: 4px 4px 8px rgba(0, 0, 0, .3);
	z-index: 100;

	visibility: hidden;
	opacity: 0; 
}

.trainer-all-badges .trainer-badge-item:hover .badge-tooltip {
  visibility: visible;
  opacity: 1;
}

.badge-tooltip-angle {
	position: absolute;
	top: 100%;
	left: 50%;
	display: block;
	width: 14px;
	height: 14px;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

.badge-tooltip-angle::after {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: block;
	content: '';
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	background: #fff;
	box-shadow: 6px 6px 8px rgba(0, 0, 0, .3);
}

.badge-tooltip-content.row {
	margin: 0;
}

.badge-tooltip-content > div {
    padding-left: 5px;
    padding-right: 5px;
}

.badge-tooltip-content .desc h3 {
	margin: 0 0 4px 0;
	color: #00a585;
	font-weight: bold;
}

.badge-tooltip-content .desc span {
	line-height: normal;
	font-size: 14px;
	font-weight: normal;
}

/**
* Styles for Trainers Info page.
**/

/* Badges in Trainers Info Card */

.trainer .trainer-all-badges {
	display: inline-flex;
	vertical-align: top;
	margin-left: 5px;
}

.trainer .trainer-all-badges .trainer-badge-wrapper {
	width: 30px;
}

.trainer .trainer-all-badges .trainer-badge-item {
    position: absolute;
    cursor: pointer;
		width: 30px;
		margin-top: -5px;
}

.trainer .trainer-all-badges .trainer-badge-item .badge-icon img {
	height: 30px;
	width: auto;
	margin: 0;
}

#trainer-list-page .title-block {
	margin-bottom: 20px;
}

#manage-trainer-application,
#apply-to-become-trainer,
.trainer-profile__edit {
	font-weight: 600;
	color: #00a585;
	position: relative;
	font-size: 20px;
	line-height: 25px;
}

#manage-trainer-application::before,
#apply-to-become-trainer::before,
.trainer-profile__edit::before {
	content: '';
	height: 20px;
	width: 20px;
	position: absolute;
	left: -30px;
	top: 4px;
	background-position: center bottom;
	background-image: url(../images/new-svg-icons/edit-icon.svg);
	background-repeat: no-repeat;
	background-size: contain;
}

/* Trainers results */

.trainers-result-notice {
	color: #01A585;
	font-family: "Open Sans";
	font-size: 16px;
	font-weight: bold;
	letter-spacing: 0.07px;
	line-height: 22px;
	text-align: center;
}

/**
* Styles for single Trainers page.
**/

.trainer-profile-header {
	margin-bottom: 50px;
}

.single-trainers .section-default {
	padding-bottom: 0;
}

.trainer-profile {
	font-size: 1.6rem;
	line-height: 2.4rem;
	counter-reset: item;
}

.trainer-profile .trainer-profile__intro {
	margin-top: 3rem;
	background-image: linear-gradient(to bottom, white, white 50%, #eee 50%, #eee);
	background-size: cover;
	background-repeat: no-repeat;
}

.trainer-profile .trainer-profile__avatar-img {
	width: 24rem;
	height: 24rem;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	background-color: white;
	border: .5rem solid #00a585;
	border-radius: 24rem;
	-webkit-border-radius: 24rem;
	-moz-border-radius: 24rem;
	cursor: pointer;
}

.trainer-profile .trainer-profile__organization-img {
	width: 9rem;
	height: 9rem;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	background-color: white;
	border: .5rem solid #eee;
	border-radius: 9rem;
	-webkit-border-radius: 9rem;
	-moz-border-radius: 9rem;
	cursor: pointer;
	bottom: -2rem;
	position: absolute;
}

.trainer-profile .trainer-profile__name {
	font-weight: 600;
	margin-bottom: 10px;
}

.trainer-profile .trainer-profile__info {
	margin-top: 0;
	position: relative;
}

.trainer-profile .trainer-profile__info .avatar-section {
	z-index: 5;
}

.trainer-profile .trainer-profile__info .top-section {
	height: 12rem;
	position: relative;
}

.trainer-profile .trainer-profile__info .top-section .top-inner {
	position: absolute;
	bottom: 0;
	padding-bottom: 1.5rem;
	width: 100%;
}

.trainer-profile .trainer-profile__info .bottom-section {
	position: absolute;
	top: 14rem;
	z-index: 1;
}

.trainer-profile .trainer-profile__organization {
	font-weight: 600;
	position: relative;
	margin-left: 2.5rem;
	margin-right: 2rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.trainer-profile .trainer-profile__organization::before {
	content: '';
    height: 2.5rem;
    width: 2rem;
    position: absolute;
    left: -2.5rem;
    background-position: center;
	background-image: url('../images/new-svg-icons/organization.svg');
	background-repeat: no-repeat;
}

.trainer-profile .trainer-profile__website {
	margin-left: 2rem;
	font-weight: 600;
	position: relative;
	margin-left: 2.5rem;
	margin-bottom: 1rem;
}

.trainer-profile .trainer-profile__website::before {
	content: '';
	height: 2rem;
	width: 2rem;
	position: absolute;
	left: -2.5rem;
	background-position: center bottom;
	background-image: url('../images/new-svg-icons/website-icon.svg');
	background-repeat: no-repeat;
}

.trainer-profile .trainer-profile__mail {
	font-weight: 600;
	position: relative;
	margin-left: 2.5rem;
	margin-right: 2rem;
}

.trainer-profile .trainer-profile__mail::before,
.trainer-profile .trainer-profile__contact-us::before {
	content: '';
	height: 2rem;
	width: 2rem;
	position: absolute;
	left: -2.5rem;
	background-position: center bottom;
	background-image: url('../images/new-svg-icons/mail-icon.svg');
	background-repeat: no-repeat;
}

.trainer-profile .trainer-profile__phone,
.trainer-profile .trainer-profile__contact-us {
	margin-left: 2rem;
	font-weight: 600;
	position: relative;
	margin-left: 2.5rem;
}

.trainer-profile .trainer-profile__contact-us { 
	color: #00a585;
	cursor: pointer;
	margin-right: 2rem;
}

.trainer-profile .trainer-profile__phone::before {
	content: '';
	height: 2rem;
	width: 2rem;
	position: absolute;
	left: -2.5rem;
	background-position: center bottom;
	background-image: url('../images/new-svg-icons/phone-icon.svg');
	background-repeat: no-repeat;
}

.trainer-profile .trainer-profile__social {
	display: flex;
	align-items: center;
	margin-right: 30px;
}

.trainer-profile .trainer-profile__social .label {
	margin: 0;
	width: auto;
	font-weight: 600;
}

.trainer-profile .trainer-profile__social a {
	margin-left: .5rem;
}

.trainer-profile .trainer-profile__social span {
	display: inline-block;
	width: 2rem;
}

.trainer-profile .trainer-profile__social img {
	width: 2rem;
	bottom: .5rem;
	position: absolute;
	max-height: 2rem;
}

.trainer-profile .white-panel {
	background: white;
	padding: 1.5rem;
	border-radius: 1rem;
	box-shadow: 0 4px 15px 0 rgba(0,0,0,0.1);
	background-position: bottom right;
	background-repeat: no-repeat;
	height: 100%;
}

.trainer-profile .white-panel > p.title {
	font-weight: 600;
	margin-bottom: .5rem;
	font-size: 1.5rem;
}

.trainer-profile .white-panel .subtitle {
	color: #00a585;
	font-size: 1.3rem;
	font-weight: 600;
}

.trainer-profile .white-panel.language {
	background-image: url('../images/new-svg-icons/languages.svg');
}

.trainer-profile .white-panel.based-in {
	background-image: url('../images/new-svg-icons/based-in.svg');
}

.trainer-profile .white-panel.have-worked-in {
	background-image: url('../images/new-svg-icons/have-worked-in.svg');
}

.trainer-profile .white-panel.download-cv {
	background-color: #00a585;
	background-image: url('../images/new-svg-icons/download-cv.svg');
}

.trainer-profile .white-panel.download-cv .title {
	color: white;
}

.trainer-profile .white-panel.download-cv .subtitle {
	color: #515151;
}




.trainer-profile .trainer-profile__skills {
	background: #eee;
	padding-top: 5rem;
}


.trainer-profile .trainer-profile__skills .skill-title {
	font-weight: 600;
	margin-bottom: 1.5rem;
}


.trainer-profile ol,
.trainer-profile ul {
  margin: 0 0 24px 0;
  padding: 0;
}

.trainer-profile ol li,
.trainer-profile ul li {
  position: relative;
  display: block;
  margin: 0 0 5px;
  padding-left: 25px;
  list-style: none;
}

.trainer-profile ol li:last-child,
.trainer-profile ul li:last-child {
  margin-bottom: 0;
}

.trainer-profile ol li:before,
.trainer-profile ul li:before {
  position: absolute;
  top: 8px;
  left: 0;
  display: block;
  content: '';
}

.trainer-profile ul li:before {
  width: 10px;
  height: 10px;
  border: 2px solid #00a585;
  border-radius: 50%;
}

.trainer-profile ol li {
  counter-increment: item;
}

.trainer-profile ol li:before {
  top: 1px;
  content: counter(item) '.';
}

.trainer-profile .trainer-profile__about {
	margin-top: 5rem;
	margin-bottom: 7rem;
}

.trainer-profile #tribe-events-content.tribe-events-list {
	padding: 0px 20px;
}

.trainer-profile .tribe-events-list .type-tribe_events {
	padding: 0;
	position: relative;
	margin: 2.25em 0;
}

.trainer-profile .mobile {
	display: none;
}


.trainer-profile__resources {
	margin-bottom: 7rem;
}


.trainer-profile .resource__list li {
	background: #fff;
	margin: 0 0 20px;
	padding: 20px 20px 20px 340px;
}

.trainer-profile .resource__list li::before {
	display: none;
	height: 0;
}



@media only screen and (max-width: 1023px) {
	.trainer-profile .trainer-profile__avatar-img {
		width: 15rem;
		height: 15rem;
	}
	.trainer-profile .trainer-profile__intro {
		height: 400px;
    position: relative;
		top: 20px;
		margin-top: 0;
	}
	.trainer-profile .trainer-profile__info .bottom-section {
		top: 14rem;
	}
	.trainer-profile .trainer-profile__info {
		top: 66px;
	}
	.trainer-profile .trainer-profile__info .avatar-section {
		top: 43px;
	}
	.trainer-profile .trainer-profile__skills {
		padding-top: 2rem;
	}
	

	.trainer-profile .resource__list li {
		padding: 2.0rem;
	}
}

@media only screen and (max-width: 991px) {
	.trainer-profile {
		position: relative;
		margin-top: 80px;
	}
	.trainer-profile__intro {
		display: none;
	}
	.trainer-profile .trainer-profile__skills {
		padding-top: 10rem;
		margin-top: 0;
	}
	.trainer-profile .mobile {
		display: block;
	}
	.trainer-profile .mobile .avatar-section {
		position: relative;
    margin-top: -180px;
		width: 100%;
		margin-bottom: 20px;
	}
	.trainer-profile .widgets-card {
		margin-bottom: 30px;
		margin-top: 20px;
	}
	.trainer-profile .events_title,
	.trainer-profile .trainer-profile__about {
		/* padding: 0 30px; */
	}
	.trainer-profile .tribe-events-content-wrapper {
		padding-left: 60px;
		padding-right: 60px;
	}
	.trainer-profile #tribe-events-content.tribe-events-list {
		padding: 0;
	}
	.trainer-profile .social-list {
		display: flex;
		align-items: center;
		width: 100px;
		justify-content: space-between;
		margin-left: 0px;
	}
	.trainer-profile .social-list a:last-child {
		margin: 0;
	}
}

@media only screen and (max-width: 767px) {

	#trainer-list-page .section-default {
		padding-bottom: 0;
	}

	#apply-to-become-trainer,
	.trainer-profile__edit {
		margin-left: 30px;
	}

	.trainer-profile {
		margin-top: 120px;
	}
	.trainer-profile .trainer-profile__avatar-img {
		margin: 0 auto;
	}
	.trainer-profile .mobile .avatar-section {
		margin-top: -370px;
	}
	.trainer-profile .trainer-profile__skills {
		padding-top: 200px;
	}
	.trainer-profile .trainer-profile__organization {
		display: block;
	}
	.trainer-profile .trainer-profile__website {
		display: block;
	}
	.trainer-profile .trainer-profile__email {
		display: block;
	}
	.trainer-profile .trainer-profile__tel {
		display: block;
		margin-top: 12px;
	}
	.trainer-profile .trainer-profile__phone::before,
	.trainer-profile .trainer-profile__website::before,
	.trainer-profile .trainer-profile__mail::before,
	.trainer-profile .trainer-profile__contact-us::before,
	.trainer-profile .trainer-profile__organization::before {
		height: 32px;
		width: 32px;
		background-size: contain;
    top: 8px;
	}
	.trainer-profile .trainer-profile__social .label {
		display: none;
	}
	.trainer-profile .social-list {
		width: 200px;
		margin-top: 20px;
	}
	.trainer-profile .same-height-wrapper {
		display: block;
	}
	.trainer-profile .same-height-wrapper .same-height {
		margin-bottom: 20px;
		flex: none;
		display: inline;
    position: static;
	}
	.trainer-profile .tribe-events-content-wrapper {
		padding-left: 90px;
    padding-right: 90px;
	}
	.trainer-profile .widgets-card {
		padding: 0 30px;
	}
	.tribe-single-loop-left {
		width: 100% !important;
    float: none !important;
    position: static !important;
    top: 0 !important;
    left: 0 !important;
    height: 300px !important;
	}
	.tribe-single-loop-right {
		width: 100% !important;
		float: none !important;
    padding: 25px 50px !important;
	}
	.tribe-events-list .tribe-events-loop .tribe-events-content {
		padding-bottom: 30px;
	}
	#popup-contact-us .overlay,
	.popup-contact-us .overlay {
		top: 200px;
	}
	#popup-contact-us .popup .content,
	.popup-contact-us .popup .content {
		overflow: overlay;
	}
	#popup-contact-us .popup,
	.popup-contact-us .popup {
		overflow: auto;
        height: 95vh;
	}
	.submit-contact-us-popup {
		margin-top: 50px;
		padding: 15px;
    text-transform: capitalize;
    font-size: 20px;
	}
}
@media only screen and (max-width: 600px) {
	.trainer-profile .mobile .avatar-section {
		margin-top: -330px;
	}
	.trainer-profile {
		margin-top: 85px;
	}
}
@media only screen and (max-width: 550px) {
	.trainer-profile .mobile .avatar-section {
		margin-top: -310px;
	}
	.trainer-profile .trainer-profile__phone::before, .trainer-profile .trainer-profile__website::before, .trainer-profile .trainer-profile__mail::before, .trainer-profile .trainer-profile__contact-us::before, .trainer-profile .trainer-profile__organization::before {
		height: 25px;
    width: 25px;
    top: 5px;
	}
	.trainer-profile .tribe-events-content-wrapper{
		padding-left: 70px;
    padding-right: 70px;
	}
	.trainer-profile .tribe-events-list .type-tribe_events {
		margin-top: 0;
	}
	.trainer-profile .trainer-profile__about {
		margin: 50px 0;
	}
	/* .trainer-profile .events_title, .trainer-profile .trainer-profile__about {
		padding: 0 15px;
	} */
}
@media only screen and (max-width: 450px) {
	.trainer-profile .social-list {
		width: 120px;
	}
	.trainer-profile .trainer-profile__events h2.events_title {
		padding: 0 25px;
	}
	.trainer-profile .tribe-events-content-wrapper {
		padding-left: 60px;
    padding-right: 60px;
	}
	.tribe-single-loop-left {
		height: 200px !important;
	}
	.tribe-single-loop-right {
		padding: 25px !important;
	}
	.trainer-profile .same-height-wrapper {
		margin-bottom: 10px;
	}
	.submit-contact-us-popup {
		margin-top: 40px;
		padding: 15px;
    text-transform: capitalize;
		font-size: 20px;
		min-width: 100%;
	}
	#popup-contact-us .pull-right,
  .popup-contact-us .pull-right {
		width: 100%;
	}
	#popup-contact-us .popup,
	.popup-contact-us .popup {
		width: 80%;
	}
	#popup-contact-us .popup .content,
	.popup-contact-us .popup .content {
		padding: 25px;
        overflow: hidden;
	}
	#popup-contact-us .popup-header img,
	.popup-contact-us .popup-header img {
		top: 20px;
	}
}
@media only screen and (max-width: 425px) {
	.trainer-profile .trainer-profile__phone::before, .trainer-profile .trainer-profile__website::before, .trainer-profile .trainer-profile__mail::before, .trainer-profile .trainer-profile__contact-us::before, .trainer-profile .trainer-profile__organization::before {
		height: 20px;
    width: 20px;
    top: 0;
	}
	.trainer-profile .mobile .avatar-section {
		margin-top: -290px;
	}
	.trainer-profile {
		margin-top: 65px;
	}
}
@media only screen and (max-width: 425px) {
	.trainer-profile .mobile .avatar-section {
		margin-top: -280px;
	}
	.trainer-profile {
		margin-top: 55px;
	}
	.trainer-profile .tribe-events-content-wrapper {
		padding-left: 50px;
    padding-right: 50px;
	}
}


.trainer-profile #tribe-events-content.tribe-events-list {
	padding-left: 20px !important;
	padding-right: 20px !important;
}

.trainer-profile .trainer-profile__events--nav {
    border: 1px solid lightgray;
    border-radius: 26px;
    padding: 20px;
    width: max-content;
    float: right;
    height: max-content;
    background: #F1F1F1;
    display: flex;
}

.trainer-profile .trainer-profile__events--nav .show-future-events {
    padding-right: 15px;
    border-right: 1px solid lightgray;
}

.trainer-profile .trainer-profile__events--nav .show-past-events {
    padding-left: 15px;
}


.trainer-profile .trainer-profile__events--nav .show-future-events a,
.trainer-profile .trainer-profile__events--nav .show-past-events a {
    cursor: pointer;
}