/* === max. 980px ================================= */
@media screen and (max-width: 980px) {

    .copyright {
        width: auto;
    }
    img.tkhlogo {
        display: none;
    }

    #mainItems > li > a:after {
        bottom:0px;
        color: #da291c;
        content: "//";
        position: absolute;
        right: -9px;
        width: 0;
    }

  body {
    background: none;
    background-color: #F2F2F2;
  }

  .flexslider .slides img {
    height: 100%;
  }

  .sitemap {
    display: none;
  }

  #mainItems {
    margin: 0 0 0 30px;
  }

    #mainNavi.f-nav {

        background : url("/Resources/Public/Images/logo3.png") no-repeat scroll 11px 10px / 5% auto rgba(255, 255, 255, 1);
    }

    .f-nav #mainItems{
        margin: 0 0 0 70px;
    }

    .f-nav #search{
        margin: 0 30px 0 0;
    }

  #mainItems > li {
    padding: 0 1.75em 20px 0;
  }



  #page-2 .text {
    margin: 2em auto 4em auto;
    width: 440px;
  }
}

/* === max. 920px ================================= */
@media screen and (max-width: 920px) {

  #cameraApp #imgAbove {
    display: flex;
    flex-direction: column;
  }

  #cameraApp #imgAbove .imgText {
    position: relative;
    left: auto;
    top: auto;
    margin-left: 50px;
  }

  #cameraApp #imgAbove .imgText ul {
    position: relative;
    left: auto;
  }

  #povSlider, #imgAbove {
    margin: 8px auto 21px auto;
  }

  #povSlider .flex-control-nav {
    /* left: 10px; */
  }

  .bodytext {
    padding-left: 0px;
  }

  h1 {
    padding-left: 0px;
  }
}

@media screen and (min-width: 800px ){

  #mainItems > li > .foldout > ul {
    display: inline-block;
    width: 46%;
    float:none;
    top: 0;
  }

  #mainItems > li > .foldout > ul li {
    width: auto;
  }

  .menu-placeholder {
    display: inline;
    margin: 0;
  }

  #mainItems > li > .foldout .additional-infobox {
    padding-left: auto;
    text-align: initial;
  }

  .menuitem-description {
    width: auto;
  }

  .foldout > .menu-placeholder {
    display: inline-block;
    left: 0;
    margin-left: 48%;
    margin-top: 10px;
    position: absolute;
    width: 48%;
  }

  #mainItems > li > .foldout .additional-infobox {
    display: auto;
    padding-left: auto;
    text-align: center;
  }

  #mainItems > li {
    position: relative;
  }

  #mainItems > li > .foldout {
    min-height: 170px;
  }

  #mainItems > li:nth-child(4) > .foldout > ul, #mainItems > li:nth-child(5) > .foldout > ul {
    color: #999999;
    display: inline-block;
    font-size: 0.7777em;
    margin-left: 56%;
    margin-right: -1px;
    width: 44%;
    z-index: 20;
  }

  #mainItems > li:nth-child(4) > .foldout > .menu-placeholder, #mainItems > li:nth-child(5) > .foldout > .menu-placeholder {
    display: inline-block;
    margin-left: 20px;
    margin-top: 10px;
    position: absolute;
    width: 48%;
  }

  #mainItems .foldout li.hover-active .additional-infobox {
    background: none repeat scroll 0 0 #fff;
    display: block;
    font-size: 18px;
    //margin-left: 48%;
    min-height: 148px;
    min-width: 250px;
    padding-top: 10px;
    position: absolute;
    text-align: center;
    top: 0;
    width: 48%;
    z-index: 100;
    left: auto;
  }


  #mainItems > li:hover > .foldout {
    display: block;
    left: 0;
    margin-left: -10px;
    right: 123px;
    width: 500px;
    z-index: 50;
  }

  #mainItems > li:nth-child(4):hover > .foldout, #mainItems > li:nth-child(5):hover > .foldout {

    display: block;
    left: -280px;
    margin-left: -10px;
    right: 0;
    z-index: 50;
  }


  #mainItems > li:nth-child(4) .foldout li.hover-active .additional-infobox{
    left: -270px;
  }
  #mainItems > li:nth-child(5) .foldout li.hover-active .additional-infobox{
    left: -270px;
  }


  #mainItems > li > .foldout > ul > li:last-of-type {
    margin-bottom: 20px;
  }

}


