/* Header --------------------------------------------------------------------------------------------------------------------- */

.compare .header {
    padding-bottom: 20px;
    border-bottom: 2px solid #013299;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: white;
    z-index: 1;
}

.compare .content-table {
    padding-top: 160px;
}

.compare .header .hf-wrapper {
    border-left: 3px solid rgba(255, 255, 255, 0);
}

.compare .header .stripe {
    height: 20px;
    background-color: #013299;
    margin-bottom: 44px;
}

.compare table {
    max-width: 100vw;
    width: 100%;
    border-collapse: collapse;
}

.compare button.back {
    width: 30px;
    height: 30px;
    display: inline-block;
    background-image: url(../../Icons/productcompare/close.svg);
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 5px;
    transition: opacity ease-in-out 0.2s;
    background-color: transparent;
    border: none;
}

.compare button.back:hover {
    opacity: .5;
    transition: opacity ease-in-out 0.2s;
}
.compare button.pdf {
    margin-right: 50px;
    transition: all ease-in-out 0.2s;
}

.compare button.pdf:hover {
    transition: all ease-in-out 0.2s;
}

.compare button.removeMovement {
    width: 15px;
    height: 15px;
    display: inline-block;
    background-image: url(../../Icons/productcompare/close.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 12px 12px;
    margin-top: 5px;
    transition: opacity ease-in-out 0.2s;
    background-color: transparent;
    border: none;
    position: absolute;
    right: 0;
    top: 0;
}

.compare button.removeMovement:hover {
    opacity: .5;
    transition: opacity ease-in-out 0.2s;
}


/* Content -------------------------------------------------------------------------------------------------------------------- */

a.product-link {
   font-size: 16px;
}

img.qrcode {
    margin-top: 15px;
    max-width: 30%;
}

.compare p {
    margin: 0 0 8px 0;
    text-wrap: initial;
    white-space: normal;

}

.compare p.label {
    margin: 0;
    font-weight: bold;
    font-size: .85em;
    display: none;
}

tr > td {
    -ms-flex-preferred-size: 25%;
    flex-basis: 25%;
    max-width: 25%;
}

.results-3 tr > td {
    width: 25%;
    min-width: 200px;
}

.results-2 tr > td {
    width: 33%;
    min-width: 200px;
}

.results-1 tr > td {
    width: 50%;
    min-width: 200px;
}

.compare tr td {
    border-left: 1px solid rgba(1, 50, 153, 0.5);
    border-top: 0;
    border-bottom: 0;
    padding: 0 10px 1px;
    position: relative;
    flex: 1 1 0;
    -webkit-flex: 1 1 0;
}

.compare tr td:first-of-type {
    border-left: none;
    padding-top: 0px;
}

.compare .divider {
    margin: 37px 0;
    border-bottom: 1px solid rgba(1, 50, 153, 0.5);
}

.compare .spacer {
    height: 30px;
    width: 100%;
    display: block;
}

.compare .title {
    margin-bottom: 30px;
    padding-left: 10px;
}

.compare .image1 {
    max-width: 280px;
    margin: auto;
}

.compare .image2 img{
    aspect-ratio: 1 / 1;
}
.compare .image2 {
    margin: auto;
    max-width: 140px;
    padding-bottom: 20px;
    min-width: 100px;
    width: 50%;
}

.hfronda_compare {
    display: table;
}

#clearCompare {
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    text-transform: none;
    color: rgb(90, 87, 88);
    border-radius: 14px;
    padding: 0 0 0 10px;
    margin-right: 10px;
    margin-bottom: 20px;
    white-space: nowrap;
    float: right;
    cursor: pointer;
}

#clearCompare:hover {
    color: rgb(90, 87, 88) !important;
}

#clearCompare::before {
    content: "";
    background-image: url("../../Icons/productfinder/reset.svg");
    background-position: center;
    background-repeat: no-repeat;
    transform: rotate(45deg);
    position: absolute;
    width: 20px;
    height: 20px;
    left: -15px;
    top: 1px;
    transition: all .5s ease-in-out;
}

