/*
 Theme Name:     Divi Child Theme
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.301
*/
 
/* =Theme customization starts here
------------------------------------------------------- */
#QuizPanel {
  display:block;
}

#clockbox {
  float:left;
  display:block;
  width:100%;
  text-align:center;
  font-size: 14px;
  color: #f00;
  font-weight:700;
  background-color: #fff;
  border-radius:8px;
  padding:8px;
  }

/* 	Remove the header box-shadow that creates a line above the content */
header#main-header.et-fixed-header, #main-header{
	-webkit-box-shadow:none !important;
	-moz-box-shadow:none !important;
	box-shadow:none !important;
}

/* 	
	Remove the down arrow from navigation headers 
	to conserve navigation space.
	Also, fix padding issues with menu items that
	have child items (submenus)
*/
#top-menu .menu-item-has-children > a:first-child::after, .fullwidth-menu .menu-item-has-children > a:first-child::after, #et-secondary-nav .menu-item-has-children > a:first-child::after {
display: none;
	padding-right:0px !important;
}


#top-menu li {
    padding-right: 0px;
	margin-left: -4px;
}

ul#top-menu li.menu-item { 
    padding-right: 0px !important; 
}

 #top-menu li, #top-menu li a {
 font-size: 14px;
 padding-right: 15px;
 }

ul#top-menu li.menu-item:not(:last-child) { 
    padding-right: 0px !important; 
}


.ec-size .ec-store.ec-store__category-page--0 .ec-grid .grid__categories {
display: none;
}

/*blog image aspect ratio landscape 16:9*/
.pa-blog-image-16-9 .entry-featured-image-url {
  padding-top: 56.25%;
  display: block;
}

.pa-blog-image-16-9 .entry-featured-image-url img {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
}

/*blog image aspect ratio landscape 4:3*/
.pa-blog-image-4-3 .entry-featured-image-url {
  padding-top: 75%;
  display: block;
}

.pa-blog-image-4-3 .entry-featured-image-url img {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
}


/******** KIOSK PAGE SETTINGS ************/
#kiosk {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}


/*************************************/
/*** Custom Cards for Rescues Grid ***/
/*************************************/
/* This is for laying out each of the 
    critter cards on the Rescues page
*/

#flexgrid .birthday_month_collection {
    margin-top:24px;
    margin-bottom:36px;
    width:100%;
    border-top: 2px solid #ccc;
  }

#flexgrid .birthday_month_collection .header {
    font-size:2em;
    font-weight:700;
    color:#900;
    padding:8px 0;
  }

  #flexgrid .rescue_card_collection {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 30px 30px;
  }
  
  #flexgrid .rescue_card_wrapper {
    display: inline-block;
    position: relative;
    border-radius:16px;
    transition: transform .2s;
  }

 #flexgrid .dog {
    background-color:#394D59;
  }

  #flexgrid .wolf {
    background-color:#36779F;
  }

 #flexgrid .coyote {
    background-color:#7198B0;
  }

  #flexgrid .coydog {
    background-color:#548eb3;
  }

 #flexgrid .dingo {
    background-color:#5A798C;
  }

 #flexgrid .singer {
    background-color:#4AA2D9;
  }

 #flexgrid .fox {
    background-color:#8BBBD9;
  }

  #flexgrid .light_pipe {
    color:#ccc;
  }

  #flexgrid .rescue_card {
    /* critter name area */
    border-radius:0 0 16px 16px;
    width:100%;
    color:#fff;
    padding: 0 0 10px 1em;
    font-size:1.1em;
    font-weight:600;
    line-height:.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  }

  #flexgrid .rescue_card_birthday_name {
    /* critter name area */
    border-radius:0;
    width:100%;
    color:#fff;
    padding: 0 0 10px 1em;
    font-size:1.1em;
    font-weight:600;
    line-height:.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  }

  #flexgrid .rescue_card_birthday_info {
    /* critter birthday area */
    border-radius:0 0 16px 16px;
    width:100%;
    color:#fff;
    padding: 0 0 10px 1em;
    font-size:.9em;
    font-weight:400;
    line-height:1.1em;
  }

  #flexgrid .rescue_card_special {
    position: absolute;
    top:-20px;
    left:50%;
    right:-20px;
  }

  #flexgrid .rescue_card_sponsor_count {
    position: absolute;
    top:8px;
    left:8px;
    font-size:2em;
    color:#fff;
    text-shadow: 0px 0px 4px #000;
  }

  #flexgrid .rescue_card_birthday_date {
    position: absolute;
    top:8px;
    left:8px;
    font-size:2em;
    color:#fff;
    text-shadow: 0px 0px 4px #000;
  }

  #flexgrid .rescue_card_birthday_year {
    position: absolute;
    top:8px;
    right:8px;
    font-size:1.4em;
    color:#fff;
    text-shadow: 0px 0px 4px #000;
    opacity: 0.7;
  }

  #flexgrid .rescue_card_birthday_age {
    position: absolute;
    bottom:32px;
    right:8px;
    font-size:1.8em;
    color:#fff;
    text-shadow: 0px 0px 4px #000;
    opacity: 0.7;
  }
  
  #flexgrid .rescue_img {
    border-radius:16px 16px 0 0;
  }

  #flexgrid .rescue_img img {
    border-radius:16px 16px 0 0;
  }
  
  #flexgrid .rescue_card_wrapper:hover {
    transform: scale(1.1);
  }



   /* Responsive Styles Small Format */
  @media all and (min-width: 498px) and (max-width: 879px) {
   #flexgrid .rescue_card_collection {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 20px 20px;
    }
  }
   
  /* Responsive Styles Smartphone Portrait */
  @media all and (max-width: 497px) {
   #flexgrid .rescue_card_collection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px 20px;
      }
  }

