/*
Theme Name: Olanksy Dermatology
Template: Divi
Description:  A child theme of Divi
Author: Lenz Marketing
Author URI: https://lenzmarketing.com
*/

/* General */

p, li, div {
    font-weight: 300 !important;
    line-height: 1.7em;
}
p + h2 {
    margin-top: 15px;
}
h2 sup {
    font-size: 20px;
}
h2 + .wp-block-embed {
    margin-top: 20px;
    margin-bottom: 25px;
}
@media screen and (max-width:989px) {
    h2 sup {
        font-size: 13px !important;
    }
}

/* Header */

.et-db #et-boc .et-l .phone-num a {
    color: #062f6e;
    font-family: 'Tenor Sans',Helvetica,Arial,Lucida,sans-serif;
    font-size: 32px;
    margin-top: 20px;
    margin-right: 15px;
}

/* Menus */

.et-db #et-boc .et-l .menu-utility .et_pb_menu__wrap {
    justify-content: flex-end;
}
.et-db #et-boc .et-l .menu-utility .et_pb_menu__wrap {
    justify-content: flex-end;
}
.et-db.archive  #et-boc  .et-l   .et_pb_menu_1_tb_header .mobile_menu_bar {
	top: 0;
}

/* Sidebar */

.sidebar-cta h2 sup {
    font-size: .75rem;
}

/* Specific Sections */

.main-content-section .et_pb_row > .et_pb_column:only-child {
    width: 100% !important;
    flex: 1 1 100% !important;
}

/* Buttons */

.et-db #et-boc .et-l .et_pb_button.btn-cta {
    background-color: #ff9c40;
    padding: 7px 12px;
    border-color: #ff9c40;
}
.et-db #et-boc .et-l .et_pb_button.btn-cta a {
    color: #fff;
    font-size: 18px;
    padding: 7px 12px;
}
.et-l--body a:not(.et_pb_button) {
    text-decoration: underline;
    text-decoration-thickness: 0.5px;
}
a.et_pb_button {
    line-height: 1.3em !important;
    text-align: center;
}
p:last-of-type + .wp-block-buttons {
    margin-top: 20px;
}
.wp-block-button a.wp-element-button {
    color: #122558;
    border: 2px solid #122558;
    border-radius: 2px;
    background-color: RGBA(255,255,255,0);
    font-family: 'Tenor Sans',Helvetica,Arial,Lucida,sans-serif;
    font-size: 20px;
    padding: .3em 1em !important;
    text-decoration: none !important;
    margin-bottom: 40px;
    transition: all .2s;
    text-align: center;
    line-height: 1.3em;
}
.wp-block-button a.wp-element-button:hover {
    background-color: #122558;
    color: #fff;
}

/* Cognito Forms */

.cog-cognito * {
    font-weight: 300 !important;
}

/* Footer */

.et-l--footer .location-addresses {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.et-l--footer .location-addresses li {
    flex: 1 1 calc(25% - 20px);
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    box-sizing: border-box;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    min-height: 100%;
    margin: 0;
    text-align: center;
}
.et-l--footer .location-addresses li a {
    color: #fff;
    text-decoration: underline;
}
.et-l--footer .location-hours {
    display: block;
    margin-top: 15px;
}

@media (max-width: 1024px) {
    .et-l--footer .location-addresses li {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 600px) {
    .et-l--footer .location-addresses li {
        flex: 1 1 100%;
    }
}
