.contentarea img {
    height: auto;
}

.gallery .pics {
    margin: 5px;
}

.blog #main article {
    clear: both;
}

.blog .alignleft img {
    max-width: 320px;
    height: auto;
}

.blog .main-alignleft {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.single .alignleft img {
    max-width: 450px;
}

.img-center {
    text-align: center;
}

.post-img-alignleft {
    display: flex;
    flex-direction: column;
}

.contact-page-info {
    margin-top: 50px;
}

@supports (object-fit: cover) {
    .gallery .pics img {
        width: 380px;
        height: 380px;
    }
}

.map-section {
    background-position: center center;
    background-size: cover;
}

.no-webp .map-section {
    background-image: url(../images/map-bg.jpg);
}

.webp .map-section {
    background-image: url(../images/map-bg.webp);
}

.map-area {
    position: relative;
    max-height: 400px;
    overflow: hidden;
    margin: 80px 0;
}

.livemap {
    left: 0;
    right: 0;
    bottom: 5%;
    width: 40%;
    color: #fff;
    font-size: 25px;
    position: absolute;
    text-transform: uppercase;
    margin: 0 auto !important;
    font-family: 'Montserrat';
    font-weight: 500;
    text-shadow: 2px 2px 2px rgba(150, 150, 150, 1);
}

.foot-mail {
    color: #fff;
    font-size: 20px;
    font-family: 'Montserrat';
    font-weight: normal;
}

.above-footer-info {
    padding: 9% 0;
}

.map-phone {
    color: #fff;
    font-size: 25px;
    margin: 10px 0;
    font-family: 'Montserrat';
    font-weight: 500;
}

.phone-map {
    margin: 10px 0;
}

.map-address {
    color: #fff;
    font-size: 20px;
    margin-top: 30px;
    font-family: 'Montserrat';
    font-weight: normal;
}

.map-mail {
    color: #fff;
    font-size: 20px;
    font-family: 'Montserrat';
    font-weight: normal;
}

.showcase-inner h2 {
    font-size: 23px;
    line-height: 28px;
    text-transform: uppercase;
    margin-top: 30px;
}

.showcase-inner {
    margin: 40px 0;
}

.bluehover {
    z-index: 1;
    position: relative;
}

.bluehover-hover {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    position: relative;
    background: rgba( 26, 63, 117, .0);
    -webkit-box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.25);
    box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.25);
}

.showcase-inner:hover .bluehover-hover {
    background: rgba( 26, 63, 117, .5);
}

.showcase-stack {}