/* === max. 800px ================================= */
@media screen and (max-width: 800px) {


    #mainItems > li > a:after {
       display: none;
    }

    .tx-avt-cameras .camera-head-row .camera-head-col{
        display:none;

    }
    .tx-avt-cameras .cameras > .camera.result > div.camera-compare-box{
        display : none;

    }

  .filterForm .form > div.filterRow:nth-child(2), .filterForm .form > div.filterRow:nth-child(3) {
    display: none;
  }

  #logo {
    max-width: 293px;
    padding-left: 29px;
    padding-top: 19px;

  }

  #header label {
    position: absolute;
    right: 0;
    top: 0;
  }

  .sliderTextLeft h3 {
    font-size: 1.4em;
  }

  .sliderText {
    bottom: 10px;
  }

  .sliderTextLeft {
    #height: 48px;
  }

  .sliderTextRight {
    float: left;
    #height: 63px;
  }

  .shadeWrapper {
    background: none repeat scroll 0 0 #000000;
    height: 100%;
    opacity: 0;
    -webkit-opacity: 0;
    -moz-opacity: 0;
    position: absolute;
    top: 0;
    z-index: -999999;
  }

  #handler:checked ~ #outerWrapper {
    position: fixed;
    width: 100%;
  }

  #handler:checked ~ #outerWrapper #header,
  #handler:checked ~ #outerWrapper #infolist,
  #handler:checked ~ #outerWrapper #slider,
  #handler:checked ~ #outerWrapper #innerWrapper,
  #handler:checked ~ #outerWrapper #footer {
    position: relative;
    -webkit-transform: translate3d(80%, 0px, 0px);
    -moz-transform: translate3d(80%, 0px, 0px);
    transform: translate3d(80%, 0px, 0px);
    -webkit-transition: 0.2s ease-in-out 0s;
    -moz-transition: 0.2s ease-in-out 0s;
    transition: 0.2s ease-in-out 0s;
    z-index: 99;
  }

  #header, #infolist, #slider, #innerWrapper, #footer {
    position: relative;
    transform: translate3d(0px, 0px, 0px);
    -webkit-transform: translate3d(0px, 0px, 0px);
    --moz-transform: translate3d(0px, 0px, 0px);
    -moz-transform: none;
    transition: 0.2s ease-in-out 0s;
    -webkit-transition: 0.2s ease-in-out 0s;
    -moz-transform: 0.2s ease-in-out 0s;
    z-index: 99;
  }

  #handler:checked ~ #outerWrapper #mainNavi {
    display: block;
    margin-top: 0px;
    opacity: 1;
    -webkit-opacity: 1;
    -moz-opacity: 1;
    -webkit-transition: opacity 0.2s 0s;
    -moz-transition: opacity 0.2s 0s;
    transition: opacity 0.2s 0s;
  }

  #handler:checked ~ #outerWrapper .shadeWrapper {
    opacity: 0.5;
    -webkit-opacity: 0.5;
    -moz-opacity: 0.5;
    -webkit-transition: z-index 0.1s ease-in 0.1s;
    -moz-transition: z-index 0.1s ease-in 0.1s;
    -ms-transition: z-index 0.1s ease-in 0.1s;
    -o-transition: z-index 0.1s ease-in 0.1s;
    transition: z-index 0.1s ease-in 0.1s;
    -webkit-transition: opacity 0.2s ease-in 0.1s;
    -moz-transition: opacity 0.2s ease-in 0.1s;
    -ms-transition: opacity 0.2s ease-in 0.1s;
    -o-transition: opacity 0.2s ease-in 0.1s;
    transition: opacity 0.2s ease-in 0.1s;
    z-index: 999999;
    width: 100%;
    left: 80%;
  }

  #mainItems > li {
    width: 25%;
  }

  .mobileNavi {
    color: #C4161C;
    display: block;
    font-size: 1.3em;
    cursor: pointer;
    font-weight: 600;
    float: right;
    margin-top: 15px;
    margin-right: 8px;
    z-index: 9999;
  }

  .Hamburger {
    display: block;
    width: 1em;
    height: 1em;
    float: right;
    margin-top: 14px;
    margin-right: 28px;
    z-index: 9999;
    /*
      position: absolute;
      right: 100px;
      top: 14px;
    */
  }

  #mainNavi, #metaNavi {
    display: none;
  }

  #header {
    height: 100px;
  }

  #mainItems > li > a {
    float: none;
  }

  #mainNavi {
    bottom: 0;
    left: 0;
    opacity: 0;
    -webkit-opacity: 0;
    -moz-opacity: 0;
    overflow: auto;
    position: fixed;
    top: 0;
    -webkit-transition: opacity 0s 0s;
    -moz-transition: opacity 0s 0s;
    transition: opacity 0s 0s;
    width: 80%;
    z-index: 1;
  }

  #mainItems > li > a {
  }

  #mainNavi > ul > li {
    display: inline-block;
    padding: 0;
    position: relative;
  }

  #mainNavi > ul li.first, #mainNavi > ul li.last {
    width: 100%;
  }

  #mainNavi > ul li.first {
    border-top: 1px solid #DDDDDD;
  }

  .news-related {
    width: 92%;
    display: block;
  }

  .menu-placeholder {
    display: none;
  }

  #imgAbove .imgText {
    top: 0;
  }

  .tabMenu ul {
    height: auto;
  }

  #header > .metaNavi,
  #mainNavi > label {
    display: none;
  }

  #mainNavi img {
    display: none;
  }

  #mainNavi > .metaNavi,
  #mainNavi > .footerRight {
    display: block;
    width: 90%;
  }

  #mainNavi > .metaNavi .metaLinks,
  #mainNavi > .metaNavi .langMenu {
    display: inline-block;
    width: 150px;
    float: left;
    line-height: 40px;
  }

  #mainItems {
    display: inline-block;
    background: #c4262c;
    width: 100%;
    margin: 46px 0 0;
  }

  #mainItems > li {
    display: inline-block;
    width: 100%;
    border-bottom: 1px solid #9D1E1E;
  }

  #mainNavi ul li.first {
    border-top: none;
  }

  #mainItems > li > a {
    color: #f3f3f3;
    display: block;
    height: 30px;
    text-indent: 12px;
    line-height: 1.2;
  }

  #mainItems > li > .open-foldout {
    background: url("../Images/arrowSprite.png") no-repeat scroll center 16px / 35% auto rgba(0, 0, 0, 0);
    display: block;
    height: 38px;
    position: absolute;
    right: 2px;
    width: 38px;
    top: 0;
  }

  #mainItems > li.current > .open-foldout {
    background: url("../Images/arrowSprite.png") no-repeat scroll center -12px / 35% auto rgba(0, 0, 0, 0);
    display: block;
    height: 38px;
    position: absolute;
    right: 2px;
    width: 38px;
  }

  #mainItems > li > .foldout > ul {
    float: none;
  }

  #mainItems > li .foldout > ul li a {
    color: #FFF;
    padding-left: 25px;
    padding-bottom: 8px;
    padding-top: 8px;
  }

  #mainItems > li > .foldout > ul > li {
    border: none;
    border-top: 1px solid #9d1e1e;
    width: auto;
  }

  #mainItems > li > .foldout > ul > li.current a {
    color: #666;
  }

  #mainItems > li > a:hover {
    color: #f3f3f3;
    background: #A01F24;
  }

  #mainItems > li ul li a:hover {
    color: #f3f3f3;
    background: #A01F24;
  }

  #mainItems > li:hover > ul {
    display: none;
  }

  #mainItems > li > .foldout > ul > li:last-of-type {
    border-bottom: none;
  }

  .current .foldout {
    display: block;
  }

  .foldout {
    display: none;
  }

  .current .foldout.foldout-hide {
    display: none;
  }

  .foldout.foldout-hide {
    display: block;
  }

  #search {
    background: none;
    /*margin: 0;*/
    padding: 0;
    height: 0;
  }

  #tx-solr-search-form-pi-search {
    display: inline-block;
    top: 0px;
    right: 0px;
    height: 46px;
    width: 100%;
  }

  #searchBox {
    width: 88%;
    margin: 9px 10px 10px 8px;
    border: 1px solid transparent;
    height: 15px;
    padding-top: 6px;
    padding-bottom: 6px;
    padding-right: 0;
    display: inline-block;
    border-radius: 0;
  }

  #searchOpener {
    display: none;
  }

  #searchButton {
    right: 9px;
    top: 9px;
    -webkit-appearance: none;
    -webkit-border-radius: 0;
    outline: none;
    padding: 0;
    margin: 0;
  }

  nav#mainNavi .metaNavi {
    left: 20px;
    position: relative;
    top: 160px;
  }

  nav#mainNavi > .footerRight {
    color: #888;
    font-weight: 600;
    position: absolute;
    width: 100%;
    font-size: 0;
    line-height: 0;
    left: 0;
  }

  #mainNavi .sitemap {
    display: none;
  }

  #mainNavi .copyright {
    display: inline-block;
    bottom: auto;
    width: 100%;
    background: #e3e3e3;
    color: #888;
    text-align: left;
    left: 0;
    color: transparent;
    top: -2px;
    padding: 0;
    position: relative;
    font-size: 0;
  }

  #mainNavi .copyright > .serviceMenu {
    color: transparent;
    width: 100%;
    display: inline-block;
    font-size: 0;

  }

  #mainNavi .copyright > .serviceMenu > a {
    color: #888;
    display: block;
    border-bottom: 1px solid #ececec;
    margin: 0;
    padding-bottom: 10px;
    padding-left: 15px;
    padding-top: 10px;
    margin: 0;
    font-size: 14px;
    line-height: 14px;
  }

  #mainNavi .copyright > .serviceMenu > a:hover {
    background-color: rgba(136, 136, 136, 0.18);
  }

  /* Off canvas language menu */
  #mainNavi ul.langMenu {
    display: block !important;
    float: none;
    height: 30px;
    width: 100%;
    padding: 0 0 5px 0;
  }
  #mainNavi ul.langMenu li {
    width: auto;
  }
  #mainNavi ul.langMenu li.first {
    padding-left: 2px;
  }
  #mainNavi ul.langMenu li a{
    display: inline-block;
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .offCanvasMetaLinks {
    display: block !important;
    border-top: 1px solid #777777;
    padding: 0 0 10px 0;
  }
  .offCanvasMetaLinks > li > a {
    text-indent: 12px;
    padding: 10px 0 0 0;
    display: block;
    font-size: 1rem;
  }
}

