/*!
Theme Name: CSGM Wedding
Theme URI: http://underscores.me/
Author: Caroline Sullivan
Author URI: http://carodactyll.com
Description: A custom Wordpress thing for my wedding website.
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: csgm-wedding
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

@import url("https://use.typekit.net/rsn4isu.css");

:root {
    --sans: 'broadacre-light-0', sans-serif;
    --gran: 'granville', sans-serif;
    --bold: 'broadacre-regular-0', sans-serif;
    --serif: 'the-seasons', sans-serif;
    --rust: #a15733;
    --light: #c3886c;
    --form: #ffdccb;
    --teal: #0b4e50;
    --dark: #23403e;
    --ease: all 200ms ease-in-out;
}


.grecaptcha-badge {display: none !important;}

/* -----------------------------------------
	Typography & Links
----------------------------------------- */

/*fold*/

body,
button,
input,
select,
optgroup,
textarea {
    color: #404040;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    font-family: var(--serif);
    color: var(--rust);
}

p {
    margin-bottom: 1.5em;
    font-family: var(--sans);
}

strong {
    color: var(--teal);
    font-family: var(--bold);
}

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", courier, monospace;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code,
kbd,
tt,
var {
    font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

big {
    font-size: 125%;
}

a,
a:visited {
    color: var(--rust);
    text-decoration: none;
    font-weight: bold;
}

a:hover,
a:focus,
a:active {
    color: var(--teal);
    transition: var(--ease);
}

a:focus,
a:hover,
a:active {
    outline: 0;
}

p a,
ul a,
ol a {
    font-family: var(--bold);
}

/*endfold*/

/* -----------------------------------------
	Elements 
----------------------------------------- */

/*fold*/

body {
    background: #fff;
}

hr {
    background-color: none;
    border-top: 1px solid var(--rust);
    display: block;
    width: 100%;
    height: 1px;
    margin-bottom: 1.5em;
    border-bottom: 1px solid #ccc;
}

ul,
ol {
    margin: 0 0 1.5em 3em;
}

ul {
    list-style: disc;
    margin: 20px 0;
    padding: 0 0 0 20px;
}

ol {
    list-style: decimal;
}

li {
    margin: 10px 0;
}

li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: 700;
}

dd {
    margin: 0 1.5em 1.5em;
}

input[type="submit"],
button,
a.csgm-btn {
    color: white;
    text-transform: uppercase;
    font-family: var(--serif);
    letter-spacing: 3px;
    font-size: 15px;
    background: var(--rust);
    line-height: 1;
    padding: 12px 22px;
    display: inline-block;
    border: none;
    outline: none;
}

input[type="submit"]:hover,
button:hover,
a.csgm-btn:hover {
    background: var(--teal);
    transition: var(--ease);
    cursor: pointer;
}

/*endfold*/

/* -----------------------------------------
	Header 
----------------------------------------- */

/*fold*/

.site-header {
    max-width: 100%;
    background: var(--light);
    text-align: center;
    padding: 10px;
}

.site-header .padding {
    width: 1200px;
    max-width: 100%;
    margin: auto;
    display: grid;
    grid-template-columns: 100px auto;
}

.site-header .site-branding {
    max-width: 100px;
    margin: auto;
}

.site-header .site-branding img {
    display: block;
}

.site-header nav {
    display: grid;
    align-items: center;
    padding: 20px 0;
}

