@media (min-width: 576px) {
  .container {
    max-width: 90%;
  }
  .w10,
  .w20,
  .w30,
  .w40,
  .w50,
  .w60,
  .w70,
  .w80,
  .w90 {
    flex-basis: calc(50% - 5px);
  }
}

@media (max-width: 576px) {
  .layout--threecol-section, .layout--twocol-section { flex-direction: column; }
  #flexslider-1 .views-field.views-field-field-titulo { display: none; }
}
@media (max-width: 780px) {
   /* Header -> Header main */
.homepage .header,
.homepage .header-main {
  position: relative;
  background: #132966;
}
}
@media (min-width: 781px) {
  .container { max-width: 90%; }
  /* Header */
  .header-top { padding: 1rem 0; }
  .header-top-container {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
            gap: 1rem;
  }
  .header-top-left { margin-bottom: 0; }
  /* Header -> Search form */
  .search-box-content .block-title { display: block; }
  .search-box-content input[type="submit"] {
    display: block;
    margin: 0 auto;
    padding: 10px 30px;
    border-radius: 50px;
  }
  /* Main */
  .main-container {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
  #main {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
  #sidebar-left {
    -webkit-box-ordinal-group: 1;
        -ms-flex-order: 0;
            order: 0;
  }
  #sidebar-right {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
  }
  /* Left sidebar + main */
  .sidebar-left #main {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 70%;
            flex: 1 1 70%;
  }
  /* Right sidebar + main */
  .sidebar-right #main {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 70%;
            flex: 1 1 70%;
  }
  /* Both sidebar + main */
  .two-sidebar #main {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 40%;
            flex: 1 1 40%;
  }
  /* Sidebar
  --------------------------------*/
  #sidebar-left {
    -webkit-box-flex: 0;
        -ms-flex: 0 1 30%;
            flex: 0 1 30%;
    padding: 0 1.6rem 0 0;
  }
  #sidebar-right {
	-webkit-box-flex: 0;
    -ms-flex: 0 1 30%;
    flex: 0 1 30%;
}

  #sidebar-right .block {
    padding: 1.6rem;
    margin-left: 24px;
    background: #eee;
}
  }
  
  /* Footer */
  .footer-container {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
  .footer-bottom-blocks-container {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }

  /*.footer-bottom-container {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }*/
  .footer-bottom-last {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .copyright {
    margin-bottom: 0;
  }
  /* shortcodes -> content width */
  .width30 {
    width: 30%;
  }
  .width40 {
    width: 40%;
  }
  .width50 {
    width: 50%;
  }
  .width60 {
    width: 60%;
  }
  .width70 {
    width: 70%;
  }
  .width80 {
    width: 80%;
  }
  .width90 {
    width: 90%;
  }
  /* shortcodes -> responsive column */
  .w10 {
    flex-basis: calc(10% - 10px);
  }
  .w20 {
    flex-basis: calc(20% - 10px);
  }
  .w30 {
    flex-basis: calc(30% - 10px);
  }
  .w40 {
    flex-basis: calc(40% - 10px);
  }
  .w50 {
    flex-basis: calc(50% - 10px);
  }
  .w60 {
    flex-basis: calc(60% - 10px);
  }
  .w70 {
    flex-basis: calc(70% - 10px);
  }
  .w80 {
    flex-basis: calc(80% - 10px);
  }
  .w90 {
    flex-basis: calc(90% - 10px);
  }
  /* Shortcodes -> responsive view */
  .view-in-mobile {
    display: none;
  }
  .view-in-desktop {
    display: block;
  }
  
/* Sin sidebar */
.sinsidebar .main-wrapper .container{
	width: 70%;
	margin: auto;
}

/* Flexcontent 3 */
.flexcontent-3 {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	gap: 12px;
	background-color: #fff;
}
.itemcontent {
	padding: 16px;
	border: 1px solid #ccc;
	border-radius: 12px;
}
.itemcontent-1 {
	flex-basis: 46.5%;
}
.itemcontent-2 {
	flex-basis: 46.5%;
}
.itemcontent-3 {
	flex-basis: 100%;
}
}

@media (min-width: 992px) {
  .container { max-width: 1168px; }
  th { padding: 10px; }
  td { padding: 5px 10px; }
  /* Header */
  .menu-wrap {
    position: relative;
    background-color: transparent;
    width: 100%;
    max-width: 100%;
    float: right;
    margin-left: 0;
    padding: 0;
    -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
            transform: translateX(0);
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
  }
  .menu-wrap .menu {
    display: block;
    color: var(--primary);
  }
  .menu-wrap .menu a {
    color: var(--secondary);
  }
  .menu-wrap .menu a:hover {
    color: var(--primary);
  }
  .menu-wrap ul.menu li {
    display: inline-block;
  }
  .menu-wrap ul.menu li a {
    border: none;
  }
  .menu-wrap ul.menu > li {
    display: inline-block;
    margin-left: 20px;
  }
  .menu-wrap ul.menu > li > a {
    padding: 24px 1px;
  }
  .menu-wrap ul.menu ul.submenu {
    position: absolute;
    display: none;
    /*top: 35px;*/
    opacity: 0;
    background-color: var(--light);
  }
  .menu-wrap ul.menu ul.submenu li {
    display: inline-block;
    width: 200px;
    text-align: left;
    /*border-bottom: 1px solid #222222;*/
  }
  .menu-wrap ul.menu ul.submenu li a {
    display: inline-block;
    padding: 16px 8px 16px 8px;
	color: #333;
  }
  .menu-wrap ul.menu ul.submenu li a:hover { color: var(--primary); }
  li.expanded:hover ul.submenu,
  li.collapsed:hover ul.submenu,
  li.expanded:active ul.submenu {
    display: block;
    -webkit-animation: slideUp 0.5s forwards;
    animation: slideUp 0.5s forwards;
  }
  .menu-wrap .menu li span.dropdown-arrow { position: relative; }
  /* Third level drop down */
  .menu-wrap ul.menu ul.submenu ul.submenu {
    position: absolute;
    display: none;
    width: 160px;
    top: 0;
    left: 160px;
    padding: 0;
    opacity: 0;
  }
  ul.submenu li.expanded:hover ul.submenu,
  ul.submenu li.collapsed:hover ul.submenu {
    display: block;
    -webkit-animation: slideUp 0.5s forwards;
    animation: slideUp 0.5s forwards;
  }
  .menu-wrap .menu ul.submenu li.expanded::after { right: 10px; }
  .mobile-menu,
  .close-mobile-menu { display: none; }
}
@media (min-width: 1170px) {
  .container { max-width: 1170px; }
}

/* PINWRAPPER */
@media screen and ( max-width:30em) {
  .pinwrapper { flex: 0 1 calc(100% - 1em); }
}
@media screen and ( min-width:48em) {
  .pinwrapper { flex: 0 1 calc(50% - 1em); }
}
@media screen and ( min-width:62em) {
  .pinwrapper { flex: 0 1 calc(25% - 1em); }
}







/* MEGAMENU */

/*

@media (max-width: 1200px) {
    .region-we-mega-menu {
        background-color: #343a40;
        padding: 13px 15px;
        margin-bottom: 20px;
        border-radius: 3px;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex
;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: start;
        -webkit-justify-content: flex-start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }
}

@media (max-width: 1200px) {
    .navbar-toggle {
        z-index: 20;
        background: 0 0;
        border: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
        display: inline-block;
        float: none;
        padding: 0;
        margin: 0;
        cursor: pointer;
    }
}

@media (max-width: 1200px) {
    .navbar-we-mega-menu.navbar {
        background: #333;
        bottom: 0;
        display: none;
        height: 100%;
        overflow-y: auto;
        position: fixed;
        right: -250px;
        width: 250px;
        top: 0;
        z-index: 1000;
        transition: all .5s ease-in-out;
        -webkit-transition: all .5s ease-in-out;
        -moz-transition: all .5s ease-in-out;
        -o-transition: all .5s ease-in-out;
        border-radius: 0;
        border: 0;
    }
}

@media (max-width: 1200px) {
    .navbar-we-mega-menu.navbar .container, .navbar-we-mega-menu.navbar .container-fluid {
        padding: 0;
        position: static;
        width: auto;
    }
}

@media (max-width: 1200px) {
    .navbar-we-mega-menu.navbar.we-mobile-megamenu-active {
        right: 0;
        display: block;
        -webkit-animation-fill-mode: both;
        animation-fill-mode: both;
        -webkit-animation-duration: .5s;
        animation-duration: .5s;
        -webkit-animation-timing-function: ease-in-out;
        animation-timing-function: ease-in-out;
        -webkit-animation-name: slideInRight;
        animation-name: slideInRight;
    }
}

@media (max-width: 1200px) {
    .navbar-we-mega-menu.navbar .we-mega-menu-ul>li>.we-megamenu-nolink, .navbar-we-mega-menu.navbar .we-mega-menu-ul>li>a {
        padding-left: 15px;
        padding-right: 15px;
        border-top: 1px solid rgba(0, 0, 0, .3);
        text-shadow: 0 1px 0 rgba(0, 0, 0, .5);
        -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset;
        box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset;
    }
}

@media (max-width: 1200px) {
    .navbar-we-mega-menu.navbar .nav-tabs>li>.we-megamenu-nolink, .navbar-we-mega-menu.navbar .nav-tabs>li>a {
        border-radius: 0;
        margin-right: 0;
        border: 0;
        position: relative;
    }
}

@media (max-width: 1200px) {
    .navbar-we-mega-menu.navbar ul .we-megamenu-nolink, .navbar-we-mega-menu.navbar ul a {
        display: block;
        color: #ccc;
        padding: 10px 0;
        text-decoration: none;
    }
}

@media (min-width: 1200px) {
    .we-mega-menu-ul>.we-mega-menu-li>a, .we-mega-menu-ul>.we-mega-menu-li>span {
        padding: 1.125rem 1.43rem;
    }
}


@media (min-width: 1200px) {
    .we-mega-menu-ul>.we-mega-menu-li>a, .we-mega-menu-ul>.we-mega-menu-li>span {
        background-color: #eff0f1;
        border: 0;
        border-radius: 0;
        margin-right: 0;
        color: #666;
        font-size: .8125rem;
        font-family: Quicksand, sans-serif;
        font-weight: 700;
        text-transform: uppercase;
        padding: 1.125rem 1.5625rem;
    }
}




@media (min-width: 1200px) {
    .we-mega-menu-ul>.we-mega-menu-li .we-megamenu-nolink, .we-mega-menu-ul>.we-mega-menu-li>a {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex
;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-flex: 1;
        -webkit-flex: 1 1 auto;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
    }
}


@media (min-width: 1200px) {
    .we-mega-menu-ul .we-mega-menu-li {
        border: 0;
        padding: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
        position: static;
    }
}


@media (min-width: 1200px) {
    .navbar-we-mega-menu {
        background-color: #eff0f1;
        border: 0;
        padding: 0;
        border-radius: 0;
        min-height: inherit;
    }
}



*/

