/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 15-oct-2015, 16:28:44
    Author     : jrodball
*/

/**
*** Ajustes Visual Composer
**/

.vc_row.vc_inner, .vc_tta-container {

  margin-right: auto;
  margin-left: auto;
  /*margin-bottom: 0;*/
}

.vc_tta-container {
    width: 100%;
}

/*.vc_row.vc_inner :before {
  display: table;
  content: " ";
}

.vc_row.vc_inner :after {
  clear:both;
}
*/


.background-bottom {
    background-position: left bottom !important;
    background-repeat: no-repeat;
}



@media (min-width: 320px) and (max-width: 767px) {

    .vc_custom_1446188328474 .vc_row.vc_inner  { /* container widgets home */
        
        margin-right: -15px !important;
        margin-left: -15px !important;
       
    }
    
    
}

@media (min-width: 768px) {
  .vc_row.vc_inner  {
    width: 750px;

  }

}

@media (min-width: 992px) {
  .vc_row.vc_inner {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  .vc_row.vc_inner  {
    width: 1170px;
  }
}




/** ACCORDION REDES **/
.accordion-redes .vc_tta-panel-heading, .accordion-redes .vc_tta-panel-body {
    background: #fff !important;
}

.accordion-redes .vc_tta-panel-body {
    border-left: 1px solid #D8D8D8 !important;
    border-right: 1px solid #D8D8D8 !important;
    border-bottom: 1px solid #D8D8D8 !important;
}

.accordion-redes .vc_tta-panel-heading {
    border-bottom: 1px solid #D8D8D8 !important;
    padding: 20px;
}

.accordion-redes .vc_tta-panel.vc_active .vc_tta-title-text {
    color: #00BBDB;
    line-height: 30px;
    font-size: 20px;
    font-weight: 700;
}


/** /ACCORDION REDES **/

/** AGENDA MONTHLY VIEW **/

.agenda-monthly-view table {
    width: 80%;
    color: #00BBDB;
    font-size: 22px;
    line-height: 26px;
    text-align: center;  
    margin-left: auto;
    margin-right: auto;
}

.agenda-monthly-view table caption {
    font-size: 33px;
    font-weight: 700;
    line-height: 43px;
    margin-top: 20px;
    color: #000;
}
.agenda-monthly-view table thead, .agenda-monthly-view table tfoot {
    display: none;
}


.agenda-monthly-view table td:not(.pad) {
    padding: 10px;
}


span.day {
    display: block;
    background: #fff;
    padding: 12px;
    margin: 0 10px;
    text-align: center;
}

span.day.daywithposts {
    background-image: url(../img/bg-daywithposts.png);
    background-position: center 95%;
    background-repeat: no-repeat;
}


/*** /Visual Composer ***/


/**
*** [posts_list]
**/

.posts-list-title, ul.posts-list-items li {
    height: 218px;
    width: 260px;
}

.posts-list-title {
    vertical-align: middle;
    text-align: center;
}

    .posts-list-title .background-title {
        padding: 0;
        width: 800px;
        height: 218px;
        background-image: url(../img/bg-flechagris.png);
        background-position: right center;
        background-repeat: no-repeat;
        position: absolute;
        z-index: 10;
        right: -50px;
    }
    
    .posts-list-title h3 {
        padding-top: 80px;
        color: #FFFFFF;
        line-height: 25px;
        text-align: center;
        letter-spacing: 0px;
        font-size: 25px;
        font-family: playfair display, serif;
        font-weight: 400;
        font-style: italic;
        text-transform: lowercase;
        position: absolute;
        z-index: 100 !important;
    }



    
    
    
ul.posts-list-items { 
    list-style: none;
    margin: 0;
    padding: 0;
    
    display: flex;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    flex-flow: row wrap;
    -webkit-flex-flow: row wrap;
    -moz-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    justify-content: space-between;
}

    ul.posts-list-items li {
        margin-bottom: 20px;
      /*  border: 1px solid #E3E3E3; */
        background-color: #FFFFFF;
        color: #000000;
        overflow: hidden;
        position: relative;
    }

    ul.posts-list-items li:last-child {
        /*margin-right: auto;*/
    }
    
        

        ul.posts-list-items li .item-background-cover {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            padding: 0;
            margin: 0;
            background: #fff;
            -webkit-transition: background 0.5s ease-in-out;
            -moz-transition: background 0.5s ease-in-out;
            -ms-transition: background 0.5s ease-in-out;
            -o-transition: background 0.5s ease-in-out;
            transition: background 0.5s ease-in-out;
             opacity: 1;
	    border: 1px solid #E3E3E3;

        }

        ul.posts-list-items li .item-background-cover:hover { 
            background: rgba(255,255,255,0.6);
        }
    
        ul.posts-list-items li .item-background-cover p.posts-list-item-title {
            width: 60%;
            color: #000000;
            text-align: center;
            font-size: 20px;
            line-height: 22px;
        }

        
        ul.posts-list-items li .item-background-cover p.posts-list-item-excerpt {
            width: 70%;
            color: #000000;
            text-align: center;
            font-size: 14px;
            line-height: 18px;
        }
        
/* featured */

ul.posts-list-items li.post-featured {
    width: 100%;
    height: 436px;
}

    ul.posts-list-items li.post-featured a {
        background: none;
        padding: 30px 30% 30px 30px;
    }

    ul.posts-list-items li.post-featured a p.posts-list-item-title {
        text-align: left;
        font-size: 33px;
        line-height: 43px;
        letter-spacing: -1px;
        color: #FFFFFF;
        width: 100%;
    }
    
    ul.posts-list-items li.post-featured a p.posts-list-item-dsc {
        font-size: 15px;
        line-height: 19px;
        text-align: left;
        color: #ffffff;
    }
    
    
    
    
/* call to action */

.call-to-action-container {
    margin: 20px 0;
}

.call-to-action-title {
    vertical-align: middle;
    text-align: center;
}

    .call-to-action-title .background-title {
        padding: 0;
        width: 800px;
        height: 218px;
        background-image: url(../img/bg-flechagris.png);
        background-position: right center;
        background-repeat: no-repeat;
        position: absolute;
        z-index: 10;
        right: -50px;
    }
    
    .call-to-action-title h3 {
        padding-top: 80px;
        color: #FFFFFF;
        line-height: 25px;
        text-align: center;
        letter-spacing: 0px;
        font-size: 25px;
        font-family: playfair display, serif;
        font-weight: 400;
        font-style: italic;
        position: absolute;
        z-index: 100 !important;
    }
    
    .call-to-action-text-container {
        width: 100%;
        height: 218px;
        border: 1px solid #E3E3E3;
        background-color: #FFFFFF;
        color: #000000;
        overflow: hidden;
        padding-left: 40px;
    }
    
    .call-to-action-icon {
        padding: 0 10px;
        font-size: 100px;
        font-weight: 900;
        line-height: 80px;
    }
    
    .call-to-action-text {
        font-size: 24px;
        color: #000000;
        text-align: left;
        font-size: 20px;
        line-height:24px;
        font-weight: 300;
        padding: 0 10px;
    }
 
    .call-to-action-image {
        background-size: cover;
        height: 100%;
    }
    
    
    
/*** featured box ***/

.featured-box-container {
    padding: 30px;
    position: relative;
}

    .featured-box-container a {
        /*color: #fff;*/
    }
    
    .featured-box-title h3 {
        color: #FFFFFF;
        line-height: 25px;
        text-align: left;
        letter-spacing: 0px;
        font-size: 25px;
        font-family: playfair display, serif;
        font-weight: 400;
        font-style: italic;
        text-transform: lowercase;
    }
    
    .featured-box-separator {
        width: 25%;
        height: 5px;
        background-color: #ffffff;
        margin: 20px 0;
    }
    
    .featured-box-content {
        align-self: flex-end;
    }
    
    .featured-box-content .heading {
        font-size: 50px;
        line-height: 55px;
        font-weight: 400;
    }  
    
    .featured-box-bg-ico {
        position: absolute;
        right: 20px;
        top: 20px;
        font-size: 100px;
    }
    
    .featured-box-main-ico {
        display: block;
        width: 100%;
        position: relative;
        text-align: center;
        padding: 25px 0;
        font-size: 140px !important;
    }
    
    .featured-box-main-ico-wrapper {
        margin-left: auto;
        margin-right: auto;
    }
    
    
/**** gallery slider ****/

.carousel-caption {
    right: 20px;
    left: 20px;
    padding-bottom: 30px;
    text-shadow: none;
    text-align: left;
    //width: 33% !important;
    padding-right: 2%;
}


    .carousel-caption h2 {
        font-size: 70px;
        letter-spacing: -1px;
        font-weight: 900;
        line-height: 70px;
        margin-right: 60px;
    }

    .carousel-caption h1, .carousel-caption h1 a {
        font-size: 38px;
        font-weight: 400;
        line-height: 44px;
        padding: 0px;
    }

    .carousel-caption span.separator {
        font-weight: 300;
        margin-right: 20px;
    }
    
.carousel-control {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20px;
    font-size: 20px;
    color: #fff;
	/*color: #023A45;*/
    text-align: center;
    background-image: none !important;
}

#carousel-list-agenda .carousel-control {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20px;
    font-size: 20px;
	color: #023A45;
    text-align: center;
    background-image: none !important;
}

    .carousel-control.right {
        right: 15px;
        left: auto;
        z-index: 9999;
    }
    
    .carousel-control.play {
        right: 50px;
        left: auto;
        text-align: center;
        margin-top: 23px;
        z-index: 9999;
        display: none;
    }
    
    .carousel-control.pause {
        right: 55px;
        left: auto;
        text-align: center;
        margin-top: 23px;
        z-index: 9999;
    }
    
    .carousel-control.left {
        right: 90px;
        left: auto;
        z-index: 9999;
    }
    
    .carousel-control span {
        top: 50px !important;
    }

    .full_width .carousel-inner {
        overflow: visible;
    }
    

    
