/*
	> 1180px = default css (Desktop)
	< 860px >1180px = special case with fixed .*top_fixed_small (Tablet)
	<= 1180px = Tablet	// !!! Also in responsive_template.js $(window).scroll !!! 
	< 640px = Phone	
*/

html, body 
{
	height: 100%;
}

body {margin: 0;}

/* header */
.header_responsive_container
{
	background: #F8F8F8;
	
    position: fixed; /* problem */
    top: 0;
    left: 0;
    width: 100%;
	height: 60px;	
	
	z-index: 19998;
}

.header_responsive_container_user .sidenav a
{
	color: #EE951B !important;
	font-weight: bold;
}

.header_responsive
{
	position: fixed;
	top: 0;
	left: 0;
	
	width: 100%;
	height: 60px;
	
	padding: 0;
	
	min-width: 310px;

	background: #F8F8F8;
	
	border-bottom: 1px solid #E0E0E0;
	
	z-index: 19998;	
	
	/* center with max width */
	margin: 0 auto;
	position: relative;
	max-width: 1400px;
	padding-left: 24px;
	padding-right: 24px;	
	/* */
	
	transition: 0.2s;
}
.header_responsive .row, .header_responsive [class*="col-"] 
{
	padding: 0;
}

.header_responsive table
{
	background: transparent;
}

.header_responsive>div, .header_responsive>ul
{
	float: left;
}

@media screen and (max-width: 1180px) {
	.header_responsive
	{	
		position: relative;
		height: 115px;
		
		/* center with max width */
		padding-left: 0;
		padding-right: 0;		
		/* */		
	}
}

@media screen and (max-width: /*400px*/640px) {
	.header_responsive
	{	
		position: relative;
		height: 112px;
		
		/* center with max width */
		padding-left: 0;
		padding-right: 0;		
		/* */
	}
}

/* fix the menu to the top if on small screen after scroll */
@media screen and (max-width: 1180px) {
	.header_responsive_top_fixed_small
	{
		position: fixed !important; /* problem */
		top: -55px !important;
		
		-webkit-box-shadow: 0px 1px 1px 0px rgba(128,128,128,1);
		-moz-box-shadow: 0px 1px 1px 0px rgba(128,128,128,1);
		box-shadow: 0px 1px 1px 0px rgba(128,128,128,1);
	}
	.drawermenu_wrapper_top_fixed_small
	{
		top: 55px !important;
	}
	.drawermenu_mask_top_fixed_small
	{
		top: 55px !important;
	}
	.site_content_top_fixed_small
	{
		margin-top: 110px !important;
	}
}
/* */

/* site_content */
#site_content.site_content_responsive
{
	margin-top: 60px; /* problem */
	height: auto;
	
	margin-bottom: 47px;
}

#footer.footer_responsive
{
	background: #FFFFFF;
	border: none;
	border-top: 1px solid #E0E0E0;
	
	/* center with max width */
	margin: 0 auto;
	position: relative;
	max-width: 800px;
	padding-left: 24px;
	padding-right: 24px;	
	/* */	
}

@media screen and (max-width: 1180px) {
	#site_content.site_content_responsive
	{
		margin-top: 110px;
	}
}

@media screen and (max-width: /*400px*/640px) {
	#site_content.site_content_responsive
	{	
		margin-top: 110px;
	}
}

/* sidenav */
ul.sidenav 
{
    list-style-type: none;
    margin: 0 0 0 10px;
    padding: 0;
	
	width: 550px;	
    height: auto;
	
	text-align: left;
	border: none;
	background: #F8F8F8;
}

ul.sidenav li a 
{
    display: block;
    color: #000;
    padding: 3px;
    text-decoration: none;
}

ul.sidenav li a:hover
{
	background: #F0F0F0;
}
 
ul.sidenav li a.active 
{
    background-color: #4CAF50;
    color: white;
}

ul.sidenav>li>a:hover:not(.active) 
{
    background: #F0F0F0;
}

div.content 
{
    margin-left: 25%;
    padding: 1px 16px;
    height: 1000px;
}

