@font-face { 
	font-family: Michroma; 
	src: url("./fonts/Michroma/Michroma.ttf"); 
}

@font-face { 
	font-family: BlackJack; 
	src: url("./fonts/BlackJack/bradley.ttf"); 
}

@font-face { 
	font-family: OldEng; 
	src: url("./fonts/OldEng/OLDENGL.TTF"); 
}

@font-face { 
	font-family: Typewriter; 
	src: url("./fonts/Typewriter/TravelingTypewriter.ttf"); 
}

body {
    font-family: Arial;
    line-height: auto;
	margin: 0px;
	padding: 0px;
	}
	

.menuItem, .left_button, #main, #tabs, #right_side_bar,h1,h2,h3,h4,p {
	font-family: Arial;
	font-weight:400;
	}


.container {
	display: flex;
	flex-direction: column;
	height: 100vh;
	width: 100vw;
	margin: 0px;
	padding: 0px;
}

#top {
    position: relative;
	display: flex;
	background-color: #ff0000;
    height: 100px;
	width: 100%;
	flex-grow: 0;
	}
	
#mid {
    position: relative;
	width: 100%;
    height: 500px;
	display: flex;
	flex: 1 1 auto;
	background: url("./myImages/ui-bg_fine-grain_40_fbffed_60x60.png") repeat;
}

#bottom {
    position: relative;
	bottom:0;
    border-top: 1px solid #d4d4d4; 
    text-align: center;
	background: url("./myImages/ui-bg_fine-grain_40_fbffed_60x60.png") repeat;
	width: 100%;
	height: 50px;
	bottom: 0;
	flex-grow: 0;
}

#logo-area {
	position: relative;
	height: 100%;
	width: 35%;
	flex: 1 1 auto;
}

#langbar {
	position: absolute;
	left: 35%;
	z-index: 2;
	height: 40px;
	width: 57%;
	overflow-y: auto;
}

#langbar span {
	font-size: 0.8rem;
}

.lang-off {
	background-color: red;
	color: white;	
}

.lang-on {
	background-color: white;
	color: black;	
}

#langbar span:nth-child(odd) {
	font-style: bold;
	cursor: pointer;
	padding: 3px 2px;
}

#langbar span:nth-child(even) {
	color: white;
}

#menubar {
	position: relative;
	height: 100px;
	width: 57%;
	flex: 1 1 auto;
	display: flex;
}

#login-square {
	width: 8%;
	height: 100px;
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

#top {
	font-size: 0.6em;
}

@media (min-width:769px) and 
	(max-width:1280px) {
	#top {
		font-size: 1em;
	}
}
	
@media (min-width:1281px) {
	#top {
		font-size: 1.2em;
	}
}

/*	
#top-clickable-area > :nth-child(2), #top-clickable-area > :nth-child(4){
	width: 50px;
	height: 100px;
	flex: 0 1 auto;
	border: 1px solid #000;
}
*/
#logo {
	position: absolute;
	height: 70px;
	left: 10%;
	width: 90%;
	display: flex;
}
	
#logo-box1 {
	position: relative;
	height: 70px;
	width: 70px;
	flex: 0 1 auto;
}

#symbol	{
	position: absolute;
	height: 100%;
	width: 100%;
	top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
	}

#logo-box2 {
	position: relative;
	height: 70px;
	flex: 1 1 auto;
}

#logo-box2 h1{
	position: absolute;
	font-family: 'Michroma',Helvetica, sans-serif;
    font-size: 200%;
	line-height: 100%;
	color: #ffffff;
	text-shadow: 5px 5px #dd0000;
	top: 50%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
}	

#logo-line2{
	position: absolute;
	top: 70px;
	height: 26px;
	left: 15%;
	width: 85%;
}
	
#logo-line2 div { 
	position: relative;
	height: 100%;
	width: 100%;
}

#logo-line2 h4{
	position: absolute;
	color: white;
	font-size: 80%;
	text-shadow: 2px 2px #d00000;
	margin: 0;
	top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}	
#login-square > :nth-child(1) {
	height: 40px;
	width: 40px;
	}

#login-square > :nth-child(2) {
	height: 0;
	width: 0;
	position: relative;
	}

#login-icon {
	position: relative;
	height: 100%;
	width: 100%;
}

#login-icon:hover {
	top: -10%;
	left: -10%;
	height: 120%;
	width: 120%;
	cursor: pointer;
}

#login-popups {
	position: relative;
	width: auto;
	height: auto;
}

.login-icon-popup {
	position: absolute;
	padding: 6px 0;
	padding-bottom: 20px;
	-webkit-box-shadow: -8px 0px 5px -6px #dd0000;
	-moz-box-shadow: 	8px 0px 5px -6px #dd0000;
	-o-box-shadow: 8px 0px 5px -6px #dd0000;
	box-shadow: -5px 7px 5px -4px #555, -8px 10px 7px -4px #dd0000;
}

