/* Responsive Container Wrapper / No fixed widths */

body {
    margin: unset !important;
    padding: 0 8px;
}

button.theme-toggle{display:none;}

#wrapper {
    width: auto;
    max-width: 1212px;
    padding-right: 170px;
}

.skyscraper {
    left: unset;
    max-width: 160px;
    right: -178px;
}

.node.teaser a {
    /*display: block;*/
}

.node.teaser .teaser-images,
.node.teaser .mouseover-content a,
.node.teaser .content a {
    /*text-align: center;*/
}

.testbericht-headline {
    position: relative;
    overflow-x: auto;
    height: 185px;
}

.testbericht-headline a:first-child>img {
    width: 572px;
    max-width: unset;
}

.node a>img,
.clear-block a>img,
.node>img,
td.image>img {
    max-width: 100%;
}

tr.row-image>td>a>img,
tr.row-image>td>img {
    max-width: initial;

}

.mouseover-content p {
    /*margin: unset;*/
}

.mouseover-content p:last-child {
    margin: 0.6em 0 1.2em;
}

/* Mobile Menu with OffCanvas */

.menuButton {
    position: relative;
    display: none;
    background: none;
    border: none;
    text-decoration: none;
    padding: 2px 8px;
    margin-bottom: 16px;
}

.menuButton:hover {
    cursor: pointer;
}

.menuButton div {
    width: 26px;
    height: 4px;
    background-color: white;
    margin: 4px 0;
}

.menuButton.closeButton {
    float: right;
    margin-top: 8px;
    margin-right: 8px;
    height: 28px;
}

.menuButton.closeButton div {
    margin: 8px 0;
    background-color: #0075d8;
}

.menuButton.closeButton div:first-child {
    transform: rotate(45deg);
}

.menuButton.closeButton div:last-child {
    position: absolute;
    top: 4px;
    transform: rotate(-45deg);
}

.offcanvas {
    height: calc(100% - 32px);
    width: 0;
    top: 0;
    left: 0;
    background-color: white;
    position: fixed;
    z-index: 3;
    overflow-x: hidden;
    transition: .5s;
    padding: 16px 0;
}

.offcanvas img {
    display: inline-block;
    width: calc(80% - 42px);
    padding-bottom: 16px;
}

.overlay3 {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 3;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.9);
    overflow-y: auto;
    overflow-x: hidden;
    text-align: center;
    opacity: 0;
    transition: opacity 1s;
}

.dropDownMenu ul,
.dropDownMenu li {
    padding: unset;
    margin: unset;
}

.dropDownMenu a {
    display: block;
    color: white;
    background: #85d60e;
    border-bottom: 2px solid white;
    font-size: 16px;
    padding: 4px 16px;
}

.dropDownMenu a:hover {
    background-color: #beec34;
}

.dropDownMenu ul li a {
    padding-left: 32px;
}

.dropDownMenu {
    border-bottom: 6px solid #0075D8;
}

.dropDownMenu .menuparent:not(:first-child)>a {
    border-top: 6px solid #0075d8;
}

.dropDownMenu .menuparent>a:after {
    content: '\25B2';
    position: absolute;
    right: 22px;
}

.menuparent.active>a:after {
    content: '\25BC';
}

.menuparent ul {
    display: none;
}

.menuparent.active ul {
    display: block;
}

/* Vergleichsuebersicht CSS */

.ui-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.content .tabs.ui-tabs-nav li {
    float: unset;
    margin: 8px 8px 0 8px;
    padding: unset;
    flex-grow: 1;
    text-align: center;
}

div[class*='-table'] table {
    width: calc(100% - 20px);
}

.benchmark-row .camera {
    text-align: center;
}

.benchmark-row .camera .camera-image {
    width: unset;
    float: none;
}

#squeeze {
    width: 576px;
}

/* Media Queries for Mobile Views */
@media only screen and (max-width: 1400px) {
    #wrapper {
        padding-right: initial;
        margin: auto;
    }

    .skyscraper {
        display: none;
    }
}

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

    #squeeze {
        width: inherit;
    }

    #slider .slider-slides {
        height: 195px;
    }
}

