/* ========================================================================
   Use this file to add custom CSS easily
 ========================================================================== */
body {
    color: #545454 !important;
}

.custom-flaticon .teaser_icon {
    display: inline-block;
    line-height: 1;
    -webkit-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
    padding: 10px;
}

html,body{
    overflow-x: hidden;
}


/* ============================================= 
                       Header

   Anna Dolma Alonso
   26 Junio 2017

 =============================================== */
#sp-top-bar {
    background-color: rgba(56, 73, 155, 0.1) !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    height: 30px;
}
#sp-top-bar #sp-top1 {
    text-align: right;
    padding-right: 20px;
    padding-top: 3px;
}

header#sp-header {
  	height: 215px;
}
@media (min-width: 769px) {
    header#sp-header {
        background: url('/images/headers/header_ok.jpg') bottom right / cover no-repeat,
        #ffffff;
    }

    #sp-top-bar #sp-top1 {
        padding-right: 20%;
    }
}
@media (max-width: 768px) {
    header#sp-header {
        background:
            url('/images/headers/header_ok.jpg')
            bottom right / cover
            no-repeat;
    }
    #sp-top-bar #sp-top1 {
        font-size: 13px;
    }
}

header#sp-header div.logo img {
  	margin-top: 10px;
}
header#sp-header #sp-logo {
    margin-left: 5%;
}
@media (max-width: 514px) {
    header#sp-header #sp-logo {
        width: 185px;
    }
}
header#sp-header #sp-header-info {
    padding: 28px 12% 10px 0px;
}
header#sp-header #sp-header-info h3 {
    font-weight: 500;
    font-size: 23px;
}
header#sp-header #sp-header-info h3.english a, .english {
    color: rgba(67, 182, 231, 0.9);
}
header#sp-header #sp-header-info h3.spanish a, .spanish {
    color: rgba(250, 250, 250, 0.9);
}
@media (min-width: 768px) {
    header#sp-header #sp-header-info {
        float: right;
        width: auto;
    }
}
@media (max-width: 920px) {
    header#sp-header #sp-header-info {
        padding: 15px 32% 10px 0px;
    }
}



/* ============================================= 
                     Main Menu

   Anna Dolma Alonso
   04 Julio 2017  
 =============================================== */
div#sp-menu {
    height: 60px;
}
#sp-menu .sp-megamenu-parent >li {
    height: 60px;
    line-height: 60px;
}
#sp-menu #offcanvas-toggler {
    line-height: 60px;
}
@media (max-width: 991px) {
    #sp-menu #offcanvas-toggler {
        float: right;
        line-height: 60px;
    }
    .offcanvas-menu .offcanvas-inner .sp-module ul li a {
        font-size: 20px !important;
        line-height: 24px !important;
    }
    .offcanvas-menu .offcanvas-inner .sp-module ul li ul li a {
        font-size: 12px !important;
        line-height: 22px !important;
    }

    .offcanvas-menu .offcanvas-inner .sp-module ul li ul li a.featured-menu {
        font-size: 18px !important;
    }

}
#sp-menu .sp-megamenu-parent > li.active > a {
  	color: #43b6e7 !important;
}
#sp-menu .sp-megamenu-parent > li > a::before, #sp-menu .sp-megamenu-parent > li > a::after {
  border: none;
}
#sp-menu .sp-megamenu-parent >li >a:hover {
    color: rgba(67, 182, 231, 0.7) !important;
}

#sp-menu span.menu-label {
    padding-right: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    text-transform: uppercase;
    line-height: 24px;
    font-weight: 600;
}

.offcanvas-menu ul li ul li a.featured-menu {
    font-size: 26px !important;
}

@media (min-width: 992px) {
    .projects-menu {
        column-count: 2;
    }
}


/* =============================================
                 Offcanvas Menu

   Anna Dolma Alonso
   12 Septiembre 2017

 =============================================== */
div.offcanvas-inner {
    text-align: left !important;
    padding-left: 20%;
}



/* ============================================= 
                    Action Menu

   Anna Dolma Alonso
   26 Junio 2017

 =============================================== */
ul#action-menu li {
  	border-bottom: none;
}
ul#action-menu li >a  {
    color: #fff;
    line-height: 20px;
    margin-right: 4px;
    padding: 2px 12px 2px 0 !important;
}
div.language-switcher ul > li > a {
    color: #fff !important;
    padding: 2px 12px 2px 0 !important;
    margin-right: 4px;
    line-height: 20px;
}
ul#action-menu li >a:before {
  	content: "\00a0";
}
ul#action-menu li.active>a {
    background: none;
}

div.language-switcher ul {
    list-style: none;
    padding: 0;
    margin: 0;
    height: 22px;
}

div.language-switcher ul > li {
    border-bottom: none;
    float: left;
    position: relative;
}

div.language-switcher ul > li > a {
    display: block;
    border-radius: 4px;
    position: relative;
}

a.shop {
    font-family: FontAwesome;
    font-size: 1.2em;
    color: rgb(255, 141, 0) !important;
}

@media (max-width: 514px) {
    #sp-top-bar {
        background-color: rgba(56, 73, 155, 0) !important;
    }
    #sp-top-bar #sp-top1 {
        padding-right: 5%;
    }
    ul#action-menu li {
        width: 100%;
        float: left;
    }
    div.language-switcher {
        padding-top: 2px;
    }

    ul#action-menu li >a:active, ul#action-menu li >a:hover, ul#action-menu li >a:focus, ul#action-menu li.active>a:focus, ul#action-menu li.active>a:hover,
    div.language-switcher ul > li >a:active, div.language-switcher ul > li >a:hover, div.language-switcher ul > li >a:focus,  div.language-switcher ul > li.active>a, div.language-switcher ul > li.active>a:focus, div.language-switcher ul > li.active>a:hover,
    ul#action-menu li:first-child a:active, ul#action-menu li:first-child a:hover, ul#action-menu li:first-child a:focus {
        color: #43b6e7 !important;
    }

    ul#action-menu li:first-child a {
        color: rgb(255,141, 0) !important;
        font-weight: 400;
    }
}

