/* *** COLORS ***
    YELLOW      : #FFAA1F
    YELLOW dark : #E4981C
    ORANGE      : #FF6F1F
    ORANGE dark : #CC4A0A
*/
/** ******** PAGE STYLING ******** **/
body {
    font-family: 'Alegreya Sans', sans-serif;
    background: url("/images/seigaiha.png");
    font-size: 1.1rem;
}

header .navbar {
    box-shadow: 0 0 10px #e7e7e7;
    padding: .2rem 2rem;
    text-transform: uppercase;
}
header .navbar .navbar-brand {
    font-family: 'Parisienne', serif;
    text-transform: none;
    font-size: 30px;
}
header .navbar .nav-item.active a {
    border-bottom: 1px dashed lightgrey;
}

.countdown {
    font-size: 30px;
    margin-bottom: -50px;
    color: white;
    margin-left: 50px;
}

.content {
    margin: 50px;
    margin-top: 100px;
}

h1.page-title {
    font-family: 'Parisienne', 'Sawarabi Mincho', serif;
}

h1.welcome {
    margin: 50px 0;
}
h1.welcome strong {
    font-weight: normal;
    color: #FF6F1F;
}
h1.welcome .logout-text {
    font-size: 20px;
    font-family: 'Alegreya Sans', sans-serif;
}

article {
    margin: 40px auto;
    max-width: 800px;
    text-align: justify;
}
article strong {
    color: #FF6F1F;
    font-weight: normal;
}
article strong b {
    font-size: 150%;
}
article ol li {
    margin-top:10px;
}

.emoticon {height: 20px;}
.small .emoticon {height: 15px;}

footer {
    text-align: center;
    padding: 30px;
    opacity: .8;
}

footer a {
    color: black;
}

/** ******** GENERAL STYLING ******** **/
a { color: #FFAA1F;}
a:hover, a:focus { color: #E4981C;}
.btn.btn-primary {
    background-color: #FFAA1F;
    border: none;
}
.btn.btn-primary:hover {
    background-color: #E4981C;
}
.btn.btn-primary:focus {
    color: white;
    box-shadow: 0 0 5px grey;
}
.btn.btn-outline-primary {
    border-color: #FFAA1F;
    color: #E4981C;
}
.btn.btn-outline-primary:hover {
    background-color: #FFAA1F;
    color: white;
}
.btn.btn-outline-primary:focus {
    box-shadow: 0 0 5px grey;
}
.text-left {
    text-align: left;
}
.text-justify {
    text-align: justify;
}

/** ******** LOGIN PAGE ******** **/
.locked_page form {
    margin: 40px 0;
}
.locked_page form p.error {
     color: red;
}
.locked_page #pass-input {
    margin: 5px;
    padding: 10px 20px;
    font-size: 36px;
    text-transform:uppercase;
    /*letter-spacing: 10px;*/
    text-align: center;
}
.locked_page #pass-input.wrong {
    border: 1px solid red;
}

/** ******** EVENTS INFORMATION ******** **/
.are-invited { 
    margin-top: -30px;
    font-size: 18px;
    font-style: italic;
}
#events-summary .event-block {
    float: none;
    margin: 0 auto;
}
#events-summary h2 {
    margin-top: 10px;
    font-family: 'Parisienne', 'Sawarabi Mincho', serif;
}
#events-summary .illustration {
    border: 1px solid #FF6F1F;
    padding: 2px;
    height: 130px;
    width: 130px;
    border-radius: 50px 0;
}
#events-summary i.far, #events-summary i.fas {
    margin-right: 4px;
}
#events-summary p {
    line-height: 1.2;
    padding-right: 30px;
}

