html {
  height: 100%;
}
body {
    min-height: 100%!important;
    width: 100%;
    margin: 0;
    padding: 0; 
    background-color: none!important;
}

/* SLIDER */

.slider-main{
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    overflow: hidden;
    z-index: -999;
    height: 100%;
    width: 100%;
}


.cst-slider{
    height: 100%;
    width: 100%;
    -webkit-background-size: cover!important;
    -moz-background-size: cover!important;
    -o-background-size: cover!important;
    background-size: cover!important
    animation: fading 10s infinite;
    background-position: right top;
}


.row.cst-image{
  height: 100%;
}

.container-fluid{
  height: 100%;
}


.cst-container{
    position: relative;
    width: 100%;
    z-index: 3;
}

.cst-btn-save{text-align: center;}

.cst-white-color{color: #ffffff;font-size: 16px;text-align: center;}

.cst-btn{border-radius: 5px!important;}


.btn {border-radius: 0;}

.invalid-feedback {
  width: 275px;
  background-color: #343a40;
  color: #fff;
  padding: 15px 20px;
  position: absolute;
  text-align: left;
     top: 50px!important;
  line-height: 20px;
  z-index: 99999;
  font-size: 15px;
  opacity: 0
}

.invalid-feedback::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 13px;
    border-style: solid;
    border-color: transparent transparent #343a40 transparent;
    z-index: 9;
}

.invalid-feedback.error {top: 0;margin-bottom: 1em;}

.invalid-feedback ul {list-style-type: circle;}

.limeo_birthday_picker {
  margin: 0px 0px;
  height: 40px;
  background: #fff;
  margin-bottom: 1em;
  padding: 0px 10%;
  border: solid 1px;
  color: #ced4da;
}

.limeo_birthday_picker input {
  border: 0!important;
  height: 100%;
  border-radius: 0px;
  padding: 0px;
  text-align: center;
}

.ui_sep::after {
  content: ' /  ';
  position: absolute;
  top: 6px;
    right: 0;
  color: #ccc;
}

.form-control {margin-bottom: 1em;border-radius: 0px;}

input, input:focus, .btn:active, .btn:focus {outline: none!important;box-shadow: none !important}

input:-webkit-autofill {-webkit-box-shadow: 0 0 0 30px white inset!important;}

input[type="radio"],input[type="checkbox"] {
  vertical-align: middle!important;
  margin: 0px;
  margin-right: 10px!important
}

input[type="radio"]::after,
input[type="checkbox"]::after {
content: ' ';
position: absolute;
background: #fff;
border: solid 2px #007bff;
padding: 8px;
margin-top: -4px;
margin-left: -2px;
cursor: pointer;
transition: all .5s;
}

input[type="radio"]:checked::after,
input[type="checkbox"]:checked::after {
  background: #007bff;
}

input[type="radio"]::after {
  border-radius: 100%;
}



.collapsing li a, .collapse.show li a {
  border-bottom: solid 1px #e5e5e5;
  padding: 10px;
}

.btn-success {
    color: #fff;
    background-color: #00936C!important;
    border-color: #00936C;
}

.bg-success {
    color: #fff;
    background-color: #00936C!important;
    border-color: #00936C;
}


h1{
  color: #a41e2f!important;
}

.invalid-feedback.error.cst-error{
      margin-left: 9em;

}

.cst-description{
  padding-top: 40px;
}
.cst-name{
  margin-top: 20px;
  text-align: center;
  font-size: 22px;
  font-family: 'Arapey', serif;

}

.cst-brd{border-radius: 7px;}


/* SLIDER */

.slider-main{
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    overflow: hidden;
    z-index: -999;
    height: 100%;
    width: 100%;

}
.cst-slider{
    height: 100%;
    width: 100%;
    background-size: cover;
    animation: fading 10s infinite;
   background-position: right;
}

  .cst-slider img { width:auto; height:auto; position:relative; display:none;  }

/* ZOOM */
.zoom{  text-align: center; }
.zoom img{
 height: 500px;
}


.cst-millesime{
font-size: 18px;
}



#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    /*padding-top: 50px; *//* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(255,255,255,0.6); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
    padding: 10px;
}

/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
.modal-content, #caption {    
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

img.cst-product-img  {
       height:500px;
    }

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 200px;
    }
}

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

  #myImg {
    transition:none!important;

}

#myImg:hover {opacity: 1;}

    img.cst-product-img  {
       height:500px;
    }

    .slider-main{
    position: fixed;
    left: 0;
    top: 0;
    z-index: -999;
    height: 100%;
    width: 100%;
    }

    .cst-slider{
      height: 100%;
      width: 100%;
      background-size: cover;
      animation:none!important;
      background-position: none;
    }

    .invalid-feedback {
    width: 190px;
    background-color: #343a40;
    color: #fff;
    padding: 10px 10px;
    position: absolute;
    text-align: left;
    top: 70px!important;
    line-height: 20px;
    z-index: 99999;
    font-size: 12px;
    opacity: 0.8;
  }
}


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

  #myModal{
    display: none!important;
     background-color: transparent!important;
     opacity: 1!important;
  }

  #myModal:hover{

     opacity: 1!important;
    }

    #myImg {
    transition:none!important;
}
  #myImg:hover {opacity: 1;}

  img.cst-logo-size{
  width: 100%;
}
     .slider-main{
    position: fixed;
    left: 0;
    top: 0;
    z-index: -999;
    height: 100%;
    width: 100%;
    }

  .cst-slider{
    height: 100%;
    width: 100%;
    background-size: cover;
    animation:none!important;
    background-position: none;
  }

    .invalid-feedback {
    width: 190px;
    background-color: #343a40;
    color: #fff;
    padding: 10px 10px;
    position: absolute;
    text-align: left;
    top: 70px;
    line-height: 20px;
    z-index: 99999;
    font-size: 12px;
    opacity: 0.8;
}

}


::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  font-style: italic;
  font-size: 11px;
}
::-moz-placeholder { /* Firefox 19+ */
 font-style: italic;
font-size:11px;
}
:-ms-input-placeholder { /* IE 10+ */
   font-style: italic;
  font-size: 11px;
}
:-moz-placeholder { /* Firefox 18- */
   font-style: italic;
  font-size: 11px;
}

.btn-wine{
  background-color: #a41e2f!important;
  color: #ffffff;
}

 a:hover.btn-wine{
  color: #ffffff;
  opacity: 0.8;
}

.cst-date{
  font-size: 20px;
}