/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
/*.save_later{
    border: 1px solid;
    padding: 10px 5px;
    display: inline-block;
    margin: 6px 0 4px 4px;
}*/

/*#delete_saved{
    position: absolute;
    border: 1px solid;
    padding: 0px 5px;
    border-radius: 10px;
    cursor: pointer;
}*/
/*.saved_bloc{
    display: inline-block;
    padding: 4px 9px;
}*/
.textfield input{
    width:40% !important;
    height: 30px;
}
.textfield input[type=text]{
   margin-bottom: 0;
}
.textfield select{
    width: 40%;
    display: inline-block!important;
    height: 30px;
    margin-left: 2px;
    min-width: 102px !important;
    margin-right: 2px;
    vertical-align: middle;
    padding: 7px 5px !important;
    line-height: normal !important;
}
.textfield label{
    font-size: 14px !important;
    border: 0px !important;
    vertical-align: middle;
    margin-right: 1px;
}
.vpc-group-name{
    margin: 0px !important;
}
.textfield{
    width: 100% !important;
    padding: 5px 2px;
}
.vpc-csa-color{
    background-position: -7.5px -7.5px;
    cursor: pointer;
    background-image: url(../images/spritesheet.png);
    background-size: 40px;
    /*float: right;*/
    width: 30px;
    height: 30px;
    vertical-align: middle;
    display: inline-block;
}
.wpc-custom-color{
    margin: 2px;
    width: 20px;
    height: 20px;
    display: inline-block;
}
.text_field{
    min-width: 200px;
    min-height: 50px;
    position: absolute;
    font-size:13px;
    z-index: 3;
}
.saved_panel,.date_color_panel{
    font-size: 13px;
}
/*.save_later{
    border: 1px solid;
    padding: 10px 5px;
    display: inline-block;
    margin: 6px 0 4px 4px;
}*/

.saved_panel .title{
    padding: 10px;
    font-size: 16px;
}
.featured_img img{
    max-height: 100px !important;
    max-width: 100px !important;
}
.featured_img{
    padding: 10px
}

.hour,.minute,.second{
  left: 0;
  right:0;
  top:5%;
  top:0;
  bottom:0 ;
  position:absolute;
  margin:auto !important;
  bottom: 0 !important;
  max-height: 100% !important;
  height: 100% !important;
  width:auto;
}
/*.hour{
  animation: rotate  43200s infinite linear;
}
.minute{
  animation: rotate  3600s infinite linear;
}
.second{
  animation: rotate  60s infinite linear;
}

@keyframes rotate {
  100% {
    transform: rotateZ(360deg);
  }
}*/

#vpc-container > div:nth-child(2){
  position:relative;
}
#clock{
  position: absolute;
  z-index: 9;
  top: 0;
  bottom: 0;
  margin: auto;
  left: 0;
  right: 0;
  text-align: center;
  overflow: hidden;
}

.clock_date{
  font-size: 20px;
  position: absolute;
  z-index: 10;
  color: #b80714;
  font-weight: bold;
}
#front-field_container.text_field,#date-style-field_container.text_field,#your-initials-field_container.text_field{
  min-width: inherit;
  min-height: inherit;
  text-align: center;
}
#vpc-container #vpc-components{
  position: relative;
  z-index: 999;
  margin-top: 0;
}
.vpc-components-wrap::-webkit-scrollbar-track
{
  background-color: #2d2d2d;
}

.vpc-components-wrap::-webkit-scrollbar
{
  width: 10px;
  background-color: #2d2d2d;
}

.vpc-components-wrap::-webkit-scrollbar-thumb
{
  background-color: #212121;
}

