/*BIG SCREENS*/
@media (max-width: 2560px) and (min-width: 1900px){
  .navbar-brand img {
    max-width: 260px;
  }

  .megaTitle {
    padding-bottom: 22px;
  }
}

@media (max-width: 1680px) and (min-width: 1200px){
  .megaTitle {
    padding-bottom: 24px;
  }

  .megaTitle .subChar {
    margin-left: 20px;
  }

  .megaTitle .subChar.J {
    margin-left: 35px;
  }
}

/*IPAD LANDSCAPE */
@media (max-width: 1024px) and (min-width: 769px){
  body,
  html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
  }

  #breadcrump {
    margin-top: 110px;
  }

  #calendarioHomeHolder {
    padding-left: 60px;
    width: 240px;
  }

  #calendarioResultHolder {
    position: absolute;
    left: 160%;
    top: 5%;
  }

  #wrapper-footer .col-md-5f:nth-child(1) {
    width: 18%;
  }

  .menu-footer-columna-3-container,
  .menu-footer-columna-2-container,
  .menu-footer-columna-1-container {
    display: inherit !important;
  }

  .dropdown-menu {
    display: inherit;
  }

  .dropdown-submenu .dropdown-menu {
    display: none;
  }
}


@media (max-width: 991px) and (min-width: 769px) {

  #topMenu .col-md-9 { width: 60%; }
  #topMenu .col-md-3 { width: 40%; }
  #top-menu1 li a {
    font-size: 12px;
    padding-left: 25px;
    bottom: -1px;
  }

  .lupaTopMenu {
    margin-right: 0;
    background-size: 10px 15px;
    background-position: 0 7px;
    padding-left: 20px;
  }

  .lupaTopMenu:hover {
    background-size: 10px 15px;
    background-position: 0 7px;
  }

  .lupaTopMenu input {
    width: 80px;
    font-size: 12px;
  }

  #top-menu1 li.sociosTopMenu {
    background-size: 13px 15px;
    background-position: 0 8px;
    padding-right: 0;
    margin-right: 30px;
    font-size: 12px;
  }

  #top-menu1 li.sociosTopMenu:hover {
    background-size: 13px 15px;
    background-position: 0 8px;
    padding-right: 0;
    margin-right: 30px;
    font-size: 12px;
  }

  #top-menu1 li.sociosTopMenu::after {
    display: none;
  }

  #top-menu1 li.hazteSocioTopMenu {
    background-size: 13px 15px;
    background-position: 0 7px;
  }

  #top-menu1 li.hazteSocioTopMenu:hover {
    background-size: 13px 15px;
    background-position: 0 7px;
  }

  #top-menu1 li.hazteSocioTopMenu a {
    padding-left: 25px;
  }

  #topMenu .social::before {
    left: 60px;
  }

  #topMenu .social a {
    background-size: 18px 18px !important;
  }

  #topMenu .social::before {
    left: 15px;
  }
}