.main-navigation ul {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-navigation ul li {
    display: inline-block;
}

.main-navigation ul li a {
    display: block;
    padding: 14px 20px;
    font-family: var(--serif);
    text-transform: uppercase;
    letter-spacing: 4px;
    line-height: 1;
    font-size: 14px;
    color: white;
    cursor: pointer;
}

.main-navigation ul li a:hover {
    background: var(--rust);
    color: white;
    transition: var(--ease);
}

.menu-toggle {
    display: none;
    padding: 0;
    background: transparent;
    font-size: 30px;
    text-align: right;
}

.menu-toggle:hover,
.menu-toggle:focus {
    background: transparent;
}

@media screen and (max-width: 1024px) and (min-width: 600px) {
    .site-header .padding {grid-template-columns: 1fr;}
}

@media screen and (max-width: 600px) {

    
    .site-header {padding: 10px 20px;}
    .site-header .padding {grid-template-columns: 1fr 1fr;}
    .site-header .site-branding {margin: 0; max-width: 80px;}
    .menu-toggle {display: block;}

    .site-header nav {
        padding: 20px 20px 40px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        background: var(--dark);
        z-index: 999;
        display: none;
    }
    
    .menu-main-menu-container {
        display: grid;
        align-items: center;
        height: 100%;
    }
    
    .main-navigation ul {
        display: grid;
        grid-template-columns: 1fr;
        align-items: center;
    }

    .main-navigation ul li a {
        padding: 20px 0;
        font-size: 20px;
    }
    
    .menu-toggle.esc {
        text-align: right;
        width: 100%;
        font-size: 40px;
    }
    
    
}

/*endfold*/

/* -----------------------------------------
	Pages 
----------------------------------------- */

/*fold*/

article {
    width: 900px;
    max-width: 100%;
    margin: auto;
    padding: 20px 10px 40px;
}

.entry-header h1.entry-title {
    text-align: center;
}

/*endfold*/

/* -----------------------------------------
	Rehearsal Dinner Page / Timelines
----------------------------------------- */

/*fold*/

.rehearsal {
    text-align: center;
}

.timeline {
    max-width: 600px;
    margin: 40px auto;
}

.timeline .item {
    padding: 40px 0;
    border-bottom: 1px solid #ccc;
}

.timeline > .item:first-child {
    border-top: 1px solid #ccc;
}

.timeline h3 {
    font-size: 24px;
    margin: 0;
}

.timeline p.time {
    margin: 10px 0;
}

.timeline p.detail {
    margin: 10px 0;
    font-style: italic;
}

/*endfold*/

/* -----------------------------------------
	Hikes
----------------------------------------- */

/*fold*/

.hike {
    margin: 40px auto;
    padding: 20px 0;
    border-bottom: 1px solid #ccc;
}

.hike h2 {
    margin: 0;
    font-size: 30px;
}

.hike p.details {
    margin-top: 0;
}

/*endfold*/

/* -----------------------------------------
	Home / Landing Page
----------------------------------------- */

/*fold*/

#coming-soon {
    background: white;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    text-align: center;
    display: grid;
    align-items: center;
}

.section {
    text-align: center;
}

.section h2.heading {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 18px;
}

.section.over-dark h2.heading {
    color: white;
}

.section.one {
    display: grid;
    height: 800px;
}

.section.one .content,
#coming-soon .content {
    max-width: 100%;
    margin: auto;
}

.section.one h1,
#coming-soon h1 {
    margin: 0 auto 10px;
    text-transform: uppercase;
    font-size: 45px;
    letter-spacing: 5px;
    line-height: 1;
}

.section.one p,
#coming-soon p {
    margin: 0 auto 10px;
    font-size: 18px;
    font-weight: bold;
}

.section.two {
    padding: 200px 10px;
    background-image: url(https://nick-caroline.com/wp-content/uploads/2023/12/fall-road.webp);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: white;
}

.section.two .content {
    display: grid;
}

.section.two .content .logo {
    width: 400px;
    margin: auto;
}

.section.two .content .logo a img {
    display: block;
    margin: auto;
}

.section.two .content .logo a:hover img {
    transition: var(--ease);
    transform: scale(1.05);
}

.section.three {
    padding: 100px 10px;
}

.section.three .content {
    display: grid;
}

.section.details {
    background: var(--dark);
}

#details {
    padding: 100px 10px;
    max-width: 800px;
    color: white;
    margin: auto;
}

#details h2.heading {
    color: white;
}

#details .item {
    margin: 50px auto;
}

#details .item h2 {
    color: #d68761;
}

#details .item h2,
#details .item p {
    margin: 0;
    color: white;
}

#details .item p strong {
    color: white;
}

#details .item p a {
    color: white;
    text-decoration: underline;
}


