body,
html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

main {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.container {
    display: flex;
    width: 100%;
    /* margin-top: 20px; */
}

.heading {
    text-align: center;
    font-family: 'inter';
    font-size: 24px;
    font-weight: 400;
    color: #4e4e4e;
}

.hr {
    border-top: 1px solid rgb(199, 196, 196);
    margin-bottom: 10px;
}

.form-section {
    width: 28%;
    padding: 20px;
    /* padding-left: 0px; */
    box-sizing: border-box;
    color: #707070;
}

.map-section {
    width: 72%;
    padding: 10px;
    padding-right: 0;
    height: calc(100vh - 96px);
    box-sizing: border-box;
}

#map {
    width: 100%;
    height: calc(100vh - 84px);
}

.inputbox {
    width: 100%;
    padding: 8px 0 8px 0;
    font-family: 'inter';
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Roboto';
}

.box-border {
    border-top: 1px solid rgb(199, 196, 196);
}

.inputbox label {
    margin-bottom: 5px;
    color: #707070;
}

.inputbox span {
    font-size: 18px;
    font-family:'Roboto';
    font-weight: 400;
}

select {
    border: 2px solid #b7b3b3;
    color: #3b3b3b;
    padding: 5px 10px;
    width: 50%;
    font-family:'inter';
    border-radius: 3px;

}

select:focus {
    background-color: rgb(242, 247, 246);
}

.selection {
    display: flex;
    gap: 10px;
}

.inputbox input:focus {
    outline: none;
}

.second-section {
    display: flex;
    flex-direction: column;
}

.table-apply {
    display: none;
}

.sidebar-apply {
    max-width: 100%;
    margin-top: 35px;
    color: #FFF;
    background: rgba(0, 127, 255, 1);
    background: -moz-linear-gradient(left, rgba(0, 127, 255, 1) 0%, rgba(0, 64, 128, 1) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(0, 127, 255, 1)), color-stop(100%, rgba(0, 64, 128, 1)));
    background: -webkit-linear-gradient(left, rgba(0, 127, 255, 1) 0%, rgba(0, 64, 128, 1) 100%);
    background: -o-linear-gradient(left, rgba(0, 127, 255, 1) 0%, rgba(0, 64, 128, 1) 100%);
    background: -ms-linear-gradient(left, rgba(0, 127, 255, 1) 0%, rgba(0, 64, 128, 1) 100%);
    background: linear-gradient(to right, rgba(0, 127, 255, 1) 0%, rgba(0, 64, 128, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0009ff', endColorstr='#004080', GradientType=1);
    border-radius: 5px;
    margin-right: -15px;
    text-align: center;
}

.sidebar-apply a {
    color: rgba(255, 255, 255, 1);
    text-decoration: none;
}

.sidebar-apply :hover {
    color: rgb(219, 219, 219);
}

a {
    cursor: pointer;
    font-weight: bold;
    outline: none;
    text-decoration: none;
}

.sidebar-apply-top {
    font-size: 18px;
    line-height: 30px;
    padding: 10px;
    font-family: 'inter';
}

.sidebar-apply-bot {
    font-size: 20px;
    line-height: 25px;
    padding: 5px 0 10px;
    background: rgba(255, 255, 255, 0.3) url(https://fortunetransportation.com/wp-content/uploads/2019/05/footer-apply-b-L.png) left bottom no-repeat;
    background-size: contain;
    font-family: 'inter'
}

.benefits-box {
    margin-top: 20px;
    padding-top: 15px;
    width: 100%;
    border: 1px solid #294681;
    border-radius: 5px;
    font-family: 'inter';
    border-radius: 5px;
    text-align: center;
}

.benefits-box .table-heading {
    border-bottom: 1px solid #294681;
    margin: 0;
}

.benefits-box p {
    margin: 0 0 15px 0;
    font-size: 25px;
    color: #294681;
    font-family: 'inter';
    line-height: 10px;
}

.benefits-list {
    list-style: none;
    padding: auto;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;

}

.benefits-list li {
    display: flex;
    align-items: center;
    font-size: 18px;
    color: #294681;
    font-family: "inter";
}

.benefits-list li::before {
    content: "✔";
    margin-right: 8px;
    color: #294681;
    font-weight: bold;
}


.map-image {
    width: 50%;
    padding: 10px;
}

.modal-content {
    display: none;
    position: fixed;
    background-color: #fff;
    padding: 10px;
    z-index: 1;
    width: 90%;
    max-width: 500px;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #ccc;
}

.active {
    display: block;
}

/* #popup-trigger {
    width: 300px;
    cursor: pointer;
}

#popup:target {
    display: block;
}
 */

/* MODAL CSS */
 /* Modal background */
 .modalonMap {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Black with transparency */
    justify-content: center;
    align-items: center;
  }

  /* Modal content box */
  .modalonMap .modal-content-map {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    max-width: 500px;
    width: 80%;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    
  }

  /* Close button */
  .modalonMap .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 18px;
    cursor: pointer;
  }

  .modalonMap h2 {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .modalonMap p {
    font-size: 16px;
    color: #666;
  }

  /* Show the modal when triggered */
  .modalonMap.active {
    display: flex;
  }

  /* MODAL CSS */



@media screen and (max-width: 996px) {

    .map-section {
        height: calc(100vh - 20px);
    }

    #map {
        height: calc(100vh - 20px);
    }

    /* .form-section {
        padding: 0px;
    } */

    .sidebar-apply {
        display: none;
    }

    /* .table-apply-section {
        display: none;
    }

    .table-apply {
        display: flex;
        gap: 40px;
        padding: 20px;
        padding-top: 10px;
    } */
}

@media screen and (max-width: 806px) {
    .container {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 20px;
    }

    .second-section {
        flex-direction: row;
        justify-content: space-between;
        gap: 40px;
        display: none;
    }

    .benefits-list li {
        font-size: 15px;
    }

    .form-section {
        width: 100%;
        padding-bottom: 0px;
    }

    .map-section {
        width: 100%;
        padding: 0px;
        height: 100vh;
    }

    .sidebar-apply {
        display: none;
    }

    .table-apply {
        display: flex;
        gap: 25px;
        padding: 20px;
        padding-top: 10px;
    }
}

@media screen and (max-width: 550px) {
    .second-section {
        flex-direction: column;
        justify-content: space-between;
        gap: 20px;
    }

    .benefits-box {
        margin-top: 10px;
    }

    .table-apply {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }

}

/* <iframe src="https://route-app-wheat.vercel.app/" frameborder="0"></iframe> */


