/* AJUSTES GLOBALES
----------------------------------------------------------------------------------------------------*/
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,600,700);

* {
	font-family: 'Open Sans', sans-serif;
	cursor: default;
}

html,
body {
	overflow: hidden;
}

textarea {
	resize: none;
}

body {
	background: #FFF;
	font: 12px/1 'Lucida Grande', Arial, 'Liberation Sans', FreeSans, sans-serif;
}

a:hover {
	text-decoration: none;
	color: white;
}

li {
	list-style: none;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
	outline: none;
}
.ui-autocomplete {
	z-index: 10000000 !important;
}

/* AJUSTES GENERALES
----------------------------------------------------------------------------------------------------*/
.PrincipalWindow{
	width: 1050px;
	height: 800px;
}

.MedianaWindow{
	width: 880px;
	height: 535px;
}

.ReportesWindow{
	width: 700px;
	height: 460px;
}

.ChicaWindow{
	width: 525px;
	height: 240px;
}

.ui-resizable-se {
	background: url(../img/gui/window_corner.gif) no-repeat right bottom;
	font-size: 0;
	overflow: hidden;
	width: 15px;
	height: 15px;
	right: 0;
	bottom: 0;
}

div.ui-resizable-handle {
	display: none !important;
	visibility: hidden !important;
}

.abs {
	position: absolute !important;
	top: auto;
	left: auto;
	right: auto;
	bottom: auto;
}

.align_center {
	text-align: center;
}

.align_right {
	text-align: right;
}

.float_left {
	float: left;
}

.float_right {
	float: right;
}

@media (device-height: 720px) {
	.PrincipalWindow{
		height: 350px;
	}

	.ReportesWindow{
		height: 350px;
	}

	.MedianaWindow{
		height: 350px;
	}
}

@media (device-height: 768px), (device-height: 800px), (device-height: 864px){
	.PrincipalWindow{
		height: 550px;
	}

	.MedianaWindow{
		height: 550px;
	}
}

@media (device-height: 900px), (device-height: 960px){
	.PrincipalWindow{
		height: 650px;
	}

	.MedianaWindow{
		height: 535px;
	}
}

@media (max-width: 800px), (max-width: 1024px){
	.PrincipalWindow{
		width: 750px;
	}

	.MedianaWindow{
		width: 750px;
	}
}

/* `Wrapper + Wallpaper + Desktop
----------------------------------------------------------------------------------------------------*/
#wallpaper {
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
}

#desktop {
	overflow: hidden;
	top: 0px;
	left: 0;
	right: 0;
	bottom: 0px;
}

#desktop ul{
	list-style:none;
	display:inline;
	float: left;
}

#desktop ul li{
	display: block;
	width: 52px;
	height: 52px;
	margin-top: 50px;
	margin-left: 1em;
}
#desktop ul li:first-child{
margin-top: 30px;
}

.dropdown-menu{
	top: 40px;
}

.dropdown-menu:before {
	position: absolute;
	top: -7px;
	right: 9px;
	display: inline-block;
	border-right: 7px solid transparent;
	border-bottom: 7px solid #ccc;
	border-left: 7px solid transparent;
	border-bottom-color: rgba(0, 0, 0, 0.2);
	content: '';
}

.dropdown-menu:after {
	position: absolute;
	top: -6px;
	right: 10px;
	display: inline-block;
	border-right: 6px solid transparent;
	border-bottom: 6px solid #ffffff;
	border-left: 6px solid transparent;
	content: '';
}

.Widget{
	color: #696969 !important;
	padding: 0.5em;
}

.Widget li p{
	padding: 0 !important; 
	margin: 0 !important;
	border:none !important;
	font-size: 14px !important;
	background-color: transparent !important;
	font-weight: 400 !important;
	line-height: 18px !important;
}

.Widget li p span{
	font-weight: 700 !important;
	font-size: 14px !important;
}

#wrapper {
	top: 38px;
	left: 0;
	right: 0;
	bottom: 0px;
	min-width: 700px;
	min-height: 500px;
}

.ModalBody {
	left: 32px;
	right: 32px;
	max-width: 950px;
}

.xl{
	max-width: 800px !important;
}

.ModalBodyTitle{
	position:relative;
}

.ModalBodyTitle h1{
	font-size: 24px;
}

