/* Lists */
.unstyled {
    list-style: none;
    padding: 0;
    margin: 0;
}

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



/*-- header --*/
header ul li {
    align-items: center;
    display: flex;
}

header li a,
header li a:active,
header li a:hover,
.toggle-nav {
    display: block;
    color: var(--text);
    text-decoration: none;
    padding: 0.6em 0.8em;
    border-radius: 3em;
}

header li a:hover,
header li a:focus,
header li a:active {
    background-color: var(--nav-hover-bg);
}

header {
    padding: 0.6em;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%,0);
    width: 100vw;
    max-width: var(--container-width);
    box-sizing: border-box;
    z-index: 10;
}

@media (min-width: 1440px) {
    header {
        max-width: var(--container-width-lg);
    }
}
@media (min-width: 1680px) {
    header {
        max-width: var(--container-width-xlg);
    }
}

header:after {
    content: "\00a0";
    display: block;
    clear: both;
    height: 0;
}

.brand {
    float: left;
    padding: 0.6em 0;
}

.brand img {
    width: 80%;
}

.menu {
    opacity: 0;
    max-height: 0;
    clear: both;
    transition: max-height 500ms;
    overflow: hidden;
}

.menu.responsive {
    opacity: 1;
    max-height: 100vh;
    padding: 0.6em;
    border-radius: 0.5em;
    box-shadow: 0px 50px 70px 50px rgba(48, 39, 41, 0.3);
    background-color: var(--background-light);
}

.toggle-nav {
    display: block;
    float: right;
}

.navigation:after {
        content: "\00a0";
        display: block;
        clear: both;
        height: 0;
}

@media only screen and (min-width: 50em) {
    .menu,
    .menu.responsive {
        opacity: 1;
        max-height: 100vh;
        clear: none;
        box-shadow: none;
        background-color: transparent;
        padding: 0.6em 0;
    }

    header ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .toggle-nav {
        display: none;
    }
    .brand img {
        width: auto;
    }
}


/*-- get a demo input --*/

.btn {
    color: white;
    background-color: var(--primary);
    border: 0px none;
}

.hero-form {
    position: relative;
    max-width: 40em;
}

.hero-cta{
    padding: 1em 1.2em;
    line-height: 1.4em;
    border-radius: 3em;
    position: absolute;
    top:0;
    right: 0;
    bottom: 0;
}

.hero-input {
    padding: 1em 9em 1em 1.2em;
    border-radius: 4em;
    border: 2px solid var(--primary);
    width: 100%;
}

.highlight .hero-cta {
    background-color: rgb(var(--accent-orange-red));
}

.highlight .hero-input {
    border-color: white;
}

@media only screen and (min-width: 50em) {
    .hero-cta{
        padding: 1.5em 2em;
        line-height: 1.4em;
    }

    .hero-input {
        padding: 1.5em 9em 1.5em 1.8em;
    }
}


/*-- curve --*/
.curve img {
    width: 100vw;
    display: block;
}

/*-- card --*/
.card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0px 30px 50px -9px rgba(204, 170, 179, 0.3);
}


/*-- modal --*/
.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000000;
}

.modal-backdrop.fade {
    opacity: 0;
}

.modal-backdrop,
.modal-backdrop.fade.in {
    opacity: 0.8;
    filter: alpha(opacity=80);
}

#demo_modal .modal-content {
    width: 620px;
}

@media screen and (max-width: 540px) {
  #demo_modal .modal-content {
    width: 100%;
  }
}

.modal .modal-header {
    -moz-border-radius-topleft: 4px;
    -webkit-border-top-left-radius: 4px;
    border-top-left-radius: 4px;
    background-color: var(--primary);
    padding: 9px 15px;
    color: white;
    font-size: 24px;
    font-weight: 300;
    display: block;
    text-align: center;
  }

.modal-header {
    padding: 9px 15px;
    border-bottom: 1px solid #eee;
}

.modal-header .close {
    margin-top: 2px;
}

.modal-header h3 {
    margin: 0;
    line-height: 30px;
}

.modal-body {
    position: relative;
    padding: 15px;
    overflow-y: auto;
    background-color: #f6f6f6;
    color: gray;
    font-size: 18px;
    padding: 20px;
}

.modal-form {
    margin-bottom: 0;
}

.modal-footer {
    margin-bottom: 0;
    text-align: right;
    border-top: 1px solid #ddd;
    -webkit-box-shadow: inset 0 1px 0 #ffffff;
    -moz-box-shadow: inset 0 1px 0 #ffffff;
    box-shadow: inset 0 1px 0 #ffffff;

    -moz-border-radius-bottomleft: 4px;
    -webkit-border-bottom-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    background-color: #fff;
    border-top: 1px solid #e8e8e8;
    font-size: 16px;
    padding: 14px 15px 15px;
}

.modal-footer:before, .modal-footer:after {
    display: table;
    line-height: 0;
    content: "";
}

.modal-footer:after {
    clear: both;
}

.modal-footer .btn + .btn {
    margin-bottom: 0;
    margin-left: 5px;
}

.modal-footer .btn-group .btn + .btn {
    margin-left: -1px;
}

.modal-footer .btn-block + .btn-block {
    margin-left: 0;
}
.modal_form_split {
    display: inline-block;
    vertical-align: top;
    width: 49%;
}
.modal_form_split:first-of-type {
  padding-right: 12px;
}
.modal_form_split:last-of-type {
    float: right;
}
.modal_form_split fieldset {
    border: 1px solid gray;
    padding-block-start: 0.35em;
    padding-inline-start: 0.75em;
    padding-inline-end: 0.75em;
    padding-block-end: 0.625em;
}
.modal_form_split fieldset legend {
    font-weight: 700;
    font-size: 14px;
}
@media (max-width: 600px) {
    .modal_form_split {
      display: block;
      float: none;
      width: 100%;
    }
    .modal_form_split:first-of-type {
      padding: 0;
    }
    .modal_form_split fieldset {
        margin-bottom: 12px;
    }
    .modal-footer {
      justify-content: center;
    }
}