@media only screen and (min-width: 1012px) and (max-width: 1400px) {

    #squeeze {
        width: inherit;
    }

    #slider .slider-slides {
        height: calc((100vw - 540px) * 122 / 565 + 31px + 40px);
    }
}

@media only screen and (min-width: 1012px) and (max-width: 1224px) {

    #wrapper #container #sidebar-right,
    #wrapper #container #sidebar-left {
        width: 250px;
    }

    #squeeze {
        width: inherit;
    }

    #container #sidebar-right .block,
    #container #sidebar-left .block {
        width: 228px;

    }

    #testbericht-sidebar-details .roundbutton {
        width: 102px;
    }

    #testbericht-sidebar-details .roundbutton a {
        width: 102px;
    }

    #navbar ul.nice-menu {
        max-width: 68vw;
        position: static;
        display: flex;
        flex-wrap: wrap;
        padding-left: .5em;
    }

    .navbar {
        background: url(https://www.dkamera.de/static/images/navbar.png) repeat-x left bottom;
        height: 76px;
        padding: 1px;
        margin-bottom: 11px;
        padding-bottom: 1px;
        clear: both;
        position: relative;
        z-index: 5;
        border: none;
        background-color: #95e71d;
    }

    .navbar .bgr {
        background: url(https://www.dkamera.de/static/images/navbar-r.png) no-repeat right bottom;
        height: 78px;
        position: absolute;
        width: 10px;
        top: 0;
        right: 0;
    }

    .navbar .bgl {
        background: url(https://www.dkamera.de/static/images/navbar-l.png) no-repeat left bottom;
        height: 78px;
        position: absolute;
        width: 10px;
        top: 0;
        left: 0;
    }

    .buy-teaser .content .columns {
        background: none;
    }

}

@media only screen and (min-width: 735px) and (max-width: 1012px) {


    #wrapper #container #sidebar-right {
        width: 250px;
    }

    #wrapper #container #sidebar-right,
    #nice-menu-0 {
        display: block;
    }

    #squeeze {
        width: inherit;
    }

    #container #sidebar-right .block {
        width: 228px;

    }

    #testbericht-sidebar-details .roundbutton {
        width: 102px;
    }

    #testbericht-sidebar-details .roundbutton a {
        width: 102px;
    }

    #navbar ul.nice-menu {
        order: 1;
        max-width: 68vw;
        position: static;
        display: flex;
        flex-wrap: wrap;
        padding-left: .5em;
    }

    .navbar {
        background: url(https://www.dkamera.de/static/images/navbar.png) repeat-x left bottom;
        height: 76px;
        padding: 1px;
        margin-bottom: 11px;
        padding-bottom: 1px;
        clear: both;
        position: relative;
        z-index: 5;
        border: none;
        background-color: #95e71d;
    }

    .navbar .bgr {
        background: url(https://www.dkamera.de/static/images/navbar-r.png) no-repeat right bottom;
        height: 78px;
        position: absolute;
        width: 10px;
        top: 0;
        right: 0;
    }

    .navbar .bgl {
        background: url(https://www.dkamera.de/static/images/navbar-l.png) no-repeat left bottom;
        height: 78px;
        position: absolute;
        width: 10px;
        top: 0;
        left: 0;
    }
}

@media only screen and (max-width: 734px) {
    #wrapper>#container {

        display: flex;
        flex-direction: column;
    }

    #wrapper #container #sidebar-right {
        display: block !important;
        order: 2
    }

    #footer2 {
        order: 3;
    }

    #footer {
        order: 4;
    }

    #wrapper #container #sidebar-left,
    #nice-menu-0 {
        display: none;
    }

    #header-banner>.banner {
        display: none;
    }

    .skyscraper {
        display: none;
    }

    .teaser-images>a:first-child {
        max-width: 45%;
    }

    .teaser-images>a:last-child {
        max-width: 100%;
    }

    .teaser-images>a+a {
        max-width: 45% !important;
        margin-left: 8px;
    }

    h2#title+.teaser-images>a:first-child {
        max-width: 100%;
    }

    .teaser-images>a+br+a {
        max-width: 100% !important;
        margin-left: 0px;
    }

    .testbericht.seite-30 .technik-bilder {
        max-width: 100%;
    }

    .testbericht.seite-30 .technik-bilder .technik-bild.left {

        border-right: 0px !important;
        padding-right: 0px !important;
        width: 98% !important;
        display: block;
        border-top: none;
        margin: 0 auto;

    }

    .testbericht.seite-30 .technik-bilder .technik-bild.right {
        border-left: 0px !important;
        padding-left: 0px !important;
        width: 98% !important;
        display: block;
        border-top: none;
        margin: 0 auto;
    }

    td.select-szenario select {
        width: inherit !important;
    }

    .testbericht.seite-100 table,
    .testbericht.seite-60 table,
    .testbericht.seite-70 table,
    .testbericht.seite-80 table,
    .testbericht.seite-90 table {
        max-width: 95vw !important;

    }

    .testbericht.seite-110 div.node>p>img,
    .testbericht.seite-120 div.node>p>img {
        max-width: 95vw;
    }


    .buy-teaser-small .price-line {
        max-width: 39vw !important;
    }

    .buy-teaser .content .columns {
        background-size: contain;
    }

    div.vorderansicht::after {
        background-color: transparent;
    }

    .bildqualitaet table {
        max-width: unset !important;
    }

    #squeeze {
        width: inherit;
    }

    .menuButton {
        display: inline-block;
    }

    #slider .slider-slides {
        height: calc((100vw - 16px) * 122 / 565 + 31px + 46px);
    }

    #searchbox {
        display: inline-flex;
        width: calc(100% - 50px);
        justify-content: center;
        float: none;
        margin: unset;
    }

    #searchbox .form-item,
    #searchbox .roundbutton {
        position: relative;
        display: inline-block;
        right: unset;
        top: -5px;
    }

    /* Vergleichsuebersicht */
    div[class*='-table'] table {
        margin-top: 64px;
    }

    div[class*='-table'] .top-options .kategorie-select {
        position: relative;
        top: unset;
        right: unset;
    }

    div[class*='-table'] .top-options .kategorie-select label {
        display: inline-block;
        width: calc((100% - 20px) / 3);
        text-align: center;
    }

    div[class*='-table'] .top-options .kategorie-select,
    .div[class*='-table'] .top-options .search {
        padding: 4px 10px;
    }

    .content .tabs.ui-tabs-nav li.ui-tabs-selected {
        margin-top: 8px;
    }

    /* Testuebersicht */
    .testbericht-uebersicht-table table td.image {
        width: 25%;
    }

    .testbericht-uebersicht-table table td.price {
        width: 20%;
    }

    /* Kaufberatung */
    #empfehlung-kameratyp a {
        float: left;
        width: calc((50% - 22px));
    }

    /* BildqualitÃ¤t */
    .bildqualitaet table,
    .testbericht.seite-60 table,
    .testbericht.seite-70 table,
    .testbericht.seite-80 table,
    .testbericht.seite-90 table,
    .testbericht select.full {
        width: 100%;
    }

    .select-szenario select {
        width: 100% !important;
    }

    .select-typ img {
        max-width: 31% !important;
    }

    .buy-teaser .content .columns .col-2 {
        width: 32% !important;
        text-align: center;
    }

    .buy-teasers.content {
        padding: 12px 0px;
    }

}

