/*** resetting CSS margin: remove default margin on text tags ***/
* {
  margin: 0;
}

/***Fjerner 30padding på alt***/
.vce {
    margin-bottom: 0px !important;
}

/***background-all-page***/
body {
    background: var(--reed-90);
}


/***ROOT VARIABLES FOR COLOR***/

:root {
    --reed: #C82026;
    --reed-90: #FEF5F0;
    --grey: #2E3A4F;
    --white: #ffffff;   
    --reed-up-20: #a01a1e;
}


/***size of webpage***/
.dtx-wrap, 
.vcv-header>.vce-row-container>.vce-row[data-vce-full-width=true]:not([data-vce-stretch-content=true])>.vce-row-content, 
.vcv-footer>.vce-row-container>.vce-row[data-vce-full-width=true]:not([data-vce-stretch-content=true])>.vce-row-content, 
.vcv-footer>[data-vce-boxed-width=true], .vcv-header>[data-vce-boxed-width=true], 
.vcv-content--boxed .entry-content>.vce-row-container>.vce-row[data-vce-full-width=true]:not([data-vce-stretch-content=true])>.vce-row-content, 
.vcv-content--boxed .entry-content .vce-global-template-inner>.vce-row-container>.vce-row[data-vce-full-width=true]:not([data-vce-stretch-content=true])>.vce-row-content{
    max-width: 85% !important;  /**Endra fra 90 til 95**/
    min-width: 85% !important;  /**Endra fra 90 til 95**/
}





/****Generall****/

/***LENKE***/


/**Linker generelt mengetekst**/
/* unvisited link */
a:link {
     color: var(--reed);
}

/* visited link */
a:visited {
  color: var(--grey);
}

/* mouse over link */
a:hover {
  color: var(--reed-up-20);
  text-decoration-style: dotted;
}

/***Kontaktskjema***/

/**kontaktskjema-box**/
.kontakt-form-block {
    background-color: var(--hvit); 
    padding: 80px;
}

/**Kontakt-felt**/
.contact-form select, textarea {
    padding: 6px 8px;
    margin-bottom: 14px;
    margin-top: 4px;
    font: inherit;
    background: var(--white);
    border: 1px solid var(--grey);
    border-radius: 4px; 
    width: 100%;
}

#name {
    padding: 6px 8px;
    margin-bottom: 14px;
    margin-top: 4px;
    font: inherit;
    background: var(--white);
    border: 1px solid var(--grey);
    border-radius: 4px; 
    width: 100%;
}

#email {
    padding: 6px 8px;
    margin-bottom: 14px;
    margin-top: 4px;
    font: inherit;
    background: var(--white);
    border: 1px solid var(--grey);
    border-radius: 4px; 
    width: 100%;
}

#tel {
    padding: 6px 8px;
    margin-bottom: 14px;
    margin-top: 4px;
    font: inherit;
    background: var(--white);
    border: 1px solid var(--grey);
    border-radius: 4px; 
    width: 100%;
}

#img {
    padding: 6px 8px !important;
    margin-bottom: 14px;
    margin-top: 4px;
    font: inherit;
    background: var(--white);
    border: 1px solid var(--grey);
    border-radius: 4px; 
    width: 100% !important;
}

    
.contact-form textarea {
    max-height: 200px !important;
}
    
.contact-form input[type="submit"]{
    background-color: var(--reed); 
    border: none; 
    color: #fff; 
    padding: 15px 30px; 
    margin-top: 20px; 
    cursor: pointer; 
    transition: 0.5s ease; 
    border-radius: 5px; 
    font-weight: 600; 
} 

.contact-form input[type="submit"]:hover{
    background-color: var(--reed-up-20); 
}

/**Padding kontaktskjema**/
.row-colum-kontaktform {
    background-color: var(--white); 
    padding: 80px 80px 80px 80px;
    border-radius: 8px; 
}

@media  (max-width: 1080px){
    .row-colum-kontaktform {
    background-color: var(--white); 
    padding: 60px 60px 60px 60px;
    }
}