.vpc-single-option-wrap.textfield > label{
  width: 25%;
  display: inline-block;
  margin-right: 2%;
}
.vpc-single-option-wrap.textfield input[type="text"]{
  width: 25% !important;
  margin-right: 2%;
}
.vpc-single-option-wrap.textfield .font_selector{
    width: 25%;
    display: inline-block !important;
    margin-right: 2%;
}
.vpc-single-option-wrap.textfield #date-style-font-selector.font_selector{
  width:50%;
  margin-right: 4%;
}
.vpc-single-option-wrap.textfield .vpc-csa-color{
  border: 1px solid #ddd;
}
.vpc-single-option-wrap.textfield{
  border-bottom: 1px solid #ccc;
}
.vpc-single-option-wrap.textfield:last-child{
  border:none;
}
#csa-modal{
  font-size: 14px;
}
#csa-modal .modal-dialog{
  top: 50%;
  transform: translateY(-50%);
  margin:0 auto;
  max-width: 400px;
}
#csa-modal .modal-content{
  background-color: #000;
  display:inline-block;
  text-align: center;
  border: 1px solid #f2f2f2;
  border-radius: 0;
  -webkit-box-shadow: 0 0px 10px rgba(0,0,0,.5);
  box-shadow: 0 0px 10px rgba(0,0,0,.5);
  color: #eaeaea;
}
#csa-modal .config_link{
  text-align: center;
  margin: 10px auto;
}
#csa-modal #config_link{
  display: inline-block;
    border: 1px solid #fff;
    padding: 10px;
    color: #eaeaea;
}
.woocommerce-MyAccount-content .saved_bloc{
  position:relative;
  display: inline-block;
  width: calc((100% - 60px)/3);
  text-align: center;
  margin: 10px;
  padding: 20px 10px;
  transition: box-shadow .3s;
  -webkit-box-shadow: 0px 0px 1px rgba(0,0,0,.1);
   -moz-box-shadow: 0px 0px 1px rgba(0,0,0,.1);
  box-shadow: 0px 0px 1px rgba(0,0,0,.1);

}
.woocommerce-MyAccount-content .saved_bloc:hover{
  -webkit-box-shadow: 0 0 30px rgba(0,0,0,.2);
    -moz-box-shadow: 0 0 30px rgba(0,0,0,.2);
  box-shadow: 0 0 30px rgba(0,0,0,0.2);
}
.woocommerce-MyAccount-content .saved_bloc .save_later{
  position:relative;
  display: inline-block;
}
/*.woocommerce-MyAccount-content .saved_bloc:last-child{
  margin-right: 0;
}*/
.woocommerce-MyAccount-content .saved_bloc #delete_saved{
  position: absolute;
  border: 1px solid;
  cursor: pointer;
  padding: 0;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: inline-block;
  text-align: center;
  line-height: 20px;
  right: -10px;
  background-color: #000;
  color: #fff;
  top: -10px;
}
.woocommerce-MyAccount-content .saved_bloc img:first-child{
  position:relative;
}
.woocommerce-MyAccount-content .saved_bloc img{
  position:absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 100%;
}
#vpc-save-btn{ 
  float : left;
  margin-right: 4px;
}
#theme-page{
  /*z-index: 999 !important;*/
}
#csa-modal .modal-content .close{
  font-size: 20px;
  opacity: 1;
  position: absolute;
  top: -10px;
  right: -10px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  z-index: 9999999;
  background-color: #fff;
  outline:none;

}
.vpc-after-component-wrap{
  font-size: 1rem;
}
.vpc-after-component-wrap #vpc-price-container{
  height: auto;
  text-align: left;
  font-size: 1.5em;
}
.vpc-after-component-wrap #vpc-price-container .vpc-price-label{
  text-transform: uppercase;
  color: #000 !important;
}
#vpc-preview{
  border:0 !important;
}

.vpc-selected-icon{
        width: 16px;
    height: 24px;
    margin: 10px;
}
.vpc-after-component-wrap .vpc-action-buttons .minus{
  border-radius: 4px 0px 0px 4px;
}
.vpc-after-component-wrap .vpc-action-buttons .plus{
  border-radius: 0px 4px 4px 0px;
}
.config_title{
  font-size: 25px;
    padding: 15px 0;
    font-weight: 800;
    color: #0099cc;
}
.code_color{
    background-color: #b5d5ff;
    border: 1px solid;
    height: 30px;
    width: 30px;
    display: inline-block;
    margin: 5px;
    vertical-align: middle;
}

@media only screen and (orientation:landscape) and (min-width:1025px){
  #date-style-field_container{
    width:34px;
  }
}
@media only screen and (orientation:landscape) and (max-width:1024px){
  #date-style-field_container{
    width:17px;
  }
}
@media only screen and (max-width:1024px){
  .vpc-single-option-wrap.textfield > label{
    width: 45%;
    display: inline-block;
    margin-right: 4%;
    margin-bottom: 10px;
  }
  .vpc-single-option-wrap.textfield input[type="text"]{
    width: 45% !important;
    margin-right: 2%;
    margin-bottom: 10px;
  }
  .vpc-single-option-wrap.textfield .font_selector{
      width: 45%;
      display: inline-block !important;
      margin-right: 4%;
  }
  
  .vpc-single-option-wrap.textfield #date-style-font-selector.font_selector{
    width:45%;
    margin-right: 4%;
  }
  .vpc-preview-wrap{
    max-width: 60%;
    margin:auto;
  }
  .bottom-corner-btns{
    display: none;
  }
  #date-style-field_container{
    /*font-size: 1rem !important;*/
    font-size: 15px !important;
  }
  #vpc-components .config_title{
    font-size: 1rem;
    padding: 5px 0;
  }
}

  @media only screen and (orientation:landscape) and (max-width:1024px){
    #vpc-container > div:nth-child(2) .vpc-preview-wrap{
      max-width: 50%;
    }
    .vpc-after-component-wrap{
      font-size: .4rem;
    }
    .vpc-after-component-wrap .vpc-action-buttons button{
      padding:0 6px !important;
    }
    .vpc-after-component-wrap #vpc-qty{
      width:35px;
    }
  }

