/*https://stackoverflow.com/questions/38792005/how-to-change-the-bootstrap-primary-color*/


body {
    font-family: 'Open Sans', serif !important;
    font-weight: 400;
    background-color: #F4F4F4;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

a, a:hover, .nav a, .nav a:visited, .nav a:hover {
    color: rgb(72, 72, 72, 100);
}

a {
    text-decoration: none;
}

a.text-light {
    color: white !important;
}

.post-body a {
    color: var(--bs-primary);
}
.colored-link{
    color: var(--bs-primary);
}

#accept-agreements-chb a {
    color: var(--bs-primary);
}

.link-light a {
    color: white !important;
}

i {
    font-size: 18px;
}

i:not(.btn i) {
    color: rgba(33, 37, 41, 0.5);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    font-family: 'Montserrat', 'Open Sans', serif !important;
}

.nav-font-style {
    font-family: 'Montserrat', 'Open Sans', serif !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}

/*h1 {*/
/*    font-size: 60px;*/
/*}*/

p {
    text-align: justify;
    line-height: 2;
}

ul {
    list-style-type: none;
}

.text-logo {
    color: #0f81b9;
}

@media screen  and (max-width: 991px) {
    /*h1 {*/
    /*    font-size: 53px;*/
    /*}*/
}

hr {
    color: rgba(0, 0, 0, .2);
}

.fs-7 {
    font-size: 0.8rem !important;
}

.fs-8 {
    font-size: 0.5rem !important;
}

.btn {
    font-family: 'Montserrat', 'Open Sans', serif !important;
    font-weight: 600;
    font-size: 16px;
}

.dis-none {
    display: none;
}

.explore-h {
    height: calc(100vh - 135px);
}

@media screen  and (min-width: 991px) {
    .explore-lg-h {
        height: calc(100vh - 135px);
    }
}

@media screen  and (max-width: 991px) {
    .w-md-100 {
        width: 100% !important;
    }
}

.min-scroll {
    scrollbar-color: rgba(0, 0, 0, .06) transparent;
    scrollbar-width: thin;
}

.shadow-y {
    box-shadow: 10px 10px aliceblue;
}

@media screen  and (max-width: 991px) {
    .border-md-bottom {
        border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    }
}


.icon-background {
    position: absolute;
    top: 34px;
    right: 44px;
    font-size: 50px;
    color: rgba(0, 0, 0, .15);
}

.mx-8 {
    margin-right: 8rem !important;
    margin-left: 8rem !important;
}

.rounded-ex-right {
    border-radius: 16px 0 16px 16px;
}

.rounded-ex-left {
    border-radius: 0px 16px 16px 16px;
}

/* ------------------- Form Inputs ------------------- */
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=date], textarea.form-control, select.form-select, input[type=search], textarea {
    border: none;
    border-bottom: 1.5px solid rgba(0, 0, 0, .2);
    border-radius: 0;
}

input[type=text]:focus, input[type=email]:focus, input[type=password]:focus, input[type=tel]:focus, input[type=number]:focus, input[type=date]:focus, textarea.form-control:focus, textarea:focus, select.form-select:focus, input[type=search]:focus {
    box-shadow: none;
    border-color: var(--bs-primary);
}

.form-floating > .form-control, .form-floating > label {
    padding-left: 0px;
}

.form-floating > .form-control {
    height: calc(3rem + calc(var(--bs-border-width) * 2));
    min-height: calc(3rem + calc(var(--bs-border-width) * 2));
}

.form-floating > .form-control:not(:placeholder-shown) {
    padding-top: 1.8rem;
    padding-bottom: .4rem;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

.bg-hover:hover {
    background-color: #f2f2f2;
}

/* ------------------- Checkboxes and radio buttons ------------------- */
.list-group-item, .form-check {
    display: flex;
    align-items: center;
}

.form-check-input {
    width: 20px;
    height: 20px;
    margin: 0 .75rem 0 0;
}

/* ------------------- Form buttons ------------------- */
.ig-add-button:hover {
    background-color: #cecfd5 !important;
}

/* ------------------- Select list ------------------- */

.form-select {
    background-size: 18px 24px;
    background-position: right 1.3rem center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='24' fill='rgba(33, 37, 41, 0.5)' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0'/%3E%3C/svg%3E");
}

/* ------------------- Header/Menu ------------------- */
/* Sticky header, hide on scroll */
.header-scroll {
    position: sticky;
    z-index: 999;
    top: 0;
    width: 100%;
    transition: transform .3s ease !important;
}

/* Mobile toggle menu */
.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    background-color: transparent;
    border: none;
    box-shadow: none;
}

