/*
Theme Name:     Divi - Photograph My Product
Description:    A custom Divi child theme for Photograph My Product
Author:         Cathie Heart of The Heart's Design
Author URI:		http://www.theheartsdesign.com/
Template:       Divi

(optional values you can add: Theme URI, Author URI, Version)
*/

@import url("../Divi/style.css");



 /* Typography Styling */





/* Nav Menu Settings */
 #et-secondary-menu {width: 100% !important;}
 #top-header #et-info { width: 100%; }
 #top-header .et-social-icons { float: right; }
 #et-secondary-menu .et-social-icons {margin-right: 0;}
 /* #top-header .et-social-icons a.icon:before { font-size: 20px; } */
 #top-header .et-cart-info { margin-top: -4px;}

/* Divi Column Background Fix */.et_parallax_bg.et_pb_parallax_css {background-size: cover !important; border: 0px solid #fff;}
/* Lightbox Level Fix */#fancybox-content {z-index: 5000;}


/*
* Remove sidebar on all archive pages
*/
.search #main-content .container::before,
.archive #main-content .container::before {
    display: none;
}
.search #left-area,
.archive #left-area {
    width: 100%;
    float: none;
    padding-right: 0;
}
.search #sidebar,
.archive #sidebar {
    display: none;
}



/*----------Super Slim Bloom Optin Form----------*/
/* Set the padding for the content */
.slim-optin-form  .et_bloom_form_container .et_bloom_form_content {    padding: 0px !important;}
/* Hide the header area */
.slim-optin-form  .et_bloom_form_container .et_bloom_form_header {   display: none !important;}
/* Set the font size of the optin text module */
.slim-optin-text {    padding-top: 15px !important;}
/* Set the margin for the optin form module */
.slim-optin-form  {    margin: 0px 0;}.slim-optin-form .et_bloom_inline_form {    margin: 10px 0;}
/* Add a little padding for smaller screens */@media only screen and (max-width: 1110px) {
.slim-optin-form  {    margin-bottom: 25px;	margin-top: 0px;}}
/* Set the font colour for the sucess and error messages */
.slim-optin-form  h2.et_bloom_success_message, h2.et_bloom_error_message {   color: #888 !important;}
/* Set the border radius for the sucess and error messages */
.slim-optin-form .et_bloom_form_container h2.et_bloom_error_message, h2.et_bloom_success_message {   border-radius: 0px !important;}
/* Hide the checkmark on success message */
.slim-optin-form .et_bloom_success_container.et_bloom_animate_success span.et_bloom_success_checkmark {    display: none;}


/* Slider Fixes.topslider .et_pb_slider {height: 100vh;}*/
/* OVERLAY STYLE */
.et_pb_blog_grid .et_pb_image_container {border: 0 !important;}

/*TOGGLES*/
/**************************** toggle custom 3 **************************/

.et_pb_toggle {
  font-size: 40px !important ;
    border: none;
    border-bottom: 0 !important;
    transition: 0.4s
}


  /* Widget Height Fix */
  .et_pb_widget select {height: auto;}


  /* Rolling Hero Carousel https://divisoup.com/r41-how-to-create-a-scrolling-module-carousel-in-divi/ */
  /*-----------------------------------------------*/
/*-----Scrolling Module Carousel by Divi Soup----*/
/*-----------------------------------------------*/


/*Carousel settings, adjust these values only*/

:root {
    --ds-module-number: 16; /*Your TOTAL number of modules, so if you have 8 modules duplicated, this number should be 16*/
    --ds-columns-desktop: 6; /*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: 30s; /*The speed you want your carousel to move on tablet (increase value for slower, decrease for faster)*/
    --ds-speed-mobile: 30s; /*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--*/
/*-----------------------------------------------*/
