/*
 * style.css
 */
:root {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Apple Color Emoji", "Segoe UI Emoji", 'Yu Gothic', '游ゴシック', 'YuGothic', '游ゴシック体', メイリオ, sans-serif;
}

body,
input, button, select, textarea {
	/*font-family: 'Open Sans', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ',Meiryo, Meiryo UI, 'ＭＳ　Ｐゴシック', 'TakaoEXゴシック', Arial, Helvetica, sans-serif;*/
}

.is-local body {
	background: url("../img/backgrounds/my/summer.jpg") center top white fixed;
}

.is-local #mainContainer {
	background: rgba(255, 255, 255, 0.5);
}

.worksheet .id {
	width: 1.5em;
	text-align: right;
}

.worksheet th,
.worksheet td {
	border: 1px solid #ccc;
}

.gray-border-elevation {
	background: url('img/gray.png') repeat-y;
}

pre {
    background: #3d3d3d;
    color: white;
    text-shadow: -1px -1px 0 #000;
}


@media print {

	html {
		background: white;
	}

	body {
		padding: 0;
	}

	.container {
		width: 98%;
	}

	.span12 {
		width: 98%;
	}

	.paging,
	.navbar {
		display: none;
		visibility: hidden;
	}

	a[href]:after {
		content: none;
	}

	tr, th, td {
		page-break-inside: avoid;
	}

	#footer {
		display: none;
		visibility: hidden;
	}
}

html {
    /*background: #3d3d3d;*/
}

#main-container {
    min-height: 500px;
}

.head-banner {
    position: absolute;
    width: 100%;
    background: #f6f6f6;
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

.attention {
    color: #e10 !important;
    text-shadow: 0 0 1px #f30 !important;
}

input.wide,
textarea.wide {
    width: 412px;
}


dt {
    width: 20%;
    text-align: right;
}

dd {
    margin-left: 22%;
    margin-top: -1.5em;
    margin-bottom: 1.5em;
}

select {
    width: auto;
}

/*===============================================*
 * Dropdown Menu
 *===============================================*/

.dropdown-menu hr {
	margin: 0;
}

/*===============================================*
 * Previous Group Selector Dropdown Menu
 *===============================================*/

.pre-group-selector {
	margin-left: -54px;
}

.shutter {
	margin: 0;
	list-style-type: none;
}
.shutter > li {
	border-top: 1px solid #828282;
	border-bottom: 1px solid #828282;
	border-radius: 2px;
	width: 24px;
	margin: 4px 0;
}
.shutter > li:first-child {
	margin-top: 2px;
}
.shutter > li:last-child {
	margin-bottom: 2px;
}


/*===============================================*
 * Sidebar
 *===============================================*/

#sideBar .well {
	padding: 8px 0;
	margin-top:8px;
}

.well.buttons {
	text-align: center;
}

.well .btn {
	width: 220px;
	margin: 5px auto;
}

/*=============================================*
 *  Control Group
 *=============================================*/

.control-group.categories {
}

.control-group.categories label.checkbox {
}

.control-group.categories span.label {
    padding-left: 5px;
    background-color: rgba(153, 153, 153, 0.3);
    color: #333;
    font-weight: normal;
}

.control-group.categories .selected span.label {
    background-color: #DF0024;
    color: #FFF;
}

/*=============================================*
 *  CakePHP SQL Messages
 *=============================================*/

.sql-messages {
    margin-top: 100px;
    border-top: 20px solid black;
    padding-top: 20px;
    background: #3D3D3D;
    color: #969696;
}

.sql-messages.closed {
	height: 0;
	overflow: hidden;
}

.cake-sql-log {
}

@media print {
    .sql-messages,
    .cake-sql-log {
        display: none;
        visibility: hidden;
        height: 0;
    }
}

.cake-sql-log tr:nth-child(odd) th,
.cake-sql-log tr:nth-child(odd) td {
    background: #555;
    color: #ccc;
}

.cake-sql-log caption {
}

.cake-sql-log th,
.cake-sql-log td {
}

.cake-sql-log th,
.cake-sql-log td {
}

.cake-sql-log th {
}

.cake-sql-log td {
}


/*=============================================*
 *  Form Elements (Overrode Bootstrap)
 *=============================================*/

.form-horizontal .control-label {
    width: 18%;
}

.form-horizontal .controls {
    margin-left: 20%;
}

input,
textarea,
.uneditable-input {
    width: 85%;
}

