/*
Theme Name: THA 2020
Author: Tasty Studio
Author URI: https://tasty.studio/
Version: 1.0.0
*/

@font-face {
	font-family: "Nimbus San L";
	src: url(assets/fonts/nimbus-sans-l/NimbusSanL-Bol.otf) format("opentype");
	font-weight: 700;
}

@font-face {
	font-family: "Nimbus San L";
	src: url(assets/fonts/nimbus-sans-l/NimbusSanL-BolIta.otf) format("opentype");
	font-weight: 700;
	font-style: italic;
}

@font-face {
	font-family: "Nimbus San L";
	src: url(assets/fonts/nimbus-sans-l/NimbusSanL-Reg.otf) format("opentype");
	font-weight: 400;
}

@font-face {
	font-family: "Nimbus San L";
	src: url(assets/fonts/nimbus-sans-l/NimbusSanL-RegIta.otf) format("opentype");
	font-weight: 400;
	font-style: italic;
}

@font-face {
	font-family: "Nimbus Sans D";
	src: url(assets/fonts/nimbus-sans-d/Nimbus-Sans-D-OT-Black-Extended_32740.ttf) format("truetype");
	font-weight: 700;
}

body, html, h1, h2, h3, h4, h5, h6, span, p, input, textarea, select, ul, li, table, td, tr, th, thead, tbody {
	font-family: 'Barlow';
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Nimbus Sans D" !important;
}

a {
	font-family: 'Barlow';
}

p, li {
	font-size: 20px;
}
p {
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}
.post-content ul {
	list-style: disc outside;
	padding-left: 40px;
}

.text-bold {
	font-weight: bold;
}

.pink-period:after {
	content: '\25A0';
	font-size: .6em;
	color: #e56185;
}

.ThePeriod {
	font-size: 0.4em;
}

body.page-template-page-visualcomposer header{
	/*display: none;*/
}

.vc_row.jp-internal-banner {
	background-position: center !important;
}

@media screen and (max-width: 1023px) {
	.vc_row.jp-internal-banner {
		background-size: 85% !important;
	}
}

/* Button Styles */
.jp-cta-btn {
	background: #ccc;
	padding: 15px 60px;
	display: inline-block;
}

.jp-btn-pink {
	background: #E46085 !important;
	color: #fff !important;
}

.content-area .site-main {
	max-width: 1400px;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin: auto;
}

/* Global styles  */

.jp-color-white {
	color: #fff !important;
}
.TheTeam {
    opacity: 0;
    transition: all 0.5s ease-in-out;
}
.TheTeam.expanded {
    transition: all 0.5s;
    transition: all 0.5s ease-in-out;
	opacity: 1;
	z-index: 12;
}
.TheTeam__inner {
    opacity: 0;
    transition: all 0.5s ease-in-out;
}
.TheTeam__inner.expanded {
    opacity: 1;
}
.fade-enter-active, .fade-leave-active {
    transition: opacity 0.5s;
  }
  .fade-enter, .fade-leave-to {
    opacity: 0;
  }  
.TheTeam__border {
	position: relative;
}

.TheTeam__border .person-default,
.TheTeam__border .person-on-hover {
	transition: all ease-in-out .5s;
}

.TheTeam__border .person-on-hover {
	position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
}

.TheTeam__border .person-on-hover:hover,
.TheTeam__border .person-on-hover:focus {
	opacity: 1;
}

.person-banner {
	width: 100%;
	margin-top: 1em;
}