/*** END Custom Cards for Rescues Grid ***/




/************************************/
/*** SPONSORSHIP STAR PERCENTAGES ***/
/************************************/
/* This is used to display the percentage
    of sponsorships a critter has using
    stars to illustrate that value

    IMPORTANT: The CSS that allows
    for the correct percentage of stars
    to be filled in is handled in the 
    shortcode [my_rescue_sponsor_count]
    using a dynamically generated style
    property
*/
  #sponsorships .star_wrapper {
    position:relative;
    width:100%;
    height:44px;
    margin:0;
    text-align:center;
  }


  #sponsorships .star_container {
    position:relative;
    left:50%;
    margin-left:-105px;
    width:210px;
    height:44px;
    background:#ffc000;
    padding:0;
    border:0;
    border-radius:8px;
  }

  #sponsorships .stars {
    position:absolute;
    top:0;
    left:0;
    width:210px;
    height:44px;
    margin:0;
    padding:0;
    border:0;
    border-radius:0!important;
  }

  #sponsorships .star_back {
    position:relative;
    width:210px;
    height:44px;
    border-radius:0!important;
  }

  #sponsorships .stars_img {
    width:100%;
    margin:0;
    padding:0;
    border:0;
    height:44px;
    border-radius:0!important;
  }

/*** END SPONSORSHIP STAR PERCENTAGES ***/



/************************************/
/**** CRITTER PAGE MAGNET PHOTOS ****/
/************************************/
.magnet_wrapper {
  display:block;
  width:100%;
  text-align:center;
  border-radius:16px;
}  

.magnet_wrapper .magnet_img {
  width:80%;
  border-radius:16px;
  transform: rotate(-3deg);
  box-shadow: 6px 6px 18px rgba(0,0,0,0.3);
}  



/************************************/
/**** STARS ALIGN MAGNET PHOTOS ****/
/************************************/
.stars_magnet_wrapper {
  display:block;
  float:right;
  margin:12px;
  padding:0px;
  border-radius:16px;
}  

.stars_magnet_wrapper .stars_magnet_img {
  width:100%;
  border-radius:16px;
  transform: rotate(3deg);

} 






/************************************************/
/*** IMAGE CARDS FOR LEFT & RIGHT POSITIONING ***/
/************************************************/
.image_card_left {
  display: block;
  float:left;
  width:50%;
  max-width:300px;
  margin: 0 12px 0 0;
  padding-right:10px;
}

