@media not all and (min-resolution: 0.001dpcm) {
    @supports (-webkit-animation: none) {
        .body {
            margin-top: 20em;
        }
    }
}

.safari-browser {
    margin-top: 20em;
}

/* top banner start */
html,
body {
    width: 100%;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
}

#main-banner-section {
    position: relative;
    box-sizing: border-box;
    display: block;
    unicode-bidi: isolate;
    top: 0;
    margin-bottom: 25px;
}

.inner-banner {
    background-image: linear-gradient(
            to left,
            rgba(11, 61, 145, 0.8) 0%,
            rgba(6, 31, 74, 0.8) 100%
        ),
        url(../images/background-main.png);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    top: 0;
}

.background-overlay,
.background-overlay > .container > .row {
    height: 20vh;
    min-height: 200px;
}

.background-overlay {
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
}

#main-banner-section h1 {
    margin-bottom: 20px;
    font-size: 3.4rem;
    color: white;
    font-weight: 800;
    letter-spacing: 3px;
}

#main-banner-section h5 {
    color: white;
}

.btn.banner-button {
    border: 2px solid white;
    padding: 15px 30px;
}

.btn-outline-dark.btn.banner-button:hover {
    background-color: #b1b1b16e;
}

.btn-outline-white.btn.banner-button:hover {
    background-color: rgb(223, 223, 223, 0.5);
}

.btn-outline-white.btn.banner-button {
    color: white;
    border: 2px solid white;
}

.btn-outline-dark.btn.banner-button {
    color: black;
    border: 2px solid black;
    margin: 0 auto;
    text-align: center;
}

#main-banner-section .btn-outline-white.btn.banner-button {
    margin-right: 2%;
}

#toggle-container {
    padding-left: 3.5em;
    padding-right: 0;
}

@media (max-width: 594) {
    /* table th,
    table td {
        width: 100%;
    } */

    table {
        display: table-row;
        width: 100%;
        border-spacing: 30px;
    }

    #toggle-table {
        width: 100%;
    }
    th,
    td {
        border-spacing: 30px;
        padding-left: 30px;
        padding-right: 40px;
    }
}

.toggle-row {
    padding-bottom: 20px;
    width: 100%;
}

#reset-section {
    max-height: 30px;
}

#reset-button {
    height: 100%;
    width: 100%;
    margin-left: 1.5em;
    background-color: white;
    border: white;
    border-radius: 25%;
    margin-top: -0.5em;
    align-items: center;
}

#reset-icon {
    align-items: center;
    margin-left: -5em;
    margin-right: 1em;
    margin-bottom: 5em;
    height: 2em;
    width: 2em;
}

#reset-icon:hover {
    height: 2.75em;
    width: 2.75em;
    transition: 0.3s;
}

/* slider switch styles*/
/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    display: none;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;

    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

input.success:checked + .slider {
    background-color: #8bc34a;
}
input.info:checked + .slider {
    background-color: #9bdaf1;
}
input.danger:checked + .slider {
    background-color: #e59892;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* top banner end */

/* overlap box start */

.important-services {
    margin: 0 auto;
    width: 100%;
    display: block;
    flex-direction: row;
    align-content: top;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    /* margin-top: 25px; */
    padding-bottom: 20px;
    max-width: 2000px;
}

.important-services h5 {
    font-weight: bold;
    padding-left: 0.75em;
    padding-top: 0.5em;
}

.important-services p {
    color: grey;
    padding-left: 1.5em;
    padding-right: 1.5em;
}

/* search bar */
#search-bar {
    width: 500px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 25px;
    background-color: rgb(221, 221, 221);
    background-image: url("../images/Magnifying_glass_icon.svg");
    background-size: 13px;
    background-repeat: no-repeat;
    background-position: 10px center;
    margin-left: 2em;
}