@media  (max-width: 475px){
    .row-colum-kontaktform {
    background-color: var(--white); 
    padding: 40px 28px 40px 28px;
    }
}

/***FONTER***/

/*Avoid text overflows*/
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

p {
    margin-bottom: 0em;
}

p {
    font-family: "Poppins", sans-serif;
    font-size: 1em;
    color: var(--grey) !important;
    margin-top: 0;
    line-height: 1.5em;
    font-weight: 400; 
    transition: all 3500ms; 
    white-space: wrap;
}

h1 {
    font-family: "Funnel Display", serif;
    font-size: 3em;
    color: var(--grey);
    margin-top: 0px;
    line-height: 1.3em;
    font-weight: 500;
    white-space: wrap;
    padding-bottom: 24px;
}

.mengde-tekst p {
    color: #000;
}


.alternate-color h1, p {
    color: #fff;
}


@media (max-width: 1300px) {
    h1 {
        font-size: 2.6em;
    }
}

@media (max-width: 1150px) {
    h1 {
        font-size: 2.4em;
    }
}

@media (max-width: 780px) {
    h1 {
        font-size: 2.3em;
    }
}

@media (max-width: 560px) {
    h1 {
        font-size: 1.8em;
    }
}

@media (max-width: 320px) {
    h1 {
        font-size: 1.6em;
    }
}

h2 {
    font-family: "Funnel Display", serif;
    font-size: 1.875em;
    color: var(--grey);
    margin-top: 0;
    font-weight: 600;
    line-height: 1.5em;
    white-space: normal; 
    padding-bottom: 20px;
}

@media (max-width: 1080px) {
    h2 {
        font-size: 1.6em;
    }
}

@media (max-width: 780px) {
    h2 {
        font-size: 1.5em;
    }
}

@media (max-width: 560px) {
    h2 {
        font-size: 1.4em;
    }
}

@media (max-width: 320px) {
    h2 {
        font-size: 1.2em;
    }
}

h3 {
  font-family: "Funnel Display" serif;
  font-size: 1.4em;
  color: var(--black); 
  margin-top: 0;
  line-height: 1.4em;
  padding-bottom: 0px;
  white-space: wrap;
}

@media (max-width: 1024px) {
  h3 {
    font-size: 1.7em;
  }
}

@media (max-width: 780px) {
  h3 {
    font-size: 1.6em;
  }
}

@media (max-width: 560px) {
  h3 {
    font-size: 1.6em;
  }
}

/***adj-font***/ 
.adj-padding-h2-service h2 {
    padding-top: 40px;
}


/***adj-background***/
.adj-background-white {
    background-color: var(--white);     
}

/***Button***/

/**Button-general**/
.u-btn a {
    color: var(--reed);
    background-color: transparent;
    border: 2px solid var(--reed);
    border-radius: 4px;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease; 
    text-decoration: none;
    display: inline-block;
    margin-top: 40px;
}

.u-btn a:hover {
  background-color: var(--reed);
  color: white;
}

/*.u-btn {
    margin-top: 40px;
}*/


.u-btn.adj-reed a {
    color: var(--white);
    background-color: var(--reed);
    border-radius: 4px;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease; 
    text-decoration: none;
    display: inline-block;  
    margin-top: 0px;
    border: none;
}

.u-btn.adj-reed a:hover{
    background-color: var(--reed-up-20); 
    border: none;
}




/***img radius***/ 
.global-img-borderradius img {
    border-radius: 8px; 
}

/***Padding***/
/**Sections**/ 

.padded-section-page-top {
    padding: 120px 0 0 0; 
}

.padded-section-page {
    padding: 120px 0 200px 0; 
}

.padded-section{
    padding: 120px 0 !important; 
}

.padded-section-top{
    padding: 160px 0 0 0 !important; 
}

.padded-section-bottom{
    padding: 0 0 120px 0 !important; 
}

.padded-section-medium{
    padding: 150px 0 !important; 
}

.padded-section-medium-top{
    padding: 150px 0 0 0 !important; 
}

.padded-section-medium-bottom{
    padding: 0 0 150px 0 !important; 
}

.padded-section-big{
    padding: 160px 0 !important; 
}

