/*
Theme Name: Finnvedsbostäder
Theme URI: https://github.com/elementor/hello-theme/
Description: Tema till Finnvedsbostäder
Author: Creative Works Sweden AB
Template: hello-elementor
Version: 1.0.1
Text Domain: finnvedsbostäder
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

body.home footer{
	padding-top:0px !important; 
}

.elementor-item.has-submenu > span.sub-arrow:nth-child(2){
  display: none;
}
.elementor-nav-menu li a{
  font-weight: 700 !important;
}
.elementor-widget-text-editor a,
.elementor-tab-content a{
  text-decoration: underline !important;
}

.elementor-heading-title a{
  color:#004718 !important;
}
.sub-menu.children .page_item:hover,
.sub-menu.children .current_page_item{
  background-color: #004718 !important;
}
.sub-menu.children .page_item:hover a,
.sub-menu.children .current_page_item a{
  color: #fff !important; 
}
.page-id-88 .elementor-location-footer{
  background-color: rgba(0, 155, 62, 0.1);
  margin-top:0px;
}
.size-finnvedsbostader_nyheter_content{
  width:100% !important;
}
body .fb-grid-container .elementor-element .elementor-widget-container{
  margin-top:0px !important;
}
.custom-breadcrumbs{
  width: calc(100% - 80px) !important;
  margin-left: auto;
  margin-right: auto;
}
.wp-admin .contact-info{
  display:none;
}
#menu-2-3ddc8dd li:hover .sub-arrow path,
#menu-2-3ddc8dd li:active .sub-arrow path,
#menu-2-3ddc8dd li a.highlighted .sub-arrow path{
  fill:#fff;
}
#header-topbar{
  padding:0px;
}
#breadcrumbs,
#breadcrumbs-cont p
{
  width:calc(100% - 40px);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-top:40px;
  padding-bottom:40px;
  font-family: "proxima-nova", sans-serif !important;
  font-size: 15px;
  line-height: 1.5em;
  margin-bottom: 14px;
}
#breadcrumbs-cont p
{
  width:100%;
}
#breadcrumbs a,
#breadcrumbs span,
#breadcrumbs-cont p a,
#breadcrumbs-cont p span
{
  color: #6F7576;
}
#breadcrumbs a,
#breadcrumbs-cont p a
{
  text-decoration: underline;
}
.start-top-container{
  min-height:400px !important;
  max-height:60vh !important;
  aspect-ratio: 16/9;
}
.start-top-container .e-con-inner{
  width:100% !important;
  max-width: 100% !important;
}
.start-media-container{
  position: absolute !important;
  top:0px !important;
  z-index: -1 !important;
}
.start-media-container *{
  height:100% !important;
}
.top-image-container img,
#landing-video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover; /* Image scales to cover the entire container */
    z-index: 0; /* Ensures image is behind the content */
}
.start-ingress h1{
  font-size: 68px;
  line-height: 88px;
}
.start-ingress p{
  font-size: 26px;
  line-height: 36px;
}
.elementor-element-94808e8 .elementor-icon{
  width:20px;
  height:20px;
}
.elementor-element-94808e8 .elementor-icon svg{
  width:100%;
  height:100%;
}
#google_language_translator{
  display: none;
  padding:20px;
  background-color: #C5E5D1;
  position: absolute;
  left:0px;
  top:20px;
  margin-top: 10px;
  z-index: 5; 
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
#header-search{
  display: none;
  padding:20px;
  background-color: #C5E5D1;
  position: absolute;
  right:0px;
  top:30px;
  margin-top: 10px;
  z-index: 5; 
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  min-width:260px;
}
#translate p,
#header-search-cont p,
#header-reader-cont p{
  margin-bottom:3px;
}
#header-search-cont,
#header-reader-cont,
#translate{
  cursor: pointer;
}
.elementor-location-header .promagnifier{
  display: none;
}
.header-translate-cont{
  position: relative;
}
.header-translate-cont .elementor-widget-shortcode{
  position: absolute;
  left:0px;
}
.asp_text_button{
  display: block !important;
}
.elementor p, 
.elementor span,
.elementor a,
.elementor td,
.elementor ul li,
.elementor ol li{
  font-family: "proxima-nova", sans-serif !important;
  font-weight: 400;
  font-style: normal;
}
.table-subject p,
.elementor-counter-title{
  font-family: "proxima-nova", sans-serif !important;
  color:#004718;
  font-weight: 700;
  margin-bottom: 0px;
}
.elementor .textbox a{
  color: #004718;
}
.elementor ul{
  padding-inline-start: 0px;
}
.elementor .elementor-widget-text-editor ol{
  padding-inline-start: 17px;
}
.elementor .elementor-widget-text-editor ul{
  padding-inline-start: 15px;
  padding-bottom:20px;
}
.elementor h1, 
.elementor h2, 
.elementor h3, 
.elementor h4, 
.elementor h5,
.elementor h1 a, 
.elementor h2 a, 
.elementor h3 a, 
.elementor h4 a, 
.elementor h5 a,
span.elementor-post-date,
.prompt p,
.elementor-button span,
.elementor-counter span{
  font-family: itc-avant-garde-gothic-pro, sans-serif !important;
  font-weight: 700;
  font-style: normal;
}
.elementor h1{
  line-height:1.3;
}
.button-start .elementor-button{
    clip-path: polygon(0% 0%,100% 0%,100% calc(100% - 50px), calc(100% - 50px) 100%, 0% 100%);
    width:100%;
    justify-content: flex-start;
    height:100px;
    padding-left: 80px !important;
}
.button-start .elementor-button span,
.elementor-widget-icon-list span{
  font-family: 'proxima-nova', sans-serif;
  font-weight: 700 !important;
}
.beveled-corner,
.beveled-corner .elementor-post{
    clip-path: polygon(0% 0%,100% 0%,100% calc(100% - 80px), calc(100% - 80px) 100%, 0% 100%);
}
.skewed-button, 
#news-button {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transform: skewX(-30deg);
}
.skewed-button .elementor-button{
  background-color: #004718 !important;
  font-size: 16px;
  border-radius:0px !important;
}
.skewed-button.dark-button .elementor-button{
  background-color: #004718 !important;
  font-size: 16px;
}
.skewed-button.dark-button.area .elementor-button{
  width:213px;
}
.skewed-button span,
#news-button .elementor-button-content-wrapper,
#news-button .elementor-button-text{
  display: inline-block;
  transform: skewX(15deg);
  font-size: 13px;
  padding: 5px 0px !important;
}
#news-button .e-load-more-spinner{
  transform: skewX(30deg);
  top:20px
}
.page-id-95 .beveled-corner .elementor-button-wrapper{
  margin-top:80px !important;
}
.skewed-button.dark-button.area .elementor-button span{
  font-size: 20px;
}
.skewed-button.dark-button.mina-sidor .elementor-button span{
  font-size: 24px;
}
.skewed-button.dark-button.mina-sidor .elementor-button{
  width:100%;
}
.elementor-icon-list-item:hover .elementor-icon-list-icon {
  transition: transform 0.3s ease-in-out; /* Adjust the duration and timing function as needed */
  transform: translateX(5px);
}
.button-start .elementor-button .elementor-button-content-wrapper{
    flex-grow:0;
    align-items: center;
}
.button-start .elementor-button{
  display: flex;
}
.button-start .elementor-button-text{
  font-family: 'proxima-nova', sans-serif !important;
}
.button-start.first-button .elementor-button{
    width:100%;
    max-width: 420px;
    background-color: #C5E5D1 !important;
    color: #004718;
}
.button-start.second-button .elementor-button{
    width:100%;
    max-width: 460px;
    background-color: #009B3E !important;
}
.button-start.third-button .elementor-button{
    width:100%;
    max-width: 530px;
    background-color: #004718 !important;
}
.button-start .elementor-button {
    position: relative;
    transition: transform 0.3s ease-in-out;
}
.button-start .elementor-button:hover {
    transform: translateX(20px); /* Adjust the value based on your desired animation */
}
.intro-cont h1{
  font-size: 68px;
  margin-bottom:55px;
}
.intro-cont p{
  font-size: 26px;
}
.elementor-icon-list-item:hover .elementor-icon-list-icon {
    transition: transform 0.3s ease-in-out !important;
    transition: text-decoration-thickness 0.3s ease-in-out !important; 
    transform: translateX(5px);
  }
