
/*
*
*  Custom CSS for baby book list
*
*/
.ast-site-title-wrap{
    display:none;
}
.babybook_fields ul{
  margin-left:0px;
}

ul.babybook_list {
  display: flex;
  flex-wrap: wrap;
  align-content: stretch;
  justify-content: center;
  max-width: 1140px;
    margin: 0 auto;
}


li.babybook_item {
  text-decoration: none;
  list-style-type: none;
  flex: 1 0 21%;
  background-color: #FFF3ED61;
  text-align: center;
  margin: 20px;
  padding-top: 60px;
  padding-bottom: 40px;
  border-radius: 20px 20px 20px 20px;
  position: relative;
  min-height: 470px;
}

li.babybook_item  img {
    width: 105px;
    height: auto;
}

li.babybook_item h5{
  color: #CC856B;
    font-family: "Quicksand", Sans-serif;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    margin-top: 20px;
}

.babybook_sub-fields{
  display: none;
  text-decoration: none;
  list-style-type: none;
}

ul.babybook_sub-list{
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: flex-start;
}


li.babybook_sub-item{
  text-decoration: none;
  list-style-type: none;
  flex: 1 0 21%;
  background-color: #FFF3ED61;
  text-align: center;
  margin: 20px;
  padding-top: 60px;
  padding-bottom: 40px;
  border-radius: 20px 20px 20px 20px;
  min-width: 320px;
}

li.babybook_sub-item  img {
  width: 105px;
  height: auto;
}

li.babybook_sub-item h5{
color: #CC856B;
  font-family: "Quicksand", Sans-serif;
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  margin-top: 20px;
}


.sub-field-form{
  display: none;
  max-width: 100vw;
}

.babyform_fill, .babyform_filled{
  font-family: "Quicksand", Sans-serif;
    font-size: 20px;
    font-weight: bold;
    background-color: var( --e-global-color-618ae33 );
    box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 50%);
    margin-top: 20px;
    padding: 15px 30px;
   
}

.babybook_item .babyform_fill{

  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: 117px;
}

.babybook_item .babyform_filled{

  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: 117px;
}

.babyform_fill:hover{
 
  transform: scale(1.2);
  transition-timing-function: cubic-bezier(0.47,2.02,.31,-.36);
  transition-duration: 0.5s;
  background-color: var( --e-global-color-618ae33 );
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 50%);

}

.babyform_filled:hover{
 
  transform: scale(1.2);
  transition-timing-function: cubic-bezier(0.47,2.02,.31,-.36);
  transition-duration: 0.5s;
  background-color: var( --e-global-color-618ae33 );
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 50%);

}

.babybook_sub-item .babyform_fill{
  font-family: "Quicksand", Sans-serif;
  font-size: 20px;
  font-weight: bold;

box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 50%);
margin-top: 20px;
padding: 15px 30px;
}


.babybook_sub-item .babyform_filled{
  font-family: "Quicksand", Sans-serif;
  font-size: 20px;
  font-weight: bold;

box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 50%);
margin-top: 20px;
padding: 15px 30px;
}

.babybook_sub-item .babyform_fill:hover{
  transform: scale(1.2);
  transition-timing-function: cubic-bezier(0.47,2.02,.31,-.36);
  transition-duration: 0.5s;
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 50%);
}

.babybook_sub-item .babyform_filled:hover{
  transform: scale(1.2);
  transition-timing-function: cubic-bezier(0.47,2.02,.31,-.36);
  transition-duration: 0.5s;
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 50%);
}



.babybook_item:hover img{
  transform: scale(0.9);
  transition-duration: 0.3s;
    opacity: 0.5;
}

.babybook_sub-item:hover img{
  transform: scale(0.9);
  transition-duration: 0.3s;
    opacity: 0.5;
}

/* .babybook_item:hover{
  box-shadow: -3px 2px 17px -2px rgba(0,0,0,0.75);
  -webkit-box-shadow: -3px 2px 17px -2px rgba(0,0,0,0.75);
  -moz-box-shadow: -3px 2px 17px -2px rgba(0,0,0,0.75);
  transition: 0.3s;
}

.babybook_sub-item:hover{
  box-shadow: -3px 2px 17px -2px rgba(0,0,0,0.75);
  -webkit-box-shadow: -3px 2px 17px -2px rgba(0,0,0,0.75);
  -moz-box-shadow: -3px 2px 17px -2px rgba(0,0,0,0.75);
  transition: 0.3s;
} */

