* {
  box-sizing:border-box;
}

.heading-primary {
  font-size:2em;
  padding:2em;
  text-align:center;
}
.accordion dl {
   &:after {
       content: "";
       display:block;
       height:1em;
       width:100%;
     }
}
.accordion dd {
   font-size:1em;
   line-height:1.5em; 
   margin: 0;
   margin-bottom: 20px;
}
.accordion p span{
    color:#8bb31d;
    text-transform: uppercase;
    padding-right: 10px;
}

span.accordionItem-header-date {
  font-weight: 400;
}

.child-pax p span, p.special span {
  font-weight: 700;
}

.accordion .accordionItem-content-info p{
    margin: 0;
    margin-bottom: 5px !important;
}

.accordion {
    position:relative;
}

.container {
  max-width:960px;
  margin:0 auto;
  padding:2em 0 2em 0;
  @media screen and (max-width:960px) {
    margin:0 20px;
    }
}
.accordionTitle {
    background-color:#eaf7f9; 
    border: 1px solid #28b8ce;
    border-radius: 10px;
    font-weight:700; 
    padding: 1.2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration:none;
    color:#0a2f35;
    transition:background-color 0.5s ease-in-out;
    &:hover {
        background-color:darken(#eaf7f9, 10%);
    }
}
.accordionTitleActive, 
.accordionTitle.is-expanded {
   background-color:darken(#eaf7f9, 10%);
   border-bottom: none;
   border-radius: 10px 10px 0 0;
    /* &:before {
        transform:rotate(-225deg);
    } */
}
.accordionItem {
    height:auto;   
     overflow:hidden;     
    /* max-height:50em; */
    /* transition:max-height 1s;    */
    border: 1px solid #28b8ce;
    border-top: none;
    border-radius: 0 0 10px 10px;  
    margin-inline-start: 0; 
}

.accordionItem.is-expanded {
  overflow: visible;
}

.child-pax {
  display: flex;
  gap: 20px;
}

.accordionItem button, .btn-confirm-pilot {
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    width: 100%;
    margin: 0 15px;
}

.accordionItem.is-collapsed {
    max-height:0;
    border: none;
}
.no-js .accordionItem.is-collapsed {
  max-height: auto;
}

@keyframes accordionIn {
  0% {
    opacity: 0;
    transform:scale(0.9) rotateX(-60deg);
    transform-origin: 50% 0;
  }
  100% {
    opacity:1;
    transform:scale(1);
  }
}

@keyframes accordionOut {
    0% {
       opacity: 1;
       transform:scale(1);
     }
     100% {
          opacity:0;
           transform:scale(0.9) rotateX(-60deg);
       }
}

.accordionItem-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}

.accordionItem-content-info {
    flex: 0.8;
    @media screen and (max-width:768px) {
        flex: 1;
    }
}

.accordionItem-content button {
    flex: 0.2;
    align-self: center;
    @media screen and (max-width:768px) {
        flex: 1;
    }
}
  
.month-group {
  display: grid;
  /* Define Auto Row size */
  grid-auto-rows: max-content;
  /*Define our columns */
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
  grid-gap: 1em;
}

@media screen and (min-width:657px) {


  .accordionTitle {
    
  }
}

  /* Modal Header */
  .modal-header, .modal-footer {
    padding: 25px 16px;
    background-color: white;
    color: white;
  }

  .modal-header, .modal-footer, .modal-body {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .modal-header, .modal-body {
    text-align: left;
  }

  .modal-header {
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    padding-bottom: 0;
  }
  
  .modal-footer {
    border-top: none;
    display: flex;
    padding: 25px 16px;
    padding-top:0;
    padding-bottom: 50px;
  }

  .modal-footer, .modal-body {
    justify-content: center;
    max-width: 450px;
  }
    
  .modal-header h2 {
    font-size: 20px;
    text-transform: uppercase;
    color:#8bb31d;
    margin:0;
    line-height: 1.2;
  }
  
  .modal-content  .close {
    font-size: 30px;
    cursor: pointer;
    color: #28b8ce;
    line-height: 1;
    position: relative;
    top: 10px;
    right: 20px;
  }
  
  /* Modal Body */

  .modal-content {
    border: 1px solid #28b8ce;
    border-radius: 10px;
    background-color: white;
    text-align: right;
  }

  .modal-body {
    padding: 25px 16px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 10px;
  }
  
  .modal-body label{
    color: #325077;
  }
  
  .modal-body input[type=text] {
    border-color: #325077;
  }
  
  .form-group {
    display: flex;
    flex: 1 1 calc(50% - 10px);
    flex-direction: column;
    width: 100%;
  }

  .form-group select {
    border: 1px solid #28b8ce;
    border-radius: 5px;
    background: url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIiBmaWxsPSIjMjhiOGNlIj48dGl0bGU+YXJyb3dzPC90aXRsZT48cG9seWdvbiBjbGFzcz0iY2xzLTIiIHBvaW50cz0iMS40MSA0LjY3IDIuNDggMy4xOCAzLjU0IDQuNjcgMS40MSA0LjY3Ii8+PHBvbHlnb24gY2xhc3M9ImNscy0yIiBwb2ludHM9IjMuNTQgNS4zMyAyLjQ4IDYuODIgMS40MSA1LjMzIDMuNTQgNS4zMyIvPjwvc3ZnPg==) no-repeat 97% 50%;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
  }
    
  /* Modal Content */
  .modal-content {
    z-index: 5;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 80%;
    max-width: 960px;
    box-shadow: 0.3px 0.5px 0.7px hsl(215deg 18% 64% / 0.34),
                1.5px 2.9px 3.7px -0.4px hsl(215deg 18% 64% / 0.34),
                2.7px 5.4px 6.8px -0.7px hsl(215deg 18% 64% / 0.34),
                4.5px 8.9px 11.2px -1.1px hsl(215deg 18% 64% / 0.34),
                7.1px 14.3px 18px -1.4px hsl(215deg 18% 64% / 0.34),
                11.2px 22.3px 28.1px -1.8px hsl(215deg 18% 64% / 0.34),
                17px 33.9px 42.7px -2.1px hsl(215deg 18% 64% / 0.34),
                25px 50px 62.9px -2.5px hsl(215deg 18% 64% / 0.34);
    animation: .3s ease-in animatetop;
    animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
    border-radius: 10px;
  
  }
    
  /* Add Animation */
  @keyframes animatetop {
    0% {top: -300px;}
    100% {top: 50%;}
  }
  
  .d-none {
    display: none;
  }

  #modal-wrapper.opened{
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    padding-top: 200px;
    background: rgba(51,51,51,0.7);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .no-scroll {
    overflow: hidden;
  }

  /* Pilots (list) */
  .pilots-group .accordionItem-content-info {
    display: grid;
    /* Define Auto Row size */
    grid-auto-rows: max-content;
    /*Define our columns */
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); 
    grid-gap: 1em;
}

.accordion-element.booked * {
  color: #cccccc;
}
  