@media screen and (max-width: 1180px) {
	ul.sidenav
	{	
		width: 100%;
	}
}

@media screen and (max-width: /*400px*/640px) {
    ul.sidenav li a 
	{
        text-align: center;
        float: none;
    }
}

/* */

ul.sidenav>li>ul
{
	margin-top: 0;
	position: absolute;
	top: 50px;
	left: 0;
	z-index: 598;
	
    list-style: none;
    margin: 0;
    padding: 0 10px 30px;	
	
	width: 100%;
	background: #F8F8F8;
	border-bottom: 1px solid #E0E0E0;
}
ul.sidenav>li>ul>li
{
	width: 100%;
}

ul.sidenav ul li a 
{
	float: none;
}

ul.sidenav>li>a
{
	float: left;
	padding: 0 15px;	
	line-height: 55px;

	border-top: 2px solid transparent;
	border-bottom: 2px solid transparent;
	border-right: 1px solid transparent;
	border-left: 1px solid transparent;
}

ul.sidenav>li>ul>li
{
	display: block;
	float: left;
	
	margin-top: 20px;
	
	border-bottom: 1px solid #FAFAFA;
}
ul.sidenav>li>ul>li>span
{
	font-weight: bold;
	font-size: 17px;
}
ul.sidenav>li>ul>li>ul 
{
	position: relative;
	top: auto;
}
ul.sidenav>li>ul>li>ul>li>a
{
	display: inline;
	padding: 0;
}
ul.sidenav>li>ul>li a:hover:not(.active) 
{
	background: transparent;
	color: #444444;
}

ul.sidenav .row h3
{
	margin: 0;
	padding: 0;
}

ul.sidenav .row
{
	width: 100%;
	padding-right: 50px;
	padding-bottom: 10px;
}
ul.sidenav .row ul
{
	margin-top: 0;
	z-index: 598;
	
    list-style: none;
    margin: 0;
    padding: 0;	
}
ul.sidenav .row ul a
{
	padding: 3px;	
}

.sidenav .sidenav_panel
{
    position: absolute;
	top: 60px;    	
	left: 0;
	
	padding: 0;
	width: 100%;
	
	background: transparent;
}

.sidenav .sidenav_panel_inner
{
	/* center with max width */
	margin: 0 auto;
	position: relative;
	max-width: 870px;
	padding-left: 24px;
	padding-right: 24px;	
	/* */
	
	padding-top: 10px;
	padding-bottom: 30px;
	background: #E0E0E0;
	border-bottom: 1px solid #C0C0C0;
}

@media screen and (max-width: 1180px) {
	.sidenav .sidenav_panel
	{
		padding: 0;
		background: #E0E0E0;
		border-bottom: 1px solid #C0C0C0;
	}
	
	.sidenav .sidenav_panel_inner
	{	
		maring: 0 auto;
		padding: 10px 30px 30px;
		max-width: auto;
		border-bottom: none;
	}
}


.sidenav .sidenav_panel_close
{
	position: absolute; 
	top: 10px;
	right: 10px; 

	padding: 10px; 
	margin: 0;
	margin-top: -5px !important;

    float: right; 
	font-weight: bold; 
	font-size: 20px; 
	color: #444444;
}

.sidenav .sidenav_active
{
	border-right: 1px solid #E0E0E0;
	border-left: 1px solid #E0E0E0;
	background: #E0E0E0 !important;
	color: #000000 !important;
}

/* */
.sidenav ul .sidenav_current>a, 
	.sidenav div .sidenav_current>a
{
	font-weight: bold;
}
.sidenav>.sidenav_current>a
{	
	border-top: 2px solid rgba(0,0,0,0.4) !important;
}
@media screen and (max-width: 1180px) {
	.sidenav>.sidenav_current>a
	{	
		border-top: 2px solid transparent !important;
		border-bottom: 2px solid rgba(0,0,0,0.4) !important;
	}
}