/****** recent posts *****/

.recent-posts-title h3 {
    font-family: lato, sans-serif;
    color: #000000;
    margin-left: 40px;
    font-size: 15px;
    font-weight: 300;
    font-style: normal;
    text-transform: none;
}

ul.recent-posts-items {
    list-style: none;
    width: 100%;
    padding-left: 0;
}

ul.recent-posts-items li {
    clear: both;
    overflow: auto;
}

ul.recent-posts-items li:not(:last-child) {
    margin-bottom: 40px;
}

.recent-posts-item-date {
    float: left;
    text-align: right;
    color: #000000;
    font-size: 15px;
    font-weight: 300;
    font-style: normal;
    text-transform: none;
}

.recent-post-item-text {
    display: inline-block;
    float: left;
    padding: 0 20px;
    box-sizing: border-box;
}


.recent-posts-item-title {
        font-size: 33px;
        line-height: 43px;
        letter-spacing: -1px;
        font-weight: 700;
        margin-top: 0;
    }
    
    .recent-posts-item-excerpt {
        font-size: 15px;
        font-weight: 300;
        line-height: 19px;
    }
    
.recent-posts-item-image {
    display: inline-block;
    padding: 0 0 20px 10px;
    box-sizing: border-box;
}

    .recent-posts-item-image img {
        max-width: 100%;
    }