.rsvp-section {
    background-color: var(--light);
    background-image: url(https://nick-caroline.com/wp-content/uploads/2023/12/magnolia-web.webp);
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: 550px;
    padding: 200px 10px;
}

.rsvp-section.rehearsal {
    background: none;
    margin: 0 0 40px;
    padding: 0;
    
}

.rsvp-section .content {
    max-width: 100%;
    width: 800px;
    margin: auto;
    padding: 40px;
    border: 1px solid white;
    border-radius: 2px;
    position: relative;
    background: #c3886cba;
}

.rsvp-section h2.heading {
    margin: auto;
    font-size: 30px;
    line-height: 1;
    position: absolute;
    left: 0;
    right: 0;
    top: -18px;
    display: block;
    text-align: center;
}

.rsvp-section h2.heading span {
    background: var(--light);
    padding: 0 10px 0 14px;
}

.rsvp-section .csgm-form {
    text-align: left;
}

.rsvp-section .csgm-form label {
    color: white;
}

.rsvp-section .csgm-form label[for="details"] span {
    letter-spacing: 1px;
    text-transform: lowercase;
    font-size: 14px;
}

.rsvp-section .csgm-form input[type="submit"] {
    border: none;
    outline: none;
    width: 100%;
    padding: 20px 0;
    font-size: 20px;
    border-radius: 0;
}

.rsvp-section .wpcf7-not-valid-tip,
.rsvp-section .wpcf7-response-output {
    color: white;
}

.rsvp-section .screen-reader-response {
    display: none;
}

.section.four {
    padding: 100px 10px;
}

.registries .item {
    display: inline-block;
    margin: 10px auto;
    
}

.registries .item .grid {
    display: grid;
    width: 180px;
    height: 180px;
    grid-gap: 10px;
    border: 1px solid var(--rust);
    border-radius: 100px;
    margin: 0 10px;
}

.registries a:hover .item .grid {
    background: var(--rust);
    transition: var(--ease);
    color: white;
}

.registries a:hover .item h3 {
    color: white;
}

.registries .item .icon {
    font-size: 50px;
    line-height: 1;
    align-self: end;
}

.registries .item .text {
    align-self: start;
}

.registries .item h3 {
    margin: 0;
}

#pics {
    width: 100%;
}

#pics.other {
    margin: 0 auto 2px;
}

#pics .grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 2px;
}

#pics .grid .image {
    aspect-ratio: 1;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    filter: grayscale();
}

#pics.other .image {
    filter: none;
}

#pics .grid .image:hover {
    filter: none;
    transition: var(--ease);
}

@media screen and (max-width: 1000px) {
    #pics .grid {grid-template-columns: repeat(3, 1fr);}
    #pics .grid .image {filter: none;}
}

@media screen and (max-width: 800px) {
    
    .section.two {
        background-image: url(https://nick-caroline.com/wp-content/uploads/2023/12/fall-road-mobile.webp);
        background-attachment: scroll;
    }
    
}

@media screen and (max-width: 600px) {

    .section.one {
        height: auto;
        padding: 100px 10px;
    }

    .section.two .content .logo a img {
        width: 250px;
    }

    .rsvp-section {
        padding: 100px 10px;
    }
    
    .rsvp-section {background-image: none;}
    
    .rsvp-section .content {
        padding: 0;
        border: none;
    }
    
    .rsvp-section.rehearsal .content {padding: 10px;}
    .rsvp-section.rehearsal h2.heading span {background: transparent;}
    .rsvp-section.rehearsal h2.heading {
        line-height: 1;
        margin: 20px 0;
    }
    
    .rsvp-section h2.heading {
        position: relative;
        top: auto;
        line-height: 1.3;
    }

}

/*endfold*/

/* -----------------------------------------
	Schedule
----------------------------------------- */

/*fold*/

#schedule {
    margin: 100px auto;
}

.schedule {
    max-width: 600px;
    margin: auto;
}

.schedule .item {
    display: grid;
    grid-template-columns: 50px 100px 1fr;
    grid-template-areas:
        "icon time name"
        "icon time desc";
    grid-column-gap: 10px;
}

.schedule .item .icon {
    grid-area: icon;
    align-self: center;
    font-size: 30px;
}

.schedule .item .time {
    grid-area: time;
    align-self: center;
    font-family: var(--serif);
    font-size: 18px;
}

.schedule .item .name {
    grid-area: name;
    text-align: left;
    font-family: var(--serif);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 18px;
    line-height: 1.3;
}

.schedule .item .desc {
    grid-area: desc;
    text-align: left;
    text-transform: lowercase;
    font-style: italic;
    font-size: 14px;
    font-family: var(--gran);
    letter-spacing: 1px;
}

.schedule .items {
    margin: 0 0 40px;
}

.schedule .items > .item:not(:last-child) {
    margin: 0 0 20px;
}

