@font-face {
    font-family: 'continuummedium';
    src: url('continuummedium.ttf');
}

html, body{
    min-height: 100vh;
    margin: 0;
    font-family: 'Lato', sans-serif;
	background-color: white;
	text-align: center;
	cursor: default;
}

.full {
	height:100%;
	width:100%;
}

.invert {
	-webkit-filter: grayscale(1) invert(1);
    filter: grayscale(1) invert(1);
}

.none:hover {
	pointer-events:auto;
}
.none:active {
	pointer-events:none;
}

.pad4 {
	padding: 4px;
}

.main-color {
	background-color: rgba(0,0,0,0.8);
	font: continuummedium;
	text-align:center;
	color: rgba(192,128,64,0.8);
	border: 2px solid rgba(192,128,64,0.8);
	border-radius: 4px;
}
.main-color > .click:hover {
	background-color: rgba(64,32,0,0.8);
}

.main-color-basic {
	background-color: rgba(0,0,0,0.8);
	font: continuummedium;
	color: rgba(192,128,64,0.8);
}

.main-color {
	background-color: rgba(0,0,0,0.8);
	font: continuummedium;
	text-align:center;
	color: rgba(192,128,64,0.8);
	border: 2px solid rgba(192,128,64,0.8);
	border-radius: 4px;
}

.button {
	user-select: none;
	background-color: rgba(32,16,0,0.8);
	font: continuummedium;
	text-align:center;
	color: rgba(255,160,64,0.8);
	border: 2px solid rgba(255,160,64,0.8);
	border-radius: 4px;
}
.button > .click:hover {
	background-color: rgba(64,32,0,0.8);
}

/* ========= NEW STYLE ============ */

hr {
	margin: 32px 0;
}

h1 {
	color: #444;
}
h2 {
	color: #888;
	font-size: 16px;
	margin-top: -16px;
}

.header {
	top: 0;
	position: absolute;
	width: 100%;
	height: 350px;
}
.header > .back {
	z-index: 0;
	right: 0;
    width: 1920px;
	background-image: url(../img/header-quaggan.jpg);
}
.header > .front {
	z-index: 5;
	left: 0;
	background-repeat-x: repeat;
	background-image: url(../img/header.png);
}
.title {
	position: absolute;
	z-index: 10; 
	color: transparent;
	-webkit-background-clip: text;
	background-clip: text;
}
.main {
	left: 50px;
	top: 50px;
	font-weight: 800;
	font-size: 36px; 
	background-image: linear-gradient(to right, #7C0964, #CE0D5E, #7C0964);
}
.sub {
	left: 240px;
	top: 100px;
	font-weight: 800;
	font-size: 20px; 
	background-image: linear-gradient(to right, #BBB, #EEE, #BBB);
}
.blue {
	background-color: #102429;
}
@media screen and (max-width: 650px) {
	.sub {
		visibility: hidden;
	}
}


.navbar {
	width: 100%;
	/*height: 64px;*/
	background-color: white;
	text-align: center;
	overflow: auto;
}
.menu {
	width: 200px;
	height: 32px;
	padding: 16px;
	font-size: 20px;
	font-weight: 800;
	float: left;
	cursor: pointer;
	user-select: none;
	color: #888;
	background-color: white;
    transition: color 0.5s ease-in-out;
    transition: background-color 0.5s ease-in-out;
}
.menu:hover {
	color: #CE0D5E;
	background-color: #888;
    transition: color 0.5s ease-in-out;
    transition: background-color 0.5s ease-in-out;
}
.login {
	float: left;
}
@media screen and (min-width: 1489px) {
	#menu_index {
		margin-left: calc(((100% - 1488px) / 2) + 275px);
	}
}
@media screen and (min-width: 1209px) and (max-width: 1488px) {
	#menu_index {
		margin-left: calc(100% - 1213px);
	}
}
@media screen and (max-width: 1208px) {
	#menu_index {
		margin-left: 0;
	}
}
#menu_login {
	padding: 0;
	right: 0;
	height: 64px;
	width: 280px;
	float: right;
}
#login_avatar {
	width: 64px;
	margin-right: 16px;
    border-radius: 32px;
}
#login_user {
	padding: 16px;
	font-size: 20px;
	width: 168px;
	text-align: center;
}
#login_role {
	font-size: 12px;
	margin-top: -20px;
	width: 200px;
	text-align: center;
}

#info_text {
	outline: none;
	resize: none;
    font-size: 24px;
	color: #444;
    width: 740px;
  	overflow:hidden;
    margin-left: -60px;
    padding: 16px;
    border: none;
    border-radius: 16px;
    background-color: rgba(0,0,0,0.2);
}

