/**
* Stylesheet for single Focal Point page.
**/

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

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

#focal-point-tor-modal .modal-body {
	padding: 3em 2em;
}

#focal-point-tor-modal #message {
	text-align: center;
	font-weight: 600;
	color: #00a585;
}

#focal-point-tor-modal div[data-name="tor"] {
	padding: 2em 3em;
}

#focal-point-tor-modal .acf-form-submit {
	text-align: center;
}

.focal-point .focal-point__upload {
	font-weight: 600;
	color: #00a585;
	position: relative;
	cursor: pointer;
}

.focal-point .focal-point__upload::before {
	content: '';
    height: 2.5rem;
    width: 2.5rem;
    position: absolute;
    left: -3.5rem;
    background-position: center bottom;
    background-image: url('../images/new-svg-icons/upload-icon.svg');
    background-repeat: no-repeat;
}

.focal-point .focal-point__upload > a {
	margin-left: 3rem;
}

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

.focal-point .focal-point__avatar-img {
	width: 24rem;
	height: 24rem;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	background-color: white;
	border: .5rem solid #a3a3a3;
	border-radius: 24rem;
	-webkit-border-radius: 24rem;
	-moz-border-radius: 24rem;
	cursor: pointer;
}

.focal-point .focal-point__name {
	font-weight: 600;
	margin-bottom: 1rem;
}

.focal-point .focal-point__info {
	margin-top: 0;
	position: relative;
}

.focal-point .focal-point__info .avatar-section {
	z-index: 5;
}

.focal-point .focal-point__info .top-section {
	height: 12rem;
	position: relative;
}

.focal-point .focal-point__info .top-section .top-inner {
	position: absolute;
	bottom: 0;
	padding-bottom: 1rem;
	width: 100%;
}

.focal-point .focal-point__website,
.focal-point .focal-point__phone,
.focal-point .focal-point__address,
.focal-point .focal-point__contact-us {
	font-weight: 600;
	position: relative;
	margin-left: 2.5rem;
	margin-right: 2rem;
	display: inline-block;
	margin-bottom: 1rem;
}

.focal-point .focal-point__contact-us { 
	color: #00a585;
	cursor: pointer;
}

.focal-point .focal-point__with-icon::before {
	content: '';
	height: 2rem;
	width: 2rem;
	position: absolute;
	left: -2.5rem;
	background-position: center bottom;
	background-repeat: no-repeat;
	background-size: contain;
}

.focal-point .focal-point__website::before {
	background-image: url('../images/new-svg-icons/website-icon.svg');
}

.focal-point .focal-point__phone::before,
.focal-point .focal-point__contact-us::before {
	background-image: url('../images/new-svg-icons/phone-icon.svg');
}

.focal-point .focal-point__address::before {
	background-image: url('../images/new-svg-icons/address-icon.svg');
}




.focal-point .focal-point__members {
	/* margin-top: -10rem; */
	background-color: #eee;
}

.focal-point .focal-point__members .bottom-section {
	margin-top: -10rem;
}




.focal-point .white-panel {
	background: white;
	padding: 1.5rem 2rem;
	border-radius: 1rem;
	box-shadow: 0 4px 15px 0 rgba(0,0,0,0.1);
	background-position: bottom right;
	background-repeat: no-repeat;
	margin-bottom: 1.5rem;
}

.focal-point .focal-point__member .white-panel .row {
	display: table;
}


.focal-point .focal-point__member .white-panel .mc4wp-form-fields .row {
    display: block;
}

.focal-point .white-panel .row .member-avatar {
	display: table-cell;
	vertical-align: middle;
	float: none;
}

.focal-point .focal-point__member .member-avatar img {
	border-radius: 50%;
}

.focal-point .focal-point__member .member-name {
	display: block;
	font-weight: 600;
	font-size: 1.5rem;
}

.focal-point .focal-point__member .member-description {
	display: block;
	font-size: 1.5rem;
}

.focal-point .focal-point__member .member-email,
.focal-point .focal-point__member .member-link {
	display: block;
	color: #00a585;
	font-size: 1.5rem;
}






.focal-point .white-panel.download-cv .title {
	color: white;
}

.focal-point .white-panel.download-cv .subtitle {
	color: #515151;
}




.country__focal-points-list a:hover, .member-external_link:hover {
	text-decoration: underline;
}

.country__focal-points-list a:hover {
	text-decoration-color: #00a585;
}

.country__focal-points-list .focal-point__website, .country__focal-points-list .member-email {
	
	text-decoration-color: #515151;
}



.focal-point .focal-point__content {
	background-color: #eee;
	min-height: 50px;
}

.focal-point .focal-point__desc {
	margin-top: 3rem;
	margin-bottom: 3rem;
}

.focal-point .focal-point__tor {
	margin-top: 2rem;
	margin-bottom: 2rem;
}

.focal-point .focal-point__tor .tor-notice {
	font-size: 13px;
	font-weight: normal;
	margin: .5rem 1rem 1rem;
}

.focal-point .focal-point__tor .tor-filename {
	font-weight: 600;
	margin: 1rem 1rem 0;
}



.focal-point__events {
	background: #eee;
}

.focal-point__events #tribe-events-content {
	max-width: 1024px;
}

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

.focal-point__events .tribe-single-loop-right {
	padding-right: 25px;
}


