﻿.field-validation-container {
}
.field-validation-icon {
	display:inline-block;
	width:17px;
	height:16px;
	*margin-right:.3em;
	line-height:14px;
	vertical-align:text-top;
	background-image:url("images/famfamfam-icons.png");
	background-repeat:no-repeat;
	background-position: -678px -60px;
	cursor: pointer;
}
.field-validation-error {
	color: #b94a48;
}

.field-validation-container .tooltip-inner {
	background-color: #b94a48;
}

.field-validation-container .tooltip.top .tooltip-arrow {
	border-top-color: #b94a48;
}
.field-validation-container .tooltip.in {
	opacity: 1;
}

.height400 {
        height: 250px;
        overflow-x: auto;
        overflow-y: auto;
}

/*Migración estilos cap4*/
body,.jqx-widget-content  {
    margin: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 11px;
    line-height: 18px;
    color: #333333;
    background-color: #ffffff;
    letter-spacing: 0px;

}

/*Ajustes varios*/
.mt20 {
    margin-top:20px!important;
}

/* MENU */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1051;
    display: none;
    float: left;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 6px!important;
    -moz-border-radius: 6px!important;
    border-radius: 6px!important;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
}

.navbar .nav > li > .dropdown-menu:before {
    content: '';
    display: inline-block;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #ccc;
    border-bottom-color: #fff;
    position: absolute;
    top: -7px;
    left: 9px;
}



/*Botones Boostrap2.3*/
.btn {
  display: inline-block;
  *display: inline;
  /* IE7 inline-block hack */

  *zoom: 1;
  padding: 7px 12px;
  margin-bottom: 0;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  color: #333333;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  background-color: #f5f5f5;
  background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
  background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
  border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  *background-color: #e6e6e6;
  /* Darken IE7 buttons by default so they stand out more given they won't have borders */

  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  border: 1px solid #cccccc;
  *border: 0;
  border-bottom-color: #b3b3b3;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  *margin-left: .3em;
  -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
  -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
}
.btn:hover,
.btn:focus,
.btn:active,
.btn.active,
.btn.disabled,
.btn[disabled] {
  color: #333333;
  background-color: #e6e6e6;
  *background-color: #d9d9d9;
}
.btn:active,
.btn.active {
  background-color: #cccccc \9;
}
.btn:first-child {
  *margin-left: 0;
}
.btn:hover,
.btn:focus {
  color: #333333;
  text-decoration: none;
  background-position: 0 -15px;
  -webkit-transition: background-position 0.1s linear;
  -moz-transition: background-position 0.1s linear;
  -o-transition: background-position 0.1s linear;
  transition: background-position 0.1s linear;
}
.btn:focus {
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
.btn.active,
.btn:active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
  -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
  box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
}
.btn.disabled,
.btn[disabled] {
  cursor: default;
  background-image: none;
  opacity: 0.65;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.btn-mini {
    padding: 0 3px;
    font-size: 11px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.btn-fit {
    padding-left: 0px;
    padding-right: 0px;
    width: 100px;
}

.row {
    margin-bottom:10px;
}

.notPadding {
    padding: 0px!important;
}
.pl0 {
   padding-left:0px !important;
}
.pr0 {
   padding-right:0px !important;
}
.mt20 {
    margin-top:20px;
}

.panel-group {
    margin-top:20px;
}
.panel-default {
    border-color: #0072B7;
}
.panel-body {
    padding: 5px 5px;
}
.panel-default > .panel-heading {
    background-color:#0072B7;
    padding: 5px 15px;
}
.panel-title>a {
    display: block;
    font-size:11px;
    color: #ffffff;
    font-weight: bold;
}

.ui-widget-header {
    background: #0072B7;
}

.clear-margin {
    margin:0 !important;
}

.ui-jqgrid-hbox{
    padding-right:0px!important;
}

.contentJqgrid{
    margin: 0px -15px;
}

.ui-grid, .ui-jqgrid-htable{ width:100% !important; }


.ui-jqgrid .ui-jqgrid-caption {
    border: none;
    margin: 0 0.03em 0 0.05em;
}

.modal .ui-jqgrid-view, .modal .ui-state-default, .modal .ui-jqgrid-bdiv, .modal .ui-jqgrid-btable{ width:100% !important; /*width:100%\9 !important;*/ }

.modal .ui-jqgrid-view, .modal .ui-state-default, .modal .ui-jqgrid-bdiv { width: inherit\9 !important; }

.ui-jqgrid .ui-jqgrid-pager{
    height: 32px!important;
}

.ui-icon.ui-icon-seek-first, 
.ui-icon.ui-icon-seek-prev,
.ui-icon.ui-icon-seek-next, 
.ui-icon.ui-icon-seek-end {
    padding: 4px 12px;
    line-height: 18px;
    text-decoration: none;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-radius:2px;    
}

.ui-icon-seek-prev:after {
    content:"«";
    padding:4px;
    color:#0088cc;
}

.ui-icon-seek-first:after {
    content:"««";
    padding:4px;
    color:#0088cc;
}

.ui-icon-seek-next:after {
    content:"»";
    padding:4px;
    color:#0088cc;
}

.ui-icon-seek-end:after {
    content:"»»";
    padding:4px;
    color:#0088cc;
}

.ui-jqgrid .ui-pg-input {
    height: 28px;
    text-align: center;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 2px;
}

/* ICONS */

[class^="icon-"], [class*=" icon-"] {
    display: inline-block;
    width: 14px;
    height: 14px;
    line-height: 14px;
    vertical-align: text-bottom;
}

.icon-pencil {
    background-position: 0 -72px;
}

.icon-remove {
    background-position: -312px 0;
}

.icon-zoom-in {
    background-position: -336px 0;
}

.dropdown-toggle {
    padding:7px 12px;
}

/*Contenedor de acciones sin acordeon*/
.content-actions {
    padding: 5px;
    display: inline-block;
    width: 100%;
}

/*Arbol*/
.jqx-widget.jqx-widget-content.jqx-tree{
    border-color: #0072B7;
    border-radius: 4px;
}
.jqx-item {
    font-size:11px;
    line-height: 16px;
}

#jqxTree > .jstree-container-ul > li {
    background: rgb(0, 112, 182);
    border-radius: 4px;
    border: 1px solid rgb(0, 114, 183);
}
#jqxTree > .jstree-container-ul > li .jstree-hovered {
    background:none;
    box-shadow:none;
}
.jstree-container-ul li#n2 > a {
    font-size:0px;
    background: none;
    box-shadow: none;
}
.jstree-container-ul li a i {
    background-position: 50% 50%;
    background-size: 100% !important;
    width: 60px !important;
}