.showcase-left-icon-inner {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: inline-block;
    background: rgb(60, 102, 150);
    background: -moz-linear-gradient(-45deg, rgba(60, 102, 150, 1) 0%, rgba(30, 69, 121, 1) 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(-45deg, rgba(60, 102, 150, 1) 0%, rgba(30, 69, 121, 1) 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg, rgba(60, 102, 150, 1) 0%, rgba(30, 69, 121, 1) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#3c6696', endColorstr='#1e4579', GradientType=1);
    /* IE6-9 fallback on horizontal gradient */
}

.showcase-left-box:hover .showcase-left-icon-inner {
    width: 70px;
    height: 70px;
    display: inline-block;
    background: rgb(60, 102, 150);
    transform: scale( 1.1, 1.1);
}

.show1 {
    width: 70px;
    height: 70px;
    background-position: center bottom;
    background-size: contain;
}

.show2 {
    width: 70px;
    height: 70px;
    background-position: center bottom;
    background-size: contain;
}

.show3 {
    width: 70px;
    height: 70px;
    background-position: center bottom;
    background-size: contain;
}

.show4 {
    width: 70px;
    height: 70px;
    background-position: center bottom;
    background-size: contain;
}

.no-webp .show1 {
    background-image: url(../images/showcase-icon-1.png);
}

.no-webp .show2 {
    background-image: url(../images/showcase-icon-2.png);
}

.no-webp .show3 {
    background-image: url(../images/showcase-icon-3.png);
}

.no-webp .show4 {
    background-image: url(../images/showcase-icon-4.png);
}

.webp .show1 {
    background-image: url(../images/showcase-icon-1.webp);
}

.webp .show2 {
    background-image: url(../images/showcase-icon-2.webp);
}

.webp .show3 {
    background-image: url(../images/showcase-icon-3.webp);
}

.webp .show4 {
    background-image: url(../images/showcase-icon-4.webp);
}

.showcase-left-content-inner {
    float: left;
    width: 70%;
    margin-left: 20px;
    display: inline-block;
}

.showcase-left-content-inner h2 {
    margin-bottom: 0;
    font-size: 25px;
    line-height: 30px;
    text-transform: uppercase;
}

.showcase-left-icon-inner {
    float: left;
}

.thishr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 2px solid #3d6896;
    margin: 2em 0;
    padding: 0;
}

.cleafix {
    clear: both;
}

.showcase-left-inner {
    margin: 40px 0;
}

.drtitle {
    font-size: 30px;
    font-weight: 600;
}


/* form style */

.righty {
    float: right !important;
    width: 75%;
}

.lefty {
    float: left;
    width: 25%;
}

.righty-alt {
    float: right !important;
    width: 85%;
}

.lefty-alt {
    float: left;
    width: 15%;
}

.righty-new {
    margin-left: 10px;
    width: 60%;
}

.lefty-new {
    width: 10%;
}

.hide-input {
    height: 0;
    display: none !important;
}

.auto-fill-btn {
    overflow: hidden;
}

#bp_patient_form legend strong {
    display: block;
    margin-bottom: 12px;
}

.new_patient_form input[type="text"],
input[type="number"],
input[type="tel"],
input[type="email"],
input[type="password"] {
    width: 100%;
    border-radius: 5px;
    padding-left: 10px;
}

.new_patient_form input:focus,
.new_patient_form textarea:focus {
    background: #ffefdc;
    border: 1px solid #f9dfc1;
    box-shadow: none;
}

.new_patient_form input[type="radio"],
input[type="checkbox"] {
    margin-left: 5px;
    margin-right: 1px;
}

.new_patient_form input[type="date"] {
    width: 200px;
}

.new_patient_form .patient_birthdate {
    float: left;
    width: 32%;
    margin-left: 4px;
}

.new_patient_form select {
    margin-bottom: 10px;
    width: 100%;
}

.new_patient_form p {
    margin: 30px;
}

.new_patient_form h2 {
    color: #000;
}

.new_patient_form .fine_print {
    font-size: 11px;
}

.new_patient_form .honey {
    display: none;
}

.new_patient_form .reason {
    float: left;
    width: 33%;
}

.new_patient_form .twowide {
    float: left;
    width: 50%;
}

.new_patient_form .main-btn {
    width: auto;
    height: auto;
    padding: 7px 15px;
}

.new_patient_form label {
    display: inline-block;
    margin-bottom: 5px;
}

.new_patient_form .otherbox input[type="text"] {
    width: 90%;
}

.new_patient_form textarea {
    width: 100% !important;
}

.new_patient_form {
    /*font-weight: bold;	*/
}

.new_patient_form fieldset {
    border: 2px groove #ffffff;
}

.new_patient_form .ratings input[type="number"] {
    width: 50px;
    margin: 5px;
}

.new_patient_form p {
    margin: 15px 0px !important;
    line-height: 17px !important;
}

.new_patient_form fieldset {
    border: 2px solid #ccc;
    border-radius: 5px;
    padding: 15px;
    background: linear-gradient(to right, rgb(254, 254, 254) 0%, rgb(254, 254, 254) 100%);
    font-size: 16px;
    color: #000;
    box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.1);
}

.new_patient_form legend {
    text-align: left;
    padding: 50px 0 0 0;
    width: 100%;
    font-variant: small-caps;
    border: none;
    margin-bottom: 0;
}

