/* General settings */
body {
  font: 80%/100% Arial,Helvetica,sans-serif!important;
  padding-top: 70px;
}
.page-header {
  margin: 10px 0 20px;
}
.pager {
  margin-top: 0px;
  margin-bottom: 50px;
}

/* Breadcrumb */
.breadcrumb {
  background-color: transparent;
  margin-bottom: 0px;
  padding: 0px;
}
.breadcrumb ul {
  margin-bottom: 0px;
}
.hasDatepicker-required input {
  background-color: #ffc!important;
}
.hasDatepicker input[disabled],
.hasDatepicker input[readonly],
.hasDatepicker-required input[disabled],
.hasDatepicker-required input[readonly]{
  cursor: not-allowed!important;
  background-color: #eee!important;
  opacity: 1!important;
}
.hasDatepicker-container input[disabled],
.hasDatepicker-container input[readonly] {
  display: block;
  /*width: 100%;*/
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #eee;
  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;    
}
.glyphicon.spinning {
    animation: spin 1s infinite linear;
    -webkit-animation: spin2 1s infinite linear;
}
@keyframes spin {
    from { transform: scale(1) rotate(0deg); }
    to { transform: scale(1) rotate(360deg); }
}

@-webkit-keyframes spin2 {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}
/* remove outline when clicking a button */
button,
button:active,
button:focus, 
button:hover,
.btn,
.btn:active, 
.btn:focus, 
.btn:hover{   
    outline:none !important;
}

/* pie */
#pie {
 border: 1px solid #ccc;
 color: #999;
 overflow: hidden;
 padding-bottom: 0.2em;
 padding-right: 0.5em;
 padding-top: 0.2em;
 text-align: right;
}
#pie p {
 font-size: 0.85em;
 letter-spacing: 0.3em;
 margin: 0.7em 0 0;
 padding: 0;
}
#pie a {
 color: #666;
 letter-spacing: 0em;
}
#pie .gobiernoNavarra {
 float: left;
}

/* cabecera */
.navbar-header {
	padding-left: 10px;
}
.navbar-nav > li > a {
  padding-top: 0px!important;
  padding-bottom: 0px!important;
  margin-top: 20px;
}
#menuEspecial {
  overflow: hidden;
  display: block;
  margin: 0.5em 0 0;
}
#menuEspecial ul {
  font-size: 1em;
  font-weight: bold;
  margin: 0.1em 0;
  background-color: #ccc;
  text-align: right;
}
#menuEspecial li {
  padding: 0;
  display: inline;
}
#menuEspecial a {
  color: #666;
  padding: 0 0.8em;
  text-decoration: none;
  border: none;
  line-height: 1.35em;
}
#menuEspecial a:hover {
  background-color: #fff;
}
#menuEspecial .on a {
  background-color: #fff;
  position: relative;
  top: 1px;
}
#menuEspecial .logo {
  float: right;
  top: -1px;
  background-color: #fff;
}
#menuEspecial .logo span {
  display: none;
}
.idiomaActivo {
  font-weight: bold;
  background-color: transparent;
  cursor: default;
}
.idiomaActivo > a {
  color: #454343 !important;
}
.idiomaNormal {
  text-decoration: underline;
}

/* bootstrap button changes */
.btn-primary {
  background-color:#404040;
  border-color:#404040
}
.btn-primary.focus,.btn-primary:focus,.btn-primary:hover,.btn-primary:visited {
  background-color:#333333;
  border-color:#333333;
}
.btn-primary.active,.btn-primary:active {
  background-color:#000;
  border-color:#000;
}

.nav-pills > li.active > a, .nav-pills > li.active > a:focus, .nav-pills > li.active > a:hover {
  background-color: #333333;
  font-weight: bold;
}

/* datatable */
.ui-expanded-row-content > td {
  border-top: 0px!important;
}
.filaNoActiva {
  text-decoration: line-through;
  opacity: 0.2;
}
.filaNoActiva > td > div > dl {
  text-decoration: line-through;
}

/* blockquote */
blockquote:before {
  content: "\f05a";
  font-family: 'FontAwesome'; 
  float: left;
  font-size: 2em;
  margin-right: 5px;
}
blockquote {
  font-size: 1em;
  margin: 10px 0px 5px 0px;
  padding: 10px 0px 10px 10px;
  background-color: #F9F9F9;
}

/* tooltips color*/
.tooltip-inner {
  background-color: #666;
  color: #fff;
}
.tooltip.bottom .tooltip-arrow {
  border-bottom-color: #666;
}

