/* Grundlayout */
#hus-annmal {
        padding-top: 80px;
    padding-bottom: 80px;
    background-color: #56cad4;
}

#hus-annmal .center {
    text-align: center;
}


#hus-annmal h2 {color: #fff;}













.pirces_and_info {
	padding-bottom: 40px;
}


.pirces_and_info h2 {
	margin-top: 20px;
	color: #56cad4;
}

.the_blue_line {
	background: #56cad4;
	height: 2px;
	width: 100%;
	margin-bottom: 10px;
	display: inline-block;
}

.new_prices {
	list-style: none;
	margin: 0px;
	padding: 0px;
}

p.price_numbers  {
	font-size: 25px;

    line-height: 0px;
    margin-top: 5px;
    margin-bottom: 5px;
    font-weight: 700;
}

.new_prices li {
	margin-bottom: 20px;
	margin-top: 10px;
	padding-right: 20px;
}

.price_info {
	margin-top: 10px;
	
	font-size: 16px;
}

.know_more img {
	width: 25px;
	height: 25px;
	position: relative;
	cursor: pointer;
}

.know_more img:hover {
	opacity: .7;
}



#kundbilder .hus_modell_slide {
 
    width: 100%;
    height: 100vh;
    background-size: 100%;
    background-repeat: no-repeat;
}


.prize_hose p {
	padding-right: 10px;
}

  
	.top-summering  {
		opacity: 0;
	}
	
	.top-summering.show {
		opacity: 1;
	}
	
	.top-summering {
    position: fixed;
    top: 60px;
    left: 0px;
    padding-left: 20px;
    padding-top: 20px;
    background: rgba(255, 255, 255, 0.47);
    padding-bottom: 10px;
}

#hustitle {
    margin-top: 0px !important; 
   margin-bottom: 0px !important;  
}
	  

	  
	  
	#white-shape img {opacity: .5;}  
	  
	  .caldera-grid input[type=submit]:hover {
		  border: black;
		  background: black;
	  }
	  
	 .caldera-grid input[type=submit] {

    border: 1px solid #0b5472;
    background: #0b5472;
 } 
 
 img.new_pris:hover {
	 background-color: #56cad4;
 }
 
 img.nev_pris {
	   -webkit-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
 }
 
     .margin-bottom-tiopix {
	     margin-bottom: 10px;
     }
	  
	  
	  #hus-annmalan {margin-bottom: 0px;}
	  
.margin-bottom-fyrtio {
	margin-bottom: 40px;
}	  
	  
	  .hus_modell_slide {
		  width: 100%;
		  height: 80vh;
		  background-position: center center;
		  background-size: cover;
	  }
	  
	  ul.slide-me-big {
		  padding: 0px;
		  margin: 0px;
	  }
	  
	  .slide-me-big .slick-next {
    right: 55px;
}
	  
	  .hus_modell_bildspel_text .center {
		  padding: 2%;
		  background: #fff;
	  }
	  
	   .hus_modell_bildspel_text .center p {
		   padding: 0px;
		   margin: 0px;
	   }
	   
	   .center figcaption {
		   font-size: 16px;
    font-weight: 600;
    letter-spacing: 0px;
	   }
	   
	   .slick-next:before {
    content: url('/wp-content/themes/anderstam/img/right_arrow_new.svg') !important;
}

 .slick-prev:before {
    content: url('/wp-content/themes/anderstam/img/left_arrow_new.svg') !important;
}

.slide-me-big .slick-prev {
    left: 20px;
}

.slide-me-big .slick-next {
    right: 50px;
}

.download_pris {

	width: 100%;
	margin-top: 40px;
}

.download_pris .icon img {
    margin-top: -5px;
}

video  {width: 100%;}


#hustitle {
	margin-top: 40px;
	margin-bottom: 40px;
}

#hustitle .top-summering h3 {
	margin-bottom: 0px;
}


#hustitle h2 {
    font-size: 45px;
    letter-spacing: -2px;
    margin-top: 25px;
    margin-bottom: 15px;
    line-height: 1em;
    font-weight: 400;
}

#hustitle .fasta-priser {
    margin-top: 0px; 
}

.priser-left {
	float: left;
	margin-right: 40px;
}
.priser-right {
	height: 20vh;
    position: relative;
}


#anpassa {
	background: #fbfbfb;
}


.totalent {
	width: 180px;
	float: left;

}