.ModalBodyTitle button{
	position:absolute !important;
	right:10px !important;
	top:6px;
}

.ModalBtn{
	position: relative;
	display: inline-block;
	height: 40px; 
	width: 80px;
	text-align: center;
	margin: auto;
	left: 0; 
	right: 0;
	font-size: 16px;
	line-height: 40px;
	background-color: #EBEBEB;
	border:1px solid #c9c9c9;
	color: #7A7A7A;
	margin-top: 10px; 
	margin-right: 10px;
}

.ModalBtn:hover{
	color: #5C5C5C;
	cursor: pointer;
}

.btn{

}

/* Windows
----------------------------------------------------------------------------------------------------*/
.window {
	background: #fff;
	border: 1px solid #000;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-webkit-background-clip: padding-box;
	color: #000;
	top: 30px;
	left: 120px;
	z-index: 2;
}

.window.window_stack,
.window.ui-draggable-dragging {
	z-index: 10;
}

.window.ui-draggable-dragging {
	opacity: 0.5;
}

.window.ui-draggable-dragging .window_content,
.window.ui-draggable-dragging .window_bottom {
	display: none;
}

.window_full.ui-draggable-dragging {
	opacity: 1;
}

.window_full.ui-draggable-dragging .window_content,
.window_full.ui-draggable-dragging .window_bottom {
	display: block;
}

.window_full {
	border: 0;
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	-webkit-background-clip: padding-box;
	width: 100%;
	height: 100%;
}

.window_full .ui-resizable-se {
	display: none;
}

.window_top {
	background: #fff url(../img/gui/bar_top.png) repeat-x;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-webkit-background-clip: padding-box;
	color: #323232;
	font-weight: 700;
	overflow: hidden;
	line-height: 40px;
	padding: 0 10px;
	height: 40px;
	font-size: 14px;
	border-bottom: 1px solid #bbb;
}

.window_bottom {
	background: #fff url(../img/gui/bar_top.png) repeat-x left bottom;
	border-top: 1px solid #bbb;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	-moz-border-radius-bottomleft: 5px;
	-moz-border-radius-bottomright: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	-webkit-background-clip: padding-box;
	font-size: 11px;
	font-weight: bold;
	line-height: 20px;
	overflow: hidden;
	text-align: center;
	text-shadow: #fff 0 1px 1px;
	height: 20px;
	left: 1px;
	right: 1px;
	bottom: 1px;
}

.window_min,
.window_resize,
.window_close {
	background: url(../img/gui/window_buttons.gif) no-repeat;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	-webkit-background-clip: padding-box;
	float: left;
	font-size: 0;
	margin: 12px 0 0 5px;
	width: 28px;
	height: 15px;
}

.window_min:hover {
	background-position: 0 -15px;
}

.window_resize {
	background-position: -28px 0;
}

.window_resize:hover {
	background-position: -28px -15px;
}

.window_close {
	background-position: -56px 0;
}

.window_close:hover {
	background-position: -56px -15px;
	box-shadow: #f00 0 0 10px;
	-moz-box-shadow: #f00 0 0 10px;
	-webkit-box-shadow: #f00 0 0 10px;
}

.window_min:hover,
.window_resize:hover {
	box-shadow: #09f 0 0 10px;
	-moz-box-shadow: #09f 0 0 10px;
	-webkit-box-shadow: #09f 0 0 10px;
}

.window_inner {
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.window_content {
	line-height: 1.5;
	top: 40px;
	left: 1px;
	right: 1px;
	bottom: 23px;
	overflow-y: auto;
	overflow-x: hidden;
}

.window_main {
	background: #fff;
	min-height: 100%;
}

.window_full .window_top,
.window_full .window_bottom {
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	-webkit-background-clip: padding-box;
}

.window_full .window_inner {
	bottom: -1px;
}

/* CONTENIDO VENTANAS
----------------------------------------------------------------------------------------------------*/
.panel{
	border:none;
}

.sub-panel-toolbar{
	height: auto;
	border-bottom: 1px solid #DADADA;
	color:white;
	padding: 1em;
	margin-bottom: 2em;
	margin-left: -5px;
}

/* BARRA DE TAREAS
----------------------------------------------------------------------------------------------------*/
#bar_bottom {
	font-weight: bold;
	padding: 0 10px;
	left: 0;
	right: 0;
}