#search-bar input {
    width: 50%;
    min-width: 200px;
    padding: 6px 12px;
    border-radius: 24px;
    font-size: 16px;
    border: 0px;
    outline: none;
    border-bottom: 2px white;
    background-color: rgb(235, 227, 227);
}

/* on and off toggles */

h1 {
    font-size: 42px;
    color: #2c3e50;
}

#toggle-table {
    /* margin: -10px; */
    justify-content: right;
    transition: max-height 0.2s ease-out;
    overflow: hidden;
    max-height: 400px;
}

.toggle-title {
    font-size: 0.9em;
    font-weight: bold;
}

input[type="checkbox"] {
    position: relative;
    width: 92px;
    height: 30px;
    background: #d6dade;
    -webkit-appearance: none;
    border-radius: 20px;
    outline: none;
    transition: 0.4s;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

input:checked[type="checkbox"] {
    background: #465c93;
}

input[type="checkbox"]::before {
    z-index: 2;
    position: absolute;
    content: "";
    left: 0;
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50%;
    transform: scale(1.23);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: 0.4s;
    opacity: 100%;
}

input:checked[type="checkbox"]::before {
    left: 60px;
}

.toggle {
    position: relative;
    display: inline;
}

label {
    position: absolute;
    color: #fff;
    font-weight: 600;
    font-size: 20px;
    pointer-events: none;
}

.on-btn {
    left: 8px;
    font-size: 1.1em;
}

.off-btn {
    right: 7.25px;
    color: #34495e;
}

/* Rounded sliders */

.card-title {
    margin-bottom: -1em;
    margin-left: 0.5em;
    font-size: x-large;
}

.full-name {
    font-size: small;
    margin-top: -0.75em;
    color: rgb(70, 68, 68);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* filter chips */
.chip {
    background-color: gainsboro;
    padding: 2px 10px;
    text-align: center;
    border-radius: 10px;
    font-size: 1em;
    margin: 0px 2% 0px 0px;
    min-width: 10%;
    max-width: 80%;
    box-sizing: content-box;
    display: flex;
    justify-content: space-evenly;
    white-space: nowrap;
    padding-left: 0.5em;
    padding-right: 0.5em;
}

.chip-list {
    display: flex;
    flex-direction: row;
    margin-top: -0.5em;
    padding-left: 1em;
    padding-right: 1em;
    margin-bottom: 0.5em;
}

.chips-list .chip {
    min-width: 10%;
    max-width: 80%;
    margin: 0px 2% 0px 0px;
    padding: 2px 15px;
    box-sizing: content-box;
    text-align: center;
    display: flex;
    justify-content: space-evenly;
    white-space: nowrap;
}

.chips-list svg {
    margin-right: 1%;
}

.chip-light-blue {
    background-color: #9bdaf1;
}

.chip-md-blue {
    background-color: #00a6d2;
    color: white;
}

.chip-light-red {
    background-color: #cda2d8;
}

.chip-md-red {
    background-color: #c62d1f;
    color: white;
}

.chip-light-green {
    background-color: #94bfa2;
}

.chip-md-green {
    background-color: #4aa564;
    color: white;
}

.chips-list {
    margin: auto 0;
    display: flex;
    flex-direction: row;
}

.product-descriptions {
    max-width: 500px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

/* Card section */
.tool-description {
    color: #0b3d91;
}
.card-row {
    font-size: large;
    text-decoration: none;
    display: flex;
    flex-wrap: wrap;
}
.products-col {
    max-width: 100px;
}

/* .card {
    transition: 0.5s ease-in-out;
    border-radius: 0%;
    flex: 1;
    flex-direction: row;
    position: relative;
    max-width: 400px;
    flex-wrap: wrap;
} */
.showcase-card {
    transition: 0.5s ease-in-out;
    border-radius: 0%;
    flex: 1;
    flex-direction: row;
    position: relative;
    width: 500px;
    flex-wrap: wrap;
    margin-left: 0.5em;
}
.standard-card {
    transition: 0.5s ease-in-out;
    border-radius: 0%;
    flex: 1;
    flex-direction: row;
    position: relative;
    width: 400px;
    flex-wrap: wrap;
    margin-left: 0.5em;
}

.links-style {
    text-decoration: none;
    display: flex;
}

.links-style:hover {
    text-decoration: none;
}

.card:hover {
    transform: translateY(10px);
}

.card:before {
    transition: 0.5s all;
}

.filter-icon {
    height: 50px;
}

.product-card-row {
    /* padding-right: calc(var(--bs-gutter-x) * 0.5); */
    /* padding-left: calc(var(--bs-gutter-x) * 0.5); */
    margin-top: var(--bs-gutter-y);
}

#card-container {
    display: flex;
    flex-direction: row;
    max-width: 100%;
    flex-wrap: wrap;
    text-decoration: none;
}

.pic-settings {
    height: 250px;
    z-index: 1;
    display: block;
    width: 100%;
}

.card-logo {
    position: absolute;
    z-index: 100;
    height: 50px;
    width: 50px;
    top: 10px;
    left: 10px;
}

/* Card section ending*/

/* main body section */
#more-products-section {
    justify-content: center;
    padding-bottom: 50px;
    /* padding-left: 50px; */
    padding-top: 25px;
    overflow: hidden;
}

/* #more-description {
    padding-left: 5em;
    overflow: hidden;
} */

@media (max-width: 540px) {
    .showcase-card {
        width: 350px;
    }
    .pic-settings {
        height: 175px;
    }
    .expand-icon {
        display: none;
    }
    .external-icon {
        right: 1em;
    }
    .standard-card {
        width: 325px;
    }
}

@media (max-width: 576px) {
    .card-title {
        max-width: 70%;
    }
    .external-icon {
        margin-left: 22em;
        margin-top: -2.5em;
        max-width: 10%;
    }
    .expand-icon {
        margin-left: 22em;
        margin-top: -2.5em;
        max-width: 10%;
        /* display: none; */
    }
    #other-campaigns-button {
        margin-left: 7em;
    }
}

