html, body {
    margin: 0px;
    padding: 0px;
	min-width:320px;
	min-height:100%;
}

* {
    box-sizing: border-box;
}

table {
	width:100%;
	margin:auto;
	padding:0px;
	border-style:none;
	border-spacing:0;
	border-collapse:collapse;
}

img {
	border:0px;
    max-width:100%;
}

form {
	padding:0px; 
	margin:0px;
}

input[type="text"],
input[type="password"] {
    border: 1px solid #ccc;
    font-size:14px;
    color:#6a6a61;
    outline:none;
    padding:5px 10px;
    border-radius:5px;
}

input[type="text"]::placeholder,
input[type="password"]::placeholder {
    color:#6a6a61;
    font-size:14px;
    opacity:0.6;
}

textarea {
	resize: none;
    border: 1px solid #ccc;
    font-size:14px;
    color:#6a6a61;
    outline:none;
    padding:5px 10px;
    border-radius:5px;
}

textarea::placeholder {
    color:#6a6a61;
    font-size:14px;
    opacity:0.6;
}

input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus {
    border: 1px solid #aaa;
}

button {
    border:none;
    background-color:rgba(255,255,255, 0);
    line-height:1.4;
}

.overlay {
    display: none;
    position: fixed;
    top: 0px;
    bottom: 0px;
    right: 0px;
    left: 0px;
    z-index: 100;
    background-color: #000;
    opacity: 0.7;
    transition: opacity 0.4s;
}

.overlay-show {
    display: block;
}

.wrapper {
    position: relative;
    display:flex;
    flex-direction:column;
    min-height:100vh;
    min-width:320px;
    width:100%;
}

.noscroll {
    overflow: hidden;
    height:100vh;
}

header, main, footer {
    width: 100%;
    position: relative;
}

main {
    flex-grow:1;
}

footer {
    flex-grow:0;
    flex-shrink:0;
}

.clear::after {
    content: "";
    clear: both;
    display: table;
}

h1 {
    font-size:28px;
}

@media all and (max-width: 576px) {
    h1 {
        font-size:24px;
    }
}