.ifmobileDisplay {
    display: none;
}
.ifmobileHide {
    display: auto;
}

/* * * * * * * All Devices and computers with small screen * * * * * * */
@media (max-width: 1199px) {

/* GENERALES */
h1,
h2 {
    font-size: 1.75em;
}
h3 {
    font-size: 1.25em;
}

/* HEADER */
#menu {
    margin-top: 0.5em;
}
.info {
    margin-top: 0;
}
.info li {
    display: block;
}

/* SECTOR */
.sector {
    padding: 0 8px;
}

/* SYSTEM */
table.system img {
    width: 100px;
}

}

/* * * * * * * Tablets * * * * * * */
@media (max-width: 991px) {

/* GENERALES */
h5 {
    font-size: 10px;
}

/* MIRANDA */
.miranda .image {
    min-height: 335px;
}
.miranda .information .benefits p {
    font-size: 0.8em;
}
.miranda .information .benefits img {
    max-width: 55px;
}

}

/* * * * * * * All Phones* * * * * * */
@media screen and (max-width: 767px) {

/* GENERALES */
.ifmobileDisplay {
    display: block;
}
.ifmobileHide {
    display: none;
}

/* HEADER */
header.col-sm-12 {
    padding-top: 1em;
}
.navbar-collapse {
    background-color: rgba(7,83,131,0.2);
    margin: 0 0 0.75em;
}
.navbar-default .navbar-collapse {
    border-color: transparent;
}
.navbar-default .navbar-toggle {
    border-color: transparent;
}
.navbar-default .navbar-toggle:focus,
.navbar-default .navbar-toggle:hover,
.navbar-toggle {
    margin: 0;
    background-color: white;
}
.navbar-default .navbar-toggle .icon-bar {
    background-color: #008EB3;
}
.navbar-nav {
    margin: 0;
}
#menu {
    width: 100%;
    margin-top: 0;
}
.logo {
    text-align: center;
}
.logo,
.menu {
    padding: 0;
}
.menu {
    text-align: left;
}
.info {
    width: 100%;
    margin-bottom: 1em;
    text-align: center;
}
.info li {
    display: inline-block;
}

/* FOOTER */
footer #menu {
    display: none;
}
footer .social {
    position: relative;
    top: 0;
    right: 0;
    margin: 0;
}
footer .menu {
    text-align: center;
}

/* CONTENT */
.content .benefits .benefit {
    width: auto;
}

/* MIRANDA */
.miranda .image {
    height: auto;
}
.miranda .information {
    padding: 0 10% 2em;
}
.miranda .information,
.miranda .information h6,
.miranda .information img {
    text-align: center;
}
.miranda .information a.button {
    margin-left: 1em;
}
.miranda .information img {
    width: auto;
    margin: 0 auto;
}
.miranda .information .benefits {
    width: 100%;
    padding: 0;
    text-align: center;
    float: left;
}
.miranda .information .benefits>div {
    width: 33.33%;
    padding: 0 15px;
    float: left;
}
.miranda .information .benefits p {
    font-size: 1em;
}
.miranda .information .benefits img {
    display: inline-block;
    max-width: 100%;
}

/* PROJECTS */
.project .place {
    background: rgba(7,83,131,0.2);
    background-image: none;
}

/* SECTOR */
.sector {
    display: block;
    width: 33.33%;
    min-height: 110px;
    margin-bottom: 1em;
    float: left;
}

/* SYSTEM */
.system .system-text {
    width: 100%;
    height: auto;
    padding-left: 1em;
    border-left-color: white;
    border-left-style: solid;
    border-left-width: 7px;
    border-top-width: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 15px;
}
.system .system-text.miracell {
    padding-left: 1em;
    padding-top: 0;
}
.system .system-image {
    width: 100%;
    height: auto;
    padding-bottom: 0;
    border-right-color: white;
    border-right-style: solid;
    border-right-width: 7px;
    border-bottom-width: 0;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 0;
    background-image: none;
}
.system .system-image table,
.system .system-text table {
    height: auto;
}

/* SLIDESHOW */
section.slideshow.miracell  {
    margin-bottom: 3em;
}
#plantas {
    width: 100%;
    margin: 2em 0;
    text-align: center;
}
#plantas img {
    max-width: 100%;
    max-height: 200px;
}
.miranda.slideshow img.logo {
    margin-top: 0;
}
.miranda.slideshow h2,
.miranda.slideshow h3 {
    text-align: center;
}
.slideshow {
    padding-bottom: 7em;
    text-align: center;
}
.text {
    max-width: 100%;
    width: 100%;
    left: 0;
    bottom: 2em;
}
.text h1,
.text h2,
.text h3 {
    text-align: center;
}

}


@media screen and (max-width: 640px) {

/* CONTENT */
.content .benefits p {
    font-size: 0.8em;
}
.content .benefits img {
    width: 55px;
}

}

@media screen and (max-width: 480px) {

/* CONTENT */
.content .benefits img {
    width: 74px;
}
.content .benefits .benefit {
    width: 25%;
}

}

/* RT Surface Hacks */
@media screen and (orientation: landscape) {
  @-ms-viewport {
    width: 1024px;
    height: 768px;
  }
  /* CSS for landscape layout goes here */
  body{
  	width: 100%;
  }
}
@media screen and (orientation: portrait) {
  @-ms-viewport {
    width: 768px;
    height: 1024px;
  }
  /* CSS for portrait layout goes here */
  body{
  	width: 100%;
  }
}