/*
 Theme Name:     Handlangers Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Handlangers Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */

/* Center WP PDF Embedder container */

.pdfemb-viewer {
  margin: 0 auto !important;
}
span.video {
    font-family: "Joyride";
    color: white !important;
    background: black;
    padding-left: 40px;
    padding-right: 40px;
    margin-left: -20px;
    border-radius: 50px;
}

.container__videos {
    display: flex;
    justify-content: space-between;
	flex-wrap: wrap;
}

.container__videos > .card {
    flex-basis: 32%;
    padding-bottom: 80px;
}
@media only screen and ( max-width: 1200px ) {
	.container__videos > .card {
		flex-basis:49%;
		padding-bottom: 30px;
	}
}
@media only screen and ( max-width: 700px ) {
	.container__videos > .card {
		flex-basis:auto;
	}
}
@media only screen and ( max-width: 1257px ) {
	p span.wavy{
		display: block;
		width: fit-content;
		margin-bottom: 50px;
		}
		p span.wavy:after{
	    background-repeat: repeat-x;
	}
}
@media only screen and (max-width:980px) {
	.chapter-section-cta{
		min-height:0px;
	}
}

.card a {
    color: black;
}

p.company {
    font-size: 13px;
    border: 1px solid;
    width: fit-content;
    padding: 3px 8px;
    border-radius: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    line-height: 1;
}
@media only screen and ( max-width: 533px ) {
	.chapter-section-2 .col-a ul li a{
		display: inline-block;
		line-height: 1;
		margin-bottom: 10px;
	}
	.section-1 h1 span{
		font-size: 35px;
		line-height: 2em;
	}
	.section-1 h1{
		font-size:24px !important;
	}
	.section-1 h1 img{
	    position: absolute;
		top: -70px;
		right: -20px;
		max-width: 35vw;
	}	   
	.et_pb_text_1:after{
	    right: 0 !important;
		background-size: 200px 100%;
	}
	.footer-address p {
		font-size: 15px !important;
	}
}
.video-overlay:before {
    content: '';
    position: absolute;
    width: 100%;
    height:100%;
    background: url(/wp-content/uploads/2023/10/overlay.png);
    background-size: contain;
}
.card:hover .video-overlay:before {
    background: unset;
}

.video-overlay {
    position: relative;
}