

/*IOS Fix*/
@supports (-webkit-touch-callout: none) {
	html, body {
		overflow-x: hidden;
	  }
    .logo {
        right:0px;
    } 
  }

  html,body {
    overflow-x: hidden;
    height: 100%;
    transform: translate3d(0, 0, 0);
}

body {
    color:white;
    background-image:url("../art/graph.png");
    background-color:#FFFFFF;
}

input {
    width: 100%;
  }

.david-main {
    position: absolute;
    right:60%;
    top:98px;
    z-index:2;
}


.intro {
    padding-top:50px;
    height: 560px;
}

.logo {
    position: absolute;
    top:-20px;
    right:5%;
    z-index:1;
}

.video {
    width: 560px; 
    height: 315px;
    position: absolute;
    top:275px;
    left:calc(50% - 280px);
    z-index:3;
}

.tagline {
    position: relative;
    width:500px;
    top:70px;
    z-index:4;
    color:black;
    background-color:#FAFF00;
    font-size:14pt;
    font-weight:600;
    padding-top:0.375rem;
    padding-bottom:0.375rem;
}

.yellowbg {
    background-color:#FAFF00;
}

.mainbg {
    background-image: url("../art/mainbg.gif");
    background-size:cover;
}

.premiumblackbg {
background-image: linear-gradient(to right, #434343 0%, black 100%);
background-size: cover;
}

.blackbg {
    background-color:#232323;
}

.promobg {
    background-color:#FAFF00;
    rotate: -1deg;
}

.greybg {
    background-color:#fefbf3;
    border: 2px solid #d7dee9;
}

.font-yellow {
    color: #FAFF00;

}

.grid-bg {
    color:black;
    background-repeat: repeat;
     background-attachment: scroll;
}

.david-main {
    background-image:url("../art/david-main.png");
    height:550px;
    width: 330px;
    background-repeat: no-repeat;
}

.pixeltop {
    display: flex;
    align-items: end;
    height:30px;
    background-image:url("../art/pixeltop.png");
    background-repeat: repeat-x;
}

.pixelbot {
    height:30px;
    background-image:url("../art/pixelbot.png");
    background-repeat: repeat-x;
    position: relative;
    top:-10px;
}


.section-header {
    font-size: 16pt;
    font-weight: 600;
}

.section-body {
    font-size:12pt;
}

.discount-location {
    position: relative;
    left: 3%;
    z-index:2;
}

.discount-info {
    position: relative;
    top:-20px;
    right: 190px;
}

.discount-text {
    font-size:22pt;
    width:400px
}


/*Promos*/
.promo-correction {
    position:relative; 
    left: 22%;
}

.david-2 {
    position: absolute;
    top: -130px;
    right: 0%;
    z-index:3;
}

.btn-white {
    background-color: transparent;
    padding: 0.375rem 0.75rem;
    display: inline-block;
    font-weight: 400;
    color: #000000;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid #000000;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-white:hover {
    color: red;
    background-color: #FFFFFF;
    border: 1px solid transparent;
}

.btn-yellow {
    background-color: transparent;
    padding: 0.375rem 0.75rem;
    display: inline-block;
    font-weight: 400;
    color: #FAFF00;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid #FAFF00;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-yellow:hover {
    color: #232323;
    background-color: #FAFF00;
    border: 1px solid transparent;
}

/*Input area*/
.text-area {
    height: 100px;
    }

@media (max-width: 1000px) {
    .discount-location{
    left: auto;
    right: auto;
    }
    .discount-banner {    
    width:600px;
    }
    .discount-info {
        top:-10px;
    }
    .discount-text {
        font-size:14pt;
        width:400px;
    }
}

@media (max-width:  992px) {
    .promo-correction {
        position:static; 
    }
    .david-2 {
        display: none;
    }

}

@media (max-width:  768px) {
        .discount-banner {
        width:400px;
        }
        .discount-info {
            top:0px;
        }
        .discount-text {
            font-size:12pt;
            width:200px;
        }
        .david-main {
            position: absolute;
            left:-50px; 
            z-index:2;
        }
        .video {
            width: 336px; 
            height: 189px;
            left:calc(50% - 168px);
        }
        .logo {
            position: absolute;
            top: 0px;
            right: 0px;
            z-index:1;
        }
        .logo-size {
            width:98%;
        }
}

@media (max-width:  420px) {
        .discount-banner {
        width:300px;
        }
        .discount-info {
            top:0px;
        }
        .discount-text {
            font-size:10pt;
            width:200px;
        }
        
}