.jstree-container-ul li ul li a {
    font-size:inherit;
    background: inherit;
    box-shadow: inherit;
}
.jstree-container-ul li ul li a i {
    background-position: 0% 0% !important;
    background-size: 22px !important;
    width: 23px !important;
}
.jstree-container-ul li ul {
    background-image: url(JSTree/themes/default/bg-tree.png);
    background-color: white;
    background-size: 1px 48px;
}
#jqxTree > .jstree-container-ul > li > ul > li .jstree-hovered {
    background: #beebff;
    border-radius: 2px;
    box-shadow: inset 0 0 1px #999;
}

.jstree-container-ul li ul > li * {
    background:none;
}

/* Arbol sin logo */

.sinLogo {
    margin-bottom: 15px;
}
.sinLogo .jstree-container-ul li a i {
    background-position: 50% 50%;
    background-size: 100% !important;
    width: 20px !important;
}
.sinLogo .jstree-container-ul li {
    margin-top: 3px;
}
.sinLogo .jstree-container-ul li a {
    color:black;
}

.sinLogo .jstree-container-ul li ul li a {
    color:black !important;
}

.sinLogo > .jstree-container-ul > li {
    background: white!important;    
    border: 1px solid #ccc!important;
}

/* Arbol de equipos */

.equipmentTree {
    margin-bottom: 15px;
}

.equipmentTree .jstree-container-ul li[aria-level="1"] {
    color: white!important;
    background: rgb(0, 112, 182)!important;
    padding-left: 0px;
}

.equipmentTree .jstree-container-ul li[aria-level="1"] > a {
    color:white;
}

.equipmentTree .jstree-container-ul li[aria-level="1"] > a > i {
    width: 0px!important;
}

.equipmentTree .jstree-container-ul li {
    margin-top: 3px;
}
.equipmentTree .jstree-container-ul li a {
    color:black;
}

.equipmentTree .jstree-container-ul li ul li a {
    color:black !important;
}

.equipmentTree > .jstree-container-ul > li {
    background: white!important;    
}

.jqxTree-title {
    background: rgb(0, 112, 182);
    border-radius: 4px;
    border: 1px solid rgb(0, 114, 183);
    margin-top: 10px;
    padding: 5px 10px;
    color:#fff;
}

