/*
 Theme Name:   Fitzpatrick Group
 Theme URI:    http://divi.space/
 Description:  A Child Theme built for Divi on Divi Space
 Author:       M R K Websites
 Author URI:   https://mrkwebsites.com/
 Template:     Divi
 Version:      1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

/* FONTS */


/* Angled lines */
 
    #et-main-area { overflow: hidden;} /* Hides all the items that float over the right margin */
 
    .diagonal-shadow::before,
    .diagonal-shadow::after {
        position: absolute;
        content: '';
        pointer-events: none;}
 
    .diagonal-shadow {
        z-index: 1;
        padding-top: 6em;
        background: rgba(79,37,142,0.5);}
 
    .diagonal-shadow::before, 
        .diagonal-shadow::after {
        top: 0;
        left: -25%;
        z-index: -1;
        width: 150%;
        height: 75%;
        background: inherit;
        -webkit-transform: rotate(-2deg);
        transform: rotate(-2deg);
        -webkit-transform-origin: 0 0;
        transform-origin: 0 0;}
 
    .diagonal-shadow::before {
        height: 50%;
        background: rgba(79,37,142,0.74);
        -webkit-transform: rotate(-3deg);
        transform: rotate(-3deg);
        -webkit-transform-origin: 3% 0;
        transform-origin: 3% 0;}

.ss-style-boxes::before,
.ss-style-boxes::after {
        position: absolute;
        content: '';
        pointer-events: none;}

.ss-style-boxes {
	padding-top: 4em;
	padding-bottom: 13em;
}

.ss-style-boxes::before {
	bottom: 0;
	left: 0;
	width: 100%;
	height: 50px;
	background-image: -webkit-gradient(linear, 100% 0, 0 100%, color-stop(0.5, #4f258e), color-stop(0.5, #414141));
	background-image: linear-gradient(to right, #4f258e 50%, #414141 50%);
	-webkit-background-size: 130px 100%;
	background-size: 130px 100%;
}
.service_block .et_pb_main_blurb_image img{
    		border-radius: 10px;
    		-webkit-border-radius: 10px;
    		-moz-border-radius: 10px;
}

.service_block{
    		border-radius: 15px;
    		-webkit-border-radius: 15px;
    		-moz-border-radius: 15px;
}
@media (min-width:981px){
	.service_block{
    		min-height: 500px;
	}
}
@media (max-width:980px) and (min-width:707px){
	.service_block{
    		min-height: 570px;
	}
}
@media (max-width:705px) and (min-width:610px){
	.service_block{
    		min-height: 580px;
	}
}
@media (max-width:609px) and (min-width:480px){
	.service_block{
    		min-height: 500px;
	}
}
@media (max-width:479px){
	.service_block{
    		min-height: auto;
	}
}

/*---------- [Testimonial Slider ]----------*/
    
    .testimonial-slider,
    .testimonial-slider .et_pb_container {
        height: auto !important;
    }
    .testimonial-slider,
    .testimonial-slider .et_pb_slide {
        max-height: auto;
        border: 0px solid #fff;
        outline: 0px solid #000;
    }
    .testimonial-slider .et_pb_slide_description {
        position: relative;
        top: 25%;
        padding-top: 20px !important;
        padding-bottom: 10px !important;
        height: auto !important;
    }

    .testimonial-slider .et_pb_testimonial_portrait {
        display: block;
        position: relative;
        width: 125px !important;
        height: 125px !important;
        background-repeat: no-repeat;
        background-position: center;
        margin: 10px auto;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        background-size: cover;
        float: none;
    }
	.testimonial-slider .et_pb_testimonial_testimonial{
        text-align: left;
    }
    .testimonial-slider .et_pb_testimonial_author{
        text-align: right;
        padding-bottom:50px !important;
    }
	.testimonial-slider .et-pb-controllers a {
        border-radius: 0px;
    }

/* Header shadow */
.hshadow h1, 
.hshadow h2,
.hshadow h3,
.hshadow h4,
.hshadow h5,
.hshadow .et_pb_fullwidth_header_subhead{
text-shadow: 2px 2px rgba(0,0,0,.50);
}