/*!
 * Modified from Start Bootstrap - Creative Bootstrap Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

html,
body {
    width: 100%;
    color: #333333;
    font-size: 16px;
    background-image: url('../images/sfondo_final.png');
    z-index: -1;
}

.bg-secondary {
    position: fixed;
    width: 100%;
    height: 250px;
    transform: translate(-50%,0);
    left: 50%;
    z-index: 5;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.wisteria-top {
    object-fit: cover;
    object-position: bottom;
    min-height: 100%;
    min-width: 100%;
}

.bg-pratino {
    background-image: url('../images/pratino.png');
    background-position: center bottom;
    /* background-position-y: -20px; */
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100px;
    /* transform: translate(-50%,0); */
    /* left: 50%; */
    z-index: 5;
}

.fade-in {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 2;
    pointer-events: none;
    /* background-color: black; */
    background-image: url('../images/sfondo_final.png');
    mask-image: linear-gradient(to bottom, black 150px, transparent 300px); /* Standard syntax */
    -webkit-mask-image: -webkit-linear-gradient(to bottom, black 150px, transparent 300px); /* Safari and Chrome */
    -moz-mask-image: -moz-linear-gradient(to bottom, black 150px, transparent 300px); /* Firefox */
}

#secondary-spacer {
    height: 120px;
}

#rsvp-spacer {
    height: 220px;
}

#parking-map {
    width: 100%;
    height: 330px;
    border: 0;
}

#brOrPipe::before {
    content: "\A";
    white-space: pre;
}

#noneOrHeart::before {
    content: "";
}

@media (min-width: 768px) {
    #brOrPipe::before {
        content: " | ";
    }
    #noneOrHeart::before {
        content: "\2661";
        
    }
}

.italics {
    font-style: italic;
}

a.main-link {
    color: #553E91;
}

a.main-link:hover {
    color: #553E91;
}

.signature {
    width: 50%;
    font-size: 2.25em;
    margin-top: 20px;
}

.hr-event {
    width: 45%;
    border-top: 2px solid #828282;
    margin-bottom: 30px;
}

.hr-footer {
    width: 20%;
    border-top: 1px solid #828282;
    margin-top: 5px;
    margin-bottom: 5px;
}

@media(min-width: 768px){
    #secondary-spacer {
        height: 120px;
    }
    #parking-map {
        width: 70%;
    }
}

body {
    font-family: 'Comorant Garamond';
}

a {
    color: rgb(84,91,66);
    font-weight: bold;
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    transition: all .35s;
}

a::after {
    content: " ";
    white-space: pre;
}

a::before {
    content: " ";
    white-space: pre;
}

a:hover,
a:focus {
    color: rgb(84,91,66);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Comorant Garamond';
    text-align: center;
    font-optical-sizing: auto;
    font-style: normal;
}

h1 {
    font-family: 'Comorant Garamond';
    font-size: 45px;
    color: rgb(84,91,66);
    margin-bottom: 30px;
}

h2 {
    font-family: 'Comorant Garamond';
    font-size: 26px;
    color: rgb(84,91,66);
}

h3 {
    font-family: 'Comorant Garamond';
    color: rgb(84,91,66);
}

h4 {
    font-family: 'Comorant Garamond';
    font-size: 20px;
    color: rgb(84,91,66);
}

p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.5;
}

img.location {
    width: 100%;
    height: auto;
}

img.ourstory {
    width: 50%;
    height: auto;
    margin-top: 30px;
    margin-bottom: 10px;
}


.col-centered{
    float: none;
    margin: 0 auto;
    text-align: center;
}

.lr-padding-sm {
    padding-left: 40px;
    padding-right: 40px;
}

.limit-width-12 {
    max-width: 1100px;
}

.limit-width-8 {
    max-width: 1650px;
}

.row.pad-bottom-event {
    padding-bottom: 20px;
}

.pad-bottom-sm {
    padding-bottom: 10px;
}

.event-date {
    font-size: 30px;
}

.pad-bottom-event-list {
    padding-bottom: 20px;
}

.emph {
    font-weight: 600;
}

@media(min-width: 768px){
    .lr-padding-sm {
        padding-left: 0;
        padding-right: 0;
    }
    .pad-bottom-sm {
        padding-bottom: 0;
    }
}

.bg-primary {
    /* background-color: #f05f40; */
}

.bg-primary a {
    color: #fff;
    font-weight: bold;
}

.bg-dark {
    color: #fff;
    background-color: #222;
}

.text-center {
    text-align: center;
}

.text-faded {
    color: rgba(255,255,255,.7);
}

section {
    padding: 50px 0;
}

aside {
    padding: 50px 0;
}

.no-padding {
    padding: 0;
}

.no-margin-top {
    margin-top: 0;
}

