/**
 *	Media queries especificas para iPad
 */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
  #sidebar-left {
    width: 30% !important;
  }
  #sidebar-left.hidden {
    margin-left: -30% !important;
  }
  .image-top-page {
    height: 30vh !important;
  }
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
  #eucc.hidden {
    margin-top: -220px;
  }
  #sidebar-left.hidden {
    margin-left: -41.6667%;
    margin-left: -33.3333%;
  }
}
/**
 *	Media queries para móviles de pantallas pequeñas
 */
@media only screen and (min-device-height: 320px) and (max-device-height: 480px) and (orientation: landscape) {
  #eucc.hidden {
    margin-top: -275px;
  }
  #sidebar-left.hidden {
    margin-left: -100%;
  }
  .image-top-page {
    height: 40vh !important;
  }
  #brand #intro-link {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  #brand #intro-link #logo {
    width: 35%;
  }
  #brand #intro-link #identity {
    display: block;
  }
  #ncage {
    display: none;
  }
  #navigation {
    margin: 30px 0;
    display: flex;
    justify-content: center;
  }
  #navigation li {
    border: none;
    text-align: center;
    font-size: 0.85em;
  }
  #navigation li:first-child a {
    padding-left: 0;
  }
  #navigation li:last-child {
    border: none;
  }
}
/**
 *	Media queries especificas para iPhone 5 & 5S
 */
@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (orientation: portrait) {
  #eucc.hidden {
    margin-top: -265px;
  }
  #sidebar-left.hidden {
    margin-left: -100%;
  }
  #brand #intro-link {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
  }
  #brand #intro-link #logo {
    margin: 30px 30px 30px 0px;
  }
  #brand #intro-link #logo img {
    height: 75px;
    width: 75px;
  }
  #brand #intro-link #identity #company {
    font-size: 2.25em;
  }
  #ncage {
    display: none;
  }
  #menu-mobile {
    background: primary_medium !important;
  }
  .heading {
    font-size: 1.2em;
  }
  #error-page .title small {
    display: block;
  }
  #error-page .text {
    margin: 40px 0;
    line-height: 2em;
    text-align: left;
  }
  #error-page .error-icon {
    font-size: 1.5em;
    margin-bottom: 50px;
  }
  .heading-comp .title span {
    width: 20%;
  }
  .heading-comp .title span.title-text {
    font-size: 0.75em;
  }
  .heading-comp .title span.hr-l hr,
  .heading-comp .title span.hr-r hr {
    margin: 10px 0 0 0;
  }
  #services img {
    margin-bottom: 30px;
  }
}
@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (orientation: landscape) {
  #ncage {
    display: none;
  }
  #sidebar-left.hidden {
    margin-left: -100%;
  }
  #navigation {
    margin: 0 0 30px 0;
  }
  .heading-comp .title span {
    width: 30%;
  }
  .heading-comp .title span.hr-l hr,
  .heading-comp .title span.hr-r hr {
    margin: 10px 0 0 0;
  }
  #services img {
    margin-bottom: 30px;
  }
}
/**
 *	Media queries especificas para iPhone 6, 7, 8
 */
@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (orientation: portrait) {
  #brand #intro-link {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
  }
  #brand #intro-link #logo {
    margin: 30px 30px 30px 0px;
  }
  #brand #intro-link #logo img {
    height: 75px;
    width: 75px;
  }
  #brand #intro-link #identity #company {
    font-size: 2.25em;
  }
  .heading {
    font-size: 1.45em;
  }
  .heading-comp .title span.title-text {
    font-size: 0.9em;
  }
  #error-page .title small {
    display: block;
  }
  #error-page .text {
    margin: 40px 0;
    line-height: 2em;
    text-align: left;
  }
  #error-page .error-icon {
    font-size: 1.5em;
    margin-bottom: 50px;
  }
  .jumbotron {
    padding-top: 0;
  }
  #services img {
    margin-bottom: 30px;
  }
  #warehouse #gallery-warehouse {
    margin: 30px 0;
  }
  #contact #location,
  #contact #timetable,
  #contact #contacts {
    margin-top: 20px;
  }
  #contact #location .title,
  #contact #timetable .title,
  #contact #contacts .title {
    font-size: 1.5rem;
    text-align: center;
  }
}
@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (orientation: landscape) {
  #eucc.hidden {
    margin-top: -295px;
  }
  #ncage {
    display: none;
  }
  #sidebar-left.hidden {
    margin-left: -100%;
  }
  #services img {
    margin-bottom: 30px;
  }
  #services #services-nav a .icon {
    width: 40px;
    height: 40px;
  }
  #services #services-nav a .text {
    font-size: 0.95em;
  }
}
/**
 *	Media queries especificas para iPhone 6, 7, 8 Plus
 */
@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (orientation: portrait) {
  #brand #intro-link {
    margin: 40px 0;
  }
  #links {
    margin: 40px 0;
  }
  #language li {
    margin-right: 30px;
  }
  #language .flag {
    max-width: 30px;
  }
  .heading {
    font-size: 1.65em;
  }
  #error-page .error-icon {
    font-size: 2em;
    margin-bottom: 50px;
  }
  #error-page .text {
    line-height: 2em;
    text-align: left;
  }
  #services img {
    margin-bottom: 30px;
  }
  #error-page .text {
    margin: 40px 0;
  }
  #error-page .error-icon {
    font-size: 1.5em;
    margin-bottom: 30px;
  }
  .jumbotron {
    padding-top: 0;
  }
}
@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (orientation: landscape) {
  #eucc.hidden {
    margin-top: -295px;
  }
  #ncage {
    display: none;
  }
  #sidebar-left.hidden {
    margin-left: -100%;
  }
  #services img {
    margin-bottom: 30px;
  }
  #services #services-nav a {
    margin: 0 10px;
  }
  #services #services-nav a .icon {
    margin: 10px 10px 10px 0px;
  }
  #services #services-nav a .text {
    font-size: 1.25em;
    text-align: center;
  }
  #error-page .text {
    margin: 20px 0;
  }
  #error-page .error-icon {
    font-size: 1.5em;
    margin-bottom: 30px;
  }
  .jumbotron {
    padding-top: 0;
  }
}
/*
	OVERRIDE BOOTSTRAP
*/
@media (min-width: 576px) and (orientation: landscape) {
  .container {
    width: 90%;
  }
}
