﻿@media screen and (min-width:576px) {
    .brand {
        max-width: 40% !important;
    }

    .dropdown .dropdown-menu {
        box-shadow: 2px 2px 5px rgba(0,0,0,.2);
        border: none !important;
        display: block;
        margin-top: 0px !important;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .slider {
        min-height: 526px;
        max-height: 676px;
    }

    .tile {
        min-height: 170px;
        max-height: 220px;
    }

    .appointmentPicker .content .carousel-item .time-pills ul {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .time-pills {
        height: 170px;
    }
}

@media screen and (max-width: 576px) {
    .brand {
        max-width: 30% !important;
    }

    .user {
        margin-right: 0 !important;
    }

    .slider {
        min-height: 380px;
        max-height: 480px;
    }

    .pull-left {
        text-align: right;
    }

    .info {
        margin-top: 0;
    }

    .flexbox {
        padding: 12px;
        justify-content: flex-start;
    }

    .mynav .navbar {
        align-items: center !important;
        justify-content: space-around !important;
    }

        .mynav .navbar .sticky-sm-top {
            text-align: center;
        }

    .login_modal .modal-body input {
        max-width: 100% !important;
    }

    .login_modal .modal-body label {
        min-width: 100% !important;
        margin-left: 0 !important;
        text-align: right !important;
        align-items: flex-start !important;
    }

    .login_modal .mb-2 {
        margin-bottom: 0 !important;
    }

    .login_modal .mb-3:first-child {
        margin-bottom: 0 !important;
    }

    .login_modal .col-4 {
        max-width: 0 !important;
        width: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    #insuranceCollapse .accordion-body button:not(:first-child) {
        margin-top: 5px;
    }

    .samples-title {
        margin-top: 15px;
    }

    .details {
        margin-top: 5%;
    }

        .details > div:first-child {
            width: 0 !important;
            max-width: 0 !important;
            margin: 0 !important;
            padding: 0 !important;
            visibility: hidden !important;
        }

        .details .important-detail {
            max-width: 100% !important;
        }

            .details .important-detail svg {
                margin-right: calc(50% - 50px);
                margin-top: -108.6px;
            }

        .details .dentist-rating-number {
            margin-right: calc(50% - 40px);
            margin-bottom: 6px;
            max-width: 80px !important;
            max-height: 80px !important;
        }

        .details .important-detail circle {
            r: 35;
        }

    .member-card {
        max-width: 100%;
    }

        .member-card .profile {
            width: 100%;
        }

    .fs-20 {
        font-size: 10rem !important;
    }
}

@media screen and (max-width: 620px) {
    .tel:hover > .tel-span {
        width: 50px;
    }

    .mail:hover > .mail-span {
        width: 50px;
    }

    .login:hover > .login-span {
        line-height: 24px;
        font-size: 12px;
        width: 80px;
    }

    .search > div > input:focus,
    .search > div > input:not(:placeholder-shown) {
        width: 80px;
    }

    .motto-placeholder .col-4 {
        min-width: 100% !important;
    }

    .motto-placeholder-inverse .col-4, .col-2 {
        min-width: 100% !important;
    }
}

@media screen and (max-width: 775px) {
    .team {
        display: block !important;
    }

        .team > div {
            width: 100%;
            margin-bottom: 5% !important;
            margin-right: auto !important;
            margin-left: auto !important;
        }


    #logoPlaceHolder .carousel-inner > .carousel-item > img {
        max-width: calc(100vw/6) !important;
    }

    .map img {
        max-width: 90% !important;
        margin-bottom: 10% !important;
        margin-top: 0 !important;
    }

    .flexbox {
        justify-content: flex-start;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .fixed-dark-bg {
        height: 430px;
    }

    #slider .top-50 {
        top: 40% !important;
    }

    #slider .h-50 {
        height: auto !important;
    }

    .mt-n13p {
        margin-top: -10%;
    }
}