/*IPAD PORTRAIT*/
@media (max-width: 768px) and (min-width: 415px){
  .fixed {
    top: 0;
  }

  body,
  html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
  }

  #topMenu .col-md-9 {
    width: 60%;
  }

  #topMenu .col-md-3 {
    width: 40%;
  }

  #top-menu1 li a {
    font-size: 12px;
    padding-left: 25px;
    bottom: -1px;
  }

  .lupaTopMenu {
    margin-right: 0;
    margin-left: 5%;
    background-size: 10px 15px;
    background-position: 0 7px;
    padding-left: 20px;
  }

  .lupaTopMenu:hover {
    background-size: 10px 15px;
    background-position: 0 7px;
  }

  .lupaTopMenu input {
    width: 80px;
    font-size: 12px;
  }

  #top-menu1 li.sociosTopMenu {
    background-size: 13px 15px;
    background-position: 0 8px;
    padding-right: 0;
    margin-right: 30px;
    font-size: 12px;
  }

  #top-menu1 li.sociosTopMenu:hover {
    background-size: 13px 15px;
    background-position: 0 8px;
    padding-right: 0;
    margin-right: 30px;
    font-size: 12px;
  }

  #top-menu1 li.sociosTopMenu::after {
    display: none;
  }

  #top-menu1 li.hazteSocioTopMenu {
    background-size: 13px 15px;
    background-position: 0 7px;
  }

  #top-menu1 li.hazteSocioTopMenu:hover {
    background-size: 13px 15px;
    background-position: 0 7px;
  }

  #top-menu1 li.hazteSocioTopMenu a {
    padding-left: 25px;
  }

  #topMenu .social::before {
    left: 60px;
  }

  #topMenu .social a {
    background-size: 18px 18px !important;
  }

  /*FOOTER*/
  #wrapper-footer {
    padding-top: 50px;
  }

  #wrapper-footer .col-md-5f {
    width: 100%;
    border: 0;
  }

  #wrapper-footer .col-md-5f:nth-child(1) {
    width: 100%;
    text-align: center;
  }

  #wrapper-footer .dimadFooter {
    min-width: 25%;
    max-width: 25%;
    margin: 0 auto;
  }

  #wrapper-footer .social {
    display: inline-block;
    margin: 0 auto;
    width: auto;
  }

  #wrapper-footer .col-md-5f h3 {
    font-size: 15px;
    padding-top: 30px;
    border-bottom: 1px solid #444;
  }

  #wrapper-footer .col-md-5f h3::after {
    content: '▼';
    font-size: 5px;
    vertical-align: middle;
    padding-left: 5px;
    position: absolute;
    right: 30px;
  }

  #wrapper-footer .col-md-5f h3.active::after {
    content: '▲';
    font-size: 5px;
    vertical-align: middle;
    padding-left: 5px;
    position: absolute;
    right: 30px;
  }

  #wrapper-footer2 {
    text-align: center;
    padding-left: 35px;
    padding-right: 35px;
    font-size: 12px;
  }

  #wrapper-footer2 img {
    margin: 0 auto;
    display: block;
    padding-top: 10px;
    padding-bottom: 10px;
    height: 50px;
  }

  #wrapper-footer2 .col-md-4 {
    text-align: center !important;
    padding-top: 15px;
    padding-bottom: 15px;
  }


  /*HEADER*/
  #wrapper-navbar .navbar {
    background-color: #fff !important;
    /*padding-top: 0;*/
    border-bottom: 1px solid #f0f0f0;
    margin-top: 0;
    padding-top: 6px;
  }

  #activeMenu,
  #activeMenu.black {
    background: url(../img/hamb-negro.png) no-repeat;
    background-size: 25px 18px;
    background-position: 0 7px;
    height: 25px;
    margin-bottom: 0;
    margin-top: 10px;
    width: 25px;
    margin-right: -15px;
  }

  .fixed #activeMenu {
    background: url(../img/hamb-negro.png) no-repeat;
    background-size: 25px 18px;
    background-position: 0 7px;
    height: 25px;
    margin-bottom: 0;
    margin-top: 10px;
    width: 25px;
    margin-right: -15px;
  }

  #wrapper-navbar .navbar .navbar-brand {
    display: block;
    background: url(../img/logo-dimad-negro.png) no-repeat;
    background-size: 120px 41px;
    width: 120px;
    height: 41px;
  }
  #wrapper-navbar .navbar .navbar-brand img {
    display: none;
  }

  #breadcrump {
    display: none;
  }

  #activeAgenda {
    display: block;
    width: 37px;
    height: 45px;
    margin-left: -55px;
    background-size: 37px;
    background-position: 0 16px;
  }

  #wrapper-navbar .col-md-11 {
    width: 91%;
  }

  /*AGENDA*/
  #agendaDesplegada .col-md-10 {
    padding: 15px !important;
    width: 80%;
  }

  #agendaDesplegada .col-md-2 {
    width: 20%;
  }

  #agendaDesplegada .navbar-brand img {
    max-width: 120px;
  }

  #calendarioAgenda {
    margin-top: 0;
  }

  #calendarioAgenda .categorias,
  #calendarioAgenda .calendarHeader,
  #calendarioAgenda .col7.empty {
    display: none;
  }

  #calendarioAgenda .col7 {
    width: 100%;
  }

  #calendarioAgenda .tituloMes {
    font-size: 20px;
  }

  #calendarioAgenda .previous,
  #calendarioAgenda .next {
    background-size: 8px 15px;
    width: 20px;
    height: 40px;
    background-position: 0 6px;
  }

  #calendarioAgenda .previous {
    margin-left: 15px;
  }

  .currentDay::after {
    width: 12.5%;
  }

    /*HOME + SLIDER*/
  #calendarioHomeHolder {
    padding-left: 60px;
    width: 240px;
  }

  #n2-ss-2-align {
    margin-top: 55px;
  }

  .n2-ss-thumb-image {
    height: 50px !important;
  }

  .n2-style-0d7e6147d938756e488febb9fea88b5d-dot {
    height: 60px !important;
  }

  #n2-ss-2,
  .n2-ss-slider-1,
  .n2-ss-slide {
    height: 400px !important;
  }

  .nextend-thumbnail-inner {
    display: none;
  }

  .n2-padding {
    padding: 0 !important;
  }

  .n2-ss-slide-background-image {
    margin: 0 !important;
    height: 100% !important;
    width: auto !important;
  }

  .n2-ss-layers-container {
    margin-top: 25% !important;
  }

  .n2-ss-layer {
    left: 60px !important;
    position: relative !important;
    text-align: left !important;
    width: 83% !important;
    top: 0 !important;
  }

  .n2-ss-layer h2,
  .n2-ss-layer h2 a {
    text-align: left !important;
  }

  .n2-ss-layers-container .n2-ss-layer:nth-child(1) {
    font-size: 6px !important;
    margin-top: 30px;
  }

  .n2-ss-layers-container .n2-ss-layer:nth-child(2) {
    font-size: 7px !important;
  }

  .n2-ss-layers-container .n2-ss-layer:nth-child(2) h2 a {
    line-height: 20px !important;
  }

  .n2-ss-layers-container .n2-ss-layer:nth-child(3) {
    font-size: 9px !important;
  }

  .nextend-arrow-previous,
  .nextend-arrow-animated-fade {
    top: 50% !important;
  }

    /*PAGE*/
  .headerImagePost.pageHeader {
    height: 15px !important;
  }

  .col-md-6.infoHeader {
    margin-right: 15px;
    margin-left: 15px;
  }

  .notFoundImage,
  .searchResults img {
    margin-bottom: 15px;
  }

  .infoHeader {
    margin-left: 90px;
    margin-right: 90px;
  }

  #single-wrapper .row .col-md-6 {
    margin-left: 100px;
    width: 75%;
  }

  /*MENU*/
  #main-menu {
    margin-top: 0;
  }

  #menuDesplegado,
  #agendaDesplegada {
    padding-top: 0;
  }

  #menuDesplegado {
    position: fixed !important;
    top: 0;
    padding-bottom: 0;
  }

  #menuDesplegado::after {
    content: '';
    background: rgba(0, 0, 0, .5);
    width: 100%;
    height: 100%;
  }

  #menuDesplegado.hidden {
    top: -1000%;
  }

  #menuDesplegado .navbar-brand img {
    max-width: 120px;
  }

  #menuDesplegado .col-md-10 {
    padding: 15px !important;
    width: 80%;
  }

  #menuDesplegado .col-md-2 {
    width: 20%;
  }

  #closeMainMenu,
  #closeMainAgenda {
    background-size: 18px;
    background-position: 0;
  }

  #wrapper-navbar.fixed .navbar {
    margin-top: 28px;
  }

  #main-menu li a.dropdown-toggle::after {
    content: '▼';
    display: inline-block;
    position: absolute;
    border: 0;
    font-size: 5px;
    margin-top: 6px;
    margin-left: 5px;
  }

  #main-menu li.show a.dropdown-toggle::after {
    content: '▲';
  }

  #main-menu .col-md-2 {
    width: 48%;
  }

  /*.iniMenu .col-md-3{width:20% !important; max-width: 20% !important;}
  .iniMenu .col-md-6{width:60% !important; max-width:60% !important;}
  .infoHeader{max-width: 70% !important; width: 70% !important; margin-left: -5%;  margin-right: -5%; }*/

}

