.container_horizontal {

    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;

}


.container_vertical {

    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.container_vertical_center {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
 }

.container_horizontal_center {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
 }

.logo_container{
    display:inline-flex;
    align-items:center;
    vertical-align:middle
}


.card_static {
  background-color: white;
  width: 16em;
  height: 16em;
  line-height: normal;
  border: 1px solid #d2b380;
}

/* This container is needed to position the front and back side */
.card_static-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: left;
}


.h1_lestrade_image_main {

    color: white;
    /*	font-weight: 300;
	line-height: 1em;*/
	margin: 0 0 0 0 0;
    font-size: 1.5em;
     /*   line-height: 1em;
    letter-spacing: -0.025em;   */
    /*text-shadow: 5px 0 0 #272833, 0 -5px 0 #272833, 0 5px 0 #272833, -5px 0 0 #272833;*/
     /*text-shadow: #272833 0px 0px 5px;*/
    background-color: rgba(210, 178, 127, .7) ;
}

.h2_lestrade_card {

    color: #D2B27F;
    font-weight: bold;
	/*font-weight: 300;*/
	line-height: 1em;
	margin: 0 0 0.5em 0;
    font-size: 2em;
    line-height: 1em;
    letter-spacing: -0.025em;
    
}



.h2_lestrade_section {
    
    color: #D2B27F;
    font-weight: 900;
    line-height: 1em;
    margin: 0 0 1em 0;
    line-height: 1.5em;
    letter-spacing: -0.025em;
    font-size: 2.2em;
}



.p_lestrade_section {
    color: rgb(68, 100, 107);
    position: relative;
    margin: 0 0 1.5em 0;
    font-size: 1em;
}

.h3_lestrade_section {
    font-weight: 1000;
    color: rgb(68, 100, 107);
    position: relative;
    margin: 0 0 1.5em 0;
}


.h4_lestrade_section {
    font-weight: 700;
    color: #D2B27F;
    position: relative;
    margin: 0 0 1.5em 0;
}


header.major {
    margin: 0 0 2em 0;
}

header.lestrade {
    margin: 0 0 4em 0;
    position: relative;
    text-align: left;
}

    /* header.lestrade:before {

        background: #d2b380;
        content: '';
        display: inline-block;
        height: 0.1em;
        max-width: 60em;
        width: 75%;
        margin-left: -5em;
    } */


footer.lestrade {
    margin: 4em 0 0 0;
}


.lestrade_footer_container {
  display: flex;
}
.lestrade_footer_container > div {
  flex: 1; /*grow*/
}

.icon_container{
    display:inline-flex;
    vertical-align:right
}

.link_icon_container  {
    color: #ffffff;
    padding-right: 20px;
}

.lestrade_adress_footer {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1em;
    font-weight: bold;
    text-align: left;
    width: 100%;
    padding-top: 25px;

}


@media (max-width: 767px) {
    .desktop_only{
      display: none;
    }
  }

  .h2_lestrade_icon_front{
    color: #272833;
    position: relative;
    margin: 0 0 1.5em 0;
    font-size: 1.5em;
}

img.lestrade_icon_image {
    width: 8em;
    height: 8em;
}

/* The flip card container - set the width and height to whatever you want. We have added the border property to demonstrate that the flip itself goes out of the box on hover (remove perspective if you don't want the 3D effect */
.flip-card {
    background-color: white;
    width: 22em;
    max-width: 95vw;
    height: 22em;
    max-height: 95vw;
    padding: 0;
    line-height: normal;
    border: 1px solid #d2b380;
    /*perspective: 1000px; /* Remove this if you don't want the 3D effect */
  }
  
  /* This container is needed to position the front and back side */
  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: left;
    transition: transform 0.8s;
    transform-style: preserve-3d;
  }
  
  /* Do an horizontal flip when you move the mouse over the flip box container */
  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }
  
  /* Position the front and back side */
  .flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
  }
  
  /* Style the front side (fallback if image is missing) */
  .flip-card-front {
    background-color: #ffffff;
    color: black;
  /*   margin-top :1em; */
   
  }
  
  /* Style the back side */
  .flip-card-back {
    background-color:#d2b380;
    color: white;
    transform: rotateY(180deg);
  
  }
  
  .h2_lestrade_flip_front {
  
      color: #D2B27F;
      font-weight: 300;
      line-height: 1em;
      margin: 0 0 0.5em 0;
      font-size: 1.5em;
      line-height: 1em;
      letter-spacing: -0.025em;
      
  }
  
  .h2_lestrade_flip_back {
  
      color: #3F8994;
      font-weight: 300;
      line-height: 1em;
      margin: 0 0 0.5em 0;
      font-size: 1.5em;
      line-height: 1em;
      letter-spacing: -0.025em;
      
  }









  .change_card_lestrade {
    background-color: white;
    width: 22em;
    max-width: min(95%, 90vw);
    /* min-width: 16em; */
    height: 22em;
    max-height: 95%;
    /* aspect-ratio: 1 / 1; */
    padding: 0;
    line-height: normal;
    border: 1px solid #d2b380;
    position: relative;
    margin: 10px;
    /*perspective: 1000px; /* Remove this if you don't want the 3D effect */
  }

  @media (max-width: 400px) {
    .change_card_lestrade{
        max-width: 90vw;
    }
  }
  
  /* This container is needed to position the front and back side */
  .change_card_lestrade_inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: left;
  }
  
  
  /* Position the front and back side */
  .change_card_lestrade_front, .change_card_lestrade_back{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 1em 15pt 0 15pt;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden; 
    font-size: 1em;
    overflow: hidden;
  }
  
  /* Style the front side (fallback if image is missing) */
  .change_card_lestrade_front{
    background-color: #ffffff;
    color: black;
    z-index: 10;
  /*   margin-top :1em; */

    opacity: 1;
    -webkit-transition: opacity 0.3s ease-in-out;
    -moz-transition: opacity 0.3s ease-in-out;
    -ms-transition: opacity 0.3s ease-in-out;
    -o-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3 ease-in-out;
  }

  .change_card_lestrade:hover .change_card_lestrade_front {
        opacity: 0;
  }

  .change_card_lestrade_front.fade {
    opacity:0;
  }
  
  /* Style the back side */
  .change_card_lestrade_back {
    background-color:#d2b380;
    color: white;
    z-index: 9;
  }
  
  .h2_lestrade_change_front {
  
    color: #D2B27F;
    font-weight: 300;
    line-height: 1em;
    margin: 0 0 0.5em 0;
    font-size: 1.5em;
    line-height: 1em;
    letter-spacing: -0.025em;
      
  }
  
  .h2_lestrade_change_back {
  
      color: #3F8994;
    font-weight: 300;
    line-height: 1em;
    margin: 0 0 0.5em 0;
      font-size: 1.5em;
      line-height: 1em;
      letter-spacing: -0.025em;
      
  } 

  .change_card_lestrade_question {
    color: #D2B27F;
    font-size: 2em;
    font-weight: bold;
    position:absolute;
    bottom:0;
    right:5px;
    opacity: 60%;
  } 

  .change_card_lestrade_answer {
    color: #3F8994;
    font-size: 2em;
    font-weight: bold;
    position:absolute;
    bottom:0;
    right:5px;
  } 