.navbar-default {
    border-color: rgba(34,34,34,.05);
    border-width: 0;
    font-family: 'Cormorant Garamond';
    background-color: transparent;
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    transition: all .35s;
}

.dark-bg {
    background-color: rgb(84,91,66);
}

.navbar-default .navbar-header .navbar-brand {
    text-transform: uppercase;
    font-family: 'Cormorant Garamond';
    font-weight: 700;
    /* color: #f05f40; */
}

.navbar-toggle {
    background-color: rgb(84,91,66);
    border-color: rgb(242,240,238) !important;
}

.navbar-toggle:hover {
    background-color: rgb(131, 139, 109)!important;
}

.navbar-toggle:focus {
    background-color: rgb(131, 139, 109) !important;
}

.navbar-default .nav > li>a,
.navbar-default .nav>li>a:focus {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    color: rgb(255, 255, 255, 0.9);
    text-align: center;
}

.navbar-default .nav > li>a:hover,
.navbar-default .nav>li>a:focus:hover {
    color: rgb(255,255,255,0.5);
}

.navbar-default .nav > li.active>a,
.navbar-default .nav>li.active>a:focus {
    /* color: #f05f40!important; */
    background-color: transparent;
}

.navbar-default .nav > li.active>a:hover,
.navbar-default .nav>li.active>a:focus:hover {
    background-color: black;
}

.navbar-nav {
    background-color: rgb(84,91,66,0.8);
    z-index: 5;
    margin-top: 0;
    width: 100%;
    margin-left: auto;
    margin-right: 0;
    border-top: 0; 
    border-width: thin;
    border-color: rgb(255, 255, 255, 0.9);
    border-right: 0;
    border-left: 0;
    border-bottom: 0;
    padding-bottom: 10px;
}

.navbar-collapse {
    border-top: 0;
    border-color: transparent !important;
    padding-left: 0;
    padding-right: 0;
}

.icon-bar {
    background-color: rgb(242,240,238) !important;
}

.col-sm-3 {
    margin-bottom: 5px;
}

#home-pic-container {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 100%;
}


#home-signature {
        max-width: 100%;
}

@media(min-width: 768px){
    #home-signature {
        max-width: 40%;
    }
}

.home-pic-laptop {
    display: none;
}

.no-padding {
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.hr-home {
    width: 150px;
    border-top: 2px solid rgb(84,91,66);
    margin-top: 2px;
}

@media(min-width: 768px){

    #home-pic-container {
        background-image: none;
    }

    .home-pic-laptop {
        display: block;
        width: auto;
        height: auto;
        max-width: 1115px;
        margin: 0 auto;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .home-pic-bg {
        height: 60%;
    }
    .hr-home {
        width: 300px;
    }
}

.wisteria-color {
    color: rgb(84,91,66)
}

.home-icon {
    height: 1.5em;
}

.navbar-default .nav > li > a.active,
.navbar-default .nav > li > a.active:focus {
    font-weight: bold;
    text-underline-offset: 0.3em;
}

.home-variable-position {
    position: absolute;
    width: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    height: 100%;
    top: 50%;
    display: grid;
    place-items: center;
}

@media(min-width:768px) {
    .col-sm-3 {
        margin-bottom: 0px;
    }

    .custom-row-sm-7 {
        width: 58.3333333%;
        margin: auto;
    }

    #mainNav .container {
        display: flex;
        justify-content: center;
    }

    .navbar-default {
        border-color: rgb(84,91,66,.3);
        background-color: rgba(84, 91, 66, 1);
    }

    .navbar-default .navbar-header .navbar-brand {
        color: rgba(84, 91, 66, 1);
    }

    .navbar-default .navbar-header .navbar-brand:hover,
    .navbar-default .navbar-header .navbar-brand:focus {
        color: #fff;
    }

    .navbar-nav {
        background-color: rgba(84, 91, 66, 1);
        padding-bottom: 0px;
    }

    .navbar-default .nav > li>a,
    .navbar-default .nav>li>a:focus {
        color: rgba(255, 255, 255, 1);
    }

    .navbar-default .nav > li>a:hover,
    .navbar-default .nav>li>a:focus:hover {
        color: rgba(255, 255, 255, 0.5);
    }

    .navbar-default.affix {
        border-color: rgba(34,34,34,.05);
        background-color: #fff;
    }

    .navbar-default.affix .navbar-header .navbar-brand {
        font-size: 14px;
        /* color: #f05f40; */
    }

    .navbar-default.affix .nav > li>a,
    .navbar-default.affix .nav>li>a:focus {
        color: rgb(28,56,81);
    }
    
    a:focus {
        outline: none;
    }

}

header {
    position: relative;
    width: 100%;
    min-height: auto;
    text-align: center;
    color: rgb(28,56,81);
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

#main-header {
    background-color: white;
    margin-top: 51px;
}

