body.front{
	overflow-x: hidden;
}
.front{
	position:relative;
}
.front .overallWrapper .contentwrapper{
	background:url("../images/bg2.png") 0 0 no-repeat;
	background-size:100% auto;
	height:120vh;
}
.front footer{
	position:absolute;
	bottom:10px;
	width:100%;
}
.frontleftlogo{
	position:absolute;
	left:35vh;
	top:30vh;
	    width: 40vh;
} 
.frontleftlogo img{
	width:40vh;
}
.front .passcode{
	position:absolute;
	right:5vh;
	top:5vh;
	width:40vh;
}
.front .passcode img{
	width:40vh;
}
.front .MIWlogo{
	position:absolute;
	right:5vh;
	bottom:1vh;
	width:40vh;
}
.front .MIWlogo img{
	width:40vh;
}
a.button{
	text-indent: 9999px;
	position: absolute;
	z-index: 17;
    width: 6vh;
    height: 6vh;
}
a.button1 {
    right: 21vh;
    top: 53vh;
    background: url(../images/firstbutton.png) 0 0 no-repeat; 
    background-size: 100% auto;
}
a.button2 {
    right: 29vh;
    top: 61vh;
    background: url(../images/secondbutton.png) 0 0 no-repeat;
    background-size: 100% auto;
}
a.button3 {
    right: 13.5vh;
    top: 61vh;
    background: url(../images/thirdbutton.png) 0 0 no-repeat;
    background-size: 100% auto;
}
a.button4 {
    right: 21vh;
    top: 69vh;
    background: url(../images/fourthbutton.png) 0 0 no-repeat;
    background-size: 100% auto;
}
a.button5 {
    right: 29.5vh;
    top: 76.8vh;
    background: url(../images/fifthbutton.png) 0 0 no-repeat;
    background-size: 100% auto;
}
a.button6 {
    right: 13.5vh;
    top: 76.5vh;
    background: url(../images/sixthbutton.png) 0 0 no-repeat;
    background-size: 100% auto;
} 
a.enterbutton{
    position: absolute;
    right: 19vh;
    top: 86vh;
    width: 10vh;
    height:3vh;
    background: url(../images/enterbutton.png) 0 0 no-repeat;
    background-size: 100% auto;
}   
div.error{
    font-size: 18px;
    font-family: 'gasruxregular';
    color: red;
    position: absolute;
    right: 2vh;
    bottom: 15vh;
    max-width: 300px;
    background: #fff;
    padding: 10px 0;
}
.buttonswrapper{
	display:inline-block;
	margin:100px 0;
	
}
.button{
	display:inline-block;
    text-indent: -9999px;
}
.button a{
	width: 40px;
    height: 40px;
    color: #fff;
    background: #000;
    cursor: pointer;
    display: block;
    vertical-align: middle;
    text-align: center;
    line-height: 40px;
}
a:hover{
	opacity:0.5;
}
.enter{
	display:block;
}
a.enter{
	padding:10px 20px;
    color: #fff;
    background: #000;
    cursor: pointer;
    display: block;
    vertical-align: middle;
    text-align: center;
    line-height: 40px;
        max-width: 100px;
    margin: 0 auto 30px;
}

.sixsymbols {
    display: block;
    background: url("../images/sixsym.png") 0 0 no-repeat;
    background-size: 100% auto;
    position: absolute;
    top: 44vh;
    width: 25vh;
    height: 20px;
    right: 12vh;
}
a.closefirstform {
    cursor: pointer;
}

