@charset "utf-8";

body {
    display: flex;
    flex-direction: column;
}


header, main, footer {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: #000000;
    color: #ffffff;
}

main {
    background-color: #111111;
}


/* Header */
.header {
    width: 100%;
    display: flex;
    justify-content: center;
}

.header-inner {
    max-width: 1000px;
    width: 100%;
    height: 100px;
    margin: 0 5px 0 5px;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-logo {
    height: 60px;
    width: auto;
}

.header-right-side {
    margin-left: auto;
    margin-right: 5px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.header-search {
    margin-top: auto;
    margin-left: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.header-search input {
    width: 180px;
    border: 1px solid #696969;
    border-radius: 4px;
    background-color: #393939;
    color: #ffffff;
}
.header-search button {
    background-color: #28d828;
    border: none;
    border-radius: 4px;
    color: #ffffff;
    font-weight: bold;
    font-size: 0.8em;
    padding: 5px 10px;
    margin-left: 3px;
}
.header-search button:hover {background-color:#14a319;}
.header-search button:active {background-color: #0f7a0f;}

.header-advanced-search {
    margin: 5px 0px auto auto;
    display: flex;
}
.header-advanced-search a {
    display: flex;
    color: #D5F406;
    font-size: small;
    text-decoration: none;
}
.header-advanced-search a:hover {color: #9eb603;}
.header-advanced-search a:active {color: #697903;}



/* Header nav */
.header-nav {
    width: 100%;
    height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    background-color: #2e2e2e;
}

.header-nav ul {
    max-width: 1000px;
    width: 100%;
    display: flex;
    list-style: none;
    padding: 0 10px;
    margin: 0;
}
.header-nav li {
    display: flex;
    margin-top: 10px;
    margin-right: 3px;
}

.header-nav li a {
    display: block;
    background-color: #ffffff;
    color: #000000;
    text-decoration: none;
    border-radius: 10px 10px 0 0;
    padding: 3px 30px 3px;
}

.header-nav li a:hover {
    background-color: #23d828;
}

.header-nav .nav-active {
    color: #ffffff;
    background-color: #23d828;
}

.header-nav-content {
    width: 100%;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #28d828;
}

.header-nav-text {
    max-width: 1000px;
    width: 100%;
    display: flex;
    align-items: center;
}

.header-nav-content p {
    max-width: 1000px;
    margin: 0;
    margin-left: 20px;
    color: #ffffff;
    font-size: 0.9em;
}

.header-nav-text a {
    color: #ffffff;
    text-decoration: none;
}
.header-nav-text a:hover {color: #d5f406;}
.header-nav-text a:active {color: #9eb603;}




/* main */
.main-wrapper {
    min-height: 1600px;
    max-width: 1000px;
    width: 100%;
    margin: 0 20px 0 20px;
    justify-content: center;
}

.main-content-box {
    border: 1px solid #424242;
    border-radius: 3px;
}
.main-content-inner {
    width: 100%;
    height: 100%;
    padding: 2px;
    margin: 0;
}

h2 {
    color: #ffffff;
    background-color: #28d828;
    font-size: 16px;
    height: 25px;
    padding-left: 5px;
    margin: 0;
    display: flex;
    align-items: center;
}

.ads-center {
    text-align: center;
    margin: 30px;
}



/* footer */
.footer {
    height: 80px;
    margin-bottom: 0;
}

.footer-wrapper {
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    width: 100%;
    margin: 0 20px 0 20px;
}

.footer-wrapper a {
text-decoration: none;
}

.footer-site-menu {
    margin-top: 10px;
}

.footer-site-menu a {
    color: #ffffff;
    font-size: 0.9em;
}
.footer-site-menu a:hover {color: #ce54c8;}
.footer-site-menu a:active {color: #ac46a7;}


.copyright p {
    color: #4b4b4b;
    margin-bottom: 5px;
}

.copyright a {color: #ffffff;}
.copyright a:hover {color: #ce54c8;}
.copyright a:active {color: #ac46a7;}



@media (max-width: 800px) {

    /* header */
    .header-inner {
        height: 150px;
        flex-direction: column-reverse;
        align-items: center;
    }

    .header-right-side {
        width: 100%;
        margin-top: 15px;
        text-align: center;
    }
    .header-search {
        width: 100%;
    }
    .header-search form {
        width: 100%;
        display: flex;
    }
    .header-search input {
        width: 100%;
        box-sizing: border-box;
    }

    .header-nav {
        height: 100px;
    }
    .header-nav ul {
        flex-wrap: wrap;
        float: left;
    }
    .header-nav li a {
        border-radius: 0px;
    }
    .main-wrapper {
		margin: 0 5px 0 5px;
	}
}