.alert-fatal,
.help-inline.error-message {
    border: 1px solid #F00;
    background: #F00;
    color: #FFF !important;
}

.alert.alert-fatal h1,
.alert.alert-fatal h2,
.alert.alert-fatal h3,
.alert.alert-fatal h4 {
    color: white;
}


@media print {
    body {
        font-size: 10px;
    }
	#mainContent,
    #main-container,
    #main-container > div,
    #main-container > div > div {
        width: 100%;
    }

    .visible-print {
        display: inherit !important;
    }
	.actions,
    .hidden-print {
        display: none !important;
    }

	table.tiny-print tr,
	table.tiny-print th,
	table.tiny-print td {
		padding-top: 0;
		padding-bottom: 0;
	}

	.pagination,
	#sideBar {
		display: none;
	}

	.tight-print th,
	.tight-print td {
		padding: 1px;
		white-space: nowrap;
	}
}


/*=============================================*
 *  Miscellaneous
 *=============================================*/
.empty {
    font-style: italic;
    color: #999;
}

/*=============================================*
 *  Local Flag
 *=============================================*/
#is-local {
    position: fixed;
    left: 0;
    bottom: 0;
    height: 340px;
    max-width: 380px;
    width: 30%;
    background: url(../../admin.terms.iatrism.jp/img/is-local.png) left top no-repeat;
    color: transparent;
    border-radius: 0 5px 0 0;
    font-size: 11px;
    padding: 6px;
}

/*=============================================*
 *  Website Control Panel / List
 *=============================================*/
.websites-control-list {
}

.websites-control-list select {
    margin: 0;
}

.websites-control-list .status_1 {
    background: #5bb75b;
    color: white;
}

.websites-control-list .status_0 {
    background: #da4f49;
    color: white;
}

.websites-control-list .status_-1 {
    background: #fc6;
    color: black;
}

.websites-control-list .status_-2 {
    background: #cce;
    color: black;
}

.websites-control-list p.field {
    margin: 0;
}

/*=================================================*
 *  Tree Index Style
 *=================================================*/
.tree-index {

}

.tree-index .depth-0 tr,
.tree-index .depth-0 td {
    background: #5c5c5c;
    color: white;
}

.tree-index .depth-1 tr,
.tree-index .depth-1 td {
    background: #afafaf;
    color: white;
}

.tree-index .depth-2 tr,
.tree-index .depth-2 td {
    background: #ECDDC8;
    color: #555;
}

.tree-index .depth-3 tr,
.tree-index .depth-3 td {
    background: #FFFCF9;
    color: #555;
}

.tree-index .depth-0 a ,
.tree-index .depth-1 a {
    color: #e9f3fb;
}

.tree-index .depth-0 a:hover,
.tree-index .depth-0 a:active,
.tree-index .depth-1 a:hover,
.tree-index .depth-1 a:active {
    color: #AEDBFF;
}

/*-----------------------------------------------*
 * Message Boxes
 *-----------------------------------------------*/
.msg-box {
    font-size: 18px;
    border-radius: 9px;
    border-style: solid;
    border-width: 1px;
    border-color: #c0c0c0;
    color: gray;
    padding: 1em;
}

.msg-box h1 {
    font-size: 36px;
}

.msg-box h2 {
    font-size: 30px;
}

.msg-box h3 {
    font-size: 24px;
}

.msg-box p {

}

.msg-box.small {
    font-size: 14px;
}

.msg-box.micro {
    font-size: 10px;
}

.msg-box.primary {

}

.msg-box.info {

}

.msg-box.warning {

}

.msg-box.important {

}

.msg-box.danger {

}

/*-----------------------------------*
 * Utility
 *-----------------------------------*/

.rotate90 {
	/* Safari */
	-webkit-transform: rotate(-90deg);

	/* Firefox */
	-moz-transform: rotate(-90deg);

	/* IE */
	-ms-transform: rotate(-90deg);

	/* Opera */
	-o-transform: rotate(-90deg);

	/* Internet Explorer */
	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}


/*-----------------------------------------------*
 * Multiple select options
 *-----------------------------------------------*/
.multiple .checkbox{
	display: inline-block;
	margin-right: 2em;
	min-width: 115px;
}
.multiple .checked {
	background: #ffc6cc;
	color: darkred;
}


/*===============================================*
 * Printable footer
 *===============================================*/
footer.printable {
	display: block;
	visibility: visible;
	margin-top: 18px;
	border-top: 6px solid #b8b8b8;
	color: #999;
	text-align: right;
}