button:focus {
    background-color: #395FAC !important;
    border: none;
    box-shadow: none !important;
}

@media screen  and (max-width: 991px) {
    .navbar-nav {
        border-top: 1px solid rgba(0, 0, 0, .1);
        justify-content: start !important;
    }

    .navbar-nav li {
        display: block;
        float: none;
        width: 100%;
        margin: 0;
        border-bottom: 1px solid rgba(0, 0, 0, .1);
        padding-left: 15px;
        font-weight: bold;
    }

    .navbar-nav li a {
        color: #242429 !important;
    }

    .navbar-nav li.active {
        border-right: 4px solid #395FAC;
    }

    .navbar-nav li.active a {
        color: #395FAC !important;
    }
}

/* Search box */
input[type=search] {
    border: none;
    background-color: transparent;
}

input[type=search]:focus, input[type=text]:focus, textarea:focus {
    box-shadow: none;
    background-color: transparent;
    border-bottom: 2px solid #395FAC;
    border-radius: 0;
    outline: none;
}

.btn-close {
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 50px;
    padding: 16px !important;
    box-sizing: border-box;
    background: transparent var(--bs-btn-close-bg) center / 12px auto no-repeat;
}

/* ------------------- Home Page ------------------- */
/* ------------------- Hero ------------------- */
.hero {
    background-blend-mode: multiply;
    background: rgba(0, 0, 0, 0.3) url("../img/immi-gate-find-Immigration-Lawyer.webp") no-repeat center center;
    background-size: cover;
}

.container-hero {
    min-height: 100vh;
}

/* ------------------- Search Form ------------------- */
.input-icon {
    position: absolute;
    right: 0;
    bottom: 16px;
}

/* ------------------- Filter by Speciality Section ------------------- */
div[id^="visa-filter"] {
    background-blend-mode: multiply;
    background-size: cover !important;
}

.overlay {
    content: "";
    display: block;
    /*position: absolute;*/
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
}

.overlay:hover {
    background-color: rgba(0, 0, 0, 0.4);
}

#visa-filter-1 {
    background: url("../img/Canadian-Investment-Visa.webp") no-repeat center center;
}

#visa-filter-2 {
    background: url("../img/Canadian-Visitor-Tourist-Visa.webp") no-repeat center center;
}

#visa-filter-3 {
    background: url("../img/work-visa.webp") no-repeat center center;
}

#visa-filter-4 {
    background: url("../img/study-permit-visa.webp") no-repeat center center;
}

/* Client Profile */
#custom-gender:checked ~ div {
    display: block;
}

#custom-gender:not(checked) ~ div {
    display: none;
}

/* ------------------- Footer ------------------- */
/* Social icons */
.square-item {
    width: 32px;
    height: 32px;
}

.hover-icon i {
    width: 32px;
    height: 32px;
}

.hover-icon i:hover {
    background-color: var(--bs-primary) !important;
    color: white;
    cursor: pointer;
}


/* ------------------- Dashboard ------------------- */
.nav-underline .nav-link.active {
    border-color: var(--bs-primary);
}

.nav-underline .nav-link {
    font-weight: bold;
}

.nav-underline .nav-link:focus, .nav-underline .nav-link:hover {
    border-bottom-color: var(--bs-primary);
}

/* End Client Profile */
.ig-disable-link {
    pointer-events: none;
    cursor: default;
    color: grey !important;
}


.multiline {
    white-space: pre-line;
}

div.sticky {
    position: sticky;
    top: 82px;
}

.lawyer-menu {
    background-color: aquamarine;
}

.inactive-section {
    display: none;
}

.ig-loading {
    display: none;
    /*top: 100px;
    left: 50%;
    z-index: 1;
    font-size: 40px;
    color: #000;
    transform: translate(-50%, -50%);*/
}

.ig-icon-loading {
    display: none;
}

.ig-round-image {
    height: 65px;
    width: 65px;
    border-radius: 50px;
    object-fit: cover;
}

.fa-solid, .fa-regular {
    margin-right: 8px;
}

.ig-value {
    font-size: 18px;
    line-height: 1.5rem;
    font-weight: 500;
}

.ig-title {
    font-weight: 200;
    font-size: 14px;
}

