/* 
 Theme Name:     Sverre Hellum & Sønn AS
 Author:         Sverre Hellum & Sønn AS
 Author URI:     https://dev3.prpr.no/
 Template:       Divi
 Version:        4.10.8
 Description:   A Child Theme built using the elegantmarketplace.com Child theme maker
Developed by Andrew Palmer for Elegant Marketplace www.elegantmarketplace.com Free to use and duplicate as many times as you like
 Wordpress Version: 5.7.4
*/


/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */



/*Styling the Reset variation button*/
.reset_variations {
    float: left !important;
    margin: 2em 0 1em 0 !important;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 4px;
    transition: .2s ease !important;
    transform: scale(1.2);
}

/*Hover Styling the Reset variation button*/
.reset_variations:hover {
    box-shadow: 0px 5px 20px #0000001f;
    transform: scale(1.5)
}

/* Endrer fargen på pristeksten til produktene og fontstørrelsen*/
p.price .woocommerce-Price-amount.amount {
    color: #5d4d92 !important;
}

#top #wrap_all p.price .woocommerce-Price-amount.amount {
    font-size: 18px;
}

/* Submit Button Gravity Forms
-----------------------------*/
body .gform_wrapper .gform_footer input[type=submit],
.hellum-inquiry-btn {
    color: #FFFFFF !important;
    background: #5d4d92 !important;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    /* float: left; */
    /* height: 30px; */
    min-width: 80px;
    border: none;
    border-radius: 0px;
    margin-left: 0px;
    transition: 0.3s;
}

body .gform_wrapper .gform_footer input:hover[type=submit] {
    transform: scale(1.05)
}

button.hellum-inquiry-btn.button.alt {
    color: #FFFFFF !important;
    background: #5d4d92 !important;
}





/*---- Styling for Accordion for produkter med vedlegg, teknisk data etc ----*/



.wrap_product_document {
    padding-top: 20px;
}

.wrap_product_document a {
    border-bottom: solid 1px #000;
    padding-bottom: 3px;
}

.wrap_product_document a:hover {
    opacity: 0.8;
}

.file-icon {
    max-width: 18px !important;
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
}

/* ── Send forespørsel button ─────────────────────────────────────────────── */
.hellum-inquiry-btn {
    display: block;
    width: 100%;
    margin-top: 10px;
}

/* ── Inquiry modal ───────────────────────────────────────────────────────── */
#hellum-inquiry-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
}

#hellum-inquiry-modal.is-open {
    display: block;
}

.hellum-inquiry-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.hellum-inquiry-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 6px;
    padding: 36px 32px 28px;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.hellum-inquiry-box h3 {
    margin-top: 0;
}

.hellum-inquiry-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: #444;
    padding: 0;
}

.hellum-inquiry-close:hover {
    color: #000;
}

/* My Account menu icon */
.et_pb_menu_page_id-12>a {
    display: flex !important;
    align-items: center;
    padding: 0 !important;
    line-height: 1 !important;
}

.et_pb_menu_page_id-12>a svg {
    width: 22px;
    height: 22px;
    display: block;
}

.button.single_add_to_cart_button.button.alt {
    margin-top: 0;
}

.et_pb_module_inner {
    padding-top: 15px;
}