html {
	font-size:16pt;
}

body {
    background-color: #EFEFEF;
	background-image:url('../img/bg_momiji.png');
	background-repeat:no-repeat;
	background-attachment:fixed;
	background-position:bottom right;
    color: #555;
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;

}

div {
    font-size: 1rem;
}

p {
    margin-bottom: 1.25rem;
}

a {
    color: #C3181C;
}

a:hover {
    color: #FCC262;
}

#content {
    padding: 0;
}

#page {
    background: none;
    margin: 0px auto;
    padding: 0;
}

#page.container {
    width: 85vw;
    max-width:1440px;
}

.btn-primary {
    border: none;
    background: #333;
}

.hint {
    font-size: .8em;
    font-style: italic;
    color: #666;
    line-height: 1em;
}

/* For Small Screens */

 @media screen and (max-width: 1024px) {
    #page.container {
        width: 100vw;
        margin: 0;
        padding: 0;
    }
	
	.main-menu ul {
		justify-content:center!important;
	}
 }

 /* End Small Screens */

 /* For Mobile */

 @media(max-width: 480px) {
    #page.container {
        width: 100vw;
        margin: 0;
        padding: 0;
    }

    #header {
		margin-top:0px!important;
    }

    .logo {
		width:100vw;
		align-items:center;
		background-position: center center;
    }

    .submenu {
		width:100vw!important;
		background:#ccc;
		align-items:center!important;
		justify-content:center!important;
		margin-right:auto!important;
		margin-left:auto;
		margin-bottom:15px;
		font-size:1em!important;
    }
	
	.submenu ul {
		display:flex;
		justify-content:space-between!important;
		padding:5px;
		margin-bottom:0!important;
		border-radius:0!important;
	}
	
	.main-menu ul {
		display:flex;
		flex-direction:column!important;
		text-align:center;
	}
	
	.main-menu ul li a {
		width:100vw;
		font-size:.8rem!important;
	}
 }

 /* End Mobile */

div.breadcrumbs {
    font-size: 0.9em;
    padding: 5px 20px;
}
div.breadcrumbs span {
    font-weight: bold;
}
.containerDiv {
    border: 2px solid black;
    float: left;
    margin: 0 0 20px;
    padding: 5px;
    width: 100%;
}
.containerDiv h3 {
    background: #870000;
    color: #fff;
    margin: -5px -5px 10px;
    padding: 5px;
    width: 100%;
}
.containerDiv .icon {
    cursor: pointer;
    height: 20px;
    float: right;
    position: relative;
    top: -35px;
}

#eventEdit {
    display: none;
}
div.flash-error, div.flash-notice, div.flash-success {
    border: 2px solid #ddd;
    margin-bottom: 1em;
    padding: .8em;
}
div.flash-error {
    background: #FBE3E4;
    border-color: #FBC2C4;
    color: #8a1f11;
}
div.flash-error a {
    color: #8a1f11;
}
div.flash-notice {
    background: #FFF6BF;
    border-color: #FFD324;
    color: #514721;
}
div.flash-notice a {
    color: #514721;
}
div.flash-success {
    background: #E6EFC2;
    border-color: #C6D880;
    color: #264409;
}
div.flash-success a {
    color: #264409;
}
#footer {
    border-top: 1px solid #C9E0ED;
    font-size: 0.6em;
    padding: 10px;
    margin: 10px 20px;
    text-align: center;
}
div.form .rememberMe label {
    display: inline;
}
#header {
    display: flex;
	flex-wrap: wrap-reverse;
    flex-direction: row;
    margin: 15px 0;
    padding: 0;
    background:#EFEFEF;
	justify-content:space-between;
}

.logo {
    display:flex;
	min-width:250px;
	min-height:120px;
    background-image: url('../img/logo.png');
	background-size:contain;
	background-repeat:no-repeat;
}

.submenu {
    display:flex;
	font-size:.6em;
	align-items:center;
	justify-content:flex-end;
	margin-right:0;
}

.submenu ul {
    display: inline-flex;
    flex-flow: row;
    padding: 5px;
	list-style-type:none;
	background:#ccc;
	margin-right:0;
	border-radius:3px;
 }
 
.submenu a {
    color: #222;
    font-weight: bold;
    padding: 5px 8px;
    text-decoration: none;
 }

.submenu a:hover {
	background:#222;
	color:#fff;
}
 

.main-menu {
    z-index: 999;
    padding: 0;
    width: 100%;
    display: flex;
	flex-basis:100%;
	flex-flow:row;
    align-items: flex-end;
	box-shadow:  0px 0px 24px -6px rgba(0, 0, 0, .5);
	-webkit-box-shadow:  0px 0px 24px -6px rgba(0, 0, 0, .5);
	margin:0 0 25px 0;
    flex-flow: row;
    width: 100%;
	padding:0;
}

.main-menu ul {
    display: inline-flex;
    flex-flow: row;
    width: 100%;
	list-style-type:none;
	list-style-position:inside;
	padding:0;
	margin:0;
}

.main-menu ul li a {
	display:block;
	margin:0;
	font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
	padding:15px;
 }
 
 .main-menu ul li a:hover {
	background:#e23a40;
	color:#fff;
	transition:.5s ease-in-out;
}

