/*
Theme Name:     OUITC Archive Child
Theme URI:      https://www.elegantthemes.com/gallery/divi/
Description:    Child theme for Divi
Author:         ads creative solutions
Author URI:     https://adsoxford.co.uk
Template:       Divi
Version:        1.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@200..800&display=swap');

body, input, textarea, select {
	font-family: "Plus Jakarta Sans", sans-serif !important;
}

body h1, body h2, body h3, body h4, body h5, body h6 {
	font-family: 'PosterPlainRegularJNL' !important;
}

.hidden {
	display: none !important;
}

.template-background-image img {
	object-fit: cover;
	object-position: top;
	max-height: 800px;
}

.breadcrumbs span,
.breadcrumbs a {
	color: #001626 !important;
}

.et_pb_button:after {
	font-size: 18px !important;
	line-height: 1.5 !important;
}

.otgs-development-site-front-end {
	display: none !important;
}

@media only screen and (max-width: 1500px) {
	.home .quick-links h2 {
		font-size: 34px;
		width: min-content;
		overflow-wrap: break-word;
	}
}

@media only screen and (max-width: 1320px) {
	.home .quick-links h2 {
		font-size: 32px;
	}
}

@media only screen and (max-width: 980px) {
	.home .quick-links h2 {
		font-size: 34px;
	}
}

@media only screen and (max-width: 767px) {
	.home .quick-links h2 {
		font-size: 32px;
	}
	.home .quick-links .et_pb_column {
		width: 100% !important;
		margin-bottom: 40px !important;
		margin-right: 0 !important;
	}
}

/* ----- COOKIE POPUP ----- */
#cookie-law-info-bar {
	border-top: 5px solid #ffde00;
	box-shadow: none;
}

/* ----- WOOCOMMERCE ----- */
.et-cart-info {
	display: none;
}


/* ----- RIBBON ----- */
.ou-pennant {
	position:relative;
	color: #fff;
	text-transform: uppercase;
	font-weight: 600;
	background: #002757;
	padding: 10px 10px 10px 12px;
	margin-top: 10px;
	margin-bottom: 0px;
	display: inline-block;
}
.ou-pennant:after {
	width: 0; 
	height: 0; 
	border-top: 16px solid transparent;
	border-bottom: 16px solid transparent;
	border-left: 8px solid #002757;
	position: absolute;
	right: 0;
	transform: translateX(100%);
	content: '';
	top: 0;
}

/* ----- MOBILE COLUMNS ----- */
@media all and (max-width: 980px) {
	/*** wrap row in a flex box ***/
	.custom_row {
		display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-webkit-flex-wrap: wrap; /* Safari 6.1+ */
		flex-wrap: wrap;
	}

	/*** custom classes that will designate the order of columns in the flex box row ***/
	.first-on-mobile {
		-webkit-order: 1;
		order: 1;
	}

	.second-on-mobile {
		-webkit-order: 2;
		order: 2;
	}

	.third-on-mobile {
		-webkit-order: 3;
		order: 3;
	}

	.fourth-on-mobile {
		-webkit-order: 4;
		order: 4;
	}
	/*** add margin to last column ***/
	.custom_row:last-child .et_pb_column:last-child {
		margin-bottom: 30px;
	}

}

/* ----- NUMBER COURNTER ----- */
.et_pb_number_counter.et_pb_with_title .percent {
	margin-bottom: 0px !important;
}

/* ----- BLURBS ----- */
.et_pb_blurb_content {
	margin: 0px !important;
}

/* ----- CONTACT FORM ----- */
.gform_wrapper .gform_footer {
	margin: 7px 0px 0px 0px !important;
	padding: 0px !important;
}

/* ----- HR LINE ----- */
hr.seperator-line {
	border: 0;
	height: 2px;
	background-color: #ffed00;
	width: 55%;
	margin-left: 0px;
	margin-bottom: 30px;
	margin-top: 30px;
}

/* ----- FAQ ACCORDIAN ----- */
.et_pb_toggle_open .et_pb_toggle_title:before {
	display: block !important;
	content: "e04f";
}

/* ----- NEWSLETTER BLOCK ----- */
.mc-button {
	width: 100%;
	padding: 12px 0px;
	color: #002757;
	border: none !important;
	border-radius: 3px;
	background-color: #ffed00;
}

#mc_embed_signup form {
	padding: 20px 0px 10px 0px !important;
}

#mc_embed_signup input.email {
	margin: 0px !important;
	width: 100% !important;
	padding: 7px 7px !important;
}

/* ----- FORM STYLE ----- */
.gfield_select {
	padding-top: 7px !important;
	padding-bottom: 7px !important;
}

/* ----- VIDEO YOUTUBE ----- */
.et_post_video {
	margin: 20px 0px;
}

/* ----- EVENT PAGE ----- */
.et-db #et-boc .et-l .et_pb_code_2 {
	padding: 0px !important;
}