/*
Theme Name: CRES Academy
Theme URI: https://cres.academy/
Author: Samuel Artino <artino.samuel@gmail.com>
Author URI: https://cres.academy/
Description: CRES Academy theme.
Requires at least: 5.9
Tested up to: 6.0
Requires PHP: 5.6
Version: 1.0
Text Domain: cres
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments

CRES WordPress Theme, (C) 2022 Clinical Research Educational Services SRL
*/

/* latin-ext */
/* vietnamese */
@font-face {
	font-family: 'Barlow';
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url(/wp-content/themes/cres/fonts/barlow/7cHqv4kjgoGqM7E3p-ks6Fostz0rdom9.woff2) format('woff2');
	unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
  }
  /* latin-ext */
  @font-face {
	font-family: 'Barlow';
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url(/wp-content/themes/cres/fonts/barlow/7cHqv4kjgoGqM7E3p-ks6Vostz0rdom9.woff2) format('woff2');
	unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  /* latin */
  @font-face {
	font-family: 'Barlow';
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url(/wp-content/themes/cres/fonts/barlow/7cHqv4kjgoGqM7E3p-ks51ostz0rdg.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  /* vietnamese */
  @font-face {
	font-family: 'Barlow';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(/wp-content/themes/cres/fonts/barlow/7cHpv4kjgoGqM7E_A8s5ynghnQci.woff2) format('woff2');
	unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
  }
  /* latin-ext */
  @font-face {
	font-family: 'Barlow';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(/wp-content/themes/cres/fonts/barlow/7cHpv4kjgoGqM7E_Ass5ynghnQci.woff2) format('woff2');
	unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  /* latin */
  @font-face {
	font-family: 'Barlow';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(/wp-content/themes/cres/fonts/barlow/7cHpv4kjgoGqM7E_DMs5ynghnQ.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  /* vietnamese */
  @font-face {
	font-family: 'Barlow';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url(/wp-content/themes/cres/fonts/barlow/7cHqv4kjgoGqM7E30-8s6Fostz0rdom9.woff2) format('woff2');
	unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
  }
  /* latin-ext */
  @font-face {
	font-family: 'Barlow';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url(/wp-content/themes/cres/fonts/barlow/7cHqv4kjgoGqM7E30-8s6Vostz0rdom9.woff2) format('woff2');
	unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  /* latin */
  @font-face {
	font-family: 'Barlow';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url(/wp-content/themes/cres/fonts/barlow/7cHqv4kjgoGqM7E30-8s51ostz0rdg.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  /* vietnamese */
@font-face {
	font-family: 'Barlow';
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url(/wp-content/themes/cres/fonts/barlow/7cHqv4kjgoGqM7E3q-0s6Fostz0rdom9.woff2) format('woff2');
	unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
  }
  /* latin-ext */
  @font-face {
	font-family: 'Barlow';
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url(/wp-content/themes/cres/fonts/barlow/7cHqv4kjgoGqM7E3q-0s6Vostz0rdom9.woff2) format('woff2');
	unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  /* latin */
  @font-face {
	font-family: 'Barlow';
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url(/wp-content/themes/cres/fonts/barlow/7cHqv4kjgoGqM7E3q-0s51ostz0rdg.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }


@font-face {
	font-family: 'Font Awesome\ 5 Pro';
	font-style: normal;
	font-weight: 400;
	font-display: block;
	src: url(/wp-content/themes/cres/fonts/webfonts/fa-regular-400.eot);
	src: url(/wp-content/themes/cres/fonts/webfonts/fa-regular-400.eot?#iefix) format("embedded-opentype"), 
	  url(/wp-content/themes/cres/fonts/webfonts/fa-regular-400.woff2) format("woff2"), 
	  url(/wp-content/themes/cres/fonts/webfonts/fa-regular-400.woff) format("woff"), 
	  url(/wp-content/themes/cres/fonts/webfonts/fa-regular-400.ttf) format("truetype"), 
	  url(/wp-content/themes/cres/fonts/webfonts/fa-regular-400.svg#fontawesome) format("svg");
}
  
.far {
	font-family: 'Font Awesome\ 5 Pro';
	font-weight: 400; 
	font-style: normal;
}

@font-face {
	font-family: 'Font Awesome 5 Brands';
	font-style: normal;
	font-weight: 400;
	font-display: block;
	src: url(/wp-content/themes/cres/fonts/webfonts/fa-brands-400.eot);
	src: url(/wp-content/themes/cres/fonts/webfonts/fa-brands-400.eot?#iefix) format("embedded-opentype"), 
	url(/wp-content/themes/cres/fonts/webfonts/fa-brands-400.woff2) format("woff2"), 
	url(/wp-content/themes/cres/fonts/webfonts/fa-brands-400.woff) format("woff"), 
	url(/wp-content/themes/cres/fonts/webfonts/fa-brands-400.ttf) format("truetype"), 
	url(/wp-content/themes/cres/fonts/webfonts/fa-brands-400.svg#fontawesome) format("svg");
}
  
.fab {
	font-family: 'Font Awesome 5 Brands';
	font-weight: 400;
	font-style: normal;
}

.fa-at:before { content:"\40" }
.fa-briefcase:before { content:"\f0b1" }
.fa-calendar:before { content: "\f133"; }
.fa-chalkboard-user:before { content: "\f51c"; }
.fa-clock:before { content: "\f017"; }
.fa-hashtag:before { content:"\23" }
.fa-location-pin:before { content:"\f041" }
.fa-mobile:before { content:"\f3ce" }

.fa-facebook:before { content:"\f39e" }
.fa-linkedin:before { content:"\f0e1" }
.fa-whatsapp:before { content:"\f232" }

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	text-rendering: geometricPrecision;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-family: "Barlow", sans-serif;
	font-size: 1.7rem;
}

html {
	font-size: 62.5%;
}

html, body {
	height: 100%;
}

body {
	background: #fff;
	color: #000;
	overflow-x: hidden;
}

b {
	font-weight: 600;
}

h1, h2, h3, h4 {
	font-weight: 600;
}

.row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
}

.col-1 { width: calc(100% / 12 * 1) }
.col-2 { width: calc(100% / 12 * 2) }
.col-3 { width: calc(100% / 12 * 3) }
.col-4 { width: calc(100% / 12 * 4) }
.col-5 { width: calc(100% / 12 * 5) }
.col-6 { width: calc(100% / 12 * 6) }
.col-7 { width: calc(100% / 12 * 7) }
.col-8 { width: calc(100% / 12 * 8) }
.col-9 { width: calc(100% / 12 * 9) }
.col-10 { width: calc(100% / 12 * 10) }
.col-11 { width: calc(100% / 12 * 11) }
.col-12 { width: calc(100% / 12 * 12) }

/* Extra small devices (phones, less than 768px) */
@media (max-width: 768px) {
	.col-xs-1 { width: calc(100% / 12 * 1) }
	.col-xs-2 { width: calc(100% / 12 * 2) }
	.col-xs-3 { width: calc(100% / 12 * 3) }
	.col-xs-4 { width: calc(100% / 12 * 4) }
	.col-xs-5 { width: calc(100% / 12 * 5) }
	.col-xs-6 { width: calc(100% / 12 * 6) }
	.col-xs-7 { width: calc(100% / 12 * 7) }
	.col-xs-8 { width: calc(100% / 12 * 8) }
	.col-xs-9 { width: calc(100% / 12 * 9) }
	.col-xs-10 { width: calc(100% / 12 * 10) }
	.col-xs-11 { width: calc(100% / 12 * 11) }
	.col-xs-12 { width: calc(100% / 12 * 12) }

	.hidden-xs { display: none !important }
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.col-sm-1 { width: calc(100% / 12 * 1) }
	.col-sm-2 { width: calc(100% / 12 * 2) }
	.col-sm-3 { width: calc(100% / 12 * 3) }
	.col-sm-4 { width: calc(100% / 12 * 4) }
	.col-sm-5 { width: calc(100% / 12 * 5) }
	.col-sm-6 { width: calc(100% / 12 * 6) }
	.col-sm-7 { width: calc(100% / 12 * 7) }
	.col-sm-8 { width: calc(100% / 12 * 8) }
	.col-sm-9 { width: calc(100% / 12 * 9) }
	.col-sm-10 { width: calc(100% / 12 * 10) }
	.col-sm-11 { width: calc(100% / 12 * 11) }
	.col-sm-12 { width: calc(100% / 12 * 12) }

	.hidden-sm { display: none !important }
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
	.col-md-1 { width: calc(100% / 12 * 1) }
	.col-md-2 { width: calc(100% / 12 * 2) }
	.col-md-3 { width: calc(100% / 12 * 3) }
	.col-md-4 { width: calc(100% / 12 * 4) }
	.col-md-5 { width: calc(100% / 12 * 5) }
	.col-md-6 { width: calc(100% / 12 * 6) }
	.col-md-7 { width: calc(100% / 12 * 7) }
	.col-md-8 { width: calc(100% / 12 * 8) }
	.col-md-9 { width: calc(100% / 12 * 9) }
	.col-md-10 { width: calc(100% / 12 * 10) }
	.col-md-11 { width: calc(100% / 12 * 11) }
	.col-md-12 { width: calc(100% / 12 * 12) }

	.hidden-md { display: none !important }
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
	.col-lg-1 { width: calc(100% / 12 * 1) }
	.col-lg-2 { width: calc(100% / 12 * 2) }
	.col-lg-3 { width: calc(100% / 12 * 3) }
	.col-lg-4 { width: calc(100% / 12 * 4) }
	.col-lg-5 { width: calc(100% / 12 * 5) }
	.col-lg-6 { width: calc(100% / 12 * 6) }
	.col-lg-7 { width: calc(100% / 12 * 7) }
	.col-lg-8 { width: calc(100% / 12 * 8) }
	.col-lg-9 { width: calc(100% / 12 * 9) }
	.col-lg-10 { width: calc(100% / 12 * 10) }
	.col-lg-11 { width: calc(100% / 12 * 11) }
	.col-lg-12 { width: calc(100% / 12 * 12) }

	.hidden-lg { display: none !important }
}

a {
	text-decoration: none;
}

a.link:hover {
	text-decoration: underline;
}

a, button {
	color: inherit;
}

ul {
	list-style: none;
}

body > header {
	/*padding: 1rem 0;*/
	background-color: #fff;
}

@media (min-width: 768px) {
	body > header {
		/* padding: 2rem 0; */
	}
}

body > header > div.centered {
	display: flex;
	align-items: center;
}

@media (max-width: 768px) {
	body > header > div.centered {
		justify-content: space-between;
	}
}

body > header > div.centered > a.brand {
	display: block;
	background-image: url(/wp-content/themes/cres/images/logo-col-b.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	width: 18rem;
	height: 7rem;
}

@media (min-width: 768px) {
	body > header > div.centered > a.brand {
		width: 22rem;
		height: 8rem;
	}
}

body > header > div.centered > nav {
	display: none;
}

body > header > div.centered > button {
	width: 4rem;
	height: 4rem;
	background: transparent;
	color: #000;
	border: none;
}

body > header > div.centered > button:before {
	font-family: 'Font Awesome\ 5 Pro';
	font-size: 2.4rem;
	content: "\f0c9";
}

body > div[data-sheet] > div > button:hover {
	opacity: .6;
}

@media (min-width: 768px) {
	body > header > div.centered > nav {
		flex: 1;
		padding: 0 8rem;
		display: flex;
		align-items: center;
	}

	body > header > div.centered > nav > * {
		padding: 3rem 2rem;
		font-size: 2rem;
		font-weight: 600;
		border-radius: 8px;
		position: relative;
		cursor: pointer;
	}

	body > header > div.centered > nav a:hover {
		opacity: .6;
	}

	body > header > div.centered > nav > * > ul {
		position: absolute;
		display: none;
	}

	body > header > div.centered > nav > * > ul > li {
		display: block;
		/* margin-bottom: 1rem; */
		background: #ae236a;
		color: #9ec9c2;
		/* border-radius: 10px; */
	}

	body > header > div.centered > nav > * > ul > li:not(:last-of-type) {
		/* margin-bottom: 1rem; */
		background: #ffce04;
		color: #7214af;
		/* padding: 1rem; */
		/* border-radius: 10px; */
	}

	body > header > div.centered > nav > * > ul > li > a {
		display: block;
		padding: 2rem;
	}

	body > header > div.centered > nav > *:not(:last-of-type) {
		margin-right: 1rem;
	}

	body > header > div.centered > nav > *:hover {
		background-color: rgba(255,255,255,20%);
	}

	body > header > div.centered > nav > *:hover > ul {
		display: block;
		background: #2c2e31;
		/* padding: 2rem; */
		box-shadow: -4px 0px 8px #0000004a;
		top: 8rem;
		/* left: 0rem; */
		border-radius: 10px;
		overflow: hidden;
		/* white-space: nowrap; */
		text-transform: uppercase;
		font-weight: 700;
		max-width: 16rem;
	}

	body > header > div.centered > nav > span {
		display: flex;
		align-items: center;
		gap: 1rem;
	}

	body > header > div.centered > nav > span:after {
		font-family: 'Font Awesome\ 5 Pro';
		font-size: 2rem;
		content: "\f107";
		/* line-height: 1rem; */
		margin-top: .4rem;
	}

	body > header > div.centered > button {
		display: none;
	}
}

body > footer {
	background: #202122;
	color: #fff;
	font-size: 1.5rem;
}

body > footer > div.top > div.centered {
	display: flex;
	flex-wrap: wrap;
	padding-bottom: 4rem;
}

@media (min-width: 1024px) {
	body > footer > div.top > div.centered {
		padding-top: 6rem;
		padding-bottom: 4rem;
	}
}

body > footer > div.top > div.centered > section {
	width: 100%;
}

@media (max-width: 1024px) {
	body > footer > div.top > div.centered > section {
		margin-top: 6rem;
	}
}

@media (min-width: 1024px) {
	body > footer > div.top > div.centered > section {
		width: 20%;
		padding-right: 4rem;
	}
}

@media (min-width: 1024px) {
	body > footer > div.top > div.centered > section.company {
		flex: 2;
		padding-right: 8rem;
	}
}

body > footer > div.top > div.centered > section.company > a.brand {
	display: block;
	background-image: url(/wp-content/themes/cres/images/logo-col-w.png);
	background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
	width: 21rem;
    height: 8rem;
    margin-left: -1rem;
}

@media (min-width: 768px) {
	body > footer > div.top > div.centered > section.company > a.brand {
		width: 32rem;
		height: 10rem;
	}
}

body > footer > div.top > div.centered > section.company > p {
	padding: 1rem 0;
	color: #8a9499;
}

body > footer > div.top > div.centered > section > div.item {
	font-size: 1.6rem;
	display: flex;
    align-items: center;
	margin-top: 2rem;
}

body > footer > div.top > div.centered > section > div.item > i {
	font-size: 3rem;
	margin-right: 2rem;
}

body > footer > div.top > div.centered > section > h6 {
	font-size: 1.8rem;
}

body > footer > div.top > div.centered > section > ul {
}

body > footer > div.top > div.centered > section > ul > li {
	margin-top: 1.4rem;
}

body > footer > div.top > div.centered > section > ul > li > a {
	font-size: 1.5rem;
}

body > footer > div.top > div.centered > section > ul > li > a.icontext {
	display: flex;
	align-items: center;
	font-weight: 600;
	position: relative;
	z-index: 1;
}

body > footer > div.top > div.centered > section > ul > li > a.icontext:hover:before {
	content: '';
	position: absolute;
	left: -.6rem;
	top: -.6rem;
	right: -.6rem;
	bottom: -.6rem;
	z-index: -1;
	background: #272e32;
	border-radius: 6px;
}

body > footer > div.top > div.centered > section > ul > li > a.icontext > i {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
    border-radius: 4px;
    margin-right: 1rem;
}

body > footer > div.top > div.centered > section > ul > li > a > span {
	background: #e91e63;
	font-size: 1.1rem;
	line-height: 1.3rem;
	margin-left: .4rem;
	padding: .2rem .4rem;
	border-radius: 4px;
	display: inline-block;
}

body > footer > div.newsletter > div.centered > div {
	/*display: flex;
    align-items: center;
	gap: 4rem;*/
    background: #2c2e31;
    padding: 2rem 4rem;
    margin: 3rem 0;
    border-radius: 12px;
}

body > footer > div.newsletter > div.centered > div > div:nth-child(1) {
	flex: 2;
}

body > footer > div.newsletter > div.centered > div > div:nth-child(1) > b {
	font-size: 1.8rem;
}

body > footer > div.newsletter > div.centered > div > div:nth-child(1) > p {
	color: #8c8c8c;
}

@media (max-width: 1024px) {
	body > footer > div.newsletter > div.centered > div > div:nth-child(2) {
		padding-top: 2rem;
	}
}

@media (min-width: 1024px) {
	body > footer > div.newsletter > div.centered > div > div:nth-child(2) {
		flex: 1;
	}
}

body > footer > div.newsletter div.tnp-field-email {
	display: flex;
	align-items: center;
}

body > footer > div.newsletter div.tnp-field-email > * {
	padding: 1.2rem 2rem;
    font-size: 1.5rem;
    border: none;
    outline: none;
	font-weight: 500;
	border: 1px solid transparent;
}

body > footer > div.newsletter div.tnp-field-email > input[type="email"] {
	width: 100%;
	border-top-left-radius: 8px;
	border-bottom-left-radius: 8px;
}

body > footer > div.newsletter div.tnp-field-email > input[type="email"]:focus,
body > footer > div.newsletter div.tnp-field-email > input[type="email"]:hover {
	border-color: #e91e64;
}

body > footer > div.newsletter div.tnp-field-email > input[type="submit"] {
	border-top-right-radius: 8px;
	border-bottom-right-radius: 8px;
	background: #e91e64;
	color: #fff;
	cursor: pointer;
	width: max-content;
	/*height: 5.1rem;*/
}

body > footer > div.newsletter div.tnp-field-email > input[type="submit"]:hover {
	opacity: .8;
}

body > footer > div.newsletter div.tnp-privacy-field {
	margin-top: 1rem;
}	

body > footer > div.copy > div.centered {
	display: flex;
	align-items: center;
	padding-top: 2rem;
	padding-bottom: 2rem;
	font-size: 1.5rem;
	color: #ccc;
}

body > footer > div.copy > div.centered > span {
	font-size: inherit;
}

body > div#floating {
	background-color: #000;
	color: #fff;
	position: fixed;
	width: 8rem;
	right: 0;
	bottom: 4rem;
	display: flex;
	flex-direction: column;
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;
	box-shadow: -4px 0px 8px #0000004a;
	right: -8rem;
	transition: right 250ms ease-in-out;
}

body > div#floating > a.icontext {
	font-size: 1.3rem;
	/* font-weight: 600; */
	position: relative;
	z-index: 1;
	max-width: 12rem;
	padding: 2rem;
	display: flex;
	flex-direction: column;
	/* align-items: center; */
	/* text-align: center; */
	transition: opacity 250ms ease-in-out;
}

body > div#floating > a.icontext:hover {
	opacity: .6;
}

body > div#floating > a.icontext > * {
	font-size: inherit;
}

body > div#floating > a.icontext > div {
	display: block;
	background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
	width: 4rem;
    height: 4rem;
    margin-bottom: 1rem;
}

body > div#floating > a.icontext > div.whatsapp {
	background-image: url(/wp-content/themes/cres/images/whatsapp.png);
}

body > div#floating > a.icontext > div.linkedin {
	background-image: url(/wp-content/themes/cres/images/linkedin.png);
}

body > div#footer {
	display: none !important;
}