/* === max. 790px ================================= */
@media screen and (max-width: 790px) {
    .teaser {
        margin: 3.5em auto 0;
        width: 370px;
    }
}

/* === max. 768px ================================= */
@media screen and (max-width: 768px) {


    /*Content FCE's*/

    .con50x50{

    }

    .con50x50first{
        display: block;
        width:auto;
        padding: 0;
    }

    .con50x50last{
        display: block;
        width:auto;
        padding: 0;
    }

    .con66x33{}

    .con66x33first{
        display: block;
        width:auto;
        padding: 0;
    }

    .con66x33last{
        display: block;
        width:auto;
        padding: 0;
    }


    .con33x66{}

    .con33x66first{
        display: block;
        width:auto;
        padding: 0;
    }

    .con33x66last{
        display: block;
        width:auto;
        padding: 0;
    }

    .con33x33x33{}


    .con33x33x33first{
        display: block;
        width:auto;
        padding: 0;
    }

    .con33x33x33middle{
        display: block;
        width:auto;
        padding: 0;
    }


    .con33x33x33last{
        display: block;
        width:auto;
        padding: 0;
    }


  .rowCell:first-of-type {
    margin-right: 3%;
    width: 61%;
  }

  .rowCell:last-of-type {
    text-align: right;
    width: 32.4%;
  }

  .tx-solr #tx-solr-pagination #tx-solr-pagination-results-per-page {

    position: static;
  }

  .tx-solr #tx-solr-pagination {
    height: auto;
    text-align: left;
  }

}

