/*modal*/
@media (min-width: 768px){
  .modal-dialog {
    width: 800px!important;
  }
}
/* boletin */
.boletin{
  display: flex;
  flex-wrap: wrap;
  flex-direction:row;
}
.boletin .d-flex{
  background: #ededed;
  background-size: cover;
  min-height: 120px;
  flex:1 1 23%;
  margin: 1% 1%;
  padding: 5px;
  box-sizing: border-box;
}
.boletin .d-flex:hover{
  cursor: pointer;
}
.boletin .d-flex h2{
  color: white;
  font-size: 14px;
  text-align: center;
  text-shadow: 2px 2px black;
}
.boletin .d-flex span{
  font-size: 30px;
  text-align: center!important;
  display: block;
}




.wrapper{
    /* height: calc(100vh - 182px); */
    /* height: calc(100vh); */
    min-height: 700px;
    /* min-height: 720px; */
    position: relative;
    overflow: hidden;
}

.logo-header {
    height : 100px;
    background : #f0f0f0;
    display : flex;
    padding-left : 20px;
    padding-right : 20px;
}


.logo-header-col {
    padding-top : 10px;
}

.logo-header-col-2 {
    padding-top : 3px;
}

.logo-header-col-right {
    text-align : right;
}

.logo-header-width-100 {
    width : 100%;
}
.logo-header-image {
    max-height: 70px;
}
.logo-header-icon-links {
    color : #999;
    text-decoration: none;
}
.logo-header-icon-links:hover {
    color : #ccc;
    text-decoration: none;
}

.logo-header-dnp-btn {
    background : #40a4c5;
    color : #fff;
    border : #fff;
}

.logo-header-dnp-btn:hover {
    background : #8fb8cc;
    color : #fff;
    border : #fff;
}




.navbar-inverse{
    background-color: #069169;
    border-color: #e7e7e7;
    border-radius: 0px;
    border : 0px;
    margin-bottom: 0;
}

.navbar-inverse .navbar-toggle {
    border-color: #046549;
}
.navbar-inverse .navbar-toggle:focus, .navbar-inverse .navbar-toggle:hover {
    background-color: #046549;
}
.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
    border-color: #046549;
}

.navbar-inverse .navbar-nav>li>a {
    color: #fff;
    border-right:1px #046549 solid;
}

.navbar-inverse .navbar-nav>li>a:focus, .navbar-inverse .navbar-nav>li>a:hover {
    background-color: #0056b3;
}

.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:focus, .navbar-inverse .navbar-nav>.active>a:hover {
    /*color: #9d9d9d;*/
    color: #444242;
    background-color: #fff;
}



@media (max-width: 842px) {
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
        display:block !important;
    }
}

/* Small devices (tablets, 768px and up) */
/* @media (max-width: 768px) { 

} */

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) { 
    .navbar-collapse {
        padding-left:0; padding-right:0
    }
 } 

/* Large devices (large desktops, 1200px and up) */
/* @media (min-width: 1200px) { ... } */


.home-slide {
    /* height: calc(100% - 480px); */
    /* height: calc(100% - 300px); */
    /* height: calc(100vh - 220px); */
    /* height: calc(100vh - 180px); */
    min-height: 470px;
    position: relative;
}