.login-icon-popup:first-child {
	z-index: 100;
	background: #e8e1c9;
	left: -200px;
	top: 0;
}

.login-icon-popup:nth-child(2) {
	z-index: 101;
	background: #ddd3b0;
	left: -280px;
	top: 40px;
	padding: 20px 10px;
}

.login-icon-popup:first-child > * {
	width: 120px;
}

.login-icon-popup:nth-child(2) > * {
	width: 140px;
}

.login-icon-popup .login-settings-block {
	margin: 10px;
}

.login-icon-popup .login-settings-block > h4 {
	margin: 6px 0px;
	font-size: 16px;
	line-height: 16px;
	font-weight: bold;
	color: #000;
	text-shadow: 0px 1px 1px #fff;	
}

.login-icon-popup:first-child h4 {
	text-align: center;
}

.login-icon-popup:first-child h4:hover {
	cursor: pointer;
	color: #dd3300;
}

.login-icon-popup .line {
  width: 100%;
  height:1px;
  background:#fff;
  border-top:solid 2px #000;
}

.login-icon-popup .line-length {
	width: 60%;
	margin-left: 20%;
	height:2px;
	background-color:#a00;
}

.login-icon-popup:nth-child(2) {
	-webkit-box-shadow: -8px 0px 5px -6px #999;
	-moz-box-shadow: 	8px 0px 5px -6px #999;
	-o-box-shadow: 8px 0px 5px -6px #999;
	box-shadow: -5px 7px 5px -4px #555, -8px 10px 7px -4px #999;
}

.cancel {
	z-index: 101;
	top: 2px;
	right: 2px;
	position: absolute;
}

.cancel img{
	width: 24px;
	height: 24px;
	cursor: pointer;
}

.radio-item{ 
	width: 100%;
	height: 20px;
	padding: 4px;
	cursor: pointer;
}

.radio-item > div:nth-child(1){ 
	width: 100px;
	height: 20px;
	margin-left: 10px;
	position: relative;
	float: left;
}

.radio-item > div:nth-child(2){
	width: 20px;
	height: 20px;
	position: relative;
	float: left;
}

/* #login-icon-popup:nth-child(2) .login-settings-block .radio-item span, #login-icon-popup:nth-child(2) .menu-item {*/
.radio-item span, .menu-item {
	font-size: 16px;
	line-height: 16px;
	color: #000;
	text-shadow: 0px 1px 1px #fff;	
}

.menu-item {
	padding-left: 10px;
}

/* #login-icon-popup:nth-child(2) .login-settings-block .radio-item span:hover, #login-icon-popup:nth-child(2) .menu-item:hover {*/
.radio-item span:hover, .menu-item:hover {
	color: #ff5005;
	text-shadow: 0px 1px 1px #fff;	
	cursor: pointer;
}

/*#login-icon-popup:nth-child(2) .login-settings-block .radio-item img {*/
.radio-item img {
	width: 18px;
	height: 18px;
	position: absolute;
	top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}

.appear{
	display: block;
}

.disappear{
    display: none;
}

#menubar > div {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
}

.menuItem {
	border-radius: 4px;
	margin: 2px;
}

#left-iconbar {
    position: relative;
	z-index: 3;
	width: 50px;
	height: 100%;
	background-color: #e8e1c9;
	}
	
.Old-Eng-Alphabet {
	font-family: OldEng;
	font-size: 24px;
	color: #830000;
}

.menu-alphabet {
	text-align: center;
	cursor: pointer;
}

#left-sidebar {
	position: absolute;
    width: 200px;
	height: 100%;	
	background-color: #e8e1c9;
	z-index: 2;
	transition: left 0.5s;
}

.slide-in-from-left {
	left: 0;
}

.slide-out-to-left {
	left: -200px;
}

/*
#left_side_bar, #right_side_bar {
	background:-moz-linear-gradient(top, #ff0000 10%, #c40404 30%, #830000 100%);
	background:-webkit-linear-gradient(top, #ff0000 10%, #c40404 30%, #830000 100%);
	background:-o-linear-gradient(top, #ff0000 10%, #c40404 30%, #830000 100%);
	background:-ms-linear-gradient(top, #ff0000 10%, #c40404 30%, #830000 100%);
	background:linear-gradient(to bottom, #ff0000 10%, #c40404 30%, #830000 100%);
    width: 180px;
    padding: 0px 10px 0px 10px;
    border-radius: 4px;
	}
*/
	
#left-sidebar {
	margin-right: 2px;
    position: relative;
	float: left;
	}

.middle-container {
	position: absolute;
	height: 100%;
	width: calc(100% - 100px);
	left: 50px;
	padding: 0;
	top: 0;
}

#view-container {
	position: absolute;
	height: calc(100% - 60px);
	width: 100%;
	top: 60px;
	margin: 0;
}

