#monitor .contents .line, #monitor .contents .clear{
	display: none;
}

@media screen and (max-width: 1000px){
	.time_map th ul li.secondary{
		display: none;
	}
}
@media screen and (max-width: 810px){
	.dialog.selector{
		width: 98%;
	}
}
@media screen and (max-width: 800px){
	.schedule_year{
		width: 100%;
		float: none;
		padding: 0 5px;
		box-sizing: border-box;
	}
	#form_print_template{
		display: none;
	}
	#print_template_disabled{
		display: table;
	}
}
@media screen and (max-width: 650px){
	html, body{
		height: auto;
		width: auto;
		min-height: 100%;
		min-width: 100%;
	}
	
	#container{
		width: auto;
		height: auto;
		overflow: visible;
	}
	#content{ overflow: visible; }
	#header{ position: fixed; }
	
	#logo_welcome img{
		padding-top: 20px;
	}
	
	#user{
		height: 0;
		width: 0;
		bottom: 0;
		overflow: hidden;
		max-width: 250px;
		margin-left: 0 !important;
		top: 45px;
		padding: 0;
		color: #333;
		
		_height: expression(document.body.clientHeight - header.offsetHeight);
		
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
		
		-moz-box-shadow: 0 3px 10px #777;
		-ms-box-shadow: 0 3px 10px #777;
		-o-box-shadow: 0 3px 10px #777;
		-webkit-box-shadow: 0 3px 10px #777;
		box-shadow: 0 3px 10px #777;
		
		z-index: 3;
		
		background: #ffffff; /* Old browsers */
		background: -moz-linear-gradient(top,  #ffffff 0%, #e5e5e5 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#e5e5e5)); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  #ffffff 0%,#e5e5e5 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  #ffffff 0%,#e5e5e5 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  #ffffff 0%,#e5e5e5 100%); /* IE10+ */
		background: linear-gradient(to bottom,  #ffffff 0%,#e5e5e5 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
	}
	#user:after{
		content: "";
		position: absolute;
		border-style: solid;
		border-color: #fff transparent;
		border-width: 0;
		width: 0;
		height: 0;
		display: block;
		
		top: -13px; /* value = - border-top-width - border-bottom-width */
		right: 5px;
	}
	#user.visible{
		overflow: visible;
		height: 200px;
		width: 80%;
		padding: 5px 10px;
	}
	#user.visible:after{
		border-width: 0 10px 13px;
	}
	#user .separator{ display: none; }
	#user .line{
		display: block;
		height: 1px;
		margin: 5px 0;
		width: 100%;
		background-color: #333;
	}
	#user .menu a{
		color: #333;
	}
	#user .menu a span{
		display: inline;
	}
	#user .user, #user .user span,
	#user .menu, #user .menu a,
	#user #serverTime{
		display: block;
		/* overflow: hidden; */
		white-space: nowrap;
		text-overflow: ellipsis;
	}
	#user .notification_status{
		display: none;
	}

	#show_user{
		float: right;
		display: block;
		margin: 7px 6px 0 0;
		width: 30px;
		height: 30px;
		cursor: pointer;
		cursor: hand;
		color: #fff;
		font-size: 2em;
	}
	#show_user:hover, #show_user.active{
		color: #009EB8;
	}
	
	#menu_small{
		display: none;
	}
	
	#content{
		position: static;
		padding-top: 40px;
	}
	#content_1{
		padding: 5px 0 0;
		height: 50px;
		border-bottom: none 0;
		box-shadow: none;
	}
	#content_1 p{
		overflow-x: auto;
		height: 110%;
		white-space: nowrap;
	}
	#content_2{
		position: static;
		/* padding: 5px; */
		padding-top: 5px;
		overflow: visible;
		top: 0;
	}
	#logo_welcome{ min-height: 300px; }
	
	#monitor{
		top: 100px;
		min-height: 400px;
	}
	/* .tabs.horizontal .menu{
		width: 100px;
	}
	.tabs.horizontal .contents{
		width: calc(100% - 100px);
	} */
	#monitor .contents .line{
		display: block;
	}
	#monitor .tabs.horizontal .menu{
		height: 23px;
		z-index: 2;
		position: relative;
		float: none;
		width: auto;
	}
	#monitor .tabs.horizontal .menu li{
		display: inline-block;
		padding-top: 0;
	}
	#monitor .tabs.horizontal div.menu div{
		overflow-x: auto;
	}
	#monitor .tabs.horizontal .menu a.active{
		border-right: solid 1px #333;
		border-bottom: solid 1px #fff;
	}
	#monitor .tabs.horizontal .menu a{
		display: inline-block;
		width: unset;
		overflow: unset;
		text-overflow: unset;
		border-bottom: solid 1px #333;
		-webkit-border-bottom-left-radius: unset;
		-webkit-border-top-right-radius: 4px;
		-moz-border-radius-bottomleft: unset;
		-moz-border-radius-topright: 4px;
		border-bottom-left-radius: unset;
		border-top-right-radius: 4px;
	}
	#monitor .tabs.horizontal .contents{
		float: none;
		width: unset;
		border: none 0;
	}
	
	fieldset, .big_form fieldset, fieldset.big_form{
		width: auto;
		min-width: auto;
	}
	.form_detail{
		width: auto;
		float: none;
	}
	form .buttons_container, fieldset .buttons_container, .big_form fieldset .buttons_container{
		margin-left: 0;
	}
	.big_form input, .big_form textarea{
		width: 256px;
	}
	.big_form input.range{
		width: 107px !important;
	}
	select.multiple, select.multiple.mini,
	.big_form select.multiple, .big_form select.multiple.mini{
		height: auto;
	}
	.big_form select, .big_form .chosen-container{
		width: 256px;
	}
	.search_input{
		float: none;
	}
	.big_form .search_input{
		min-width: auto;
		padding-right: 0;
	}
	
	.full_form li div.left{ width: 100%; }
	
	.form_box{
		margin-top: 5px;
		overflow-x: auto;
	}
	.form_box table{
		min-width: 1000px;
	}
	
	.pagination form.settings{
		display: none;
	}
	
	.tabs.boxed .contents{
		overflow-y: auto;
		overflow-x: auto;
		max-height: 360px;
	}
	
	.form_list div{
		overflow-y: auto;
		overflow-x: auto;
		max-height: 400px;
	}
	.form_list div div{
		overflow: visible;
		max-height: none;
	}
	.form_list div .table_style{
		min-width: 1000px;
	}
	
	.table_style tbody tr td.commands{
		overflow: visible;
	}
	.table_style tbody tr td.commands div{
		position: relative;
	}
	
	.table_style tbody tr td.commands div .container div{
		overflow: auto;
		max-height: 200px;
	}
	
	/* GROUND UP STYLE */
	.table_style tbody tr td.commands.ground_up div .wrapper{
		z-index: 9999998;
		position: fixed;
	}
	.table_style tbody tr td.commands.ground_up div .wrapper.block{
		display: block;
	}
	.table_style tbody tr td.commands.ground_up div .container{
		position: fixed;
		background-color: #fff;
		padding: 5px;
		z-index: 9999999;
		padding: 5px;
		max-height: 80%;
		overflow-y: auto;
		right: 0;
		left: 0;
		bottom: -100%;
		
		-moz-box-shadow: 0 0 13px #777;
		-ms-box-shadow: 0 0 13px #777;
		-o-box-shadow: 0 0 13px #777;
		-webkit-box-shadow: 0 0 13px #777;
		box-shadow: 0 0 13px #777;
		
		-moz-transition: bottom 0.3s;
		-webkit-transition: bottom 0.3s;
		-o-transition: bottom 0.3s;
		transition: bottom 0.3s;
	}
	.table_style tbody tr td.commands.ground_up div .container.active{
		bottom: 0;
	}
	/* END FULL BOTTOM FLOATING STYLE */
	
	/* BALLOON STYLE */
	.table_style tbody tr td.commands.balloon div .container{
		position: absolute;
		background-color: #fff;
		padding: 5px;
		display: none;
		z-index: 1;
		padding: 5px;
		
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
		
		-webkit-border-top-right-radius: 3px;
		-moz-border-radius-topright: 3px;
		border-top-right-radius: 3px;
		
		-moz-box-shadow: 0 0 13px #777;
		-ms-box-shadow: 0 0 13px #777;
		-o-box-shadow: 0 0 13px #777;
		-webkit-box-shadow: 0 0 13px #777;
		box-shadow: 0 0 13px #777;
	}
	.table_style tbody tr td.commands.balloon div .container:after{
		content: "";
		position: absolute;
		border-style: solid;
		border-width: 0 10px 13px;
		border-color: #fff transparent;
		width: 0;
		height: 0;
		display: block;
		
		top: -13px;
		right: 3px;
	}
	.table_style tbody tr td.commands.balloon div .container.active{
		display: block;
		right: 0;
		top: 35px;
	}
	/* END INLINE FLOATING STYLE */
	
	.table_style .commands,
	.table_style .commands_1, .table_style .commands_2,
	.table_style .commands_3, .table_style .commands_4,
	.table_style .commands_5, .table_style .commands_6,
	.table_style .commands_7, .table_style .commands_8,
	.table_style .commands_9, .table_style .commands_10
	{
		width: 20px;
		/* text-align: center; */
	}
	.table_style td.commands span.icon-menu{ display: inline; }
	.table_style td.commands span.icon-menu:before{ margin: 0; }
	.table_style td.commands a{ display: block; }
	.table_style td.commands span{
		margin-left: 3px;
	}
	.table_style td.commands .container span{
		display: inline-block;
		font-size: 0.7em;
		margin-left: 5px;
	}
	.table_style td.commands a:hover{ color: #009EB8 !important; }
	
	.table_style .marked.blue .commands div div a:hover, .table_style .marked.blue .commands div div .anchor:hover,
	.table_style .marked.red .commands div div a:hover, .table_style .marked.red .commands div div .anchor:hover,
	.table_style .marked.orange .commands div div a:hover, .table_style .marked.orange .commands div div .anchor:hover,
	.table_style .marked.maroon .commands div div a:hover, .table_style .marked.maroon .commands div div .anchor:hover,
	.table_style .marked.purple .commands div div a:hover, .table_style .marked.purple .commands div div .anchor:hover,
	.table_style .marked.pink .commands div div a:hover, .table_style .marked.pink .commands div div .anchor:hover,
	.table_style .marked.green .commands div div a:hover, .table_style .marked.green .commands div div .anchor:hover,
	.table_style .marked.brown .commands div div a:hover, .table_style .marked.brown .commands div div .anchor:hover,
	.table_style .marked.yellow .commands div div a:hover, .table_style .marked.yellow .commands div div .anchor:hover
	{
		color: #009EB8;
	}
	
	.search_container{
		clear: both;
		float: none;
	}
	
	.dialog{
		width: 98%;
		max-height: 98%;
	}
	.dialog_container{
		max-height: calc(98dh);
	}
	.dialog_body{
		max-height: calc(98dh - 100px) !important;
	}
	.dialog.report{
		width: 98%;
		max-width: 370px;
	}
	
	.selector .container{
		height: auto;
		padding: 0;
		border: none 0;
	}
	.selector .container .left, .selector .container .right{
		width: 100%;
		float: none;
		border: solid 1px #aaa;
		padding: 5px;
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
	}
	.selector .container .right{
		margin-top: 5px;
	}
	.selector .info .left, .selector .info .right{
		width: auto;
	}
	
	.percentage_bar .bar{
		width: 100%;
	}
	.percentage_bar .finish{
		left: unset;
		right: 5px;
	}
	
	.big_form .form_note{
		margin-left: 0;
		width: 100%;
	}
	
	.loader_bar .bar{
		width: calc(100% - 50px);
	}
}