.new_patient_form strong {
    color: #000 !important;
}

.new_patient_form fieldset strong {
    color: #000;
}

.new_patient_form .middle {
    text-align: center;
}

.medical-history-checks {
    line-height: 20px;
}

.new_patient_form .medical-history-checks .row {
    margin-bottom: 0;
}

.ada_patient_form .row-fluid {
    margin: 10px 0 0;
}

.form-button {
    background: #96cc62;
    border: 1px solid #000000;
    padding: 10px;
    margin: 10px;
    font-size: 20px;
}

.form-button:hover {
    background: #0babe3;
    color: #000;
    cursor: pointer;
}

.new_patient_form .row {
    margin: 0 auto;
}

.yesno .row-fluid {
    border-radius: 5px;
    margin: 10px 0;
    padding: 5px 6px;
}

.yesno .row-fluid:nth-child(odd) {
    background: #d3d4d4;
    color: #000000;
}

.yesno .row-fluid:nth-child(even) {
    border: #d3d4d4 solid 2px;
}

.new_patient_form input[type="radio"] {
    margin-left: 15px;
    margin-right: 2px;
    margin-top: -4px;
}

.new_patient_form h3 {
    color: #000;
}

.new_patient_form .small-box {
    width: 60px;
}

.new_patient_form .phone {
    color: #000;
}

.histories .righty {
    float: right !important;
    width: 10%;
}

.histories .lefty {
    float: left;
    width: 90%;
}

.histories h4 {
    background: #d3d4d4;
    padding: 10px;
    border-radius: 5px;
    color: #000;
    margin-top: 30px;
    box-shadow: 2px 2px 6px 1px rgba(0, 0, 0, 0.7);
}

.histories .row-fluid {
    margin: 10px 10px;
}

.new_patient_form .small-text-box {
    width: 140px !important;
}

.new_patient_form .initials {
    width: 300px !important;
}

.new_patient_form .row {
    margin-bottom: 10px;
}

#bp_patient_form .txt-area {
    max-width: 100%;
}

.form-button:hover {
    background: #eee;
    color: #000;
}

.new_patient_form .main-btn {
    border-radius: 4px;
    font-size: 15px;
}

.alert {
    background: #eee;
}

.new_patient_form .success_val {
    background: url(/wp-content/themes/custom5/images/val_check.png) 99% 9px no-repeat #DAF9DC !important;
    background-size: 25px !important;
    border: 1px solid #5BFF00 !important;
}

.new_patient_form .error_val {
    border: 1px solid #DC5959 !important;
    background: url(/wp-content/themes/custom5/images/val_cross.png) 99% 8px no-repeat #FFDDDD !important;
    background-size: 22px !important;
}

button.main-btn.button.bp-submit-button.send_button.transition {
    font-size: 20px;
}

.new_patient_form div[class^="col-"] {
    margin-bottom: 10px;
}

.new_patient_form .tab {
    display: none;
}

#myProgress {
    width: 100%;
    background-color: #666;
    margin: 60px 0 60px 0;
    position: relative;
    border-radius: 5px;
}

#innerBar {
    width: 5px;
    height: 30px;
    background-color: #80b041;
    transition-duration: .3s;
    max-width: 100%;
    border-radius: 5px;
}

#innerBar:after {
    /*content: '0%';*/
    position: absolute;
    left: 10px;
    color: #000;
}

#pgtop {
    bottom: 150px;
    position: relative;
}

@media only screen and (max-width: 480px) {
    .righty-alt {
        float: right !important;
        width: 52%;
    }
    .lefty-alt {
        float: left;
        width: 45%;
    }
    .new_patient_form div[class^="col-"] {
        margin-bottom: 10px;
        padding: 0;
    }
}