.error-container {
	position: relative;
	max-height: 70px;
	max-width: calc(100% - 100px);
	left: 50px;
	overflow-y: auto;
}

#error-box, #title-box {
	position: absolute;
	top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
	border-radius: 2px;
}

.header-box{
	position: absolute;
	top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
	height:60px; 
	}
	
.login-m .header-box, .login-e .header-box {
	border-left: 2px solid black;
}

.header-box .left-box {
	position: relative;
	float: left;
	width: 32px;
	}

.header-box .right-box {
	position: relative;
	float: right;
}

.header-box img{
	width: 32px;
	height:32px;
}

.header-box p{
	white-space: nowrap;
	height:32px;
    font-size:	24px;
	color:	#ff0000;
	text-shadow: 0px 2px 0px rgba(255,255,255, 1); 
}

#error-box {
	display: flex;
	align-items: center;
	justify-contents: center;
}
	
#error-box img {
	width: 20px;
	height:20px;
	padding: 6px;
	}
	
#error-box span {
	font-size: 1rem;
	padding: 0 0.5rem 0 0.2rem;
	overflow-wrap: break-word;
	}

.response-style-no {
	background-color: #fbd8b5;
	color: #ff0000;
}
	
.response-style-yes {
	background-color: #b4ffb4;
	color: #000000;
}

#right_side_bar {
	margin-left: 2px;
    position: absolute;
	text-align: center;
}

#main {
	height : 100%;
	width: 100%;
}

#main-text-box {
	position: absolute;
	height : 98%;
	width: 60%;
	left: 20%;
	border: 1px solid transparent;
	box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1) inset, 0 0 0 4px rgba(255, 255, 255, 0.2) inset;
	overflow: auto;
}

#loading {
	top: 0px;
	left: 0px;
    border-radius: 4px;
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 20;
    opacity: 1;
    filter: alpha(opacity=100); /* For IE8 and earlier */
	background: url("./myImages/ui-bg_fine-grain_40_fbffed_60x60.png") repeat;
}

.row {
	position: relative;
    min-height: 50px;
	width: 100%;
	margin: 10px 0;
/*	background-color: #777;*/
	}

.row a {
	position: relative;
	float: left;
	color: #0000ff;
	cursor: pointer;
	}
	

.row-box{
	position: absolute;
	top: 50%;
    left: 10%;
	width: 80%;
    transform: translate(0, -50%);
    -webkit-transform: translate(0, -50%);
	height:60px; 
	}
	
.row-box img{
	width: 32px;
	height:32px;
	padding: 14px;
}

.row-box p{
	white-space: break-word;
	line-height: 120%;
	margin: 20px 10px 0px 6px;
	height:40px;
	color:	#ff0000;
	text-shadow: 0px 2px 0px rgba(255,255,255, 1); 
}

#main-text-box .row:not(:nth-child(1)) p {
	line-height: 120%;
	font-size: 1.1em;
}

#main-text-box .row:nth-child(1) p {
	font-size: 1.3em;
}

#main-text-box .row-box li {
    font-size:	1em;
}

#main-text-box .row:nth-child(4) {
	height: calc(10 * 1.2em);
}

#main-text-box .small-row-box:nth-child(1) {
	position: absolute;
	left: 15%;
	width:70%;
}

.highlight {
	background-color: #00ff00;;
	color: #333;
	padding: 2px 5px; 
	border-radius: 4px; 
	text-shadow: none; 
}

#main-text-box .small-row-box li{
	list-style-type: square;
	font-weight: normal;
	margin-bottom: 8px;
	text-shadow: 0px 2px 0px rgba(255,255,255, 1); 
}

.small-row {
	position: relative;
	top: 0;
    min-height: 30px;
	width: 100%;
	margin: 10px 0;
}
	

.tripple-bar-button {
	position: absolute;
	width: 40px;
	height: 30px;
	left: 5px;
	top: 10px;
	background-color: transparent;
	border: none;
	cursor: pointer;
}

.tripple-bar-line{
	display: block;
	width: 100%;
	height: 4px;
	background-color: #fff;
	margin-bottom: 6px;	
}

.appear{
	display: block;
}

.disappear{
    display: none;
}
	
.hidden{
    visibility: hidden;
}

.visible{
    visibility: visible;
}

.ticking {
    height:     32px;
    width:      32px;
	background: url("./myImages/Animation/ring.gif") 
                25% 25% 
                no-repeat;
    position:   absolute;
    left: 20%;
}

#right_side_bar_wrapper {
	width: 100%;
	height: 100%;
	position: relative;
}


#menulist {
    padding: 0;
/*    overflow: auto;*/
}

.menuItem {
    float: left;
    width: 90px;
	margin: 0px 10px 0px 10px;
	list-style-type: none;	
}

.menuItem a {
    text-decoration: none;
}