/* === max. 640px ================================= */
@media screen and (max-width: 640px) {

  #imgAbove .imgText h2 {
    font-size: 1.5em;
  }

  .tx-solr .tx-solr-search-form .tx-solr-q {
    width: 70%;
  }

  #main .tx-solr #content-left {
    display: block;
    width: auto;
  }

  #main .tx-solr #content-right {
    display: block;
    width: auto;
  }

  .txNawavtkbsalesforcePiListSearch input.textbox {
    display: block;
    margin: 10px 0;
    width: 90%;
  }

  .txNawavtkbsalesforcePiListSearch .searchbutton {
    margin-right: 5%;
  }

  .av_prod_category {
    display: block;
    padding-right: 0px;
  }

  .news-list-view {
    padding-left: 0px;
  }

  .serviceMenu {
    display: none;
  }

  #page-2 .teaser {

  }

  #page-2 .text {
    width: 320px;
  }



  h1 {
    font-size: 2em;
  }

  #povSlider .sliderTextLeft p, #imgAbove .imgText p {
    font-size: 0.8em;
    max-width: 150px;
  }

  .bodytext {
    max-width: 640px;
    padding-left: 0px;
  }

  nav#mainNavi > .footerRight, .copyright {
    display: inline-block !important;
  }

  #main #content-left {
    display: block;
    width: auto;
  }

  #main #content-right {
    display: block;
    width: auto;
  }

}

