.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

h6 {
	font-size: 14px;
  color: #9FC54B;
}

.date-holder {
	position: absolute;
  bottom: 4px;
  right: 4px;
}

.events-list.full-list {
	max-height: 782px;
  overflow: hidden;
}

.event-panel span {
	display: initial;
}

.window-panel {
	font-family: 'Segoe UI', Arial, san-serif;
}

.window-panel h6 {
	margin-bottom: 10px;
}

/*______   SEARCH HEADER   ______*/

#search .fonticon-Search {
	position: absolute;
  top: 0px;
  right: 0px;
}

#search form {
	position: relative;
  background-color: #515151;
  border-radius: 18px;
}

#search input {
  border: none;
  width: 36px;
  height: 36px;
  -moz-transition: width 0.5s ease-out;
  -webkit-transition: width 0.5s ease-out;
  transition: width 0.5s ease-out;
  padding: 5px 30px 5px 6px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  color: #FFF;
}

#search input:focus {
  width: 200px;
  -moz-transition: width 0.5s ease-out;
  -webkit-transition: width 0.5s ease-out;
  transition: width 0.5s ease-out;
}

/*End Search*/

/*______ SEARCH PANEL ______*/
      
.search-panel {
  margin-bottom: 30px;
  background-color: #FFF;
}

.search-panel h3 {
  font: 14px 'Segoe UI', Helvetica, Verdana, 'san-serif';
  text-align: center;
  float: left;
  background-color: #9FC54B;
  padding: 6px 10px;
  color: #FFF;
  display: inline;
  margin-right: 10px;
}

.search-panel > div {
  position: relative;
  padding: 10px;
}

.search-panel h4 a {
  text-decoration: none;
  font-size: 18px;
}

.search-panel h4 a:hover {
  color: #ffba24;
}

.search-panel > div span {
  color: #777;
  font-size: 14px;
}

.search-panel em.highlight {
	color: #9FC54B;
}

/*End SearchPanel*/


.nav-bar {
  padding: 10px;
}

.social-nav {
  float: right;
}

.social-nav ul {
  list-style: none;
  float: left;
  border-right: 1px solid #515151;
}

.social-nav ul:last-child {
  border-right: none;
}

.social-nav li {
  float: left;
  padding: 0px 15px;
}

.social-nav li .user img {
  border-radius: 50%;
}

.social-nav li i {
  display: inline-block;
  padding: 3px;
  line-height: 30px;
  width: 30px;
  text-align: center;
  font-size: 18px;
  color: #FFF;
  background-color: #515151;
  border-radius: 50%;
}

.logo-holder {
  float: left;
}

#main-nav table {
  width: 100%;
  text-align: center;
  border-collapse:collapse;
}

#main-nav table td {
  position: relative;
  min-width: 51px;
  max-width: 190px;
  border-bottom: 3px solid #9FC54B;
  padding: 10px 2px 18px 9px;
}

#main-nav table td:before {
  content: "";
  width: 6px;
  height: 6px;
  background: #DDF1AB;
  position: absolute;
  top: 50%;
  margin-top: -6px;
  display: block;
  border-radius: 50%;
  left: 0px;
}

#main-nav table td:first-child:before {
  content: none;
}

#main-nav table td.selected:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0px;
  border-width: 7px;
  border-style: solid;
  border-color: transparent transparent #9FC54B transparent;
  margin-left: -7px;
}

#main-nav table td.selected > a {
  color: #1a1a1a;
}

#main-nav td ul {
  background-color: #1a1a1a;
  border-top: 3px solid #9FC54B;
  display: none;
}

#main-nav td ul li a {
  text-align: left;
  padding: 14px;
  font-weight: 600;
  color: #ADADAD;
}

#main-nav td ul li a:hover {
  color: #9FC54B;
  background-color: #1a1a1a;
}

#main-nav table td:hover ul {
  display: block;
}

.panel-text {
  background-color: #FFF;
  padding: 30px;
}


/*______ HERO ______*/

.widget-hero{
  position: relative;
  margin-bottom: 30px;
}

.widget-hero img{
  min-height: 260px;
}

.widget-hero .hero-info {
  max-width: 320px;
  padding: 30px;
  margin: 40px;
  position: absolute;
  top: 0px;
  right: 0px;
  background-color: rgba(255,255,255,0.7);
  overflow: hidden;
}

.widget-hero .hero-info h1 {
  margin-bottom: 10px;
}

