* {
    margin: 0;
    padding: 0;
}

html {
    font-family: sans-serif;
}

html, body {
    /*height: 100%;*/
}

div {
    position: relative;
    border: 0 none transparent;
}

p {
    margin: 0.5em 0;
}

div#wrap {
    /*height: 99%;*/
    /*min-height: 100%;*/
    /*height: 100%;*/
}

div#leftSection {
    overflow: hidden;
    display: inline-block;
    width: 33%;
    padding: 0 2em;
    box-sizing: border-box;
    min-width: 239px;
    /*background-color: yellow;*/
    /*float: left;*/
    /*min-height: 100%;*/
    /*padding-bottom: 270px;*/
}

div#leftSection input,
div#leftSection label,
div#leftSection button {
    box-sizing: border-box;
    height: 2em;
    display: inline-block;
    margin: 0 0 0.5em;
    border-radius: 0;
    vertical-align: middle;
    line-height: 2em;
}

@media screen and (max-width: 964px) {
    div#leftSection label {
        margin-bottom: 0.1em;
    }
}

div#leftSection form {
    display: inline-block;
}

div#leftSection form > div {
    display: block;
    width: 100%;
}

div#leftSection label {
    width: 70px;
    margin-right: 10px;
}
div#leftSection input[type=tel] {
    border: 2px solid #000;
    width: 200px;
    outline: none;
    padding: 0 3px;
}

div#leftSection button[type=submit] {
    display: block;
    width: 280px;
    margin: 0 auto;
    border: 0;
    cursor: pointer;
    letter-spacing: 0.05em;
    background: #000;
    color: #fff;
    -webkit-transition: all 0.1s;
    -moz-transition: all 0.1s;
    transition: all 0.1s;
    text-transform: uppercase;
    outline: none;
    border-radius: 4px;
}

div#leftSection button[type=submit]:active {
    color: #000;
    background: #fff;
    border: 2px solid #000;
}
#mistake {
    color: red;
}

#interior-img-div {
    width: 275px;
    height: 183px;
    margin: 0 auto;
    position: relative;
}
#interior-img {
    display: block;
    margin: 0 auto;
}

div#mainSection {
    vertical-align: top;
    display: inline-block;
    width: 66%;
    word-wrap: break-word;
    padding: 0 2em;
    box-sizing: border-box;
    /*background-color: green;*/
    /*min-height: 100%;*/
}

@media screen and (max-width: 797px) {
    div#mainSection {
        width: calc(100% - 239px - 10px);
    }
}

@media screen and (max-width: 551px) { /* Single column */
    div#leftSection {
        width: 100%;
        /*min-height: 0;*/
        /*padding-bottom: 0;*/
    }

    div#mainSection {
        width: 100%;
        /*padding-bottom: calc(9em + 120px);*/
        /*min-height: 0;*/
    }
}

div#footer {
    /*position: absolute;
    bottom: 2em;
    left: 2em;*/
    /*position: absolute;
    bottom: 0;*/
}

div#footer > img {
    width: 100%;
}

div#footer > p#address {
    text-align: center;
}

div#footer > p#org_name {
    text-align: center;
}

div#logo-and-title {
    text-align: center;
}

div#logo-and-title > p#logo {
    text-transform: uppercase;
    font-size: 32px;
    margin-bottom: 0;
}

@media screen and (max-width: 551px) { /* Single column */
    /*div#footer {
        position: relative;
    }*/
}

div#logo-and-title > p#title1 {
    /*font-size: 13px;*/
    text-transform: uppercase;
    margin-top: 0.25em;
    vertical-align: middle;
}
div#logo-and-title > p#title1 > span {
    vertical-align: middle;
    line-height: 100%;
}

div#logo-and-title > p#title2 {
    text-transform: uppercase;
    /*font-size: 23px;*/
    font-weight: bold;
}

div#offer {
    margin: 2em 0;
    /*padding-bottom: calc(4.5em + 120px);*/
    text-align: center;
}

@media screen and (max-width: 551px) { /* Single column */
    div#offer {
        padding-bottom: 0;
    }
}

div#lottery {
    margin: 1em 0 2em;
    /*padding-bottom: calc(4.5em + 120px);*/
    text-align: center;
    position: relative;
    display: none;
}

@media screen and (max-width: 551px) { /* Single column */
    div#lottery {
        padding-bottom: 0;
    }
}

#lottery-protected {
    cursor: pointer;
}
#lottery-protected,
#lottery-erased,
#canvas-lottery-protected,
#canvas-lottery-erased {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    -moz-user-select: none;
    user-select: none;
}
#lottery-dummy-img {
    width: 100%;
    opacity: 0;
}
#lottery-erased {
    opacity: 0;
}
#lottery-protected,
#lottery-erased {
    display: none;
}
div#brands {
    display: block;
    text-align: center;
}

div#brands > div.brand {
    display: inline-block;
    max-width: 120px;
    width: 30%;
}

div#brands > div.brand > img {
    width: 100%;
    box-sizing: border-box;
}

div#brand-desc {
    text-align: center;
    margin-bottom: 1.5em;
    min-height: 2.5em;
}

img#brand-img {
    /*max-width: 600px;*/
    margin-top: 40px;
}

div.progress {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-weight: bold;
    position: absolute;
    top: 50%;
    top: calc(50% - 0.5em);
    width: 100%;
}

div#brand-img-div {
    text-align: center;
}

hr {
    border: 0;
    height: 2px;
    /*background: #DAA520;*/
    background-image: -webkit-linear-gradient(left, rgba(218, 165, 32, 0), rgba(218, 165, 32, 0.75), rgba(218, 165, 32, 0));
    background-image: -moz-linear-gradient(left, rgba(218, 165, 32, 0), rgba(218, 165, 32, 0.75), rgba(218, 165, 32, 0));
    background-image: -ms-linear-gradient(left, rgba(218, 165, 32, 0), rgba(218, 165, 32, 0.75), rgba(218, 165, 32, 0));
    background-image: -o-linear-gradient(left, rgba(218, 165, 32, 0), rgba(218, 165, 32, 0.75), rgba(218, 165, 32, 0));
}
body{
     -webkit-text-size-adjust: 100%;
 }