.header_responsive_container_user .sidenav ul .sidenav_current>a, 
	.header_responsive_container_user .sidenav div .sidenav_current>a
{
	font-weight: normal;
}
.header_responsive_container_user .sidenav>.sidenav_current>a
{	
	border-top: 2px solid rgba(238,149,27,0.4) !important;
}
@media screen and (max-width: 1180px) {
	.header_responsive_container_user .sidenav>.sidenav_current>a
	{	
		border-top: 2px solid transparent !important;
		border-bottom: 2px solid rgba(238,149,27,0.4) !important;
	}
}


.drawermenu .drawermenu_current>a
{
	font-weight: bold;
}

.header_responsive_container_user .drawermenu .drawermenu_current>a
{
	font-weight: normal;
}

/* */

@media(max-width:1180px) 
{
	ul.sidenav>li>a
	{
		font-size: 14px;
	}

	.sidenav .sidenav_panel a
	{
		font-size: 14px;
		margin: 10px 0;
	}

	ul.sidenav ul li a 
	{
		font-size: 14px;
		margin: 10px 0;
	}
	
	.sidenav .sidenav_panel
	{
		top: 110px; 
	}
}

@media screen and (max-width: /*400px*/640px) {
	ul.sidenav
	{	
		position: relative;
		display: none;
		margin-top: 0px;
	}
}

/* sidenav-drawer-menu */
.sidenav-drawer-menu
{
	padding: 5px;
	display: none;
}
@media screen and (max-width: /*400px*/640px) {
	.sidenav-drawer-menu
	{
		display: block;
		float: left;
		height: 30px;		
	}
}

/* drawermenu_link */
#drawermenu_link_link:active, 
	#drawermenu_link_link:focus, 
	#drawermenu_link_link:hover, 
	#drawermenu_link_link:visited
{
	color: #000000;
}
.header_responsive_container_user #drawermenu_link_link, 
	.header_responsive_container_user #drawermenu_link_link:active, 
	.header_responsive_container_user #drawermenu_link_link:focus, 
	.header_responsive_container_user #drawermenu_link_link:hover, 
	.header_responsive_container_user #drawermenu_link_link:visited
{
	color: #EE951B !important;
}

#drawermenu_link
{
	font-size: 35px; 
	padding: 7px;
}
.drawermenu_link_rotated
{
    -ms-transform: rotate(180deg); /* IE 9 */
    -webkit-transform: rotate(180deg); /* Chrome, Safari, Opera */
    transform: rotate(180deg);
}
.drawermenu_link_rotated_invert
{
    -ms-transform: rotate(-180deg); /* IE 9 */
    -webkit-transform: rotate(-180deg); /* Chrome, Safari, Opera */
    transform: rotate(-180deg);
}

/* navbar */
.navbar-top-links 
{
	margin: 0;	
	padding: 0;
	float: right;
}

.navbar-top-links>li 
{
    display: inline-block;
	line-height: 58px;
	padding: 0 3px;
}

.navbar-top-links li:last-child 
{
    margin-right: 0;
}

.navbar-top-links li a 
{
    padding: 15px 2px;
    min-height: 50px;
}

.navbar-top-links .ccdropdown_menu li 
{
    display: block;
}

.navbar-top-links .ccdropdown_menu li:last-child 
{
    margin-right: 0;
}

.navbar-top-links .ccdropdown_menu li a 
{
    width: 100%;
    display: block;	
	
    padding: 3px 10px;
    min-height: 0;
}

.navbar-top-links .ccdropdown_menu li a div 
{
    white-space: normal;
}

.navbar-top-links .dropdown-messages,
.navbar-top-links .dropdown-tasks,
.navbar-top-links .dropdown-alerts 
{
    width: 310px;
    min-width: 0;
}

.navbar-top-links .dropdown-messages,
	.navbar-top-links .dropdown-tasks,
	.navbar-top-links .dropdown-alerts 
{
	margin-left: auto;
}

.ccdropdown_menu {
    position: absolute;
    top: 100%;
	right: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 200px;
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 0;
	background: #F8F8F8;
}
.ccdropdown_menu li {
	line-height: 30px;
}

