/*

    Miiverunity website CSS
    Uses the MicroSE Web Framework version 0.x


*/

html, body {
    margin: 0;
    padding: 0;
    font-family: arial, helvetica, 'Liberation Sans', sans-serif;
}


header {
    position: relative;
    height: 90px;
    border-bottom: 5px solid #007BC8;
    top: 0;
    left: 0;
    right: 0;
}

.floatLeft { 
    float: left;
}

.floatRight {
    float: right;
}

.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.logo {
    display: block;
    width: 208px;
    height: 60px;
    background-image: url(../images/Miiverunity.png);
}

.selectedLanguage {
    font-weight: bold;
}


footer {
    height: 90px;
    border-top: 2px solid #BCBCBC;
    margin-top: 15px;
    position: relative;
    padding: 5px;
}

#bottombar  {
    height: 20px;
    line-height:  20px;  
    margin-left: auto;
    margin-right: auto;
}

#bottombar #logo_bw {
    background-image: url(../images/Miiverunity_bw.png);
    background-size: 104px 30px;
    width: 104px;
    height: 30px;
    float: left;
    display: inline-block;
}

.footerTitle {
    font-size: 18px;
    line-height: 50px;
    font-weight: bold;
    float: left;
}

#bottombar a {
    text-decoration: none;
    color: #333;
}

#bottombar #bottomBarPages, #bottombar #lang {
    text-align: right;
    padding-bottom: 5px;
    padding-top: 5px;
}

#bottombar #bottomBarPages a {
    color: #00236C;
}

#bottombar a:hover {
    text-decoration: underline;
}

#bottombar .copyright {
    font-style: italic;
    color: #999999;
}

.body {

    padding: 25px;
    color: #333;    
    text-align: center;    
    font-size: 28px;
}

.body.bold {
    font-weight: bold;
}

.copyright {
    font-size: small;
    font-style: italic;
}

.smallcontent {
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.msef-textbox {
    padding: 5px;
    border: 1px solid #333;
    border-radius: 5px;   
    padding-left: 30px;
    background-image: url(../images/miiverse.png);
    background-size: 25px 22px;
    background-repeat: no-repeat;
    background-position-y: 3px;
    background-position-x: 3px;    
    margin-left: auto;
    margin-right: auto;    
}

.msef-textbox.active {
    border-color: #339900;
    box-shadow: 0px 0px 5px 2px #73d649;
}

.msef-textbox input {
    border: none;
    width: 100%;
    outline: none;
}

textarea {
    width: 500px;
    height: 200px;
    resize: none;
}


/*
    Input boxes
*/

.error_box {
    background-color: #ff6666 !important;
    color: white;
    text-align: center;
}

.success_box {
    background-color: #ABD679 !important;
    text-align: center;
}

.box_div, .widebox_div, .maxbox_div {
    margin: 15px;
    width: 310px;
    border: 1px solid #dddede;
    background-color: #edeeee;
    padding: 10px;
    border-radius: 2px;
    margin-left: auto;
    margin-right: auto;
}

.widebox_div {
    width: 700px;
}

.maxbox_div {
    width: auto;
}


.widebox_div .box_line textarea {
    width: 535px;
    height: 80px;  
    border: 1px solid #C5C5C5;
    resize: none;
    padding: 5px;
}

.widebox_div .box_line input#txtTitle {
    width: 535px;
    padding: 5px;
    border: 1px solid #C5C5C5;
}

.box_div .box_line input[type="text"], 
.box_div .box_line input[type="password"], 
.box_div .box_line input[type="email"] {
    width: 150px;
    height: 15px;
}

.titleBar, .headerBar {    
    font-size: 1.8em;
    text-align: center;
    margin-bottom: 2px;
}

.subTitle {
    font-size: 1.2em;
    text-align: center;
}

.headerBar
{
    margin-top: 5px;
}

.box_line {
    margin-top: 5px;
    margin-bottom: 5px;
}

.box_line label:not(.autowidth) {
    width: 125px;
    display: inline-block;
    vertical-align: top;
}

.box_line_center {
    text-align: center;
}
/*
    End of boxes
*/

/** Menu's  */


.subMenu {
    display: none;
    position: absolute;
    background-color: white;
    z-index: 100;
    border-bottom: 5px solid;
    border-left: 5px solid;
    border-right: 5px solid;
    border-color: #007BC8;
}

