/*

Rachel Simanjuntak
December 2017
hello@rachelksim.com
For: Shapa

*/
input[type="submit"] {
    -webkit-appearance: none;
}

html, body {
    overflow: auto;
}

*,
html *,
body * {
    margin: 0;
    padding: 0;
    /* A theme may have a primary font family (the --font-family variable). The rest of the families are fallback values. */
    font-family: var(--font-family), "helvetica-neue", "helvetica", arial, sans-serif;
    font-weight: 100;
    line-height: 1.4em;
    font-size: 22px;
    letter-spacing: var(--letter-spacing);
    width: auto;
    height: auto;
    position: relative;

    font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.main-color {
    color: var(--main-color);
}

#home *, #how-it-works *, #about-us *, #faq-categories *, #get-started * {
    transition: all 0.25s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
}

a:hover {
    text-decoration: none;
}

.d-grid {
 display: grid !important;
}

.primary-border-color {
    border-color: var(--main-color) !important;
}

.teal {
    background: var(--main-color) !important;
    color: #FFFFFF !important;
    letter-spacing: 0 !important;
    font-weight: 700;
    border-radius: 2em;
    border: none;
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
}

.teal-text {
    color: var(--main-color);
}

.teal-background{
    background: var(--main-dark-color);
    color: #FFFFFF;
    letter-spacing: 0;
    font-weight: 500;
    border-radius: 0;
    border-bottom: solid 1px var(--main-dark-color);
    border-top: solid 1px var(--main-dark-color);
}

.gray {
    color: rgba(7, 3, 0, 0.7);
}

.black {
    color: #070300;
}

.white {
    color: #fff;
}

.inline {
    display: inline;
}

.large {
    font-size: 1.5em;
    font-weight: 400;
}

.desktop {
    display: initial !important;
}

.mobile {
    display: none !important;
}

h1 {
    font-size: 2.5em;
    font-weight: 100;
    line-height: 1.15em;
}

h1.centered {
    margin: 2em auto 1em;
}

h2 {
    font-size: 1.5em;
    font-weight: 600;
    margin: 1em 0;
}

#hero h2 {
    margin: 1em 0 0.5em 0;
}

.wavy-section h2 {
    padding: 2em 0;
    z-index: 50;
    width: 100%;
}

h3 {
    font-size: 1.1em;
    font-weight: 400;
}

h4 {
    color: #ff7300;
    font-weight: 400;
    margin: 1em 0;
}

p.paragraph-large {
    font-size: 1em;
}

p.paragraph-small {
    font-size: 0.75em;
}

p.centered-intro {
    text-align: center;
    width: 80%;
    max-width: 525px;
    margin: 0 auto;
}

p.centered a {
    color: var(--main-color);
}

p,
.sub-link-page ul.sub-link-ul li {
    font-size: 0.85em;
    color: rgba(7, 3, 0, 0.6);
    padding-bottom: 1em;
}

p span {
    font-size: inherit;
}

p i {
    font-size: inherit;
}

p b {
    font-size: inherit;
    font-weight: 400;
}

a {
    text-decoration: none;
    font-size: inherit;
    color: inherit;
    cursor: pointer;
}

li {
    list-style-type: none;
}

img {
    height: auto;
}

img.full-width-image {
    display: block;
    width: 100%;
}

.centered {
    width: 85%;
    text-align: center;
    margin: 0 auto;
}

.rounded-corners {
    -webkit-border-radius: 0.5em;
    -moz-border-radius: 0.5em;
    border-radius: 0.5em;
}

.drop-shadow {
    -webkit-box-shadow: 0 0 0.5em rgba(7, 3, 0, 0.3);
    -moz-box-shadow: 0 0 0.5em rgba(7, 3, 0, 0.3);
    box-shadow: 0 0 0.5em rgba(7, 3, 0, 0.3);
}

article {
    min-height: 75vh;
    margin-bottom: 4em;
}

article.white-section {
    margin-bottom: 0;
}

article.no-hero-page,
article.sub-link-page {
    margin: 125px auto;
}

article.sub-link-page {
    width: 80%;
    max-width: 1200px;
}