/* === Styling VE responsive Navi === */

#mainNavi .metaNavi,
#mainNavi .footerRight {

}

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

    .tx-avt-cameras .table > div > div:nth-of-type(3), .tx-avt-cameras .camera-table > div > div:nth-of-type(3) {
        /*width: 30%;*/
    }

    .tx-avt-cameras .table > div > div:nth-of-type(4), .tx-avt-cameras .camera-table > div > div:nth-of-type(4) {
      /*width: 30%;*/
    }

  .tx-avt-cameras div.camera-compare-box {
    width: 5%;
        min-width: 1em;

  }

  .tx-avt-cameras #imgAbove .imgText ul {
    position: static;
    max-width: 100%;
    margin-top: 7px;
  }

  .accordion .headerGroup {
    height: auto;
  }

  .accordion .headerGroup span:first-of-type {
    width: 90%;
    display: block;
  }

  #imgAbove .imgText {
    top: 0;
  }

  .imgText h1 {
    font-size: 2em;
  }

  .filterForm input[type="button"] {
    width: 48%;
  }

  .cameraTabs {
    padding-left: 10px;
  }

}

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

    .sliderTextLeft {
        background-color: #eeeeee;
        background-image: none;
        background-position: left top;
        background-repeat: repeat-x;
        float: left;
        height: 49px;
        max-width: inherit;
        padding: 10px 0 0 20px;
        position: relative;
        width: 320px;
    }


    .sliderTextLeft:before {
        border-color: transparent #eeeeee;
        border-style: solid;
        border-width: 0 0 60px 30px;
        content: "";
        display: block;
        height: 0;
        position: absolute;
        right: -30px;
        top: 0;
        width: 0;
    }

    .sliderTextRight {
        background-image: none;
        float: none;
        height: inherit;
        width: inherit;
    }


  #povSlider  .sliderTextLeft{
    background: none;

  }

  #povSlider  .sliderTextLeft:before{
    display:none;
  }


  .teaser  {
        width: 340px;
    }



    .teaser .column {
        margin: 0 auto;
        width: 170px;
    }

  .tx-avt-cameras > .filterForm .text {
    width: 100%;
  }

  .rowCell:first-of-type {
    margin-right: auto;
    width: auto;
  }

  .rowCell:last-of-type {
    text-align: right;
    width: auto;
  }

  .rowCell {
    padding-top: 2em;
    display: block;
  }

  .filterForm .form div.filterRow {
    display: block;
    height: auto;
  }

  #productOptions {
    display: none;
  }

  .tx-solr .tx-solr-search-form .tx-solr-q {
    width: 50%;
  }

  .tx-avt-cameras > .filterForm .form > div > div {
    display: block;
    width: 100%;
    height: auto;
  }

  .tx-avt-cameras > .filterForm .form > div > div:nth-of-type(2) {
    padding: 2em 0 0;
    width: 100%;
  }

  .tx-avt-cameras > .filterForm #productOptions {
    top: 54px;
    right: auto;
  }

  .tx-avt-cameras > .filterForm .form > div:nth-of-type(3) > div:nth-of-type(2),
  .tx-avt-cameras > .filterForm .form > div:nth-of-type(4) > div:nth-of-type(2) {
    display: none;
  }

  .tx-avt-cameras > .filterForm input[type=button]:last-of-type {
    width: 100%;
    margin-top: 2em;
  }

  #logo {
    max-width: none;
  }

  #logo img {
    max-width: 260px;
    width: 74%;
  }

  #imgAbove img {
    min-height: auto;
    min-width: auto;
  }

  #imgAbove .imgText h1 {
    font-size: 2em;
  }

  #imgAbove .imgText {
    position: static;
    margin-left: 15px;
  }

  .tx-avt-cameras #imgAbove .imgText ul {
    position: static;
  }

  .similarCamerasHeading {
    height: auto;
    line-height: 26px;
    width: auto;
    padding-left: 15px;
    padding-top: 10px;
  }

  .similarCamerasHeading div {
    position: static;
  }

  .similarCamerasHeading div span {
    display: none;
  }

  .similarCamerasHeading div a {
    display: block;
  }

  .tabMenu li {
    display: block;
  }

  .tabMenu li:last-child {
    border-bottom: 1px solid #e6e6e6;
  }

  .cameraTabs {
    padding-left: 0px;
  }

  #content {
    margin: 0 15px 20px;
  }

  .filterForm .form span {
    font-size: 14px;
    background-position: 98% 48%;
    background-size: 13px;
  }

  .filterForm .form .up {
    font-size: 14px;
    background-position: 98% 48%;
    background-size: 13px;
  }

  .filterForm ul li {
    font-size: 14px;
  }

  .tx-avt-cameras .table > div > div:nth-of-type(2) {
    display: none;
  }

  .tx-avt-cameras .table > div > div:nth-of-type(5) {
    display: none;
  }

  .camera.result > div:nth-child(2) {
    display: none;
  }

  .camera.result > div:nth-child(5) {
    display: none;
  }

  .filterForm input[type="button"] {
    width: 100%;
  }

  .form div:last-of-type > div:last-of-type input {
    box-sizing: border-box;
    margin-top: 1em;

  }

  .searchLastRow {
    margin-top: 0px;
  }

  #mainNavi .copyright {
    top: -41px;
  }

  #logo {
    padding-left: 6px;
  }

  #navigation {
    min-height: auto;
  }

  .Hamburger {
    margin-right: 10px;
  }

  #page-2 h1 {
    padding-left: 0px;
  }

  #page-2 .bodytext {
    padding-left: 0px;
  }

  #mainNavi > .metaNavi .metaLinks {
    margin-top: 20px;
    width: 100%;
  }

  #mainNavi > .metaNavi .metaLinks > .first a {
    padding-left: 0;
  }

  nav#mainNavi > .footerRight {
    top: -64px;
    position: relative
  }

}

/* === max. 480px portrait ================================= */
@media only screen and (max-device-width: 480px) and (orientation: portrait) {

  .tx-solr .tx-solr-search-form .tx-solr-q {
    width: 50%;
  }

  .metaLinks {
    display: none;
  }

  .sliderText {
    bottom: 20px;
    position: absolute;
  }

  #logo {
    left: 29px;
    top: 29px;
    width: 81%;
  }

  #page-2 .teaser {
    width: 225px;
  }

  #page-2 .text {
    width: 240px;
  }

  #page-2 .column {
    margin: 0 auto;
    width: 128px;
  }

  #page-2 .teaser a img {
    height: 100px;
    width: 100px;
  }

  #page-2 .teaser p {
    font-size: 1em;
  }

  #page-2 .row {
    margin: 20px -30px;
  }

  h2 {
    font-size: 1.25em;
    letter-spacing: 0.25px;
    word-spacing: 1px;
  }

  h3 {
    font-size: 1.25em;
    letter-spacing: 0.25px;
    word-spacing: 1px;
  }

  h4 {
    font-size: 1.25em;
  }

  h5 {
    font-size: 1.25em;
  }

}

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

  .tx-avt-cameras > .filterForm #productOptions {
    top: 75px !important;
  }

}