.list-group {
    cursor: default;
}

.list-group:hover .list-group-item {
    background-color: #efefef;
}

.wrap-text {
    overflow-wrap: anywhere;
}

.excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.ig-add-new {
    cursor: pointer;
}

.agent-offer li {
    background-color: #92a685;
}

.agent-offer:hover li {
    background-color: #92a685 !important;
}

.profile-photo {
    border-radius: 50%;
    border: 1px solid #7b7474;
    width: 40px;
}

/*.hover-light:hover{
    color:white;
}*/
/* ----------- Sign in and Sign up forms -----------*/
#error-handler, #success-message {
    display: none;
}

/* Loading Icon */
.lds-facebook {
    display: inline-block;
    position: relative;
    width: 40px;
    height: 40px;
}

.lds-facebook div {
    display: inline-block;
    position: absolute;
    left: 8px;
    width: 8px;
    background: #fff;
    animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}

.lds-facebook div:nth-child(1) {
    left: 8px;
    animation-delay: -0.24s;
}

.lds-facebook div:nth-child(2) {
    left: 19px;
    animation-delay: -0.12s;
}

.lds-facebook div:nth-child(3) {
    left: 30px;
    animation-delay: 0;
}

@keyframes lds-facebook {
    0% {
        top: 4px;
        height: 32px;
    }
    50%, 100% {
        top: 16px;
        height: 16px;
    }
}

/* Sign up form style*/
#verification-key-div {
    display: none;
}

#sign-up-form {
    display: none;
}

#user-role-selection .card {
    cursor: pointer;
}

.start-100.trash-icon {
    left: 98% !important;
}

.trash-icon {
    width: fit-content;
}

.fa-trash {
    font-size: 14px !important;
}

/*-------------------------- accordion -----------------------------*/
.accordion {
    --bs-accordion-bg: #fff0;
    /*--bs-accordion-active-color:*/
}

/* Chat bot on hero section */
.bot-text, .user-text {
    box-shadow: rgba(0, 0, 0, 0.075) 0px 2px 4px 0px;
}

#chat-bot-hero-container a {
    display: none;
}

.chatbot-embedded-style.chatbot-full {
    box-shadow: none;
    border: none;
}

#chatbot-chatgpt-message {
    border: none;
    border-bottom: 1.5px solid rgba(0, 0, 0, .2);
    border-radius: 0;
    background-color: transparent;
}

#chatbot-chatgpt-message:focus {
    box-shadow: none;
    border: none;
    border-bottom: 1.5px solid rgba(0, 0, 0, .2);
    border-color: var(--bs-primary);
}

#chatbot-chatgpt-erase-btn {
    display: none;
}

#chatbot-chatgpt-submit img {
    content: url("../img/gpt-submit-button.png");
}

#chatbot-chatgpt-submit {
    width: 40px;
}

#chatbot-chatgpt-submit:hover {
    background-color: transparent !important;
}

/* ------------------ Default Page Template ------------------ */
.default-page-header {
    height: 40vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.default-page-header .overlay {
    content: "";
    display: block;
    /*position: absolute;*/
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

/* --------------  Comment Area -----------------*/
.comment-form p:not(.comment-form-cookies-consent, .logged-in-as, .comment-notes) {
    display: flex;
    flex-direction: column;

}

.page-numbers:not(.prev, .next ) {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
}

.page-numbers.current {
    background-color: var(--bs-primary);
    color: white;
}

/*------------- Blog -------------*/
.thumbnail-background {
    background-position: 50%;
    background-size: cover;
    transition: all .3s ease-in-out;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
}

/* User menu */
.dropdown-menu {
    width: 215px;
    right: 0 !important;
    left: auto !important;
}

.dropdown-item {
    transition: padding .2s ease-in-out;
}

.dropdown-item:hover {
    padding-left: 11px !important;
    background-color: white;
}

.dropdown:hover > .dropdown-menu {
    display: block;
}

.dropdown > .dropdown-toggle:active {
    /*Without this, clicking will make it sticky*/
    pointer-events: none;
}

.dropdown-menu:before {
    content: '';
    display: block;
    height: 2px;
    width: 100%;
    /*position: absolute;*/
    position: relative;
    bottom: 0;
    transition: width .3s ease;
    left: 0;
    background: blue;
    top: 0;
    bottom: auto;
}

/* Comment section */
.nav-links {
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
}


