/*
**	File:		pdcre.css
**	Purpose:	Contains styles for the site
**	Theme:		pdcre
**	Author:		toycardesign.com
**  
**  Colors:
**  Background:         #F2F2F2
**  Highlights:         #29A9DF
**  Highlights-Dark:    #4691CE
**  Fonts:              #CCCCCC
**  Fonts-Light:        #CACACA
*/


/* ------------------ General ------------------ */

body {
    background-color: rgba(255, 255, 255, 255);
    height: auto;
    font-family: Cantarell, Verdana, sans-serif;
    line-height: 1.3;
    font-size: 1em;
    color: #666;
    margin: 0;
}

#messages,
#page,
footer {
    padding: 0;
    margin: 0;
}

header,
footer,
main,
nav,
section {
    box-sizing: border-box;
}

article {
    padding: 0.5em 2em 2em;
    background-color: #FAFAFA;
}

.wrapper {
    margin: auto;
    max-width: 1048px;
    padding: 1em;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

p {
    line-height: 2em;
}

h1,h2,h3,h4,h5,h6 {
    text-transform: uppercase;
    font-weight: normal;
    font-family: Raleway, Cantarell, Verdana, sans-serif;
    flex: 1 1 100%;
}

h1 {
    font-size: 1.35em;
}

h2 {
    font-size: 1.25em;
}

blockquote {
    background-color: #F1F1F1;
    border-left: 4px solid #CCC;
    font-style: italic;
    margin: 1.5em 0.75em;
    padding: 0.5em 0.75em;
    color: #666;
    quotes: "\201C" "\201D";
}

blockquote:before {
    color: #666;
    content: "\201C";
    font-size: 4em;
    line-height: 0.1em;
    margin-right: 0.2em;
    vertical-align: -1.5em;
    display: block;
    width: 0.5em;
    float: left;
    position: relative;
    top: 0.25em;
}

blockquote cite {
    display: block;
    text-align: right;
    margin-right: 1em;
}

blockquote cite:before {
    content: " - ";
}

a,
a:visited {
    color: #29A9DF;
    text-decoration: none;
}

a:hover {
    color: #4691CE;
    text-decoration: none;
}

article li {
    margin-bottom: 1em;
}

.smallest {
    font-size: 0.6em;
}

.smaller {
    font-size: 0.85em;
}

.larger {
    font-size: 1.15em;
}

.largest {
    font-size: 2.25em;
}

.hidden {
    display: none;
}

.center {
    text-align: center;
}

.keyline-header {
    text-align: center;
    margin-bottom: 0.5em;
}

.keyline {
    border-style: solid;
    background-color: #666666;
    border-color: #666666;
    color: #666666;
    height: 1px;
    margin-bottom: 3em;
    flex: 1 1 100%;
    width: 60%;
}


/* ------------------ Header Overrides ------------------ */
header {
    background: rgba(255, 255, 255, 1);
    position: sticky;
    top: 0;
    z-index: 10;
    width: 100%;
    padding: 1em 5em;
    min-height: 120px;
    font-family: Raleway, Cantarell, Verdana, sans-serif;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

header.top {
    position: fixed;
}

header .logo {
    float: left;
}

header a,
header a:visited {
    color: #666666;
}

header a:hover {
    color: #29A9DF;
}

header .title-wrapper a:hover {
    color: #666666;
}

header.dark-bg {
    background-color: rgba(13, 13, 13, 0.65);
    color: #FAFAFA;
}

header.dark-bg a,
header.dark-bg a:visited {
    color: #FAFAFA;
}

header.dark-bg a:hover {
    color: #29A9DF;
}

header.dark-bg .title-wrapper a:hover {
    color: #FAFAFA;
}

header.dark-bg .logo {
    filter: brightness(1000);
}

.current-page {
    color: #29A9DF !important;
}

.title-wrapper {
    margin-left: 1em;
    flex: 1 1 20%;
}

.title-main {
    margin: 0.75em 0 0;
    font-size: 1.4em;
    text-transform: uppercase;
    width: 450px;
}

.title-sub {
    margin: 0;
    font-size: 0.75em;
}


/* ------------------ Footer Overrides ------------------ */
footer {
    background-color: rgba(44, 46, 46, 1);
    font-size: 0.75em;
    text-transform: uppercase;
    min-height: 90px;
}

footer,
footer a,
footer a:visited {
    color: #CACACA;
}

footer a:hover {
    color: #29A9DF;
}

footer h6 {
    font-size: 1.25em;
    font-weight: 700;
    color: #29A9DF;
    text-decoration: underline;
    margin: 0.85em 0 1em;
}

footer blockquote {
    background-color: unset;
    border-left: unset;
    padding: 0;
    color: unset;
}

/* Bottom Footer */
#tertiary {
    padding: 2em;
    background-color: rgba(61, 63, 62, 1);
}

#footer {
    display: flex;
    align-items: center;
    min-height: 65px;
}

