/*
Theme Name: Pharmacy Mentor - Landing Pages
Author: Pharmacy Mentor
Author URI: https://www.pharmacymentor.com
*/

:root {
    --button-bg: #b38d40;
    --button-hover-bg: #333;
    --button-color: #fff;
}

*, :after, :before {
    box-sizing: border-box;
}

html,
body {
    padding: 0;
    margin: 0;
}

body {
    font-weight: 400;
    font-weight: 200;
    font-size: .85rem;
    letter-spacing: .8px;
    line-height: 1.65rem;
    font-family: var(--body-font),sans-serif;
    color: #161616;
    -webkit-font-smoothing: subpixel-antialiased;
    overflow-x: hidden;
    text-align: center;
}

/* WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}
 
.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
 
.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}
 
.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
 
a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}
 
a img.alignnone {
    margin: 5px 20px 20px 0;
}
 
a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
 
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
 
.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}
 
.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}
 
.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}
 
.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}
 
.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}
 
.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}
 
/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}
 
.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}

main {
    display:block;
    position:relative;
}

section {
    display: flex;
    flex-direction: column;
    /*min-height: 100dvh;*/
    /*max-width: 100svw;*/
    margin: 0 auto;
    padding:5rem 2rem;
}

img {
    max-width: 100%;
    height:auto;
}

.bg-image {
    display:block;
    position: absolute;
    inset: 0;
    z-index: -1;
}

.bg-image img {
    display: block;
    width:100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

h1,h2,h3,h4,h5 {
    margin-bottom: 1rem;
    font-weight: 200;
    letter-spacing: 1px;
    line-height: normal;
    text-wrap: balance;
    max-width: 100%;
    /*text-align: center;*/
}

h1 {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
}

[data-overlay="true"] {    
    position:relative;
}

[data-overlay="true"] .bg-image:before {
    content: " ";
    position: absolute;
    inset: 0;
    background-color: var(--_overlay);
}

.center {
    text-align: center;
}

a {
    display:inline-block;
    text-decoration: none;
    color: #333;
    position: relative;
    transition:all ease .4s;
}

.button {
    background: var(--button-bg);
    color: var(--button-color);
    border: var(--button-bg);
    padding: 1rem 1.5rem;
    border-radius: 2rem;
    font-size:1.2rem;
    margin: 1rem auto 2rem;
}

.button:hover,
.button:focus {
    background:var(--button-hover-bg);
}

.fill-height {
    flex:1;
}

header {
    text-align: center;
}

footer {
    text-align: center;
}

footer a {
    font-weight: bold;
}

@media only screen and (min-width:768px) {
    body {
        text-align: unset;
    }

    /*section {*/
    /*    max-width: 50rem;*/
    /*}*/
}