@media (min-width: 515px) {
    ul#action-menu li:first-child {
        background: rgb(255, 141, 0) !important;
        font-weight: 400;
        border-radius: 4px;
    }
    ul#action-menu li:first-child > a:active,
    ul#action-menu li:first-child > a:hover,
    ul#action-menu li:first-child > a:focus {
        background-color: rgba(67, 182, 231,0) !important;
        color: rgb(56, 73, 155) !important;
    }
    ul#action-menu li >a:active, ul#action-menu li >a:hover, ul#action-menu li >a:focus, ul#action-menu li.active>a:focus, ul#action-menu li.active>a:hover,
    div.language-switcher ul > li >a:active, div.language-switcher ul > li >a:hover, div.language-switcher ul > li >a:focus,  div.language-switcher ul > li.active>a, div.language-switcher ul > li.active>a:focus, div.language-switcher ul > li.active>a:hover {
        background-color: #43b6e7;
    }

}
@media (min-width: 405px) and (max-width: 520px) {
    div.language-switcher {
        float: left;
    }
}

/*ul#action-menu li.active>a:focus,
ul#action-menu li.active>a:hover,*/

/* ============================================= 
                    Page Title

   Anna Dolma Alonso
   12 Julio 2017

 =============================================== */

#sp-title, #sp-title:before {
    background: none !important;
}
.sp-page-title {
    /*background-color: rgba(67, 182, 231, 1) !important;*/
    background-color: rgba(123,136,182,1) !important;
}
.sp-page-title h2 {
  font-size: 36px !important;
}
.sp-page-title {
    padding: 30px 0 !important;
}
.sp-page-title .breadcrumb {
    font-size: 0.9em;
    padding-top: 4px !important;
}
#intro-image {
    text-align: center;
}
#intro-image img{
    margin: 0 auto;
}

/* Don't show latest two items in breadcrumbs if page is phoca download view file */
body.com-phocadownload.view-file ol.breadcrumb li:nth-child(5),
body.com-phocadownload.view-file ol.breadcrumb li:nth-child(6) {
    display: none;
}

/* ============================================= 
                    Row Title

   Anna Dolma Alonso
   18 Julio 2017

 =============================================== */
.sppb-section-title:before, .sppb-section-title:after {
	border: none !important;  
}


/* =============================================
                    Donate Footer

   Anna Dolma Alonso
   08 Diciembre 2017

 =============================================== */
/*#sp-donate-footer {
    background-image: url('/images/banners/FOOTER-complete-empty.jpg');
    background-position: 46% 0;
}

@media (max-width: 991px) {
    #sp-donate-footer {
        background-position: 80% 0;
    }

    #sp-donate-footer .container {
        padding-left: 30px;
        padding-right: 30px;
    }
}
*/
#donate-footer a.read-more {
    background: rgba(255, 141, 0, 0.8) !important;
}
#donate-footer a.read-more:hover {
    background-color: #23a62c !important;
}
#donate-footer .sppb-btn-success {
    border-color: rgba(255, 141, 0, 0.8);
}
#donate-footer h3.sppb-addon-title {
    border-bottom: rgba(91, 107, 167, 1) 2px solid;
    padding-bottom: 6px;
}
#donate-footer span.social-icons {
    float: right;
}
@media (max-width: 399px) {
    #donate-footer span.social-icons {
        float: none;
        font-size: 18px;
    }
    #donate-footer span.social-icons:before {
        content: "\A";
        white-space: pre;
    }
}


/* ============================================= 
                    Footer

   Anna Dolma Alonso
   29 Junio 2017

 =============================================== */
#sp-bottom {
    background-image: none !important;
    background-color: #7b88b6 !important;
    padding: 30px 0px !important;
}

#sp-bottom .sp-module .sp-module-title {
    padding: 0px 0px 15px 0px !important;
}

#sp-bottom .sp-module .sp-module-title:before {
    width: 50% !important;
    background-color: rgba(91, 107, 167, 1) !important;
}
#sp-bottom .sp-module .sp-module-content {
  	color: #ffffff;
}
#sp-bottom a {
    color: #ffffff;
}
#sp-bottom .sp-module ul >li >a .fa {
    color: rgba(91, 107, 167, 1) !important;
}
#sp-bottom .highlight {
  	color: rgba(91, 107, 167, 1);
}
#sp-bottom ul.social-icons {
  	float: none;
}

@media (min-width: 768px) and (max-width: 992px) {
    #sp-bottom #sp-bottom1 {
        width: 100% !important;
    }
    #sp-bottom #sp-bottom2, #sp-bottom #sp-bottom3, #sp-bottom #sp-bottom4 {
        width: 32% !important;
    }
}

#sp-footer {
    padding: 10px 0 !important;
}
#sp-footer .container:before {
    height: 0 !important;
}
#sp-footer div.container {
    background: url('/images/fcd/logoFCD_60px.png')
                bottom left
                no-repeat;
    height: 50px;
    padding-left: 60px;
}



/* =============================================
                    Search

 =============================================== */