.padded-section-big-top{
    padding: 160px 0 0 0 !important; 
}

.padded-section-big-bottom{
    padding: 0 0 160px 0 !important; 
}

.padded-section-small{
    padding: 70px 0 !important; 
}

.padded-section-small-top{
    padding: 60px 0 0 0; 
}

.padded-section-small-bottom{
    padding: 0 0 70px 0; 
}

.padded-section-big{
    padding: 160px 0 !important; 
}


@media  (max-width: 1080px){
    .padded-section-big{
        padding: 100px 0 !important; 
    }

    .padded-section-big-bottom{
    padding: 0 0 100px 0 !important; 
    }
    

    .padded-section-big-top{
        padding: 100px 0 0 0 !important; 
    }


    .padded-section{
        padding: 60px 0 !important; 
    }

    .padded-section-bottom{
        padding: 0 0 80px 0 !important; 
    }

    .padded-section-top{
        padding: 80px 0 0 0 !important; 
    }

    .padded-section-full-width{
        padding: 45px 60px !important; 
    }
    
    .padded-section-medium{
        padding: 80px 0 !important; 
    }

    .padded-section-medium-top{
        padding: 80px 0 0 0 !important; 
    }

    .padded-section-medium-bottom{
        padding: 0 0 80px 0 !important; 
    }
    
    .padded-section-small{
        padding: 40px 0 !important; 
    }

    .padded-section-small-top{
        padding: 40px 0 0 0 !important; 
    }

    .padded-section-small-bottom{
        padding: 0 0 40px 0 !important; 
    }        
}


/****Frontpage****/
.frontpage-row-top {
    border-radius: 0px 0px 30px 30px; 
}

/*.row-box-list {
    background-color: var(--white);
    padding: 80px 50px 80px 50px;
    border-radius: 8px;
}*/

.row-box-list p strong {
    font-weight: bold;
    color: var(--reed);
}

/***ikons and tekst***/
.container {
    display: flex;
    align-items: center; /* Center text vertically */
    gap: 10px; /* Space between SVG and text */
}

h3.text {
    font-family: "Funnel Display" serif;
    font-size: 1.2em;
    color: var(--grey); 
    margin-top: 0;
    line-height: 1.4em;
    padding-bottom: 0px;
    white-space: wrap;
    font-weight: bold; 
}

/***padding desktop icons***/
.middel-ikon-tekst {
    padding: 40px 0 40px 0;
}





/****Master****/
.row-img-service-box {
    background-color: white;
    padding: 40px 40px 70px 40px; 
    border-radius: 8px; 
}



/****Under page****/





/****Foooter****/

/***Footer detaljer***/

.vcv-footer .footer {
    background-color: var(--grey) !important;
}


/**h3 headinger**/

.footer {
    padding-top: 120px !important;
    padding-bottom: 120px!important;  
}

@media  (max-width: 1080px){
    .footer {
        padding-top: 60px !important;
    padding-bottom: 60px!important;  
    }
}

.footer h2 {
    font-size: 1.8em;
    color: var(--white);
    padding-bottom: 8px;
    padding-top: 0px; 
    margin-top: 0px;
}

.footer h3 {
    font-family: "Funnel Display", serif;
    font-size: 1.3em;
    color: var(--white);
    padding-bottom: 20px;
}

@media  (max-width: 1024px) {
.footer h3 {
    font-size: 1.2em; 
    }
}

@media  (max-width: 680px) {
.footer h3 {
    font-size: 1.1em; 
    }
}

/**mengdetekst**/
.footer p {
    font-size: 1.0em;
    color: var(--white) !important;  
}

@media  (max-width: 1024px) {
.footer p {
    font-size: 1.0em;
    color: var(--hvit);  
    }
}

@media  (max-width: 680px) {
.footer p {
    font-size: 0.9em;
    color: var(--hvit);  
    }
}

/**linkcolor**/
.footer a {
   color: var(--hvit); 
    line-height: 1.8;
}





.button-container {
    display: flex; /* Puts the buttons on the same line */
    gap: 40px; /* Adds 40px padding between them */
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    color: white;
    border: none;
    cursor: pointer;
}

