/* THEMES */

/********** Theme: dark **********/
/* Font styles */
.flipdown.flipdown__theme-dark {
    font-family: sans-serif;
    font-weight: bold;
  }
  /* Rotor group headings */
  .flipdown.flipdown__theme-dark .rotor-group-heading:before {
    color: #000000;
  }
  /* Delimeters */
  .flipdown.flipdown__theme-dark .rotor-group:nth-child(n+2):nth-child(-n+3):before,
  .flipdown.flipdown__theme-dark .rotor-group:nth-child(n+2):nth-child(-n+3):after {
    background-color: #151515;
  }
  /* Rotor tops */
  .flipdown.flipdown__theme-dark .rotor,
  .flipdown.flipdown__theme-dark .rotor-top,
  .flipdown.flipdown__theme-dark .rotor-leaf-front {
    color: #FFFFFF;
    background-color: #151515;
  }
  /* Rotor bottoms */
  .flipdown.flipdown__theme-dark .rotor-bottom,
  .flipdown.flipdown__theme-dark .rotor-leaf-rear {
    color: #EFEFEF;
    background-color: #202020;
  }
 
/*  .flipdown.flipdown__theme-dark .rotor:after {*/
/*    border-top: solid 1px #adb5bd;*/
/*}*/
  /********** Theme: light **********/
  /* Font styles */
  .flipdown.flipdown__theme-light {
    font-family: sans-serif;
    font-weight: bold;
  }
  /* Rotor group headings */
  .flipdown.flipdown__theme-light .rotor-group-heading:before {
    color: #EEEEEE;
  }
  /* Delimeters */
  .flipdown.flipdown__theme-light .rotor-group:nth-child(n+2):nth-child(-n+3):before,
  .flipdown.flipdown__theme-light .rotor-group:nth-child(n+2):nth-child(-n+3):after {
    background-color: #DDDDDD;
  }
  /* Rotor tops */
  .flipdown.flipdown__theme-light .rotor,
  .flipdown.flipdown__theme-light .rotor-top,
  .flipdown.flipdown__theme-light .rotor-leaf-front {
    color: #222222;
    background-color: #DDDDDD;
  }
  /* Rotor bottoms */
  .flipdown.flipdown__theme-light .rotor-bottom,
  .flipdown.flipdown__theme-light .rotor-leaf-rear {
    color: #333333;
    background-color: #EEEEEE;
  }
  /* Hinge */
  .flipdown.flipdown__theme-light .rotor:after {
    border-top: solid 1px #222222;
  }
  
  /* END OF THEMES */
  
  .flipdown {
    overflow: visible;
    width: 100%;
    height: 110px;
  }
  
  .flipdown .rotor-group {
    position: relative;
    float: left;
    padding-right: 20px;
  }
  
  .flipdown .rotor-group:last-child {
    padding-right: 10px;
  }
  
  .flipdown .rotor-group-heading:before {
    display: block;
    height: 30px;
    line-height: 30px;
    text-align: center;
  }
  
  .flipdown .rotor-group:nth-child(1) .rotor-group-heading:before {
    content: attr(data-before);
  }
  
  .flipdown .rotor-group:nth-child(2) .rotor-group-heading:before {
    content: attr(data-before);
  }
  
  .flipdown .rotor-group:nth-child(3) .rotor-group-heading:before {
    content: attr(data-before);
  }
  
  .flipdown .rotor-group:nth-child(4) .rotor-group-heading:before {
    content: attr(data-before);
  }
  
  /* .flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):before {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 115px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
  } */
  
  /* .flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):after {
    content: '';
    position: absolute;
    bottom: 50px;
    left: 115px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
  } */
  
  .flipdown .rotor {
    position: relative;
    float: left;
    width: 2.5vw;
    height: 80px;
    margin: 0px 5px 0px 0px;
    border-radius: 4px;
    font-size: 3rem;
    text-align: center;
    perspective: 200px;
  }
  
  .flipdown .rotor:last-child {
    margin-right: 0;
  }
  
  .flipdown .rotor-top,
  .flipdown .rotor-bottom {
    overflow: hidden;
    position: absolute;
    width: 2.5vw;
    height: 40px;
  }
  
  .flipdown .rotor-leaf {
    z-index: 1;
    position: absolute;
    width: 2.5vw;
    height: 80px;
    transform-style: preserve-3d;
    transition: transform 0s;
  }
  
  .flipdown .rotor-leaf.flipped {
    transform: rotateX(-180deg);
    transition: all 0.5s ease-in-out;
  }
  
  .flipdown .rotor-leaf-front,
  .flipdown .rotor-leaf-rear {
    overflow: hidden;
    position: absolute;
    width: 2.5vw;
    height: 40px;
    margin: 0;
    transform: rotateX(0deg);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
  
  .flipdown .rotor-leaf-front {
    line-height: 80px;
    border-radius: 4px 4px 0px 0px;
  }
  
  .flipdown .rotor-leaf-rear {
    line-height: 0px;
    border-radius: 0px 0px 4px 4px;
    transform: rotateX(-180deg);
  }
  
  .flipdown .rotor-top {
    line-height: 80px;
    border-radius: 4px 4px 0px 0px;
  }
  
  .flipdown .rotor-bottom {
    bottom: 0;
    line-height: 0px;
    border-radius: 0px 0px 4px 4px;
  }
  
  .flipdown .rotor:after {
    content: '';
    z-index: 2;
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 40px;
    height: 40px;
    border-radius: 0px 0px 4px 4px;
  }
   @media (max-width: 1560px){
  
    .flipdown .rotor-group{
        padding-right:20px;
        font-size:15px;
    }
    .flipdown .rotor{
        width:2vw;
        height:60px;
        font-size:2.5rem;
    }
    .flipdown .rotor-leaf{
        width:2vw;
        height:60px;
    }
    .flipdown .rotor-top, .flipdown .rotor-bottom{
        width:2vw;
        height:30px;
    }
    .flipdown .rotor-leaf-front, .flipdown .rotor-leaf-rear{
        width:2vw;
        height:30px;
    }
    .flipdown .rotor:after{
        width:2vw;
        height:60px;
    }
    .flipdown .rotor-leaf-front, .flipdown .rotor-top{
        line-height:60px;
    }
    
    
}
  @media (max-width: 1280px){
  
    .flipdown .rotor-group{
        padding-right:10px;
    }
    .flipdown .rotor{
        width:2.5vw;
        height:50px;
        font-size:1.8rem;
    }
    .flipdown .rotor-leaf{
        width:2.5vw;
        height:50px;
    }
    .flipdown .rotor-top, .flipdown .rotor-bottom{
        width:2.5vw;
        height:25px;
    }
    .flipdown .rotor-leaf-front, .flipdown .rotor-leaf-rear{
        width:2.5vw;
        height:25px;
    }
    .flipdown .rotor:after{
        width:2.5vw;
        height:50px;
    }
    .flipdown .rotor-leaf-front, .flipdown .rotor-top{
        line-height:50px;
    }
    
       .flipdown .rotor-group{
        font-size:0.8rem;
    }
}
@media (max-width: 992px){
  
    .flipdown .rotor-group{
        padding-right:7px;
    }
    .flipdown .rotor{
        width:2vw;
        height:50px;
        font-size:1rem;
    }
    .flipdown .rotor-leaf{
        width:2vw;
        height:50px;
    }
    .flipdown .rotor-top, .flipdown .rotor-bottom{
        width:2vw;
        height:25px;
    }
    .flipdown .rotor-leaf-front, .flipdown .rotor-leaf-rear{
        width:2vw;
        height:25px;
    }
    .flipdown .rotor:after{
        width:2vw;
        height:50px;
    }
    .flipdown .rotor-leaf-front, .flipdown .rotor-top{
        line-height:50px;
    }
    .flipdown .rotor-group{
        font-size:0.5rem!important;
    }
    
    
}
@media (max-width:768px) and (min-width:765px){
     .flipdown .rotor-group{
        font-size:0.3rem!important;
    }
  
    .flipdown .rotor-group{
        padding-right:2px;
    }
    .flipdown .rotor{
        width:1.5vw;
        height:50px;
        font-size:1rem;
    }
    .flipdown .rotor-leaf{
        width:1.5vw;
        height:50px;
    }
    .flipdown .rotor-top, .flipdown .rotor-bottom{
        width:1.5vw;
        height:25px;
    }
    .flipdown .rotor-leaf-front, .flipdown .rotor-leaf-rear{
        width:1.5vw;
        height:25px;
    }
    .flipdown .rotor:after{
        width:1.5vw;
        height:50px;
    }
    .flipdown .rotor-leaf-front, .flipdown .rotor-top{
        line-height:50px;
    }
    .flipdown{
        height:120px;
    }
 
}
 @media (max-width: 765px){
         .rotor-group{
        font-size:1rem;
    }
  
    .flipdown .rotor-group{
        padding-right:20px;
    }
    .flipdown .rotor{
        width:6vw;
        height:80px;
        font-size:2rem;
    }
    .flipdown .rotor-leaf{
        width:6vw;
        height:80px;
    }
    .flipdown .rotor-top, .flipdown .rotor-bottom{
        width:6vw;
        height:40px;
    }
    .flipdown .rotor-leaf-front, .flipdown .rotor-leaf-rear{
        width:6vw;
        height:40px;
    }
    .flipdown .rotor:after{
        width:6vw;
        height:80px;
    }
    .flipdown .rotor-leaf-front, .flipdown .rotor-top{
        line-height:80px;
    }
    .flipdown{
        height:120px;
    }
    .hero h1{
        font-size:2.5rem;
    }
    .hero h2{
        font-size:2rem;
    }
    
    
}

@media (max-width: 550px) {

    .rotor-group{
        font-size:0.6rem!important;
    }
  
    .flipdown .rotor-group{
        padding-right:5px;
    }
    .flipdown .rotor{
        width:6vw;
        height:60px;
        font-size:2rem;
    }
    .flipdown .rotor-leaf{
        width:6vw;
        height:60px;
    }
    .flipdown .rotor-top, .flipdown .rotor-bottom{
        width:6vw;
        height:30px;
    }
    .flipdown .rotor-leaf-front, .flipdown .rotor-leaf-rear{
        width:6vw;
        height:30px;
    }
    .flipdown .rotor:after{
        width:6vw;
        height:60px;
    }
    .flipdown .rotor-leaf-front, .flipdown .rotor-top{
        line-height:60px;
    }
}