.button-more-posts-container {
    clear: both;
    margin: 60px 0 20px 0;
    text-align: center;
}


/** widget_scroll_posts **/
.widget-scroll-posts-container {
    padding: 30px;
    position: relative;
    overflow: visible;
}
    
    .widget-scroll-posts-title h3 {
        color: #FFFFFF;
        line-height: 25px;
        text-align: left;
        letter-spacing: 0px;
        font-size: 25px;
        font-family: playfair display, serif;
        font-weight: 400;
        font-style: italic;
        text-transform: lowercase;
    }
    
    .widget-scroll-posts-content {
        align-self: flex-end;
        height: 80%;
        overflow: hidden;
        
    }

    .widget-scroll-posts-show-more {
        cursor: pointer;
    }
    
    ul.widget-scroll-posts-items {
        list-style: none;
        padding-left: 0;
    }
    
    ul.widget-scroll-posts-items li {
        padding: 20px 0 10px 0;
        border-bottom: 1px solid;
    }
    
        ul.widget-scroll-posts-items li:last-child {
            border-bottom: none;
        }
    
    .widget-scroll-posts-item-image {
        max-height: 110px;
        margin-bottom: 10px;
    }
        
    .widget-scroll-posts-item-date {
        font-size: 58px;
        line-height: 58px;
        letter-spacing: -1px;
        font-weight: 900;
    }
    
        .widget-scroll-posts-item-date span {
            font-weight: 300;
        }
      
        .widget-scroll-posts-cintillo {
            text-transform: uppercase;
        }
        
    .widget-scroll-posts-item-title {
        font-size: 16px;
        line-height: 19px;
        font-weight: 900;
        margin: 5px 0;
    }
    
    .widget-scroll-posts-show-more {
        display: block;
        width: 100%;
        height: 20px;
        text-align: center;
    }
    
    .widget-scroll-posts-image {
        width: 50px;
    }
    
    
    