.TheaMember__info {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.TheMember__name {
	margin-bottom: 0;
}

.TeamMember__content {
	display: flex;
	justify-content: space-between;
	align-items: center;
    flex-direction: column;
}
.TeamMember_cartoon_image {
    width: 50%;
}
.TeamMember_cartoon_image img {
    width: 100%;
}

@media ( min-width: 1024px ) {
    .TeamMember__content {
        flex-direction: row;
    }

    .TeamMember_cartoon_image {
        width: calc(100% / 3 - 50px);
        float: left;
        margin-right: 50px;
    }

    .TeamMember__content_area {
        width: calc(100% / 3 * 2);
    }
}
span.TheHero__word.TheHero__word_dot.text-rose::before {
	content: '\25A0';
	font-size: .35em;
	color: #e56185;
}

.TheHero__word.TheHero__word_better,
.TheHero__word.TheHero__word_bold,
.TheHero__word.TheHero__word_brave {
	font-family: "Nimbus Sans D";
}

.post-header {
	height: 50vh;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	position: relative;
}

.post-header .post-header-info {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.post-header-info .post-title {
	color: white;
	font-size: 40px;
}

.post-header-info .post-author {
	color: white;
	font-size: 12px;
	font-style: italic;
}

article.post-content {
	max-width: 900px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 80px;
	margin-bottom: 100px;
	padding-left: 15px;
	padding-right: 15px;
}

.TheServices__name {
    line-height: 1.2;
}

@media ( min-width: 1024px ) {
    .TheServices__item {
        margin-top: 0 !important;
    }
}

.TheServices_infobox {
	flex-direction: column;
}

.TheServices_learnmore {
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 20px;
	padding-right: 20px;
	background-color: #e56185;
	color: #fff;
	margin-top: 15px;
	border-radius: 5px;
}

@media screen and (max-width: 1023px) {
	span.TheHero__word.TheHero__word_dot.text-rose::before {
		content: '';
		width: 20px;
		height: 20px;
		background-color: #e56185;
		position: absolute;
		display: block;
		bottom: 10px;
	}
}

@media screen and (max-width: 767px) {
	span.TheHero__word.TheHero__word_dot.text-rose::before {
		content: '';
		width: 15px;
		height: 15px;
		background-color: #e56185;
		position: absolute;
		display: block;
		bottom: 7px;
	}
}

@media screen and (max-width: 639px) {
	span.TheHero__word.TheHero__word_dot.text-rose::before {
		content: '';
		width: 10px;
		height: 10px;
		background-color: #e56185;
		position: absolute;
		display: block;
		bottom: 5px;
	}
}

@media (min-width: 640px) {
	.sm\:pt-40, .sm\:py-40 {
	    padding-top: 5rem !important;
	}

	.sm\:py-40 {
		padding-bottom: 5rem !important;
	}

	.sm\:mt-40 {
		margin-top: 5rem !important;
	}

	.sm\:pb-60 {
		padding-bottom: 5rem !important;
	}
}

/* #Global styles */

/* Styles from the Customizer Additional CSS panel */
h1, h2, h3, h4, h5, h6 {
	margin-top: 30px;
	margin-bottom: 30px;
}

p {
	margin-top: 1.5em;
	margin-bottom: 1.5em;
}

.post-header-info .post-title {
	margin-bottom: 0;
}

.jp-internal-banner .vc_custom_heading {
    font-family: 'Nimbus Sans D' !important;
    font-weight: 900 !important;
		position: relative;
}
.TheServices_learnmore {
	border-radius: 0 !important;
}

.TeamMember__content p {
	margin-right: -10px;
}


/* 
 * Contact Us form
 */

.contact-form-fields {
	margin-left: auto;
	margin-right: auto;
	max-width: 600px;
	width: 100%;
}

.fields-group {
	margin-bottom: 10px;
}

.fields-group input,
.fields-group textarea {
	border: solid 1px #ccc;
	padding: 5px 15px;
	width: 100%;
}

.fields-group input[type="submit"] {
	display: block;
	width: initial;
	text-transform: uppercase;
	font-size: 16px;
	color: #fff;
	background: #000;
	padding: 5px 15px;
	margin-left: auto;
	margin-right: auto;
}

.row-container {
	position: relative;
	margin-left: -15px;
	margin-right: -15px;
}

.row-container:before,
.row-container:after {
	content: '';
	display: table;
	clear: both;
}

.col-half {
	width: calc(100% / 2 - 30px);
}

.col-full {
	width: calc(100% - 30px);
}

.col-half,
.col-full {
	margin-left: 15px;
	margin-right: 15px;
	float: left;
}

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

.TheManifesto__copy-inner p {
	font-size: 25px;
}

.TheManifesto__copy-inner p:last-child {
	font-weight: bold;
}

@media screen and (max-width: 767px) {
	.jp-internal-banner .vc_custom_heading::after {
		display: none;
	}
	
	.col-half,
	.col-full {
		width: calc(100% - 30px);
	}
}

@media (min-width: 768px) {
	.type-h3 {
		line-height: 1.2 !important;
	}
	
	.md\:w-5\/6 {
    width: 100% !important;
	}
	
	.TheManifesto .sm\:py-40 {
		padding-top: 2rem !important;
		padding-bottom: 2rem !important;
	}

}

@media (min-width: 1280px) {
	.TheManifesto__copy:before {
    top: 50%;
    transform: translateY(-50%);
	}	
}

#post-grid-row {
	position: relative;
	z-index: 11;
}

.post-grid-title-link a {
	font-family: "Nimbus Sans D", sans-serif;
	font-size: 1rem;
}

figcaption {
	font-size: 0.9rem;
}