#other-products-button {
    justify-content: center;
    margin-top: -2em;
    padding-left: -4em;
}

/* banner above */

.overlapping-start-browsing {
    height: 250px;
    background: linear-gradient(45deg, #9bdaf1, #046b99);
    color: white;
}

.overlapping-start-browsing .inner-start-browsing {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#more-campaigns-section {
    justify-content: center;
    max-width: 100%;
}
@media (max-width: 474) {
    #toggle-container {
        padding-left: 0em;
    }
}

@media (max-width: 414px) {
    #main-banner-section h1 {
        margin-bottom: 20px;
        padding-bottom: -1.5em;
        font-size: 2rem;
        color: white;
        font-weight: 800;
        letter-spacing: 3px;
    }

    .important-services {
        padding-top: 10px;
    }

    #main-banner-section h5 {
        color: white;
        font-size: 0.6rem;
        padding-top: -25px;
    }

    .background-overlay,
    .background-overlay > .container > .row {
        height: 25vh;
        min-height: 200px;
    }
}

@media (max-width: 768px) {
    #main-banner-section h1 {
        margin-bottom: 20px;
        padding-bottom: -1.5em;
        font-size: 2.5rem;
        color: white;
        font-weight: 800;
        letter-spacing: 3px;
    }

    .important-services {
        padding-top: 10px;
    }

    #main-banner-section h5 {
        color: white;
        font-size: 0.9rem;
    }

    .background-overlay,
    .background-overlay > .container > .row {
        height: 25vh;
        min-height: 200px;
    }
    .flex-row {
        flex-direction: column;
    }
}

@media (max-width: 549px) {
    .overlapping-start-browsing .buttons-section {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .overlapping-start-browsing .buttons-section a {
        margin: 0 auto;
    }

    .background-overlay,
    .background-overlay > .container > .row {
        height: 25vh;
        min-height: 200px;
    }

    #main-banner-section h5 {
        color: white;
        font-size: 0.7rem;
    }
}

