input[type="date"]:before,
input[type="time"]:before {
    content: attr(placeholder) !important;
    margin-right: 0.5em;
}

.footnote {
    font-size: 12px;
    padding: 0 5px;
    text-transform: capitalize;
}

section {
    padding: 60px 30px 0;
    text-align: center;
}

section#content {
    padding: 30px 0 0;
}

/*section.animated {
	animation-duration: 1s;
	animation-fill-mode: forwards;
	opacity: 0;
}*/
section#banner {
    padding: 0;
}

#banner>img {
    width: 100%;
}

.paragraph {
    font-size: 18px;
    font-family: Helvetica Neue Thin Condensed;
    color: rgb(2, 26, 65);
    line-height: 1.5em;
    letter-spacing: 0;
    text-align: justify;
}

.paragraph label {
    font-family: Helvetica Neue Condensed;
}

#intro .website-btn {
    margin-bottom: 20px;
}

#intro p {
    font-family: Helvetica Neue Thin Condensed;
    color: #1c1c1b;
    font-size: 18px;
}

#nav-section {
    margin-bottom: 40px;
}

.nav-link {
    position: relative;
    display: inline-block;
    padding: 5px 0;
    margin: 0 12px;
    text-transform: uppercase;
    transition: color 0.1s, background-color 0.1s, padding 0.2s ease-in;
    color: #ff4713;
}

.nav-link::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 3px;
    left: 0;
    height: 3px;
    width: 100%;
    background-color: #ff4713;
    transform-origin: right top;
    transform: scale(0, 1);
    transition: color 0.1s, transform 0.2s ease-out;
}

.nav-item .active::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 3px;
    left: 0;
    height: 3px;
    width: 100%;
    background-color: #ff4713;
    transform-origin: right top;
    transform: scale(1, 1);
    transition: color 0.1s, transform 0.2s ease-out;
}

.nav-link:hover::after,
.nav-link:focus::after {
    transform-origin: left top;
    transform: scale(1, 1);
}

.nav-link {
    font-family: 'Helvetica Neue Condensed';
    font-size: 14px;
    color: #696969;
    text-transform: uppercase;
}

.nav-link:hover {
    color: #1c1c1b;
}

.nav-link:focus {
    color: #1c1c1b;
}

.nav-item .active {
    color: #1c1c1b;
}

.wrapper-list {
    display: none;
}

#wrapper-list:after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid rgb(222, 225, 230);
}

.select-wrapper {
    margin: auto;
    text-align: center;
    margin-top: 50px;
    position: relative;
    height: 40px;
    display: block;
}

.select-wrapper select {
    font-size: 16px;
    font-family: 'Helvetica Neue Thin Condensed';
    color: #676c77;
}

.select-wrapper select {
    padding: 10px 40px 10px 10px;
    -webkit-appearance: none;
    -ms-appearance: none;
    -moz-appearance: none;
    appearance: none;
    color: #676c77;
    border: 2px solid #d9dce2;
    text-transform: uppercase;
    background-color: rgba(250, 250, 250, .5);
    position: relative;
    cursor: pointer;
    z-index: 10;
    width: 100%
}
.tab-content>.active{
    padding: 0;
}
.rotate {
    -moz-transition: all .3s linear;
    -webkit-transition: all .3s linear;
    transition: all .3s linear;
    line-height: 16px;
    height: 16px;
    display: inline-block;
    position: absolute;
    top: 15px;
    right: 25px;
    color: #66738e;
    z-index: 5;
}

.rotate.down {
    -moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

#accordion {
    margin-bottom: 2.5rem;
}

.card {
    font-size: 16px;
    font-family: "Helvetica Neue Condensed";
    color: #1c1c1b;
    text-align: left;
    letter-spacing: 0;
    margin-bottom: 0.1rem;
    border: .9px solid rgba(15, 62, 113, 0.11);
    border-radius: 0;
}

.card-header {
    border-bottom: 0.5px solid rgba(15, 62, 113, 0.11);
    border-radius: 0;
    padding: 1rem 5rem 1rem 13%;
    background-color: rgb(240, 242, 242);
    /*background-color: rgb(255, 255, 255);*/
    /*background-color: transparent;*/
    width: 100%;
}

.card-body {
    border: none;
    font-size: 18px;
}

.card-link {
    color: #1c1c1b;
}

.project-close {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 20px;
    height: 20px;
    animation-delay: 0.2s;
    animation-duration: .3s;
    animation-fill-mode: forwards;
    cursor: pointer;
    transition: all .3s;
}

.project-close.active {
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
    width: 20px;
    height: 20px;
}

.project-close:not(.active):hover {}

.project-close::before,
.project-close::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 100%;
    top: 50%;
    /*border: 2px;*/
    left: 0;
    /*margin-top: -1px;*/
    background: #1c1c1b;
}

.project-close::after {
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    transform: rotate(90deg);
}
form .form-note{
    margin-bottom: -15px
}
.form-note{
    font-family: Helvetica Neue Thin Condensed;
    line-height: 16px;
    font-size: 16px;
    color: #d1d3da;
    text-transform: none;
    text-align: left;
    margin-top: 30px;
    /*position: absolute;
    left: 0;
    top: 0;*/
}

form:not(.newsletter-subscription) {
    text-align: left;
    margin-bottom: 50px;
}

form:not(.newsletter-subscription) .file-container {
    display: inline-block;
    vertical-align: top;
    height: fit-content;
    width: 100%;
    margin-top: 20px;
    color: #1c1c1b;
    font-family: 'Helvetica Neue Thin Condensed';
    font-size: 16px;
    position: relative;
}