/*IPHONE 6 PLUS*/
@media (max-width: 414px) {
  .fixed {
    top: 0;
  }
	
  body,
  html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
  }

  /*TOP MENU*/
  #top-menu1 li a {
    font-size: 12px;
    padding-left: 25px;
    bottom: -1px;
  }

  .lupaTopMenu {
    margin-right: 0;
    margin-left: 5%;
    background-size: 10px 15px;
    background-position: 0 7px;
    padding-left: 20px;
  }

  .lupaTopMenu input {
    width: 80px;
    font-size: 12px;
  }

  #top-menu1 li.sociosTopMenu {
    background-size: 13px 15px;
    background-position: 0 8px;
    padding-right: 0;
    margin-right: 30px;
    font-size: 12px;
  }

  #top-menu1 li.sociosTopMenu:hover {
    background-size: 13px 15px;
    background-position: 0 8px;
    padding-right: 0;
    margin-right: 30px;
    font-size: 12px;
  }

  #top-menu1 li.sociosTopMenu::after {
    display:none;
  }

  #top-menu1 li.hazteSocioTopMenu {
    background-size: 13px 15px;
    background-position: 0 7px;
  }

  #top-menu1 li.hazteSocioTopMenu:hover {
    background-size: 13px 15px;
    background-position: 0 7px;
  }

  #top-menu1 li.hazteSocioTopMenu a {
    padding-left: 25px;
  }

  #topMenu .social {
    display: none;
  }

  /*HEADER*/
  #wrapper-navbar .navbar {
    background-color: #fff !important;
    /*padding-top: 0;*/
    border-bottom: 1px solid #f0f0f0;
    margin-top: 0;
    padding-top: 6px;
  }

  #activeMenu,
  #activeMenu.black {
    background: url(../img/hamb-negro.png) no-repeat;
    background-size: 25px 18px;
    background-position: 0 7px;
    height: 25px;
    margin-bottom: 0;
    margin-top: 10px;
    width: 25px;
    margin-right: -15px;
  }

  .fixed #activeMenu {
    background: url(../img/hamb-negro.png) no-repeat;
    background-size: 25px 18px;
    background-position: 0 7px;
    height: 25px;
    margin-bottom: 0;
    margin-top: 10px;
    width: 25px;
    margin-right: -15px;
  }

  #wrapper-navbar .navbar .navbar-brand {
    background: url(../img/logo-dimad-negro.png) no-repeat;
    background-size: 120px 41px;
    width: 120px;
    height: 41px;
    display: block;
  }

  #wrapper-navbar .navbar .navbar-brand img {
    display: none;
  }

  #breadcrump {
    display: none;
  }

  #activeAgenda {
    display: block;
    width: 37px;
    height: 45px;
    margin-left: -55px;
    background-size: 37px;
    background-position: 0 16px;
  }

  /*FOOTER*/
  #wrapper-footer {
    padding-top: 50px;
  }

  #wrapper-footer .col-md-5f {
    width: 100%;
    border: 0;
  }
  #wrapper-footer .col-md-5f:nth-child(1) {
    width: 100%;
    text-align: center;
  }

  #wrapper-footer .dimadFooter {
    min-width: 40%;
    max-width: 40%;
    margin: 0 auto;
  }

  #wrapper-footer .social {
    display: inline-block;
    margin: 0 auto;
    width: auto;
  }

  #wrapper-footer .col-md-5f h3 {
    font-size: 15px;
    padding-top: 30px;
    border-bottom: 1px solid #444;
  }

  #wrapper-footer .col-md-5f h3::after {
    content: '▼';
    font-size: 5px;
    vertical-align: middle;
    padding-left: 5px;
    position: absolute;
    right: 30px;
  }

  #wrapper-footer .col-md-5f h3.active::after {
    content: '▲';
    font-size: 5px;
    vertical-align: middle;
    padding-left: 5px;
    position: absolute;
    right: 30px;
  }

  #wrapper-footer2 {
    text-align: center;
    padding-left: 35px;
    padding-right: 35px;
    font-size: 12px;
  }

  #wrapper-footer2 img {
    margin: 0 auto;
    display: block;
    padding-top: 10px;
    padding-bottom: 10px;
    height: 50px;
  }

  #wrapper-footer2 .col-md-4 {
    text-align: center !important;
    padding-top: 15px;
    padding-bottom: 15px;
  }

  /*MENU*/
  #main-menu {
    margin-top: 0;
  }
  #menuDesplegado,
  #agendaDesplegada {
    padding-top: 0;
  }

  #menuDesplegado {
    position: fixed !important;
    top: 0;
    padding-bottom: 0;
  }

  #menuDesplegado::after {
    content: '';
    background: rgba(0, 0, 0, .5);
    width: 100%;
    height: 100%;
  }

  #menuDesplegado.hidden { top: -1000%; }
  #menuDesplegado .navbar-brand img { max-width: 120px; }
  #menuDesplegado .col-md-10 {
    padding: 15px !important;
    width: 80%;
  }

  #menuDesplegado .col-md-2 { width: 20%; }
  #closeMainMenu,
  #closeMainAgenda {
    background-size: 18px;
    background-position: 0;
  }

  #wrapper-navbar.fixed .navbar {
    margin-top: 28px;
  }

  #main-menu li a.dropdown-toggle::after {
    content: '▼';
    display: inline-block;
    position: absolute;
    border: 0;
    font-size: 5px;
    margin-top: 6px;
    margin-left: 5px;
  }

  #main-menu li.show a.dropdown-toggle::after {
    content: '▲';
  }

  #main-menu .col-md-2 {
    width: 48%;
  }

  /*#main-menu .dropdown-menu{    position: fixed;
    top: 2px;
    margin-left: 39%;
    top: 20%;
    background: white;
    padding: 20px;}*/

  /*AGENDA*/
  #agendaDesplegada .col-md-10 {
    padding: 15px !important;
    width: 80%;
  }

  #agendaDesplegada .col-md-2 {
    width: 20%;
  }

  #agendaDesplegada .navbar-brand img { max-width: 120px; }
  #calendarioAgenda {
    margin-top: 0;
  }

  #calendarioAgenda .categorias,
  #calendarioAgenda .calendarHeader,
  #calendarioAgenda .col7.empty {
    display: none;
  }

  #calendarioAgenda .col7 { width: 100%; }

  #calendarioAgenda .tituloMes { font-size: 20px; }
  #calendarioAgenda .previous,
  #calendarioAgenda .next {
    background-size: 8px 15px;
    width: 20px;
    height: 40px;
    background-position: 0 6px;
  }

  #calendarioAgenda .previous {
    margin-left: 15px;
  }

  .currentDay::after {
    width: 12.5%;
  }

  /**HOME**/
	.col7home {
    -webkit-flex: 0 0 14%;
    max-height:20px;
    height:20px;
    min-height: 20px;
  }

  .calendarHeaderHome .row.row-eq-height{
    max-height:20px;
    height:20px;
    overflow:hidden;
    margin-bottom:0px;
    padding-bottom:0px;
  }
  
  #calendarioHomeHolder{
    margin-top: -25px;
    margin-left: -15px;
    margin-right: 15px;
	}
  
  #calendarioResultHolder .postHolderAgendaHome {
    width: 112%;
    position: relative;
    margin-left: -6%;
	}
  
  #home .cardHome {
    height: 200px;
    min-height: 145px;
    width: 100%;
    margin: 0;
  }

  #home .cardHome .vc_column-inner {
    background-size: cover;
    background-position: center !important;
    padding-top: 0;
    padding-bottom: 0;
    height: 200px;
  }

  #home .right-top,
  #home .left-top,
  #home .right-bottom,
  #home .left-bottom {
    height: 145px;
    padding: 20px;
  }

  #home .cardHome .conContenido a {
    padding: 20px;
    padding-top: 45px;
  }

  #home .cardHome .title {
    font-size: 26px;
    line-height: 35px;
    font-family: 'UniversLTS', 'Open Sans', sans-serif;
  }

  #home .col7home { max-height: 20px; }
  .calendarioHomeHolder .row { display: inherit !important; }

  #calendarioResultHolder {
    margin-top: 0;
    height: auto;
    display: block;
    margin-bottom: 20px;
  }

  #calendarioResultHolder,
  #calendarioResultHolder .postHolderAgendaHome {
    width: 100%;
  }

  /*SLIDER HOME*/
  #n2-ss-2,
  .n2-ss-slider-1,
  .n2-ss-slide {
    height: 400px !important;
  }

  .nextend-thumbnail-inner {
    display: none;
  }

  .n2-padding {
    padding: 0 !important;
  }

  .n2-ss-slide-background-image {
    margin: 0 !important;
    height: 100% !important;
    width: auto !important;
  }

  .n2-ss-layers-container {
    margin-top: 50% !important;
  }

  .n2-ss-layer {
    left: 40px !important;
    position: relative !important;
    text-align: left !important;
    width: 83% !important;
    top: 0 !important;
  }

  .n2-ss-layer h2,
  .n2-ss-layer h2 a {
    text-align: left !important;
  }
  .n2-ss-layers-container .n2-ss-layer:nth-child(1) {
    font-size: 6px !important;
    margin-top: 30px;
  }

  .n2-ss-layers-container .n2-ss-layer:nth-child(2) {
    font-size: 7px !important;
  }

  .n2-ss-layers-container .n2-ss-layer:nth-child(2) h2 a {
    line-height: 20px !important;
  }

  .n2-ss-layers-container .n2-ss-layer:nth-child(3) {
    font-size: 9px !important;
  }

  .nextend-arrow-previous,
  .nextend-arrow-animated-fade {
    top: 50% !important;
  }

  /**AGENDA**/
  .headerImagePost {
    height: 250px !important;
    margin-top: 60px;
  }

  .infoHeader {
    padding-left: 15px;
    padding-right: 15px;
  }

  .wrapper .col-md-6 {
    margin-right: 15px;
    margin-left: 15px;
    max-width: 100%;
    min-width: 90%;
  }

  .wrapper .col-md-6 .wpb_single_image,
  .wrapper .col-md-6 iframe {
    max-width: 100%;
    min-width: 90%;
  }

  .extracto {
    font-size: 14px;
  }
  /*.site-main

  /*PAGE*/
  .headerImagePost.pageHeader {
    height: 15px !important;
  }

  .col-md-6.infoHeader {
    margin-right: 15px;
    margin-left: 15px;
  }

  .notFoundImage,
  .searchResults img {
    margin-bottom: 15px;
  }
}

@media (max-width: 320px) {
  #main-menu a {
    font-size: 13px;
  }

  #main-menu .menu-item.col-md-2 {
    margin-bottom: 15px;
  }

  #main-menu .dropdown-menu a {
    font-size: 12px;
    margin-bottom: 2px;
  }

  .lupaTopMenu input {
    line-height: 15px;
  }

  #wrapper-navbar .navbar .navbar-brand {
    background-size: 100px 34px;
    width: 100px;
    height: 34px;
    display: block;
  }

  /*MENU*/
  #wrapper-navbar .navbar {
    height: 50px;
  }

  #activeMenu,
  #activeMenu.black {
    background-position: 0 2px !important;
  }

  #activeAgenda {
    background-position: 0 11px;
  }

  #n2-ss-2-align {
    margin-top: 50px;
  }

  #wrapper-navbar.fixed .navbar {
    height: 42px;
  }
  /*HOME*/


  /*AGENDA / PAGES */
  .headerImagePost {
    margin-top: 50px;
  }

  .socialInfoHeader .col-md-8.col-6 {
    max-width: 100%;
    width: 100%;
  }

  .socialAgenda {
    margin-left: -40px;
    margin-top: 5px;
  }
}