#sp-top-bar .sp-module {
    vertical-align: top;
}

#sp-top1 .finder label {
    width: 0;
    height: 0;
    display: none;
}

#sp-top1 .finder input.search-query,
#sp-top1 .itp-gs input.inputbox {
    width: 100px;
    height: 22px;
    margin-top: 1px;
    border-radius: 4px;
}
@media (min-width: 1020px) {
    #sp-top1 .finder input.search-query,
    #sp-top1 .itp-gs input.inputbox {
        width: 150px;
    }
}

#sp-top1 .finder input[type="hidden"] {
    width: 0;
}

#search-form input {
    margin: 0 10px;
    height: 40px;
}
#search-form button {
    background-color: rgba(57, 73, 154, 0.6) !important;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 14px;
    padding: 0 10px;
    height: 40px
}
.search-pagination .pagination>li>a, .pagination>li>span {
    padding: 0 15px 0 0;
    width: auto;
}

div#search-result-empty {
    margin-top: 20px;
}

/* Override Google CustomSearchEngine CSS*/
.gsc-control-cse, .gsc-control-cse .gsc-table-result {
    font-family: Open Sans, sans-serif !important;
}
input.gsc-input, .gsc-input-box, .gsc-input-box-hover, .gsc-input-box-focus {
    border-radius: 4px;
}
.gsc-search-button-v2 {
    height: 32px !important;
    margin-top: 0 !important;
    min-width: 13px !important;
    padding: 3px 26px !important;
    width: 68px !important;
}
.gsc-search-button-v2 svg {
    vertical-align: middle;
}
.gsc-webResult.gsc-result {
    padding: 15px 0 !important;
}
.gsc-table-result, .gsc-thumbnail-inside, .gsc-url-top {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.gsc-result .gs-title {
    height: auto !important;
}
a.gs-title {
    font-family: Raleway, sans-serif;
    text-decoration: underline;
}
.gs-snippet, td.gsc-table-cell-snippet-close {
    font-size: 14px;
    font-family: Open Sans, sans-serif !important;
    font-weight: 300;
}
/* ============================================= 
                Home Page > Vacantes

   Anna Dolma Alonso
   27 Junio 2017

   Carousel "Vacantes" en home page.
 =============================================== */
div#vacantes {
  padding: 20px 0px 25px 0px !important;
}
div#vacantes .sppb-carousel-inner > .sppb-carousel-pro-text,
div#vacantes .sppb-carousel-inner > .sppb-carousel-text {
  height: 260px;
}
@media (max-width: 991px) {
    .directors .sppb-col-md-12 {
        width: 100%;
    }
    .vacancies .sppb-addon-single-image-container {
        padding-bottom: 30px;
    }
}

/* ============================================= 
               Home Page > Proyectos

   Anna Dolma Alonso
   27 Junio 2017

   Tabs "Proyectos" en home page.
 =============================================== */
#research-projects h2.sppb-addon-title {
    padding-left: 20px;
    padding-right: 20px;
}

#proyectos .sppb-addon-tab .sppb-nav-tabs {
    float: left;
    width: 33%;
    background-color: rgba(245, 246, 251, 1);
    padding: 20px 20px;
}
#proyectos .sppb-nav-tabs > li{
  float: none;
}
#proyectos .sppb-nav-tabs li {
    padding-left: 0 !important;
    border-right: none;
}
#proyectos .sppb-nav-tabs > li > a {
    background: none;
    padding: 3px 0;
    margin-right: 0;
}
#proyectos .sppb-nav-tabs > li > a:hover {
    color: #6d6a6a;
    animation-duration: 4s;
    animation-name: pulse;
}
/*#proyectos .sppb-nav-tabs > li.active {*/
    /*color: #ffffff !important;*/
    /*background-color: rgba(123,136,182,0.7) !important;*/
/*}*/
#proyectos img {
  margin: 0 0 20px 0 !important;
  /*float: left;*/
}
#proyectos div.sppb-nav-tabs-content {
    overflow: auto;
    padding: 0;
    border: none;
}
#proyectos .sppb-addon-tab .sppb-tab-pane {
    padding: 0;
}
#proyectos h3, #other-institutions h3 {
    background: #38499b;
    padding: 10px 15px;
    color: #ffffff;
    margin-bottom: 0;
}
@media (min-width: 768px) {
    #proyectos h3, #proyectos p {
        margin-left: 33%;
    }
    #proyectos img {
        width: 67%;
    }
}
#proyectos .sppb-addon-tab .sppb-tab-pane p {
    padding-left: 20px;
    padding-right: 20px;
}

#proyectos .sppb-addon-accordion .sppb-panel-heading,
#other-institutions .sppb-addon-accordion .sppb-panel-heading {
    background-color: rgba(245, 246, 251, 1);
}
#proyectos .sppb-addon-accordion .sppb-panel-body,
#other-institutions .sppb-addon-accordion .sppb-panel-body {
    padding: 0;
}
#proyectos .sppb-addon-accordion .sppb-panel-body p,
#other-institutions .sppb-addon-accordion .sppb-panel-body p {
    padding-left: 15px;
    padding-right: 15px;
}




/* =============================================
        Home Page > Pasaporte Galapagos

   Anna Dolma Alonso
   22 Noviembre 2017
 =============================================== */
#passport .sppb-container-inner .sppb-row {
    align-items: center;
}

@media (min-width: 992px) {
    #passport {
        background: url('/images/banners/background_passport.jpg')
        center right
        no-repeat
        scroll
        border-box;
    }
}
@media (max-width: 991px) {
    #passport .sppb-addon-content {
        padding-left: 20px;
        padding-top: 30px;
    }
    #passport img.sppb-img-responsive {
        width: 70%;
    }
}




