/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* Vins */
.post-type-archive-vins #main{
  padding-top:0;
}
#vins{
  padding:0 0 3em;
}
#vins .top-menu{
  text-align: center;
  margin-bottom:4em;
  padding:0.8em 0;
  margin-top:0;
  background-color:#000;
}
#vins .top-menu a{
  color:#FFF;
  display:inline-block;
  margin:0 1em;
  -webkit-transition: opacity ease-in-out 200ms;
  -moz-transition: opacity ease-in-out 200ms;
  -o-transition: opacity ease-in-out 200ms;
  transition: opacity ease-in-out 200ms;
}
#vins .top-menu a:hover{
  opacity:0.4;
}
#vins .text-center{
  text-align: center;
  font-size:3em;
}
#vins .vins-cont{
  display:flex;
  gap:30px;
  flex-wrap: wrap;
  margin-bottom:4em;
}
#vins .vins-cont >a{
  flex:0 0 calc(25% - 22.5px);
  display:block;
  border:1px solid transparent;
  -webkit-transition: border-color ease-in-out 200ms;
  -moz-transition: border-color ease-in-out 200ms;
  -o-transition: border-color ease-in-out 200ms;
  transition: border-color ease-in-out 200ms;
}
#vins .vins-cont >a:hover{
  border-color:#000;
}
#vins .vins-cont >a .pict-box{
  width:100%;
  height:400px;
  position:relative;
  text-align: center;
}
#vins .vins-cont >a .pict-box .etat{
  position:absolute;
  width:100px;
  height:100px;
  right:2vw;
  bottom:15px;
}
#vins .vins-cont >a .pict-box .no-pict{
  width:100%;
  height:100%;
  background-color:#EFEFEF;
  position:relative;
  background-image:url("/wp-content/themes/Avada-Child-Theme/image/no-picture.png");
  background-repeat:no-repeat;
  background-position:center;
}
#vins .vins-cont >a .pict-box .no-pict >img{
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
#vins .vins-cont >a .pict-box img{
  max-width:90%;
  max-height:90%;
  width:auto;
  height:auto;
}
#vins .vins-cont >a h2{
  text-align: center;
  margin-top:0;
  text-transform: uppercase;
  font-weight:bold;
  font-size:25px;
}

#vin .top-info{
  display:flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-bottom:1em;
}
#vin .top-info >div{
  flex:0 0 50%;
}
#vin .top-info div:first-of-type p{
  margin:0;
}
#vin .top-info div:last-of-type{
  text-align: right;
}
#vin .top-info div:last-of-type a{
  display:inline-flex;
  text-align: center;
  margin-right:1em;
  justify-content:center;
  align-items: center;
}
#vin .top-info div:last-of-type a i{
  margin-right:0.6em;
}
#vin .box-vins{
  background-color:#000;
  display:flex;
  flex-wrap: wrap;
}
#vin .box-vins >div:first-of-type{
  position:relative;
  min-height:400px;
  flex:0 0 40%;
}
#vin .box-vins >div:first-of-type img{
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  max-width:95%;
  max-height:95%;
  width:auto;
  height:auto;
}
#vin .box-vins >div:last-of-type{
  flex:0 0 60%;
  background-color:#000;
  display:block;
  justify-content:center;
  padding:100px;
  flex-direction: column;
}
#vin .box-vins >div:last-of-type h2{
  color:#FFF;
  font-size:50px;
  font-weight:bold;
  margin:0;
}
#vin .box-vins >div:last-of-type h2::after{
  content:"";
  width:70px;
  height:1px;
  background-color:#FFF;
  display:block;
  margin-bottom:35px;
  margin-top:35px;
}
#vin .box-vins >div:last-of-type p{
  color:#FFF;
}
#vin .bottom-box{
  display:flex;
  gap:100px;
  flex-wrap: wrap;
  padding:100px 0 40px;
}
#vin .bottom-box >div{
  flex:0 0 calc(50% - 50px);
}
#vin .bottom-box .flex-table{
  width:100%;
}
#vin .bottom-box .flex-table >div{
  display:flex;
  gap:2px;
  border-bottom:2px solid #FFF;
}
#vin .bottom-box .flex-table >div >div{
  background-color:#F2F2F2;
  padding:15px;
  color:#000;
  font-size:18px;
}
#vin .bottom-box .flex-table >div >div:first-of-type{
  font-weight:bold;
  flex:0 0 35%;
}
#vin .bottom-box .flex-table >div >div:last-of-type{
  flex-grow:1;
}
#vin .fusion-button{
  margin-top:1em;
  border-color:#FFF;
  color:#FFF;
  display:inline-block;
}
#vin .fusion-button:hover{
  background-color:#FFF;
  color:#000;
}

@media screen and (max-width: 992px){
  #vins .vins-cont >a{
    flex:0 0 calc(33.333% - 20px)
  }

  #vin .top-info >div{
    flex:0 0 100%;
  }
  #vin .top-info >div:last-of-type{
    text-align: left;
  }
  #vin .box-vins >div{
    flex:0 0 100%;
  }
  #vin .box-vins >div:last-of-type{
    padding:60px;
  }
  #vin .bottom-box{
    gap:15px;
  }
  #vin .bottom-box >div{
    flex:0 0 100%;
  }
}
@media screen and (max-width: 768px){
  #vin .box-vins{
    align-items:center;
    justify-content: center;
  }
  #vin .box-vins >div{
    flex:0 0 100% !important;
  }
  #vins .vins-cont >a{
    flex:0 0 calc(50% - 15px);
  }
}
@media screen and (max-width: 450px){
  #vins .vins-cont >a{
    flex:0 0 100%;
  }
}