.widget-hero .readmore-button {
  display: inline-block;
  padding: 10px 12px;
  float: right;
  margin-top: 20px;
  background-color: #9FC54B;
  color: #FFF;
  font: 16px 'Roboto', Arial, san-serif;
}

.widget-hero .readmore-button:hover {
  background-color: #4FA648;
}

/* EVENTS INDEX */

.events-list {
  background-color: #FFF;
  min-height: 520px;
  max-height: 520px;
}

.events-list:after {
  content: "";
  position: absolute;
  display: block;
  bottom: 0px;
  left: 0px;
  width: 100%;
  height: 100px;
  background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(255,255,255,1) 60%);
  background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(255,255,255,1) 60%);
  background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(255,255,255,1) 60%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#ffffff',GradientType=0 );	
  z-index: 1;
}

.events-list li {
  color: #DDF1AB;
  padding: 20px 0px;
  border-bottom: 1px solid #EAEAEA;
  margin-right: 20px;
}

.events-list li:last-child {
  border-bottom: none;
}

.events-list li span {
  color: #9FC54B;
}

.goto-events-button {
  position: absolute;
  display: inline-block;
  padding: 14px;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0px;
  z-index: 2;
}

/*______ DATABASE PANEL ______*/


.database-panel {
  margin: -10px;
  overflow: hidden;
  margin-bottom: 30px;
}

.database-panel > div {
  float: left;
  width: 25%;
  padding: 10px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.database-panel > div > div {
  width: 100%;
  padding-top: 100%;
  background-color: #1A1A1A;
  position: relative;
  overflow: hidden;
}

.database-panel h2 {
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
  background: #1A1A1A;
  z-index: 1;
  border-top: 4px solid #9FC54B;
  color: #FFF;
  padding: 10px 20px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  z-index: 3;
}

.database-panel .text-slide p,
.database-panel .text-slide a {
  color: #FFF;
}

.database-panel .text-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 100%;
  left: 0px;
  padding: 30px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background: #1A1A1A;
  z-index: 1;
  -webkit-transition: top 1s;
  -moz-transition: top 1s;
  -o-transition: top 1s;
  transition: top 1s;
}

.database-panel > div > div:hover .text-slide {
  top: 0%;
  -webkit-transition: top 1s;
  -moz-transition: top 1s;
  -o-transition: top 1s;
  transition: top 1s;
}

.database-panel > div > div h2:after {
  content: "";
  position: absolute;
  display: block;
  opacity: 0;
  top: -43px;
  left: 0px;
  width: 100%;
  height: 40px;
  background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(26,26,26,1) 60%);
  background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(26,26,26,1) 60%);
  background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(26,26,26,1) 60%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#1a1a1a',GradientType=0 );
  -webkit-transition: opacity 1s;
  -moz-transition: opacity 1s;
  -o-transition: opacity 1s;
  transition: opacity 1s;	
}

.database-panel > div > div:hover h2:after {
  opacity: 1;
  -webkit-transition: opacity 1s;
  -moz-transition: opacity 1s;
  -o-transition: opacity 1s;
  transition: opacity 1s;
}

/*______ DESTACADOS ______*/

.highlight-holder.threecol {
  margin: -10px;
  overflow: hidden;
}