@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation:landscape) { 
    .front .overallWrapper .contentwrapper{
        background:none;
        height: 100%;
    }
    .buttonswrappermobile{

    }
    .front footer{
        position:relative;
        bottom:10px;
        width:100%;
    }
    .frontleftlogo{
        position: relative;
        left: 0;
        top: 0;
        width: 100%;
        text-align: center;
    } 
    .front .passcode{
        position: relative;
        right: 0;
        top: 0;
        width: 100%;
        padding: 10% 0;
    }
    .front .MIWlogo{
        position: relative;
        right: 0;
        bottom: 0;
        width: 100%;
        padding: 10% 0;
    }
    .buttonswrapper {
        display: inline-block;
        margin: 0;
        background: url(../images/keypadmobile.png) 0 0 no-repeat;
        background-size: 100% auto;
        width: 330px;
        height: 540px;
        right: 0;
        top: 0;
        margin: 0;
        position: relative;
		overflow:hidden;
    }
    .front footer {
        position: relative;
        bottom: 0;
        width: 100%;
    }
    .front footer .socials {
        width: 65%;
    }
    a.button{
        width: 4.5vw;
        height: 4.5vw;
    }
    a.button1 {
        right: 13.9vw;
        top: 15.8vw;
    }
    a.button2 {
        right: 20.9vw;
        top: 22.6vw;
    }
    a.button3 {
        right: 7vw;
        top: 22.6vw;
    }
     a.button4 {
        right: 14vw;
        top: 29.4vw;
    }
    a.button5 {
        right: 21vw;
        top: 36.4vw;
    }
     a.button6 {
        right: 7vw;
        top: 36.4vw;
    }
    div.enter {
        position: relative;
    }
    a.enterbutton {
        position: absolute;
        right: 46vw;
        top: -8vw;
    }
    body.front{
        background: url(../images/mobilebg.png) 0 0 repeat-y;
        background-size: 100% auto;
        height: 100%;
    }
    .front .overallWrapper .contentwrapper{
     position: relative;
    }
    div.error {
        left: 50%;
        bottom: 29vh;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        -o-transform: translateX(-50%);
    }
        .sixsymbols{
        top: 9vh;
            width: 30vh;
            height: 3vh;
            right: 6vh;

    }
}
@media only screen and (max-width: 1023px) {
    .front .overallWrapper .contentwrapper{
        background:none;
        height: 100%;
    }
    .sixsymbols{
            top: 7vh;
        width: 25vh;
        height: 3vh;
     right: 4vh;
    }
    .buttonswrapper {
        background: url(../images/keypadmobile.png) 0 0 no-repeat;
        background-size: 100% auto;
        width: 300px;
        height: 540px;
        position: relative;
        right: 28vh;
        top: 10vh;
		overflow:hidden;
    }
    .front footer{
        position:relative;
        bottom:10px;
        width:100%;
    }
    .frontleftlogo{
        position: relative;
        left: 0;
        top: 0;
        width: 100%;
        text-align: center;
    } 
    .front .passcode{
        position: relative;
        right: 0;
        top: 0;
        width: 100%;
        padding: 10% 0;
    }
    .front .MIWlogo{
        position: relative;
        right: 0;
        bottom: 0;
        width: 100%;
        padding: 10% 0;
    }
    .buttonswrapper {
        display: inline-block;
        margin: 0;
        background: url(../images/keypadmobile.png) 0 0 no-repeat;
        background-size: 100% auto;
        width: 330px;
        height: 540px;
        right: 0;
        top: 0;position: relative;
        margin: 0;
    }
    .front footer {
        position: relative;
        bottom: 0;
        width: 100%;
    }
    .front footer .socials {
        width: 65%;
    }
    a.button {
        width: 6.5vw;
        height: 6.5vw;
    }  
    a.button1 {
        right: 18.3vw;
        top: 20.5vw;
    }
    a.button2 {
        right: 27.5vw;
        top: 30vw;
    }
    a.button3 {
        right: 9vw;
        top: 30vw;
    }
     a.button4 {
        right: 18.2vw;
        top: 39vw;
    }
    a.button5 {
        right: 27.5vw;
        top: 48.2vw;
    }
     a.button6 {
        right: 9vw;
        top: 48vw;
    }
    div.enter {
        position: relative;
    }
    a.enterbutton {
        position: absolute;
        right: 43.5vw;
        top: -10vw;
    }
    body.front{
        background: url(../images/mobilebg.png) 0 0 repeat-y;
        background-size: 100% auto;
        height: 100%;
    }
    .front .overallWrapper .contentwrapper{
     position: relative;
    }
    div.error {
        left: 50%;
        bottom: 23vh;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        -o-transform: translateX(-50%);
    }
    
}
@media only screen and (max-width: 767px){
    .front .overallWrapper .contentwrapper{
     position: relative;
         text-align: center;
    }
    .front footer .socials {
        width: 100%;
    }
    .buttonswrapper{
        width: 51vh;
        height: 90vh;
        overflow: hidden;
    } 
    a.button {
        width: 8vh;
        height: 8vh;
    }  
    a.button1 {
        right: 22vh;
        top: 24vh;
    }
    a.button2 {
        right: 33vh;
        top: 35vh;
    }
     a.button3 {
        right: 11vh;
        top: 35vh;
    }
     a.button4 {
        right: 22vh;
        top: 46vh;
    }
    a.button5 {
        right: 33vh;
        top: 57vh;
    }
    a.button6 {
        right: 11vh;
        top: 57vh;
    }
    div.error {
        left: 50%;
        bottom: 120px;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        -o-transform: translateX(-50%);
        right:0;
    }
    a.enterbutton{
        left: 50%;
        top: -19vh;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        -o-transform: translateX(-50%);
        right: 0;
    }
    .sixsymbols {
        top: 11vh;
        width: 30vh;
        height: 3vh;
        right: 10vh;
    }

}

@media only screen and (min-width:1403px){
    a.button{
        text-indent: 9999px;
        position: absolute;
        z-index: 17;
        width: 2.5vw;
        height: 2.5vw;
    }
    a.button1 {
        right: 10vw;
        top: 24.5vw;
        background: url(../images/firstbutton.png) 0 0 no-repeat; 
        background-size: 100% auto;
    }
    a.button2 {
        right: 13.65vw;
        top: 28.13vw;
        background: url(../images/secondbutton.png) 0 0 no-repeat;
        background-size: 100% auto;
    }
    a.button3 {
        right: 6.3vw;
        top: 28.1vw;
        background: url(../images/thirdbutton.png) 0 0 no-repeat;
        background-size: 100% auto;
    }
    a.button4 {
        right: 10vw;
        top: 31.8vw;
        background: url(../images/fourthbutton.png) 0 0 no-repeat;
        background-size: 100% auto;
    }
    a.button5 {
        right: 13.65vw;
        top: 35.5vw;
        background: url(../images/fifthbutton.png) 0 0 no-repeat;
        background-size: 100% auto;
    }
    a.button6 {
        right: 6.3vw;
        top: 35.4vw;
        background: url(../images/sixthbutton.png) 0 0 no-repeat;
        background-size: 100% auto;
    } 
    a.enterbutton{
        position: absolute;
        right: 9.6vw;
        top: 40vw;
        width: 3vw;
        height: 1vw;
        background: url(../images/enterbutton.png) 0 0 no-repeat;
        background-size: 100% auto;
    }   
    .sixsymbols {
        display: block;
        background: url("../images/sixsym.png") 0 0 no-repeat;
        background-size: 100% auto;
        position: absolute;
        top: 20.5vw;
        width: 9vw;
        height: 20px;
        right: 7vw;
    }

    div.error {
        font-size: 18px;
        font-family: 'gasruxregular';
        color: red;
        position: absolute;
        right: 5vw;
        bottom: 8vw;
        max-width: 300px;
        background: #fff;
        padding: 10px 0;
    }

    .front .MIWlogo {
        position: absolute;
        right: 3vw;
        bottom: 1vh;
        width: 15vw;
    }
}