/* Override */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap");

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

.color-accent,
.color-accent-hover:focus,
:root .has-accent-color,
.has-drop-cap:not(:focus):first-letter,
.wp-block-button.is-style-outline,
a {
	color: #0d47a1;
	text-decoration: none;
}

body:not(.overlay-header) .primary-menu > li > a,
body:not(.overlay-header) .primary-menu > li > .icon,
.modal-menu a,
.footer-menu a,
.footer-widgets a,
#site-footer .wp-block-button.is-style-outline,
.wp-block-pullquote:before,
.singular:not(.overlay-header) .entry-header a,
.archive-header a,
.header-footer-group .color-accent,
.header-footer-group .color-accent-hover:hover {
	color: #333;
}

.home .post-inner {
	padding-top: 0 !important;
}

/* Helpers */

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

.text-center:after {
	margin-left: auto;
	margin-right: auto;
}

[class*="col"] h1:nth-of-type(1),
[class*="col"] h2:nth-of-type(1),
[class*="col"] h3:nth-of-type(1),
[class*="col"] h4:nth-of-type(1) {
	margin-top: 0 !important;
}

/* My Style*/

body:not(.wp-admin) {
	font-family: "Poppins", sans-serif;
	font-size: 1.6rem;
}

.section {
	padding: 3em 0;
}

.section-promo {
	background: #0d47a1 url("../../assets/images/globus.png") no-repeat center
		center;
	color: #fff;
	text-align: center;
}

.section-courses {
	background-color: #f3f6fb;
}

.section-aboutus {
}

.section-prefooter {
	background-color: #efefef;
}

.postlist-box .title {
	color: #2d2d2d;
}

/* -------------------------------------------------------------------------- */

/*	Heading underline
/* -------------------------------------------------------------------------- */

.section h2 {
	display: flex;
	flex-direction: column;
}

.section h2:after {
	content: "";
	width: 100px;
	height: 2px;
	background-color: #e82944;
	margin-top: 0.75em;
	margin-bottom: 0.75em;
}

/* -------------------------------------------------------------------------- */

/*	POSTLIST
/* -------------------------------------------------------------------------- */

.postlist {
	margin: 2em 0;
}

.postlist .item {
	background: #fff;
	border: 1px solid #e6e6e6;
	border-radius: 5px;
	padding: 2em;
}

/* POSTLIST: Box ---------------------------- */

.postlist-box .title {
	height: 54px;
	display: block;
}

.postlist-box .item-bottom {
	border-top: 1px solid #ccc;
	margin-bottom: -2em;
	margin-left: -2em;
	margin-right: -2em;
	margin-top: 2em;
	padding: 1.5em 1em;
}

.postlist-box .item {
	background: #fff;
	border: 1px solid #e6e6e6;
	border-radius: 5px;
	padding: 2em;
}

.postlist-box .item {
	margin-bottom: 2em;
}

.postlist-box .title {
	font-size: 17px;
	font-weight: 600;
}

.postlist-box .acc {
}

.postlist-box .acc {
	margin: 0.5em 0 2em;
}

.postlist-box .link {
	white-space: nowrap;
	color: #979797;
}

.postlist-box .price {
	white-space: nowrap;
	font-weight: 700;
	color: #0d47a1;
}

.postlist-box .date,
.postlist-box .author {
	display: flex;
	align-items: center;
	margin: 0.5em 0;
}

.postlist-box .date:before {
	content: url("../../assets/images/time.png");
	margin-right: 0.5em;
}

.postlist-box .author:before {
	content: url("../../assets/images/user.png");
	margin-right: 0.5em;
}

/* POSTLIST: Article ---------------------------- */

.postlist-article {
}

.postlist-article > div {
	width: 100%;
}

.postlist-article .item {
	padding: 24px;
	background-color: #f3f6fb;
}

.postlist-article .date {
	float: left;
	overflow: hidden;
	background-color: #0d47a1;
	color: #fff;
	width: 55px;
	height: 55px;
	border-radius: 3px;
	flex-direction: column;
	margin-right: 1em;
	margin-top: 0;
	margin-bottom: 0;
	justify-content: center;
	line-height: 20px;
}

.postlist-article .date:before {
	display: none;
}