@media (max-width: 670px) {
    .search {
        padding-left: 5em;
    }
}

@media (max-width: 550px) {
    #search-bar {
        width: 300px;
    }
}

@media (max-width: 849) {
    #more-description {
        margin-left: 10em;
    }
}

@media (max-width: 991px) {
    .showcase-card-div {
        display: center;
    }
    .search {
        justify-content: center;
        display: flex;
        padding-left: 30em;
    }
    #toggle-container {
        justify-content: center;
        padding-top: 1em;
    }
    #search-bar {
        justify-content: center;
    }
    #more-description {
        justify-content: center;
    }
    #more-products-section {
        justify-content: center;
        padding-left: 5em;
    }
}

@media (max-width: 1196px) {
    h3.special-header {
        margin-top: 3rem;
        font-size: 1.6em;
        line-height: 1.1em;
    }

    .important-services {
        height: auto;
        padding-bottom: 0.7em;
    }
    #more-description {
        padding-right: 10em;
    }
}

@media (min-width: 1400px) {
    #inner-banner {
        height: 200px;
    }

    #card.row {
        display: flex;
    }

    .card {
        flex: 1;
    }
}

@media (max-width: 1400px) {
    #card.row {
        display: flex;
    }

    .card {
        flex: 1;
    }
    .background-overlay,
    .background-overlay > .container > .row {
        height: 25vh;
        min-height: 200px;
    }
}

@media (max-width: 1495px) {
    /* #toggle-container {
        padding-left: 15em;
    } */
    #more-description {
        padding-right: 10em;
    }
}

/* navigation bar end */

.search {
    display: flex;
    justify-content: center;
    padding: 24px;
}

.search input {
    width: 50%;
    min-width: 300px;
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 16px;
    border: 0px;
    outline: none;
}

.search [list]::-webkit-list-button,
.search [list]::-webkit-calendar-picker-indicator {
    display: none !important;
}

.search-container {
    align-items: center;
    display: flex;
    justify-content: left;
}

form .no-submit {
    width: 400px;
    align-items: center;
    color: white;
    right: 0;
    display: flex;
    padding: 2px;
    border: 1px solid currentColor;
    border-radius: 5px;
    margin: 0 0;
}

input.no-submit {
    border: 1px solid white;
    width: 400px;
    padding: 9px 4px 9px 4px;
    /*background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3C!--! Font Awesome Pro 6.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --%3E%3Cpath d='M500.3 443.7l-119.7-119.7c27.22-40.41 40.65-90.9 33.46-144.7C401.8 87.79 326.8 13.32 235.2 1.723C99.01-15.51-15.51 99.01 1.724 235.2c11.6 91.64 86.08 166.7 177.6 178.9c53.8 7.189 104.3-6.236 144.7-33.46l119.7 119.7c15.62 15.62 40.95 15.62 56.57 0C515.9 484.7 515.9 459.3 500.3 443.7zM79.1 208c0-70.58 57.42-128 128-128s128 57.42 128 128c0 70.58-57.42 128-128 128S79.1 278.6 79.1 208z'/%3E%3C/svg%3E") ;*/
    background-image: url("https://upload.wikimedia.org/wikipedia/commons/5/55/Magnifying_glass_icon.svg");
    background-size: 13px;
    background-repeat: no-repeat;
    background-position: 10px center;
}

input[type="search"] {
    border: none;
    background-color: transparent;
    margin: 0;
    padding: 7px 8px 7px 30px;
    font-size: 16px;
    color: inherit;
    border: 1px solid black;
    border-radius: 25px;
}

input[type="search"]::placeholder {
    color: gray;
}

input[type="search"]:focus {
    box-shadow: 0 0 3px 0 #3f69a8;
    border-color: #3f69a8;
    outline: none;
}
