/*
Theme Name: IMEDEA
Description: Custom theme for IMEDEA - UIB
Author: Kamalyon
Author URI: https://www.kamalyon.com/
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/

/* Logo Excelencia Maetzu */
.logo-excelencia {
    position: absolute; 
    margin: -50px 150px;
}
.logo-excelencia img {
    width: auto;
    height: 55px;
}
header .logo-excelencia.logo-dark {
    display: inline-block;
}
header .logo-excelencia.logo-light {
    display: none;
}
header.is_stuck .logo-excelencia.logo-dark {
    display: none;
}
header.is_stuck .logo-excelencia.logo-light {
    display: inline-block;
}
#masthead:not(.menu-transparent) .logo-excelencia.logo-light {
    display: inline-block;
}

@media screen and (max-width: 959px) { /* Se oculta el logo cuando la pantalla se hace pequeña */
    .logo-excelencia.logo-light {
        display: inline-block !important;
    }
    .logo-excelencia.logo-light img {
        width: auto !important;
    }
}
@media screen and (max-width: 1180px) { /* Se oculta el logo cuando la pantalla se hace pequeña */
    .logo-excelencia {
        display: none !important;
    }
}
/* Logos top CSIC y UIB */
.logotop-csic,
.logotop-uib {
    height: 22px;
    width: auto;
    display: inline-block;
}

/* Cards */
.custom-column .uncell, .custom-image, .custom-gallery .t-inside, .custom-row {
    overflow: hidden;
    border-radius: 12px 12px 12px 12px;
}

.custom-column .uncell, .custom-image, .custom-gallery .t-inside, .custom-row {
    box-shadow: 0px 30px 60px rgb(0 0 0 / 10%);
}

.mega-menu-inner,
.drop-menu {
    box-shadow: 0px 30px 60px rgb(0 0 0 / 10%);
    overflow: hidden;
    border-radius: 12px 12px 12px 12px;
}

.mega-menu ul.mega-menu-inner > li > a {
    color: #7bc46a !important;
    font-weight: bolder !important;
}

.uncode-counter .h2 {
	font-size: 60px;
	font-weight: 700;
	font-family: 'Aleo';
}
.uncode-counter .counter-suffix {
	font-size: 50%;
	font-family: 'DM Sans';
	display: block;
}
.uncode-counter .counter-prefix {
    position: absolute;
    margin-left: -35px;
}

.social-menu-item {
    height: 100%;
    vertical-align: middle;
    padding: 0px 0px;
    font-size: 18px;
}

.social-menu-link {
    font-weight: 700;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: black
}

.icon-menu-icon { 
    font-weight: 700;
}

.icon-menu-icon:hover {
    color: #1066b1;
}

/* Megamenu */
ul.mega-menu-inner.in-mega.mega-menu-two.open-animated{
    right: 0 !important;
    width: unset !important;
    min-width: 90% !important;
    left: unset !important;
}

/*Tabs element*/
.nav-tabs > li > a span {
    white-space: normal!important;
}


.vc_tta-tabs-container.vertical-tab-menu {
    background-color:#f7f7f7;
    padding: 10px 0px 10px 20px;
}

.vertical-tab-contents .tab-content.vertical {
    padding: 10px 0px 10px 20px;
    border-color: transparent ;
}

ul.nav.nav-tabs.wpb_tabs_nav.ui-tabs-nav.vc_tta-tabs-list.tabs-left.text-center {
    border-color: transparent;
}


/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {}

/* Large devices (laptops/desktops, 900px and up) */
@media only screen and (min-width: 960px) {
    #main-logo .logo-image.main-logo{
        height: 25px !important;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    #main-logo .logo-image.main-logo{
        height: 29px !important;
    }
}

/* Large devices (laptops/desktops, 1060px and up) */
@media only screen and (min-width: 1060px) {
    #main-logo .logo-image.main-logo{
        height: 38px !important;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    #main-logo .logo-image.main-logo{
        height: 45px !important;
    }
}