#footer .wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

#footer #copyright {
    flex: 0 0 auto;
    vertical-align: top;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

#footer-logo {
    display: flex;
    align-items: center;
    height: 65px;
    flex: 0 0 auto;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.5em;
    flex: 0 0 auto;
}


/* ------------------ Messages ------------------ */
.message {
    padding: 0;
    margin-top: 30px;
}

.success-message {
    color: #1c724d !important;
    background-color: #d7f8e5 !important;
    border-color: #c6f5e2 !important;
}

.error-message {
    color: #721c24 !important;
    background-color: #f8d7da !important;
    border-color: #f5c6cb !important;
}

.info-message {
    color: #354f5e !important;
    background-color: #93CFE9 !important;
    border-color: #81D3F7 !important;
}

.info-message a {
    color: #F1F1F1 !important;
}

.info-message a:hover {
    color: #354F5E !important;
}

.popup {
    position: fixed;
    top: 125px;
    left: 10%;
    border-radius: 2px;
    z-index: 10000;
    
    visibility: hidden;
}

.popup.show {
    visibility: visible;
    animation: fade-out 7s;
    animation-timing-function: ease-in;
}

@keyframes fade-out {
    from {
      opacity: 1;
    }
    to {
      opacity: 0;
    }
}

.notification {
    padding: 0.75em 2em;
    justify-content: space-around;
    width: 80%;
}

.notification p:first-child {
    margin-top: 0;
}

.notification p:last-child {
    margin-bottom: 0;
}

.notification a {
    font-weight: bolder;
}

.notification .feather {
    margin-bottom: -5px;
    margin-right: 0.5em;
}

/* ------------------ Hero Shot ------------------ */
.splash-msg {
    text-align: center;
    padding: 40vh 0;
    vertical-align: middle;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    align-self: center; /* ios image height fix */
}

.splash-msg .logo {
    width: 100%;
    align-self: center; /* ios image height fix */
}

.hero-shot-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    /*background-image: url(../images/hero-shot-001.jpg);*/
    background-color: rgba(5, 21, 27, 0.65);
    background-blend-mode: darken;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -10;
    transition: background 3s ease-in-out;
    align-self: center; /* ios image height fix */
}

.splash-msg h1 {
    color: #FFFFFF;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.6);
    font-size: 5.5vh; /* ~3.5em */
    margin: 0.25em 5%;
}

.splash-msg p {
    color: #FFFFFF;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.6);
    font-size: 2.5vh; /* ~1.5em */
    margin: 0 5% 1.35em;
}

.splash-msg .button {
    width: 42%;
}


/* ------------------ Scroll Indicator ------------------ */
.scroll-indicator {
  text-align: center;
  position: absolute;
  bottom: 0;
  width: 100vw;
  filter: invert(100%);
}

.arrow i {
    width: 48px !important;
    height: 48px !important;
}

.bounce {
  -moz-animation: bounce 2s infinite;
  -webkit-animation: bounce 2s infinite;
  animation: bounce 2s infinite;
  }

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}



/* ------------------ Main Menu ------------------ */
#main-menu {
    flex: 1 1 30%;
    transition: all 500ms cubic-bezier(0.675, 0.170, 0.245, 0.795);
    overflow: hidden;
}

#main-menu .menu-list {
    list-style: none;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    text-align: center;
    cursor: pointer;
}

#main-menu .menu-list li {
    padding: 1em;
}

#menu-controls {
    display: none; /* flex */
    flex: 1 1 10%;
    align-items: center;
    justify-content: center;
    margin-right: 1em;
}

.hamburger,
.close-button {
    display: none;
}


/* ------------------ Ancillary Menu ------------------ */
#ancillary-menu.menu-wrapper {
     display: inline-block;
     text-align: right;
     width: 50%;
     float: right;
     margin-bottom: 0.5em;
}

#ancillary-menu .menu-list {
    list-style-type: none;
    margin: 1em 0 0;
    padding: 0;
}

#ancillary-menu .menu-list li {
    display: inline;
    padding: 0 0 0 1.25em;
}


/* ------------------ Testimonials ------------------ */
.testimonials {
    height: 150px;
    overflow: hidden;
}

.testimonial {
    height: 100%;
}


/* ------------------ Home Page Overrides ------------------ */
.home-page header {
    bottom: 0;
}

.home-page .scroll-indicator {
    bottom: 150px;
}

.home-page .splash-msg {
    padding: 30vh 0;
}


/* ------------------ Icon Lists ------------------ */
.icon-list {
    margin-top: 1.5em;
    list-style-type: none;
    padding-inline-start: 16px;
}

.icon-list li {
    margin: 1em 1em 1em 2em;
}