/*Grid Custom*/
.gridCustom {
    overflow-x:auto;
}
.gridCustom table {
    width: initial;
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-size: 13px;
}
.gridCustom table tr {
    background-color: #efefef;
}
.gridCustom table tr td {
    padding: 4px 15px;
    vertical-align: middle;
}
.gridCustom table tr.header {
    background: rgb(0, 114, 183);
    color: white;
    font-size: 13px;
    border-top-left-radius: 5px;
    border: 2px solid rgb(0, 114, 183);
}
.gridCustom .table-bordered > tbody > tr > td {
    border-left:none;
    border-right:none;
}
.gridCustom .form-control {
    height: inherit;
}

/* Tabla horizontal */
.gridCustomEdit table tr td {
    white-space: nowrap;
    padding:0;
    border-bottom: 1px solid #000 !important;
    border-right: 1px solid #000 !important;
    text-align: center;
}

.gridCustomEdit label {
    color:#fff;
    padding: 2px 4px;
}

.gridCustomEdit .form-control.selectpicker {
    width: inherit;
    color: #000;
}

.gridCustomEdit select.form-control {
    width: 100%;
}
.gridCustomEdit {
    height:100%;
}
.gridCustom .table-bordered > tbody > tr > td {
    padding:2px 4px;
}


ul.dropdown-menu.inner.selectpicker li a {
    color: rgb(71, 71, 71) !important;
}
ul.dropdown-menu.inner.selectpicker li.active a {
    color: white !important;
}

/* Ajuste tabla dentro de tabla */
.table-bordered>thead>tr>th, .table-bordered>tbody>tr>th, .table-bordered>tfoot>tr>th, .table-bordered>thead>tr>td, .table-bordered>tbody>tr>td, .table-bordered>tfoot>tr>td {
    border:none;
}


.ui-jqgrid .ui-subgrid td.subgrid-data {
    padding: 0 !important;
}


.ui-jqgrid-hbox > .ui-jqgrid-htable{
    width: 100% !important;
}
.ui-jqgrid .ui-subgrid table {
    table-layout: auto;
}
#jqgSection {
    border:none;
}

.ui-jqgrid .ui-jqgrid-bdiv {
    max-height: none;
}

.btn.dropdown-toggle.selectpicker.btn-default {
    background:#fff;
    background-image:none;
    box-shadow:none;
}

.AddParameterGroup .glyphicon-tasks {
    font-size:12px;
    top:3px;
}
/*input Edit*/
.gridCustom .text-box {
    display: block;
    width: 100%;
    height: 30px;
    padding: 6px 12px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    font-size: 12px;
}
.jqGridCustom.inlineForm select.form-control, .jqGridCustom.inlineForm  .form-control {
    display:inline-block;
    width:auto;
}
.jqGridCustom {
    table-layout:auto;
}
.jqGridCustom.inlineForm td{
    padding: 2px 4px;
    width:100%;
}
#header-fixed {
    position: fixed;
    top: 40px;
    display: none;
    z-index: 1000;
}
.ui-jqgrid tr.jqgrow {
    border-bottom: 1px solid rgb(218, 218, 218);    
}

.ui-widget-content.jqgrow.ui-row-ltr {
    margin-bottom:2px;
    border-bottom: 3px solid #fff!important;
}

.ui-subgrid {
    margin-top: -3px!important;
}

.ui-subgrid .ui-widget-content.jqgrow.ui-row-ltr {
    margin-bottom:0px;
    border-bottom: 1px solid rgb(218, 218, 218)!important;
}

.ui-subgrid .ui-widget-content.jqgrow.ui-row-ltr:last-child {
    margin-bottom:2px;
    border-bottom: 3px solid #fff!important;
}
.ui-subgrid .ui-jqgrid-htable {
   margin-top:-3px;
}