.book_filled{
  background-color: #5CC2461A;
}

li.babybook_item.book_filled{
  background-color: #5CC2461A;
}

li.babybook_item.book_partialy_filled{
  background-color: #F3EB0314;
}

li.babybook_sub-item.book_partialy_filled{
  background-color: #F3EB0314;
}

.book_indicator{
  left: 0px;
  float: left;
  position: relative;
  right: 0px;
  padding: 3px;
  border-radius: 5px;
  font-size: 14px;
  top: -30px;
}

.not_filled{
  font-family: "Quicksand", Sans-serif;
  font-size: 20px;
  font-weight: bold;
color: #CC856B9C;
display: none;
}

.partialy_filled{

  font-family: "Quicksand", Sans-serif;
  font-size: 20px;
  font-weight: bold;
  color:#fc66009e;
  display: none;
}

.filled{
  
  font-family: "Quicksand", Sans-serif;
  font-size: 20px;
  font-weight: bold;
color: #5cc246cc;
display: none;
}


.book_fill_status{
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;

}


.elementor-widget-progress .elementor-progress-wrapper .elementor-progress-bar{

  background-color: #5cc246cc !important;

}

.elementor-element-5a01842{
  width: 80%;
    margin: 0 auto;
}

.elementor-element-5a01842 .elementor-progress-wrapper{
  border-radius: 100px;
}
.elementor-element-5a01842 .elementor-progress-bar{
  border-radius: 100px 0px 0px 100px;

}
.elementor-element-5a01842 .elementor-progress-percentage{

  color: #FFFFFF;
  font-family: "Quicksand", Sans-serif;
  font-size: 14px;
  font-weight: 700;
 
}

.book_filled_percentage{
  margin-top: 20px;
}

