.clearfix:after {content: "."; display: block; height: 0; clear: both; visibility: hidden;}

img.alignright {float:right; margin-left:50px; margin-top:15px; margin-bottom:50px;}
@media (max-width:800px) {
    img.alignright {float:none; margin-left:0;}
}

.cl-button {
    background-color:#0f5192;
    margin:5px 0;
    display:inline-block;
    border-radius:12px;
    padding:9px 15px;
    color:white; 
    text-shadow: 2px 2px 4px #000;
    border:solid thin #0f5192;
}
.cl-button:hover {
    background-color:white;
    color:black;
}

.cl-button.red {
    border:solid thin #97272C;
    background-color:#97272C;
    border-radius:5px;
    padding:9px 25px;
}
.cl-button:hover {
    background-color:#fff;
    color:black;
}

.region-footer-first {
    flex: 0 0 32%;
    max-width: 32%;
}

.cl-slick-quotes .slick-list,
.cl-slick-arrows .slick-list {z-index:500;}

.cl-slick-arrows button.slick-arrow {color:white;}

.cl-slick-quotes button.slick-arrow,
.cl-slick-arrows button.slick-arrow {
    background-color: transparent;
    border:none;
    font-weight:bold;
    color:#0e5192;
    position:absolute;
    bottom:0;
    z-index: 600;
}
.cl-slick-quotes button.slick-prev,
.cl-slick-arrows button.slick-prev {
    left:50%;
    transform:translateX(-100%);
}
.cl-slick-quotes button.slick-next,
.cl-slick-arrows button.slick-next {
    right:50%;
    transform:translateX(100%);
}

.cl-slick-quotes p {
    padding:20px;
    font-size:150%;
    font-weight:bold;
    text-align:center;
}
.cl-slick-quotes p span {
    display:block;
    padding:20px;
    font-size:90%;
    font-weight:normal;
    font-style:italic;
}

/* -----------------------------
   Home Hero */

#cl-hero {position:relative;}
#cl-hero img {width:100%; opacity: 0;}
#cl-hero .hero-content {
    margin-top:0;
    transition: opacity 0.5s;
    pointer-events: none;
    opacity: 0;
    position: absolute; 
    top:0;
    left:0;
    right:0;
    bottom:0;
    display:inline-block;
    min-height: auto;
}
#cl-hero .hero-content.active {
    opacity: 1;
    pointer-events: all;
}
#cl-hero .hero-content h2 {margin-bottom:30px; font-size:2.4vw;}
#cl-hero .hero-content p {margin-bottom:0;}
#cl-hero .hero-content .hero-headline {
    bottom: 100px;
    margin-top: 0;
    padding: 3vw 6vw;
    display: inline-block;
    width: auto;
    min-width: 0px;
    max-width:55%;
}

#cl-hero .hero-content.one {background-image:url('/sites/default/files/2022-01/aook-home-mock1.jpg');}
#cl-hero .hero-content.two {background-image:url('/sites/default/files/2022-01/aook-home-mock2.jpg');}
#cl-hero .hero-content.three {background-image:url('/sites/default/files/2022-01/aook-home-mock3.jpg'); background-position:bottom center;}
#cl-hero .hero-content.four {background-image:url('/sites/default/files/2022-01/aook-home-mock4.jpg');}
#cl-hero .hero-content.five {background-image:url('/sites/default/files/2022-01/dr-waller-home2.jpg');}
#cl-hero .hero-content.five h2 {margin-bottom:0;}
#cl-hero .hero-content.five p.text {font-size:1.5rem; margin-bottom:40px;}
#cl-hero a.btn {white-space: nowrap; padding:1rem 2rem; width:auto; display:inline-block;}

@media (max-width:1140px) {
    #cl-hero .hero-content .hero-headline a.btn {
        font-size: 1.5rem;
    }
}