.ccdropdown_menu .divider 
{
    height: 1px;
    margin: 9px 0;
    overflow: hidden;
    background-color: #e5e5e5;
}

@media(max-width:767px) 
{
	.navbar-top-links .dropdown-messages 
	{
		margin-left: 5px;
	}	
	
	.navbar-top-links .dropdown-tasks 
	{
		margin-left: -59px;
	}	

	.navbar-top-links .dropdown-alerts 
	{
		margin-left: -123px;
	}
}

.navbar-top-links .ccdropdown_menu
{
	z-index: 19998;	
}
	

/* */
.navbar-top-links a
{
	text-decoration: none;
}

.header_responsive>div.navbar_top_links_wrapper
{
    float: right;
}

@media screen and (max-width: 1180px) {
	.navbar_top_links_wrapper
	{
		position: absolute;
		top: 0;
		right: 0;
	}
}
/* special case */
@media screen and (min-width: 860px) {
	@media screen and (max-width: 1180px) {
		.header_responsive_top_fixed_small .navbar_top_links_wrapper
		{
			position: absolute;
			top: 55px;
			right: 0;
		}
	}
}

@media screen and (max-width: /*400px*/640px) 
{
	.navbar_top_links_wrapper
	{
		float: right;
		position: relative;
	}
}


@media screen and (max-width: /*400px*//*640px*/580px) 
{
	.header_tag_wrapper
	{
		display: none;
	}
}

.header_branding_wrapper
{
	padding: 5px;
	text-align: left;   
	float: left;
	
	height: 55px;
	overflow: hidden;
}

/* logo row: fixed 32px line box, both logos vertically centered to each other;
   tagline below at 18px lands a symmetric 5px from the header bottom
   (5 + 32 logos + 18 tagline + 5 = 60) */
.header_logo_wrapper .header_logo_row
{
	height: 32px;
	line-height: 32px;
}
.header_tag_wrapper #tagline
{
	line-height: 18px;
	margin: 0;
}

/* Jasper model logo: inline beside the Cristal logo, tagline runs below */
.header_model_wrapper
{
	display: inline-block;
	margin-left: 15px;
	vertical-align: middle;
}

@media screen and (max-width: /*400px*/640px) {
	.header_model_wrapper
	{
		display: none;
	}
}

@media screen and (max-width: /*400px*/640px) 
{
	.header_branding_wrapper
	{
		width: 100%;
	}
}

.header_logo_wrapper
{
	overflow: hidden;
}
.header_logo_wrapper table
{
	float: left;
	width: 100%;
}

@media screen and (max-width: /*400px*/640px) {
	.header_logo_wrapper
	{
		line-height: 58px;
	}
}


.drawermenu_wrapper
{
	position: fixed;
	left: 0;
	top: 112px;
	
	overflow-x: hidden;
	overflow-y: auto;
	
	width: 300px;
	height: 100%;
	background: #F8F8F8;

	border-top: none;
	border-right: 1px solid #E0E0E0;
	
	z-index: 19998;
}

.drawermenu
{
    list-style-type: none;
    margin: 0 0 0 0;
    padding: 0;
	padding-bottom: 200px;
	
	width: 300px;	
    height: auto;
	
	
	
	text-align: left;
	border: none;
	background: #F8F8F8;
	
}
.drawermenu ul
{
	padding: 0;
	display: none;
}
.drawermenu li
{
	list-style-type: none;
	
}
.drawermenu li a
{
    display: block;
    color: #000;
    padding: 10px 30px 10px 10px;
    text-decoration: none;
	
	border-bottom: 1px solid #E0E0E0;
}
.header_responsive_container_user .drawermenu li a
{
    color: #EE951B !important;
	font-weight: bold;
}
.drawermenu li i
{
	float: right;
}
.drawermenu li ul
{
}
.drawermenu>li>ul>li>a
{
	padding-left: 30px;
}
.drawermenu>li>ul>li>ul>li>a
{
	padding-left: 45px;
}