.icon-list li svg {
    margin-left: -32px;
    position: absolute;
    width: 16px !important;
    height: 16px !important;
    padding: 4px 0;
}

.social-icon {
    margin-right: 0; /* 1em */
    display: inline-block;
    border-radius: 50%;
}

.social-icon-16,
.social-icon-16 svg {
    width: 16px !important;
    height: 16px !important;
    padding: 8px;
}

.social-icon-24,
.social-icon-24 svg {
    width: 24px !important;
    height: 24px !important;
    padding: 12px;
}

.social-icon svg {
    padding: unset;
}

* .social-icon ~ .social-icon {
    margin-left: 1em !important;
}

.social-icon,
.social-icon:visited {
    background: #666666;
    color: #F1F1F1;
}

.social-icon:hover {
    background: #29A9DF;
    color: #F1F1F1;
}

/* ------------------ Buttons ------------------ */
.button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.85em 1.25em;
    border-radius: 3px;
    text-transform: uppercase;
    cursor: pointer;
}

.button,
.button:visited {
    background-color: rgba(101, 103, 102, 1);
    color: #FFFFFF;
}

.button:hover {
    background-color: #29A9DF;
    color: #FFFFFF !important;
    border-bottom: 3px solid #2A6A9E;
    margin-bottom: -3px;
}

.button-sm {
    font-size: 0.75em;
}

.button-highlight {
    background-color: #29A9DF !important;
    color: #FFFFFF !important;
}


/* ------------------ Listing Page ------------------ */
#property-info h2 {
    line-height: 1em;
}

.price {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #FAFAFA;
    color: rgba(76, 80, 84, 1);
    font-weight: bold;
    height: 2em;
    padding: 0.85em 1.25em;
    border-radius: 3px;
    text-transform: uppercase;
}


/* ------------------ Rows and Columns ------------------ */
.row {
    padding-bottom: 2em;
    margin-bottom: 2em;
}

.row.alternate-bg {
    background-color: rgba(96, 100, 104, 1);
    color: #F1F1F1 !important;
}

.row.alternate-bg-2 {
    background-color: rgba(196, 200, 204, 1);
}

.one-third {
    flex: 0 1 30%;
}

.two-third {
    flex: 0 1 65%; /* 30% + 5% + 30% */
}

.one-half {
    flex: 1 1 45%;
}

img.one-half {
    width: 45%;
    align-self: center;
}

.one-fifth {
    flex: 0 1 16%;
}

.two-fifth {
    flex: 0 1 37%; /* 16% + 5% + 16% */
}

.three-fifth {
    flex: 0 1 58%; /* 16% + 5% + 16% + 5% + 16% */
}

/* On screens that are 1400 wide or less */
@media only screen and (max-width: 1400px) {
    header {
        padding: 1em;
    }
}

/* On screens that are 850px wide or less */
@media only screen and (max-width: 768px) {
    #menu-controls {
        display: flex;
    }
    
    #main-menu {
        height: 0px;
    }
    
    #main-menu.active {
        height: 75px;
    }
    
    #main-menu .menu-list {
        justify-content: space-around;
        font-size: 1.35em;
    }
    
    .one-half,
    .one-third,
    .one-fifth {
        flex: 0 1 auto;
        margin-bottom: 2em;
    }
    
    .two-fifth,
    .three-fifth {
        margin-bottom: 2em;
    }
    
    img.one-half {
        width: 100%;
    }
    
    .one-third > .wrapper > .one-third {
        margin-bottom: inherit;
    }
    
    #property-info .two-third,
    #property-info .one-third {
        flex: 1 1 100%;
    }
    
    #property-info .two-third {
        margin-bottom: 0;
    }
    
    header {
        padding: 0.5em;
        min-height: 96px;
        font-size: 0.85em;
        line-height: 1.35em;
    }
    
    .title-wrapper {
        flex: 1 1 80%;
    }
    
    .title-main {
        margin-top: 1em;
        width: auto;
    }
    
    .hamburger {
        display: inline-block;
    }
    
    .home-page .scroll-indicator {
        bottom: 110px;
    }
    
    #copyright {
        line-height: inherit;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    #footer-logo {
        display: none;
    }
}

/* On screens that are 500px wide or less */
@media only screen and (max-width: 500px) {
    .splash-msg {
        padding: 24vh 0;
        text-align: left;
    }
    
    .home-page .splash-msg {
        padding: 10vh 0;
    }
    
    #main-menu.active {
        height: 60vh;
    }
    
    #main-menu .menu-list {
        flex-flow: column wrap;
        padding: 0;
    }
    
    .one-half,
    .one-third,
    .two-third,
    .one-fifth,
    .two-fifth,
    .three-fifth {
        flex: 0 1 auto;
        margin-bottom: 2em;
    }
    
    .hamburger {
        display: block;
    }
    
    .splash-msg .button {
        margin-bottom: 1em;
        width: 90%;
    }

    .image-thumb-sm {
        height: auto;
    }
    
    #back-to-top {
        display: none !important;
    }
}


