/*
Theme Name:  Tothem based on Divi All Purpose
Description: Tothem Divi Child Theme based on Divi All Purpose v1.0.1
version: 1.0.1
Author:      Divi Space (edited by Jasper Mijdam)
Author URI:  https://divi.space/
Template: Divi
*/ 

/* Web fonts */

/* didact-gothic-regular - latin */
@font-face {
  font-family: 'Didact Gothic';
  font-style: normal;
  font-weight: 400;
  src: url('../dap_tothem/fonts/didact-gothic-v19-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
	   url('../dap_tothem/fonts/didact-gothic-v19-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
	   url('../dap_tothem/fonts/didact-gothic-v19-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
	   url('../dap_tothem/fonts/didact-gothic-v19-latin-regular.woff') format('woff'), /* Modern Browsers */
	   url('../dap_tothem/fonts/didact-gothic-v19-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
	   url('../dap_tothem/fonts/didact-gothic-v19-latin-regular.svg#DidactGothic') format('svg'); /* Legacy iOS */
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Droid Sans', sans-serif
}

body, input, textarea, select {
	font-family: 'Didact Gothic', Helvetica, Arial, Lucida, sans-serif
}



/* Header color on other homepages */

.page-id-4891 #main-header {
	background: #1f437c !important;  /* Travel homepage */
}

.page-id-4653 #main-header {
	background: #1f437c !important;  /* Coffee homepage */
}

.page-id-4893 #main-header {
	background: #1f437c !important;  /* Yoga homepage */
}

/* Header fix 404 */
@media only screen and (min-width: 400px) {
	#main-header {
		padding-bottom: 2em !important;		
	}
}

/* Basics */

#page-container {
	overflow: hidden !important;
}

#main-content {
	background-color: transparent;
}

#main-content .container:before { 
	width: 0; 
} 

.et_pb_gutters4.et_pb_row_fullwidth.true-fullwidth-row,
.et_pb_gutters3.et_pb_row_fullwidth.true-fullwidth-row,
.et_pb_gutters2.et_pb_row_fullwidth.true-fullwidth-row,
.et_pb_row_fullwidth.true-fullwidth-row  {
	width: 100% !important;
	max-width: 100% !important;
}

@media (min-width: 981px) {
	.centered-row {
		display: flex;
		align-items: center;
	}
}

/* Rounded bg image row */

@media (min-width: 981px) {
	.rounded-bg-row.rounded-bg-left .content-col {
		margin-left: 0 !important;
		margin-right: auto !important;
	}
	.rounded-bg-row.rounded-bg-right .content-col {
		margin-left: auto !important;
		margin-right: 0 !important;
	}
}

@media (max-width: 981px) {
	.rounded-bg-row.rounded-bg-right .content-col ,
	.rounded-bg-row.rounded-bg-left .content-col {
		margin-left: auto !important;
		margin-right: auto !important;
		float: none;
	} 
	.rounded-bg-row .image-col {
		max-width: 95%;
		float: none;
	}
	.rounded-bg-row.rounded-bg-right .image-col {
		margin-left: auto !important;
		margin-right: 0 !important;	
	}
}

/* Services - Logo section */

@media (min-width:767px) {
	.services-logo-row.services-logo-3-col .services_logo {
		width: 33%; 
	}
}

@media (min-width:500px) and (max-width: 767px) {
	.services-logo-row.services-logo-3-col .services_logo {
		width: 50%; 
	} 
}

@media (min-width:500px) {
	.services-logo-row.services-logo-3-col .services_logo { 
		display: inline-block;
		padding: 10px;
	}
}

.services-logo-row .services_logo img {
	width: auto;
	height: 75px;
	object-fit: contain;
	object-position: center;
}

/* Services - Testimonial Slider */

.services_testimonial_slider p.author {
	font-size: 17px;
	font-weight: bold;
	padding-left: 5px;
	position: relative;
}

.services_testimonial_slider p.author span {
	display: block;
	font-size: 14px;
	font-weight: normal;
	opacity: 0.75;
}

.services_testimonial_slider .et_pb_slide_description,
.services_testimonial_slider .et_pb_slide_image {
	display: block;
	float: none;
	width: 100%;
	position: relative !important;
}

.services_testimonial_slider .et_pb_slide_image {
	margin-top: 15px !important;
} 

.services_testimonial_slider .et_pb_slide_image img {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: 50%;
}

.services_testimonial_slider .et_pb_slide_description {
	padding-top: 20px;
}
 