.highlight-holder.threecol > div {
  float: left;
  width: 33.33%;
  padding: 10px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.info-highlight {
  padding: 20px;
  margin-bottom: 20px;
  min-height: 52px;
  background-color: #FFF;
  position: relative;
}
.highlight-holder > div > div {
	position: relative;
}
.highlight-holder img {
	display: block;
}

.info-highlight h4 span {
  line-height: 21px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  display: -webkit-box;
  height: 42px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.post-type {
  position: absolute;
  top: 5px;
  left: 5px;
  background-color: #9FC54B;
  padding: 4px 10px;
  color: #FFF;
  box-shadow: 1px 1px 2px rgba(0,0,0,0.5)
}


footer table {
  padding-bottom: 20px;
}

footer label {
  display: block;
  text-align: center;
  padding: 40px 0px 20px 0px;
  text-transform: uppercase;
  border-top: 1px solid #D4D4D4;
}

.logos-table {
  width: 100%;
  table-layout: fixed;
  text-align: center;
}

.logos-table td {
  padding: 5px;
}

.ministerio-logos {
  margin: 0px auto;
}

.ministerio-logos td {
  padding: 10px;
}

.logos-table img{
  max-height: 80px;
}

/*______   NEWS BODY   ______*/

.widgets-newsbody .widget-content,
.widget-content.news-body {
  background: #FFF;
  padding: 20px;
}

.search-filters .button-submit {
  float: right;
}

.search-filters .simple-form input,
.search-filters .simple-form select{
  margin-bottom: 0px;
}



/*_____   VIDEOS   ______*/

.videos-wrapper img {
  display: block;
}

.grid-wrapper img {
  height: 100%;
  width: auto;
  max-width: initial;
}

.videos-wrapper .fonticon-Youtube {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform:translateX(-50%) translateY(-50%);
  z-index: 3;
  font-size: 35px;
  color: #b31217;
  height: 60px;
  width: 60px;
  line-height: 60px;
  background-color: rgba(255,255,255,0.8);
  border-radius: 50%;
  text-align: center;
}

.videos-wrapper h3 {
  position: absolute;
  top: 0px;
  left: 0px;
  color: #FFF;
  font-size: 20px;
  padding: 10px;
  z-index: 2;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
}

.item-video > div {
  position: relative;
}

.item-video > div:before {
  content: '';
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 60%;
  z-index: 1;
  background: -moz-linear-gradient(top, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.65)), color-stop(100%,rgba(0,0,0,0)));
  background: -webkit-linear-gradient(top, rgba(0,0,0,0.45) 0%,rgba(0,0,0,0) 100%);
  background: -o-linear-gradient(top, rgba(0,0,0,0.45) 0%,rgba(0,0,0,0) 100%);
  background: -ms-linear-gradient(top, rgba(0,0,0,0.45) 0%,rgba(0,0,0,0) 100%);
  background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%,rgba(0,0,0,0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=0 );
}


.list-videos .item-video{
  float: left;
  width: 50%;
  padding: 15px;
  box-sizing: border-box;
}

/*End Grid*/

/*______ VIDEO PLAYER ______*/

.video-container {
  display: none;
  position: fixed;
  z-index: 1101;
  padding-top: 20px;
  text-align: center;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
}

.video-container > div {
  display: inline-block;
  width: 20px;
  height: 0px;
  padding: 30px 20px;
  border: 1px solid #BEBEBE;
  background: #FFF;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.8);
  position: relative;
}

.video-container span {
  background-image: url("/images/icons2.png");
  background-position: -289px -25px;
  height: 20px;
  width: 20px;
  cursor: pointer;
  margin-top: 0px;
  display: none;
  position: absolute;
  top: 5px;
  right: 5px;
}

/*End player*/

/*Datepicker*/

#datepicker {
  margin-bottom: 40px;
}

.ui-datepicker {
  display: block;
  width: 100%;
  border: none;
  padding: 0px;
  font-family: Raleway, Helvetica, Verdana, san-serif;
}

.ui-datepicker .ui-datepicker-header {
  border: none;
  background-color: #1a1a1a;
  background-image: none;
  color: #9bc03d;
  padding: 7px 0px;
  font-size: 18px;
}

.ui-datepicker .ui-state-default {
  border: none;
  background-color: #C0C0C0;
  padding-top: 16px;
  margin: 4px;
  color: #FFF;
}

.ui-datepicker .ui-state-highlight {
  color: #333;
  font-weight: 700;
  border: 1px solid #333;
}

.ui-datepicker tbody td.highlight>a {
  background-color: #9bc03d;
}

.ui-datepicker .ui-datepicker-next span,
.ui-datepicker .ui-datepicker-prev span {
  background-image: none;
  text-indent: 0px;
  font-size: 0px;
}

.ui-datepicker .ui-datepicker-next span:before,
.ui-datepicker .ui-datepicker-prev span:before {
  content: "\e662";
  font-family: 'chilfont';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  font-size: 20px;
  color: #FFF;
}

.ui-datepicker .ui-datepicker-next {
  right: 80px;
  transform: rotate(-90deg);
}

.ui-datepicker .ui-datepicker-prev {
  left: 80px;
  transform: rotate(90deg);
}

.ui-datepicker .ui-datepicker-next-hover,
.ui-datepicker .ui-datepicker-prev-hover {
  border: none;
  background-color: transparent;
}

.ui-datepicker .ui-datepicker-next-hover span:before,
.ui-datepicker .ui-datepicker-prev-hover span:before {
  color: #9bc03d;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
  top: 8px;
}

.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
  margin-left: -10px;
}

.tooltip {
  display: none;
  margin-top: -10px;
  background: #FFF;
  font-size: 12px;
  line-height: 18px;
  height: 70px;
  width: 160px;
  padding: 10px;
  color: #949494;
  border: 1px solid #BEBEBE;
  font-family: arial,verdana,sans-serif;
}