/** counter_up **/

.counter-up {
    text-align: center;
}
    
    .counter-up h4 {
        font-size: 150px;
        text-align: center;
        line-height: 204px;
        font-weight: 900;
        margin: 0;
    }
    
    .counter-up h5 {
        font-size: 50px;
        line-height: 50px;
        letter-spacing: -1px;
        margin: -20px 0 10px 0;
    }
    
    .counter-up p {
        font-size: 16px;
        line-height: 19px;
        padding-bottom: 5px;
    }





/** country_list **/

#header-paises {
    padding: 30px 0 20px 0;
    border-top: 1px solid #DCDCDC;
    margin-top: 20px;
}

.header-paises-title {
    width: 20%;
}

    .header-paises-title h2 {
        color: #000000;
        line-height: 19px;
        text-align: left;
        font-size: 16px;
        font-weight: 700;
        margin:0;
    }

.header-paises-content {
    width: 80%;
}

ul#header-paises-list {
    list-style: none;
    margin:0;
    padding-left: 0;
}

    ul#header-paises-list li {
        color: #000000;
        text-align: left;
        font-size: 14px;
        letter-spacing: 0px;
        font-weight: 300;
    }
    
    .paises-list-wrapper {
        display: inline-block;
    }
    
/** photo_banner **/

.photo-banner-content {
    padding: 20px;
}

.full-width {
    width: 100% !important;
}



/** widget_agenda_list **/



.list-agenda-item {
    background: #fff;
    color: #000;
    padding: 20px;
    margin: 10px;
    display: inline-block;
    float: left;
    overflow: hidden;
}




/*** simple post list ***/

ul.simple-posts-list-items {
    list-style: none;
    padding-left: 0;
}

ul.simple-posts-list-items .simple-posts-list-item-title {
    font-weight: 700;
    font-size: 14px;
    line-height: 17px;
}

ul.simple-posts-list-items li {
    font-weight: 300;
    font-size: 14px;
    line-height: 17px;
}

ul.simple-posts-list-items .simple-posts-list-item-title {
    font-weight: 700;
    font-size: 14px;
    line-height: 17px;
}



/** SHARE-POST **/

.share-link-container {
    margin-left: 5px;
    display: inline-block;
    position: relative;
}

.share-link-container a.share-icon:focus {
    outline: none;
    text-decoration: none;
    opacity: 0.8;
}

.share-buttons a {
    padding: 5px;
    font-size: 18px;
}





.popover {
    border-radius: 0;
}


/* TWITTER_LATEST_TWEETS */
ul.twitter_latest_twitts {
    list-style: none;
    padding-left: 0;
    height: 300px;
    overflow-y: scroll;
    border: 1px solid #eee;
}

ul.twitter_latest_twitts li {
    font-size: 15px;
    font-weight: 300;
    line-height: 19px;
    margin-bottom: 20px;
}

.timeline .stream {
    height: 350px !important;
}


/* [links lists] */
.listlinks ul{
    font-size: 15px;
    font-weight: 300;
    line-height: 19px;
    margin: 0 !important;
    padding:0 !important;
}
.listlinks ul li{
	list-style-type: none;
	margin-bottom:10px;
}