.postlist-article .date span:nth-child(1) {
	font-weight: 700;
}

.postlist-article .date span:nth-child(2) {
	font-size: 14px;
}

.postlist-article p {
	clear: both;
}

.postlist-article .title {
	height: 55px;
	display: flex;
	align-items: center;
	padding-bottom: 5px;
	margin-bottom: 1em;
}

.answer-option input[type="checkbox"]:checked::before {
	display: none;
}

/* -------------------------------------------------------------------------- */

/*	BUTTONS
/* -------------------------------------------------------------------------- */

p > .btn {
	margin-top: 0.5em;
}

input[type="button"],
.button,
.lp-button,
.btn {
	padding: 10px 20px;
	border-radius: 5px;
	font-weight: 600;
	text-transform: uppercase;
	display: inline-block;
	white-space: nowrap;
	cursor: pointer;
	border: none;
	line-height: 30px;
	font-size: 18px;
}

.btn-link {
	color: #0d47a1;
	text-transform: none;
	text-decoration: underline;
	font-weight: 400;
	padding: 0;
}

.btn-link:hover {
	text-decoration: none;
}

input[type="button"],
.button {
	color: #fff;
	background-color: #e82944;
}

.btn-primary {
	color: #e82944;
	border: 1px solid #e82944;
}

.btn-primary:hover {
	background-color: #e82944;
	color: #fff;
	border: 1px solid #e82944;
}

.post-type-block #major-publishing-actions,
.post-type-block .misc-pub-section,
.post-type-block .inline-edit-row fieldset label.inline-edit-status {
	display: none !important;
}

/* grayscale */

img.grayscale {
	filter: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='grayscale'><feColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0'/></filter></svg>#grayscale"); /* Firefox 3.5+ */
	filter: gray; /* IE6-9 */
	-webkit-filter: grayscale(100%); /* Chrome 19+ & Safari 6+ */
	opacity: 0.75;
}

img.grayscale:hover {
	filter: none;
	-webkit-filter: grayscale(0%);
}

/* -------------------------------------------------------------------------- */

/*	FOOTER
/* -------------------------------------------------------------------------- */

.footer {
	background-color: #393939;
	color: #fff;
	padding: 4em 0;
	font-size: 1.2rem;
	color: #adadad;
}

.footer a {
	color: #d8d8d8;
}

.footer a:hover {
	color: #fff;
}

.pagination-single {
	margin-bottom: 4em;
}

/* -------------------------------------------------------------------------- */

/*	LEARNPRESS
/* -------------------------------------------------------------------------- */

.learnpress button {
	cursor: pointer;
	padding: 10px 20px;
	border-radius: 5px;
	font-weight: 600;
	text-transform: uppercase;
	display: inline-block;
	white-space: nowrap;
	color: #fff;
	border: 1px solid #e82944;
}

.learnpress button:hover {
	background-color: #e82944;
	color: #fff;
	border: 1px solid #e82944;
}

.link-profile {
	display: none;
}

.logged-in .link-profile {
	display: block;
}

.link-profil {
	white-space: nowrap;
	display: inline-block;
	padding: 10px 20px;
}

#learn-press-profile-header {
	display: none;
}

#learn-press-profile-nav {
	padding-top: 0;
	position: relative;
	z-index: 50;
}

#learn-press-profile-nav .tabs > li a {
	color: #333;
}

#learn-press-profile-nav .tabs > li ul li.active a,
#learn-press-profile-nav .tabs > li ul li:hover a {
	color: #e82944;
}

#learn-press-profile-nav .tabs > li {
	margin-left: 0;
}

.controls {
	display: inline-block;
	margin-top: 5px;
	margin-left: 2em;
}

.controls div {
	font-size: 0;
	padding: 10px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 45px;
	height: 45px;
	background-color: #ddd;
	cursor: pointer;
	border-radius: 3px;
}

.controls div:before {
	font-family: "FontAwesome", sans-serif;
	font-size: 30px;
	font-weight: 700;
}

.controls div:hover {
	background-color: #e82944;
	color: #fff;
}

.controls div.disabled {
	opacity: 0.5;
	cursor: default;
}

.controls div.disabled:hover {
	background: #ddd;
	color: #333;
}

.profile-heading {
	font-size: 3rem;
}