#anpassa {
	margin-top: 0px;
	background-image: url(/wp-content/themes/anderstam/img/Ny_ritning_bild.jpg);
	background-position: right center;
	background-size: cover;
	height: 70vh;
	position: relative;
	text-align: center;
}

.center-height-div {
	height: 70vh;
}

.total_text {

}

.total_text p {
	font-weight: 600;
	font-size: 24px;
	margin: 0;
	padding: 0;
	line-height: 1em;
}

span.weak {
	font-weight: 100;
}

#anpassa p span {
	font-size: 45px;
    letter-spacing: -2px;
    margin-top: 25px;
    margin-bottom: 15px;
    line-height: 1em;
}

p.anpassalink {
    display: inline-block;
    font-size: 11px;
    border: 0px solid #0b5472;
    background: #0b5472;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 15px;
    color: #fff;
    -webkit-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

p.anpassalink:hover {
	background: black;
}

.total_call {
	margin-top: 20px;
}

.prize_hose {
  background: #fbfbfb;
  padding-bottom: 80px;
}


#hus-fakta {
    margin-top: 0px; 
    padding-top: 80px;
    padding-bottom: 40px;
}

#kundbilder {
	background: #fbfbfb;
    padding-top: 80px;
    padding-bottom: 80px;
}


#kundbilder h2 {
    font-size: 45px;
    letter-spacing: -2px;
    margin-top: 25px;
    margin-bottom: 15px;
    line-height: 1em;
    font-weight: 400;
}

#hus-annmalan h2 {
	color: #fff;
}

#hus-annmalan {margin-top: 0px;}

img.nyckeln	{
	width: 130px;
    height: 130px;
    float: left;
    }

h3.efter_nyckeln {
	position: relative;
    top: 20px;
    margin-bottom: 20px;
}

.nyckel_wrap {

    background: #56cad4;
    padding: 40px;
    margin-bottom: 40px;
    display: block;
    text-align: center;
    
    }
    
.nyckel_wrap p.anpassalink {    
    
    margin-left: auto;
    margin-right: auto;
    width: 180px;
    position: relative;
    display: block;
    margin-top: 40px;
    
    }
    
#husritningar p {
    font-size: 45px;
    letter-spacing: -2px;
    line-height: 1em;
    position: absolute;
    text-align: center;
    width: 100%;
    top: 10vh;
} 

@media screen and (max-width:855px) {	
	
	
	#husritningar p {
	font-size: 22px;
    letter-spacing: -1px;
    top: 25px;
 }   

	
	
	.nyckel_wrap {

    top: 40px;
    position: relative;
    
    
    }
	
	.priser-left {
    float: left;
    margin-right: 40px;
    width: 40%;
}

.anpassa_text_ruta {
	padding: 3%;
	background-color: rgba(255, 255, 255, 0.5);
}

.total_text {

}

.nyckel_wrap p.anpassalink {
    margin-top: 0px;
}

.total_call .anpassalink  {
top: 20px;
    position: relative;
}

p.anpassalink {

    letter-spacing: 1px;
    padding: 12px;
	
	   .slick-next:before {
    content: url('/wp-content/themes/anderstam/img/right_arrow_new_small.svg') !important;
}

 .slick-prev:before {
    content: url('/wp-content/themes/anderstam/img/left_arrow_new_small.svg') !important;
}

#hustitle h2 {
    font-size: 30px;
    letter-spacing: -1px;
	}
	
}

.total_call .col-5-12 {

width: 370px;
    margin-left: auto;
    margin-right: auto;

}

#anpassa p span	{
    font-size: 30px;
    letter-spacing: -1px;
	}
#kundbilder h2 {
   font-size: 30px;
    letter-spacing: -1px;
}

.margin-bottom-fyrtio {
    margin-bottom: 20px;
}
	
#kundbilder {
    padding-top: 40px;
    padding-bottom: 40px;
}	

.center figcaption {
    font-size: 12px;
}

img.nyckeln {
    width: 60px;
    height: 60px;
    position: relative;
    top: 20px;
}

.nyckel_wrap {
    height: 100%;
    margin: 0;
        padding: 40px !important;
    margin-bottom: 40px !important;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    -webkit-justify-content: center;
    -moz-align-items: center;
    -moz-justify-content: center;
    -ms-align-items: center;
    -ms-justify-content: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}



.nyckel_wrap p {
	text-align: center;
}

.slick-next {
    transform: scale(0.7);
}

.slick-prev {
    transform: scale(0.7);
}

#hustitle h2 {
    font-size: 30px;
    letter-spacing: -1px;
}

.slide-me-big .slick-next {
    right: 20px;
}

