/*
Theme Name: Divi Child By Monterey Premier
Theme URI: http://montereypremier.com/
Description: A Custom Child Theme For Divi
Author: Geno Quiroz
Author URI: http://montereypremier.com/
Template: Divi
Version: Updated for Divi 3
*/

/*------------------------------------------------*/
/*-------------------[GENERAL]--------------------*/
/*------------------------------------------------*/

/* Blurb Clickable Start Here */
.blurb_click:hover {cursor: pointer;}
/* Blurb Clickable END Here */

/* Style Widget Titles Start Here */
.widgettitle {
text-align:center;
font-size:18px;
padding-bottom: 15px;
border-bottom: solid 2px #000000;
margin-bottom: 15px;
}
/* Style Widget Titles END Here */

#commentform .comment-form-url {display:none;}

/*-----------------------------------------------*/ 
/*-----Scrolling Module Carousel by Divi Soup----*/ 
/*-----------------------------------------------*/
/*Carousel settings, adjust these values only*/
:root {
    --ds-module-number: 34; /*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: 60s; /*The speed you want your carousel to move on desktop (increase value for slower, decrease for faster)*/
    --ds-speed-tablet: 60s; /*The speed you want your carousel to move on tablet (increase value for slower, decrease for faster)*/
    --ds-speed-mobile: 60s; /*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--*/ 
/*-----------------------------------------------*/

/*------------------------------------------------*/
/*-----------------[HEADER-MENU]------------------*/
/*------------------------------------------------*/

/* Header Jumping Fix Start Here */
#page-container {
padding-top: 119px !important;
}

#main-header {
top: 39px !important;
}
/* Header Jumping Fix END Here */

/* Mobile Menu Icon Color Start Here */
span.mobile_menu_bar:before {
    color: #cfa208 !important;
}
/* --------------------------------- */

/* Header Number Hover Style Start Here */
#et-info-phone:hover { 
  opacity: 0.7; 
  -moz-transition: all 0.4s ease-in-out; 
  -webkit-transition: all 0.4s ease-in-out; 
  transition: all 0.4s ease-in-out; 
}
/* Header Number Hover Style END Here */

/* Mobile Header Scroll P1-Start Here */
@media (max-width: 980px) {
.et_non_fixed_nav.et_transparent_nav #main-header, .et_non_fixed_nav.et_transparent_nav #top-header, .et_fixed_nav #main-header, .et_fixed_nav #top-header {
    position: fixed !important; } }
/* Mobile Header Scroll P1-END Here */

/* Mobile Header Scroll P2-Fixes Small Device Start Here */
.et_mobile_menu {
    overflow: scroll !important;
    max-height: 60vh;
}
/* Mobile Header Scroll P2-Fixes Small Device END Here */

/* Mobile Logo Larger Start Here */
@media only screen and (max-width: 981px) {
#logo {

	max-height: 65px !important; /* change this to adjust the size */
	max-width: 80% !important; /* change this to adjust the size */
	padding-bottom: 0px !important; }
}
/* Mobile Logo Larger END Here */

/* Remove Search Icon on Mobile */
@media only screen and ( max-width: 768px ) {
    #et_top_search { display:none; }
}

/* Setting the breakpoint of the mobile menu */
@media only screen and ( max-width: 1050px ) {
#top-menu-nav, #top-menu {display: none;}
#et_top_search {display: none;}
#et_mobile_nav_menu {display: block;}
}
/* top bar icons and colors*/
.nearme1:before {
    font-family: "ETmodules";
	font-size: 25px;
	color: #666666;
	content: "\e081";
	padding-right: 5px;
}
.nearme2:before {
    font-family: "ETmodules";
	font-size: 25px;
	color: #ffffff;
	content: "\e081";
	padding-right: 5px;
}
/*------------------------------------------------*/
/*------------------[HOMEPAGE]--------------------*/
/*------------------------------------------------*/

/* ====================== POST SLIDER RELATED ====================== */