.core {
	width: 100%;
	text-align: center;
}
.core_body {
	width: 800px;
	margin-left: calc(50% - 400px);
	display: none;
}
.core_body.large {
	width: 1024px;
	margin-left: calc(50% - 512px);
	display: none;
}
#info_valid {
	width: 60px;
    height: 60px;
    background: url(../img/plus60.png);
    background-color: white;
    border-radius: 16px;
    margin-left: calc(50% + 340px);
    margin-top: -60px;
    z-index: 15;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}
#info_valid:hover {
    background-color: #CE0D5E;
    transition: background-color 0.2s ease-in-out;
}

#quag_text {
	outline: none;
	resize: none;
    font-size: 24px;
	color: #444;
    width: 680px;
  	overflow:hidden;
    margin-left: -120px;
    padding: 16px;
    border: none;
    border-radius: 16px;
    background-color: rgba(0,0,0,0.2);
}
#quag_valid {
	width: 60px;
    height: 60px;
    background: url(../img/plus60.png);
    background-color: white;
    border-radius: 16px;
    margin-left: calc(50% + 280px);
    margin-top: -60px;
    z-index: 15;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}
#quag_valid:hover {
    background-color: #CE0D5E;
    transition: background-color 0.2s ease-in-out;
}
#quag_image {
	width: 60px;
    height: 60px;
    background: url(../img/upload60.png);
    background-color: white;
    border-radius: 16px;
    margin-left: calc(50% + 340px);
    margin-top: -60px;
    z-index: 15;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}
#quag_image:hover {
    background-color: #CE0D5E;
    transition: background-color 0.2s ease-in-out;
}

.avatarinfo {
	float: left;
    border-radius: 32px;
}
.authorinfo {
	float: left;
	margin: 0 32px;
	color: #444;
}
.timeinfo {
	float: left;
	margin: 4px 0 0 16px;
	color: #AAA;
}
.deleteinfo {
	float: right;
	width: 16px;
    height: 16px;
	margin: 4px 16px 0 0;
	opacity: 0.5;
    cursor: pointer;
}
.messageinfo {
	outline: none;
	resize: none;
  	overflow:hidden;
	width: 720px;
	margin: 8px;
    font-size: 20px;
	color: #444;
    padding: 8px;
    border: none;
    background-color: transparent;
}
.holderinfo {
	width: 720px;
	max-height: 500px;
    padding: 24px 8px 8px 72px;
    border: none;
    background-color: transparent;
}
.imageinfo {
    max-width: 100%;
    max-height: inherit;
}
.descinfo {
    max-width: 100%;
    text-align: right;
    margin: 0 8px 8px 80px;
    font-style: italic;
	color: #AAA;
}

.input_holder {
	float: left;
    width: 240px;
    margin: 8px 20px;
    font-size: 20px;
}
.input_holder.large {
	width: 520px;
}
.label {
	width: 100%;
	font-weight: 600;
	color: #888;
}
#plan_date {
	cursor: pointer;
}
.input {
	width: 100%;
    height: 24px;
    font-weight: 600;
    font-size: 16px;
    color: #444;
    border-radius: 4px;
    border: none;
    background-color: rgba(0,0,0,0.2);
    text-align: center;
	text-align-last: center;
}
.button {
	border-radius: 0;
	border: none;
	width: 200px;
	height: 28px;
	padding: 8px;
	font-size: 24px;
    line-height: 24px;
	font-weight: 800;
	margin: 0 12px;
	cursor: pointer;
	color: #888;
	background-color: white;
    transition: color 0.5s ease-in-out;
    transition: background-color 0.5s ease-in-out;
}
.button:hover {
	color: #CE0D5E;
	background-color: #888;
    transition: color 0.5s ease-in-out;
    transition: background-color 0.5s ease-in-out;
}


.mask {
	position: fixed;
	z-index: 100;
    min-height: 100vh;
    width: 100%;
	margin: 0;
    top: 0;
    background-color: rgba(0,0,0,0.5);
    opacity: 1;
}
/*.mask:hover {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}*/

.range-labels {
	list-style-type: none;
	margin-top: 40px;
	padding: 0 16px;
}

.range-labels li {
	user-select: none;
    position: relative;
    float: left;
    width: 94px;
    font-weight: 600;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    color: #b2b2b2;
}

.range-labels li::before {
    position: absolute;
    top: -25px;
    right: 0;
    left: 0;
    content: "";
    margin: 0 auto;
    width: 9px;
    height: 9px;
    background: #b2b2b2;
    border-radius: 50%;
}
.range-labels .selected::before {
	background: #CE0D5E;
}
.range-labels .selected {
	color: #CE0D5E;
}
.range-bar {
	position: absolute;
	height: 9px;
    border-radius: 4px;
    top: 81px;
    left: 60px;
	background: #CE0D5E;
}