.slide-me-big .slick-prev {
    left: 0px;
}
	
	}
	


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


#kundbilder .slick-slider {
	height: 50vh;
}

#kundbilder .hus_modell_slide {

    height: 50vh;
}

.slick-slider { touch-action: inherit; }

}


	



/* ============================================
   TOTALENTREPRENAD POPUP MODAL
   ============================================ */

.te-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.te-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.te-popup-modal {
    background: #fff;
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.te-popup-overlay.active .te-popup-modal {
    transform: translateY(0);
}

.te-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #333;
    line-height: 1;
    padding: 0;
    z-index: 10;
    transition: color 0.2s ease;
}

.te-popup-close:hover {
    color: #56cad4;
}

.te-popup-content {
    padding: 40px;
    text-align: center;
}

.te-popup-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.te-popup-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #0b5472;
    letter-spacing: -1px;
}

.te-popup-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.te-popup-subtitle strong {
    color: #56cad4;
}

.te-popup-form {
    text-align: left;
}

/* Ninja Forms styling i popup */
.te-popup-form .nf-form-cont {
    margin: 0;
}

.te-popup-form .nf-field-container {
    margin-bottom: 15px;
}

.te-popup-form .nf-field-label label {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

/* Input och textarea fält - VIT bakgrund */
.te-popup-form input[type="text"],
.te-popup-form input[type="email"],
.te-popup-form textarea,
.te-popup-form .nf-element:not([type="submit"]) {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.2s ease;
    background-color: #fff !important;
    color: #333 !important;
}

.te-popup-form input[type="text"]:focus,
.te-popup-form input[type="email"]:focus,
.te-popup-form textarea:focus,
.te-popup-form .nf-element:not([type="submit"]):focus {
    border-color: #56cad4;
    outline: none;
    background-color: #fff !important;
}

/* Placeholder styling */
.te-popup-form input::placeholder,
.te-popup-form textarea::placeholder {
    color: #999;
    opacity: 1;
}

.te-popup-form textarea,
.te-popup-form textarea.nf-element {
    min-height: 100px;
    resize: vertical;
    background-color: #fff !important;
}

/* ENDAST Submit-knappen - mörk bakgrund */
.te-popup-form input[type="submit"],
.te-popup-form input[type="button"],
.te-popup-form button[type="submit"],
.te-popup-form .submit-wrap input,
.te-popup-form .submit-wrap button {
    background: #0b5472 !important;
    color: #fff !important;
    border: none;
    padding: 15px 30px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    width: 100%;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.te-popup-form input[type="submit"]:hover,
.te-popup-form input[type="button"]:hover,
.te-popup-form button[type="submit"]:hover,
.te-popup-form .submit-wrap input:hover,
.te-popup-form .submit-wrap button:hover {
    background: #000 !important;
}
/* Success message styling */
.te-popup-form .nf-response-msg {
    background: #56cad4;
    color: #fff;
    padding: 20px;
    border-radius: 4px;
    text-align: center;
}

.te-popup-form .nf-response-msg p {
    margin: 0;
    font-size: 16px;
}

/* Error styling */
.te-popup-form .nf-error-msg {
    color: #d9534f;
    font-size: 14px;
    margin-top: 5px;
}

.te-popup-form .nf-field-element.nf-error input,
.te-popup-form .nf-field-element.nf-error textarea {
    border-color: #d9534f;
}

/* Mobile adjustments for popup */
@media screen and (max-width: 600px) {
    .te-popup-content {
        padding: 30px 20px;
    }
    
    .te-popup-content h2 {
        font-size: 22px;
    }
    
    .te-popup-icon {
        width: 60px;
        height: 60px;
    }
    
    .te-popup-close {
        top: 10px;
        right: 15px;
        font-size: 28px;
    }
}

/* Success message styling */
.te-popup-success {
    text-align: center;
    padding: 20px 0;
}

.te-success-icon {
    width: 80px;
    height: 80px;
    background: #56cad4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
    color: #fff;
}

.te-popup-success h3 {
    font-size: 24px;
    color: #0b5472;
    margin-bottom: 15px;
}

.te-popup-success p {
    color: #666;
    margin-bottom: 10px;
    font-size: 16px;
}

.te-popup-success p strong {
    color: #56cad4;
}

.te-popup-close-btn {
    background: #0b5472;
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    border-radius: 4px;
    margin-top: 20px;
    transition: background 0.3s ease;
}

.te-popup-close-btn:hover {
    background: #000;
}