@media (max-width:800px) {
    #cl-hero {
        padding-bottom:200px;
    }
    #cl-hero .hero-content .hero-headline {
        width:100%; 
        padding:30px 3%;
        border-radius:0;
        text-align:center;
        bottom:-200px;
        max-width:100%;
    }
    #cl-hero .hero-content .hero-headline a.btn {
        font-size: 1rem;
    }
    #cl-hero .hero-content.five p.text {font-size:1rem; margin-bottom:20px;}
}

/* -----------------------------
   Home Hero (pass 1) */

#cl-hero2 {
    height:120vh; 
    min-height:1200px;
    position: relative;
}

#cl-hero2 .hero-content {
    pointer-events: none;
    opacity: 0;
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-position:top center;
    min-height: auto;
    transition: opacity 0.5s;
}

#cl-hero2 .hero-content.active {
    opacity: 1;
    pointer-events: all;
}

#cl-hero2 .hero-content.one {background-image:url('/sites/default/files/2022-01/aook-home-mock1.jpg');}
#cl-hero2 .hero-content.two {background-image:url('/sites/default/files/2022-01/aook-home-mock2.jpg');}
#cl-hero2 .hero-content.three {background-image:url('/sites/default/files/2022-01/aook-home-mock3.jpg'); background-position:bottom center;}
#cl-hero2 .hero-content.four {background-image:url('/sites/default/files/2022-01/aook-home-mock4.jpg');}
#cl-hero2 .hero-content.three h2 {font-size:3vw;}
#cl-hero2 .hero-content.four h2 {font-size:2.35vw;}

#cl-hero2 .hero-content .hero-headline {bottom:5vw;}

#cl-hero2 h2 {margin-bottom:50px;}

@media (max-width:990px) {
    .path-frontpage .section-1 .field--name-dynamic-token-fieldnode-welcome-text {margin-top: 50px;}

    #cl-hero2 {
        height:130vw;
        min-height:130vw;
    }
}

@media (max-width:767px) {
    #cl-hero2 {
        height:130vw;
        min-height:130vw;
    }
    #cl-hero2 .hero-content {padding-top:140vw; background-size:contain; background-position: top center !important;}
    #cl-hero2 .hero-content h2 {font-size:18px !important; margin-bottom:25px;}  

    
}

/* -----------------------------
   Image rotator */

.cl-image-rotator {margin-bottom:50px; padding-bottom:20px;}
.cl-image-rotator img {float:left; width:100%; height:auto;}

.slick-dots {
    display: block;
    width: 100%;
    padding: 0;
    bottom:unset;
    margin: 0;
    list-style: none;
    text-align: center;
}
.slick-dots li {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 5px;
    padding: 0;
    cursor: pointer;
}
.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 20px;
    height: 20px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}
.slick-dots li.slick-active button:before {
    opacity: .75;
    color: black;
}
.slick-dots li button:before {
    font-family: 'slick';
    font-size: 20px;
    line-height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    content: '•';
    text-align: center;
    opacity: .25;
    color: black;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* -----------------------------
   Careers */

body.page-node-40970 .content-inner {
    display:block;
}

body.page-node-40970 .content-inner > .col-sm-12.col-md-7.col-lg-8.group-left {
    width:100%;
    padding:0;
    margin:0 auto;
    font-size:18px;
    max-width:100%;
}

body.page-node-40970 .content-inner > .group-right {
    display:none;
}

body.page-node-40970 .main-content p {
    font-size:1.3em;
}

header #careers-link {
    display:none !important;
}

/* -----------------------------
   Contact */

.flex-cont {
    margin-bottom: 20px;
}

.flex-cont > div { 
    text-align: center;
    font-size:18px;
}

@media (min-width:768px) {
    .flex-cont {
        display: flex;
        align-items: center;
        margin-bottom: 0;
    }
    .flex-cont > div {
        width: 50%;
        padding: 5px 5px 5px 0;
        text-align: left;
    }
}

/* -----------------------------
   Header */