@media screen and (max-width: 650px) /* and (orientation: portrait) */{
	label, .big_form label{
		width: auto;
		float: none;
	}
	label.inline_label, .big_form label.inline_label{
		font-weight: normal;
	}
	fieldset li{
		padding-bottom: 10px;
	}
	
	.responsive_space_left_5, .responsive_space_left_10{
		margin-left: 0;
	}
	.responsive_space_left_5:before, .responsive_space_left_10:before{
		content: "\A";
		white-space: pre;
	}
	
	.table_style .col_2, .table_style .col_3, .table_style .col_4,
	.table_style .col_5, .table_style .col_6, .table_style .col_7,
	.table_style .col_8, .table_style .col_9, .table_style .col_10
	{
		visibility: none;
		padding: 0;
		width: 0 !important;
		display: none;
	}
	.table_style .col_1, .table_style .important{
		width: auto !important;
		display: table-cell;
	}
	
	.pagination div.left, .pagination form.right{
		float: none;
		margin: 0 auto;
		display: block;
	}
	.pagination form.right{
		margin-top: 5px;
	}
	
	#content_3{
		overflow-x: visible;
	}
	.big_form input, .big_form textarea,
	.big_form select, .big_form .chosen-container,
	.dialog .big_form input, .dialog .big_form textarea{
		width: 100%;
		box-sizing: border-box;
	}
	.dialog .big_form select, .dialog .big_form .chosen-container{
		width: 100%;
	}
	.advanced_selector_container{
		width: 80%;
	}
	.error_box, .success_box, .status_box, .loader_box{
		width: 100%;
		box-sizing: border-box;
	}
}

@media screen and (max-width: 650px) and (orientation: landscape){
	/* html{
		overflow: auto;
	} */
	body{
		overflow: auto;
	}
	#container{
		overflow: visible;
		position: relaive;
		height: auto;
		width: auto;
	}
	#content{
		position: static;
	}
	#menu{
		height: 100%;
	}
	
	.table_style .col_5, .table_style .col_6, .table_style .col_7,
	.table_style .col_8, .table_style .col_9, .table_style .col_10
	{
		visibility: none;
		padding: 0;
		width: 0 !important;
	}
	.table_style .col_1, .table_style .col_2, .table_style .col_3, 
	.table_style .col_4,
	.table_style .important{
		width: auto !important;
	}
}

@media screen and (min-width: 350px) and (max-width: 500px){
	.pagination form .container{
		right: 0;
	}
	.pagination form .container:after{
		left: auto;
		right: 20px;
	}
}
@media screen and (min-width: 735px) and (max-width: 900px){
	.pagination form .container{
		right: 0;
	}
	.pagination form .container:after{
		left: auto;
		right: 20px;
	}
}