.elementor-icon-list-item .elementor-icon-list-text{
  text-underline-position: under;
}
.elementor-icon-list-item:hover .elementor-icon-list-text {
  text-decoration: underline;
  text-decoration-thickness: 3px !important; /* Adjust the thickness as needed */
}
.elementor-posts-container .elementor-post__text{
  padding: 40px 30px 40px;
  display: flex !important;
}
.elementor-post__text .elementor-post__title{
  order:2;
}
.elementor-post__text .elementor-post__meta-data{
  order:1;
}
.elementor-post__text .elementor-post__excerpt{
  order:3;
}
.info-column p strong{
  color:#004718;
}
.info-column p{
  text-align: center;
}
.elementor-active .elementor-accordion-title{
  color: #004718 !important;
  text-decoration: underline;
}
.elementor-active .elementor-accordion-icon svg{
  fill: #004718 !important;
}
#FAQ .elementor-accordion-item,
.FAQ .elementor-accordion-item,
.FAQ .e-n-accordion-item{
  border-bottom: 1px solid #0F0E0E !important;
}
.elementor-accordion-item .elementor-tab-title,
.e-n-accordion-item .e-n-accordion-item-title{
  padding:30px 0px !important;
}
.e-n-accordion-item .elementor-element{
  border:0px !important;
}
.accordion-container h3{
  font-size: 24px !important;
  margin-top: 40px !important;
}
.elementor-icon-wrapper{
  position: relative;
  z-index: 1;
}
.green-circle .e-con-inner::before{
  content:'';
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  margin: auto;
  height: 287px;
  width:287px;
  background-color: #C5E5D1;
  border-radius: 100%;
}
.elementor-location-footer{
  padding-top:220px;
  position: relative !important;
}
.smiley{
  position: relative;
}
.smiley > .e-con-inner::before{
  content:'';
  display: block !important;
  position: absolute;
  width:173px;
  height:171px;
  background-image:url('https://finnvedsbostader.se/wp-content/themes/finnvedsbostader/img/smiley-ikon.svg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  z-index:1;
  top:-120px;
  left:8vw;
}
.page_list,
.subpages{
  list-style: none;
}
.page_list.w_sub li{
  padding-top:15px;
  padding-bottom:15px;
  position: relative;
  padding-right:40px;
}
.page_list li,
.page_list .e-con-inner{
  padding-top:20px;
  padding-bottom:30px;
  border-bottom:2px solid #98B5A2;
  position: relative;
  padding-right:40px;
}
.w_sub li{
  padding-top:20px;
  padding-bottom:20px;
  position: relative;
  padding-right:40px;
}
.w_sub .subpages li{
  border-bottom:0px;
  padding:10px 0px 0px 20px;
}
.page_list h3,
.page_list h3 a{
  color:#004718 !important;
  font-size: 18px;
  margin-bottom:5px;
}
.page_list.w_sub h3{
  font-size: 16px;
}
.page_list p{
  margin-bottom: 0px;
}
.rotated {
  transform: rotate(180deg);
}
.page_list li a:last-child .elementor-icon,
.page_list .elementor-widget-icon .elementor-icon{
  font-size: 30px;
} 
.page_list.w_sub li a:last-child .elementor-icon{
  font-size: 25px;
} 
.page_list > li > a:last-child,
.page_list .elementor-widget-icon{
  position: absolute;
  right:0;
  top:0;
  bottom:0;
  margin: auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.page_list .elementor-widget-container,
.page_list .elementor-widget-container .elementor-icon-wrapper,
.page_list .elementor-widget-container .elementor-icon-wrapper a{
  display: flex;
}
.page_list .elementor-widget-container .elementor-icon-wrapper a svg{
  justify-self: center;
  align-self: center;
}
.page_list.w_sub li > a:last-child{
  right: inherit;
}
.page_list.w_sub li a:nth-child(2){
  position: absolute;
  right:0;
  top:22px;
  bottom:0;
  margin: 0px;
  display: block;
  height:23px;
}
.page_list .subpages li a{
  color:#004718 !important;
  padding-top:0px !important;
}
.page_list .subpages li::marker{
  content:'';
}
ul.subpages{
  display:none;
}
ul.subpages.active{
  display:block;
}
li.visiting > .page-parent-container a,
.subpages > li.visiting > a,
.sub-subpages > li.visiting > a{
  text-decoration: underline;
  text-underline-position: under;
  text-decoration-thickness: 2px;
  font-weight: 600;
  color: #004718;
}
.finnveden-table *{
  border:none;
  background-color:#fff !important;
}
.ingress p{
  font-size: 20px;
}
.page_list li a:nth-child(2) svg{
  fill:#004718;
}
.page_list li a:last-child svg{
  fill:#004718;
}
.project-listing .elementor-post__text{
  padding:10px 20px 40px 0px;
}
.project-listing .elementor-post__text .elementor-post__read-more{
  order:4;
}
.elementor-post-info__terms-list-item{
  font-weight: 700 !important;
}
.ny-produktion .e-con-inner{
  gap: 10px inherit !important;
}
.ny-produktion .e-con-inner h2,
.ny-produktion .e-con-inner span{
  line-height: 1;
}
.ny-produktion .e-con-inner .elementor-widget-post-info{
  margin-top: 5px;
}
.ny-produktion .e-con-inner .elementor-icon-list-item *:hover{
  text-decoration: none !important;
  text-decoration-thickness: 0px !important;
}
.ny-produktion .e-con-inner a{
  font-weight: 700;
}
.single-ny-produktion-info-container,
.single-ny-produktion-info-container .elementor-element,
.single-ny-produktion-info-container p,
.single-ny-produktion-info-container span,
.single-ny-produktion-info-container div{
  margin:0px !important;
  padding:0px !important;
  gap: 0px 40px !important;
}
.single-ny-produktion-info-container .subject *{
  font-weight: 700;
}
.info-grid .e-con-inner > div:nth-child(odd) p{
  font-weight: 700 !important;
  color:#004718;
}
.elementor-location-footer::before{
  content:'';
  display: block !important;
  position: absolute;
  width:212px;
  height:275px;
  background-image:url('https://finnvedsbostader.se/wp-content/themes/finnvedsbostader/img/hus-ikon.svg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  z-index:1;
  top:14px;
  right:8vw;
}
#different-hours-footer{
    cursor: pointer;
}
.different-hours-footer{
    display: none;
}
.ritningar a,
.projekt-lankar a{
  color:#004718 !important;
}
.contact-image-container{
  height:auto;
  width:100%;
}
.contact-image-container img{
  object-fit: cover;
  height:232px !important;
  width:100%;
}
.contact-info-container p.contact-info,
.contact-info-container .contact-info a{
  margin:0px !important;
  padding:0px !important;
  color: #004718 !important;
}
.footer-table table, 
.footer-table caption, 
.footer-table tbody, 
.footer-table tfoot, 
.footer-table thead, 
.footer-table tr, 
.footer-table th, 
.footer-table td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  background-color: transparent !important;
}
.footer-table tr td:nth-child(2){
  width:85px;
}
.footer-table-header p{
  margin-bottom:0px;
}
.contact-sidebar h3{
  color:#004718 !important;
}
.contact-sidebar .contact-table tr td:first-child,
.different-hours-footer tr td:first-child{
  font-weight: 700;
  color:#004718;
}
.elementor-location-footer a{
  color:#004718;
}
#menu-1-508ad87 > li:last-child{
  background-color: #C5E5D1;
  border-radius: 0px;
  margin-left:30px;
}
#menu-1-508ad87 > li:last-child:hover{
}
#menu-1-508ad87 > li:last-child a{
  color:#004718;
  padding: 13px 40px; 
}
#menu-1-508ad87 > li:last-child a:after{
  display: none;
}
.elementor-location-header .elementor-nav-menu--dropdown .elementor-item.elementor-item-active, 
.elementor-location-header .elementor-nav-menu--dropdown .elementor-item.highlighted, 
.elementor-location-header .elementor-nav-menu--dropdown .elementor-item:focus, 
.elementor-location-header .elementor-nav-menu--dropdown .elementor-item:hover,
.elementor-location-header .elementor-nav-menu--dropdown .elementor-item:active, 
.elementor-location-header .elementor-sub-item.elementor-item-active, 
.elementor-location-header .elementor-sub-item.highlighted, 
.elementor-location-header .elementor-sub-item:focus, 
.elementor-location-header .elementor-sub-item:hover,
.elementor-location-header .elementor-sub-item:active{
  background-color:#004718 !important;
  color:#fff !important;
}
.elemetor-location-footer .elementor-nav-menu--dropdown .elementor-item.elementor-item-active, 
.elemetor-location-footer .elementor-nav-menu--dropdown .elementor-item.highlighted, 
.elemetor-location-footer .elementor-nav-menu--dropdown .elementor-item:focus, 
.elemetor-location-footer .elementor-nav-menu--dropdown .elementor-item:hover, 
.elemetor-location-footer .elementor-sub-item.elementor-item-active, 
.elemetor-location-footer .elementor-sub-item.highlighted, 
.elemetor-location-footer .elementor-sub-item:focus, 
.elemetor-location-footer .elementor-sub-item:hover{
  background-color:transparent !important;
  color:inherit !important;
}
.elementor-location-footer .elementor-widget-container a,
.elementor-location-footer .elementor-widget-container p,
.elementor-location-footer .elementor-widget-container span,
.elementor-location-footer .elementor-widget-container td{
  font-size:15px;
}
.elementor-location-footer .elementor-widget-container{

}
.elementor-location-footer .elementor-nav-menu li a{
  font-size: 16px;
}
.elementor-location-footer .elementor-nav-menu--dropdown .sub-menu a{
  font-size: 16px !important;
}

