/*
 Theme Name:     Dozanu Child
 Theme URI:      https://www.dozanu.com/
 Description:    Dozanu Child Theme
 Author:         Dozanu
 Author URI:     https://www.dozanu.com/
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

/*-----------------------------------------------*/ 
/*-----Scrolling Module Carousel by Divi Soup----*/
/*--Source: https://divisoup.com/r41-how-to-create-a-scrolling-module-carousel-in-divi/ --*/
/*-----------------------------------------------*/
/*Carousel settings, adjust these values only*/
:root {
    --ds-module-number: 22; /*Your TOTAL number of modules, so if you have 8 modules duplicated, this number should be 16*/
    --ds-columns-desktop: 4; /*The number of modules you want displayed at any one time on desktop*/
    --ds-columns-tablet: 4; /*The number of modules you want displayed at any one time on tablet*/
    --ds-columns-mobile: 2; /*The number of modules you want displayed at any one time on mobile*/
    --ds-speed-desktop: 40s; /*The speed you want your carousel to move on desktop (increase value for slower, decrease for faster)*/
    --ds-speed-tablet: 40s; /*The speed you want your carousel to move on tablet (increase value for slower, decrease for faster)*/
    --ds-speed-mobile: 40s; /*The speed you want your carousel to move on mobile (increase value for slower, decrease for faster)*/
}
/**************************************************/
/*You do not need to edit anything below this line*/
/**************************************************/
/*Variables for desktop*/
@media all and (min-width: 981px) {
    :root {
        --ds-column-width: auto;
        --ds-module-width: calc(100vw / var(--ds-columns-desktop));
        --ds-column-animation: calc(var(--ds-module-width) - (var(--ds-module-width) * 2));
        --ds-scroll-speed: var(--ds-speed-desktop);
    }
}
/*Variables for tablets*/
@media all and (max-width: 980px) {
    :root {
        --ds-column-width: auto;
        --ds-module-width: calc(100vw / var(--ds-columns-tablet));
        --ds-column-animation: calc(var(--ds-module-width) - (var(--ds-module-width) * 2));
        --ds-scroll-speed: var(--ds-speed-tablet);
    }
}
/*Variables for mobile*/
@media all and (max-width: 479px) {
    :root {
        --ds-module-width: calc(100vw / var(--ds-columns-mobile));
        --ds-scroll-speed: var(--ds-speed-mobile);
    }
}
/*Hide the row overflow*/
.ds-carousel {
    overflow: hidden;
}
/*Define the grid and apply animation*/
.ds-carousel .et_pb_column {
    display: grid;
    grid-template-columns: repeat(var(--ds-module-number), var(--ds-module-width));
    width: var(--ds-column-width);
    -webkit-animation: scroll var(--ds-scroll-speed) linear infinite;
    animation: scroll var(--ds-scroll-speed) linear infinite;
}
/*Apply the module width*/
.ds-carousel .et_pb_module {
    width: var(--ds-module-width) !important;
}
/*Define the animation*/
@-webkit-keyframes scroll {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        -webkit-transform: translateX(calc(var(--ds-column-animation) * (var(--ds-module-number) / 2)));
        transform: translateX(calc(var(--ds-column-animation) * (var(--ds-module-number) / 2)));
    }
}
@keyframes scroll {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        -webkit-transform: translateX(calc(var(--ds-column-animation) * (var(--ds-module-number) / 2)));
        transform: translateX(calc(var(--ds-column-animation) * (var(--ds-module-number) / 2)));
    }
}
/*Pause animation on hover*/
.ds-carousel .et_pb_column:hover {
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
}
/*-----------------------------------------------*/ 
/*---End Scrolling Module Carousel by Divi Soup--*/ 
/*-----------------------------------------------*/


/*-----------------------------------------------*/ 
/*---Change logo for a sticky header--*/ 
/*-----------------------------------------------*/

.has_et_pb_sticky #header_logo .et_pb_menu__logo img{
	content:url(https://signinggroup.dozanuserver.com/wp-content/uploads/2021/01/TSG-Logomark-Black-2.png);
}

/*-----------------------------------------------*/ 
/*---End Change logo for a sticky header--*/ 
/*-----------------------------------------------*/