.header-content {
    position: relative;
    padding: 100px 15px;
    text-align: center;
    margin: 0 auto;
}

.header-content .header-content-inner {
    margin-top: 50px;
    margin-bottom: 0;
    font-weight: 600;
    color: black;
    text-align: center;
}

.header-content-inner > h1 {
    font-size: 80px;
}

.header-content-inner {
    z-index: 2;
    position:relative;
}

.row {
    padding-bottom: 50px;
    margin: auto;
}

.no-pad-bottom {
    padding-bottom: 0;
}

.align-l{
    text-align: left;
}

.small-v-skip {
    content: '';
    height: 10px;
}

.text-spacing{
    line-height: 1.5;
}

.medium-v-skip {
    content: '';
    height: 30px;
}

.large-v-skip {
    content: '';
    height: 80px;
}

.align-r{
    text-align: right;
}

.foot-align-l{
    text-align: center;
}


.foot-align-r{
    text-align: center;
}

.icon {
    height: 2em;
    width: auto;
    transform: translateY(-0.2em);
}

.logo-bottom {
    display: block;
    width: 125px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
}

.logo {
    max-width: 100%;
}

.logopalazzo {
    max-width: 60%;
}

@media(min-width: 768px){
    .logopalazzo {
        max-width: 35%;
    }
}

.cursive {
    font-family: 'Comorant Garamond';
    font-optical-sizing: auto;
    font-style: normal;
}

.white-bg {
    background-color: white;
}

.transparent-bg {
    background-color: transparent;
}


@media(min-width: 768px){
    #main-header{
        background-color: transparent;
    }

    .foot-align-l{
        text-align: left;
    }
    
    .foot-align-r{
        text-align: right;
    }
}

header .header-content .header-content-inner hr {
    margin: 30px auto;
}

header .header-content .header-content-inner p {
    margin-bottom: 50px;
    font-size: 22px;
    font-weight: 400;
    color: rgba(255,255,255);
}

.section-heading {
    margin-top: 0;
}

.service-box {
    margin: 50px auto 0;
    max-width: 400px;
}

@media(min-width:992px) {
    .service-box {
        margin: 20px auto 0;
    }
}

.service-box p {
    margin-bottom: 0;
}

.charity-box {
    margin: 50px auto 0;
    max-width: 400px;
}

@media(min-width:992px) {
    .charity-box {
        margin: 20px auto 0;
    }
}


.portfolio-box {
    display: block;
    position: relative;
    margin: 0 auto;
    max-width: 650px;
}

.portfolio-box .portfolio-box-caption {
    display: block;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    color: #fff;
    opacity: 0;
    /* background: rgba(240,95,64,.9); */
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    transition: all .35s;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content {
    position: absolute;
    top: 50%;
    width: 100%;
    text-align: center;
    transform: translateY(-50%);
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category,
.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
    padding: 0 15px;
    font-family: 'Open Sans','Helvetica Neue',Arial,sans-serif;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
    font-size: 18px;
}

.portfolio-box:hover .portfolio-box-caption {
    opacity: 1;
}

@media(min-width:768px) {
    .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
        font-size: 16px;
    }

    .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
        font-size: 22px;
    }
}

.call-to-action h2 {
    margin: 0 auto 20px;
}

.text-primary {
    /* color: #f05f40; */
}

.no-gutter > [class*=col-] {
    padding-right: 0;
    padding-left: 0;
}

.btn-default {
    border-color: #fff;
    color: #222;
    background-color: #fff;
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    transition: all .35s;
}

.btn-default:hover,
.btn-default:focus,
.btn-default.focus,
.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
    border-color: #ededed;
    color: #222;
    background-color: #f2f2f2;
}

.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
    background-image: none;
}

.btn-default.disabled,
.btn-default[disabled],
fieldset[disabled] .btn-default,
.btn-default.disabled:hover,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default:hover,
.btn-default.disabled:focus,
.btn-default[disabled]:focus,
fieldset[disabled] .btn-default:focus,
.btn-default.disabled.focus,
.btn-default[disabled].focus,
fieldset[disabled] .btn-default.focus,
.btn-default.disabled:active,
.btn-default[disabled]:active,
fieldset[disabled] .btn-default:active,
.btn-default.disabled.active,
.btn-default[disabled].active,
fieldset[disabled] .btn-default.active {
    border-color: #fff;
    background-color: #fff;
}

.btn-default .badge {
    color: #fff;
    background-color: #222;
}

