﻿.digibutton {
    border: 1px solid #eaeaea;
    background: #fff;
    box-shadow: inset 0 0 1px #fff;
    padding: 5px 30px;
    color: #555;
    text-transform: uppercase;
    font-weight: bold;
    height: 37px;
    margin: 10px;
    width: 200px;
    max-width: 100%;
    vertical-align: middle;
}

.extendedRenderWrapper-details {
    display: table;
    width: 50%;
    margin-top: 5%;
}

.extendedRenderDetails {
    display: table-row;
    font-size: 15px;
}

.extendedRenderDetailsName {
    display: table-cell;
    float: left;
    font-weight: bold;
}

.extendedRenderDetailsValue {
    display: table-cell;
    float: right;
}

.product-specs-box table {
    table-layout: fixed;
}

.spec-value img {
    max-height: 250px;
    max-width: 100%;
}

.spec-value a {
    font-weight: normal;
    color: #004b93;
}

.digi-byline-logo {
    vertical-align: middle;
    margin-top: -5px;
    fill: #EF6821;
    width: 25px;
    height: 25px;
}

/*NobbDocument*/
.nobbDocus {
    color: #004b93;
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
    border-style: solid;
    border-color: #3a745d;
    border-width: thin;
    width: 50%;
    padding: 2px;
    cursor: pointer;
    padding: 5px;
    border-radius: 2px;
}

@media (max-width: 770px) {
    .nobbDocus {
        width: 100%;
    }

    .attribute-custom-1, .attribute-custom-2 {
        grid-column: span 2
    }

}

.attribute-custom-2:first-child {
    grid-column: span 2
}

.arrow-right {
    width: 0;
    height: 0;
    border-left: 10px solid #004b93;
    float: right;
    margin-right: 10px;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    position: relative;
    top: 2px;
}

.arrow-down {
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 10px solid #004b93;
    float: right;
    margin-right: 10px;
    margin-top: 5px;
}
/*End nobbdocument*/

/* Hide sublist in category menu */
@media (min-width: 1025px) {
    .contact-us-table td {
        padding: 20px;
    }
}

/* Hide sublist in category-view */
.category-page-body .block-category-navigation {
    display: none;
}

a.with-subcategories:hover {
    color: black !important;
}

.outrotext-before-button {
    text-align: center !important;
    margin: 5px;
}

.nobbDocument {
    font-size: 12px;
    color: black;
}

/*More room between header-objects*/
@media (min-width: 1025px) {
    div.header-menu {
        width: 800px !important;
    }
}

/*Changing the location of the button*/
.checkout-page #opc-confirm_order #confirm-order-buttons-container {
    text-align: end;
}

.back-link {
    text-align: left;
}

.item-box .description {
    display: block !important;
    margin: 10px 0 10px;
    line-height: 25px;
}

/* Hiding reference line in cart */
div.cart-collaterals .selected-checkout-attributes {
    display: none !important;
}

/* Prevent line breaks */
.cart-total td {
    width: unset;
}

/* Hiding shipping information and label*/
tr.shipping-cost {
    display: none;
}

li.shipping-method span.label {
    display: none;
}

.pdf-invoice-button {
    display: none !important;
}

.serviceHistoryControlPercentageMarkup {
    display: none;
}

/*Hiding Account.Options resource under customer/info*/
.customer-info-page .fieldset:nth-child(2) {
    display: none;
}

.order-summary-content .checkout-attributes #checkout_attribute_label_3,
.order-summary-content .checkout-attributes #checkout_attribute_input_3 {
    /*min-width: 250px;*/
}

.order-summary-content .checkout-attributes #checkout_attribute_label_3 {
}

.order-summary-content .checkout-attributes #checkout_attribute_input_3 {
    margin-top: 10px;
}

#checkout_attribute_input_3 textarea {
    min-width: 350px;
    width: 100% !important;
}

@media screen and (max-width: 1280px) {
    .order-summary-content .checkout-attributes #checkout_attribute_label_3,
    .order-summary-content .checkout-attributes #checkout_attribute_input_3 {
        margin-left: 0;
    }

    .order-summary-content .checkout-attributes #checkout_attribute_label_3 {
        margin-top: 15px;
    }

    #checkout_attribute_input_3 textarea {
        min-width: 300px;
    }

    .order-summary-content .checkout-attributes #checkout_attribute_input_3 {
        margin-top: 10px;
    }
}

@media screen and (max-width: 770px) {
    .order-summary-content .checkout-attributes #checkout_attribute_label_3,
    .order-summary-content .checkout-attributes #checkout_attribute_input_3 {
        margin: auto;
    }

    .order-summary-content .checkout-attributes #checkout_attribute_label_3 {
        margin-top: 15px;
    }

    .order-summary-content .checkout-attributes #checkout_attribute_input_3 {
        margin-top: 10px;
    }

    #checkout_attribute_input_3 textarea {
        margin: auto;
        min-width: 172px;
    }
}


/* HEADER */
/* Logo */
.header-logo a img {
    max-width: none;
    max-height: 60px;
}