.tooltip:before {
  bottom: -8px;
  right: 76px;
  border-style: solid;
  border-width: 8px 8px 0px 8px;
  border-color: #BEBEBE transparent;
  z-index: 0;
}

.tooltip:before, .tooltip:after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  display: block;
}

.tooltip:after {
  bottom: -7px;
  right: 76px;
  border-style: solid dashed;
  border-width: 8px 8px 0px 8px;
  border-color: #FFF transparent;
  z-index: 1;
}

/*______ TABLE PROJECTS ______*/

.projects-table {
  width: 100%;
  border:none;
  border-collapse: collapse;
}

.projects-table tr {
  background-color: #FFF;
  border-bottom: 20px solid #F4F4F4;
}

.projects-table td {
  padding: 20px;
  position: relative;
}

.projects-table td:first-child {
  max-width: 320px;
  width: 320px;
  padding-right: 0px;
  text-align: center;
}

.projects-table .text-box p {
  font-size: 12px;
  margin-bottom: 10px;
}

.projects-table .text-box p:last-child {
  margin-bottom: 0px;
}

.projects-table h4 {
  font-size: 16px;
}

.projects-table .edit-item {
  top: 27px;
}

/*______   GROUP PANEL   ______*/

.group-panel {
  padding: 0px 20px 0px 20px;
  background-color: #FFF;
}

.group-panel > div {
  border-bottom: 1px solid #E8E8E8;
  position: relative;
}

.group-panel h3 {
  font-size: 20px;
  padding: 10px 0px;
  color: #9bc03d;
}

.group-panel .collapse-content p {
  margin-bottom: 10px;
}

.group-panel .collapse-content {
  display: none;
  padding-bottom: 20px;
}

.first .group-panel .collapse-content {
  display: block;
}

.group-panel .edit-item {
  left: 100%;
  margin-left: -20px;
}

.groups-list {
  margin-left: 20px !important;
}

.groups-list li h4 {
  font-size: 18px;
}

.document-panel-simple {
  margin-top: 10px;
  overflow: hidden;
}

.document-panel-simple:before {
  content: "";
  width: 26px;
  height: 26px;
  background-image: url(/Images/icons_files.png);
  margin-right: 10px;
  background-position: -77px -208px;
  float: left;
}
.document-panel-simple a {
  display: inline-block;
  line-height: 26px;
}

.documents-widget .three-columns {
  padding: 20px;
  background: #FFF;
}

.group-panel .collapse-title {
	cursor: pointer;
}

.item-panel .doc-panel .flexbox-info {
	padding: 0px;
}

.item-panel .doc-panel h4 {
  font-size: 18px;
  color: #606060;
}

.widget-content .doc-panel .list-categories {
	list-style: none;
  margin-left: 0px;
}
.widget-content .doc-panel .list-categories li {
	list-style: none;
  display: inline;
}

.faq-panel {
	margin: 10px 0px;
}

.widget-content .faq-title {
	font-size: 17px;
  color: #606060;
  padding-left: 40px;
  position: relative;
  cursor: pointer;
}

.widget-content .faq-title i {
	position: absolute;
  left: 0px;
  top: 0px;
  display: inline-block;
  background-color: #9FC54B;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  text-align: center;
  line-height: 26px;
  color: #FFF;
}

.faq-body {
	margin-bottom: 30px;
  padding-left: 50px;
}

.filters-questions {
	background-color: #333;
  padding: 30px;
}

.filters-questions .simple-form .search-box,
.filters-questions .simple-form select{
	width: 100% !important;
}

.filters-questions .simple-form select {
	margin-top: 16px;
}

.filters-questions .simple-form .button-submit {
	margin-top: 16px;
}

.simple-form .button-submit {
	background-color: #9FC54B;
}

.ch-feeds-stream .item-panel {
  display: inline-block;
}

.ch-feeds-stream .item-panel img {
	display: block;
}

.ch-feeds-stream .doc-panel .flexbox-hero {
	height: 135px;
  margin-right: 0px;
}

.ch-feeds-stream .doc-panel .flexbox-info {
	padding: 0px;
}

.gallery-wrapper ul {
	list-style: none;
  margin: -5px;
}

.gallery-wrapper {
	overflow: hidden;
}

.gallery-wrapper ul li {
	float: left;
  padding: 5px;
  -moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.group-panel .collapse-content p[style="text-align: left;"] {
  overflow: hidden;
}

.group-panel .collapse-content p[style="text-align: left;"] img {
  padding-right: 20px;
  float: left;
}