.operations {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.operations li {
    padding-bottom: 2px;
}
.operations li a {
    color: #0066A4;
    display: block;
    font: bold 12px Arial;
    padding: 2px 0 2px 8px;
    line-height: 15px;
    text-decoration: none;
}
.operations li a:visited {
    color: #0066A4;
}
.operations li a:hover {
    background: #80CFFF;
}

.panel {
	background: rgba(255,255,255,0.5);
    margin-bottom: 20px;
	box-shadow:  0px 0px 24px -6px rgba(0, 0, 0, .5);
	-webkit-box-shadow:  0px 0px 24px -6px rgba(0, 0, 0, .5);
}
.panel span {
    display: block;
}
.panel-info {
    border: 0!important;
}
.panel-info > .panel-heading {
    background: #e23a40!important;
    color: #fff!important;
    border: none!important;
 }
 
.panel .control-label span {
    display: inline;
}
.panel .name {
    font-weight: bold;
}

.panelist-info {
	background: rgba(255,255,255,0.5);
    margin-bottom: 20px;
	box-shadow:  0px 0px 24px -6px rgba(0, 0, 0, .5);
	-webkit-box-shadow:  0px 0px 24px -6px rgba(0, 0, 0, .5);
}

.panelist-info > .panelist-heading {
    background: #3a7de2!important;
    color: #fff!important;
    border: none!important;
}

.table > thead > tr > th {
background: #e23a40;
color: #fff;
}

.portlet-content {
    background: #EFFDFF;
    font-size: 0.9em;
    margin: 0 0 15px 0;
    padding: 5px 8px;
}
.portlet-content li {
    padding: 2px 0 4px 0;
}
.portlet-content ul {
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.portlet-decoration {
    background: #B7D6E7;
    border-left: 5px solid #6FACCF;
    padding: 3px 8px;
}
.portlet-title {
    color: #660000;
    font-size: 12px;
    font-weight: bold;
    margin: 0;
    padding: 0;
}
#registeredPanels .panel,
#confirmedPanels .panel {
    display: block;
    margin-bottom: 10px;
}
#registeredPanels .panel span,
#confirmedPanels .panel span {
    display: block;
}
#registeredPanels .panel .name,
#confirmedPanels .panel .name {
    font-weight: bold;
}
#register-form .radio input,
div.form .radio label {
    display: inline;
}
#RegisterForm_status,
#RegisterForm_age {
    display: block;
}
.reportButton {
    background-color: hsl(340, 42%, 44%);
    border: 1px solid hsl(340, 42%, 25%);
    border-radius: 5px;
    color: #fff;
    display: block;
    float: left;
    font-size: 16px;
    height: 150px;
    margin: 5px 25px;
    padding: 8px;
    text-decoration: none;
    width: 25%;
}
#rightColumn {
    float: right;
    margin-right: 25px;
    width: 46%;
}
.room {
    clear: both;
}
.rooms a,
a.button {
    border: 1px solid;
    border-radius: 5px;
    display: block;
    float: left;
    margin: 1px;
    padding: 4px;
    text-decoration: none;
    width: 100px;
}
div.search-form {
    background: #eee;
    margin: 10px 0;
    padding: 10px;
}
a.selected {
    background: #888;
    color: white;
}
#sidebar {
    padding: 20px 20px 20px 0;
}

.twitter-follow-button {
	font-weight:bold;
	background:#e23a40;
	padding:5px;
	border-radius:3px;
	color:#fff;
	text-decoration: none;
}

.twitter-follow-button:hover {
	background:#222;
	padding:5px;
	border-radius:3px;
	color:#fff;
	text-decoration: none;
	transition:.5s;
}

div.view {
    border: 1px solid #C9E0ED;
    margin: 10px 0;
    padding: 10px;
}
.grid-view table.items {
    font-size: 14px;

}

.grid-view table.items th {
	background:#e23a40!important;
}

.nav {
	margin:15px 0!important;
}

.nav-tabs {
	display:flex;
	flex-direction:row;
	flex-wrap:wrap;
	font-size:.8em;
	justify-content:center;
	padding:8px;
}

.nav-tabs > li.active, .nav-tabs > li.active > a {
	border:0!important;
	background:none;
}

.rooms a, a.button {
	width:auto;
}

.nav-tabs > li > a {
	line-height:1.25em;
	margin:0;
	padding:8px;
	border:0;
}

.nav-tabs > li > a:hover {
	border:0;
	background:#222;
	color:#fff;
	border-radius:3px;
	line-height:1.25em;
	margin:0;
	padding:8px;
}

ul.event-nav {
    margin-bottom: 0;
}
a.filters-link {
    top: 9px;
    position: relative;
    font-weight: bold;
}
a.filters-link:hover {
    text-decoration: none;
}
a.filters-link span.glyphicon-chevron-down {
    display: inline;
    top: 3px;
}

.table > tbody > tr.active > td, .table > tbody > tr.active > th, .table > tbody > tr > td.active, .table > tbody > tr > th.active, .table > tfoot > tr.active > td, .table > tfoot > tr.active > th, .table > tfoot > tr > td.active, .table > tfoot > tr > th.active, .table > thead > tr.active > td, .table > thead > tr.active > th, .table > thead > tr > td.active, .table > thead > tr > th.active {
    background-color:rgb(208, 230, 255);
}

@media (max-width: 600px) {
    #logo {
        display: none;
    }
    #leftColumn {
        float: left;
        width: 100%;
    }
    #rightColumn {
        float: left;
        margin-right: 25px;
        width: 100%;
    }
    body  {
        font-size: 2em;
    }
    #mainmenu {
        height: 150px;
    }
    #mainmenu ul li a {
        font-size: 34px;
    }
}