@media (max-width: 1024px) {

    .header .header-logo {
        height: 70px;
        line-height: 70px;
    }

    .admin-header-links ~ .master-wrapper-content {
        margin-top: 160px;
    }

    .master-wrapper-content {
        margin-top: 118px;
    }
}

/* Hide (Nobb) Full description (Deactivate QuickTabs Full Description) */
.product-collateral {
    display: none;
}


/* START: Text and buttons on product details page for non-customers */
.no-add-to-cart-info {
    font-weight: bold;
    color: red;
    font-size: 16px;
    margin: 20px 0;
}

.no-add-to-cart-buttons a:first-child {
    margin-right: 20px;
}

.cust-action-button {
    display: inline-block;
    color: #fff;
    background-color: #004b93;
    padding: 15px 30px;
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    outline: 1px solid transparent;
    transition: all 0.2s ease;
}

.cust-action-button:hover {
    outline: 1px solid #004b93;
}
/* END: Text and buttons on product details page for non-customers */

/* START: Custom contact page */
.contact-page .page-body {
    max-width: unset;
    margin: auto;
    border: none;
    background-color: transparent;
}

.contact-page .topic-block {
    margin: 0;
    background-color: transparent;
    padding: 0;
    text-align: center;
}

.contact-page .page-body form {
    background-color: #fff;
}

.general-contact-info {
    text-align: left;
}

.general-contact-info p {
    margin-bottom: 10px;
    font-size: 16px;
}

.general-contact-info p a {
    text-decoration: none;
    color: #004b93;
}

.ansatte-heading, contact-heading {
    margin: 50px 0 30px;
    border-bottom: 1px solid #ddd;
    padding: 0 0 10px;
    text-transform: uppercase;
    margin-top: 50px;
    text-align: left;
    color: #000;
}

.ansatte {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    margin: 30px 0;
    text-align: center
}

@media only screen and (max-width: 1024px) {
    .ansatte {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media only screen and (max-width: 768px) {
    .ansatte {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 480px) {
    .ansatte {
        grid-template-columns: repeat(1, 1fr);
    }
}

.ansatt {
    background: #fff;
    padding: 15px;
    /*box-shadow: 0 4px 8px rgba(0,0,0,0.1);*/
}

.ansatt_bilde {
    max-width: 100%;
}

.ansatt h3 {
    margin: 10px;
    color: #000;
    font-weight: 600;
    text-transform: uppercase;
}

.ansatt_tittel {
    font-style: italic;
    font-weight: 500;
    margin-bottom: 10px;
}

p.ansatt_telefon, p.ansatt_epost {
    margin: 0;
}

.ansatt_telefon a {
    position: relative;
    padding: 0 0 0 25px;
    text-decoration: none;
    color: #004b93;
}

.ansatt_epost a {
    position: relative;
    padding: 0 0 0 25px;
    text-decoration: none;
    color: #004b93;
}

.ansatt_telefon a:before, .ansatt_epost a:before {
    content: "";
    position: absolute;
    top: 2px;
    left: 0;
    width: 16px;
    height: 16px;
    background-color: #004b93;
    background-image: url(/Themes/Pavilion/Content/img/contact-sprite.png);
    background-repeat: no-repeat;
}

.ansatt_telefon a:before {
    background-position: center -33px;
}

.ansatt_epost a:before {
    background-position: center -17px;
}
/* END: Custom contact page */

/* START: Footer trust badges */
.footer-block .list.image-list {
    padding: 0;
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-block .list.image-list li {
    padding: 10px;
    display: flex;
    width: 50%;
    padding: 0 10px 20px 10px;
    justify-content: center;
}

.footer-block .list.image-list li img {
    object-fit: contain;
    max-height: 100px;
    max-width: 100%;
}

@media (max-width: 1024px) {
    .footer-block.footer-block-image-list {
        width: 75%;
        margin: 0 auto;
    }

    .footer-block .list.image-list {
        margin: 40px 0;
        flex-wrap: nowrap;
        background: transparent;
        border: none;
    }

        .footer-block .list.image-list li {
            padding: 10px;
            display: flex;
            width: 50%;
            justify-content: center;
            align-items: center;
        }
}
/* END: Footer trust badges */

.cart-collaterals .checkout-attributes {
    margin: 0 0 40px 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.cart-collaterals #checkout_attribute_label_3,
.cart-collaterals #checkout_attribute_input_3 {
    margin-top: 0;
}

.cart-collaterals #checkout_attribute_2 {
    width: 100%;
}

/* START: Change storeButton styling */
.header-menu > ul > li.change-storebutton-styling > a, .header-menu > ul > li.change-storebutton-styling > span {
    color: #d91e18;
}
/* END: Change storeButton styling */

.attribute-custom-3{
    grid-column: span 2;
}

.cart-collaterals .checkout-attributes > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    grid-gap: 10px;
}

.order-summary-content .checkout-attributes #checkout_attribute_input_1 input {
    width: 100%;
}

@media (min-width: 769px) {
    .order-review-data .shipping-info ul {
        margin: 0 0 0 4%;
    }
}

.order-summary-content .info-list {
    min-height: 400px;
}