@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&family=Nunito+Sans:opsz,wght@6..12,200;6..12,300;6..12,400;6..12,500;6..12,600;6..12,700&display=swap');
/*----------------------- Preloader -----------------------*/
body.preloader-site {
    overflow: hidden;
}

.preloader-wrapper {
    height: 100%;
    width: 100%;
    background: #f9fafb;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999999;
}

.preloader-wrapper .preloader {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: #485769;
}

.uai {
    background-color: #485769 !important;
}

/*----------------------- General -----------------------*/
html {
    /* overflow-x: hidden !important; */
    width: 100% !important;
}

body {
    background-color: #fbfbfb;
    color: #222;
    display: grid;
    font-family: 'Nunito Sans', sans-serif;
    grid-template-rows: 1fr auto;
    min-height: 100vh;
    margin-top: 0px;
    /* overflow-x: hidden; */
    min-height: 100vh;
}

* {
    box-sizing: border-box;
}

.dialog-off-canvas-main-canvas {
    max-width: 100vw;
}

a {
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Instrument Sans', sans-serif;
}

.greenText {
    color: #1a99cc;
    font-weight: 500;
}

.darkBlue {
    color: #133d57;
}

.blueBtn {
    background-color: #1a99cc;
    border-radius: 50px;
    color: #fafafa;
    display: inline-block;
    padding: 1rem 2.5rem;
    text-align: center;
    transition: all .1s ease-in;
    min-width: 220px;
}

.blueBtn:hover {
    background-color: #1ea5da;
    color: #fafafa;
}

.roundBtn {
    align-items: center;
    background-color: #1a99cc;
    border-radius: 50%;
    color: #fafafa;
    display: flex;
    height: 48px;
    justify-content: center;
    width: 48px;
}

.main-container {
    max-width: 1200px;
}

/*----------------------- User Login Page -----------------------*/
.region-content .user-login-form,
.region-content .user-register-form,
.region-content .user-pass {
    margin: 0 auto 0;
    padding: 125px 0 75px;
    max-width: 450px;
}

.user-login-form .button,
.user-register-form .button,
.user-pass .button {
    background-color: #3f3f46;
    border-radius: 3px !important;
    color: #fdfdfd;
    transition: all .1s ease-in;
}
.user-login-form .button:hover,
.user-register-form .button:hover,
.user-pass .button:hover {
    background-color: #52525b;
}

/*----------------------- User Login Modal -----------------------*/
.ui-dialog {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.ui-dialog-titlebar,
.ui-dialog-buttonpane {
    background-color: #f4f4f5 !important;
}

.ui-dialog-buttonset .form-submit,
.js-form-submit {
    background-color: #3f3f46 !important;
    border-radius: 3px !important;
    color: #fdfdfd !important;
    transition: all .1s ease-in-out;
}

.ui-dialog-buttonset .form-submit:hover,
.js-form-submit:hover {
    background-color: #52525b !important;
}

/*----------------------- Navbar -----------------------*/
#navbar {
    background: #fdfdfd;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2;
}

.navbar-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.navbar-inside {
    margin: 0 auto;
    width: 95%;
    max-width: 1200px;
}

.navbar-inside .container {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: .5rem 0 !important;
}

.navbar-header .region-navigation {
    align-items: center;
    display: flex;
    gap: 1rem;
}

#block-brokerage-commerciallogo p {
    margin-bottom: 0 !important;
}

#block-brokerage-commerciallogo img {
    height: auto;
    width: 125px;
}

.navbar-inside .logo img {
    width: 210px;
}

.navbar-standard {
    display: none;
}

.region-navigation-collapsible {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.navbar-standard .nav {
    align-items: center;
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.region-navigation-collapsible .nav a {
    color: #222;
    font-weight: 500;
    transition: all .1s ease-in;
}

.region-navigation-collapsible .nav a:hover,
.region-navigation-collapsible .nav a.is-active {
    color: #246c9c !important;
    cursor: pointer;
}

.navbar-toggler {
    border: none !important;
    text-align: right;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.btn-close:focus,
.btn-close:active {
    box-shadow: none !important;
}

.offcanvas ul {
    text-align: center;
}

.offcanvas ul li {
    margin: 1rem;
}

.navfixed {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.navfixed .navbar-toggler-icon {
    background-image: var(--bs-navbar-toggler-icon-bg) !important;
}

.dropdown:hover .dropdown-menu,
.dropdown-menu:hover .dropdown-menu {
    border-radius: 3px !important;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    display: flex;
    flex-direction: column;
    margin-left: 0;
    padding: .5rem;
    position: absolute;
    width: 170px;
    z-index: 100;
}

.dropdown-toggle::after {
    margin-bottom: -2px !important;
    margin-left: 0 !important;
}

.dropdown-menu li {
    padding: .5rem 0;
}

@media (min-width: 995px) {
    .navbar-header {
        flex-direction: row;
        width: auto;
    }

    .navbar-standard {
        display: block;
    }

    .region-navigation-collapsible {
        flex-direction: row;
    }

    .navbar-toggler {
        display: none;
    }

    .offcanvas {
        display: none;
    }
}

/*----------------------- Blog List Page -----------------------*/
.blogListPage .view-content {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
    justify-items: center;
    padding-bottom: 75px;
}

.blogListPage .blogItem {
    border-radius: 5px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    display: flex;
    flex-direction: column;
    width: 250px;
}

.blogListPage .views-field-field-image img {
    border-radius: 5px 5px 0 0;
    height: 175px;
    object-fit: cover;
}

.blogListPage .views-field-title {
    background-color: #fff;
    border-radius: 0 0 5px 5px;
    font-size: 1.125rem;
    font-weight: 500;
    height: 100%;
    padding: 1rem;
}

.blogListPage .views-field-title a {
    color: #2d8fc8;
    font-weight: 700;
    transition: all .1s ease-in-out;
}

.blogListPage .views-field-title a:hover {
    background-clip: text;
    background-image: linear-gradient(135deg, #2d8fc8, #62c5b6);
    color: #2d8fc8;
    -webkit-text-fill-color: transparent;
}

/*----------------------- Blog Page -----------------------*/
.blogPage {
    padding: 125px 0 75px;
}

.blogPicture {
    align-items: center;
    border-radius: 3px;
    display: flex;
    height: 450px;
    justify-content: center;
}

.blogPicture::before {
    background-image: linear-gradient(rgba(19, 61, 87, .65), rgba(19, 61, 87, .65));
    border-radius: 3px;
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.blogPicture h1 {
    color: #fafafa;
}

.blogContent {
    margin: 2rem auto 0;
    max-width: 900px;
}

.blogPage p {
    font-size: 1.125rem;
    line-height: 1.5;
}

/*----------------------- Add/Edit Dental Practice/Blog -----------------------*/
.node-dental-practice-edit-form .js-form-type-vertical-tabs,
.node-article-form .js-form-type-vertical-tabs,
.node-testimonial-form .js-form-type-vertical-tabs,
.node-testimonial-edit-form .js-form-type-vertical-tabs {
    display: none;
}

.addDentalPractice .form-actions,
.node-article-form .form-actions,
.node-testimonial-form .form-actions {
    margin: 2rem 0 4rem;
}

.node-dental-practice-edit-form,
.node-testimonial-edit-form {
    padding: 90px 0 40px;
}