@media (min-width: 767px) {

  .region-primary-menu{
    display: inline-block;
    float: left;
    width: auto;
    margin: 0;
  }

  .region-primary-menu,
  .menu-base-theme li a{
    background: #215385;
  }

  .menu-base-theme a{
    border: 0;
  }

  .menu-base-theme > li{
    border: 0;
  }

  .menu-base-theme a span.sub-arrow {
    padding: 0;
    top: 23px;
    margin-top: 0;
    bottom: 2px;
    right: 5px;
    margin-left: -5px;
    left: auto;
    width: 0;
    height: 0;
    border-width: 5px;
    border-style: solid dashed dashed dashed;
    border-color: #fff transparent transparent transparent;
    background: transparent;
  }

  .menu-base-theme ul {
    border: 1px solid #a8a8a8;
    padding: 0;
    background-color: #fff;
    background: rgba(255, 255, 255, 0.74);
  }

  .menu-base-theme ul.has-submenu li {
    border-bottom: 1px solid #fff;
  }

  #block-views-block-block-banner-promo-home-block-1 .views-slideshow-controls-top{
  	bottom: 52%;
    width: 90%;
  }

  .welcome-banner-text h2{
    font-size: 50px;
  }

  .welcome-banner-text{
    font-size: 14px;
  }

  .bottom-widgets{
    text-align: left;
    padding: 50px 0;
  }

  .footerwidget{
    padding: 50px 0;
  }

  .credit-link{
    text-align: right;
  }

  .social-media{
    float: right;
  }

  .social-media a{
    margin: 0 0 0 10px;
  }

  /*comment*/

  .comment-wrap .author-details{ width: 10%; }

  .comment-wrap .author-comments{ width: 90%;}
}

@media (max-width: 767px) {

  .site-branding {
    margin: 0;
    text-align: center;
}
.node__content {
    padding-right: 0;
}

.box img {
    background: #fff;
    width: 100%;
}

.menu-base-theme a:hover, .menu-base-theme a:focus, .menu-base-theme a:active, .menu-base-theme a.highlighted{
  padding: 13px;
}

.menu-base-theme, .menu-base-theme li a:hover{
  padding: 13px!important;
}

.sidebar.secon{
  display: none;
}

.menu-base-theme ul li a:hover:before{
  display: none;
}

 #block-interestinstitu .img-inte-r img:first-child, #block-numbersr #block-numbersr #cifras img{
      width: 100%!important;
  }

.ui-tabs-panel .col-md-3 {
    text-align: center;
}  

.site-branding__slogan{
  font-size: 18px;
}

.site-name a{
  font-size: 25px;
}
#block-views-block-noticia-destacada-block-1 {
    padding-right: 0;
}

#block-drupal8-zymphonies-theme-search {
    width: 100%;
}
    
#views_slideshow_cycle_teaser_section_video-block_1 {
    height: auto;
}

#block-contactus input.button {
    background: #ffffff;
    width: 100%!important;
    color: #025fa6;
    padding: 7px 10px;
    margin: 15px 0 0;
}    
    
#block-worldbasc p{
  text-align: center;
  font-size: 14px;
}
.navbar-toggle {
    position: absolute;
    float: right;
    padding: 9px 10px;
    margin-top: 8px;
    margin-right: 15px;
    margin-bottom: 8px;
    background-color: #f2f2f2;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    top: 20px;
    right: 0;
}

.site-branding__logo img {
    width: 150px;
}

#blocktabs-documents {
    display: block;
    margin-top: 0;
}

#block-blocktabsdocuments .ui-tabs-panel {
margin-top: 0px;
width: 100%!important;
min-height: auto!important;
position: relative;
padding: 20px!important;
    clear: both;
}

#block-blocktabsdocuments h2 {
    z-index: 100;
    position: relative;
    display: inline-block;
    color: #1044a1;
    margin-left: 0;
    width: 22%;
    border-bottom-style: solid;
}

#block-blocktabsdocuments .ui-tabs .ui-tabs-panel::before, #block-blocktabsdocuments .ui-tabs .ui-tabs-panel::after{
  display: none;
}

#block-blocktabsdocuments .ui-tabs .ui-tabs-nav::before, #block-blocktabsdocuments .ui-tabs .ui-tabs-nav::after{
  display: none;
}

#block-blocktabsdocuments .ui-tabs-nav {
    width: 100%!important;
    padding-top: 0!important;
}

#block-blocktabsdocuments .ui-tabs-nav li{
  background: #1044a1!important;
}

.navbar-toggle .icon-bar {
    background: #213a8e;
}

.menu-base-theme a, .menu-base-theme a.highlighted {
color: #fff;
}

#block-becomeamember .menu li, #block-useraccountmenu .menu li {
    padding-top: 0;
    float: left;
    margin: 0 5px 15px;
    list-style: none;
}
    
#block-becomeamember ul,
#block-useraccountmenu .menu{
padding-left: 0;
}

#block-becomeamember ul li,
#block-useraccountmenu .menu li{
float: none;
width: 100%;
}
 
#banner_cursos .views-field-title {
    background-size: cover;
}

#banner_cursos .views-field-title .view-course a {
    font-size: 12px;
    display: block;
}   
    
.bottom-news .twitter {
    padding-left: 0;
    padding-right: 0;
}

.bottom-widgets .col-md-4{
  padding-right: 0;
  padding-left: 0;
}

#certificate a.enlace-sidebarb {
    float: none;
    margin: auto;
}

.region-sidebar-second {
    padding-left: 0;
}

#certificate p{
  text-align: center;
}

.certi-img img {
    display: none;
}

#block-becomeamember ul li a,
#block-useraccountmenu .menu li a{
  width: 100%;
}

.navbar {
    min-height: 0;
    display: contents;
}

.video-home {
    height: 185px;
}

.bottom-news .video {
    padding-right: 0;
    padding-left: 3px;
}

#block-views-block-video-block-1 {
    min-height: 215px;
}

.video-home h2 {
    position: absolute;
    border-bottom: none;
    z-index: 10;
    top: 121px;
    left: 20px;
    font-weight: bold;
    font-size: 14px;
    width: 70%;
    color: #fff;
    text-shadow: 0px 0px 1px rgba(25, 25, 25, 1);
}

/*.bg-secon-side{
  position: absolute;
display: table-cell;
height: 2000%;
background: #ececec;
width: 2000px;
top: -20px;
z-index: -1;
left: -30px;
}*/

.path-news h3, .path-news .h3 {
    padding-right: 0;
}

.path-news .views-field-body {
    margin-right: 0;
}

  .menu-base-theme li a {
    padding-right: 16px;
}

.menu-base-theme a, .menu-base-theme a:hover, .menu-base-theme a:focus, .menu-base-theme a:active, .menu-base-theme a.highlighted {
    padding: 13px 7px;
        padding-right: 7px;
    background: #3092c0;
    color: white;
}
    
.footer-menu .owl-carousel .owl-wrapper-outer {
    height: 150px;
} 

#block-numbersr #cifras img{
  width: 100%!important;
}

.menu-base-theme ul li a:after:hover, .menu-base-theme ul li a:before:hover{
  display: none;
}
    
.footer-menu .owl-carousel .owl-item {
    padding: 25px 5px;
    padding-bottom: 0;
}
    
.footer-menu .owl-carousel .owl-item img {
    width: 100%;
}

#banner_cursos .views-field-title h2 {
    font-size: 24px;
}
}