.elementor-widget-progress
{text-align:left;}
.elementor-progress-wrapper
{position:relative;background-color:#eee;color:#fff;height:100%;border-radius:2px;}
.elementor-progress-bar
{display:-webkit-box;display:-ms-flexbox;display:flex;background-color:#818a91;width:0;font-size:11px;height:30px;line-height:30px;border-radius:2px;-webkit-transition:width 1s ease-in-out;-o-transition:width 1s ease-in-out;transition:width 1s ease-in-out}
.elementor-progress-text
{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;white-space:nowrap;-o-text-overflow:ellipsis;text-overflow:ellipsis;overflow:hidden;padding-left:15px}
.elementor-progress-percentage
{padding-right:15px}
.elementor-widget-progress .elementor-progress-wrapper.progress-info .elementor-progress-bar
{background-color:#5bc0de}
.elementor-widget-progress .elementor-progress-wrapper.progress-success .elementor-progress-bar
{background-color:#5cb85c}
.elementor-widget-progress .elementor-progress-wrapper.progress-warning .elementor-progress-bar
{background-color:#f0ad4e}
.elementor-widget-progress .elementor-progress-wrapper.progress-danger .elementor-progress-bar
{background-color:#d9534f}
.elementor-progress .elementor-title
{display:block}
@media (max-width:767px){
  .elementor-progress-text{padding-left:10px
  }}

  .book_navigation ul{
    list-style-type: none;
    display: flex;
    justify-content: space-between;
  }

  .choose-book{
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: flex-end;
    margin-right: 20px;
    margin-bottom: 20px;
  }

  .choose-book h4{
margin-bottom: 15px;
margin-top: 15px;

  }

  .page-template-babybook_page .ast-header-button-1[data-section*="section-hb-button-"] .ast-builder-button-wrap .ast-custom-button{
    display:none !important;
  }



  .baby-form-success{
    text-align: center;
    background-color: #C1E1C1;
    border-radius: 5px;
    margin-top: 20px;
    padding: 10px;
  }

  .baby-form-error{
    text-align: center;
    background-color: #FF5733;
    border-radius: 5px;
    margin-top: 20px;
    padding: 10px;
  }

  .loader {
    border: 5px solid #f3f3f3;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
    border-top: 5px solid #555;
    border-radius: 50%;
    width: 30px;
    height: 30px;
  }
  
  /* Safari */
  @-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

.baby-form-loading{
  margin-right: 15px;
  display: none;
}
 
.add_book_button{
  margin-top:10px;
  background-color: #80ce6e;
}

.add_book_button:hover{
  background-color: #64a355;
}


.add_book_form{
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: space-evenly;
  align-items: flex-start;
  margin-top:30px;
}

.uploaded_book_image{

  margin-top:30px;
}

.new_babybook_modal .elementor-button{
  background-color: var( --e-global-color-618ae33 );
  color: #ffffff;
  width: 100%;
  margin-top: 10px;
}
.new_babybook_modal input{
  width: 100%;
}


.choose-book .elementor-button-link{
  color: var( --e-global-color-8531d21 ) !important;
  background-color: #5CC24600;
  font-weight: 500;
}


.modal_background{
position: fixed;
width: 100%;
height: 1000px;
background: rgba(0, 0, 0,0.7);
top: 0px;
left: 0px;
z-index: 99;
  display: none;
}

.new_babybook_modal{
  z-index: 999;
  background: #fff;
  padding: 10px;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 250px;
  margin-top: -125px;
  margin-left: -200px; 
  display: none;
  
}

#open-babybook-modal{
  padding-left: 0px;
}

.modal-close-text{
  color: var( --e-global-color-8531d21 );
  font-family: "Quicksand", Sans-serif;
  text-align: center;
  margin: 0 auto;
  margin-top: 10px;
  font-weight: 700;
}

.modal-close{
  position: absolute;
  right: 10px;
  top: 0px;
  cursor: pointer;
}

#choose_book{
  margin-top:20px;
  display:none;

}

.elementor-1686 .elementor-element.elementor-element-5307f940 .elementor-heading-title{
  text-align: center;
}

.babybook_fields .elementor-element-ae44476 span.elementor-button-text{
  font-family: "Quicksand", Sans-serif;
  font-size: 25px;
  font-weight: bold;
  transition-duration: .3s;
    transition-property: transform;
}
.babybook_fields .elementor-element-ae44476 .elementor-button:hover{
  transform: scale(1.1);
  transition-duration: .3s;
    transition-property: transform;

}

.section_description {
  margin-top:20px;
}

.description_text{
  text-align: center;
    color: var( --e-global-color-8531d21 );
    font-family: "Quicksand", Sans-serif;
    font-size: 18px;
    font-weight: bold;
    line-height: 28px;
    margin-bottom: 0px;
    margin-bottom: 5px;
}


.previous .elementor-button-icon, .previous .elementor-button-text{
  font-family: "Quicksand", Sans-serif;
  font-size: 18px;
  font-weight: 600;
  fill: #4B4F58AB;
  color: #4B4F58AB;
}

.next .elementor-button-icon, .next .elementor-button-text{
  font-family: "Quicksand", Sans-serif;
  font-size: 18px;
  font-weight: 600;
  fill: #4B4F58AB;
  color: #4B4F58AB;
}

.ast-single-post .entry-content a, .ast-comment-content a{
    
    text-decoration: none;
}

a, a:focus, a:hover, a:visited{
    
    text-decoration: none !important;
}

.loader-container {
    position: fixed;
    z-index: 999;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/*
* Responsive
*
*/

@media only screen and (max-width: 767px) {

  li.babybook_item{
    margin: 10px;
  }

li.babybook_item h5{
  font-size: 22px;
  width: 80%;
  text-align: center;
  display: inline-block;
}

.book_navigation .previous{
  font-size: 13px;
  width: 71px;
  display: block;
  text-align: center;
  margin-left: 15px;
}

.book_navigation .next{
  font-size: 13px;
  display: block;
  text-align: center;
  margin-right: 15px;
}


li.babybook_sub-item{
  margin: 10px;
  min-width: 144px;
}

li.babybook_sub-item h5{
font-size: 22px;
width: 80%;
text-align: center;
display: inline-block;
}

li.parent_item_id_3.page_item_4 h5{
  font-size: 19px;
}

li.babybook_item{
  flex: 1 0 30%;

}

.description_text{
  text-align: center;
    color: var( --e-global-color-8531d21 );
    font-family: "Quicksand", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 28px;
    margin-bottom: 0px;
    margin-bottom: 0px;
}

}


@media only screen and (max-width: 360px) {
  li.babybook_item{
    min-height: 500px;
  }
}

.book_not_filled{
  background-color: #FFF3ED61 !important;
}

.book_partial_filled{
  background-color: #F3EB0314 !important;
}

.book_filled{
  background-color: #5CC2461A !important;
}