.menuBar {
    position: relative;
    clear: both;
    height: 30px;   
}

/*nav.fixed .menuBar {
    position: fixed;
    top: 0px;
    box-shadow: 0 3px 2px 0px #666;
    padding-left: 100px;
    background-color: white;
    z-index: 200;
    width: 890px;
    background-image: url('../images/microse_100.png');
    background-size: 100px 29px;
    background-repeat: no-repeat;
    opacity: 0.85;
}

nav.fixed .menuBar .subMenu {
    box-shadow: 2px 2px 3px #666, -2px 2px 3px #666;
}*/

.menuItem {
    display: inline-block;
    width: 90px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    text-decoration: none;
    color: #00236C;
}

.subMenuItem {
    width: 86px;
    display: block;
    height: 30px;
    line-height: 30px;
    text-align: center;
    text-decoration: none;
    color: #00236C;
}

.menuItem:hover, .menuItem.active {
    font-weight: bold;
    height: 30px;
}

.menuItem.color {
    color: #fff;    
}

.subMenuItem:hover {
    font-weight: bold;
    height: 29px;
}

.menuItem.active {
    border-bottom-color: #003FC1;
}


.topLinks {
    line-height: 34px;
    padding-bottom: 34px;
}

.actionLinks {
    float: right;
    display: inline-block;

    margin-left: auto;
    font-size: smaller;
}

.actionLinks a {
    color: #666666;
    text-decoration: none;
}

.actionLinks a:not(:last-child):after {
    content: " | ";
    color: #666;
}

.actionLinks a:hover {
    color: #3366ff;    
}


.siteBreadcrumb {
    float: left;
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: smaller;
    line-height: 16px;
    display: inline-block;
}


.siteBreadcrumb .crumb {
    margin-left: 2px;    
    margin-right: 2px;
    color: #666666;
}

.siteBreadcrumb .crumb.home a:before {
    content: " ";
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAWdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjA76PVpAAAARUlEQVQoU2OgBvAF4v8QJmEAU0yUJpgiNTCPgCZkxdjYKACbAhjGqgmXYhjGqgmXYhgGaUIByBpAkug2EtQAAgOigYEBAPWXM/pIoxnlAAAAAElFTkSuQmCC');
    width: 12px;
    height: 12px;
    margin-right: 2px;
    display: inline-block;
}

.siteBreadcrumb .crumb:after {
    content: " \00BB";
}

.siteBreadcrumb .crumb a {
    text-decoration: none;
    color: #666666;
}

.siteBreadcrumb .crumb a:hover {
    color: #3366ff;
}

/* do not group these rules */
*::-webkit-input-placeholder {
    color: #5DD200;
}
*:-moz-placeholder {
    /* FF 4-18 */
    color: #5DD200;
}
*::-moz-placeholder {
    /* FF 19+ */
    color: #5DD200;
}
*:-ms-input-placeholder {
    /* IE 10+ */
    color: #5DD200;
}

.msef-textbox {        
    width: 400px;
}

.div_centered, .div_welcome {
    padding: 10px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* PC etc */
@media screen and (min-width: 1000px) {

    .div_leftbox {
        width: 50%;
        float: left;
    }

    nav, .topBar {
        height: 60px;
        position: relative;
        margin-right: auto;
        margin-left: auto;
        width: 1000px;
    }

    nav  {
        height: 30px;
        line-height: 30px;
    }

    #bottombar {
        width: 1000px;
    }

    .smallcontent {
        width: 500px;
        padding: 15px;
    }

    .show3ds {
        display: none;
    }

    #siteContent {
        width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }

}

/* (New) 3DS */
@media screen and (min-width: 320px) and (max-width: 320px) {

    #bottombar {
        width: 300px;
    }

    .msef-textbox {        
        width: 200px;
    }

    .hide3ds {
        display: none;
    }

    .show3ds {
        display: inline;
    }

    .body {
        font-size: 18px;
    }

    .box_div, .widebox_div {
        width: 250px;
    }


    .menuBar {
        font-size: 10px;
    }

    .menuItem {
        width: 70px;
    }

    body, #siteContent, .smallcontent {
        width: 320px;
    }

}