/* ============================================= 
        Home Page > Lineas de investigacion

   Anna Dolma Alonso
   29 Junio 2017

   Slideshow "Lineas de investigacion" en home page.
 =============================================== */
#lineas-de-investigacion .sppb-carousel-item-inner {
    width: 55%;
    text-align: left;
}
#lineas-de-investigacion .sppb-carousel-pro-text,
#lineas-de-investigacion .sppb-carousel-text{
    color: #ffffff;
  	animation-name: stretchLeft;
  	animation-duration: 6s;
}
#lineas-de-investigacion .sppb-carousel-pro-text p,
#lineas-de-investigacion .sppb-carousel-text p{
    font-size: 1.1em;
}
#lineas-de-investigacion div.sppb-item:first-child .sppb-carousel-item-inner {
    width: 38%;
}
#lineas-de-investigacion div.sppb-item:first-child h2 {
    color: #314090;
}
#lineas-de-investigacion div.sppb-item:first-child p {
    color: #676865;
}
#lineas-de-investigacion .sppb-carousel-indicators li,
#slides-numbers .sppb-carousel-indicators li {
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.7);
}
#lineas-de-investigacion .sppb-carousel-indicators .active,
#slides-numbers .sppb-carousel-indicators .active {
    background-color: rgba(125, 156, 205, 0.7);
    border: 1px solid rgba(125, 156, 205, 0.7);
}

@media (min-width: 769px) and (max-width: 861px) {
    /* Todavia el slideshow es horizontal,
       pero el texto puede hacer overflow */
    #lineas-de-investigacion .sppb-carousel-item-inner {
        width: 62% !important;
    }
    #lineas-de-investigacion div.sppb-item:first-child .sppb-carousel-item-inner {
        width: 48% !important;
    }
    #lineas-de-investigacion div.sppb-item:first-child .sppb-carousel-item-inner p {
        width: 79% !important;
        font-size: 1em;
    }
}
@media (min-width: 531px) and (max-width: 768px) {
    /* Slideshow vertical */
    #lineas-de-investigacion div.sppb-item:first-child p,
    #lineas-de-investigacion div.sppb-item:first-child h2 {
        color: #ffffff;
    }
    #lineas-de-investigacion .sppb-carousel-item-inner {
        width: 84%;
    }
    #lineas-de-investigacion div.sppb-item:first-child .sppb-carousel-item-inner,
    #lineas-de-investigacion div.sppb-item:last-child .sppb-carousel-item-inner{
        width: 60%;
    }
    #lineas-de-investigacion div.sppb-carousel-caption {
        height: 80%;
        margin-top: -20px;
    }
    #lineas-de-investigacion div.sppb-carousel-pro-text,
    #lineas-de-investigacion div.sppb-carousel-text{
        background: rgba(57, 73, 154, 0.5);
        padding: 20px;
    }
}
@media (max-width: 530px) {
    #lineas-de-investigacion div.sppb-carousel-pro-text,
    #lineas-de-investigacion div.sppb-carousel-text{
        background: rgba(57, 73, 154, 0.5);
        padding: 20px;
    }
    #lineas-de-investigacion .sppb-carousel-item-inner {
        height: auto;
        width: 85%;
    }
    #lineas-de-investigacion div.sppb-carousel-caption {
        margin-top: -20px;
    }
    #lineas-de-investigacion div.sppb-carousel-pro-text h2,
    #lineas-de-investigacion div.sppb-carousel-text h2 {
        font-size: 24px;
    }
    #lineas-de-investigacion div.sppb-item:first-child h2 {
        color: #ffffff;
    }
    #lineas-de-investigacion div.sppb-carousel-pro-text p,
    #lineas-de-investigacion div.sppb-carousel-text p{
        visibility: hidden;
        height: 0;
    }
}

#slides-numbers .sppb-carousel-text a.sppb-btn {
    margin-top: 27%;
    color: #ffffff !important;
    background: rgb(142, 151, 196) !important;
    border-radius: 5px !important;
    padding: 0 6px;
    font-size: 14px;
    line-height: 30px;
}
@media (max-width: 767px) {
    #slides-numbers .sppb-carousel-text {
        text-align: center;
    }
    #slides-numbers .sppb-carousel-text a.sppb-btn {
        margin-top: 97%;
        font-size: 16px;
    }
}
@media (max-width: 622px) {
    #slides-numbers .sppb-carousel-text a.sppb-btn {
        margin-top: 98%;
    }
}
@media (max-width: 525px){
    #slides-numbers .sppb-carousel-text a.sppb-btn {
        visibility: hidden;
    }

}
a#btn-1542054633465, a#btn-1542054379256, a#btn-1542054633466 {
    margin-left: 70%;
}
@media (max-width: 767px) {
    #slides-numbers .sppb-carousel-text a#btn-1542054379257,
    #slides-numbers .sppb-carousel-text a#btn-1542054633466 {
        margin-top: 35%;
    }
}

#slides-numbers.middle a#btn-1552942267008,
#slides-numbers a#btn-1552938119708 {
    float: right;
}



/* =============================================
                 Banner Donate
 =============================================== */

