/*
 __            __  __                        __  __                        __
|  |          |  ||  |                      |  ||  |                      |  |
 |  |        |  |  |  |        ____        |  |  |  |        ____        |  |
  |  |      |  |    |  |      |    |      |  |    |  |      |    |      |  |
   |  |    |  |      |  |    |  ||  |    |  |      |  |    |  ||  |    |  |
    |  |  |  |        |  |  |  |  |  |  |  |        |  |  |  |  |  |  |  |
     |  ||  |          |  ||  |    |  ||  |          |  ||  |    |  ||  |
      |____|            |____|      |____|            |____|      |____|
	  
Copyright (C) 2019 Vanparijs Wim Websites www.vanparijswimwebsites.com
*/

/******************
 *                *
 * Basic elements *
 *                *
 ******************/

p {
    text-align: left;
}

section p:not(.no-emphasize):nth-child(2)::first-letter, .emphasize::first-letter{
    font-weight: bold;
    font-size: 1.25em;
}

a {
    color: #000;
    text-decoration: none;
}



/***************
 *             *
 * Bg & Header *
 *             *
 ***************/

#bg1 {
    top: -25em;
    right: -20em;
    width: 1750px;
    max-width: none;
    transform: none;
}

#bg2 {
    left: -10em;
    bottom: -15em;
    width: 1125px;
    max-width: none;
    transform: none;
}



/****************
 *              *
 * Page Content *
 *              *
 ****************/

section {
  margin-top: 5em;
}

section#lower-details{
    padding-bottom: 6em;
}

section#lower-details .wrapper {
    max-width: 20em;
    margin: 0 auto;
}

.error-message {
    padding: 0.5em;
    margin: 0;
    background-image: none;
    color: #fff;
    border: none;
    font-weight: normal;
}

.success-message {
    padding: 0;
    margin: 0;
    background: none;
    border: none;
    font-weight: normal;
    color: #000;
}


/***********
 *         *
 * Members *
 *         *
 ***********/

#members {
    margin-left: 7em;
}

#members .member .member-image {
    display: inline-block;
    text-align: right;
}

#members .member .member-image img {
    max-width: 12.5em;
}

#members .member .member-details {
    display: inline-block;
    padding-left: 1em;
    padding-top: 3.25em;
    vertical-align: top;
}

#members .member .member-details h3 {
    font-size: 0.9em;
    margin-bottom: 0;
}



/********
 *      *
 * Form *
 *      *
 ********/

.input-wrapper {
    max-width: none;
}

input, textarea {
    border: none;
    width: 75%;
}

.grecaptcha-badge {
    display: block;
}



/***********
 *         *
 * Members *
 *         *
 ***********/

#lower-details {
    position: relative;
}

#lower-details #details-left {
    max-width: 50%;
}

#sales {
    position: absolute;
    top: 20em;
    right: 25%;
    transform: translateX(50%);
}



/**********
 *        *
 * Footer *
 *        *
 **********/

#bottom-popup {
    position: absolute;
    right: 0;
    bottom: 2.6em;
    width: 17.5em;
    background-color: #90D68D;
    padding: 1.25em 2.25em;
    padding-bottom: 0.75em;
    z-index: 25;
}

#bottom-popup form {
    margin-bottom: 0;
    padding-bottom: 0;
    font-size: 0.9em;
}

#bottom-popup input {
    border-radius: 1em;
    /*Width: 16em; but font-size is only 0.9em!*/
    width: 17.777em;
    border: none;
    margin: 0.5em 0;
    padding: 0.25em 0.75em;
}

#bottom-popup input.pure-button {
    width: 7.5em;
    background-color: #000;
    color: #fff;
}

footer {
    margin-bottom: 0 !important;
    padding: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: transparent;
    background-image: url(/static/images/bg/footer_production.png);
    background-position-x: -7.5em;
    background-repeat: no-repeat;
    background-size: 110% 100%; 
}



/*****************
 *               *
 * Media Queries *
 *               *
 *****************/

/* >= 1600px */
@media screen and (min-width: 100em) {
    #bg2 {
        left: 0;
    }
}

/* < 768px */
@media screen and (max-width: 48em) {
    #bg1 {
        width: 500px;
        top: -150px;
        right: -50px;
    }

    #bg2 {
        width: 750px;
        bottom: 50px;
    }

    section, #members {
        margin: 1em;
    }

    section {
        margin-top: 4em;
    }

    #members .member {
        position: relative;
        text-align: center;
    }

    #members .member.right {
        text-align: center;
    }

    #members .member .member-image {
        display: block;
        padding-top: 0.25em;
        text-align: center;
    }

    #members .member .member-image img {
        max-width: 6em;
    }

    #members .member .member-details {
        position: static;
        padding-top: 0;
        padding-bottom: 1.5em;
        text-align: center;
    }

    #members .member.right .member-details {
        padding-left: 0;
        padding-right: 0;
    }

    #members .member .member-details h3 {
        text-align: center;
        margin-top: 0;
    }

    #lower-details #details-left {
        max-width: none;
    }

    #lower-details #details-left #sales {
        position: initial;
        padding-top: 2em;
        transform: none;
    }

    form#contact {
        margin-top: 3em;
        text-align: center;
    }

    form .input-wrapper {
        margin: 1em auto;
        width: 75%;
    }

    label {
        display: block;
        text-align: left;
        margin: 0;
    }

    input, textarea {
        border: solid 1px #ccc;
        width: 100%;
    }

    #bottom-popup {
        position: relative;
        margin: 0 auto;
        margin-bottom: 3.5em;
    }
}