/* collapsible panel */
.panel-heading-collapse span:after {
  font-family:FontAwesome; 
  content:"\f106"; 
  float: right; 
  color: grey; 
} 
.panel-heading-collapse.collapsed span:after {
  content:"\f107"; 
}

/* megamenu */
.mega-dropdown {
  position: static !important;
  width: 100%;
}
.mega-dropdown-menu {
  padding: 20px 0px;
  width: 100%;
  /*box-shadow: none;
  -webkit-box-shadow: none;*/
}
.mega-dropdown-menu > li > ul {
  padding: 0;
  margin: 0;
}
.mega-dropdown-menu > li > ul > li {
  list-style: none;
}
.mega-dropdown-menu > li > ul > li > a {
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight: normal;
  line-height: 1.428571429;
  color: #999;
  white-space: normal;
}
.mega-dropdown-menu > li ul > li > a:hover,
.mega-dropdown-menu > li ul > li > a:focus {
  text-decoration: none;
  color: #444;
  background-color: #f5f5f5;
}
.mega-dropdown-menu .dropdown-header {
  color: #428bca;
  font-size: 18px;
  font-weight: bold;
}

/* fieldset */
fieldset {
  background-color: #ededed;
  padding: 15px 15px 0px 15px;
  margin-bottom: 5px;
}
fieldset.white {
  border: solid 1px #cbcbcb;
  background-color: #fff;
  padding: 15px 15px 0px 15px;
  margin-bottom: 5px;
}

/* info */
.pageinfo {
  border: 1px solid #eee;
  border-left: 8px solid #ccc;
  border-radius: 0px;
  margin:5px 0px;
  background-color: #fff;
}

/* tabs */
.nav-tabs.nav-justified > li > a {
  border: solid 1px #ededed;
}
.nav-tabs > li > a {
  margin-right: 0px;
  margin-bottom: -1px;
  border: 1px solid #ededed;
  border-width: 1px 1px 0 1px;
}
.nav-tabs.nav-justified > .active > a, .nav-tabs.nav-justified > .active > a:focus, .nav-tabs.nav-justified > .active > a:hover {
  border-top: solid 3px black;
  font-weight: bold;
}
.nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover {
  border-top: solid 3px black;
  font-weight: bold;
}

/* img sprite */
.sprite {
  background-image: url('../img/spritesheet.png');
  background-repeat: no-repeat;
  display: block;
}
.sprite-logo-cab-edu {
  background-image: url('../img/logo.cab.edu.png');
  width: 300px;
  height: 33px;
  background-size: contain;
}
.sprite-logo-navarra-es-p {
  width: 120px;
  height: 20px;
  background-position: 0 -33px;
  display: inline-block;
}
.sprite-logo-pie-es {
  width: 67px;
  height: 28px;
  background-position: -186px -33px;
}
.sprite-logo-pie-eu {
  width: 66px;
  height: 28px;
  background-position: -120px -33px;
}

.ui-editor {
  width: 100%!important;
}
.bg-warning {
  background-color: #fbf7bb;
}
dd {
  margin-top: 1px;
}
.list-group-item {
  margin-bottom: 5px!important;
  -webkit-box-shadow: 0 4px 6px -6px #222!important;
  -moz-box-shadow: 0 4px 6px -6px #222!important;
  box-shadow: 0 4px 6px -6px #222!important;
  border-radius: 0px!important;
}
.list-group-item:first-child {
  border-radius: 0px!important;
}
.list-group-item:last-child {
  border-radius: 0px!important;
}
/*no apilar las tabs-justified*/
@media (max-width: 768px) {
  .nav-justified-nostack > li {
    display: table-cell;
    width: 1%;
  }
  .nav-justified-nostack > li > a  {
    border-bottom: 1px solid #ddd !important;
    border-radius: 4px 4px 0 0 !important;
    margin-bottom: 0 !important;
  }
  .nav-tabs.nav-justified-nostack > .active > a,
  .nav-tabs.nav-justified-nostack > .active > a:hover,
  .nav-tabs.nav-justified-nostack > .active > a:focus {
    border-bottom-color: #fff !important;
  }
}
.ui-expanded-row-content {
  display: none;
}
.tieneObservaciones {
  border: 1px dashed #ee0000; 
}
.tieneObservaciones:hover, .tieneObservaciones:focus {
  border: 1px dashed #ee0000;
}
.center>th {
	text-align: center;   
}