﻿@media (max-width: 960px) {
  body {
    overflow-x: hidden;
  }
  .container,
  .headerImage {
    width: 100%;
  }
  #content .container {
    display: flex;
    flex-direction: column-reverse;
  }
  #content h1 {
    display: block;
    background: none !important;
    text-align: center;
    padding-top: 1em;
  }
  #content .sideCol {
    width: auto !important;
    margin: 0;
    padding: 0 5%;
    display: block;
    float: none;
    flex: 1 1 auto;
    /*.utypiaWebPart-body {
            .clear {
                clear: none;
            }
            .clear:last-of-type {
                clear: both;
            }
        }*/
    /*Buttons*/
    /*IE9 Fix*/
    /*Buttons area wrapped with a 'div' container with the '.buttonMask' class. 
          Therefore, overruling the classis necesarry*/
  }
  #content .sideCol .contentBoxNoRadius {
    /*margin-left: 25%;*/
  }
  #content .sideCol:not(.loginBox) .clear {
    clear: none;
  }
  #content .sideCol .clear:last-of-type {
    clear: both;
  }
  #content .sideCol .teaserRow {
    float: left;
  }
  #content .sideCol .button {
    line-height: 27px;
    width: 95%;
  }
  #content .sideCol .buttonMask {
    width: 90%;
  }
  #content .sideCol .buttonMask .button {
    width: 100% !important;
  }
  #content .sideCol .utypiaWebPart-body.uwpb-Style1 {
    text-align: center;
  }
  #content .sideCol .utypiaWebPart-body.uwpb-Style1 > .teaserRow {
    display: inline-block;
    float: none;
  }
  #content .sideCol .utypiaWebPart-body.uwpb-Style1 > .clear {
    display: none;
  }
  #content .mainCol {
    width: 100% !important;
    font-size: 14px;
    flex: 1 1 auto;
    /*Buttons*/
    /*IE9 Fix*/
    /*Buttons area wrapped with a 'div' container with the '.buttonMask' class. 
          Therefore, overruling the classis necesarry*/
  }
  #content .mainCol input[type="text"] {
    padding: 5px;
    font-size: 16px;
    margin: 2px;
  }
  #content .mainCol .orderBox {
    width: 75%;
    float: none;
    display: inline-block;
  }
  #content .mainCol .orderBox label {
    width: 100%;
  }
  #content .mainCol .orderBox label input {
    width: 50% !important;
    float: left;
    margin-bottom: 5px !important;
  }
  #content .mainCol .utypiaWebPart-body {
    margin: 0 1.5%;
    text-align: center;
  }
  #content .mainCol .utypiaWebPart-header-title {
    background: none;
    margin-left: 5%;
    width: 90% !important;
  }
  #content .mainCol .utypiaWebPart-header-title h1 {
    font-size: 2em !important;
  }
  #content .mainCol .templateWebPart {
    width: 100%;
  }
  #content .mainCol .contentBox {
    box-sizing: border-box;
    box-shadow: none;
    -webkit-box-shadow: none;
    border: none;
    padding: 0;
  }
  #content .mainCol .contentBox.templateWebPart {
    text-align: center;
  }
  #content .mainCol .contentBox.templateWebPart .clear {
    clear: none;
  }
  #content .mainCol .contentBox.templateWebPart .templateWebPartTemplates {
    width: auto;
    float: none;
    display: inline-block;
  }
  #content .mainCol .contentBox.templateWebPart:last-of-type .clear {
    clear: both;
  }
  #content .mainCol .teaserRow {
    position: relative;
    text-align: center;
    vertical-align: top;
  }
  #content .mainCol .teaserRow .productTeaser {
    display: inline-block;
    vertical-align: middle;
    float: none;
  }
  #content .mainCol .teaserRow .contentBox.span4,
  #content .mainCol .teaserRow .contentBox.productTeaser {
    margin: 10px 7px;
    display: inline-block;
    float: none;
    width: 30%;
    min-height: 270px;
    height: auto !important;
    vertical-align: top;
  }
  #content .mainCol .button {
    line-height: 27px;
  }
  #content .mainCol .contentBox .button {
    width: 100%;
    -webkit-border-radius: 5px;
  }
  #content .mainCol .offerTeaser .button {
    width: 95%;
  }
  #content .mainCol .buttonMask {
    width: 90%;
  }
  #content .mainCol .buttonMask .button {
    /*width: 100% !important;*/
  }
  #content #Left .subNav h1 {
    margin: 30px 0 10px;
  }
  #content #Left .subNav a {
    font-size: 16px;
    line-height: 1.4em;
    text-decoration: underline;
  }
  #footer .container .linkWrapper {
    float: none;
  }
  #footer .container .poweredbyinner {
    width: 100%;
    float: none;
  }
  .loginBox {
    font-size: 14px;
    text-align: left;
  }
  .loginBox label {
    float: left;
    width: 100%;
  }
  .loginBox .textfield {
    float: left;
    padding: 5px;
  }
}
@media (max-width: 768px) {
  #content .mainCol .teaserRow .contentBox.span4,
  #content .mainCol .teaserRow .contentBox.productTeaser {
    width: 40%;
  }
}
@media (max-width: 480px) {
  #content .mainCol .teaserRow .contentBox.span4,
  #content .mainCol .teaserRow .contentBox.productTeaser {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}