@media only screen and (max-width: 575px) {
    #film {
        position: relative;
        max-width: 100%;
        background-size: contain;
    }

    #film>img {
        max-width: 100%;
    }

    .buy-teaser .content .columns {
        background: none;
    }

    .content-tabs-top-testbericht .content-tabs-content {
        background-size: 100% 100%;
        min-height: 60px;
    }

    .content-tabs-top-testbericht .content-tabs-content .next-page,
    .content-tabs-bottom-testbericht .content-tabs-content .next-page {
        float: right;
        top: initial;
        bottom: 10px;
    }

    .content-tabs-top-testbericht .content-tabs-content .previous-page,
    .content-tabs-bottom-testbericht .content-tabs-content .previous-page {
        float: left;
        bottom: 10px;
        top: inherit;
    }

    .content-tabs-bottom-testbericht .content-tabs-content {
        background-size: 100% 100%;
        min-height: 60px;
    }

    .content-tabs-bottom-testbericht {
        padding-top: 60px;
    }

    .content-tabs-bottom-testbericht .content-tabs-content .select-page {
        bottom: 30px;
    }


    .testbericht-headline {
        display: none;
    }

    .buy-teaser .content.more-prices .columns .col-2.vorderansicht,
    .buy-teaser .content .columns .col-2.vorderansicht {
        width: 178px;
        max-width: 99%;
        margin-right: 0px;
        min-height: 105px;
    }

    .buy-teaser .content.more-prices .columns .col-2.vorderansicht::after,
    .buy-teaser .content .columns .col-2.vorderansicht::after {
        width: 0px;
    }

    .buy-teaser .content.more-prices .columns .col-2.rueckansicht,
    .buy-teaser .content .columns .col-2.rueckansicht,
    .buy-teaser .content .columns .col-2.bewertung {
        width: 199px;
        max-width: 99%;
        margin-right: 0px;
        padding-left: 4px;
        min-height: 105px;
    }

    .buy-teaser .content.more-prices .columns .col-2.rueckansicht::after,
    .buy-teaser .content .columns .col-2.rueckansicht::after,
    .buy-teaser .content .columns .col-2.bewertung::after {
        width: 0px;
    }

    .buy-teaser .content .columns .col-2,
    .buy-teaser .content.more-prices .columns .col-2 {
        width: 99% !important;
        text-align: center;
    }

    .buy-teaser .content .columns .col-2.last {
        /* width: 154px; */
        font-size: 16px;
        max-width: 99%;
        padding-left: 3px;
        min-width: 30%;
    }

    /* NEW: Layoutfix beste Kameras */
    .buy-teaser.kamera .columns {
        display: block;
        place-items: center;
    }
}