/* ------------------ Featured Projects ------------------ */
.featured-project {
    position: relative; /* for our overlay to position properly */
    margin-bottom: 1em;
}

.featured-project a {
    color: #FAFAFA !important;
}

.featured-project a:hover {
    background-color: #4691CE !important;
}

.featured-project wrapper {
    line-height: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-project h4 {
    margin: 0.15em 0.15em 0.25em;
    font-size: 0.85em;
}


/* ------------------ File Download ------------------ */
.flyer-cta {
    text-align: center;
    margin: 1em;
}

.flyer-cta a {
    display: flex !important; /* to override gallery a */
}

/* ------------------ Images ------------------ */
.portrait {
    width: 100%;
}

.image-thumb-350 {
    width: 100%;
    margin: 0.25em;
}

.image-thumb-sm {
    width: 100%;
    height: 200px;
    min-height: 200px;
/*    border: 2px solid #666666; */
    box-sizing: border-box;
    object-fit: cover;
}

.icon-16,
.icon-24,
.icon-36 {
    box-sizing: border-box;
    /*object-fit: cover;*/
    filter: invert(100%);
    position: relative;
}

.icon-16 {
    width: 14px;
    height: 14px;
    margin-right: 3px;
    top: 3px;
}

.icon-24 {
    width: 22px;
    height: 22px;
    margin-right: 5px;
    top: 5px;
}

.icon-36 {
    width: 34px;
    height: 34px;
    margin-right: 7px;
    top: 7px;
}

.image-overlay {
    background-color: rgba(13, 13, 13, 0.65);
    color: #FAFAFA;
    position: absolute;
    bottom: 4px;
}

.gallery a {
    display: block;
    line-height: 0;
}

.gallery img {
    width: 100%;
}


/* ------------------ Tables ------------------ */
table {
    table-layout: fixed;
    width: 100%;
    width: calc(100% + 5em);
    border-collapse: collapse;
    border: none;
    letter-spacing: 1px;
    font-size: .75rem;
    margin: 0 -2.5em -2.5em;
}

caption {
    font-weight: bold;
    padding: 0.25rem;
    caption-side: top;
}

thead {
    border-bottom: 1px solid #888888;
}

tfoot {
    border-top: 1px solid #888888;
}

thead,
tfoot {
    background-color: #999999;
    color: #fff;
    font-weight: bold;
}

tbody tr:nth-child(even) {
  background-color: #E2E2E2;
}

td,
th {
    padding: 0.15rem 0.25rem;
    height: 2.5rem;
    text-align: center;
}

td.left {
    text-align: left;
    word-wrap: break-word;
}

td.right {
    text-align: right;
}


/* ------------------ Forms ------------------ */
fieldset, form, object, input {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: middle;
    background: transparent;
}

textarea {
    height: 12rem;
    overflow: auto;
}

input[type="text"],
input[type="tel"],
input[type="email"], textarea {
    font-family: Cantarell, Verdana, sans-serif;
    text-transform: none;
    font-size: 1.15rem;
    line-height: 2rem;
    letter-spacing: 0;
    color: #666666;
    background-color: transparent;
    border: 2px solid #DDDDDD;
    box-sizing: border-box;
    padding: 1rem;
    margin-bottom: 2rem;
    width: 100%;
}

input[type="text"],
input[type="tel"],
input[type="email"] {
    height: 3rem;
}

input[type="submit"] {
    margin-top: 2rem;
}


/* ------------------ Contact Us ------------------ */
.team-title {
    margin-bottom: 0.25rem !important;
}

.team-description {
    margin-top: 0.25rem !important;
}

#contact-check {
    display: none;
}

#check-form {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin: 2rem 0 0;
    border: 1px solid transparent;
    border-radius: .25rem;
    line-height: 1.25rem;
}

.grecaptcha-badge {
    visibility: hidden;
}


/* ------------------ Back To Top Button ------------------ */
#back-to-top {
    position: fixed;
    bottom: 3.5em;
    right: 2.5em;
    display: flex; /* to be modified with js */
    z-index: 99;
    width: 32px;
    height: 32px;
    line-height: 32px;
    padding: 10px;
    background-color: rgba(13, 13, 13, 0.65);
    color: #FAFAFA;
    cursor: pointer;
    justify-content: center;
    align-items: center;
}


/* ------------------ Clearfix ------------------ */
.clearfix:after {
    content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
 
.clearfix {
	display: inline-block;
}
 
html[xmlns] .clearfix {
	display: block;
}

/* Hide these rules from IE-mac \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
li.clearfix { display: list-item; }
/* End hide from IE-mac */