#slides-numbers .sppb-carousel-text a#btn-1542054633465,
#slides-numbers.slides-donate .sppb-carousel-text a#btn-1552942267008 {
    background-color: #F47B29 !important;
    color: white !important;
    margin: 76% auto;
    padding: 18px;
}
@media (min-width: 570px) {
    #slides-numbers .sppb-carousel-text a#btn-1542054633465,
#slides-numbers.slides-donate .sppb-carousel-text a#btn-1552942267008 {
        font-size: 3.2em;
    }
}
@media (min-width: 520px) and (max-width: 569px) {
    #slides-numbers .sppb-carousel-text a#btn-1542054633465,
#slides-numbers.slides-donate .sppb-carousel-text a#btn-1552942267008 {
        font-size: 3em;
        visibility: visible;
    }
}
@media (min-width: 450px) and (max-width: 519px) {
    #slides-numbers .sppb-carousel-text a#btn-1542054633465,
#slides-numbers.slides-donate .sppb-carousel-text a#btn-1552942267008 {
        margin: 76% auto;
        font-size: 2.4em;
        padding: 12px;
        visibility: visible;
    }
}
@media (min-width: 400px) and (max-width: 449px) {
    #slides-numbers .sppb-carousel-text a#btn-1542054633465,
#slides-numbers.slides-donate .sppb-carousel-text a#btn-1552942267008 {
        margin: 76% auto;
        font-size: 2em;
        padding: 8px;
        visibility: visible;
    }
}
@media (min-width: 301px) and (max-width: 399px) {
    #slides-numbers .sppb-carousel-text a#btn-1542054633465,
#slides-numbers.slides-donate .sppb-carousel-text a#btn-1552942267008 {
        margin: 74% auto;
        font-size: 2em;
        padding: 5px;
        visibility: visible;
    }
}
@media (max-width: 300px) {
    #slides-numbers .sppb-carousel-text a#btn-1542054633465,
#slides-numbers.slides-donate .sppb-carousel-text a#btn-1552942267008 {
        visibility: hidden;
    }
}

#slides-numbers .sppb-carousel-text a#btn-1542054633464,
#slides-numbers .sppb-carousel-text a#btn-1542054379255 {
    float: right;
    text-align: center;
    background-color: #F47B29 !important;
    color: white !important;
}
@media (max-width: 800px) {
    #slides-numbers .sppb-carousel-text a#btn-1542054633464,
    #slides-numbers .sppb-carousel-text a#btn-1542054379255 {
        margin-top: 14%;
        width: 31%px;
        font-size: 2.2em;
        padding: 10px;
    }
}
@media (min-width: 801px) and (max-width: 870px) {
    #slides-numbers .sppb-carousel-text a#btn-1542054633464,
#slides-numbers .sppb-carousel-text a#btn-1542054379255 {
        margin-top: 14%;
        width: 31%;
        font-size: 2.2em;
        padding: 10px;
    }
}
@media (min-width: 871px) and (max-width: 990px) {
    #slides-numbers .sppb-carousel-text a#btn-1542054633464,
#slides-numbers .sppb-carousel-text a#btn-1542054379255 {
        margin-top: 14%;
        width: 31%;
        font-size: 2.5em;
        padding: 12px;
    }
}
@media (min-width: 991px) and (max-width: 1170px) {
    #slides-numbers .sppb-carousel-text a#btn-1542054633464,
#slides-numbers .sppb-carousel-text a#btn-1542054379255 {
        margin-top: 14%;
        width: 31%;
        font-size: 2.8em;
        padding: 12px;
    }
}

@media (min-width: 1171px) and (max-width: 1270px) {
    #slides-numbers .sppb-carousel-text a#btn-1542054633464,
#slides-numbers .sppb-carousel-text a#btn-1542054379255 {
        margin-top: 14%;
        width: 31%;
        font-size: 3em;
        padding: 15px;
    }
}
@media (min-width: 1271px) and (max-width: 1470px) {
    #slides-numbers .sppb-carousel-text a#btn-1542054633464,
#slides-numbers .sppb-carousel-text a#btn-1542054379255 {
        margin-top: 14%;
        width: 31%;
        font-size: 3em;
        padding: 15px;
    }
}
@media (min-width: 1471px) and (max-width: 1710px) {
    #slides-numbers .sppb-carousel-text a#btn-1542054633464,
#slides-numbers .sppb-carousel-text a#btn-1542054379255 {
        margin-top: 14%;
        width: 31%;
        font-size: 3em;
        padding: 15px;
    }
}
@media (min-width: 1711px) {
    #slides-numbers .sppb-carousel-text a#btn-1542054633464,
#slides-numbers .sppb-carousel-text a#btn-1542054379255  {
        margin-top: 14%;
        width: 31%;
        font-size: 3em;
        padding: 15px;
    }
}



/* =============================================
        Colections Stats

   Anna Dolma Alonso
   20 Octubre 2017

   Estadisticas de las colecciones.
 =============================================== */
#collections-stats .quick-btn {
    background-color: white;
}


/* ============================================= 
              		Colecciones

   Anna Dolma Alonso
   14 Julio 2017

 =============================================== */
.curator img {
    border-radius: 50%;
    width: 85px;
}
.curator .sppb-addon-text {
    float: right;
    padding: 15px 20px;
}
#collection-tabs, #other-institutions-tabs {
    border: none;
    padding-top: 0;
}
#collection-tabs {
    padding-bottom: 50px;
}
#collection-links .sppb-addon-content, #institution-links .sppb-addon-content{
    padding-top: 5px;
}
#collection-links .sppb-btn, #institution-links .sppb-btn {
    text-align: left;
    padding: 5px 15px;
    font-size: 1.3em;
    line-height: 23px;
    background-color: rgba(204, 208, 227, 1);
    color: rgba(122,122,176,1);
    font-weight: 600;
    width: 100%
}
#collection-links .sppb-btn:focus {
    box-shadow: none;
}

