﻿*
{
    box-sizing: border-box;
    
    margin: 0;
    padding: 0;
    outline: none;

    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
}

body
{
    font-family: sans-serif;
    font-weight: normal;
    font-size: 15px;

    background-color: #404040;
}

div.WDO_Modal
{
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.5);
	background-image: url(/wdo/css/shader.png)\9;
	z-index: 1000;	
	display: none;
	top: 0;
	left: 0;
}

div.WDO_Modal hr
{
	clear: both;
	line-height: 2px;
	border: none;
	background-color: #a0a0a0;
	margin: 10px 0 10px 0;
}

div.WDO_Cell
{
	width: 100%;
	height: 100%;
	
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

div.WDO_MessageBox
{
	border: solid 1px #000000;
	padding: 20px 20px 20px 20px;
	background-color: #ffffff;
	min-width: 300px;
	min-height: 100px;
	margin: auto;
	box-shadow: 0 0 10px rgba(0,0,0,1.0);
	/*filter: progid:DXImageTransform.Microsoft.Shadow(color='#606060', Direction=150, Strength=5)\9;*/
	border-radius: 16px;
	display: inline-block;
	line-height: 20px;
	font-size: 12px;
	position: relative;
	text-align: left;
}

div.WDO_MessageBox a
{
	text-decoration: none;
}

div.WDO_MessageBox input
{
	color: #404040;
	border: solid 1px #a0a0a0;
	background-color: #f0f0f0;
	padding: 2px 4px 2px 4px;
	margin: 0 0 2px 0;
	width: 300px;
	font-size: 12px;
	line-height: 12px;
	text-rendering: optimizeSpeed;
}

div.WDO_MessageBox.Closable
{
	padding-top: 10px;
}

div.WDO_MessageBox h3,
div.WDO_MessageBox span.Title
{
	color: #404040;
	font-size: 24px;
	line-height: 50px;
	margin: 0;
	font-weight: 200;
}

div.WDO_MessageBox p
{
	margin-top: 20px;
	font-size: 12px;
	color: #606060;
}

div.MessageBox a.CloseBut
{
	position: absolute;
	right: 20px;
	top: 10px;
}

div.WDO_MessageBox a.ConfirmBut
{
	background-image: url(./Save_but.png);
	width: 36px;
	height: 36px;
	float: right;
	margin-right: 4px;
}


a.OnOff
{
	background-repeat: repeat-y;
	background-position: 0 middle;
	background-color: transparent;
	border: none;
	text-decoration: none;
	color: #000000;
	background-image: url(./YesNo_but.png);
	padding: 0px 0 0 75px;
	height: 30px;
	margin: 0;
	font-size: 12px;
	line-height: 35px;
	display: block;
	text-align: right;
}
/*
a.OnOff:focus
{
	box-shadow: 0 0 10px rgba(255,112,0,0.8);
}
*/
a.checked
{
	background-position: 0 -100%;
}

div#SendPswd { display: none; }

a.PswdBut
{
	font-size: 11px;
	padding-top: 16px;
	display: inline-block;
	color: #606060;
}

a.LoginBut
{
	width: auto;
	padding: 0 16px 0 16px;
	height: 24px;
	background-color: #202020;
	border-radius: 12px;
	text-align: center;
	line-height: 22px;
	color: #c0c0c0;
	float: right;
	margin-top: 8px;
}

a.LoginBut:hover
{
	background-color: #f08020;
	color: #ffffff;
}

div#Login,
div#Lockin,
div#Profile
{
	z-index: 10000;
}


div#LoginForm h3
{
	margin: 10px 0 10px 0;
	text-align: center;
	font-size: 12px;
}

div#Profile
{
	display: none;
}

div.Loader
{
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background-color: rgba(0, 0, 0, 0.6);
	opacity: 0.0;
	z-index: 10;
	background-image: url(./spin.svg);
	background-position: center center;
	background-repeat: no-repeat;
	transition: opacity linear 0.5s;
	cursor: wait;
}

div.Loader.Shown
{
	opacity: 1.0;
	transition: opacity linear 0.5s;
}


div.Calendar
{
    display: table;
    width: auto;
    border-spacing: 8px;
    margin: 50px auto;
	background-color: #ffffff;
    border: solid 4px #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 1);
	min-width: 772px;
	min-height: 5632px;
}

div.Calendar > h1
{
	display: table-caption;
    color: #ffffff;
    font-size: 30px;
    line-height: 50px;
}

div.Week
{
    display: table-row;
}

div.Day
{
    position: relative;
    display: table-cell;
    /*border: solid 1px #404040;*/
    background-color: #576a79;
    text-align: center;
    line-height: 100px;
    font-size: 32px;
    width: 100px;
    height: 100px;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    color: #ffffff;
    cursor: pointer;
}

div.Day.Weight2
{
    background-color: #9c9440;
}

div.Day.Dummy
{
    opacity: 0.25;
    cursor: not-allowed;
}

div.Day.Free
{
    opacity: 0.5;
}

div.Day.Option
{
    opacity: 0.8;
}

div.Day.Dummy h3,
div.Day.Free h3
{
    display: none;
}

div.Day.Option h3
{
    opacity: 0.5;
}

div.Day h2
{
    position: absolute;
    top: 0;
    left: 0;
    line-height: 20px;
    background-color: #ffffff;
    display: block;
    width: calc(100% - 8px);
    font-size: 12px;
    color: #202020;
    margin: 4px;
    border-radius: 4px;
}

div.Day h3,
div.Day h4
{
    position: absolute;
    bottom: 0;
    left: 0;
    line-height: 18px;
    background-color: #ffffff;
    display: block;
    width: calc(100% - 8px);
    font-size: 12px;
    color: #202020;
    margin: 4px;
    border-radius: 4px;
	z-index: 2;
}

div.Day h4
{
    position: absolute;
    bottom: 0;
    left: 0;
    line-height: 18px;
    background-color: transparent;
    display: block;
    width: calc(100% - 8px);
    font-size: 12px;
    color: #c0c0c0;
    margin: 4px;
    border-radius: 4px;
	z-index: 1;
}

div.Day.Weight2 h4
{
    color: #e0e0e0;
}

div.Day.Option h3
{
    opacity: 0.5;
}

div.Day.Option h4
{
    display: none;
}

div.Day span
{
    display: block;
    line-height: 10px;
    font-size: 10px;
    position: absolute;
    top: 65px;
    left: 0;
    text-align: center;
    width: 100%;
    opacity: 0.75;
}

ul.UsersList
{
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: #f8f8f8;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    border-top-right-radius: 8px;
    overflow: hidden;
    font-size: 12px;
    line-height: 24px;
    max-height: 40px;
    transition: all ease-in-out 1s;
	z-index: 100;
}

ul.UsersList:hover
{
    max-height: 1000px;
    transition: all ease-in-out 1s;
}

ul.UsersList li
{
    padding: 4px 50px 4px 10px;
    cursor: pointer;
	position: relative;
}

ul.UsersList li:first-child
{
    background-color: #ffd080; font-weight: bold; color: #404040; line-height: 30px; font-size: 14px;
}

ul.UsersList li span
{
    display: block;
    width: 20px;
    height: 20px;
    background-color: #0000a0;
    color: #ffffff;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    border-radius: 10px;
    position: absolute;
    top: 6px;
    right: 10px;
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
	opacity: 0.5;
}

ul.UsersList li:hover
{
	background-color: #e0e0e0;
	box-shadow: 0 0px 3px rgba(0, 0, 0, 0.8);
}

ul.UsersList li:hover span
{
	opacity: 1.0;
}

div.OwnedSign,
div.OptedSign,
div.FriendSign
{
	position: absolute;
	background-color: #60c060;
	width: 20px;
	height: 20px;
	border-radius: 10px;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
	top: 40px;
	right: 8px;
	color: #ffffff;
	line-height: 20px;
	text-align: center;
	font-size: 14px;
	display: none;
}

div.OptedSign
{
	background-color: #f08000;
}

div.FriendSign
{
	background-color: #4040f0;
	right: auto;
	left: 8px;
}

div#UsersInfo
{
	position: fixed;
	z-index:1;
	top: 0;
	left: 0;
	min-width: 240px;
}

div#UsersInfo > div
{
	background-color: #ffffff;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
	border-radius: 8px;
	padding: 16px;
	margin: 8px;
	cursor: zoom-out;
}

div#UsersInfo > div h1
{
	font-size: 20px;
	line-height: 30px;
}

div#UsersInfo > div h2,
div#UsersInfo > div h3
{
	color: #606060;
    font-size: 12px;
    line-height: 20px;
}

div#UsersInfo > div h4
{
	font-size: 12px;
	color: #a0a0a0;
	margin-top: 10px;
}

div#UsersInfo div.Weight1,
div#UsersInfo div.Weight2
{
	background-color: #8d9fad;
	padding: 4px 8px;
	color: #ffffff;
	font-size: 12px;
	margin: 4px 0;
	position: relative;
}

div#UsersInfo div.Weight1 > div,
div#UsersInfo div.Weight2 > div
{
	width: 0%;
	background-color: #9c9440;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	transition: all ease-in-out 1s;
}

div#UsersInfo div .Weight1 > div
{
	background-color: #576a79;
}

div#UsersInfo div.Weight1 > span,
div#UsersInfo div.Weight2 > span
{
	position: relative;
}

div#UsersInfo div .Weight2
{
	background-color: #d8cf70;
}

div.ForFriend
{
	position: absolute;
	top: 0;
	left: 0;
	opacity: 1;
	z-index: 10;
	background-color: #f00000;
	width: 100%;
	height: 100%;
	text-align: center;
	vertical-align: middle;
	font-size: 11px;
	line-height: 12px;
	cursor: pointer;
}