/* 
 Theme Name:     Wine Notes
 Author:         Antony lasserre
 Author URI:     http://www.antonylasserre.com/
 Template:       Divi
 Version:        1.0
 Description:   Thème enfant pour le site Wine notes
 Wordpress Version: 5.1
*/ 


/*---------------*/
/***** custom wine notes css *****/
/*---------------*/

a.mailwine{
    color: white;
}


/*---------------*/
/***** NAVIGATION *****/
/*---------------*/
header#main-header.et-fixed-header, #main-header{
	-webkit-box-shadow:none !important;
	-moz-box-shadow:none !important;
	box-shadow:none !important;
}


/*---------------*/
/***** ICON *****/
/*---------------*/

.et_pb_social_media_follow li a.icon::before{
    font-size: 20px;
    width: 45px;
    height: 45px;
    line-height: 45px;
}

.et_pb_social_media_follow li a.icon{
    width: 45px;
    height: 45px;
}

/*---------------*/
/***** LINK CONCEPT *****/
/*---------------*/

h2 span.text_red{
    color: #950008;
}

.concept_link a{
    text-decoration: none;
    position: relative;
    
}

.concept_link a:hover{
 
}

.concept_link a:before{
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #950008;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

.concept_link a:hover:before{
 visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}




/*---------------*/
/***** POST CONTENT *****/
/*---------------*/





/*---------------*/
/***** BNT HOVER DESIGN *****/
/*---------------*/

.btn {		
	position: relative;	
	padding: 15px 15px 15px 0px;
	font-size: 13px;
	color:  #950008;
	letter-spacing: 0.6rem;
	text-transform: uppercase;
	transition: all 600ms cubic-bezier(0.77, 0, 0.175, 1);	
	cursor: pointer;
  font-weight:bold;

}
  
.btn:before, .btn:after {
	content: '';
	position: absolute;	
	transition: inherit;
	z-index: -1;
}

.btn:hover {
	color: #FFFFFF;
	transition-delay: .2s;
    padding-left: 20px;
}

.btn:hover:before {
	transition-delay: 0s;
}

.btn:hover:after {
	background: #950008;
	transition-delay: .4s;
}



.btn2 {		
	position: relative;	
	padding: 15px 15px 15px 15px;
	font-size: 13px;
	color:  #FFFFFF;
	letter-spacing: 0.6rem;
	text-transform: uppercase;
	transition: all 600ms cubic-bezier(0.77, 0, 0.175, 1);	
	cursor: pointer;
  font-weight:bold;
text-align: center
}
  
.btn2:before, .btn2:after {
	content: '';
	position: absolute;	
	transition: inherit;
	z-index: -1;
}

.btn2:hover {
	color: #950008;
	transition-delay: .2s;
   
}

.btn2:hover:before {
	transition-delay: 0s;
}

.btn2:hover:after {
	background: #FFFFFF;
	transition-delay: .4s;
}



.btn3 {		
	position: relative;	
	padding: 15px 0px 15px 15px;
	font-size: 13px;
	color:  #950008;
	letter-spacing: 0.6rem;
	text-transform: uppercase;
	transition: all 600ms cubic-bezier(0.77, 0, 0.175, 1);	
	cursor: pointer;
  font-weight:bold;

}
  
.btn3:before, .btn3:after {
	content: '';
	position: absolute;	
	transition: inherit;
	z-index: -1;
}

.btn3:hover {
	color: #FFFFFF;
	transition-delay: .2s;
    padding-right: 20px;
}

.btn3:hover:before {
	transition-delay: 0s;
}

.btn3:hover:after {
	background: #950008;
	transition-delay: .4s;
}

.btn_nl {		
	position: relative;	
	padding: 15px 0px 15px 15px;
	font-size: 13px;
	color:  #950008;
	letter-spacing: 0.6rem;
	text-transform: uppercase;
	transition: all 600ms cubic-bezier(0.77, 0, 0.175, 1);	
	cursor: pointer;
  font-weight:bold;

}
  
.btn_nl:before, .btn_nl:after {
	content: '';
	position: absolute;	
	transition: inherit;
	z-index: -1;
}

.btn_nl:hover {
	color: #FFFFFF;
	transition-delay: .2s;
    padding-right: 20px;
}

.btn_nl:hover:before {
	transition-delay: 0s;
}

.btn_nl:hover:after {
	background: #950008;
	transition-delay: .4s;
}


  /* From Top */

.from-top:before, 
.from-top:after {
	left: 0;
	height: 0;
	width: 100%;
}

.from-top:before {
	bottom: 0;	
	border-top: 0;
	border-bottom: 0;
}

.from-top:after {
	top: 0;
	height: 0;
}

.from-top:hover:before,
.from-top:hover:after {
	height: 100%;
}

/* From Left */

.from-left:before, 
.from-left:after {
	top: 0;
	width: 0;
	height: 100%;
}

.from-left:before {
	right: 0;
	//border: 1px solid #950008;
	border-left: 0;
	border-right: 0;	
}

.from-left:after {
	left: 0;
}

.from-left:hover:before,
.from-left:hover:after {
	width: 50%;
  
}

/* From Right */

.right{
    text-align: right;
}

.from-right:before, 
.from-right:after {
	top: 0;
	width: 0;
	height: 100%;
}

.from-right:before {
	left: 0;
	border: 1px solid var(--inv);
	border-left: 0;
	border-right: 0;	
}

.from-right:after {
	right: 0;
}

.from-right:hover:before,
.from-right:hover:after {
	width: 50%;
}

/*---------------*/
/***** col order *****/
/*---------------*/

@media only screen and (max-width : 980px) {
    
   
    
  .dc-inverser-colonnes--section .dc-inverser-colonnes--ligne {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-direction: column-reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }
}

/*---------------*/
/***** border evenementiel *****/
/*---------------*/

.border_event{
   border-left:  3px solid #950008;
    padding-left: 20px;
}


/*---------------*/
/***** custom single page *****/
/*---------------*/


.hero-section {
    padding-top: 120px;
    padding-bottom: 120px;
    background-repeat: no-repeat;
    background-size: cover;
    position:relative;
    max-height: 450px;
    background-color: #333;
    width: 90%;
    margin: 0 auto;
}
 
.single-post #main-content #left-area {padding-top: 0px;}
 
/* ---- Sidebar Settings ---- */
.single #sidebar {background: #efefef; padding-top: 20px; padding-right: 20px; padding-left: 20px; padding-bottom: 20px;}
 
/* ---- Standard Post Title & Post Meta ---- */
.single h1.entry-title,.attachment h1.entry-title, .single p.post-meta {
width: 100%;
text-align: center;
padding-left: 8px;
padding-right: 8px;
font-weight: 800;
text-transform: uppercase;
color: #fff;
}
 
 @media only screen and (min-width: 980px) {
/*** Set title font size for desktop ***/
.single h1.entry-title {
font-size: 40px !important;
}
 }


/*---------------*/
/***** Age gate *****/
/*---------------*/

.more-link{
    border-bottom: 2px solid #950008;
}