/*
Theme Name: Prissy Hawkins Real Estate
Version: 1.0.0
Theme URI: https://prissyshomes.com
Author: Chris Cooley
Description: A custom theme developed for Prissy Hawkins Real Estate Wordpress site.
*/

/****************************/
/* Basic site-wide settings */
/****************************/
body {
    margin: 0;
    font-family: 'robotoregular', sans-serif;
    color:#444;
}
p, ul {
    margin-top:0;
    font-size: 15pt;
}
a {
    outline:none;
    color:inherit;
    text-decoration: none;
}
a:hover, .headerMenu ul li a:hover, .headerMenuMini ul li a:hover {
    color:#005279;
}
h1, h2 {
    font-family: 'roboto_serif20pt_regular', sans-serif;
    font-weight: bold;
    text-align: center;
}
h1 {
    font-size: 60pt;
    margin:0 0 50px 0;
    color: #002452;
}
h2 {
    font-size: 40pt;
    margin: 0;
    color: #002452;
}
.button, .wpcf7 input[type="submit"].wpcf7-submit {
    background-color: #005279;
    border: 1px solid #005279;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16pt;
    cursor: pointer;
    border-radius: 50px;
    margin: 0 auto;
}
.button:hover, .wpcf7 input[type="submit"].wpcf7-submit:hover {
    background-color: #EEBA06;
    border-color: #EEBA06;
    color: black;
}
body.error404 {
    height: 60vh;
}
.error404 .content-area {
    height: 100%;
}
.e404 {
    text-align: center;
    margin: 100px auto;
}
/**********/
/* Header */
/**********/
.header {
    background: url('images/header-bg.jpg') no-repeat right 50px center;
    height: 150px;
    box-shadow: 0px 5px 5px -2px #666; 
    z-index: 5;
}
.header-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.headerLogo, .headerMenu, .headerPhone, .headerCondensedLogo, .headerCondensedPhoneMenu {
    flex: 1 1 auto;
    color: #002452;
}
.headerLogo, .headerCondensedLogo {
    padding:10px 0 0 50px;
}
.headerPhone, .headerCondensedPhoneMenu {
    text-align: right;
    padding-right: 100px;
    font-size: 20pt;
    font-weight: bold;
}
.headerMenu ul, .headerCondensed ul, .headerMenuMini ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.headerMenu ul li, .headerCondensed ul li, .headerMenuMini ul li {
    display:inline;
    white-space: nowrap;
}
.headerMenu ul li, .headerCondensed ul li, .headerMenuMini ul li {
    display:inline-block;
    font-weight:bold;
    padding-right: 25px;
    font-size: 12pt;
    color: #000;
}
.headerCondensed ul li:last-child {
    padding-right: 0;
}
.headerCondensed {
    display: none;
}
#headerFadeContainer {
    display: none;
    position: fixed;
    width: 100%;
    z-index:10;
    height: 60px;
    background: rgba(255,255,255,0.75);
    box-shadow: 0px 5px 5px -2px #666; 
}
.headerMenuMini {
    text-align: center;
    line-height: 60px;
    text-align: center;
}
/*************/
/* Home Page */
/*************/
.tagline {
    position: relative;
}
.tagline h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    text-shadow: 3px 3px 3px #fff;
    width: 100%;
    background: rgba(255,255,255,0.5);
    padding: 10px 0 5px 0;
}
.parallax-window {
    min-height: 800px;
    background: transparent;
}
/* About Prissy */
.aboutPrissy {
    max-width: 1200px;
    margin:  50px auto;
    padding: 0 20px;
    /*font-size: 16pt;*/
}
.bioImage {
    float: left;
    margin: 0 50px 50px 0;
}
.bioImage img {
    width: 100%;
    max-width: 500px;
    height: auto;
}
.bioImage div {
    text-align: center;
    font-size: 40pt;
    color: #002452;
    font-weight: bold;
}
.bioImage div:nth-child(3) {
    font-size: 25px;
    font-weight: normal;
}
.aboutPrissy div {
    text-align: center;
}
/* Listings */
.listings {
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(auto-fit, 380px);
    justify-content: center;
    gap: 25px;
    margin:  50px auto 100px auto;
    padding: 0 20px;
    font-size: 16pt;
}
.listing {
    background-color: #fcf7e4;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    white-space: nowrap;
}
.listing img {
    max-width: 200px;
    display: block; /* Remove gap below image */
}
.listing-img {
    position: relative;
    display: inline-block;
    vertical-align: bottom; /* Remove gap below image */
}
.listing-img-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
}
.listing-desc {
    display: inline-block;
    font-size: 14px;
    vertical-align: top;
    padding: 5px 5px 0 0;
}
.listing-price {
    font-size: 18px;
    font-weight: bold;
}
/* Services */
.services-top img, .services-bottom img {
    max-width:100%;
    max-height:100%;
    width: 100%;
    display: block;
}
.services-bottom {
    background-color: #002452;
}
.services-bg {
    background-color: #FDF0C0;
    padding: 50px 0;
}
.services-flex {
    max-width: 1200px;
    margin:  0 auto;
    padding: 0 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
}
.services-photo {
    position: relative;
}
.services-photo img {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 25px 0;
}
.services-photo h2 {
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-shadow: 3px 3px #000;
    line-height: 45pt;
    z-index: 2;
}
.services-photo {
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
    transition: filter 400ms ease-in-out;
}
.services-photo:hover {
    filter: grayscale(0);
}
/****************/
/* Contact page */
/****************/
.contact {
    max-width: 1200px;
    margin:  100px auto;
    padding: 0 20px;
    font-size: 16pt;
}
.contact-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
}
.contact-form, .contact-address {
    max-width: 500px;
}
.contact-address .button {
    display: block;
    margin: 15px auto 0 auto;
}
.contact-address img {
    display: block;
    margin: 0 auto;
}
.google-map {
    width: 100%;
    height: 500px;
}
/* Contact Form 7 */
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 select {
    height: 35px;
}
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 textarea, .wpcf7 select {
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    font-size: 14pt;
    border-radius: 10px;
}
.wpcf7 textarea {
    max-width: 350px;
}
.wpcf7 label {
    font-weight: bold;
}
.wpcf7 form p:last-of-type {
    margin-left: 30%; /* Manually center submit button. */
}
/* WPCF7 Error & Responses */
span.wpcf7-not-valid-tip {
    display: none;
}
.wpcf7-not-valid, input[type="text"].wpcf7-not-valid, input[type="email"].wpcf7-not-valid, select.wpcf7-not-valid, textarea.wpcf7-not-valid {
    border: 1px solid #ff0000;
}
.wpcf7-response-output, .wpcf7 form.invalid {
    max-width: 350px;
    border-radius: 10px;
}
/**********/
/* Footer */
/**********/
.footer {
    background-color: #002452;
    color: #fff;
    padding: 50px 50px;
    height: 50px;
    text-align: center;
}
/************************************/
/* Reduced screen size alterations. */
/************************************/
@media screen and (max-width: 1100px) {
    .header-flex {
        display: none;
    }
    .headerCondensed {
        display: flex;
        align-items: end;
    }
}
@media screen and (max-width: 1023px) {}
@media screen and (max-width: 950px) {
    h1 {
        margin: 0 0 50px 0;
        font-size: 40pt;
    }
    .header {
        background: none;
    }
    .headerCondensed {
        display: unset;
    }
    .headerCondensedLogo, .headerCondensedPhoneMenu {
        margin: 0 auto;
        text-align: center;
    }
    .headerCondensedLogo {
        padding: 10px 0 0 0;
    }
    .headerCondensedLogo a img {
        width: 150px;
    }
    .headerCondensedPhoneMenu {
        padding: 0;
    }
    .tagline {
        height: 500px;
    }
    .parallax-window {
        min-height: 500px;
    }
    .bioImage {
        float: none;
        margin: 0 auto;
    }
}
@media screen and (max-width: 768px) {
    h1 {
        margin: 0 0 25px 0;
        font-size: 35px;
    }
    h2 {
        font-size: 30px;
    }
    #headerFadeContainer {
        display: none !important;
        position: unset;
    }
    .menu {
        background-color: #FDF0C0;
        line-height: 32px; /* Resolve strange bottom gap. */
    }
    .headerMenu ul li, .headerCondensed ul li, .headerMenuMini ul li {
        padding-right: 15px;
    }
    .tagline {
        display: none;
    }
    .aboutPrissy, .contact {
        margin: 50px 20px;
    }
    .services-row img {
        margin: 25px 0;
    }
}
@media screen and (max-width: 480px) {}
/*********/
/* Fonts */
/*********/
@font-face {
    font-family: 'robotoregular';
    src: url('fonts/roboto-regular-webfont.woff2') format('woff2'),
         url('fonts/roboto-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'roboto_serif20pt_regular';
    src: url('fonts/robotoserif-variablefont_gradopszwdthwght-webfont.woff2') format('woff2'),
         url('fonts/robotoserif-variablefont_gradopszwdthwght-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}