.image_card_right {
  display: block;
  float:right;
  width:50%;
  max-width:300px;
  margin: 0 0 0 12px;
  padding-left:10px;
}

.image_card_img {
  width:100%;
  border-radius: 16px!important;
  padding-bottom:0;
  margin-bottom:0;
}

.image_card_text {
  float:left;
  width:100%;
  padding:0px 8px 2px 8px;
  margin-top:0;
  font-size:.9em;
  line-height:1.2em;
  color:#999;
}

  
 /* Responsive Styles Smartphone Portrait */
 @media all and (max-width: 497px) {
  .image_card_left {
    display: block;
    width:100%;
     }
 }

 @media all and (max-width: 497px) {
  .image_card_right {
    display: block;
    width:100%;
     }
 }


/* Special Image Promo - Howling Reporter, for example */
 .special_image_card_right {
  float:right;
  width:50%;
  max-width:300px;
  margin: 0 0 0 12px;
  padding-left:10px;
  border-radius:0!important;
  box-shadow: none!important;
}

.special_image_card_img {
  width:100%;
  padding-bottom:0;
  margin-bottom:0;
  border-radius:0!important;
  box-shadow: none!important;
}

 @media all and (max-width: 497px) {
  .special_image_card_right {
    display: block;
    width:100%;
     }
 }

 /* Giant Image Cards */
 .giant_image_card_left {
  display: block;
  float:left;
  width:50%;
  max-width:500px;
  margin: 0 12px 0 0;
  padding-right:10px;
}

.giant_image_card_right {
  display: block;
  float:right;
  width:50%;
  max-width:500px;
  margin: 0 0 0 12px;
  padding-left:10px;
}

.giant_image_card_img {
  width:100%;
  border-radius: 16px!important;
  padding-bottom:0;
  margin-bottom:0;
}

.giant_image_card_text {
  float:left;
  width:100%;
  padding:0px 8px 2px 8px;
  margin-top:0;
  font-size:.9em;
  line-height:1.2em;
  color:#999;
}

  
 /* Responsive Styles Smartphone Portrait */
 @media all and (max-width: 497px) {
  .giant_image_card_left {
    display: block;
    width:100%;
     }
 }

 @media all and (max-width: 497px) {
  .giant_image_card_right {
    display: block;
    width:100%;
     }
 }


/*** END IMAGE CARDS FOR LEFT & RIGHT POSITIONING ***/


/**************************************/
/**** SMALL CRITTER COUNTER STYLES ****/
/**************************************/
.critter_counter_wrapper {
  width:100%;
}

.critter_counter_header {
  font-size:18px;
  font-weight:700;
  color:#600;
  width:100%;
  text-align:center;
}

.critter_counter_header_count {
  font-size:16px;
  line-height:16px;
  background-color:#fa0;
  padding:0 6px;
  border-radius:2px;
  color:#fff;
}

.critter_counter_item_wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  grid-gap: 2px 2px;
  border-radius:8px;
  padding:8px 2px;
}

.critter_counter_item {
  display:block;
  text-align:center;
  padding:0;
  background-color:#036;
  border-radius:8px;
}

.critter_counter_thumb_box {
  width:100%;
  margin:0;
  padding:0;
}

.critter_counter_thumb_img {
  width:100%;
  border-radius:8px 8px 0 0;
  margin:0;
  padding:0;
}

.critter_counter_thumb_img img {
  width:100%;
  border-radius:8px 8px 0 0;
  margin:0;
  padding:0;
}

.critter_counter_count_text {
  width:100%;
  border-radius:0 0 8px 8px;
  font-size:12px;
  line-height:12px;
  font-weight:700;
  background-color:#036;
  color:#fff;
  padding:0 0 4px 0;
}


.tooltip {
  position: relative;
  display: inline-block;
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  font-size:16px;

  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  margin-left: -60px;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
}
/*** END SMALL CRITTER COUNTER STYLES ***/




/**************************************/
/**** LARGE CRITTER COUNTER STYLES ****/
/**************************************/
.large_critter_counter_wrapper {
  width:100%;
}

.large_critter_counter_header {
  font-size:20px;
  font-weight:400;
  color:#fff;
  width:100%;
  text-align:center;
  padding:4px 0;
}