.drawermenu_mask
{
	z-index: 20000;	
	
	position: fixed;
	left: 0;
	top: 112px;
	
	width: 100%;
	height: 100%;
	
	background-color: #000;	
	
	-moz-opacity: 0.7;
	opacity:.70;
	filter: alpha(opacity=70);
	
	z-index: 19997;

	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

@media screen and (min-width: /*400px*/641px) {
	.drawermenu_wrapper
	{
		margin-left: -300px !important;
	}	
	.drawermenu_mask
	{
		display: none !important;
	}
}


.site_mask
{
	z-index: 20000;	
	
	position: fixed;
	left: 0;
	top: 0;
	
	width: 100%;
	height: 100%;
	
	background-color: #FFFFFF;	
	
	-moz-opacity: 0.0;
	opacity:.0;
	filter: alpha(opacity=0);
}

/* ---- style.css >> ---- */

.header_responsive #h_jasper_config_status
{
	position: fixed;
	text-align: left;
	padding: 7px;
	border: 1px solid #E0E0E0;
	background: #F4F4F4;
	
	-webkit-box-shadow: 1px 1px 1px 0px rgba(231,231,231,1);
	-moz-box-shadow: 1px 1px 1px 0px rgba(231,231,231,1);
	box-shadow: 1px 1px 1px 0px rgba(231,231,231,1);
}

/* Small devices (tablets, 768px and up) */
/*@media(max-width:767px) {*/
@media(max-width:1050px) {
	.site_content_responsive .config_value
	{
		overflow: hidden;
	}
	
	.site_content_responsive .config_value label
	{
		text-align: left;
		font-weight: bold;
		width: 85%;
		float: left;
	}
	
	.site_content_responsive .config_value input, 
		.site_content_responsive .config_value select
	{
		width: 95%;
		float: left;
		
		padding: 5px;
	}
	
	.site_content_responsive .config_value input[type='checkbox']
	{
		width: 10%;
	}
	
	.site_content_responsive .config_value img
	{
		display: none;
	}

	.site_content_responsive .config_section, 
		.site_content_responsive .config_section label, 
		.site_content_responsive .config_section .config_value>input, 
		.site_content_responsive .config_section .config_value>select, 
		.site_content_responsive .config_section .config_value>button, 
		.site_content_responsive .config_section input[type='submit'], 
		.site_content_responsive .config_section button[type='submit']
	{
		font-size: 16px;
	}
	.site_content_responsive .config_section h4
	{
		font-size: 20px;
	}

	.site_content_responsive .info_line
	{
		width: auto;
		font-size: 12px;
	}
}


#site
{
	width: 100%;
	overflow: auto;
}

.normal_site_container
{
	margin-right: auto;
	margin-left: auto;
}

/* header hostname + date/time clock (responsive) */
.navbar-top-links li.header_datetime
{
	line-height: normal;
	vertical-align: middle;
}
.navbar-top-links li.header_datetime a
{
	cursor: default;
	white-space: nowrap;
	line-height: 1.15;
	text-align: right;
	display: inline-block;
	vertical-align: middle;
	padding: 0;
	min-height: 0;
}
.navbar-top-links li.header_datetime a:hover
{
	color: #000000;
	text-decoration: none;
}
.navbar-top-links li.header_datetime .header_datetime_hostname
{
	font-weight: bold;
	font-size: 11px;
	display: block;
}
.navbar-top-links li.header_datetime .header_datetime_clock
{
	font-size: 11px;
	display: block;
}
/* not synchronized with the device (connection lost) */
.navbar-top-links li.header_datetime.header_datetime_stale a
{
	color: #B8860B;
	opacity: 0.7;
	cursor: help;
}
.navbar-top-links li.header_datetime.header_datetime_stale a:hover
{
	color: #B8860B;
}
.navbar-top-links li.header_datetime.header_datetime_stale .header_datetime_clock:after
{
	font-family: FontAwesome;
	content: "\00a0\f071";
	font-size: 11px;
}
@media screen and (max-width: 860px)
{
	.navbar-top-links li.header_datetime
	{
		display: none;
	}
}

/* ---- style.css << ---- */