@media screen and (max-width: 600px) {
    
    .schedule {padding: 0 10px;}
    
    .schedule .item {
        grid-template-columns: 1fr 1.5fr;
        grid-template-areas:
            "icon time"
            "name name"
            "desc desc";
    }
    
    .schedule .item .icon {
        justify-self: end;
        font-size: 20px;
    }

    .schedule .item .time {text-align: left;}
    .schedule .item .name,
    .schedule .item .desc {text-align: center;}
    
    
}

/*endfold*/

/* -----------------------------------------
	Lodging
----------------------------------------- */

/*fold*/

.section#lodging h2.heading {
    margin: 0;
}

#lodging p.desc {
    margin: 0 0 40px;
    font-style: italic;
}

#lodging .place {
    max-width: 500px;
    margin: 40px auto;
}

#lodging .place h3 {
    font-size: 30px;
    line-height: 1;
    margin: 0;
}

#lodging .place p.location {
    margin: 0 0 10px;
    font-size: 14px;
    font-style: italic;
}

#lodging .place p.price {
    font-size: 20px;
    margin: 10px 0;
}

#lodging .place p.instructions {
    margin: 10px 0;
}

#lodging .place p.phone {
    margin: 10px 0 0;
}
/*endfold*/

/* -----------------------------------------
	Registry
----------------------------------------- */

/*fold*/

#csgm-registry {
    
}

#csgm-registry .single {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    align-items: center;
    margin: 40px auto;
    border-bottom: 1px solid #ccc;
    padding: 0 0 40px;
}

#csgm-registry .single .image {
    border-radius: 2px;
    overflow: hidden;
}

#csgm-registry .single .image img {
    display: block;
}

#csgm-registry .single .image a:hover img {
    transform: scale(1.1);
    transition: all 800ms ease-in-out;
}

#csgm-registry .single h2 {
    margin: 0;
    font-size: 30px;
}

#csgm-registry .single p.collection {
    margin: 0;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#csgm-registry .single p.price {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

#csgm-registry .single .specs {
    margin: 10px 0;
    font-style: italic;
    font-size: 15px;
}

#csgm-registry .single p.purchased {
    margin: 10px 0 0 0;
    font-style: italic;
}

@media screen and (max-width: 800px) {
    #csgm-registry {
        width: 500px;
        max-width: 100%;
        margin: auto;
    }
    #csgm-registry .single {
        grid-template-columns: 1fr;
        padding: 0 0 20px;
        border-bottom: 2px dotted;
    }
    #csgm-registry .csgm-btn {display: block;text-align: center;}
}

/*endfold*/

/* -----------------------------------------
	Registry Forms
----------------------------------------- */

/*fold*/

.item-summary {
    display: grid;
    grid-template-columns: 200px 1fr;
    grid-gap: 20px;
    align-items: center;
    margin: 0 auto 40px;
}

.item-summary .image {
    border-radius: 3px;
    overflow: hidden;
}

.item-summary img {
    display: block;
}

.item-summary p.purchased {
    margin: 0;
    font-style: italic;
}

.item-summary h2 {
    margin: 0 0 10px;
}

.item-summary p.excerpt {
    margin: 0;
    font-size: 14px;
}

#field-registry-item {
    display: none;
}

.reg-form-grid {
    
}

.reg-form-grid label {
    display: block;
    margin: 0 0 5px;
}

.reg-form-grid input[type="text"],
.reg-form-grid textarea {
    border-radius: 0;
    padding: 10px 5px;
    border: 1px solid #b4b2b2;
}

.reg-form-grid input[type="submit"] {
    display: block;
    width: 100%;
    text-align: center;
}

#thanks {
    margin: 40px auto;
}

/*endfold*/

/* -----------------------------------------
	CSGM Forms
----------------------------------------- */

/*fold*/

.csgm-form .item {
    margin: 30px 0;
}

.csgm-form .item > label {
    font-family: var(--serif);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 16px;
    margin: 0 0 5px;
    display: block;
}

.csgm-form textarea,
.csgm-form input[type="email"],
.csgm-form input[type="text"] {
    border-radius: 0;
    width: 100%;
    border: none;
    outline: 0;
    padding: 5px 10px;
    background: var(--form);
}

.csgm-form input[type="number"],
.csgm-form input[type="email"],
.csgm-form input[type="text"] {
    padding: 5px 10px;
    height: 40px;
}

