/* fonts  */

@import url('https://fonts.googleapis.com/css?family=Abel|Aguafina+Script|Artifika|Athiti|Condiment|Dosis|Droid+Serif|Farsan|Gurajada|Josefin+Sans|Lato|Lora|Merriweather|Noto+Serif|Open+Sans+Condensed:300|Playfair+Display|Rasa|Sahitya|Share+Tech|Text+Me+One|Titillium+Web');
#page, .bg {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    transition: 1s;
}

.bg {
    z-index: -1;
    opacity: 0;
}

.show_bg {
    opacity: 1;
}

#container {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 400px;
    background-color: rgba(0, 0, 0, 0.9);
    text-align: center;
    overflow-x: hidden;
}

#padding {
    padding: 15px 15px 30px 15px;
}

#title {
    color: white;
    font-family: 'Playfair Display', serif;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    letter-spacing: 2px;
    font-size: 33px;
}

#toogleContainer {
    margin: auto;
    margin-top: 20px;
    margin-bottom: 40px;
    width: 100%;
    max-width: 500px;
    background-color: #FFF;
    position: relative;
    border-radius: 999px;
    display: flex;
    flex-direction: row;
    overflow: hidden;
}

#toogleSelector {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #3B3D9F;
    height: 100%;
    width: 50%;
    opacity: 0.5;
    border-radius: 999px;
    transition: left 0.3s;
}

.toogleSelector_right {
    left: 50% !important;
}

#formsContainer {
    margin-bottom: 15px;
    position: relative;
    width: 100%;
}

#btnSlide, #btnSale {
    font-family: 'Abel', sans-serif;
    border-radius: 15px;
    font-size: 10px;
    cursor: pointer;
    color: black;
    font-size: 15px;
    padding: 5px 30px;
    transition: 0.3s linear;
    width: 50%;
}

#slideContainer, #saleContainer {
    position: absolute;
    right: 50%;
    width: 100%;
    transform: translateX(50%);
    opacity: 1;
    transition-duration: 0.5s;
    transition-property: transform, opacity;
    z-index: 0;
}

.slideContainer_hidden {
    opacity: 0 !important;
    transform: translateX(20%) !important;
    z-index: -1 !important;
}

.saleContainer_hidden {
    opacity: 0 !important;
    transform: translateX(80%) !important;
    z-index: -1 !important;
}

#container p {
    font-family: 'Farsan', cursive;
    margin: 3px 0 1.5em 0;
    font-size: 1.3em;
    color: #FFFFFF;
}

#container input, #theme_select {
    width: 100%;
    box-sizing: border-box;
    max-width: 500px;
    padding: 0 5px;
    margin-bottom: 5px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.8);
    outline: none;
    border: none;
    color: #000;
    height: 25px;
}

#container input::placeholder {
    color: #555;
}

#theme_select {
    color: #555;
}

.select_placeholder {
    color: lightgray;
}

#slideForm, #saleForm {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#btnFormSlide, #btnFormSale {
    background-color: #3B3D9F;
    font-family: 'Abel', sans-serif;
    padding: 0.5em 1.9em;
    margin: 1em 0 0 0;
    border-radius: 7px;
    font-size: 1.4em;
    cursor: pointer;
    color: #FFFFFF;
    font-size: 1em;
    outline: none;
    border: none;
    transition: 0.3s;
}

#btnFormSlide:hover, #btnFormSale:hover {
    transform: translatey(2px);
    background-image: linear-gradient(to left, rgba(255, 0, 0, 0.75) 0%, #3B3D9F 100%);
    box-shadow: 0 5px 15px 0px rgba(223, 145, 251, 0.7);
}

#btnFormSlide:active, #btnFormSale:active {
    transform: translatey(5px);
}

#responseMessageSlide, #responseMessageSale {
    display: flex;
    align-items: center;
    justify-content: center;
}

#btnLinkedin {
    position: fixed;
    right: 10px;
    bottom: 10px;
}

.lds-facebook {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
}

.lds-facebook div {
    display: inline-block;
    position: absolute;
    left: 6px;
    width: 13px;
    background: #FFF;
    animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}

.lds-facebook div:nth-child(1) {
    left: 6px;
    animation-delay: -0.24s;
}

.lds-facebook div:nth-child(2) {
    left: 26px;
    animation-delay: -0.12s;
}

.lds-facebook div:nth-child(3) {
    left: 45px;
    animation-delay: 0;
}

@keyframes lds-facebook {
    0% {
        top: 6px;
        height: 51px;
    }
    50%, 100% {
        top: 19px;
        height: 26px;
    }
}

@media(max-width: 767px) {
    #container {
        width: 100%;
        background-color: rgba(0, 0, 0, 0.4);
    }
}