article.sub-link-page h1 {
    margin: 3em auto 1.5em;
}

article.no-hero-page h1 {
    margin: 3em auto 0;
}

article a.button-link {
    font-size: 0.85em;
    border-radius: 2em;
    text-align: center;
    padding: 0.75em 1em;
    margin: 6em 0 0;
    display: inline-block;
    -webkit-transition: all 0.5s ease;
}

article a.button-link:hover {
    background: #070300 !important;
    color: #fff !important;
    cursor: pointer;
}

article a.orange.button-link,
form input[type="submit"] {
    background: var(--main-color) !important;
    border: none !important;
}

article a.orange.button-link:hover,
form input[type="submit"]:hover {
    background: black !important;
    border: none;
}

article a.orange.button-link.light:hover,
form input[type="submit"].light:hover {
    background: white !important;
    color: black !important;
    border: none;
}

.wavy-section {
    width: 100%;
    background-size: 100% 100%;
    background-repeat: repeat-x;
}

.alert-danger {
    background-color: #f2dede;
    border-color: #ebccd1;
    color: #a94442;
}

.alert-success {
    background-color: #c4ebc6;
    border-color: #c4ebc6;
    color: #44a974;
}

.alert {
    padding: 8px;
    margin: 15px 0 !important;
    border-radius: 5px;
}

/******************************
HERO SECTIONS
******************************/

#hero {
    margin: 75px 0;
    min-height: 101vh;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
}

#home #hero {
    background-image: url(../img/split-landing_desktop@2x.jpg);
    text-align: center;
}

#shapa-for-enterprise #hero {
    background-image: url(../img/shapa-for-enterprise-hero.png);
}

#hero h1 {
    color: #fff;
}

#hero p {
    color: #fff;
    margin: 1em 0;
}

#hero a.button-link:hover {
    background: #fff !important;
    color: #070300 !important;
    cursor: pointer;
}

#hero section {
    position: absolute;
    width: 45%;
    max-width: 600px;
    top: 35%;
    left: 8%;
    transform: translate(0, -50%);
    -webkit-transform: translate(0, -50%);
    -moz-transform: translate(0, -50%);
}

/******************************
SUB-LINK PAGES
******************************/

.sub-link-page ul {
    padding-bottom: 1em;
}

.sub-link-page ul.sub-link-ul li {
    padding-bottom: 0;
}

/******************************
ACCOUNT FORMS
******************************/

form {
    margin: 0 auto 2em;
    padding: 1em 2.5em 2em;
}

form h4 {
    color: #070300;
    margin-bottom: 0;
}

form input,
form textarea,
form select {
    border: solid 1px rgba(7, 3, 0, 0.1);
    padding: 0.25em;
    resize: vertical;
    border-radius: 0.25em;
    -webkit-border-radius: 0.25em;
    -moz-border-radius: 0.25em;
}

form textarea {
    width: 100%;
}

form input[type="submit"] {
    font-size: 16px;
    padding: 0.6em 1.5em;
    color: #fff;
    cursor: pointer;
    letter-spacing: 0 !important;
    font-weight: 700 !important;
    display: block;
    margin: 2em auto 0;
    border: 0;
    border-radius: 2em;
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    -webkit-transition: all 0.5s ease;
}

#facebook_login_section {
    text-align: center;
    margin-top: 30px;
}

#facebook_login_section p {
    font-size: 0.7em;
}

#facebook_login_button {
    text-align: center;
    font-size: 0.8em;
    padding: 0.5em 1.5em;
    color: #fff;
    cursor: pointer;
    /* display: block; */
    border: 0;
    border-radius: 2em;
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;

    background: #3c5999 !important;
}

#facebook_login_icon {
    width: 10px;
    margin-right: 15px;
}