/* Slider Title */
.et_pb_slider_with_text_overlay h2.et_pb_slide_title {
padding: 40px 0px 0 0px;
}

/* Set the slider height */
.et_pb_slider, .et_pb_slider .et_pb_container { 
height: 305px !important; 
}
.et_pb_slider, .et_pb_slider .et_pb_slide { 
max-height: 305px; 
}
.et_pb_slider .et_pb_slide_description { 
position: relative; 
top: 25%; 
padding: 0 !important; 
height:auto !important; 
}

/* Fix the text description box to be at the bottom of the slide */
.et_pb_slider .et_pb_slide_description {
position: relative;
top: 75%;
}
.et_pb_slide_content {
padding-top: 5px !important;
}

.et_pb_slide_content a {
color: white !important;
text-decoration: underline;
font-weight: bold;
}

 /* ===================== END POST SLIDER RELATED ==================== */

/* ========= FIXED BUTTON SIZING HOME PAGE START ======== */
@media only screen and (min-width: 1100px) {
    .home-button-same .et_pb_button {
        min-width: 200px;
        max-width: 200px;
        text-align: center;
    }
}
@media only screen and (min-width: 980px) and (max-width: 1099px) {
    .home-button-same .et_pb_button {
        min-width: 190px;
        max-width: 190px;
        text-align: center;
    }
} 
@media only screen and (min-width: 768px) and (max-width: 979px) {
    .home-button-same .et_pb_button {
        min-width: 200px;
        max-width: 200px;
        text-align: center;
    }
}
@media only screen and (min-width: 480px) and (max-width: 767px) {
    .home-button-same .et_pb_button {
        min-width: 175px;
        max-width: 175px;
        text-align: center;
    }
}
@media only screen and (min-width: 320px) and (max-width: 479px) {
    .home-button-same .et_pb_button {
        min-width: 200px;
        max-width: 200px;
        text-align: center;
    }
}
@media only screen and (max-width: 319px) {
    .home-button-same .et_pb_button {
        min-width: 185px;
        max-width: 185px;
        text-align: center;
    }
} 
 /* ========= FIXED BUTTON SIZING HOME PAGE END ======== */

/*------------------------------------------------*/
/*------------------[SUBPAGES]--------------------*/
/*------------------------------------------------*/

/* Space between recent blog posts mobile Start Here */
@media only screen and (max-width: 768px) {
.custom_blog1 .et_pb_post {
margin-bottom: 25px !important;
}
}

@media only screen and (min-width: 768px) and (max-width: 980px) {
.custom_blog1 .et_pb_post {
margin-bottom: 25px !important;
}
}

@media only screen and (min-width: 980px) {
.custom_blog1 .et_pb_post {
margin-bottom: 25px !important;
}
}
/* Space between recent blog posts mobile End Here */

/* Recent Blog Posts Grid Same Size Desktop Start Here */
@media only screen and (min-width: 768px) {
.custom_blog1 .et_pb_post {
min-height: 570px;
max-height: 570px;
}
}
/* Recent Blog Posts Grid Same Size Desktop End Here */

/*------------------------------------------------*/
/*-------------------[Footer]---------------------*/
/*------------------------------------------------*/

/*—–Fixing bottom blog white space issue—–*/
.et_pb_post{
margin-bottom: -25px !important;
}

.single .post {
padding-bottom: 0px;
}

@media only screen and ( max-width: 980px) {
.single .post {
padding-bottom: 20px;
}
}
/*—–END Fixing bottom blog white space issue—–*/

/*------------------------------------------------*/
/*--------------------[RWD]-----------------------*/
/*------------------------------------------------*/


/*------------------------------------------------*/
/*------------------------------------------------*/
/*------------------------------------------------*/
/*--[ADD TUTORIAL CUSTOMIZATION BELOW THIS LINE]--*/
/*------------------------------------------------*/
/*------------------------------------------------*/
/*------------------------------------------------*/