/* detail */

@media (min-width: 991px) {
    .book-body {
        min-height: calc(100vh - 80px);
    }
    .detail {
        background-color: white;
        box-shadow: 0px 0px 22px 0px rgba(213, 213, 213, 0.52);
        margin-right: 20px;
        padding: 20px;
        border-radius: 15px;
    }
    .detail .title-head {
        border-bottom: 1px solid rgb(212, 212, 212);
    }
    .detail .title-head h5 {
        font-size: 25px;
    }
    .form-item {
        width: 100%;
        position: relative;
        margin-top: 30px;
    }
    .form-item .txt {
        width: 100%;
        border: 1px solid #3545674F;
        border-radius: 12px;
        height: 56px;
        background-color: transparent;
        padding-left: 15px;
        z-index: 1;
    }
    .form-item select {
        width: 100%;
        border: 1px solid #3545674F;
        border-radius: 12px;
        height: 56px;
        background-color: transparent;
        padding-left: 15px;
        z-index: 1;
    }
    .form-item .txt::placeholder {
        color: rgb(148, 148, 148);
        font-size: 18px;
    }
    .form-item .txt:focus {
        outline: 2px solid #1192b9 !important;
        box-shadow: 0px 0px 15px 0px #00d5e448;
        border: none !important;
    }
    .form-item .select {
        width: 100%;
        border: 1px solid #3545674F;
        border-radius: 12px;
        height: 56px;
        background-color: transparent;
        padding-left: 15px;
        cursor: pointer;
        z-index: 1;
    }
    .form-item .select:focus {
        outline: none !important;
    }
    .form-item label {
        position: absolute;
        color: #354567;
        font-size: 16px;
        top: -12px;
        left: 18px;
        background-color: rgb(255, 255, 255);
        padding-left: 5px;
        padding-right: 5px;
    }
    .form-item img {
        position: absolute;
        right: 10px;
        top: 15px;
        width: 25px;
    }
    .form-item .select-box {
        width: 100%;
        max-height: 200px;
        border: 1px solid #3545674F;
        position: absolute;
        z-index: 2;
        background-color: white;
        /* border-top: none; */
        top: 49px;
        overflow-y: scroll;
        display: none;
    }
    .form-item .select-box ul {
        list-style: none;
        padding-left: 0px;
    }
    .form-item .select-box li {
        color: black;
        font-size: 15px;
        padding: 7px 20px;
        cursor: pointer;
    }
    .form-item .select-box .active {
        background-color: #64c6e4;
        color: white;
    }
    .form-item .select-box li:hover {
        background-color: #64c6e4;
        color: white;
    }
    .btn-group-type {
        margin-top: 30px;
    }
    .btn-group-type label {
        color: #354567;
        font-size: 16px;
    }
    .btn-group-type .inner-btn {
        background: -webkit-linear-gradient(180deg, #1192b9 0%, #00d6e4 100%);
        border-radius: 15px;
        margin-top: 10px;
        width: 100%;
        padding: 7px;
    }
    .btn-group-type .inner-btn a {
        text-decoration: none;
        color: rgb(255, 255, 255);
        padding: 7px 7px 2px 7px;
        cursor: pointer;
        width: 50%;
        text-align: center;
        display: flex;
        justify-content: center;
    }
    .btn-group-type .inner-btn img {
        width: 20px;
        margin-top: -9px;
    }
    .btn-group-type .inner-btn span {
        margin-left: 5px;
    }
    .btn-group-type .inner-btn .active {
        background-color: white;
        border-radius: 15px;
        color: #1C274C;
    }
    .map {
        margin-top: 40px;
    }
}

@media (max-width: 991px) {
    .book-body {
        /* height: 100%; */
    }
    .detail {
        background-color: white;
        box-shadow: 0px 0px 22px 0px rgba(213, 213, 213, 0.52);
        margin-right: 0px;
        padding: 20px;
        border-radius: 15px;
        margin-top: 30px;
    }
    .detail .title-head {
        border-bottom: 1px solid rgb(212, 212, 212);
    }
    .detail .title-head h5 {
        font-size: 18px;
    }
    .form-item {
        width: 100%;
        position: relative;
        margin-top: 30px;
    }
    .form-item .txt {
        width: 100%;
        border: 1px solid #3545674F;
        border-radius: 12px;
        height: 46px;
        background-color: transparent;
        padding-left: 15px;
        font-size: 14px;
        z-index: 1;
    }
    .form-item select {
        width: 100%;
        border: 1px solid #3545674F;
        border-radius: 12px;
        height: 46px;
        background-color: transparent;
        padding-left: 15px;
        font-size: 14px;
        z-index: 1;
    }
    .form-item .txt::placeholder {
        color: rgb(148, 148, 148);
        font-size: 14px;
    }
    .form-item .txt:focus {
        outline: 2px solid #1192b9 !important;
        box-shadow: 0px 0px 15px 0px #00d5e448;
        border: none !important;
    }
    .form-item .select {
        width: 100%;
        border: 1px solid #3545674F;
        border-radius: 12px;
        height: 46px;
        background-color: transparent;
        padding-left: 15px;
        cursor: pointer;
        font-size: 14px;
        z-index: 1;
    }
    .form-item .select:focus {
        outline: none !important;
    }
    .form-item label {
        position: absolute;
        color: #354567;
        font-size: 14px;
        top: -12px;
        left: 18px;
        background-color: rgb(255, 255, 255);
        padding-left: 5px;
        padding-right: 5px;
    }
    .form-item img {
        position: absolute;
        right: 10px;
        top: 15px;
        width: 25px;
    }
    .form-item .select-box {
        width: 100%;
        max-height: 170px;
        border: 1px solid #3545674F;
        position: absolute;
        z-index: 2;
        background-color: white;
        /* border-top: none; */
        top: 39px;
        overflow-y: scroll;
        display: none;
    }
    .form-item .select-box ul {
        list-style: none;
        padding-left: 0px;
    }
    .form-item .select-box li {
        color: black;
        font-size: 14px;
        padding: 5px 10px;
        cursor: pointer;
        border-bottom: 1px solid rgb(236, 236, 236);
    }
    .form-item .select-box li:hover {
        background-color: #64c6e4;
        color: white;
    }
    .btn-group-type {
        margin-top: 30px;
    }
    .btn-group-type label {
        color: #354567;
        font-size: 14px;
    }
    .btn-group-type .inner-btn {
        background: -webkit-linear-gradient(180deg, #1192b9 0%, #00d6e4 100%);
        border-radius: 15px;
        margin-top: 10px;
        width: 100%;
        padding: 7px;
    }
    .btn-group-type .inner-btn a {
        text-decoration: none;
        color: rgb(255, 255, 255);
        padding: 7px 7px 2px 7px;
        cursor: pointer;
        width: 50%;
        text-align: center;
        display: flex;
        justify-content: center;
        font-size: 12px;
    }
    .btn-group-type .inner-btn img {
        width: 15px;
        margin-top: -9px;
    }
    .btn-group-type .inner-btn span {
        margin-left: 5px;
    }
    .btn-group-type .inner-btn .active {
        background-color: white;
        border-radius: 15px;
        color: #1C274C;
    }
    .map {
        margin-top: 40px;
    }
}


/* cart */

@media (min-width: 991px) {
    .cart {
        background-color: white;
        box-shadow: 0px 0px 22px 0px rgba(213, 213, 213, 0.52);
        /* margin-left: 20px; */
        border-radius: 15px;
        padding: 20px;
    }
    .cart .title-head {
        border-bottom: 1px solid rgb(212, 212, 212);
    }
    .cart .roadmap .item {
        display: flex;
        align-items: center;
        /* background-color: rgba(240, 240, 240, 0.527); */
        margin-top: 0px;
        padding: 5px;
        border-radius: 10px;
        position: relative;
    }
    .cart .roadmap .item::before {
        content: "";
        border-left: 2px dashed #cacfd3;
        position: absolute;
        bottom: -25px;
        left: 13.5px;
        width: 5px;
        /* height: 60px; */
        z-index: 1;
        height: 110%;
    }
    .cart .roadmap .item:last-child:before {
        content: "";
        border-left: none;
    }
    .cart .roadmap .item i {
        font-size: 22px;
        color: #cacfd3;
        z-index: 1000;
        background-color: white;
    }
    .cart .roadmap .item .fa-edit {
        display: none;
    }
    .cart .roadmap .item h6 {
        font-size: 18px;
        margin-top: 15px;
        margin-left: 10px;
    }
    .cart .roadmap .active i {
        color: #1192b9 !important;
    }
    .cart .roadmap .active .fa-edit {
        display: block;
        cursor: pointer;
    }
    .cart .roadmap .active::before {
        content: "";
        border-left: 2px dashed #1192b9 !important;
        position: absolute;
        bottom: -25px;
        left: 13.5px;
        width: 5px;
        height: 100%;
        z-index: 1;
    }
    .cart .roadmap .active:last-child:before {
        content: "" !important;
        border-left: none !important;
    }
    .cart .roadmap .item .service-select {
        margin-left: 30px;
    }
    .cart .roadmap .item .service-select .serv-item {
        display: flex;
        justify-content: space-between;
    }
    .cart .roadmap .item .service-select .serv-item span:first-child {
        font-size: 12px;
        color: #709ba8;
        width: 50%;
    }
    .cart .roadmap .item .service-select .serv-item i {
        font-size: 12px;
        color: red !important;
        margin-right: 5px;
        cursor: pointer;
    }
    .cart .roadmap .item .service-select .serv-item span {
        font-size: 12px;
        color: #709ba8;
        width: 25%;
    }
    .cart .roadmap .item .extraservice-select {
        margin-left: 30px;
    }
    .cart .roadmap .item .extraservice-select h6 i {
        margin-right: 2px;
        font-size: 10px;
        color: #0a5e77;
    }
    .cart .roadmap .item .extraservice-select h6 {
        margin-left: 0px;
        font-size: 14px;
        color: #0a5e77;
    }
    .cart .roadmap .item .extraservice-select .serv-item {
        display: flex;
        justify-content: space-between;
    }
    .cart .roadmap .item .extraservice-select .serv-item span:first-child {
        font-size: 12px;
        color: #709ba8;
        width: 50%;
    }
    .cart .roadmap .item .extraservice-select .serv-item i {
        font-size: 12px;
        color: red !important;
        margin-right: 5px;
        cursor: pointer;
    }
    .cart .roadmap .item .extraservice-select .serv-item span {
        font-size: 12px;
        color: #709ba8;
        width: 25%;
    }
    .cart .price-div {
        background-color: #e1e4e693;
        margin-top: 10px;
        padding: 10px;
        border-radius: 10px;
    }
    .cart .price-div .price-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 5px;
    }
    .cart .price-div .price-item h6 {
        margin-top: 3px;
    }
    .cart .price-div .price-item:last-child h6 {
        font-weight: 900;
        font-size: 22px;
    }
    .cart .price-div .price-item:last-child h5 {
        font-weight: 900;
        font-size: 22px;
    }
    .cart .price-div .price-item:last-child h5 {
        font-weight: 900;
        font-size: 22px;
    }
    .cart .next-btn {
        background: -webkit-linear-gradient(180deg, #1192b9 0%, #00d6e4 100%);
        border-radius: 35px;
        height: 50px;
        cursor: pointer;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        margin-top: 20px;
        font-size: 20px;
    }
    .cart .next-btn i {
        margin-left: 10px;
        margin-top: -7px;
        font-size: 25px;
    }
    .cart .discount {
        margin-top: 20px;
    }
    .cart .discount h6 {
        padding-top: 10px;
    }
    .cart .discount-input {
        width: 100%;
        height: 45px;
        position: relative;
    }
    .cart .discount-input input {
        width: 100%;
        height: 100%;
        background-color: #e1e4e693;
        border-radius: 10px;
        border: none;
        padding-left: 10px;
    }
    .cart .discount-input a {
        width: 70px;
        height: 30px;
        background-color: #1192b9;
        color: white;
        position: absolute;
        top: 7px;
        right: 10px;
        border-radius: 10px;
        text-decoration: none;
        text-align: center;
        padding-top: 5px;
    }
    .next-contact-btn {
        background: -webkit-linear-gradient(180deg, #1192b9 0%, #00d6e4 100%);
        border-radius: 35px;
        height: 50px;
        cursor: pointer;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        margin-top: 20px;
        font-size: 20px;
        width: 150px;
    }
    .next-contact-btn i {
        margin-left: 10px;
        margin-top: -7px;
        font-size: 25px;
    }
}

@media (max-width: 991px) {
    .cart {
        background-color: white;
        box-shadow: 0px 0px 22px 0px rgba(213, 213, 213, 0.52);
        /* margin-left: 20px; */
        border-radius: 15px;
        padding: 20px;
        margin-top: 30px;
        margin-bottom: 70px;
    }
    .cart .title-head {
        border-bottom: 1px solid rgb(212, 212, 212);
    }
    .cart .title-head h5 {
        font-size: 18px;
    }
    .cart .roadmap .item {
        display: flex;
        align-items: center;
        /* background-color: rgba(240, 240, 240, 0.527); */
        margin-top: 0px;
        padding: 5px;
        border-radius: 10px;
        position: relative;
    }
    .cart .roadmap .item::before {
        content: "";
        border-left: 2px dashed #cacfd3;
        position: absolute;
        bottom: -25px;
        left: 13.5px;
        width: 5px;
        height: 110%;
        z-index: 0;
    }
    .cart .roadmap .item:last-child:before {
        content: "";
        border-left: none;
    }
    .cart .roadmap .item i {
        font-size: 22px;
        color: #cacfd3;
        z-index: 1;
        background-color: white;
    }
    .cart .roadmap .item .fa-edit {
        display: none;
    }
    .cart .roadmap .item h6 {
        font-size: 16px;
        margin-top: 12px;
        margin-left: 10px;
    }
    .cart .roadmap .active i {
        color: #1192b9 !important;
    }
    .cart .roadmap .active .fa-edit {
        display: block;
        cursor: pointer;
    }
    .cart .roadmap .active::before {
        content: "";
        border-left: 2px dashed #1192b9 !important;
        position: absolute;
        bottom: -25px;
        left: 13.5px;
        width: 5px;
        height: 100%;
        z-index: 0;
    }
    .cart .roadmap .item .service-select {
        margin-left: 30px;
    }
    .cart .roadmap .item .service-select .serv-item {
        display: flex;
        justify-content: space-between;
    }
    .cart .roadmap .item .service-select .serv-item span:first-child {
        font-size: 12px;
        color: #709ba8;
        width: 50%;
    }
    .cart .roadmap .item .service-select .serv-item i {
        font-size: 12px;
        color: red !important;
        margin-right: 5px;
        cursor: pointer;
    }
    .cart .roadmap .item .service-select .serv-item span {
        font-size: 12px;
        color: #709ba8;
        width: 25%;
    }
    .cart .roadmap .item .extraservice-select {
        margin-left: 30px;
    }
    .cart .roadmap .item .extraservice-select h6 {
        margin-left: 0px;
        font-size: 14px;
        color: #0a5e77;
    }
    .cart .roadmap .item .extraservice-select h6 i {
        margin-right: 2px;
        font-size: 11px;
        color: #0a5e77;
    }
    .cart .roadmap .item .extraservice-select .serv-item {
        display: flex;
        justify-content: space-between;
    }
    .cart .roadmap .item .extraservice-select .serv-item span:first-child {
        font-size: 12px;
        color: #709ba8;
        width: 50%;
    }
    .cart .roadmap .item .extraservice-select .serv-item i {
        font-size: 12px;
        color: red !important;
        margin-right: 5px;
        cursor: pointer;
    }
    .cart .roadmap .item .extraservice-select .serv-item span {
        font-size: 12px;
        color: #709ba8;
        width: 25%;
    }
    .cart .price-div {
        background-color: #e1e4e693;
        margin-top: 10px;
        padding: 10px;
        border-radius: 10px;
    }
    .cart .price-div .price-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 5px;
    }
    .cart .price-div .price-item h6 {
        margin-top: 3px;
    }
    .cart .price-div .price-item:last-child h6 {
        font-weight: 900;
        font-size: 20px;
    }
    .cart .price-div .price-item:last-child h5 {
        font-weight: 900;
        font-size: 20px;
    }
    .cart .price-div .price-item:last-child h5 {
        font-weight: 900;
        font-size: 20px;
    }
    .cart .next-btn {
        background: -webkit-linear-gradient(180deg, #1192b9 0%, #00d6e4 100%);
        border-radius: 0px;
        height: 45px;
        cursor: pointer;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        margin-top: 20px;
        font-size: 18px;
        position: fixed;
        bottom: 0px;
        z-index: 100000;
        width: 100%;
        right: 0%;
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
    }
    .cart .next-btn i {
        margin-left: 10px;
        margin-top: -7px;
        font-size: 22px;
    }
    .cart .discount {
        margin-top: 20px;
    }
    .cart .discount h6 {
        padding-top: 10px;
    }
    .cart .discount-input {
        width: 100%;
        height: 45px;
        position: relative;
    }
    .cart .discount-input input {
        width: 100%;
        height: 100%;
        background-color: #e1e4e693;
        border-radius: 10px;
        border: none;
        padding-left: 10px;
    }
    .cart .discount-input a {
        width: 70px;
        height: 30px;
        background-color: #1192b9;
        color: white;
        position: absolute;
        top: 7px;
        right: 10px;
        border-radius: 10px;
        text-decoration: none;
        text-align: center;
        padding-top: 5px;
    }
    .next-contact-btn {
        background: -webkit-linear-gradient(180deg, #1192b9 0%, #00d6e4 100%);
        border-radius: 35px;
        height: 50px;
        cursor: pointer;
        color: white;
        display: none;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        margin-top: 20px;
        font-size: 20px;
        width: 150px;
    }
    .next-contact-btn i {
        margin-left: 10px;
        margin-top: -7px;
        font-size: 25px;
    }
}


/* deliver & collect */

@media (min-width: 991px) {
    .middle-animation-div {
        height: 200px;
        width: 100%;
        position: relative;
        display: flex;
        justify-content: center;
    }
    .middle-animation-div .way-left {
        width: 100px;
        height: 100px;
        border: 3px dashed rgb(187, 187, 187);
        border-top: none;
        border-right: none;
        position: relative;
        margin-right: 150px;
    }
    .middle-animation-div .way-right {
        width: 100px;
        height: 100px;
        border-right: 3px dashed rgb(187, 187, 187);
        border-top: 3px dashed rgb(187, 187, 187);
        margin-left: 150px;
    }
    .middle-animation-div .way-left .washing {
        position: absolute;
        top: 50px;
        display: block;
        width: 200px;
        left: 22px;
        z-index: 0;
    }
    .middle-animation-div .way-left .van {
        position: absolute;
        top: -30px;
        left: -100px;
        rotate: 90deg;
        width: 200px;
        z-index: 0;
    }
    /* .middle-animation-div .way-left .van:hover {
        position: absolute;
        top: 50px;
        left: -100px;
        rotate: 90deg;
        transition: all 500ms;
    } */
}

@media (max-width: 991px) {
    .middle-animation-div {
        height: 200px;
        width: 100%;
        position: relative;
        display: flex;
        justify-content: center;
        overflow: hidden;
    }
    .middle-animation-div .way-left {
        width: 100px;
        height: 100px;
        border: 3px dashed rgb(187, 187, 187);
        border-top: none;
        border-right: none;
        position: relative;
        margin-right: 150px;
    }
    .middle-animation-div .way-right {
        width: 100px;
        height: 100px;
        border-right: 3px dashed rgb(187, 187, 187);
        border-top: 3px dashed rgb(187, 187, 187);
        margin-left: 150px;
    }
    .middle-animation-div .way-left .washing {
        position: absolute;
        top: 50px;
        display: block;
        width: 200px;
        left: 22px;
        z-index: 0;
    }
    .middle-animation-div .way-left .van {
        position: absolute;
        top: -30px;
        left: -100px;
        rotate: 90deg;
        width: 200px;
        z-index: 0;
    }
    /* .middle-animation-div .way-left .van:hover {
        position: absolute;
        top: 50px;
        left: -100px;
        rotate: 90deg;
        transition: all 500ms;
    } */
}


/* total-css */

@media (min-width: 991px) {
    .btn-div-bottom {
        padding-right: 20px;
    }
}

@media (max-width: 991px) {
    .btn-div-bottom {
        padding-right: 0px;
    }
}

.next-btn-bottom {
    background: -webkit-linear-gradient(180deg, #1192b9 0%, #00d6e4 100%);
    border-radius: 35px;
    height: 45px;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-top: 20px;
    font-size: 18px;
    width: 100px;
    padding-top: 5px;
}

.next-btn-bottom:hover {
    background: -webkit-linear-gradient(180deg, #0e7fa1 0%, #00d6e4 100%);
    color: white !important;
}

.previous-btn-bottom {
    background: -webkit-linear-gradient(180deg, #c0c0c0 0%, #dddddd 100%);
    border-radius: 35px;
    height: 45px;
    cursor: pointer;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-top: 20px;
    font-size: 18px;
    width: 100px;
    padding-top: 5px;
}

.previous-btn-bottom:hover {
    background: -webkit-linear-gradient(180deg, #aaaaaa 0%, #dddddd 100%);
    color: black !important;
}

.next-btn-bottom i {
    margin-left: 10px;
    margin-top: -7px;
    font-size: 22px;
}


/* step-top */

@media (min-width: 991px) {
    .step-top {
        padding-top: 30px;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }
    .step-top .item {
        text-align: center;
        position: relative;
        width: 20%;
    }
    .step-top .item::after {
        content: "";
        position: absolute;
        width: 92%;
        height: 10px;
        border-top: 2px dashed #cacfd3;
        top: 11px;
        right: -47%;
        z-index: 10;
    }
    .step-top .item:last-child:after {
        content: "";
        position: absolute;
        width: 0%;
        height: 0px;
        border-top: none;
        top: 0px;
        left: 0;
    }
    .step-top .item i {
        font-size: 22px;
        color: #cacfd3;
        z-index: 1000;
        margin-bottom: 10px;
        z-index: 10000;
    }
    .step-top .active::after {
        content: "";
        position: absolute;
        width: 92%;
        height: 10px;
        border-top: 2px dashed #1192b9;
        top: 11px;
        right: -47%;
        z-index: 10;
    }
    .step-top .active:last-child:after {
        content: "";
        position: absolute;
        width: 0%;
        height: 0px;
        border-top: none;
        top: 0px;
        left: 0;
    }
    .step-top .active i {
        font-size: 22px;
        color: #1192b9;
        z-index: 1000;
        margin-bottom: 10px;
        z-index: 10000;
    }
}

@media (max-width: 991px) {
    .step-top {
        margin-top: 90px;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }
    .step-top .item {
        text-align: center;
        position: relative;
        width: 20%;
    }
    .step-top .item h6 {
        font-size: 10px;
    }
    .step-top .item::after {
        content: "";
        position: absolute;
        width: 80%;
        height: 10px;
        border-top: 2px dashed #cacfd3;
        top: 9px;
        right: -40%;
        z-index: 10;
    }
    .step-top .item:last-child:after {
        content: "";
        position: absolute;
        width: 0%;
        height: 0px;
        border-top: none;
        top: 0px;
        left: 0;
    }
    .step-top .item i {
        font-size: 18px;
        color: #cacfd3;
        z-index: 1000;
        margin-bottom: 10px;
        z-index: 10000;
    }
    .step-top .active::after {
        content: "";
        position: absolute;
        width: 80%;
        height: 10px;
        border-top: 2px dashed #1192b9;
        top: 9px;
        right: -40%;
        z-index: 10;
    }
    .step-top .active:last-child:after {
        content: "";
        position: absolute;
        width: 0%;
        height: 0px;
        border-top: none;
        top: 0px;
        left: 0;
    }
    .step-top .active i {
        font-size: 18px;
        color: #1192b9;
        z-index: 1000;
        margin-bottom: 10px;
        z-index: 10000;
    }
}


/* The Modal (background) */

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 10000;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}


/* Modal Content/Box */

@media (min-width: 991px) {
    .modal-content {
        background-color: #fefefe;
        margin: 15% auto;
        /* 15% from the top and centered */
        /* padding: 20px; */
        border: 1px solid #888;
        width: 60%;
        /* Could be more or less, depending on screen size */
    }
    .modal-content .modal-head {
        background-color: #0e7fa1;
        width: 100%;
        padding: 10px;
        display: flex;
        color: white;
        justify-content: space-between;
        align-items: center;
        /* Could be more or less, depending on screen size */
    }
    .modal-content .modal-head h6 {
        font-size: 20px;
        font-weight: 700;
        margin-top: 5px;
    }
    .modal-content .bod {
        padding: 10px;
        /* Could be more or less, depending on screen size */
    }
    .modal-content .bod .fa-check {
        color: #28a745;
        font-size: 20px;
        margin-right: 5px
    }
    .modal-content .bod .fa-times {
        color: #dc3545;
        font-size: 20px;
        margin-right: 5px
    }
    .modal-content .bod h6 {
        font-size: 18px;
    }
    .modal-content .bod .item {
        border-bottom: 1px solid rgb(230, 230, 230);
        padding-top: 5px;
        padding-bottom: 10px;
    }
    .modal-content .bod .item:last-child {
        border-bottom: none;
        padding-top: 5px;
        padding-bottom: 10px;
    }
}

@media (max-width: 991px) {
    .modal-content {
        background-color: #fefefe;
        margin: 15% auto;
        /* 15% from the top and centered */
        /* padding: 20px; */
        border: 1px solid #888;
        width: 90%;
        /* Could be more or less, depending on screen size */
    }
    .modal-content .modal-head {
        background-color: #0e7fa1;
        width: 100%;
        padding: 10px;
        display: flex;
        color: white;
        justify-content: space-between;
        align-items: center;
        /* Could be more or less, depending on screen size */
    }
    .modal-content .modal-head h6 {
        font-size: 18px;
        font-weight: 700;
        margin-top: 5px;
    }
    .modal-content .bod {
        padding: 10px;
        /* Could be more or less, depending on screen size */
    }
    .modal-content .bod .fa-check {
        color: #28a745;
        font-size: 18px;
        margin-right: 5px
    }
    .modal-content .bod .fa-times {
        color: #dc3545;
        font-size: 18px;
        margin-right: 5px
    }
    .modal-content .bod h6 {
        font-size: 16px;
    }
    .modal-content .bod .item {
        border-bottom: 1px solid rgb(230, 230, 230);
        padding-top: 5px;
        padding-bottom: 10px;
    }
    .modal-content .bod .item:last-child {
        border-bottom: none;
        padding-top: 5px;
        padding-bottom: 10px;
    }
}

.close-btn {
    background-color: #0e7fa1;
    width: 100px;
    color: white;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 10px;
    cursor: pointer;
    padding-top: 5px;
}

.close-btn:hover {
    background-color: #118eb4;
    color: white;
}


/* The Close Button */

.close {
    color: rgb(255, 255, 255);
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: rgb(236, 236, 236);
    text-decoration: none;
    cursor: pointer;
}

.error-small {
    color: #dc3545;
    font-size: 14px;
    margin-left: 10px;
}