.home-slide .slide-image {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url('../img/home/slider_01.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    display: flex;
    z-index: 0;
}

.home-slide .bg-transparent{
  background-color: rgba(0,0,0,0.6);
  width: 100%;
}


.home-slide .main{
  width: 100%;
  margin: 0px;
}

.home-slide-cita {
  padding: 20px;
  width: 410px;
  max-width: 100%;
  top: 1px;
  position: absolute;
}

.home-slide-video{
    padding : 20px;
    width : 450px;
    max-width:100%; 
    top:100px; 
    left : 180px;
    position:absolute;
}

@media(max-width:767px){
    .home-slide-cita {
      left: 2px;
    }
}


.home-slide-logo-terridata{
    position: absolute;
    right: 20px;
    bottom: 20px;
    max-width: 250px;
}

.home-left-btn-icons
{
  width: 500px;
  color : #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-content: space-between;
  align-items: center;
  text-align: center;
  margin: 0 auto;
}

.feature-block{
  display: table;
  width: 92%;
  opacity: 0.8;
  padding: 5px;
  margin: 2%;
  cursor: pointer;
}

.feature-block .head{
  display: table-cell;
  vertical-align: middle;
  padding: 10px;
}

.feature-block .head img{  
  width : 40px;
}

.feature-block .caption{
  display: table-cell;
  vertical-align: middle;
  padding: 13px;
}

.feature-block .caption p{
  font-size: 13px;
}

.home-slide-links-text {
    color: #fff;
    /* line-height:45px; */
    /* font-family: 'Josefin Sans', sans-serif !important;
    font-weight: 100; */
    font-family: 'Open Sans Condensed', sans-serif;

}

.nav-logo-terridata
{display: none;}

@media ( max-width:842px) {
    .home-left-btn-icons
    {
        width:100px;
        padding : 20px;
    }

    .nav-logo-terridata
    {display: block;}

    .home-slide {
      /*height: 300px;*/
    }

    
}


.home-left-btn-icons-rows {
    background-color: rgba(0,0,0,0.6); 
    color : #fff;
    height: 100%;
    /*
    display: flex;
    flex-direction: row;
    */
    justify-content: space-around;
    align-items: center;
    padding-top:10px; 
    padding-bottom:10px; 
}
.home-left-btn-icons-rows div, .home-left-btn-icons-rows div a {
    justify-content: center;
    align-items: center;
}
.home-left-btn-icons-rows div img {
    width : 40px;
    margin-bottom: 10px;
}



.home-blue, .home-trivia {
    display: flex;
    background: #ccc;
    /* justify-content: space-around; */
}


.home-blue div.dv {
    display: flex;
    min-height: 200px;
    justify-content: center; 
    align-items: center; 
}

.home-blue div.dv:nth-child(1) {
    display: flex;
    flex:50%;
    background : #1c5a73;
    
}

.home-blue div.dv:nth-child(2) {
    display: flex;
    flex:30%;
    background : #aeeeee;
    
}


.home-blue div.dv:nth-child(3) {
    display: flex;
    flex:20%;
    background: #2f9bc7;
    padding:20px;
}


.home-blue a {
    color : #fff;
    text-decoration: none;
}

.home-blue a:hover {
    color : #fff;
    text-decoration: underline;
}


.home-mapa{
    max-width: 85%;
    margin: auto; 
}


/* 
.home-blue div.dv:nth-child(1) {
    width:52%;
    background : #1c5a73;
    color : #fff;
    padding : 25px;
}
.home-blue div.dv:nth-child(2) {
    width:28%;
    background : #2d89ae;
    color : #fff;
    font-size: 1.2em;
    text-align: center;
    padding : 5px;
}
.home-blue div.dv:nth-child(3) {
    width:20%;
    display: flex;
    max-height: 100%;
    justify-content: center; 
    align-items: center; 
    background: #2f9bc7;
    display: inline-block;
    padding:15px;  vertical-align: middle;
}

.home-mapa {
    background: #2f9bc7 !important;
    width:100% !important;
    height:100% !important;
}


.home-mapa img {
    width:100% !important;
    height:100% !important;
} */


.home-trivia div.trivia:nth-child(1) {
    width:350px;
    overflow: hidden;
}

.home-trivia div.trivia:nth-child(2) {
    flex:auto;
    background-image: url('../img/home/fondo_rojo.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0%;
    color : #fff;
    font-size: 2em;
    padding : 25px;
    display: flex;
    justify-content: center; 
    align-items: center; 
}


@media (max-width: 991px) {
    .home-blue, .home-trivia {
        display: flex;
        flex-direction: column;
        width:100%;
        /* justify-content: space-around; */
    }

    .home-slide{
        min-height: 300px;
    }

    .home-slide .slide-image {
        flex-direction: column;
        justify-content: flex-end;
    }

    .wrapper{
        overflow: auto;
        height: auto;
    }
    
    .home-blue div, .home-trivia div{
        width:100% !important;
    }
}


.home-image-grey {
    background: url('../img/home/fondo_sabia_ud.jpg');
    background-position: center;
    background-size: cover;

    display: flex;
    min-height: 200px;
    justify-content: center; 
    align-items: center; 

    color : #b61623;
}

.home-image-grey p .span1 {
    font-size: 2em;
    text-shadow: 2px 2px 4px #666;
}
.home-image-grey p .span2 {
    font-size: 3em;
    font-weight: bolder;
    text-shadow: 2px 2px 4px #666;
}

/*   ------------------------------------------------------------------------  */
/*   Nueva seccion footer trivia                                               */
/*   ------------------------------------------------------------------------  */

.home-trivia-section {
    width : 100%;
    display: flex;
}

.home-trivia-section .section-1 {
    flex  :50%;
    align-content: stretch;
    display: flex;
    flex-direction: column;
}


.home-trivia-section .section-1 .section-trivia{
    background: url('../img/home/fondo_sabia_ud.jpg');
    background-position: center;
    background-size: cover;

    display: flex;
    min-height: 100px;
    justify-content: center; 
    align-items: center; 
    flex-direction: row;
    color : #b61623;
}

/* .home-trivia-section .section-1 .section-trivia .section-trivia-1, .home-trivia-section .section-1 .section-trivia .section-trivia-2{
    flex : 50%;
    display: flex;
    justify-content: center; 
    align-items: center; 
} */


.home-trivia-section .section-1 .section-trivia p .span1 {
    font-size: 1.5em;
    text-shadow: 2px 2px 4px #666;
}
.home-trivia-section .section-1 .section-trivia p .span2 {
    font-size: 2.5em;
    font-weight: bolder;
    text-shadow: 2px 2px 4px #666;
}



.home-trivia-section .section-1 .section-pregunta{
    background-image: url('../img/home/fondo_rojo.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0%;
    color : #fff;
    font-size: 1.2em;
    padding : 25px;
    display: flex;
    justify-content: center; 
    align-items: center; 
}


.home-trivia-section .section-1 .section-link{
    background-image: url('../img/home/fondo_rojo.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0%;
    color : #fff;
    font-size: 2em;
    padding : 5px;
    display: flex;
    justify-content: center; 
    align-items: center; 
}

.home-trivia-section .section-2 {
    display: flex;
    align-content: stretch;
    flex:50%;
    flex-direction: column;
    background: #e7e7e7;
}

.home-trivia-section .section-2 .s_items {max-height: 100%;overflow: scroll;flex: 1 0 0;}

.home-trivia-section .section-2 .s_items .s_item {
    width:100%;
    padding : 12px;
    padding-left : 12px;
    border : 1px solid #ccc; 
    border-top : none;
    font-size: 14px;
    font-weight: bold;
}

.home-trivia-section .section-1 .section-novedades{
    background: url('../img/home/fondo_novedades.jpg');
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    color : #fffafb;
    height: 70px;
}


.home-trivia-section .section-1 .section-novedades .span1{
    font-size: 2.5em;
    font-weight: bolder;
    text-shadow: 2px 2px 4px rgb(110, 110, 110);
}


@media ( max-width:842px) {
    .home-trivia-section  {
        display: block;
    }

    .home-trivia-section .section-2 {
        /* flex-direction: column;
        align-content: center; */
        display: block;
    }
    
}