﻿html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}


.tabs {
    /*  width: 200px;
    padding: 0px;
      border-right: 1px solid #ccc; */
    background-color: #f9f9f9;
    transition: transform 0.3s ease, visibility 0.3s ease;
    /* transform: translateX(-100%); */
    position: relative;
    display: none;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

    .tabs.active {
        transform: translateX(0);
        display: block;
        position: absolute;
        z-index: 9;
        width: calc(100% - 150px);
        transition: transform 0.3s ease, visibility 0.3s ease;
    }


.tab {
    padding: 3px 10px;
    cursor: pointer;
    margin-bottom: 1px;
    background-color: #f0f0f0;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-size: 14px;
}

    .tab.active {
        background-color: #007bff;
        color: white;
    }
.step {
    font-size: 14px;
    text-align: justify;
}
    .step > h5 {
        text-decoration: underline;
    }

    .step ol {
        counter-reset: item;
        padding-left: 0rem;
    }
    .step ol ol{
        counter-reset: item;
        padding-left: 1rem;
    }

.step li {
    display: block
}
    .step li > p:first-child {
        display: inline;
    }

    .step li:before {
        content: counters(item, ".") " ";
        counter-increment: item
    }
    .step ol  li {
        margin-bottom: 10px;
    }
    .step ol ol li {
        margin-bottom: 10px;
    }


.step table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

    .step th, .step td {
        border: 1px solid #ddd;
        padding: 8px;
        text-align: left;
    }

.step th {
    background-color: #f2f2f2;
}


.content {
    flex-grow: 1;
    padding: 5px;
    position: relative;
}

.buttons {
    text-align: right;
}

    .buttons button {
      /*  padding: 10px 20px;
        margin: 5px;*/
        
    }

.toggle-btn {
    background-color: #e77177;
    color: white;
    border: none;
    border-radius: 5px;
}

.tab.active::after {
    content: '→';
    font-size: 1rem;
    position: absolute;
    right: 10px;
    color: #ffffff;
    font-weight: 600;
}

.img-thank-you {
    width: 360px;
    margin-bottom: 15px;
}
@media (min-width: 677px) {
    .toggle-btn {
        display: none;
    }

    .tabs {
        display: block !important;
        transform: translateX(0);
    }

        .tabs.active {
            transform: translateX(0);
            z-index: 9;
            transition: transform 0.3s ease, visibility 0.3s ease;
        }
}

.card-body {
    margin: 0;
    padding: 0;
}

.text-justify {
    text-align: justify;
}

.navbar {
    padding-top: .25rem;
    padding-bottom: .25rem;
}

.navbar-brand {
    padding: 0;
}

.nimbus-logo {
    width: 120px;
}

.emailForm {
    display: none;
}

.consentDiv {
    height: 500px;
    overflow-y: scroll;
}

.card-header {
    background: #28aae1;
    color: white;
    padding: 8px;
    font-size: 15px;
}

.consentDiv div {
    margin-right: 15px;
}

.consentDiv::-webkit-scrollbar {
    width: 10px;
    margin-left: 10px
}

/* Track */
.consentDiv::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 5px;
}

/* Handle */
.consentDiv::-webkit-scrollbar-thumb {
    background: #7a7a7a;
    border-radius: 5px;
}

    /* Handle on hover */
    .consentDiv::-webkit-scrollbar-thumb:hover {
        background: #303030;
    }
/*.ribbon {
    width: 150px;
    height: 150px;
    overflow: hidden;
    position: absolute;
    z-index: 1;
}*/

    /*.ribbon::before,
    .ribbon::after {
        position: absolute;
        z-index: -1;
        content: '';
        display: block;
        border: 5px solid #2980b9;
    }*/

    .ribbon span {
        position: absolute;
        display: block;
        width: 205px;
        padding: 15px 0;
        background-color: #006db6;
        box-shadow: 0 5px 10px rgba(0,0,0,.1);
        color: #fff;
        font: 700 13px/1 'Lato', sans-serif;
        text-shadow: 0 1px 1px rgba(0,0,0,.2);
        text-transform: uppercase;
        text-align: center;
    }

.ribbon-top-right {
    top: 0px;
    right: 0px;
}

    .ribbon-top-right::before,
    .ribbon-top-right::after {
        border-top-color: transparent;
        border-right-color: transparent;
    }

    .ribbon-top-right::before {
        top: 0;
        left: 0;
    }

    .ribbon-top-right::after {
        bottom: 0;
        right: 0;
    }

    .ribbon-top-right span {
        right: -60px;
        top: 22px;
        transform: rotate(45deg);
        z-index: 1;
        position: fixed;
    }


.customLink, .customLink:hover {
    text-decoration: none;
    color: white;
}

@media screen and (min-width:300px) and (max-width:676px) {
    .nimbus-logo {
        width: 120px;
    }

    .toggle-btn {
        display: inline-block !important;
    }
    .tabs.active { 
        width: calc(100% - 80px); 
    }
    .img-thank-you {
        width: 100%;
        margin-bottom: 15px;
    }

   /* .ribbon {
        width: 150px;
        height: 150px;
        overflow: hidden;
        position: absolute;
        z-index: 1;
    }*/
        .ribbon span {
            position: absolute;
            display: block;
            width: 205px;
            padding: 15px 0;
            background-color: #006db6;
            box-shadow: 0 5px 10px rgba(0,0,0,.1);
            color: #fff;
            font: 700 13px/1 'Lato', sans-serif;
            text-shadow: 0 1px 1px rgba(0,0,0,.2);
            text-transform: uppercase;
            text-align: center;
        }
    .ribbon-top-right span {
        right: -60px;
        top: 23px;
        transform: rotate(45deg);
        z-index: 1;
        left: auto;
        position: fixed;
    }
    #inquiryFrm .col-md-6.text-end {
        text-align: center !important;
        margin-top: 10px;
    }
}


.happy2help {
    position: fixed;
    right: 0;
    bottom: 0;
    -webkit-animation: bounce 2s ease infinite;
    animation: bounce 2s ease infinite;
}
    .happy2help img {
        width: 150px;
    }
@keyframes bounce {
    70% {
        transform: translateY(0%);
    }

    80% {
        transform: translateY(-15%);
    }

    90% {
        transform: translateY(0%);
    }

    95% {
        transform: translateY(-7%);
    }

    97% {
        transform: translateY(0%);
    }

    99% {
        transform: translateY(-3%);
    }

    100% {
        transform: translateY(0);
    }
}