/* ======== POPUP STYLE ======== */

.popup {
	position: absolute;
	top: 200px;
	left: 100px;
	color: #888;
	width: 480px;
	border-radius: 4px;
	background: white;
	z-index: 50;
	box-shadow: 4px 4px 16px rgba(0,0,0,0.1);
	pointer-events: none;
}

.popup_tile {
	position: relative;
	float: left;
	height: 24px;
	line-height: 24px;
	font-size: 16px;
	font-weight: 600;
}

.popup_box {
	position: relative;
	float: left;
	width: 64px;
	height: 80px;
}

.popup_img {
    width: 48px;
    height: 48px;
    padding: 8px;
    border-radius: 32px;
}

.popup_div {
	height: 16px;
	line-height: 12px;
	font-size: 10px;
	font-weight: 600;
}

.popup_title {
	color: rgba(255,255,255,0.4);
	border-radius: 4px 4px 0 0;
	background: #888;
	height: 48px;
	width: 480px;
	margin-bottom: 16px;
	line-height: 48px;
}

.popup_text {
	width: 480px;
	height: auto;
	min-height: 32px;
}

.popup_players {
	width: 448px;
	height: 80px;
    padding: 0 16px;
}

.popup_small {
	width: 240px;
}

.popup_info {
    content: "";
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    top: 44px;
    opacity: 0.6;
}

.popup_short {
    background: url("../img/short20.png") no-repeat;
    left: 0;
}

.popup_delay {
    background: url("../img/delay20.png") no-repeat;
    left: 44px;
}

.popup_hr {
    visibility: hidden;
    margin: 8px 0 16px 0;
}

/* ======== TUTORIAL STYLE ========= */

@import url('https://fonts.googleapis.com/css?family=Lato:400,700');


a {
    color: #FFFFFF;
    text-decoration: none;
}

.block {
	background: #23272A;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
	justify-content: center;
	align-items: center;
	width: 350px;
	border-radius: 5px;
	box-shadow: 0 1px 10px rgba(0,0,0,0.1);
}

.block__large {
	position: absolute;
	background: #FFFFFF;
	width: 600px;
	height: 224px;
	top: 50%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
	border-radius: 5px;
	box-shadow: 0 1px 10px rgba(0,0,0,0.1);
}

.block__edit {
	position: absolute;
	background: #FFFFFF;
	width: 560px;
	height: 320px;
	top: 50%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
	border-radius: 5px;
	box-shadow: 0 1px 10px rgba(0,0,0,0.1);
}

.block__header {
    padding: 24px;
    border-radius: 5px 5px 0 0;
    background: #7289DA;
    color: rgba(255,255,255,0.4);
    font-size: 16px;
    /*text-transform: uppercase;*/
    font-weight: 700;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.block__body {
    width: 100%;
    background: #2C2F33;
    border-radius: 0 0 5px 5px;
    margin-top: -20px;
    padding: 20px 0;
}

.block__footer {
    margin-top: 10px;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

.middle {
	margin: 8px 59px;
}

.login_button {
    text-decoration: none;
    display: block;
    line-height: 35px;
    padding: 0 21px;
    margin: 30px;
    background: #7289DA;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 16px;
}

.login_button:hover {
    background: #697ec4;
}

/* ========= CUSTOM CHECKBOX ======== */

/* Customize the label (the container) */
.checkholder {
	width: 158px;
	display: block;
	float: left;
	position: relative;
	padding-left: 32px;
	padding-right: 8px;
	margin-top: 6px;
	margin-bottom: 12px;
	cursor: pointer;
    color: #b2b2b2;
	font-size: 16px;
    font-weight: 600;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* Hide the browser's default checkbox */
.checkholder input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 8px;
  left: 4px;
  height: 20px;
  width: 20px;
  border-radius: 10px;
  background-color: #eee;
}

/* On mouse-over, add a grey background color */
.checkholder:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.checkholder input:checked ~ .checkmark {
  background-color: #CE0D5E;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.checkholder input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.checkholder .checkmark:after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* ========= NICE SCCROLLBAR ======== */

.ScrollStyle::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 10px;
	background-color: #444444;
}

.ScrollStyle::-webkit-scrollbar
{
	width: 12px;
	background-color: #444444;
}

.ScrollStyle::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #888888;
}

.ScrollShadow {
    overflow-x:hidden;
    overflow-y:scroll;
 }
.ScrollShadow::-webkit-scrollbar {
    width:12px;
}
.ScrollShadow::-webkit-scrollbar * {
    background:transparent; 
 }
.ScrollShadow::-webkit-scrollbar-thumb {
    background:rgba(255,255,255,0.2) !important;
}