@media only screen and (orientation:landscape) and (max-width:768px){
  #vpc-container > div:first-child{
    width: 33.333333333333336%;
  }
  #vpc-container > div:nth-child(2){
    width: 66.66666666666667%;
  }
  .vpc-component .vpc-component-header > span{
    font-size: 12px ;
  }
  .vpc-component-header .vpc-selected-icon{
    bottom: 0px;
    top: inherit;
  }
  #vpc-components .vpc-component-header > img{
    width: 40px;
  }
  .textfield label{
    vertical-align: top;
  }
  .textfield input[type=text]{
    width: 65% !important;
    margin-bottom: 10px;
  }
  .textfield select{
    min-width: 120px !important;
    margin-left: 0;
  }
  /*#vpc-container > div:nth-child(2) .vpc-preview-wrap{
    max-width: 50%;
  }*/
  
}
@media only screen and (orientation:portrait) and (max-width:768px){
  #vpc-container > div:nth-child(2){
    -webkit-box-ordinal-group: 1;  
    -moz-box-ordinal-group: 1;     
    -ms-flex-order: 1;     
    -webkit-order: 1;
    order: 1;
    z-index: 999;
  }
  #vpc-container > div.fixed:nth-child(2){
    position: fixed;
    width: 100%;
    background-color: #fff;
    top: 0;
    left:0;
  }
  #vpc-components{
    -webkit-box-ordinal-group: 2;  
    -moz-box-ordinal-group: 2;     
    -ms-flex-order: 2;     
    -webkit-order: 2;
    order: 2;
    margin-top: 80px;
    /*z-index: 9999;
    background-color: #fff;*/
   
  }
  .vpc-components-wrap{
     height: 150px !important;
     overflow-y: scroll;
  }
  .vpc-action-buttons,#debug{
    /*z-index: 9999;
    position: relative;*/
  }
  #vpc-container{
    display: -webkit-box;      
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
  }
  #vpc-container > div.fixed:nth-child(2) .text_field{
    min-width: auto;
  }
  .textfield select{
    min-width: 120px !important;
  }
  /*.hour,.minute,.second{
   top:8%;
  }*/
  /*#date-style-field_container{
    font-size: .3rem !important;
  }*/
  .vpc-after-component-wrap{
    font-size: .5rem;
  }

}
@media only screen and (orientation:portrait) and (min-width:768px) and (max-width:1024px){
  /*.hour,.minute,.second{
   top:5%;
  }*/
  #date-style-field_container{
    font-size: 1.1rem !important;
    font-size: 16px !important;
  }
  #date-style-field_container{
    width:20px;
  }
}

@media only screen and (max-width:768px){
  .woocommerce-MyAccount-content .saved_bloc{
    width: 100%;
    margin: 10px 5px; 
  }
  
  /*#vpc-container > div.fixed:nth-child(2){
    right:0;
  }*/
  
}
@media only screen and (min-width:667px) and (max-width:736px){
  #date-style-field_container,#your-initials-field_container{
    /*font-size: .6rem !important;*/
    font-size: 9px !important;
  }
}
@media only screen and (max-width:767px){
  #date-style-field_container,#your-initials-field_container{
    /*font-size: .5rem !important;*/
    font-size: 8.5px !important;
  }
  #your-initials-field_container{
    /*font-size: .4rem !important;*/

  }
}
@media only screen and (orientation:landscape) and (max-width:600px){
   .vpc-after-component-wrap .vpc-action-buttons button{
      padding:0 3px !important;
    }
 } 
 @media only screen and (min-width:601px) and (max-width:736px){
  #date-style-field_container{
    width:11px;
  }
}
 @media only screen and (min-width:591px) and (max-width:600px){
  #date-style-field_container{
    width:10px;
  }
}
 @media only screen and (min-width:481px) and (max-width:590px){
  #date-style-field_container{
    width:9px;
  }
}
 @media only screen and (min-width:401px) and (max-width:480px){
  #date-style-field_container{
    width:11px;
  }
}
@media only screen and (min-width:375px) and (max-width:400px){
  #date-style-field_container{
    width:10px;
  }
}
@media only screen and (max-width:320px){
  #date-style-field_container,#your-initials-field_container{
    /*font-size: .4rem !important;*/
    font-size: 8px !important;
  }
  #date-style-field_container{
    width:8px;
  }
}




