/* fonts */
@font-face {
    font-family: UbuntuR;
    src: url("/fonts/Ubuntu-R.ttf");
}
/* reset */
body, p, ul, button, input, figure {
    margin: 0;
    padding: 0;
    line-height: 1;
    font: 14px UbuntuR;
}

main {
    display: block;
    padding: 10px 0 0 0;
}

div {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

use {
     pointer-events: none;
}

button::-moz-focus-inner {
    border: 0;
}

button {
    outline: none;
}
/* header */
header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 1px 0 0 #777;
}

header > .content {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 320px;
    width: 100%;
    margin: 0 auto;
}
/* mobile */
#mobileNav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    border: 1px solid #000;
    border-left: none;
    width: 200px;
    height: 100%;
    background-color: #fff;
}

#mobileNavClose {
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: flex-end;
    position: relative;
    margin: 5px;
    border: none;
    padding: 0px;
    width: 30px;
    height: 30px;
	cursor: pointer;
}

#mobileNavOpen {
    display: none;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 0px;
    width: 30px;
    height: 30px;
    background-color: #fff;
    cursor: pointer;
}

.mobileNavList {
    padding-left: 5px;
}

#mobileProfileMenuLink {
    height: 30px;
    text-decoration: none;
    color: #777;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

#mobileProfileMenuLink:hover {
    color: #000;
    text-decoration: underline;
}

#banner { 
    display: block;
    margin: 5px 20px 5px 5px;
    cursor: pointer;
}

#profileMenu {
    display: flex;
    align-items: center;
    position: relative;
    margin-left: auto; 
    margin-right: 5px;
}

#profileMenuName {
    display: flex;
    align-items: center;
    height: 30px;
    color: #777;
}

#profileMenuName:hover {
    color: #000;
    text-decoration: underline;
    cursor: pointer;
}

#profileMenuList {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 30px;
    right: 0;
    padding: 5px;
    background-color: #fff;
    box-shadow: 0 0 0 1px #000;
    list-style-type: none;
}

#profileMenuLink {
    height: 30px;
    text-align: right;
    text-decoration: none;
    color: #777;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

#profileMenuLink:hover {
    color: #000;
}
/* nav */
nav {
    background-color: #fff;
}

.navList {
    display: flex;
    list-style: none;
    font-weight: bold;
}

.navListItem {
    display: flex;
    margin: 0 5px;
    align-items: center;
    height: 30px;    
}

#navBookmarksNew {
    margin: 5px 0 0;
    width: 30px;
    height: 24px;
    border: none;
}

#navBookmarksNewImage {
    width: 20px;
    height: 20px;
}

#navBookmarksNewImageE1,
#navBookmarksNewImageE2 {
    fill: #777;
}

#navBookmarksNew:hover #navBookmarksNewImageE1,
#navBookmarksNew:hover #navBookmarksNewImageE2 {
    fill: #000;
}

/* footer */
footer {
    width: 100%;
    height: 50px;
}

footer > p {
    text-align: center;
}

/* < Modal Window */
#modalGrid {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
	top: 50px;
	left: 0;
    z-index: 9;
    margin-top: -50px;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
}

#modalWindow {
    border: 1px solid #000;
    width: 300px;
    background-color: #fff;
}

#modalWindowHeader {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 30px;
}

#modalWindowClose {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background-color: #fff;
}

#modalWindowStatus {
    margin: 15px;
    text-align: center;
    color: #f00;
}
/* > Modal Window */

/* #notification */
#notice {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 5px;
    left: 5px;
    padding: 0 5px;
    height: 30px;
    background-color: #f99;
    box-shadow: 0 0 2px 0 #000;
    border-radius: 5px;
}
/* load */
#load {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    height: 2px;
    background-color: #900;
    transition: width 500ms;
}

/* scrollbar */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
 
::-webkit-scrollbar-thumb {
    background: #888; 
}

::-webkit-scrollbar-thumb:hover {
    background: #555; 
}

/* resize */
@media screen and (max-width: 4479px) {
	.content {
		width: 3720px;
	}
}

@media screen and (max-width: 4159px) {
	.content {
		width: 3410px;
	}
}

@media screen and (max-width: 3839px) {
	.content {
		width: 3100px;
	}
}

@media screen and (max-width: 3519px) {
	.content {
		width: 2790px;
	}
}

@media screen and (max-width: 3199px) {
	.content {
		width: 2480px;
	}
}

@media screen and (max-width: 2879px) {
	.content {
		width: 2170px;
	}
}

@media screen and (max-width: 2559px) {
	.content {
		width: 1860px;
	}
}

@media screen and (max-width: 1919px) {
	.content {
		width: 1550px;
	}
}

@media screen and (max-width: 1599px) {
	.content {
		width: 1240px;
	}
	
	.tabs {
        width: 500px;
    }
}

@media screen and (max-width: 1279px) {
	.content {
		width: 930px;
	}
}

@media screen and (max-width: 959px) {
	.content {
		width: 620px;
	}
	
	.tabs {
        width: 300px;
    }
    
    #mobileNavOpen  {
        display: block;
    }
    
    header > .content {
        justify-content: space-between;
    }
    
    nav {
        display: none;
    }
    
    #profileMenu {
        display: none;
    }
}

@media screen and (max-width: 639px) {
	.content {
		width: 310px;
	}
}