#navbar-main #catchy-top1,
#navbar-main #catchy-top1 > * {
    background-color: transparent !important;
}

#navbar-main #catchy-top1 a,
#navbar-main #catchy-top2 a {
    display: block;
    text-align: center;
    padding: 0.5rem 0.5rem;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.05em;
    font-size: 1.25rem;
}

#navbar-main .blue a {
    background-color: #0e5192;
}

#navbar-main .red a {
    background-color: #97262c;
}

#navbar-main .grey a {
    background-color: #6D6E71;
}

#catchy-top-mobile {
    display:none;
}

@media (max-width:768px) {
    #catchy-top-desktop {
        display:none;
    }
    #catchy-top-mobile {
        display:block;
    }
}

#navbar-main .main-nav {
    max-width:800px;
}

#navbar-main .main-nav .navbar-nav ul a:not(#desktop-search-icon) {
    font-size:18px;
}

@media (max-width:768px) {
    #main-wrapper #block-system-main-block .content-inner.row {
        flex-direction: column-reverse;
    }
    #main-wrapper #block-system-main-block .content-inner.row nav h2 {
        display:none;
    }
    #main-wrapper #block-system-main-block .content-inner.row nav a {
        background-color: #0E5192;
        color:white;
    }
}

.cl-three-column-list {
    background-color:#6D6E71;
    padding:10px;
}

@media (min-width:768px) {
    .cl-three-column-list {
        column-count: 3;
        padding:50px;
    }
}

.cl-three-column-list li {
    color:white;
}

@media (max-width:786px) {
    table td {
        display:block;
        width:100% !important;
    }
}

/*
body.page-node-40978 .field--name-dynamic-block-fieldnode-doctors-listing-specialties {
    display:none;
}
*/

.cl-responsive-table table {
    width: 100%;
    border-collapse: collapse;
    margin:40px 0;
}

.cl-responsive-table th, .cl-responsive-table td {
    text-align: left;
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

.cl-responsive-table td:first-child {
    font-weight:bold;
}

.cl-responsive-table th {
    background-color: #f2f2f2;
}

/* Responsive design for smaller screens */
@media screen and (max-width: 600px) {
    .cl-responsive-table table, .cl-responsive-table thead, .cl-responsive-table tbody, .cl-responsive-table th, .cl-responsive-table td, .cl-responsive-table tr {
        display: block;
    }

    .cl-responsive-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .cl-responsive-table tr { border: 1px solid #ccc; }

    .cl-responsive-table td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
    }

    .cl-responsive-table td:before {
        position: absolute;
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        content: attr(data-label);
    }
}

@media screen and (min-width: 768px) {
    .node--type-two-column-page .content-inner > div {
        width:50%;
    }
}

.group-right li {
    font-size: 1.25rem;
    padding-bottom: .5rem;
}

.group-right p {
    font-size: 1.25rem;
    line-height: 1.6;
}

#footer-callout {
    -webkit-box-shadow: 10px 6px 17px 8px rgba(0,0,0,0.05); 
    box-shadow: 10px 6px 17px 8px rgba(0,0,0,0.05);
    border-radius:30px;
    padding:15px 30px;
    background:white;
    display:flex;
    justify-content:center;
    align-items:center;
    position: fixed;
    bottom:75px;
    z-index: 100000000;
    right:75px;
}

#footer-callout span {
    background-color:#97272C;
    height:25px;
    width:2px;
    display:block;
    margin:0 20px;
}

#footer-callout .connect-icon {
    display:flex;
    justify-content:center;
    gap:15px;
    align-items:center;
}

#footer-callout a {
    color:#0F5192;
    text-decoration:none;
    font-size:22px;
    font-weight:bold;
}

@media (max-width:768px) {
    #footer-callout {
        bottom:30px;
        right:30px;
    }

    #footer-callout a {
        font-size:18px;
    }

    #footer-callout span,
    #footer-callout .connect-icon {
        display:none;
    }
}