.check_warn {
    color: red;
}

@media only screen and (min-width: 1012px) and (max-width: 1224px) {

    .buy-teaser .content.more-prices .columns .col-2.vorderansicht,
    .buy-teaser .content .columns .col-2.vorderansicht {
        width: 178px;
        max-width: 99%;
        margin-right: 0px;

        min-height: 105px;
    }

    .buy-teaser .content.more-prices .columns .col-2.vorderansicht::after,
    .buy-teaser .content .columns .col-2.vorderansicht::after {
        width: 0px;
    }


    .buy-teaser .content.more-prices .columns .col-2.rueckansicht,
    .buy-teaser .content .columns .col-2.rueckansicht,
    .buy-teaser .content .columns .col-2.bewertung {
        width: 199px;
        max-width: 75%;
        margin-right: 0px;
        padding-left: 4px;
        min-height: 105px;
    }

    .buy-teaser .content.more-prices .columns .col-2.rueckansicht,
    .buy-teaser .content .columns .col-2.rueckansicht::after,
    .buy-teaser .content .columns .col-2.bewertung::after {

        width: 0px;

    }


    .buy-teaser .content .columns .col-2,
    .buy-teaser .content.more-prices .columns .col-2 {
        width: 99% !important;
        text-align: center;
    }

    .buy-teaser .content .columns .col-2.last {
        /* width: 154px; */
        font-size: 16px;
        max-width: 99%;
        padding-left: 3px;
        min-width: 30%;
    }

}

/* NEW: Layoutfix beste Kameras */
/* The cameras are displayed vertically in one column to allow sufficient space */
@media only screen and (min-width: 1012px) and (max-width: 1140px) {
    .buy-teaser.kamera .columns {
        display: block;
        place-items: center;
    }
    
}

@media only screen and (min-width: 735px) and (max-width: 812px) {
    .buy-teaser.kamera .columns {
        display: block;
        place-items: center;
    }
}

/* Divider lines are temporarily hidden in tight layouts to ensure a clean appearance */
@media only screen and (min-width: 734px) and (max-width: 850px) {
    .buy-teaser .content .columns {
        background: none;
    }
}

@media only screen and (min-width: 930px) and (max-width: 1012px) {
    .buy-teaser .content .columns {
        background: none;
    }
}