@media (max-width: 480px) {
    #institution-links .sppb-btn {
        width: 80%;
    }
    #institution-links .sppb-btn:not(:last-child) {
        border-bottom: solid 1px rgba(122,122,176,0.5);
    }

    #collection-links .sppb-addon-content {
        margin-right: 5px !important;
        margin-bottom: 2px !important;
    }
    #collection-links .sppb-btn {
        width: 100%;
        margin: 1px 5px !important;
        border-bottom: none !important;
    }
    #collection-links .sppb-btn:first-child {
        border-top-right-radius: 40px;
    }
    #collection-links .sppb-btn.active {
        color: rgba(245, 246, 251, 1);
        background-color: rgba(122,122,176,1);
    }
}
@media (min-width: 481px) and (max-width: 768px) {
    #collection-links .sppb-addon-content {
        margin-right: 5px !important;
        margin-bottom: 2px !important;
    }
    #institution-links .sppb-btn {
        width: 80%;
    }
    #collection-links .sppb-btn {
        width: 100%;
        margin: 1px 5px !important;
        border-bottom: none !important;
    }
    #collection-links .sppb-btn:first-child {
        border-top-right-radius: 40px;
    }
    #collection-links .sppb-btn.active {
        color: rgba(245, 246, 251, 1);
        background-color: rgba(122,122,176,1);
    }
    #institution-links .sppb-btn:not(:last-child) {
        border-bottom: solid 1px rgba(122,122,176,0.5);
    }
}
@media (min-width: 769px) {
    #collection-links .sppb-addon-content, #institution-links .sppb-addon-content {
        display: flex;
        justify-content: center;
        text-align: center;
    }
    #collection-links .sppb-btn, #institution-links .sppb-btn  {
        margin: auto;
    }

    #collection-links .sppb-btn {
        border-top-right-radius: 4px;
        border-top-left-radius: 4px;
        border: 1px solid rgba(122, 122, 176, 0.3);
        border-bottom: 1px solid #bebfbf;
    }
    #collection-links .sppb-btn.active {
        /* background-color: rgba(245, 246, 251, 1); */
        background-color: rgb(122, 122, 176);
        color: white;
        border-bottom: none;
    }
    #collection-tabs .sppb-tab-pane.active {
        /* border: solid 1px rgba(122, 122, 176, 0.3);
        border-top: none; */
        border: solid 1px #7a7ab073;
        border-top: solid 10px #7a7ab0;
        background: white;
        border-bottom-right-radius: 2px;
        border-bottom-left-radius: 2px;
    }
    #collection-tabs .sppb-tab-pane.active section {
        background: white !important;
    }
}


#collection-links .sppb-btn:active {
    box-shadow: none;
}



/* ============================================= 
              		Contactos

   Anna Dolma Alonso
   27 Julio 2017

 =============================================== */

.contact-position p {
	font-size: 1.5em;
}
.sppb-addon-articles {
    margin-bottom: 10px !important;
    display: flex;
    flex-wrap: wrap;
}
.contact .thumbnail.pull-right {
  	margin-left: 30px;
}
@media (min-width: 1200px) {
    .contact .thumbnail.pull-right {
        max-width: 600px;
    }
}
.contact .contact-form {
  	clear: both;
}
.contact .tags {
  margin-bottom: 15px;
}
.contact .page-header {
    margin-top: 10px !important;
}

form#contact-form {
    box-shadow: none;
    border: none;
    margin-top: 50px;
}

@media (min-width: 768px) {
    form#contact-form .controls input,
    form#contact-form .controls textarea {
        width: 80%;
    }
    form#contact-form .controls textarea {
        min-height: 200px;
    }
}



/* ============================================= 
              		Contact us

   Anna Dolma Alonso
   15 Agosto 2017

 =============================================== */
.directions-map .sppb-row {
    border-top: 1px rgba(56, 73, 155, 0.29) solid;
}



/* ============================================= 
              		Subscribe

   Anna Dolma Alonso
   17 Agosto 2017

 =============================================== */
.subscribe-buttons {
  margin-top: 20px;
}
.newsletter-subscribe input {
  width: 70%;
  margin-bottom: 15px;
}


/* =============================================
                 File attachments

   Anna Dolma Alonso
   22 Agosto 2017

 =============================================== */
.file-download, .mail-address {
    padding-left: 20px;
}
.file-download .fa-file-word-o, .file-download .fa-file-pdf-o {
    padding-left: 10px;
}



/* =============================================
                 Images

   Anna Dolma Alonso
   24 Agosto 2017

 =============================================== */
.sppb-addon-image-overlay {
    background-color: rgba(67, 182, 231, 0.5) !important;
}
.image-caption p {
    font-size: 0.9em;
    padding-top: 5px;
}


.sppb-item.sppb-item-has-bg .sppb-carousel-item-inner > div > div,
.sppb-item.sppb-item-has-bg .sppb-carousel-item-inner > div > div a {
    color: rgba(255, 255, 255, 0.95) !important;
    text-align: left;
    margin-top: 10px;
    vertical-align: top;
}



/* =============================================
                 FAQ

   Anna Dolma Alonso
   22 Agosto 2017

 =============================================== */
span.question {
    font-weight: 400;
    font-size: 1.1em;
    line-height: 2.2em;
}


/* =============================================
                 General Assembly

   Anna Dolma Alonso
   28 Agosto 2017

 =============================================== */