form:not(.newsletter-subscription) input,
form:not(.newsletter-subscription) select {
    border: solid 2px #1c1c1b;
    height: 40px;
    width: 100%;
    margin-top: 20px;
    color: #1c1c1b;
    padding-left: 20px;
    font-family: 'Helvetica Neue Thin Condensed';
    font-size: 16px;
}

form:not(.newsletter-subscription) .file-container input {
    z-index: 2;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    opacity: 0;
    border-radius: 0;
    background: transparent;
    font-family: "Helvetica Neue Condensed";
    color: rgba(19, 41, 80, 0.549);
    display: block;
    width: 100%;
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: 0;

}

form:not(.newsletter-subscription) .file-container label {
    display: table;
    border-radius: 0;
    background: transparent;
    font-size: 1rem;
    color: #1c1c1b;
    text-transform: uppercase;
    line-height: 2.16;
    text-align: left;
    margin-bottom: 0;
    border: 2px solid 1c1c1b;
    border: solid 2px #1c1c1b;
    padding-left: 20px;
    width: 100%;

}

form:not(.newsletter-subscription) input::placeholder,
form:not(.newsletter-subscription) select::placeholder {
    color: #1c1c1b;
}

form:not(.newsletter-subscription) .submit-btn {
    /*background: #1c1c1b;
    color: #1c1c1b;*/
    margin-top: 20px;
    width: 100%;
}
.loading{
    display:none;
    position:absolute;
    bottom:40px;
    color: #1c1c1b;
    left:80%;
    transform:translateX(-50%);
    font-family: Helvetica Neue Thin Condensed;
    text-align: center;
    width: 40%;
}

form:not(.newsletter-subscription) .submit-btn:hover {
    background: #1c1c1b;
    color: #fff;
}

#add-family-member-btn,#add-driving-btn {
    font-family: Helvetica Neue Condensed;
    font-size: 18px;
    color: #1c1c1b;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    margin: 30px 0 20px;
    display: block;
}

#add-family-member-btn svg,#add-driving-btn svg {
    margin-right: 5px;
    transition: transform .3s ease-in;
}

#add-family-member-btn:hover svg,#add-driving-btn:hover svg {
    -ms-transform: rotateZ(90deg);
    -o-transform: rotateZ(90deg);
    -moz-transform: rotateZ(90deg);
    -webkit-transform: rotateZ(90deg);
    transform: rotateZ(90deg);
    transform-origin: center;
}

.family-member {
    margin-top: 40px;
}

.family-member .family-member-name {
    font-family: Helvetica Neue Condensed;
    font-size: 20px;
    color: #1c1c1b;
    text-decoration: underline;
}

.family-member .family-member-name button {
    font-size: 18px;
    color: #1c1c1b;

    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    margin-left: 5px;
}

.family-member .family-member-name button:hover {
    animation-name: wiggle;
    animation-duration: 0.8s;
}

@keyframes wiggle {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    15%,
    60% {
        -ms-transform: rotate(5deg);
        -moz-transform: rotate(5deg);
        -webkit-transform: rotate(5deg);
        -o-transform: rotate(5deg);
        transform: rotate(5deg);
    }

    30%,
    75% {
        -webkit-transform: rotate(-5deg);
        -moz-transform: rotate(-5deg);
        -o-transform: rotate(-5deg);
        -ms-transform: rotate(-5deg);
        transform: rotate(-5deg);
    }

    100% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}

@media (min-width: 480px) {
    section {
        padding: 60px 50px 0;
    }

    section#content {
        padding: 40px 0 0;
    }

    .card {
        font-size: 22px;
    }

    .card-header {
        padding: 1rem 1rem 1rem 13%;
    }

    .project-close {
        right: 100px;
    }

    .project-close::before,
    .project-close::after {
        height: 4px;
    }
}

@media (min-width: 768px) {
    .loading{
        display:none;
        position:absolute;
        bottom:40px;
        color: #1c1c1b;
        left:50%;
        transform:translateX(-50%);
        font-family: Helvetica Neue Thin Condensed;
        text-align: center;
        width: 20%;
    }
    section {
        padding: 60px 80px 0;
    }

    section#content {
        padding: 40px 80px 0;
    }

    form:not(.newsletter-subscription) input,
    form:not(.newsletter-subscription) select,
    form:not(.newsletter-subscription) .file-container {
        width: 49%;
    }

    form:not(.newsletter-subscription) .file-container label,
    form:not(.newsletter-subscription) .file-container input {
        width: 100%;
    }

    form:not(.newsletter-subscription) input:nth-child(odd),
    form:not(.newsletter-subscription) select:nth-child(odd),
    form:not(.newsletter-subscription) .file-container:nth-child(odd) {
        float: right;
    }

    form:not(.newsletter-subscription) .file-container:nth-child(odd) input {
        float: none;
    }

    .project-close {
        right: 80px;
    }
    .paragraph {
        text-align: center;
    }
}

@media (min-width: 1200px) {

    /*Section 2 Nav*/
    .select-wrapper {
        display: none;
    }

    .wrapper-list {
        padding-top: 20px;
        padding-bottom: 20px;
        background: #FFF;
        /*margin-left: 115px;*/
        /*margin-right: 115px;*/
        display: block;
        /*position: absolute;
        top: auto;
        bottom: 0px;*/
        /*max-width: 83%;*/
    }

    .wrapper-list ul {
        width: 50%;
        max-width: 800px;
        margin: 0 auto;
    }

    #nav-section ul li {
        text-align: center;
        display: inline;
        position: relative;
        /*width: 50%;*/
        width: 100%;
    }

    #nav-section ul li:not(:last-child):after {
        content: '';
        position: absolute;
        width: 1px;
        height: 20px;
        background-color: #cecece;
        top: 50%;
        right: 0;
        -ms-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        transform: translateY(-50%);
    }
}