/*
 Theme Name:   Understrap Child
 Theme URI:    https://understrap.com
 Description:  Understrap Child Theme
 Author:       the Understrap Contributors
 Author URI:   https://github.com/understrap/understrap-child/graphs/contributors
 Template:     understrap
 Version:      1.1.16
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  understrap-child
 Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
 GitHub Theme URI: understrap/understrap-child
*/

@font-face {
	font-family: 'DM Serif Display';
	src: url(fonts/DMSerifDisplay-Regular.ttf);
}



/* BACKGROUND + TYPOGRAPHY */

html, body {
	height: 100%;
	color: #212121;
	box-sizing: border-box;
}

body {
	background-color: #fafafa;
}

h1 {
	font-family: 'DM Serif Display', sans-serif;
	font-size: 3rem;
	font-weight: 400;
}

h2 {
	font-family: 'DM Serif Display', sans-serif;
	font-size: 2.5rem;
	font-weight: 400;
}

h3 {
	font-family: 'DM Serif Display', sans-serif;
	font-size: 2rem;
	font-weight: 400;
}

h4 {
	font-size: 1.75rem;
	font-weight: 400;
}

h5 {
  	font-size: 1.5rem;
  	font-weight: 400;
}

h6 {
  	font-size: 1.25rem;
  	font-weight: 400;
}

p, a, input {
  	padding: 0px;
  	margin: 0px;
  	text-decoration: none;
}

a {
	color: #607DB8;
}

a:hover {
	text-decoration: none;
	cursor: pointer;
	color: #1976D2;
}

.text-white {
	color: #ffffff;
}

.text-black {
	color: #000000;
}

.text-light {
	color: #FAFAFA !important;
}

.text-dark {
	color: #212121 !important;
}

.fs-12 {
	font-size: 12px;
}

.fs-14 {
	font-size: 14px;
}

.fs-16 {
	font-size: 16px;
}

.fs-18 {
	font-size: 18px;
}

.fs-20 {
	font-size: 20px;
}

.fw-bold {
	font-weight: 700 !important;
}

.fw-semibold {
	font-weight: 600 !important;
}

.fw-normal {
	font-weight: 400 !important;
}

.fw-light {
	font-weight: 300 !important;
}

.font-unset {
	font-family: unset;
}

.font-heading {
	font-family: 'DM Serif Display';
}

.font-italic {
	font-style: italic;
}

.bg-primary {
	background-color: #364968 !important;
	color: #fafafa !important;
}

.bg-secondary {
	background-color: #fddf97 !important;
	color: #212121 !important;
}

.bg-light-1 {
	background: #FAFAFA !important;
	color: #212121;
}

.bg-light-2	{
	background: #F5F5F5 !important;
	color: #212121;
}

.bg-dark-1 {
	background: #161616 !important;
	color: #fafafa;
}

.bg-dark-2 {
	background: #212121 !important;
	color: #fafafa;
}

.hr-light {
	background-color: #FAFAFA !important;
	width: 5rem;
	margin-top: 1.5rem;
	margin-bottom: 2rem;
}

.hr-dark {
	background-color: #212121 !important;
	width: 5rem;
	margin-top: 1.5rem;
	margin-bottom: 2rem;
}

.hr-left {
	margin-left: 0;
}

.hr-right {
	margin-right: 0;
}



/* NAVBAR */

.navbar-brand {
	font-family: 'DM Serif Display', sans-serif;
	padding: 0;
}

.navbar-brand img {
	width: auto;
	height: 38px;
}

.navbar-nav li a {
	font-family: 'DM Serif Display', sans-serif;
}

.navbar-btn {
	margin-left: 0.75rem !important;
	margin-top: 0;
}

.navbar-btn a {
	text-align: center;
	justify-content: center;
	padding-left: 0.75rem !important;
	padding-right: 0.75rem !important;
}

.navbar-btn.text-light a {
	color: #fafafa !important;
}

.navbar-btn.text-dark a {
	color: #212121 !important;
}

.dropdown-menu {
	border-radius: 0;
	padding: 0;
	margin: 0;
	border: 0;
	background-color: #364968;
}

.dropdown-item {
	padding-bottom: 0.5rem;
	padding-top: 0.5rem;
	color: #fafafa;
}

.dropdown-item:focus, .dropdown-item:hover {
	color: #212121;
	background-color: #fddf97;
}

.dropdown-toggle::after {
	content: "\f107";
	font-family: 'FontAwesome';
	margin-left: 0.25rem;
	vertical-align: 0;
	border: 0;
}

.navbar-toggler {
	border: 0;
}

.navbar-toggler-icon {
	background: none !important;
}



/* BUTTON */

.btn {
	border-radius: 0;
	font-family: 'DM Serif Display', sans-serif;
	padding-right: 30px;
	padding-left: 30px;
	word-spacing: 4px;
}

.btn.bg-secondary:hover {
	border-width: 1px;
	border-color: #212121;
	background-color: transparent !important;
}

.adx-loadmore {
	margin-bottom: 2rem;
}

.adx-loadmore-btn.loadmore-loading {
	background-color: transparent !important;
	border-color: transparent !important;
	color: #212121;
	cursor: default !important;
}



/* PAGE BANNER */

.page-banner {
	min-height: auto;
}

.page-banner-item {
	height: 100%;
	width: 100%;
	overflow: hidden;
	position: relative;
}

.page-banner-tilt {
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3rem), 0 100%)
}

.page-banner-overlay {
	height: 100%;
	background-color: rgba(0,0,0,0.5);
}

.page-banner-content {
	padding-top: 8rem;
	padding-bottom: 4rem;
}

.page-banner.page img {
	position: absolute;
	min-height: 100%;
	min-width: 100%;
	left: -100%;
	right: -100%;
	top: -100%;
	bottom: -100%;
	margin: auto;
	z-index: -1;
	object-fit: cover;
}



/* CARD FOR BLOG PAGE */

.card {
	border: none;
	border-radius: 8px;
}

.card img {
	transition: all 0.25s;
	aspect-ratio: 16/9;
	object-fit: cover;
	border-radius: 8px;
}

.card:hover img {
	transform: scale(1.05);
}

.line-clamp-2 {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}



/* ELEMENTOR */

.elementor-message:before {
	content: unset !important;
}



/* ANIMATIONS */

.loadmore-container .post-reveal {
	-webkit-transition: all 320ms ease;
	-moz-transition: all 320ms ease;
	-ms-transition: all 320ms ease;
	-o-transition: all 320ms ease;
	transition: all 320ms ease;
	-webkit-transform: translateY(100px);
	-moz-transform: translateY(100px);
	-ms-transform: translateY(100px);
	-o-transform: translateY(100px);
	transform: translateY(100px);
	opacity: 0;
}

.loadmore-container .post-reveal.reveal-post {
	-webkit-transform: translateY(0);
	-moz-transform: translateY(0);
	-ms-transform: translateY(0);
	-o-transform: translateY(0);
	transform: translateY(0);
	opacity: 1;
}



/* MEDIA QUERY */

@media (min-width: 767.98px) {
	.dropdown-menu {
		margin-top: 16px;
	}

	.dropdown-menu li a {
		padding-bottom: 0.5rem;
		padding-top: 0.5rem;
	}
}

@media (max-width: 767.98px) {
	.navbar-btn {
		margin-left: 0;
		margin-top: 0.5rem;
	}
}

@media (max-width: 576px) {
	.card:hover img {
		transform: unset;
	}
}