#bar_bottom{
	background: url(../img/gui/bar_bottom.png) repeat-x;
	z-index: 400;
	color: #fff;
	font-size: 15px;
	line-height: 34px;
	padding-top: 6px;
	padding-bottom: 5px;
	max-height: 42px;
	top: 0;
	-webkit-box-shadow: 0px 1px 5px 0px rgba(50, 50, 50, 1);
	-moz-box-shadow:    0px 1px 5px 0px rgba(50, 50, 50, 1);
	box-shadow:         0px 1px 5px 0px rgba(50, 50, 50, 1);
}

#bar_bottom li {
	float: left;
}

#bar_bottom li a {
	display: block;
	padding: 0 10px;
}

#bar_bottom li {
	display: block;
	margin: 0 0 10px 5px;
	min-width: 150px;
}

#bar_bottom li a {
	background: #E8E8E8;
	border: 1px solid #B8B8B8;
}

#bar_bottom a {
	-webkit-background-clip: padding-box;
	color: #474747;
	overflow: hidden;
	padding: 0 10px;
	height: 28px; line-height: 28px;
	font-weight: 400;
}

#bar_bottom a:hover {
	background: #2c3e50;
	color:white;
}

#bar_bottom a:active {
	background: -webkit-linear-gradient(left, rgba(212,228,239,1) 0%, rgba(134,174,204,1) 100%);
	border: 1px solid #fff;
	padding: 0 9px;
}

#bar_bottom li a img {
	float: left;
	margin: 4px 10px 0 -5px;
}

#bar_bottom .float_left img,
#bar_bottom .float_right img {
	display: block;
	padding: 4px 0 0;
}

/* MENÚ
----------------------------------------------------------------------------------------------------*/
.StartMenu{
	width:300px;
	top: 39px;
}

.StartMenu .CompanyInfo{
	height: 70px;
}

.StartMenu .UserImg{
	width: 180px;
	height: 45px;
}

.StartMenu .ContentMenu{
	position: relative;
}

.StartMenu li a{
	position: absolute;
}

.StartMenu .StartFooter{
	position: relative;
}

.StartMenu ul ul{
	-webkit-box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.75);
	-moz-box-shadow:    0px 0px 5px 0px rgba(50, 50, 50, 0.75);
	box-shadow:         0px 0px 5px 0px rgba(50, 50, 50, 0.75);
	width: 100%;width:235px;
}

.StartMenu ul ul li{
	width: 100%;
	white-space: nowrap;
	width:235px;
}

.StartMenu ul ul li a{
	width: 100%;width:235px;
}

.StartMenu li{
	width:100%;
}

.MenuIcon{
	color: #686868 !important;
	text-shadow:none;
	font-size: 16px !important;
	background-color: transparent !important;
	padding: 0 !important; margin: 0 !important;
	height: auto !important;width: auto !important;
	padding-left: 10px !important;
	padding-right: 10px !important;
	margin-top: -4px !important;
}

.MainIcon{
	font-size: 22px ;
	color: #686868 !important;
	text-shadow:none;
}

.MenuIcon:hover,a.MainIcon:hover{
	color: #808080 !important;
	cursor: auto !important;
	background: #2c3e50;
	color:white;
}

.lbl-usuario{
	margin:10px 0 0 0;
}

#Assitant{
	float: right;
	border-left: 1px dotted #2c3e50;
	margin-left: 0.5em;
	padding-left: 0.5em; padding-right: 0.5em;
	margin-top: 0;
}

#WindowsContainer{
	float: left;
}

.window_top img, #dock img {
	float: left;
	margin: 9px 5px 0 0;
	width: 20px; height: 20px;
}

#dock img {
	padding: 4px 0px 0 2px;
	width: 15px; height: 15px;
}

.fa, 
.glyphicon {
	cursor: pointer;
}

table { 
	border-collapse: collapse; 
	border-spacing: 0;
	width: 100%;
}

th { 
	background: #f6871e; 
	color: white; 
}

td, th { 
	padding: 8px;
	line-height: 1.42857143;
	vertical-align: top;
	border-top: 1px solid #ddd;
	cursor: pointer;
}

#th-acciones {
	text-align: center;
}