div.asamblea-general {
    padding-top: 0;
    margin-bottom: 20px;
}
.asamblea-general ul {
    padding-left: 0;
}
.asamblea-general li {
    list-style: none;
}
.asamblea-general h4, div.checklist h4 {
    padding: 10px;
    color: #ffffff;
}
.asamblea-general div {
    padding: 0 10px 10px 10px;
}
div.asamblea-general.color1, .color1 div.checklist {
    background-color: rgba(67, 182, 231, 0.48);
}
div.asamblea-general.color1 h4, .color1 div.checklist h4 {
    background-color: rgba(67, 182, 231, 0.75);
}
div.asamblea-general.color2, .color2 div.checklist {
    background-color: rgba(205, 92, 92, 0.48);
}
div.asamblea-general.color2 h4, .color2 div.checklist h4 {
    background-color: rgba(205, 92, 92, 0.75);
}
div.asamblea-general.color3, .color3 div.checklist {
    background-color: rgba(56, 73, 155, 0.48);
}
div.asamblea-general.color3 h4, .color3 div.checklist h4 {
    background-color: rgba(56, 73, 155, 0.75);
}
div.asamblea-general.color4, .color4 div.checklist {
    background-color: rgba(164, 164, 164, 0.48);
}
div.asamblea-general.color4 h4, .color4 div.checklist h4 {
    background-color: rgba(164, 164, 164, 0.75);
}
div.asamblea-general.color5, .color5 div.checklist {
    background-color: rgba(143, 188, 143, 0.48);
}
div.asamblea-general.color5 h4, .color5 div.checklist h4 {
    background-color: rgba(143, 188, 143, 0.75);
}

/* =============================================
                 Other institutions

   Anna Dolma Alonso
   19 Septiembre 2017

 =============================================== */
#other-institutions-tabs {
    padding: 0;
}

#other-institutions-tabs div.sppb-person-image {
    text-align: center;
}
#current-agreements table {
    border: 1px solid rgba(91, 107, 167, 0.7);
    padding: 5px;
    width: 100%;
}
#current-agreements table thead {
    background-color: rgba(91, 107, 167, 0.7);
    color: #ffffff;
}
#current-agreements td, #current-agreements th {
    padding: 10px 5px;
}
#current-agreements td {
    border: 1px solid rgba(91, 107, 167, 0.3);
}


/* =============================================
                 Donors

   Anna Dolma Alonso
   30 Noviembre 2017

 =============================================== */
.donors .sppb-column-addons div {
    margin-bottom: 20px;
}
.donors h3 {
    background: rgba(123,136,182,1);
    padding: 8px;
    color: white;
}
.donors table {
    width: 100%;
}
.donors tr {
    border-bottom: solid 1px rgba(123,136,182,1);
}
.donors tr:last-child {
    border-bottom: none;
}
.donors td {
    padding: 2px 0;
}
.donors td:first-child {
    color: rgba(123, 136, 182, 1);
    width: 200px;
}
.donors .individual td:last-child {
    column-count: 4;
}
@media (min-width: 860px) and (max-width: 1090px) {
    .donors .individual td:last-child {
        column-count: 3;
    }
}
@media (min-width: 550px) and (max-width: 879px) {
    .donors .individual td:last-child {
        column-count: 2;
    }
    .donors td:first-child {
        width: 170px;
    }
}
@media (max-width: 549px){
    .donors .individual td:last-child {
        column-count: 1;
    }
    .donors td:first-child {
        width: 150px;
    }
}

table.bank-account td {
    padding: 4px 30px;
}
table.bank-account {
    background: white;
    margin: 10px auto;
}
table.bank-account td:first-child {
    width: 170px;
}

/* =============================================
               Article pages

       Anna Dolma Alonso
       18 Septiembre 2017

=============================================== */
.view-article #sp-main-body .item.item-page {
    border-bottom: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}
.view-article .helix-social-share {
    float: none !important;
    text-align: center;
}
figure.pull-center {
    margin-top: 28px;
    margin-bottom: 28px;
}
.pull-center {
    text-align: center;
}
.pull-center img {
    margin: 15px auto 0px;
}
.pull-center figcaption, p.img_caption {
    font-style: italic;
    padding: 10px 0 15px 0;
    max-width: 80%;
    margin: 0 auto;
    text-align: left;
}
.entry-image div {
    margin: auto;
    text-align: center;
}
.entry-header {
    padding-bottom: 10px;
    border-bottom: 2px solid #38499b;
}

ul.pager.pagenav {
    margin-top: 30px;
    margin-bottom: 50px;
}
article.item.item-page {
    margin-bottom: 0;
}
.no-margin-after-title .sppb-section-title {
    margin-bottom: 10px !important;
}

/* =============================================
                 Publicaciones

   Anna Dolma Alonso
   19 Noviembre 2018

 =============================================== */

/* Galapagos Research Online First */
#online-first #phoca-dl-category-box .pd-category {
    display: initial;
}
#online-first #phoca-dl-category-box .fcd-file-box {
    margin-bottom: 0;
    padding: 0;
}
#online-first #phoca-dl-category-box .pd-filenamebox {
    margin-top: 0;
    margin-bottom: 0;
}
#online-first #phoca-dl-category-box .pd-document16 {
    max-width: 100%;
    font-size: 19px;
    margin-top: 5px;
}
#online-first #phoca-dl-category-box .pd-document16 .pd-float {
    margin: 0 16px;
}
#online-first #phoca-dl-category-box .pd-fdesc {
    max-width: 100%;
}
#online-first #phoca-dl-category-box .pd-buttons {
    display: none;
}
#online-first #phoca-dl-category-box .pd-filesize-txt,
#online-first #phoca-dl-category-box .pd-date-txt,
#online-first #phoca-dl-category-box .pd-fl-m {
    display: none;
}
#online-first div.custom > div:last-child {
    display: none;    /* Hide Powered by */
}