.btn-primary {
    border-radius: 10px;
    background-color: rgb(84, 91, 66);
    color: #fff;
    font-size: 22px;
    font-family: 'Comorant Garamond';
    /* text-transform: none; */
    padding: 5px 25px 5px 25px;
    border-color: rgb(118,118,118);
    border-style: outset;
    border-width: 1px;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
    background-color: rgb(84, 91, 66);
    color:#333333;
    border-color: rgb(84, 91, 66);
    border-style: outset;
    border-width: 1px;
}

.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
    background-image: none;
}

.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled.focus,
.btn-primary[disabled].focus,
fieldset[disabled] .btn-primary.focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
    border-radius: 10px;
    background-color: black;
    color: #fff;
    font-size: 22px;
    font-family: 'Comorant Garamond';
    /* text-transform: none; */
    padding: 5px 25px 5px 25px;
    border-color: rgb(84,91,66);
    border-style: outset;
    border-width: 1px;
}

.my-btn {
    border-radius: 10px;
    background-color: rgb(84,91,66);
    color: #fff;
    font-size: 22px;
    font-family: 'Comorant Garamond';
    /* text-transform: none; */
    padding: 5px 25px 5px 25px;
    border-color: rgb(84,91,66);
    border-style: outset;
    border-width: 1px;
    margin-top: 20px;
    accent-color: rgb(84,91,66);
    outline-color: rgb(84,91,66);
}

.my-btn:hover, .my-btn:hover {
    background-color: rgb(153, 162, 129);
    color:#333333;
    border-color: rgb(153, 162, 129);
    border-style: outset;
    border-width: 1px;
}

.my-btn:active, .my-btn:active {
    background-color: rgb(153, 162, 129) !important;
    color:rgb(153, 162, 129);
    border-color: rgb(153, 162, 129);
    border-style: outset;
    border-width: 1px;
}

.my-btn:focus,
.my-btn:active:focus,
.my-btn.active:focus,
.my-btn.focus,
.my-btn:active.focus,
.my-btn.active.focus  {
    outline-color: rgb(153, 162, 129);
    outline-style: solid;
    outline-width: 2px;
}

.my-btn:invalid {
    outline-color: rgb(153, 162, 129);
}

.btn-primary .badge {
    /* color: #f05f40; */
    background-color: #fff;
}

.btn {
    /* border: 0; */
    /* border-radius: 300px; */
    /* text-transform: uppercase; */
    /* font-family: 'Open Sans','Helvetica Neue',Arial,sans-serif; */
    font-weight: 700;
}

.btn-xl {
    padding: 15px 30px;
}

::-moz-selection {
    text-shadow: none;
    color: #fff;
    background: #222;
}

::selection {
    text-shadow: none;
    color: #fff;
    background: #222;
}

img::selection {
    color: #fff;
    background: 0 0;
}

img::-moz-selection {
    color: #fff;
    background: 0 0;
}

.pad-bottom {
    padding-bottom: 50px;
}


#footer {
    background-color: rgb(242,240,238);
    position: relative;
    font-size: 15px;
    color: rgb(127, 127, 127);
    bottom: 0;
    width: 100%;
    /* height: 50px; */
    z-index: 5;
    align-items: center;
    justify-content: center;
    display: block;
    padding-top: 7px;
    padding-bottom: 7px;
}

.tiny-font {
    font-size: 0.7em;
}

.medium-font {
    font-size: 1.5em;
}

/* Invitation search stuff */

.invitation-search {
    width: 80%;
    font-size: 22px;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    text-align: center;
    border-radius: 10px;
    /* box-shadow: 1px 1px 2px 4px #666666; */
    border-style: outset;
    accent-color: rgb(84,91,66);
}

.invitation-search:focus-visible {
    outline-color: rgb(84,91,66);
    outline-style: solid;
    outline-width: 2px;
}

.form-control-text {
    width: 90%;
    font-size: large;
    padding-top: 0.3em;
    padding-bottom: 0.3em;
    text-align: center;
    border-radius: 10px;
    border-style: outset;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5px;
    overflow: hidden;
}

.form-control-text:focus {
    border-style: none;
    border-color: rgb(84,91,66);
    box-shadow: 0 0 1px 1px rgb(84,91,66) !important;
}

@media(min-width: 768px) {
    .invitation-search {
        width: 100%;
        margin-bottom: 1em;
    }    

    .form-control-text {
        width: 57%;
        margin-bottom: 10px;
    }
    .my-btn {
        margin-top: 0;
    }
}

.center-content-h {
    margin-left: auto;
    margin-right: auto;
}

.fix-center-v {
    display: table-cell;
}

.container-home {
    position:fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 100%;
    display: table;
}

.text-grey {
    color: #cfcdcd;
}

.text-red {
    color:#eb3812;
}

.rsvp {
    font-family: 'Times New Roman', serif;
}

.my-radio {
    accent-color: rgb(84,91,66) !important;
}

#adhoc-margin {
    margin-top: 10px;
}