.flatButton {
	-moz-box-shadow:inset 0px 1px 0px 0px #f5978e;
	-webkit-box-shadow:inset 0px 1px 0px 0px #f5978e;
	box-shadow:inset 0px 1px 0px 0px #f5978e;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #f24537), color-stop(1, #c62d1f));
	background:-moz-linear-gradient(top, #f24537 5%, #c62d1f 100%);
	background:-webkit-linear-gradient(top, #f24537 5%, #c62d1f 100%);
	background:-o-linear-gradient(top, #f24537 5%, #c62d1f 100%);
	background:-ms-linear-gradient(top, #f24537 5%, #c62d1f 100%);
	background:linear-gradient(to bottom, #f24537 5%, #c62d1f 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f24537', endColorstr='#c62d1f',GradientType=0);
/*	background-color:#f24537; */
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	display:inline-block;
	font-family:Arial;
	font-size:15px;
	font-weight:bold;
	text-decoration:none;
	text-shadow:0px 1px 0px #810e05;
	color: #c9c9c9;
	draggable: false;
}
.flatButtonWithRight:hover {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #c62d1f), color-stop(1, #f24537));
	background:-moz-linear-gradient(top, #c62d1f 5%, #f24537 100%);
	background:-webkit-linear-gradient(top, #c62d1f 5%, #f24537 100%);
	background:-o-linear-gradient(top, #c62d1f 5%, #f24537 100%);
	background:-ms-linear-gradient(top, #c62d1f 5%, #f24537 100%);
	background:linear-gradient(to bottom, #c62d1f 5%, #f24537 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#c62d1f', endColorstr='#f24537',GradientType=0);
	background-color:#c62d1f;
	cursor:pointer;
    color: #39ff14;
}

.flatButtonWithRight:active {
	position:relative;
	top:2px;
	draggable: false;
}

.flatButtonWithRight {
	color: #ffffff;
/*	text-shadow: 0px -2px 8px yellow;*/
	text-shadow: 0px 1px 0px #222222;
	}	

	
#loginForm input{
	margin: 4px;
	}

#top h1, #top p, #menulist {
    margin: 0;
    padding: 0;
}

.navigationList {
	top: 0px;
	left: 0px;
	margin: 0px;
	padding: 20px 0px 30px 0px;
    list-style-type: none;
    list-style-position: inside;
	}

.left_button {
    width: 148px;
	min-height: 30px;
	margin: 6px 10px;
	padding: 6px;
	position: relative;
	}

.left_button  span {
	margin: 0px;
	padding: 0px;
	position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    -webkit-transform: translate(-50%, -50%);	
    transform: translate(-50%, -50%);	
	}

#tabs {
	position: relative;
	height: 98%;
	width: 98%;
	top: 1%;
	left: 1%;
	border-radius: 4px;
	padding: 0;
	margin: 0;
	border: 1px solid #f00;
}
	

#tabs a:focus{
	outline: 0;
}

.tab-chapter-area li {
	font-size: 1rem;
}

.tab-page-area {
	position: absolute;
	top: 10px;
	width: 30px;
	height: 25px;
	right: 20px;
	z-index: 5;
	border: 1px solid #000;
}

.tab-page-area input[type="tel"] {
	position: relative;
	width: 100%;
	background-color: inherit; 
	border: none; 
	padding: 4px;
	font-size: 0.9em;
	letter-spacing: 120%;
}

.tab-page-area input[type="tel"]:focus {
	outline: 0;
}

.tab-content-area {
	position: absolute;
	top: 50px;
	height: calc(90% - 50px);
	width: 96%; /* .tabs() enforces left: 2%; */
	display: flex;
	flex-direction: row;
	margin: 0;
	padding: 0;
	overflow-y: scroll;
}	

/* Hide the default scroll bar */
.tab-content-area::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

/* Track */
.tab-content-area::-webkit-scrollbar-track {
  background-color: #f2f2f2;
}

/* Handle */
.tab-content-area::-webkit-scrollbar-thumb {
  background-color: #dddddd;
  border-radius: 3px;
}

/* Hide the top and bottom arrows */
.tab-content-area::-webkit-scrollbar-button {
  display: none;
}

.tab-button-area {
	position: absolute;
	bottom: 0;
	left: 2%;
	height: 10%;
	width: 96%;
}

.tab-content {
	position: relative;
	height: calc(100% + 10px);
	width: 100%;
	display: flex;
	flex-direction: row;
	margin: 0;
	padding: 5px 0;
	bottom:0;
	transition: bottom 0.5s;
}

.below-bottom {
	bottom: -100%; 
}

.zero-bottom {
	bottom: -2px;
}

.above-top {
	bottom: 100%;
}

.tab-full {
	height: 100%;
	width: 50%;
}

.tab-full span {
	font-size:200%;
	font-weight: bold;
	font-family:"BlackJack",arial,sans-serif;
	position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    -webkit-transform: translate(-50%, -50%);	
    transform: translate(-50%, -50%);	
}

.tab-half, .tab-button-box {
	height: 100%;
	width: 50%;
}

.tab-half {
	position: relative;
}

.tab-half > div:first-child {
	position: absolute;
	width: 90%;
	height: 69%;
	top: 1%;
	padding: 0;
	left: 5%;
	display: flex;
	justify-content: center;
	align-items: center;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.tab-half > div:last-child:not(:only-child) {
	position: absolute;
	width: 90%;
	height: 28%;
	left: 5%;
	bottom: 0;
	padding: 0;
	margin:0;
}

.tab-half-note {
	position: absolute;
	width: 100%;
	height: 100%;
	overflow: auto;
}

.tab-half-note span {
	color: inherit;
	position: absolute;
	width: 90%;
	height: 90%;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    -webkit-transform: translate(-50%, -50%);	
    transform: translate(-50%, -50%);	
}

.tab-image {
	flex: 1;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.tab-text {
	flex: 1 0 auto;
}

.tab-half h4 {
	padding: 2px;
}

.tab-button-box {
	position: relative;
	float: left;
}

#tabs {
	font-size: 1em;
}

@media screen and (orientation: portrait) {
	#main-text-box {
		width: 92%;
		left: 4%;
	}
	
	.tab-content {
		flex-direction: column;
	}
	
	.tab-half {
		height: 50%;
		width: 100%;
	}
	
	#tabs {
		font-size: 1.8em;
	}
}

.tab-text	{
	border-radius: 8px;
	background-color: #000000;
}

.big-text {
	font-size: 1.8em;
	line-height: 2em;
}

.medium-text {
	font-size: 1.4em;
	line-height: 1.6em;
}

.small-text {
	font-size: 1.2em;
	line-height: 1.4em;
}

.tiny-text {
	font-size: 1em;
	line-height: 1.2em;
}

.tab-text h3	{
	line-height: 110%;
	position: absolute;
	margin: 0;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	color: #ff0000;
	text-align: justify;
	} 

.combination1 {
	background-color: #222930;
	}

.combination1 h3{
	color: #4EB1BA;
	}

.combination2 {
	background-color: #ff0000;
	}

.combination2 h3{
	color: #ffffff;
	}

.tab-button-box a {
	position: absolute;
	top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
	}

#bottom h3 {
    font-size: 70%;
    line-height: 24px;
	margin-top: 10px;
}

.top_button {
	width: 144px;
	height: 36px;
	flex: 0 1 auto;
	position: relative;
/*	display: inline-block;
	margin: 8px 24px;*/
	top: 40px;
	right: 0;
	draggable: false;
}

.top_button a {
	z-index: 2;
	width: 80%;
	padding: 12px 10%;
	height: 16px;
	font-family:Arial;
	font-size: 16px;
	font-weight:bold;
	text-decoration:none;
	text-shadow:0px 1px 0px #e5e5e5; 
	text-align: center;
	display: block;
	position: relative;
	background-color: #e8c5a9;
/*	background-image: -webkit-linear-gradient(bottom, rgb(255, 99, 99) 0%, rgb(255, 145, 145) 50%, rgb(255, 187, 187) 100%);
	background-image: -moz-linear-gradient(bottom, rgb(255, 99, 99) 0%, rgb(255, 145, 145) 50%, rgb(255, 187, 187) 100%);
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	filter: dropshadow(color=#000, offx=0px, offy=1px);
	-webkit-box-shadow: inset 0 1px 0 #838383, 0 10px 0 #919191; 
	-moz-box-shadow: inset 0 1px 0 #FFE5C4, 0 10px 0 #915100;*/
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px; 
	border-radius: 5px;
	draggable: false;
}

.pale {
	color: #cc9134;
/*	box-shadow: inset 0 1px 0 #ffe5c4, -1px 2px 0 #e10000;*/
	-webkit-box-shadow: inset 0 1px 0 #ffe5c4, -1px 2px 0 #999999;
	-moz-box-shadow: inset 0 1px 0 #ffe5c4, -1px 2px 0 #999999;
	box-shadow: inset 0 1px 0 #ffe5c4, -1px 2px 0 #999999;
	cursor: text;
	draggable: false;
}

.glow {
/*	box-shadow: inset 0 1px 0 #ffe5c4, -1px 2px 0 #39ff14;*/
	-webkit-box-shadow: inset 0 1px 0 #ffe5c4, -1px 2px 0 #aaaaaa;
	-moz-box-shadow: inset 0 1px 0 #ffe5c4, -1px 2px 0 #aaaaaa;
	box-shadow: inset 0 1px 0 #ffe5c4, -1px 2px 0 #aaaaaa;
	color: #442100;
/*	box-shadow: 0px -2px 8px yellow;*/
/*  -webkit-filter: dropshadow(color=#39ff14, offx=8px, offy=4px);*/
}

.top_button a:not(.pale):active {
	top: 1px;
	-webkit-box-shadow: inset 0 1px 0 #aaaaaa, 0px 0px 0 #ffffff;
	-moz-box-shadow: inset 0 1px 0 #aaaaaa, 0px 0px 0 #ffffff;
	-o-box-shadow: inset 0 1px 0 #aaaaaa, 0px 0px 0 #ffffff;
	box-shadow: inset 0 1px 0 #aaaaaa, 0px 0px 0 #ffffff;
/*	background-image: -webkit-linear-gradient(top, rgb(255, 99, 99) 0%, rgb(255, 145, 145) 50%, rgb(255, 187, 187) 100%);*/
	draggable: false;
}

.glow:hover {
box-shadow: 0px 1px 2px 0px rgba(0,241,255,0.7),
            1px 2px 4px 0px rgba(0,241,255,0.7),
            2px 4px 8px 0px rgba(0,241,255,0.7),
            2px 4px 16px 0px rgba(0,241,255,0.7);
-webkit-box-shadow: 0px 1px 2px 0px rgba(0,241,255,0.7),
            1px 2px 4px 0px rgba(0,241,255,0.7),
            2px 4px 8px 0px rgba(0,241,255,0.7),
            2px 4px 16px 0px rgba(0,241,255,0.7);
-moz-box-shadow: 0px 1px 2px 0px rgba(0,241,255,0.7),
            1px 2px 4px 0px rgba(0,241,255,0.7),
            2px 4px 8px 0px rgba(0,241,255,0.7),
            2px 4px 16px 0px rgba(0,241,255,0.7);
box-shadow: 0px 1px 2px 0px rgba(0,241,255,0.7),
            1px 2px 4px 0px rgba(0,241,255,0.7),
            2px 4px 8px 0px rgba(0,241,255,0.7),
            2px 4px 16px 0px rgba(0,241,255,0.7);
    color: #ffffff;
	text-shadow:0px 1px 0px #555555; 
	cursor:pointer;
	}

.top_button:after {
	content: "";
	height: 100%;
	width: 100%;
	padding: 3px;
	position: absolute;
	bottom: -6px;
	left: -3px;
	z-index: 1;
	background-color: #181210;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.right_button {
	position: relative;
	display: inline-block;
	margin: 8px 0px;
	draggable: false;
}

.right_button a {
	z-index: 2;
	width: 120px;
	font-family:Arial;
	font-size:16px;
	font-weight:bold;
	text-decoration:none;
	text-shadow:0px 1px 0px #810e05;
	color: #dadada;
	dragable: false;
	text-align: center;
	display: block;
	position: relative;
	padding: 10px 10px;
	background-image: -webkit-linear-gradient(bottom, #990000 0%, #e60000 50%, #ff6666 100%);
	background-image: -moz-linear-gradient(bottom, rgb(153, 0, 0) 0%, rgb(230, 0, 0) 50%, rgb(255, 102, 102) 100%); 
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	filter: dropshadow(color=#000, offx=0px, offy=1px);
	-webkit-box-shadow: inset 0 1px 0 #ffe5c4, -1px 4px 0 #999999;
	-moz-box-shadow: inset 0 1px 0 #ffe5c4, -1px 4px 0 #999999;
	box-shadow: inset 0 1px 0 #ffe5c4, -1px 4px 0 #999999;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px; 
	border-radius: 5px;
	draggable: false;
}

.right_button a:not(.pale):active {
	top: 3px;
	-webkit-box-shadow: inset 0 1px 0 #aaaaaa, -1px 1px 0 #ffffff;
	-moz-box-shadow: inset 0 1px 0 #aaaaaa, -1px 1px 0 #ffffff;
	-o-box-shadow: inset 0 1px 0 #aaaaaa, -1px 1px 0 #ffffff;
	box-shadow: inset 0 1px 0 #aaaaaa, -1px 1px 0 #ffffff;
/*	background-image: -webkit-linear-gradient(top, rgb(255, 99, 99) 0%, rgb(255, 145, 145) 50%, rgb(255, 187, 187) 100%);*/
}

.right_button:after {
	content: "";
	height: 100%;
	width: 100%;
	padding: 4px;
	position: absolute;
	bottom: -9px;
	left: -4px;
	z-index: 1;
	background-color: #613318;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}

/* --------------- login_box ---------------*/

.login_box .line {
	width: 100%;
	height:1px;
	background:#fff;
	border-top:solid 2px #000;
	opacity:0.4;
}

.login_box p {
	font-family:Arial;
	font-size:16px;
	font-weight:bold;
	text-decoration:none;
	text-shadow:0px 1px 0px #810e05;
	color: #fff;
}

.login_box .clickable:hover {
	color: #ccff00;
	text-shadow: 1px 1px 1px #333;	
	cursor: pointer;
}

.login_box .line-length {
	width: 60%;
	margin-left: 20%;
	height:2px;
	background-color:#a00;
}


.login_box {
	width: 160px;
	margin: 25px 12px 0px 8px;
	position: relative;
	border-style: solid;
	border-color: #991f00;
	border-width: 2px;
	border-radius: 8px;
	box-shadow: 1px 1px 1px #cc2900 inset, -1px -1px 1px #ff8080 inset;	
}

.login_box .title{
	width: 50%;
	position:absolute;
	top: -10px;
	left: 50%;
	transform: translate(-50%, 0%);
	-webkit-transform: translate(-50%, 0%);
	z-index: 2;
	color: #d9d9d9;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.6);	
	font-weight: bold;
	line-height: 20px;
	background-color: #ff0000;
}

/* --------------- login_box ends ---------------*/

/* --------------- noticeBoard --------------- */
#notice-board-wall {
	position: absolute;
	z-index: 100;
    width: 620px;
	padding: 0;
    height: 400px;
	top: 15%;
    left: 50%;
    transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
}

.notice-board {
	position: relative;
	z-index: 100;
	background: url("./myImages/NoticeBoard/cork-board-2.jpg") no-repeat;
	background-repeat: no-repeat;
	background-position: center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	height: 100%;
	width: 100%;
	border: 0;
	-webkit-box-shadow: -8px 0px 5px -6px #999;
	-moz-box-shadow: 	-8px 0px 5px -6px #000;
	-o-box-shadow: -8px 0px 5px -6px #000;
	box-shadow: -5px 7px 5px -4px #555, -8px 10px 7px -4px #aaa;
}

.notice-board-space h2, .notice-board-space p{
	font-size:100%;
	font-weight:bold;
}
.notice-board-space ul, .notice-board-space li{
	list-style:none;
}

.notice-board-space ul{
	overflow:hidden;
	padding:3em;
}

.notice-board-space ul li a{
	text-decoration:none;
	color:#000;
	background:#ffc;
	display:block;
	height:10em;
	width:10em;
	padding:1em;
	-moz-box-shadow:5px 5px 7px rgba(33,33,33,1);
	-webkit-box-shadow: 5px 5px 7px rgba(33,33,33,.7);
	box-shadow: 5px 5px 7px rgba(33,33,33,.7);
	-moz-transition:-moz-transform .15s linear;
	-o-transition:-o-transform .15s linear;
	-webkit-transition:-webkit-transform .15s linear;
}

.notice-board-space ul li{
	margin:1em;
	float:left;
}

.notice-board-space ul li h2{
	font-size:140%;
	font-family:"BlackJack",arial,sans-serif;
	font-weight:bold;
	padding-bottom:5px;
}

.notice-board-space ul li p{
  font-family:"BlackJack",arial,sans-serif;
  font-size:100%;
}

.notice-board-space ul li a{
	-webkit-transform: rotate(-2deg);
	-o-transform: rotate(-2deg);
	-moz-transform:rotate(-2deg);
	transform:rotate(-2deg);
}

.notice-board-space ul li:nth-child(even) a{
	-o-transform:rotate(4deg);
	-webkit-transform:rotate(4deg);
	-moz-transform:rotate(4deg);
	transform:rotate(4deg);
	position:relative;
	top:5px;
	background:#ccf;
}
.notice-board-space ul li:nth-child(3n) a{
	-o-transform:rotate(-3deg);
	-webkit-transform:rotate(-3deg);
	-moz-transform:rotate(-3deg);
	transform:rotate(-3deg);
	position:relative;
	top:-5px;
	background:#ccf;
}

div .notice-board-space .pin {
	position: absolute;
	width: 20px;
	height: 20px;
	top: 10px;
    left: 50%;
    transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
	border-radius: 10px;
	background: #ccf;
    background-image: -moz-radial-gradient(20px 20px 45deg, circle cover, red 50%, black 100%);
    background-image: -webkit-radial-gradient(20px 20px, circle cover, red, black);
    background-image: radial-gradient(red 50%, black 100%);
	-moz-box-shadow:2px 2px 3px rgba(33,33,33,.7);
	-webkit-box-shadow: 2px 2px 3px rgba(33,33,33,.7);
	box-shadow: 2px 2px 3px rgba(33,33,33,.7);
}  
/* --------------- noticeBoard ends --------------- */

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}
/* --------------- squaredTick --------------- */
.twoSquaredTick {
	margin: 2px auto;
	width: 98%;
	height: 66px;
	position: relative;
	border: 1px solid #000000;
}

.chamber {
	width: 48%;
	position: relative;
	float: left;
}

.squaredTick{
	position: absolute;
	left: 50%;
	transform: translate(-50%, 0%);
	-webkit-transform: translate(-50%, 0%);
	width: 28px;
	height: 28px;
	top: 2px;
	bottom: 2px;
	background: #fcfff4;
	box-shadow: inset 0px 1px 1px white, 0px 1px 3px rgba(0,0,0,0.5);
	background: -moz-linear-gradient(#f7f2f6, #b2ac9e);
	background: -ms-linear-gradient(#f7f2f6, #b2ac9e);
	background: -o-linear-gradient(#f7f2f6, #b2ac9e);
	background: -webkit-gradient(linear, 0 0, 0 100%, from(#f7f2f6), to(#b2ac9e));
	background: -webkit-linear-gradient(#f7f2f6, #b2ac9e);
	background: linear-gradient(#f7f2f6, #b2ac9e);
}

.squaredTick label {
	width: 20px;
	height: 20px;
	cursor: pointer;
	position: absolute;
	left: 4px;
	top: 4px;
	background: -moz-linear-gradient(#bbbbbb, #000000);
	background: -ms-linear-gradient(#bbbbbb, #000000);
	background: -o-linear-gradient(#bbbbbb, #000000);
	background: -webkit-gradient(linear, 0 0, 0 100%, from(#45484d), to(#222));
	background: -webkit-linear-gradient(#45484d, #222);
	background: linear-gradient(#45484d, #222);
	background: -webkit-linear-gradient(top, #222 0%, #45484d 100%);
	box-shadow: inset 0px 1px 1px rgba(0,0,0,0.5), 0px 1px 0px rgba(255,255,255,1);
}

.squaredTick label:after {
    content: '';
    width: 9px;
    height: 5px;
    position: absolute;
    top: 4px;
    left: 4px;
	border: 3px solid #91f5ff;
    border-top: none;
    border-right: none;
    background: transparent;
    opacity: 0.1;
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
}
	
.squaredTick:hover::after {
     opacity: 0.3;
}
 
.squaredTick input {
	top: 0; 
	right: 0; 
	bottom: 0; 
	left: 0;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;
	z-index: 10;
	position: absolute;
	width: 100%;
	height: 100%;
	cursor: pointer;
}

.twoSquaredTick input:checked  ~ label:after{
      opacity: 0.8;
}

.chamber h5 {
	position: relative;
	margin: 2px auto 6px auto;
	top: 36px;
	color: #f1f1f1;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.6);	
}


.fit-center{
	position: absolute;
	margin: 0;
	top: 50%;
	left: 50%;
	margin-right: -50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
}

.fit-center-h{
	position: absolute;
	margin: 0;
	left: 50%;
	transform: translate(-50%, 0);
	-webkit-transform: translate(-50%, 0);
}

.fit-center-v{
	position: absolute;
	margin: 0;
	top: 50%;
	transform: translate(0, -50%);
	-webkit-transform: translate(0, -50%);
}
  
/* --------------- squaredTick ends --------------- */

/*	border: 1px solid #000000;*/
.old-post-it{
    font-size:	16px;
	line-height: 30px;
	position: relative;
	background: #f8ecc2;
	float: left;
	width: 80%;
	left: 5%;
	padding: 5%;
	text-align: justify;
	border: 1px solid #efefef;
	margin: 0 30px 30px 0;
	-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
	-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset; 
}

.post-it {
	font-family:"BlackJack",arial,sans-serif;
	font-weight: bold;
	color:#000;
	background:#ffc;
	display:block;
	text-align: justify;
	border: 1px solid #efefef;
	-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27);
	-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27); 
}

.green-post-it {
	font-family:"Typewriter",arial,sans-serif;
	font-weight: bold;
	color:#000;
	background:#bdf4a0;
	display:block;
	border: 1px solid #efefef;
	-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27);
	-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27); 
}

.sea-post-it {
	font-family:"Typewriter",arial,sans-serif;
	font-weight: bold;
	color:#000;
	background:#5bcec7;
	display:block;
	text-align: justify;
	border: 1px solid #efefef;
	-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27);
	-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27); 
}

.lightgray-card {
	font-family:sans-serif, arial;
	background:#cccccc;
	color:#48525a;
	display:block;
	text-align: justify;
	border-radius: 8px;
}

.darkgray-card {
	font-family: sans-serif, arial;
	background: #48525a;
	color: #cccccc;
	display: block;
	border-radius: 8px;
}

.deepblue-card {
	font-family: sans-serif, arial;
	background: #0000ff;
	color: #fefefe;
	display: block;
	border-radius: 8px;
}

.small-post-it {
    font-size:	16px;
	line-height: 30px;
	position: relative;
	color:#000;
	background:#ffc;
	display:block;
	width: 80%;
	float: left;
	left: 5%;
	padding: 5%;
	text-align: justify;
	border: 1px solid #efefef;
	margin: 0 30px 30px 0;
	-moz-box-shadow:0px 1px 4px rgba(33,33,33,1); /* Firefox */
	-webkit-box-shadow: 0px 1px 4px rgba(33,33,33,.7);  /* Safari+Chrome */
 	box-shadow: 0px 1px 4px rgba(33,33,33,.7);  /* Opera */
}