.csgm-form textarea:focus-within,
.csgm-form input[type="number"]:focus-within,
.csgm-form input[type="email"]:focus-within,
.csgm-form input[type="text"]:focus-within {
    background: white;
    border-bottom: 2px solid var(--teal);
}

.csgm-form textarea:hover,
.csgm-form input[type="number"]:hover,
.csgm-form input[type="email"]:hover,
.csgm-form input[type="text"]:hover {
    background: #f7ece6;
    transition: var(--ease);
}

.csgm-form input[type="number"] {
    border-radius: 0;
    border: none;
    outline: 0;
    background: var(--form);
}

.wpcf7-radio .wpcf7-list-item,
.wpcf7-checkbox .wpcf7-list-item {
    font-size: 18px;
    color: white;
    font-weight: bold;
    display: block;
}

.wpcf7-radio .wpcf7-list-item label,
.wpcf7-checkbox .wpcf7-list-item label {
    display: grid;
    grid-template-columns: 20px auto;
    align-items: center;
    grid-gap: 10px;
}

.wpcf7-radio .wpcf7-list-item label:hover,
.wpcf7-checkbox .wpcf7-list-item label:hover {
    cursor: pointer;
}

.wpcf7-radio .wpcf7-list-item label:hover input:not(:checked),
.wpcf7-checkbox .wpcf7-list-item label:hover input:not(:checked) {
    background: #f7ece6;
    transition: var(--ease);
}

.csgm-form input[type="radio"],
.csgm-form input[type="checkbox"] {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: none;
    margin-bottom: -2px;
    margin-right: 10px;
    outline: none;
    position: relative;
    background: var(--form);
}


.csgm-form input:checked::before {
    content: '✓';
    font-size: 18px;
    position: absolute;
    left: 2px;
    line-height: 1;
    color: #222;
}

.csgm-form textarea.wpcf7-not-valid, 
.csgm-form input[type="email"].wpcf7-not-valid, 
.csgm-form input[type="text"].wpcf7-not-valid {
    background: white;
    border-bottom: 2px solid #d3420d;
}

form.invalid .wpcf7-response-output,
form.sent .wpcf7-response-output {
    margin: 30px auto 0;
}

.wpcf7-response-output {
    font-weight: bold;
    font-size: 18px;
}

.wpcf7-not-valid-tip {
    font-weight: bold;
    font-style: italic;
}

@media screen and (max-width: 600px) {
    .csgm-form .item {margin: 20px 0;}
}

/*endfold*/

/* -----------------------------------------
	Countdown
----------------------------------------- */

/*fold*/

.countdown {
    max-width: 100%;
    width: 600px;
    margin: 20px auto;
    text-align: center;
}

.countdown .countdown-row {
    display: grid;
    grid-template-columns: repeat(4, auto);
    grid-gap: 20px;
}

.countdown .countdown-section {
    display: grid;
    grid-template-rows: 2fr 1fr;
}

.countdown .countdown-amount {
    display: block;
    font-size: 50px;
    font-weight: bold;
    font-family: var(--serif);
    line-height: 1;
}

.countdown .countdown-period {
    text-transform: lowercase;
}

@media screen and (max-width: 600px) {

    .countdown {
        width: 100%;
    }

    .countdown .countdown-row {
        grid-gap: 5px;
    }

    .countdown .countdown-amount {
        font-size: 38px;
    }

}

/*endfold*/

/* -----------------------------------------
	Footer
----------------------------------------- */

/*fold*/

.site-footer {
    background: var(--dark);
    text-align: center;
}

.site-footer .footer-content {
    padding: 100px 10px;
    
}
.site-footer .custom-logo-link {
    width: 150px;
    margin: 0 auto 20px;
}

.site-footer .custom-logo-link:hover {
    cursor: pointer;
    transform: scale(1.05);
    transition: var(--ease);
}

.footer-menu {
    max-width: 100%;
}

.footer-menu a {
    color: white;
    font-family: var(--serif);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 5px 10px;
    line-height: 1;
    font-size: 14px;
    display: inline-block;
}

.footer-menu a:hover {
    cursor: pointer;
    background: var(--light);
    transition: var(--ease);
}

.site-footer .site-info {
    padding: 10px;
}

.site-footer .site-info span,
.site-footer .site-info  a {
    color: #888888;
    letter-spacing: 2px;
    text-transform: lowercase;
/*    font-style: italic;*/
    font-size: 14px;

}



/*endfold*/