/* =============================================
                 Datazone

   Anna Dolma Alonso
   17 Octubre 2017

 =============================================== */
#colecciones p.collections-link {
    margin: 20px 0;
    text-align: center;
}
#colecciones p.collections-link a.read-more {
    padding: 6px 10px;
    margin: 0 auto;
}
@media (max-width: 480px) {
    #colecciones p.collections-link {
        margin: 20px auto;
        padding: 7px;
        width: 70%;
        background-color: rgba(57, 73, 154, 0.6) !important;;
    }
    #colecciones p.collections-link a.read-more {
        background: none !important;
    }
}

form#specimen-search {
    width: 70%;
    margin: 10px auto;
}
@media (max-width: 991px) {
    .datazone .content-at-the-bottom {
        padding-top: 20px;
    }
}



/* =============================================
                 Checklist

   Anna Dolma Alonso
   20 Marzo 2018

 =============================================== */
#checklists-tabs ul.sppb-nav-lines {
    padding: 0 10px;
    border-color: #4f629e;
}
#checklists-tabs ul.sppb-nav-lines li a {
    font-size: 18px;
    font-weight: 400;
}
#checklists-tabs .sppb-tab-content.sppb-nav-lines-content {
    margin-top: 0;
}
#checklists-tabs .sppb-addon-tab .sppb-tab-pane {
    padding-top: 0;
}
.checklist-supercategory {
    background: #7a88b6;
    width: 100%;
    color: white;
}
#checklists-tabs .sppb-tab-content h3 {
    padding: 5px 10px 15px 15px;
}
div.category-checklists {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
div.category-checklists div.col-lg-6.col-md-6.col-sm-6.col-xs-12 {
    padding-bottom: 20px;
}
div.checklist {
    margin-bottom: 20px;
    padding: 0 0 20px 0;
    height: 100%;
}
div.checklist h4 span {
    font-size: smaller;
    color: rgba(255, 255, 255, 0.60);
}
div.checklist p {
    padding: 0 20px;
    color: #333 !important;
}
div.checklist table {
    width: 90%;
    margin: 0 auto;
}
div.checklist td {
    padding: 0 5px 0 20px;
}
div.checklist .fa-file-o, div.checklist .fa-file-pdf-o {
    padding-left: 10px;
}
div.checklist a {
    font-weight: 600;
}
div.checklist a:hover {
    text-decoration: underline;
}





/* =============================================
                 Page content

   Anna Dolma Alonso
   13 Septiembre 2017

 =============================================== */
#related-links .sppb-container-inner .sppb-col-md-12 {
    width: 100%;
}
.social-icons-horizontal {
    text-align: center;
}
.social-icons-horizontal a {
    padding: 0 5px;
}
a.external-link, article a, .sppb-addon-content p a,
.sppb-addon-content ul a, .project-display a {
    font-weight: 600;
}
.sppb-addon-content p a:hover, article a:hover,
.sppb-addon-content ul a:hover {
    text-decoration: underline;
}
a.external-link:after {
    content: "\f08e";
    font-family: FontAwesome;
    padding-left: 5px;
    padding-right: 5px;
    display: inline-block;
}
.project-partners a.external-link:after,
.project-donors a.external-link:after {
    content: none;
    padding-left: 0;
    padding-right: 0;
}

a.external-link:hover:after {
    text-decoration: none;
}
.article-info a {
    font-weight: normal;
}
.bigger-text {
    font-size: 1.4em;
}
blockquote span {
    font-style: normal;
}
#sp-page-builder .sppb-section-title {
    margin-bottom: 25px;
}
a.read-more, .pagenav a {
    color: #ffffff !important;
    background: #39499B !important;
    font-weight: 400 !important;
    border-radius: 5px !important;
    text-decoration: none !important;
}
a.read-more:hover, .pagenav a:hover {
    background: rgb(57 73 155 / 84%) !important;
}
a.highlighted-read-more {
    color: #ffffff !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    background-color: rgba(255,141,0,0.9) !important;
    padding: 8px;
}
.sppb-article-info-wrap {
    padding-top: 15px;
}
.sppb-addon-article h3 {
    font-size: 1.6em;
}
.sppb-article-introtext h3 {
    font-size: 1.17em;
}
.sppb-addon-article a.read-more {
    background: rgba(57, 73, 154, 0.6);
    padding: 10px;
    float: right;
    margin-top: 10px;
    margin-bottom: 20px;
}
.sppb-addon-article a.read-more i {
    padding-left: 10px;
}
.content-at-the-bottom {
    align-self: flex-end;
}
.container b, .container strong {
    font-weight: 600;
}
.custompaypal form {
    display: flex;
    align-items: center;
}
.custompaypal form input#amountfield0 {
    width: 65px !important;
    margin-right: 10px;
    border-color: #ddd;
}

.custompaypal form input:last-of-type {
    margin-left: 40px;
}

.donate-form {
    text-align: center;
}


.blue-box .sppb-col-sm-6.sppb-order-md-1 {
  margin-left: -1px;
  margin-top: -1px;
}
.blue-box .sppb-col-sm-6.sppb-order-md-2 {
  margin-left: -1px;
  margin-top: -1px;
}

.centered-social-column > div.sppb-column-addons {
    display: flex;
    justify-content: center;
    gap: 40px;
} 

.youtube-embed-video {
  width: 70%;
  aspect-ratio: 16 / 9;
}


