/*
Theme Name: DG Training Child Theme
Theme URI:  https://www.dg-training.co.uk/
Description:  Theme to support DG Training.
Author:  Creatomatic
Textdomain:  dg-training-2018-child
Author URI:  https://www.Creatomatic.co.uk
Template:  dg-training-2018
Version:  1.0
License:  GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html                 
*/


.dgt-new-container {
  display: grid;
  width: 100%;
  position: relative;
  grid-template-columns: calc(90% - 350px) 350px;
  gap: 50px 10%;
  margin-bottom: 100px;
}

.dgt-new-right-column .attendee input,
.dgt-new-right-column .variations #course {
	border: 2px solid #DADADA;
	padding: 10px 15px;
	box-sizing: border-box;
	width: 100%;
	font-family: 'Open Sans', 'Helvetica', 'Arial', serif;
	color: #545454;
	font-size: 14px;
	line-height: 1.4;
}

.dgt-new-right-column .attendee input::placeholder {
	color: #545454;
	font-family: 'Open Sans', 'Helvetica', 'Arial', serif;
}

.dgt-new-right-column .variations #course {
	margin-right: 0;
	width: 100%;
}

.dgt-new-right-column .attendee-inner label,
.dgt-new-right-column .variations label {
	display: none;
}

.dgt-new-right-column{
	position: sticky;
	top: 100px;
	vertical-align: top;
	box-shadow: 0 0 10px rgba(0,0,0,0.4);
	align-self: start;
	max-height: calc(100vh - 120px);
	overflow: scroll;
	-ms-overflow-style: none;  /* IE and Edge */
	  scrollbar-width: none;  /* Firefox */
}

.dgt-new-right-column::-webkit-scrollbar {
  display: none;
}

.dgt-new-image .woocommerce-product-gallery.woocommerce-product-gallery--with-images.images {
	width: 100%;
}

.dgt-new-variations {
	padding: 20px 20px 0;
}

.dgt-new-variations .attendee {
	border-bottom: none;
}

.woocommerce div.product .dgt-new-price p.price {
	text-align: right;
}

.dgt-new-duration {
	border-bottom: 1px solid #C9C9C9;
	padding-bottom: 20px;
	margin: 30px 0 40px 0;
	display: flex;
	gap: 10px;
	justify-content: flex-start;
}

.dgt-new-description {
	margin-bottom: 50px;
}

.woocommerce div.product .dgt-new-tabs .woocommerce-tabs,
.woocommerce div.product .dgt-new-tabs .woocommerce-tabs .panel {
	box-sizing: border-box;
	width: 100%;
}

.woocommerce div.product .dgt-new-tabs .woocommerce-tabs ul:first-child {
	padding: 0;
}

.woocommerce div.product .dgt-new-tabs .woocommerce-tabs ul li {
	list-style-type: disc;
}

.dgt-new-tabs ul.tabs {
	display: flex;
}

.woocommerce div.product .dgt-new-tabs .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 20px 20px;
	border-bottom: 1px solid #C9C9C9;
	flex: 1;
	text-align: center;
}

.woocommerce div.product .dgt-new-tabs .woocommerce-tabs ul.tabs li.active {
	border-bottom: none;
}

.dgt-new-tabs .woocommerce-tabs ul.tabs li a {
	color: #000 !important;
	padding: 0 !important;
}

.dgt-new-tabs .woocommerce-tabs ul.tabs li:not(.dgt-new-tabs .woocommerce-tabs ul.tabs li.active) {
	background-color: #EFEFEF !important;
}

.dgt-new-tabs .woocommerce-Tabs-panel {
	border-top: none !important;
}

.dgt-new-accreditations {
	background-color: #EFEFEF;
	padding: 40px 50px;
	margin: 50px 0;
}

.dgt-new-accreditations h2 {
	margin-bottom: 40px;
}

.dgt-new-accreditations .accreditations-container {
	display: grid;
	grid-template-columns: 150px calc(90% - 150px);
	gap: 20px 10%;
}

.dgt-new-accreditations .accreditation-image img {
	height: 70px;
	width: auto;
	object-fit: contain;
	max-width: 100%;
	object-position: top;
}

.dgt-new-accreditations .accreditations-container:not(:last-child) {
	margin-bottom: 50px;
}

.dgt-new-accreditations .accreditations-container .accreditations-text h3 {
	margin-bottom: 10px;
}

.cpd-attached-units {
	margin-top: 15px;
	font-weight: 600;
}

.dgt-new-tabs .woocommerce-tabs .panel {
	float: none !important;
}

.woocommerce div.product .dgt-new-variations form.cart .button {
	background-color: #F2A63B;
}





.dgt-new-variations .attendee input::placeholder{
	color: #6C6C6C;
}

.approved-courses-message {
	margin: 50px 0 0;
	font-weight: 600;
	font-style: italic;
}

.faq-container {
	background: #EFEFEF;
	margin-bottom: 15px;
}

.faq-title {
	padding: 25px 30px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	font-size: 18px;
	cursor: pointer;
}

.faq-title i {
	color: #F2A63B;
	font-size: 16px;
	font-weight: 400;
	-o-transition: .5s;
	-ms-transition: .5s;
	-moz-transition: .5s;
	-webkit-transition: .5s;
	transition: .5s;
	transform: rotate(0deg);
}

.faq-title.faq-title-active i {
	transform: rotate(45deg);
}

.faq-answer {
	padding: 0 30px 20px;
	display: none;
}

.dgt-new-faqs h2 {
	margin-bottom: 30px;
}

.woocommerce section.related {
	position: relative;
	z-index: 1;
	padding: 80px 0 60px;
}

.woocommerce section.related::before {
	background: #EFEFEF;
	position: absolute;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	height: 100%;
	z-index: -1;
	content: '';
	top: 0;
}

.woocommerce section.related h2 {
	text-align: left !important;
}

.page-content-product-new.page-content {
	margin-bottom: 0;
}

.woocommerce .dgt-new-image div.images {
	float: unset !important;
	margin-bottom: 0 !important;
}

.dgt-new-right-column .variations th.label {
	display: none;
}

.dgt-new-right-column .variations .reset_variations {
	display: none;
}


@media (max-width: 1200px) {
	.woocommerce div.product .dgt-new-tabs .woocommerce-tabs ul.tabs li {
		padding: 15px 10px;
	}
	
	.woocommerce div.product .dgt-new-tabs .woocommerce-tabs ul.tabs li a {
		font-size: 14px;
	}
	
	.dgt-new-accreditations .accreditations-container {
		grid-template-columns: 100%;
	}
}

@media (max-width: 900px) {
	.dgt-new-container {
		grid-template-columns: 100%;
	}
	
	.dgt-new-right-column {
		max-width: 600px;
		margin: auto;
		width: 100%;
		position: unset;
		max-height: unset;
	}
}

@media (max-width: 600px) {
	.woocommerce div.product .dgt-new-tabs .woocommerce-tabs ul.tabs li {
		padding: 15px 5px;
	}
	
	.woocommerce div.product .dgt-new-tabs .woocommerce-tabs ul.tabs li a {
		font-size: 12px;
	}
	
	.dgt-new-accreditations {
		padding: 40px 20px;
	}
}