/** ******** THE WEDDING ******** **/
#events-info {
    text-align: center;
    margin:auto;
    margin-top: 20px;
}
#events-info hr {
    margin: 50px;
    color: orangered;
}
#events-info h2 {
    font-family: 'Parisienne', 'Sawarabi Mincho', serif;
    margin-bottom: 40px;
}
#events-info .illustration {
    border: 1px solid #FF6F1F;
    padding: 2px;
    border-radius: 10px 0;
    height: 250px;
}
#events-info p {
    line-height: 1.2;
}
#events-info .directions-block ul {
    margin: 5px;
    font-size: 80%;
}
#events-info iframe {
    border: 1px solid #FF6F1F;
    padding: 2px;
    border-radius: 10px 0;
    width: 250px;
    height: 250px;
    background-color: lightgrey;
}

.qanda {
    max-width: 950px;
    margin: auto;
}
.qanda .qa {
    padding-top: 20px;
}
.qanda .qa-question {
    text-align: right;
}
.qanda .qa-content {
    text-align: left;
    padding-left: 10px;
    border-left: 1px solid #bbb;
}

/** ******** ABOUT US ******** **/
.presentation-block {
    margin-bottom: 40px;
}
.presentation-block h2 {
    font-family: 'Parisienne', 'Sawarabi Mincho', serif;
}
.presentation-block p {
    text-align: justify;
    line-height: 1.3;
}
.presentation-block img {
    height: 300px;
}
.pictures-carousel {
    margin-top: 30px;
    line-height: 1;
}
.pictures-carousel img {
    height: 200px;
    border: 1px solid #FF6F1F;
    padding: 2px;
    margin:auto;
}
.pictures-carousel .slick-prev::before, .pictures-carousel .slick-next::before {
    font-size: 30px;
    color: darkgrey;
}

/** ******** RSVP ******** **/
.col-firstname {
    text-align: right;
    font-size: 30px;
}
.col-eventname {
    display: none;
    line-height: normal;
}
select.rsvp {
    padding: 10px 5px;
    margin: 2px;
    background-color: white;
    border: 1px solid lightgrey;
}
select.rsvp.v0, option[value="0"] { background-color: lightgrey; }
select.rsvp.v-1, option[value="-1"] { background-color: #ffa295; }
select.rsvp.v1, option[value="1"] { background-color: #ffd0aa; }
select.rsvp.v2, option[value="2"] { background-color: #6dea73; }

/** ******** JAPAN TRIP ******** **/
.table-of-contents {
    margin-bottom: 20px;
}
.map-extract {
    display: block;
    text-align: center;
    margin-bottom: 20px;
    transition: 0.2s;
}
.map-extract:hover {
    background-color: #eee;
    opacity: 0.8;
}
.map-extract img {
    border: 1px solid #FF6F1F;
}

/** ******** GUESTLIST ******** **/
.join-choice span { font-size: 0; }
.join-choice.yes { color: forestgreen; }
.join-choice.no { color: orangered; }
.join-choice.maybe { color: #d1994b;  }
.join-choice.unanswered { color: grey; }

/* little screens */
@media screen and (max-width:1200px) { /* LG */
}
@media screen and (max-width:992px) { /* MD */
    .countdown {
        font-size: 16px;
        margin-bottom: -60px;
        margin-top: 25px;
        margin-left: 20px;
    }
    #events-info .illustration {
        height: 175px;
    }
    #events-info iframe {
        width: 175px;
        height: 175px;
    }
}
@media screen and (max-width:768px) { /* SM */
    .hidden-sm-down {
        display: none;
    }
    header .navbar .nav-item.active a {
        border-bottom: 0;
        padding-left: 10px;
        border-left: 1px dashed lightgrey;
    }
    #events-info .illustration {
        height: 150px;
    }
    #events-info iframe {
        width: 150px;
        height: 150px;
    }
    .col-firstname {
        text-align: center;
    }
    .col-eventname {
        display: block;
    }
}
@media screen and (max-width:576px) { /* XS */
    .content {
        margin: 100px 20px 0 20px;
    }
    h1.welcome {
        font-size: 30px;
    }
    #events-summary h2 {
        font-size: 1.8rem;
        line-height: .8;
    }
    #events-summary .illustration {
        height: 100px;
        width: 100px;
        margin-top: 15px;
    }
    #events-summary p {
        padding-right: 0;
    }
    #events-info .illustration {
        height: 125px;
    }
}