/*Navbar*/
.navbar {
    background-color: #0063BE;
    font-size: 14px;
    font-weight:bold;
}
.navbar .nav > li > a:hover {
    background-color: #737373;
    color: #ffffff;
    text-decoration: none;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
.navbar-nav > li > a:focus {
    color: #ffffff !important;
}
.navbar-nav > li > a {
    line-height: 40px;
}

/*Content Tree*/
.contentModal form{
    border: 1px solid rgb(197, 197, 197);
    border-radius: 5px;
}
.contentModal .close {
    display:none;
}

/*TimePicker*/
.timepicker a{
    padding:0px !important;
}
.timepicker td span {
    height:40px;
    line-height:40px;
}
.bootstrap-datetimepicker-widget {
    width:auto;
}
.bootstrap-datetimepicker-widget .picker-switch a{
    position:relative;
    float:right;
    width:auto;
}
.bootstrap-datetimepicker-widget .picker-switch a span {
    width:auto;
    height:auto;
    line-height:12px;    
}

/* Modal como Panel*/
.panelModal {
    /*margin-top:20px;*/
}
.panelModal form{
    border: 1px solid rgb(0, 114, 183);
    border-radius: 5px;
}
.panelModal .close {
    display:none;
}
.panelModal .modal-header {
    background: rgb(0, 114, 183);
    color: white;
    padding: 12px 30px;
}
.panelModal .modal-header h3 {
    font-size: 15px;
}
.panelModal .modal-footer {
    background: rgb(239, 239, 239);
}


/*Diagrama*/
.drag-drop-demo .window {
    border: 1px solid rgb(200, 200, 200) !important;
    border-radius: 4px !important;
    -webkit-box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 1px !important;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 1px;
    -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    font-family: inherit !important;
    font-style: normal !important;
    color: gray !important;
}
.demo drag-drop-demo {
    background-color: rgba(66, 183, 255, 0.11);
}
._jsPlumb_connector path {
    stroke: rgb(0, 114, 183);
    stroke-width: 3px;
}
._jsPlumb_endpoint circle {
    fill: rgb(71, 78, 82);
}
#drag-drop-demo {
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-color: rgb(0, 114, 183);
}


/*Equipos y vistas dentro del diagrama*/
.drag-drop-demo .w { 	
    border: 1px solid rgb(200, 200, 200) !important;
    border-radius: 4px !important;
    -moz-border-radius:4px !important;
    -webkit-box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 1px !important;
    -o-box-shadow:rgba(0, 0, 0, 0.12) 0px 1px 1px !important;
	-moz-box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 1px !important;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 1px;
    -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    font-family: inherit !important;
    font-style: normal !important;
    color: gray !important;

	padding:10px;
	position:absolute;
	z-index:4;
	opacity:0.8;
	filter:alpha(opacity=80);
	cursor:move;
	background-color:white;
	font-size:11px;
	-moz-transition:border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
	width:8em;
    height:8em;
    background-repeat:no-repeat;
    background-position-x:50%;
    background-position-y:50%;
    text-align:center;
    
		
}
/*
.drag-drop-demo .w:hover {
	background-color: lightgray;
	color:white;

}*/

.ap_style {
  border: solid;
  width: 1em;
  height: 1em;
  position: absolute;
  cursor:pointer;
  color: gray;
  background-color: gray;
  border-radius: .5em;
}



.ep {
	
	width:5em;
	height:1em;
	background-color:orange;
	cursor:pointer;
	box-shadow: 0px 0px 2px black;
	-webkit-transition:-webkit-box-shadow 0.25s ease-in;
	-moz-transition:-moz-box-shadow 0.25s ease-in;
	transition:box-shadow 0.25s ease-in;
    position:absolute;
    bottom:5px;
    left:17px;
    
}

.ep:hover {
	box-shadow: 0px 0px 6px black;
    background-color:green;
}

.drag-drop-demo ._jsPlumb_endpoint {
	z-index:3;
}

 .dragHover { border:2px solid orange; }

path { cursor:pointer; }

#tree_container {
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border-color: rgb(0, 114, 183);
    border-right: 0px;
}
#formViewSchema ul .jstree-wholerow {
    background:rgb(0, 114, 183);
}

#formViewSchema ul a {
    color:white;
}
#formViewSchema ul ul a {
    color:inherit;
}
#formViewSchema ul ul .jstree-wholerow {
    background:inherit;
}
#formViewSchema .panel-body {
    padding: 15px 5px;
}
#formViewSchema .tree, #formViewSchema .demo {
    margin-top:25px;
}

.inlineUpload {
    display: inline-block;
    margin-left: 15px;
    width: calc(100% - 51px);
}
.inlineUpload input {
    width:100%;
}

/*Media Queries*/
@media (max-width:992px) {
    .pl0, .pr0, .notPadding{
        padding:inherit;
    }
    .pull-right {
        float:none !important;
    }
    .panel {
        margin-top:15px;
    }
}

@media (max-width:768px) {
    .mobile {
        position: relative;
        z-index: 1;
    }
    .mobile .container {
        background: rgb(0, 99, 190);
    }
    .mobile .navbar-nav {
        margin: 0px;
        padding: 15px 10px;
    }
    .mobile .dropdown-menu > li > a{
        color:white !important;
    }
    .mobile .dropdown-menu::before {
        display:none !important;
    }
    .body-container {
        margin-top:35px;
    }
}