.btn-main-color {
    font-size: 0.85em;
    letter-spacing: 0.14em;
    padding: 0.75em 1.5em 0.5em;
    color: #fff;
    cursor: pointer;
    text-transform: uppercase;
    display: block;
    border: 0;
    border-radius: 2em;
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;

    background: #ff7300 !important;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ff7300+0,fed155+100 */
    background: -moz-linear-gradient(
            left,
            #ff7300 0%,
            #fed155 100%
    ) !important; /* FF3.6-15 */
    background: -webkit-linear-gradient(
            left,
            #ff7300 0%,
            #fed155 100%
    ) !important; /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(
            to right,
            #ff7300 0%,
            #fed155 100%
    ) !important; /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(
            startColorstr="#ff7300",
            endColorstr="#fed155",
            GradientType=1
    ) !important; /* IE6-9 */
}

#account-form form {
    width: 85%;
    max-width: 515px;
    background: #fff;
}

#account-form form input[type="text"],
#account-form form input[type="password"] {
    width: 100%;
    margin: 0.25em 0 0.5em;
}

#account-form form #forgot-password {
    width: 100%;
    display: block;
    text-align: center;
    color: #aaa;
    font-size: 0.85em;
    margin: 0.5em 0 0;
}

/******************************
Swiper
******************************/
.swiper-container-horizontal .swiper-slide {
    margin: 2em 0 3em;
}

.swiper-container-horizontal > .swiper-pagination-bullets {
    margin-top: 3em;
}

#why-people-love-shapa-swiper-bullets .swiper-pagination-bullet {
    background: #ffffff !important;
    opacity: 1;
}

#why-people-love-shapa-swiper-bullets .swiper-pagination-bullet-active {
    background: #ff7300 !important;
}

.swiper-container-horizontal .swiper-button-prev,
.swiper-container-rtl .swiper-button-next {
    background-image: url(../img/prev-arrow.svg);
}

.swiper-container-horizontal .swiper-button-next,
.swiper-container-rtl .swiper-button-prev {
    background-image: url(../img/next-arrow.svg);
}

/******************************
Video pop-up
******************************/

.lightbox {
    z-index: 100;
    display: none;
}

.lightbox,
.close-button {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.close-button {
    z-index: 0;
    background: rgba(7, 3, 0, 0.8);
}

.close-button section {
    width: 75px;
    padding: 0.25em 0;
    text-align: center;
    font-weight: bold;
    position: absolute;
    top: 1em;
    right: 1em;
    color: #fff;
    cursor: pointer;
}

.lightbox.open {
    display: block;
    z-index: 200;
}

#video-positioner {
    position: absolute;
    width: 80%;
    height: auto;
    left: 50%;
    top: 50%;
    z-index: 200;

    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
}

.lightbox #video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

#video-container iframe,
#video-container object,
#video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.orange-text {
    color: #ff7300;
}

.gray-text {
    color: gray;
}

.iframe-container {
    width: 100%;
    height: 900px;
    border: none
}

#looking-try-shapa {
    text-align: center;
    margin-bottom: 6em;
    min-height: auto;
}

.account-creation-note {
    font-size: 16px;
    margin-top: 0;
    text-align: left;
    color: gray;
}

@media screen and (max-width: 1000px) {
    /******************************
      GENERAL STYLES (1000px)
      ******************************/
    *,
    html *,
    body * {
        font-size: 18px;
    }

    .desktop {
        display: none !important;
    }

    .mobile {
        display: initial !important;
    }

    h1 {
        font-size: 1.5em;
    }

    form {
        padding: 1.5em;
    }

    article section {
        display: block;
        width: 100%;
    }

    form input[type="submit"] {
        padding: 0.55em 1.5em;
    }

    /******************************
      HERO SECTIONS (@1000px)
      ******************************/
    #hero {
        height: 120vh;
        min-height: initial;
        background-position: 75% bottom;
    }

    .teal-background {
        font-size: 16px;
    }

}

@media screen and (max-width: 700px) {
    .darken {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background: rgba(7, 3, 0, 0.3);
        z-index: -1;
    }

    #account-creation-note {
        font-size: 14px;
    }

    .iframe-container {
        height: 520px;
    }

    .teal-background {
        font-size: 14px;
    }
}

@media screen and (max-width: 400px){
    .teal-background {
        font-size: 10px;
    }
}

.bootbox .modal-dialog {
    z-index: 9999;
}
.modal-header {
    flex-direction: row-reverse;
}
.modal-header .close {
    margin-top: -9px !important;
}
