/*Setting the height of the page header*/
body {
    background-image: url('images/body_bg_cover_1.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}


/*Spinner start*/
.loader {
  z-index: 99;
  position: fixed;
  background-color: white;
  height: 100%;
  width: 100%;
}

.loader.hidden{
   animation-name: fadeOut;
   animation-duration: 1s;
   animation-fill-mode: forwards;
   
   -webkit-animation-duration: 1s;
   -webkit-animation-fill-mode: forwards;
   -webkit-animation-name: fadeOut;
}

   @keyframes fadeOut {
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@-webkit-keyframes fadeOut {
    100% {
        opacity: 0;
        visibility: hidden;
    }
}
/*Spinner ends*/

#page-header {
  background-image: url("images/bg_header_2024.png");
  background-repeat: no-repeat;
  background-size:cover;
  height: 180px;
}

.link-text {
  color: rgb(32, 32, 161);
  cursor: pointer;
}

.link-text:hover {
  text-decoration: underline;
  cursor: pointer;
}

/*PREVENTS THE POINTER FROM FLICKERING WHEN HOVERED*/
.tooltip {
  pointer-events: none;
}

/*SETTING THE MATGINS FOR THE RULES PAGE DEPENDING ON SCREEN WIDTH*/
.rules {
    margin-right: 7rem;
    margin-left: 7rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.statistics {
  font-size: 1.3rem;
}

/*BREAKPOINTS FOR THE RULES PAGE*/
@media screen and (max-width: 400px) {
    .rules {
        margin-top: 2rem;
        margin-right: 0.0rem;
        margin-left: 0.0rem;
        }
  }

@media screen and (max-width: 768px) {
    .rules {
        margin-right: 2rem;
        margin-left: 2rem;
        }
  }

  @media print {
    .btn {
      display: none;
    }
  }

.rules-list {
    list-style-type: square;
}

/*CUSTOMIZING THE CHECKBOX SIZE ON REGISTER PAGE*/
.checkbox-lg .custom-control-label::before, 
.checkbox-lg .custom-control-label::after {
  top: .8rem;
  width: 1.55rem;
  height: 1.55rem;
}

.checkbox-lg .custom-control-label {
  padding-top: 13px;
  padding-left: 6px;
}

/*GENERAL FONT SIZE FOR TABLES*/
.tablefont {
  font-size: 0.9rem;
}

/*ACCORDION BUTTONS ON PILOT HOME PAGE*/
.pilots-result{
  background-color:#F8F9FA;
  color: black;
  border: 1px solid lightgray;
}

.pilots-result:hover{
  background-color:lightgray !important;
  color: white!important;
}

.smallredtext {
  font-size: .8rem;
  color: red;
}


