/*html {height: 100%;}*/
body {
    position: relative;
	min-width: 1240px;
	width: auto;
	min-height: 810px;
	height: 100%;
	padding:0px;
	margin:0px;
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	font-weight: 700;
	background-color: #000;
	background-image: url('images/mall-bg.jpg');
	background-repeat: no-repeat;
	background-position: center top;
}
a:active, 
a:focus 
{
	outline: 0;
}
*:hover
{
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}
a {
    text-decoration: none;
}
h1 {
    font-family: 'Roboto Slab', serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}
h2 {
    font-family: 'Roboto Slab', serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}


.main-container {
    max-width: 1400px;
    width: auto;
    height: 810px;
    margin: 0 auto;
}

.header, .inner-container {
    min-width: 1140px;
    width: auto;
    margin: 0 auto;
    text-align:center;
}
.logo-left {
	width: 153px;
	height: 91px;
	margin-top: 25px;
	margin-left: 40px;
	background-image: url('images/ring-mall-logo.png');
	background-repeat: no-repeat;
	background-position: center;
	display: inline-block;
	float: left;
}
.logo-right {
	width: 153px;
	height: 56px;
	margin-top: 30px;
	margin-right: 40px;
	background-image: url('images/wi-fi-logo.png');
	background-repeat: no-repeat;
	background-position: right;
	display: inline-block;
	float: right;
}
.banner-top {
    margin-top: 40px;
    width: 468px;
    height: 61px;
    display: inline-block;
	cursor: pointer;
}
.banner-bottom {
    width: 468px;
    height: 61px;
    display: none;
    margin: 0 auto 0 auto;
	cursor: pointer;
}
.banner-left {
    margin-top: 40px;
    margin-left: 60px;
    width: 300px;
    height: 600px;
    display: inline-block;
    float: left;
	cursor: pointer;
}
.banner-right {
    margin-top: 40px;
    margin-right: 60px;
    width: 300px;
    height: 600px;
    display: inline-block;
    float: right;
	cursor: pointer;
}
img.banner {
    -webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;   
}
.login-container {
    display:inline-block;
    width: 468px;
    height: 680px;
    background-image: url('images/darker-transparent-layer.png');
    text-align: center;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.login-container > h1 {
    margin: 70px 0 50px 0;
}
.login-container > h2 {
    margin: 35px 0 20px 0;
}
.login-form {
    width: 224px;
    text-align: center; 
    margin: 0 auto 0 auto;
}
input {
    width: 224px;
    height: 35px;
	line-height: 150%;
    margin: 0 0 30px 0;
}
input[type="text"],
input[type="tel"],
input[type="email"] {
	text-indent: 10px;
    border: solid 1px #eaeaea;
    transition: box-shadow 0.3s, border 0.3s;
    box-shadow: 0 0 10px 1px #9a9a9a;
    background-color: #eaeaea;
    color: #9a9a9a;
}
input[type="text"]:focus,
input[type="text"].focus,
input[type="tel"]:focus,
input[type="tel"].focus,
input[type="email"]:focus,
input[type="email"].focus {
    outline: none;
    border: solid 1px #eaeaea;
    box-shadow: 0 0 5px 1px #9a9a9a;
    background-color: #fff;
    color: #000;
}
input[type="submit"] {
    width: 100px;
    height: 100px;
    margin-top: 20px;
    border: none;
    border-radius: 50%; 
    background-color: #eaa328;
    color: #fff;
    outline: none;
    font-family: 'Roboto Slab', serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}
input:focus::-webkit-input-placeholder { color:transparent; }
input:focus:-moz-placeholder { color:transparent; } /* Firefox 18- */
input:focus::-moz-placeholder { color:transparent; } /* Firefox 19+ */
input:focus:-ms-input-placeholder { color:transparent; } /* oldIE ;) */

.social {
    margin: 0 auto;
    text-align: center;
    white-space: nowrap;
    /*width: 224px;*/
	height: 60px;
}
.social .sicon {
    display: inline-block;
    width: 60px;
    height: 60px;
    margin: 0 20px;
}
.social .sicon img {
    display: inline-block;
    float: left;
	cursor: pointer;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-image: url('images/darker-transparent-layer.png');
    z-index: 9999;
    text-align: center;
}
.overlay .overlay-inner {
    height:100%;
	display: inline-block;
    text-align:center;
    position:relative;
}
.overlay .overlay-inner img {max-height:100%; max-width:100%;}
.overlay .overlay-inner .overlay-close {
    position:absolute;
	top: 0;
	right: 0;
	display: block;
	width: 60px;
	height: 60px;
	cursor: pointer;
	background-image: url('images/x-shape.png');
	background-repeat: no-repeat;
	background-position: center;
}

/*----- Mobile ------*/
@media only screen and (max-width: 1140px) {

    .banner-left, .banner-right, .logo-right {
        display: none;
    }
    body, .header, .inner-container, .main-container {
        min-width: 320px;
        width: auto;
    }
    body, .inner-container {  
        min-height: 320px;
        height: auto;
    }
    .main-container {
        margin: 0;
        background-image: none;
        height: auto;
    }
    .login-container {
        min-height: 400px;
        margin-bottom: 25px;
        height: auto;
    }
    .banner-top {
        display: none;
    }
    .banner-bottom {
        display: block;
		/*width: 100%;*/
		text-align: center;
		margin: 0 auto;
    }
    .logo-left {
        margin: 10px auto;
        float:none; 
    }
    .login-container > h1 {
        margin: 15px 0 15px 0;
        font-size: 20px;
    }
    .login-container > h2 {
        margin: 7px 0 7px 0;
        font-size: 14px;
    }
    input {
        margin: 0 0 10px 0;
    }
    input[type="submit"] {
        width: 70px;
        height: 70px;
        margin-top: 10px;
    }
    .social > a {
        /*margin: 0 10px;*/
    }   
	.social .sicon {
        width: 40px;
        height: 40px;
        margin: 0 5px;
    }
	#thank-you {
		margin-top: 30%;
	}
}

@media only screen and (max-width: 500px) {
    .banner-left, .banner-right, .logo-right {
        display: none;
    }
    body, .header, .inner-container, .main-container {
        min-width: 320px;
        width: auto;
    }
    body, .inner-container {  
        min-height: 320px;
        height: auto;
    }
    .overlay .overlay-inner a {
        margin-top: 30%;
        display:block;
    }
    .overlay-close {
        margin-top: 30%;
        width: 30px !important;
        height: 30px !important;
    }
    .main-container {
        margin: 0;
        background-image: none;
        height: auto;
    }
    .login-container {
        min-height: 400px;
        margin-bottom: 25px;
        height: auto;
    }
    .banner-top {
        display: none;
    }
    .banner-bottom {
        display: block;
		text-align: center;
        width:90%;
    }
    .logo-left {
        margin: 10px auto;
        float:none; 
    }
    .login-container {
        width: 90%;
    }
    .login-container > h1 {
        margin: 15px 0 15px 0;
        font-size: 20px;
    }
    .login-container > h2 {
        margin: 7px 0 7px 0;
        font-size: 14px;
    }
    input {
        margin: 0 0 10px 0;
    }
    input[type="submit"] {
        width: 70px;
        height: 70px;
        margin-top: 10px;
    }
    .social > a {
        /*margin: 0 10px;*/
    }   
	.social .sicon {
        width: 40px;
        height: 40px;
        margin: 0 5px;
    }
	#thank-you {
		margin-top: 30%;
	}
}