/** Custom CSS For AP Crane Training **/

 hr {
    height:10px;
    border-width:0;
    color:gray;
    background-color:#2E327A
  }

/* === Banner logo=== */
.custom-logo-left,
.custom-logo-right {

  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    top: 100px;
    z-index: 1000; /* Ensure the logos are in front of the banner */
  
}

.custom-logo-left {
    /* Move the logo 50% from the left edge */

}

.custom-logo-right {
    padding-top: 75px;
    right: 30px;

}
.hidden {
    opacity: 0;
    visibility: hidden;
}


/* === banner callout ===*/

  .custom-btn {
    background-color: rgb(47, 50, 118); /* Set the button color to the blue from the image */
    color: white; /* White text color */
    border: none; /* Remove the default outline */
  }

  .custom-btn:hover {
    background-color: rgb(37, 40, 98); /* Darker blue on hover */
    color: white; /* Keep white text color */
  }

  /* Flexbox layout to keep boxes side by side, with stacking on small screens */
  .box-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
  }

  .box-container div {
    background-color: rgb(185, 154, 90); /* Box color */
    flex: 1;
    padding: 20px;
    border-radius: 10px; /* Rounded corners */
  }

  /* Media query to stack the boxes on smaller screens */
  @media (max-width: 768px) {
    .box-container {
      flex-direction: column;
      gap: 10px; /* Reduce space between boxes when stacked */
    }
  }

  /* Remove the white border line */
  .no-border {
    border: none;
  }

/* === Navbar === */

.navbar {
    position: sticky;
}

.navbar .navbar-brand {
    position: absolute;
    top: 0;
    padding-top: 0;
    margin-right: 0px;
}

.navbar-dark .navbar-nav .nav-link {
    text-transform: uppercase;
    font-weight: bold
}

.navbar-brand img {
    transition: all .25s ease;
    width: 200px;
}

.sticky-nav .navbar-brand img {
    width: 90px;
}

.sticky-nav {
    justify-content: center;
    width: 100%;
    display: block;
}

.navbar .logo-wrap {
    width: 0px;
}

.float-right {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.navbar-nav {
    transition: all .25s ease;
}

/* === Subheader === */

.hedbg {
    background-image: url('/images/crane-banner.jpg');
    position: relative;
    /* background-color: rgba(5, 19, 54, 0.6); */
    /* background-blend-mode: darken; */
}

.jumbotron {
    margin-bottom: 0;
}

.d-flex {
    gap: 20px;
}

.bg-warning {
    background-color: #fc9026;
}

/* === Mailing Form === */

#form69 {
    text-align: center !important;
}

#form69 #header>div {
    display: none;
}

.redesigned-theme-2018 .wufoo li {
    padding: 0px !important;
}

#form69 #header {
    margin-bottom: 20px !important;
    padding-bottom: 0px !important;
}

.redesigned-theme-2018 li>div,
.redesigned-theme-2018 li>div input,
.redesigned-theme-2018 li>span,
.redesigned-theme-2018 li>span input {
    width: 100%;
}

#form69 ul {
    max-width: 640px;
    margin: auto;
    width: 100%;
}

#form69 .buttons {
    margin-top: 20px;
}


@media (max-width: 1499px) {
    .navbar-nav {
        margin-left: 0px !important;
        padding-left: 160px;
    }

    .sticky-nav .navbar-nav {
        margin-left: 0px !important;
        padding-left: 120px;
    }
}

@media (max-width: 1399px) {
    .nav-link {
        font-size: 13px;
        line-height: 24px;
    }
}

@media (min-width: 1250px) {
    .visible-mobile {
        display: none;
    }
}

@media (max-width: 1249px) {
    .visible-desktop {
        display: none;
    }

    .mobile-cta {
        text-align: center;
        padding: 5px 0px;
        background: #000;
    }
}

@media (max-width: 999px) {
    .d-flex {
        display: block !important;
    }

    .d-flex a {
        width: 100%;
    }

    .d-flex>div+div {
        margin-top: 11px;
    }

}

@media (max-width: 991px) {

    .card-deck .card {
        margin: 0px 0px 20px;
    }
}

@media (max-width: 979px) {
    .navbar-brand img {
        width: 90px;
    }

    .navbar-expand-md .navbar-toggler {
        display: block;
    }

    .navbar {
        float: right;
        display: block;
        width: 100%;
    }

    .navbar-collapse:not(.show) .navbar-nav {
        display: none;
    }

    .navbar-toggler {
        margin-right: 0px;
        margin-left: auto;
    }

    .navbar-collapse.show .navbar-nav {
        display: block;
    }

    .navbar-nav {
        padding-left: 110px;
        margin-top: -40px;
    }
}

@media (min-width: 576px) {
    .card-deck .card {
        margin-left: 5px;
        margin-right: 5px;
    }
}