.focal-point__resources {
	padding-bottom: 7rem;
	background: #eee;
}

.focal-point__resources h2 {
	color: #00a585;
}

.focal-point__resources li {
	background: #fff;
	margin: 0 0 20px;
	padding: 20px 20px 20px 340px;
}

.focal-point__resources li::before {
	display: none;
	height: 0;
}


#popup-upload-tor .popup {
  background: #FFFFFF;
  border-radius: 10px;
}
#popup-upload-tor .popup h2 {
  color: #00a585;
  margin: 15px 0 30px 0;
  font-size: 24px;
}
#popup-upload-tor .popup a.btn {
  background: #00a585;
  color: #FFFFFF;
}
#popup-upload-tor .popup .content {
  padding: 0;
  min-height: 200px;
}
#popup-upload-tor .popup .content p {
  color: #333;
  margin-bottom: 50px;
  font-size: 16px;
}
#popup-upload-tor .popup .content .btn-set {
  text-align: right;
}
#popup-upload-tor .popup .content .btn-set a {
  padding: 15px 50px;
}
#popup-upload-tor .popup .close {
  color: #00a585;
}
.page-manage-trainer-application .updated,
.page-trainer-edit-profile .updated {
  display: none;
}

.single-focal_points .focal-point.mobile {
	display: none;
}

.clearfix:after, .clearfix:before, .tribe-clearfix:after, .tribe-clearfix:before {
    content: "";
    display: table;
}

.clearfix:after, .tribe-clear, .tribe-clearfix:after {
	clear: both;
}

@media only screen and (max-width: 1023px) {
	.single-focal_points .focal-point .focal-point__avatar-img {
		width: 18rem;
		height: 18rem;
	}
	.single-focal_points .focal-point .focal-point__info .top-section {
		z-index: 1;
	}
	.single-focal_points .focal-point .focal-point__info .top-section .top-inner {
		bottom: inherit;
	}
	.single-focal_points .focal-point .focal-point__members .bottom-section {
		margin-top: -8rem;
	}


	.focal-point__resources li {
		padding: 2.0rem;
	}
}

@media only screen and (max-width: 991px) {
	.single-focal_points .focal-point.desktop {
		display: none;
	}
	.single-focal_points .focal-point.mobile {
		display: block;
		background-color: #eee;
		margin-top: 130px;
	}
	.single-focal_points .focal-point .focal-point__members {
		background-color: transparent;
		margin-top: 0;
	}
	.single-focal_points .focal-point .focal-point__avatar-img {
		margin: 0 auto;
	}
	.single-focal_points .focal-point .focal-point__info {
		margin-top: -100px;
	}
	.single-focal_points .focal-point .focal-point__upload {
		position: absolute;
    top: 32%;
    left: 72%;
    transform: translate(-50%, -50%);
	}
}

@media only screen and (max-width: 767px) {
	.single-focal_points .focal-point .focal-point__info {
		margin-top: -190px;
	}
	.single-focal_points .focal-point.mobile {
		margin-top: 180px;
	}
	.single-focal_points .focal-point .focal-point__info .avatar-section {
		margin-bottom: 40px;
	}
	.single-focal_points .focal-point .top-inner {
		margin-bottom: 20px;
	}
	.single-focal_points .focal-point .focal-point__tor {
		margin-top: 30px;
	}
	.single-focal_points .focal-point .focal-point__desc h2,
	.single-focal_points .focal-point .focal-point__tor h2,
	.single-focal_points .focal-point__country {
		margin: 0 0 30px;
	}
	.single-focal_points .same-height-wrapper {
		display: block;
	}
	.single-focal_points .same-height.vertical-center .pull-right {
		float: none !important;
		width: 100%;
		padding: 20px 15px;
		margin-top: 50px;
	}
	.single-focal_points .focal-point .focal-point__upload {
    top: 32%;
		right: -42px;
		left: inherit;
    transform: translate(0, -50%);
	}
	.single-focal_points .focal-point .focal-point__upload::before {
		left: -47px;
    top: -10px;
	}
}

@media only screen and (max-width: 650px) {
	.single-focal_points .focal-point .focal-point__info {
		margin-top: -160px;
	}
	.single-focal_points .focal-point .focal-point__upload {
    top: 40%;
	}
}

@media only screen and (max-width: 550px) {
	.single-focal_points .focal-point .focal-point__info {
		margin-top: -140px;
	}
}

@media only screen and (max-width: 500px) {
	.single-focal_points .focal-point .focal-point__info {
		margin-top: -120px;
	}
	.single-focal_points .focal-point.mobile {
		margin-top: 120px;
	}
	.single-focal_points .focal-point .focal-point__upload::before {
		left: -36px;
    top: -4px;
	}
}

@media only screen and (max-width: 450px) {
	.single-focal_points .focal-point .focal-point__info {
		margin-top: -105px;
	}
	.single-focal_points .focal-point.mobile {
		margin-top: 100px;
	}
}

@media only screen and (max-width: 375px) {
	.single-focal_points .focal-point .focal-point__info {
		margin-top: -95px;
	}
	.single-focal_points .focal-point .focal-point__upload::before {
		left: -27px;
    top: 0px;
	}
	.single-focal_points .focal-point .focal-point__upload {
		right: -33px;
	}
}

.focal-point__events .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;
}

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

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


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