/*---- Start Personal ----*/

.personal-container{
  display: grid;
  grid-template-columns: repeat(2, calc((100% - 80px) / 2));
  grid-gap: 40px;
  margin-top: 60px;
}
.personal-container.styrelse-container{
  grid-template-columns: repeat(4, calc((100% - 80px) / 4));
}
.personal-container .image-container img{

}
.personal-container .name{
  color:#004718;
  font-size: 24px;
  margin-bottom:6px;
}
.personal-container.styrelse-container .name{
  color:#004718;
  font-size: 16px;
  margin-bottom:6px;
}
.personal-container .title{
  font-family: itc-avant-garde-gothic-pro, sans-serif !important;
  font-weight: 700;
  font-style: normal;
}
.personal-container.styrelse-container .title{
  font-size: 14px;
}
.personal-container .phone,
.personal-container .email{
  text-decoration: underline;
}
.single-personal .contact-image-container{
  display: flex;
}
.single-personal .placeholder-personal{
  align-self: center;
  justify-self: center;
  width:200px;
}
.single-personal .image-container{
  position: relative;
  width: 100%; /* Bredden på containern är procentuell */
  padding-top: calc(493 / 349 * 100%); /* Här använder vi aspect ratio (höjd / bredd) för att beräkna padding-top */
  overflow: hidden; /* För att säkerställa att bilden inte sticker utanför containern */
  display: flex;
}
.single-personal .image-container .personal-image{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: 100%; /* Skalas proportionellt */
  min-width: 100%;
  min-height: 100%;
}
.single-personal .image-container .placeholder-personal{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/*---- Slut Personal ----*/

.single-angelaget h3{
  color: #004718;
  font-size: 20px;
}

body.page-id-101{
  background-color:#F6F2E5;
}

@media only screen and (max-width: 1400px){
  h1{
    font-size: 30px !important;
  }
  .page-id-101 h1{
    font-size: 40px !important;
  }

  
  h2{
    font-size: 24px !important;
  }
  .start-ingress h1{
    font-size: 46px !important;
    line-height: 50px;
  }

  .start-ingress p{
    font-size: 22px;
    line-height: 30px;
  }
}
@media only screen and (max-width: 1024px){

  .button-start .elementor-button {
    padding-left: 70px !important;
  }
  .button-start.first-button .elementor-button{
    max-width: 340px;
  }
  .button-start.second-button .elementor-button{
    max-width: 382px;
  }
  .button-start.third-button .elementor-button{
    max-width: 454px;
  } 
}
@media only screen and (max-width: 767px){
  .start-ingress h1{
    font-size: 36px;
    line-height: 40px;
  }
  .start-ingress p{
    font-size: 18px;
    line-height: 23px;
  }
  .button-start .elementor-button {
    padding-left: 50px !important;
    height:90px;
    padding-right:35px !important;
    clip-path: polygon(0% 0%,100% 0%,100% calc(100% - 50px), calc(100% - 50px) 100%, 0% 100%);
    font-size: 18px !important;
  }
  .button-start .elementor-button-icon{
    margin-left:12px !important;
  }
  .button-start.first-button .elementor-button{
    max-width: 240px;
  }
  .button-start.second-button .elementor-button{
    max-width: 270px;
  }
  .button-start.third-button .elementor-button{
    max-width: 300px;
  } 
  .button-start.second-button > .elementor-widget-container,
  .button-start.third-button .elementor-widget-container{
    margin-top:-10px !important;
  }
  .footer-copyright{
    order:2;
  }
  .skewed-button.dark-button.area .elementor-button span{
    font-size: 13px;
  }
  .skewed-button.dark-button.area .elementor-button{
    width:113px;
  }
}