#clearCompare:hover::before {
    transform: rotate(225deg);
    transition: all .3s ease-in-out;
}


/* Mobile --------------------------------------------------------------------------------------------------------------------- */


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

    .compare .results-4 table td:first-of-type {
        display: none !important;
    }
    .compare .results-4 td:nth-child(-n+2) {
        border-left: none;
    }

    .compare .results-4 p.label {
        display: block !important;
    }

}

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

    .content {
        overflow: scroll;
        overflow-y: hidden;
    }

    .content .hf-wrapper {
        white-space: nowrap;
    }

    .compare .results-3 p.label {
        display: block !important;
    }

    .compare .results-3 table td:first-of-type {
        display: none;
    }

    .compare .results-3 td:nth-child(-n+2) {
        border-left: none;
    }

    .compare .header {
        padding-bottom: 10px;
        margin-bottom: 20px;
    }

    .compare .header .stripe {
        margin-bottom: 15px;
    }

    .compare .content-table {
        padding-top: 120px;
    }

}

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

    .compare .results-2 p.label {
        display: block !important;
    }

    .compare .results-2 table td:first-of-type {
        display: none;
    }

    .compare .results-2 td:nth-child(-n+2) {
        border-left: none;
    }

}

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

    .compare p.label {
        display: block !important;
    }

    .compare .header {
        padding-bottom: 10px;
        margin-bottom: 20px;
    }

    .compare .header .stripe {
        margin-bottom: 15px;
    }

    .compare .content-table {
        padding-top: 100px;
    }

    .compare table td:first-of-type {
        display: none;
    }

    .compare button.back {
        width: 25px;
        height: 25px;
        display: inline-block;
        background-image: url(../../Icons/productcompare/close.svg);
        background-size: 15px 15px;
        background-position: center;
        background-repeat: no-repeat;
        margin-top: 0px;
        transition: opacity ease-in-out 0.2s;
    }

    .compare tr td {
        border-left: none;
    }


}

@media print {

    .compare p.label {
        font-size: 1em;
    }

    body {
        font-size: 70%;
        -webkit-font-feature-settings: "lnum" 1;
    }

    .compare .header .stripe {
        display: none;
    }

    .compare .header {
        padding-bottom: 0px;
        margin-bottom: 20px;
    }

    .pdf {
        display: none;
    }

    .compare .content-table {
        padding-top: 20px;
    }

    .compare .header {
        position: relative;
    }

    .results-3 tr > td{
        width: 25%;
    }

    .results-2 tr > td{
        width: 33.333%;
    }

    .results-1 tr > td{
        width: 50%;
    }

    .compare p.label {
        display: none;
    }

    .product_group {
        page-break-inside: avoid;
        break-inside: avoid-page;
    }

    h2, h3, h4, h5, h6 {
        font-weight: 600 !important;

        letter-spacing: 1px;
    }

    strong, b, .compare p.label {
        font-weight: 600 !important;
    }

    p {
        font-weight: 200 !important;
    }


    .results-1 .image2 {
        min-width: 241.6px;
    }

    .results-1 .image2 > img {
        width: 100% !important;
        height: 120.8px !important;
    }

    .results-2 .image2 {
        min-width: 241.6px;
    }

    .results-2 .image2 > img {
        width: 100% !important;
        height: 120.8px !important;
    }

    .results-3 .image2 {
        min-width: 181.2px;
    }

    .results-3 .image2 > img {
        width: 100% !important;
        height: 90.6px !important;
    }
    .compare .image1 {
        max-width: unset;
    }


    .compare [class*="hf-wrapper"] {
        border: 0 !important;
    }

    #clearCompare {
        display: none;
    }

  img.qrcode {
	max-width: 100px;
	width: 100px;
  }

    .compare .header .hf-wrapper {
        max-width: 100%;
            width: 100%;
    }

}