@media only screen and (max-width: 380px) {
    .lefty-new {
        /*width: 48%;*/
        padding-right: 10px;
    }
    .righty-new {
        width: 52%;
    }
    .lefty-alt {
        width: 52%;
    }
    .righty-alt {
        width: 48%;
    }
    .lefty {
        width: 52%;
    }
    .righty {
        width: 48%;
    }
}


/* RESPONSIVE
-----------------------------------------------*/

@media (min-width: 1200px) and (max-width: 1400px) {}

@media only screen and (min-width: 980px) {}

@media (max-width: 1025px) {}

@media only screen and (max-width: 979px) {}

@media only screen and (max-width: 767px) {}

@media all and (max-width: 600px) {}

@media only screen and (max-width: 480px) {}


/* RESPONSIVE
-----------------------------------------------*/

@media (min-width: 1200px) and (max-width: 1400px) {}

@media only screen and (min-width: 980px) {}

@media (max-width: 1025px) {}

@media only screen and (max-width: 979px) {}

@media only screen and (max-width: 767px) {}

@media all and (max-width: 600px) {}

@media only screen and (max-width: 480px) {
    .gallery .pics {
        margin: 0 0 10px;
    }
    @supports (object-fit: cover) {
        .gallery .pics img {
            width: 300px;
            height: 300px;
        }
    }
}


/* New blog listing page css start */

.contentsection {
    margin-top: 40px;
    margin-bottom: 40px;
}

.article-wrap article {
    width: 100%;
    max-width: calc(50% - 10px);
    display: flex;
}

.article-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.article-inner {
    padding: 20px;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 1px 3px #ddd;
    background-color: #fff;
}

.article-inner img {
    max-width: 100%;
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 30px;
}

.article-inner h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1a3f75;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-inner p {
    margin-bottom: 0;
}

.read-more-link {
    display: block;
    max-width: 110px;
    margin-top: 20px;
}

.searchform {
    display: none;
}

.sidebar-wrap .sidebar {
    box-shadow: 0 1px 3px #ddd;
    background-color: #fff;
    padding: 20px;
}

.sidebar-wrap .sidebar ul {
    margin: 0 !important;
}

.sidebar-wrap h3 {
    font-weight: 600;
    margin-bottom: 20px;
}

.contentarea {
    font-size: 16px;
    line-height: 1.5;
}

.sidebar-wrap li {
    margin-bottom: 20px;
}

.single-post .bannerarea {
    display: none;
}

.article-detail h1 {
    text-align: left;
    margin-top: 50px;
}

.article-detail img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

a.read-more-link:after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 9px;
    height: 9px;
    border-width: 2px;
    border-style: solid;
    border-radius: 2px;
    transform: rotate(45deg);
    border-color: #1a3f75;
    border-bottom-color: transparent;
    border-left-color: transparent;
    margin-left: 1px;
}

.pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
}

.pagination .page-numbers {
    border-radius: 50%;
    border: 1px solid #1a3f75;
    background: #FFFFFF;
    height: 40px;
    width: 40px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin: 0 10px;
    cursor: pointer;
}

.pagination span.current {
    background-color: #1a3f75;
    border-color: #1a3f75;
    color: #FFFFFF;
}

.sidebar .rpwwt-widget img {
    margin: 0;
    margin-right: 10px;
    object-fit: cover;
}

.sidebar .address {
    margin-bottom: 20px;
}

.sidebar .address,
.sidebar .phonebooth {
    display: flex;
    align-items: flex-start;
}

.sidebar .address img,
.sidebar .phonebooth img {
    margin-right: 5px;
}

@media (max-width:991px) {
    .article-wrap {
        margin-bottom: 30px;
    }
}

@media (max-width:767px) {
    .contentarea article {
        max-width: 100%;
    }
    .article-wrap {
        gap: 30px 0;
    }
    .pagination {
        flex-wrap: wrap;
    }
    .pagination .page-numbers {
        margin: 5px;
        width: 30px;
        height: 30px;
    }
}


/* New blog listing page css end */