/* FORM CONTACTO CONTACT7 CONVOCATORIAS */
.detalle-agenda-form {    
    background: rgba(220, 246, 250, 0.5);
    border-left: 5px solid #008C9F;
    padding: 30px;
    margin: 10px 0 30px 0;
}

    .detalle-agenda-form field {
        display: block;
        margin: -10px 0;    /* el shortcode mete automáticamente <br> */
    }
    
    .detalle-agenda-form field label, .detalle-agenda-form field span, .detalle-agenda-form field input {
        display: inline-block;
        font-size: 16px;
        font-weight: normal;
        line-height: 22px;
        vertical-align: top;
    }

    .detalle-agenda-form label {
        width: 30%;
        
    }
    
    .detalle-agenda-form input[type=text], .detalle-agenda-form input[type=email], .detalle-agenda-form textarea {
        background: #FAFEFE;
        border: 0;
        width: 100%;
        padding: 5px;
    }
    
    .detalle-agenda-form input[type=file] {
        font-size: 13px;
    }

    .detalle-agenda-form input[type=submit] {
        width: 100%;
        background: #008C9F;
        color: #fff;
        font-weight: bold;
        text-transform: uppercase;
        padding: 10px 0;
        border: 0;
        margin: 20px 0;
        transition: background-color 0.5s ease;
    }
    
    .detalle-agenda-form input[type=submit]:hover {
        background: #343434;
    }



@media screen and (max-width: 1023px){
    .header-paises-title h2{
        font-size: 14px;
        font-weight: 700;
        background: url(../img/plus.png) left center no-repeat;
        padding-left: 50px;
        min-height: 39px;
    }
    .header-paises-content{
        display: none;
    }

    #header-paises.in{    	
    	padding-bottom: 0;
    }
    #header-paises.in .header-paises-title h2{
        background-image: url(../img/minus.png);
    
    }
    #header-paises.in .header-paises-content{
    	display: block;
    	padding-top: 20px;
    	width: 100%;
    }
	#header-paises.in .paises-list-wrapper{
		
		display: block;
	}

    #header-paises.in .header-paises-content li{
    	width: 50%;
    	float: left;
    	line-height: 36px;
    	border-bottom: 1px dotted #EEEEEE;
    }
    #header-paises.in .paises-list-wrapper:last-child li{
    	border-bottom: none;
    }
}    

@media screen and (max-width: 666px){
	#header-paises.in .paises-list-wrapper{
		width: 100%;		
	}
	
}

@media screen and (min-width: 414px) and (max-width: 1023px){
	.header-paises-title h2{
		line-height: 39px;
	}
}
@media screen and (min-width: 667px) and (max-width: 1023px){
	#header-paises.in .paises-list-wrapper{
		width: 50%;
		display: block;
		float: left;
	}
	.header-paises-content,
	.header-paises-title{width: auto;}
	
}
@media screen and (max-width: 1023px){

}


/* Secretaria general */

@media screen and (max-width: 768px) and (min-width: 668px){
    .sg-widgets .widget-scroll-posts-container{
        width:100%!important;
    }   
}

@media screen and (min-width: 768px){
    .sg-widgets .widget-scroll-posts-item-date {
        font-size: 40px;
        line-height: 44px;
     } 
}

/* nuevas cajas programas cooperacion */
.posts-list-title-peq  .background-title-azul {
    padding: 0;
    height: 166px;
    width: 280px;
    background-color: #00bcdc;
    position: relative;
    z-index: 10;
    right: 5px;
} 
.texto-titulo {
   font-size: 20px;
color:#ffffff;
text-align: center;
text-transform: uppercase;
width: 100%;
justify-content: center;
aling-items: center;
display:flex;
padding-top:68px;
font-weight:bold;
line-height:22px;
padding-bottom: 68px;
background-color:#00bcdc;
}

.posts-list-item-title-peq {
font-size:16px;
width:70%;
color: #000000;
text-align:center;
line-height:20px;
}

@media (max-width:800px){
	.barra-movil{
	font-size: 17px !important;
	}

	.posts-list-items{
	margin-left:15%;
	}

	.recent-posts-item-title{ 
	font-size:20px;
	line-height:25px;
	font-weight:700;
	}

	.recent-posts-item-text{
	width:75% !important;
	margin-left:20px;
	}

	.recent-posts-item-date{
	text-align:left;
	width:100% !important;
	}
}