.large_critter_counter_header_count {
  font-size:16px;
  line-height:16px;
  background-color:#fa0;
  padding:0 6px;
  border-radius:2px;
  color:#fff;
}

.large_critter_counter_grid_wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  grid-gap: 8px 8px;
  padding:8px 2px;
}

.large_critter_counter_item {
  display:block;
  /* text-align:center; */
  padding:0;
  border-radius:16px;
  position: relative;
}

.large_critter_counter_thumb_box {
  width:100%;
  margin:0;
  padding:0;
}

.large_critter_counter_thumb_img {
  width:100%;
  border-radius:16px;
  margin:0;
  padding:0;
}

.large_critter_counter_count_text {
  width:100%;
  font-size:1.5em;
  font-weight:600;
  color:#fff;
  position: absolute;
  bottom: 12px;
  left: 8px;
  text-shadow: 0px 0px 4px #000000;
}


/* Tooltip text */
.tooltip .large_critter_counter_tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  font-size:16px;

  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  margin-left: -60px;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .large_critter_counter_tooltiptext {
  visibility: visible;
}
/*** END SMALL CRITTER COUNTER STYLES ***/








/************************************************/
/***     IMAGE CARDS FOR FEATURED RESCUE      ***/
/*          === 25% WIDTH VERSION ===           */
/*          100% WIDTH VERSION BELOW            */
/*   For low-sponsor count critter displayed    */
/*           on the home page                   */
/************************************************/
#featured_critter {
  display:block;
  float:right;
  width:25%;
  padding:0;
  margin:8px 0 8px 16px;
  background:#5c84a9;
  border-radius:16px;
}

#featured_critter .feature_card {
  display: block;
  float:left;
  width:100%;
}

#featured_critter .feature_card .feature_title {
  display:block;
  float:left;
  width:100%;
  background:#495c7c;
  padding:8px 4%;
  margin-bottom:8px;
  text-align:center;
  border-radius:16px 16px 0 0;
}

#featured_critter .feature_card .feature_title h2 {
  font-size:1.2em;
  font-weight:700;
  color:rgba(255, 255, 255, .9);
  padding:0;
  margin:0;
  text-align:center;
  text-transform:uppercase;
}

#featured_critter .feature_card .feature_heading {
  display:block;
  float:left;
  width:100%;
  text-align:center;
  padding:0 8px;
  margin:0;
}

#featured_critter .feature_card .feature_heading h3 {
  font-size:1.8em;
  line-height:1em;
  font-weight:900;
  color:#fff;
  margin-bottom:0;
  text-transform:uppercase;
}

#featured_critter .feature_card .feature_heading p {
  font-size:1em;
  line-height:1.2em;
  font-weight:400;
  margin-bottom:4px;
  margin-top:0;
  padding:0;
  color:rgba(255, 255, 255, .90);
}

#featured_critter .feature_card .feature_card_img {
  float:left;
  width:100%;
  text-align:center;
}

#featured_critter .feature_card .feature_card_img img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width:80%;
  max-width:200px;
  border-radius: 16px!important;
}

#featured_critter .feature_card .feature_footer {
  float:left;
  width:100%;
  color:rgba(255, 255, 255, .7);
  font-size:.9em;
  line-height:1em;
  font-weight:400;
  margin:0;
  padding:4px 8px;
  text-align:center;
}

#featured_critter .feature_card .sponsor_button {
  float:left;
  width:100%;
  margin:0;
  padding:12px 8px 12px 8px;
  border-radius:16px;
  text-align:center;
}

  
 /* Responsive Styles Smartphone Portrait */
 @media all and (max-width: 429px) {
  #featured_critter {
    display:block;
    float:left;
    width:100%!important;
    max-width:428px;
    padding-left:0;
    text-align:center;
    margin:8px 0 8px 0;
  }
 }

 @media all and (max-width: 429px) {
  #featured_critter .feature_card .feature_card_img img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width:100%!important;
    max-width:428px;
    border-radius: 16px!important;
  }
 }
/*** END IMAGE CARDS FOR FEATURED RESCUE - 25% WIDTH VERSION ***/