.btn.first {
    background-color: blue; /* First button color */
}

.btn.last {
    background-color: red; /* Second button color */
}





/***utlystning-page.blikkenslager***/
.container {
    display: flex;
    align-items: center;
    gap: 10px !important;
}


.highlight {
    color: var(--reed);
}

.container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.container {
    display: flex;
    align-items: center;
    gap: 20px;
}

@media  (max-width: 620px){
.container {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex-direction: column;
}
}

.icon {
    width: 46px !important;
    height: 46px !important;
    flex-shrink: 0 !important;
    display: block !important; /* Ensures consistent rendering */
}

.icon2 {
    width: 76px !important;
    height: 76px !important;
    flex-shrink: 0 !important;
    display: block !important; /* Ensures consistent rendering */
}





/***Bilde med blokk***/

/**boks med hvit på bilde .Page-Serviceavtale**/
.colm-box-white-serviceavtaler {
    position: relative;
    margin-top: -90px !important;
}

@media  (max-width:710px){
.colm-box-white-serviceavtaler {
    margin-top: -60px !important;
}
}

.colm-box-white-feld-serviceavtaler {
    padding: 60px 60px 60px 60px; 
    border-radius: 8px; 
    background-color: var(--white);
}

    @media  (max-width: 475px){
.colm-box-white-feld-serviceavtaler {
    padding: 30px 20px 30px 20px; 
    border-radius: 8px; 
    background-color: var(--white);
}
    }





/**boks med hvit på bilde margin .Page-Piper**/
.colm-box-white-piper {
    position: relative;
    margin-top: -90px !important;
}

@media  (max-width:710px){
.colm-box-white-piper {
    margin-top: -30px !important;
}
}


/**boks med padding hvit .Page-Piper**/
.colm-box-white-feld-piper {
    padding: 60px 60px 60px 60px; 
    border-radius: 8px; 
    background-color: var(--white);
}

@media  (max-width: 1080px){
.colm-box-white-feld-piper {
    padding: 40px 40px 40px 40px; 
    border-radius: 8px; 
    background-color: var(--white);
}
    }

    @media  (max-width: 475px){
.colm-box-white-feld-piper {
    padding: 30px 20px 30px 20px; 
    border-radius: 8px; 
    background-color: var(--white);
}
    }






/**boks med hvit på bilde .Page-Taketekking**/
.colm-box-white-tekking {
    position: relative;
    margin-top: -180px !important;
}

@media  (max-width:1140px){
.colm-box-white-tekking {
    margin-top: -80px !important;
}
}

@media  (max-width:710px){
.colm-box-white-tekking {
    margin-top: -60px !important;
}
}


.colm-box-white-feld-tekking {
    padding: 60px 60px 60px 60px; 
    border-radius: 8px; 
    background-color: var(--white);
}

@media  (max-width: 1080px){
.colm-box-white-feld-tekking {
    padding: 40px 40px 40px 40px; 
    border-radius: 8px; 
    background-color: var(--white);
}
    }

    @media  (max-width: 475px){
.colm-box-white-feld-tekking {
    padding: 30px 20px 30px 20px; 
    border-radius: 8px; 
    background-color: var(--white);
}
    }




.vce-basic-menu-container .vce-basic-menu ul .menu-item:hover>.sub-menu>li>a {
    width: 17em;
}


/**meny logo mobil P-Alle sider**/
.logo-mobil {
        width:100px !important; 
        height:57px !important; 
}


.vce-basic-menu-container .vce-basic-menu ul .menu-item a {
    text-transform: lowercase;
}

.vce-basic-menu-container .vce-basic-menu ul .menu-item a { text-transform: lowercase; }
.vce-basic-menu-container .vce-basic-menu ul .menu-item a::first-letter { text-transform: uppercase }

.vce-sandwich-side-menu-inner nav li.menu-item a { 
    text-decoration: none; 
}

.vce-sandwich-side-menu-inner nav li.menu-item a:hover { 
    text-decoration:underline;
    text-decoration-style: dotted;
}