/*-----------------------------------------------*
 * Ultra Button
 *-----------------------------------------------*/
.ultra-button {
	display: block;
	padding: 2em;
	border-radius: 3em;
	background: #53F053;
	opacity: 0.6;
	font-size: 20px;
}
.ultra-button:hover {
	text-decoration: none;
	opacity: 1.0;
}
.ultra-button:active {
	opacity: 1.0;
	background-color: #4edd4e;
}
.ultra-button .name {
	font-weight: bold;
	color: #00570e;
}

/*
    Debug kit tool bar
------------------------------------------*/
@media print {
	#debug-kit-toolbar {
		display: none;
		visibility: hidden;
	}
}

/*-----------------------------------------------*
 * Pages/display action
 *-----------------------------------------------*/

body.c-pages.a-display .models dt {
	margin-top: 12px;
	width: 100%;
	text-align: left;
	border-top: 3px solid #C0C0C0;
}

body.c-pages.a-display .models dd {
	margin: 0;
}

/*-----------------------------------------------*
 * Common elements of baked view
 *-----------------------------------------------*/
a.asc {
	padding-right: 12px;
	background: url(img/asc.png) no-repeat right center;
}
a.desc {
	padding-right: 12px;
	background: url(img/desc.png) no-repeat right center;
}

/*-----------------------------------------------*
 * Git Info
 *-----------------------------------------------*/
.git-info {
	position: fixed;
	right: 0;
	top: 55px;
	padding: 6px;
	background: #FF8080;
	border: none;
	border-radius: 6px 0 0 6px;
	box-shadow: 3px 4px 8px rgba(0, 0, 0, 0.4);
}

.branch-master .git-info {
	background: #A9F9A9;
}

.git-branch .octicon {
	padding-right: 4px;
}

/*-----------------------------------------------*
 * Model Relationship Table
 *-----------------------------------------------*/
.table.modelRelationships th,
.table.modelRelationships td {
	border: 1px solid #ddd;
}
.table.modelRelationships .count {
	display: block;
}

/*-----------------------------------------------*
 * Buttons in header
 *-----------------------------------------------*/
#topNav .btn {
	padding: 4px;
	font-size: 12px;
}

/*-----------------------------------------------*
 * Overwrite dropdown-menu
 *-----------------------------------------------*/
.btn-group.open > .dropdown-menu-grand {
	display: flex;
	width: 940px;
}
.dropdown-menu-grand {
	list-style: none;
}
.dropdown-menu-column {
	width: 200px;
	margin-right: 25px;
}
.dropdown-menu-inside-column {
	margin: 0;
	list-style: none;
}
.dropdown-menu-inside-column > li > a {
	display: block;
	padding: 3px 20px;
	clear: both;
	font-weight: normal;
	line-height: 20px;
	color: #333;
	white-space: nowrap;
}

.dropdown-menu-grand > .dropdown-submenu,
.dropdown-menu-grand > .menu-list-item {

}

.dropdown-menu-inside-column > li > a:hover,
.dropdown-menu-inside-column > li > a:focus {
	color: #ffffff;
	text-decoration: none;
	background-color: #0081c2;
	background-image: -moz-linear-gradient(top, #0088cc, #0077b3);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));
	background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);
	background-image: -o-linear-gradient(top, #0088cc, #0077b3);
	background-image: linear-gradient(to bottom, #0088cc, #0077b3);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
}

.dropdown-menu-inside-column > .active > a,
.dropdown-menu-inside-column > .active > a:hover,
.dropdown-menu-inside-column > .active > a:focus {
	color: #ffffff;
	text-decoration: none;
	background-color: #0081c2;
	background-image: -moz-linear-gradient(top, #0088cc, #0077b3);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));
	background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);
	background-image: -o-linear-gradient(top, #0088cc, #0077b3);
	background-image: linear-gradient(to bottom, #0088cc, #0077b3);
	background-repeat: repeat-x;
	outline: 0;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
}

.dropdown-menu-inside-column > .disabled > a,
.dropdown-menu-inside-column > .disabled > a:hover,
.dropdown-menu-inside-column > .disabled > a:focus {
	color: #999999;
}

.dropdown-menu-inside-column > .disabled > a:hover,
.dropdown-menu-inside-column > .disabled > a:focus {
	text-decoration: none;
	cursor: default;
	background-color: transparent;
	background-image: none;
	filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}