/************************************************/
/***     IMAGE CARDS FOR FEATURED RESCUE      ***/
/*         === 100% WIDTH VERSION ===           */
/*             25% WIDTH VERSION ABOVE          */
/*   For low-sponsor count critter displayed    */
/*           on the home page                   */
/************************************************/
#featured_critter_wide {
  width:100%;
  padding:0;
  margin:8px 0;
  background-color:#F27141!important;
  border-radius:16px;
}

#featured_critter_wide .feature_card {
  display: block;
  float:left;
  width:100%;
  padding:0;
  background-image: url("/wp-content/uploads/repeatable-texture-orange-800.png");
  background-color:#F27141!important;
  border-radius:16px;
}

#featured_critter_wide .feature_card .feature_title {
  display:block;
  float:left;
  width:100%;
  background:#A65341;
  padding:8px 4%;
  margin-bottom:8px;
  text-align:center;
  border-radius:16px 16px 0 0;
}

#featured_critter_wide .feature_card .feature_title h2 {
  font-size:2.4em;
  font-weight:700;
  color:rgba(255, 255, 255, .9);
  padding:0;
  margin:0;
  text-align:center;
  text-transform:uppercase;
}

#featured_critter_wide .feature_card .feature_card_content {
  float:right;
  width:55%;
  text-align:center;
  padding:0 12px 12px 12px;
}

#featured_critter_wide .feature_card .feature_card_content .feature_heading {
  display:block;
  float:left;
  width:100%;
  padding:0 8px;
  margin:0;
}

#featured_critter_wide .feature_card .feature_card_content .feature_heading h3 {
  font-size:2.2em;
  line-height:1em;
  font-weight:900;
  color:rgba(20, 20, 40, .60);
  margin-bottom:0;
  text-transform:uppercase;
}

#featured_critter_wide .feature_card .feature_card_content .feature_heading p {
  font-size:1.6em;
  line-height:1em;
  font-weight:400;
  margin-bottom:4px;
  margin-top:0;
  padding:0;
  color:rgba(20, 20, 40, .60);
}

#featured_critter_wide .feature_card .feature_card_img {
  float:left;
  width:40%;
  padding:12px;
}

#featured_critter_wide .feature_card .feature_card_img img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width:80%;
  max-width:200px;
  border-radius: 16px!important;
}


#featured_critter_wide .feature_card .sponsor_button {
  float:left;
  width:100%;
  margin:0;
  padding:12px 8px 12px 8px;
  border-radius:16px;
  text-align:center;
}

#featured_critter_wide .feature_card .sponsorships_updated_date {
  clear:both;
  width:100%;
  padding:0 8px;
  margin:0;
  font-size: .6em;
  line-height: .4em;
  color:rgba(20, 20, 40, .60);
}
  
 /* Responsive Styles Smartphone Portrait */
 @media all and (max-width: 429px) {
  #featured_critter_wide {
    display:block;
    float:left;
    width:100%!important;
    max-width:428px;
    padding-left:0;
    text-align:center;
    margin:8px 0 8px 0;
  }
 }

 @media all and (max-width: 429px) {
  #featured_critter_wide .feature_card .feature_card_img img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width:100%!important;
    max-width:428px;
    border-radius: 16px!important;
  }

  #featured_critter_wide .feature_card .feature_card_img {
    display: block;
    float:left;
    width:100%;
    padding:12px;
  }
  #featured_critter_wide .feature_card .feature_card_content {
    display: block;
    float:left;
    width:100%;
    text-align:center;
    padding:12px;
  }
 }
/*** END IMAGE CARDS FOR FEATURED RESCUE - 100% WIDTH VERSION ***/







.orange_button {
  border-radius: 8px;
  background-color: #FFA44B;
  border: 3px solid #B26A23;
  color: #3F5B75;
  text-align: center;
  font-size: 1.5em;
  font-weight:700;
  line-height:1em;
  padding: 16px;
  width: 100%;
  transition: all 0.5s;
  cursor: pointer;
  margin: 0;
}

.orange_button span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.orange_button span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.orange_button:hover span {
  padding-right: 25px;
}

.orange_button:hover span:after {
  opacity: 1;
  right: 0;
}


