/*
Theme Name: SMA Infrastruktur
Author: Creative Works
Template: hello-elementor
*/

@import url("https://use.typekit.net/asb1txx.css");

body{
    font-weight: 400;
    color: #4A4A49;
}
body, h1, h2, h3, h4, h5, p, span, a, b, strong, div, li, input, textarea, select, option{
    font-family: "montserrat", sans-serif;
}
h1, h2, h3, h4, h5{
    font-weight: 700;
}
h1, h2{
    font-size: 80px;
}
h2{
    font-size: 50px;
}
h3{
    font-size: 30px;
}
h4{
    font-size: 26px;
}
h5{
    font-size: 24px;
}
p{
    margin: 0px 0px 15px 0px;
    font-weight: 400;
}
a{
    color: #4A4A49;
}

.integritetspolicy-c h1{
    font-size: 36px;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.integritetspolicy-c h2{
    font-size: 30px;
}
.integritetspolicy-c h3{
    font-size: 24px;
}
.integritetspolicy-c p{
    font-size: 18px !important;
    line-height: 1.28;
}

header,
header.sticky{
    background-color: transparent;
    position: absolute;
    width: 100%;
    z-index: 500;
    transition: all 300ms;
}
header.scrolled{
    position: fixed;
    opacity: 0;
    background-color: transparent;
    pointer-events: none;
}
header.scrolled.sticky{
    background-color: #fff;
    opacity: 1;
    pointer-events: auto;
}

header.mmenu-open,
header.mmenu-open.scrolled.sticky{
    background-color: transparent;
    z-index: 99999;
    opacity: 1;
}


header .menu-logo{
    display: none;
}
header .menu-logo-white{
    display: block;
}
header.scrolled.sticky .menu-logo{
    display: block;
}
header.scrolled.sticky .menu-logo-white{
    display: none;
}

header.mmenu-open .menu-logo,
header.mmenu-open.scrolled.sticky .menu-logo{
    display: none;
}
header.mmenu-open .menu-logo-white,
header.mmenu-open.scrolled.sticky .menu-logo-white{
    display: block;
}


header.scrolled.sticky .menu-item a{
    color:#333 !important;
}
header.scrolled.sticky .menu-item a::after{
    background-color:#333 !important;
}


.page-id-716 header,
.page-id-711 header,
.page-id-695 header{
    background-color: #fff;
}
.page-id-716 header .menu-item a,
.page-id-711 header .menu-item a,
.page-id-695 header .menu-item a{
    color:#333 !important;
}
.page-id-716 header .menu-item a::after,
.page-id-711 header .menu-item a::after,
.page-id-695 header .menu-item a::after{
    background-color:#333 !important;
}
.page-id-716 header .menu-logo,
.page-id-711 header .menu-logo,
.page-id-695 header .menu-logo{
    display: block;
}
.page-id-716 header .menu-logo-white,
.page-id-711 header .menu-logo-white,
.page-id-695 header .menu-logo-white{
    display: none;
}

.page-id-716 header .hamburger-inner,
.page-id-716 header .hamburger-inner::before,
.page-id-716 header .hamburger-inner::after,
.page-id-711 header .hamburger-inner,
.page-id-711 header .hamburger-inner::before,
.page-id-711 header .hamburger-inner::after,
.page-id-695 header .hamburger-inner,
.page-id-695 header .hamburger-inner::before,
.page-id-695 header .hamburger-inner::after{
  background-color: #333;
}


.header-img-c{
    background-size: cover;
}
.header-img-c > .e-con-inner {
    position: relative;
}

.header-img-c h1{
    background-color: #00725B;
    display: inline;
    padding: 9px 30px 9px 30px;
    border-radius: 10px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.hamburger{
    background-color: transparent !important;
}
.hamburger-button-cont button {
    background-color: transparent !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.mob-menu-c li.menu-item{
    text-align: center;
}
.mob-menu-c li.menu-item a{
    display: inline-block;
}


.footer-c{
    margin-top: calc(11.7vw + 120px);
}
.footer-c::before{
    content: '';
    display: block;
    width: 100%;
    height: 11.7vw;
    margin-top: -11.6vw;
    background-image: url(/wp-content/themes/smainfrastruktur/images/footer-top-2.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: right top;
    background-position: right -12px top;
}
.footer-c p{
    margin-bottom: 0px;
}
.footer-c a{
    color:#fff;
    text-decoration: none;
}
.footer-c a:hover{
    text-decoration: underline;
}

.marknadssegment-c p{
    margin: 0px;
}

.bolag-img-c img{
    filter: brightness(0);
    opacity: 0.43;
}
.bolag-img-c img:hover{
    filter: none;
    opacity: 1;
}




@keyframes fadeInDownCW {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.cw-ani.fadeInDown {
    animation-name: fadeInDownCW;
}
@keyframes fadeInDownCWShort {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.cw-ani-short.fadeInDown {
    animation-name: fadeInDownCWShort;
}
@keyframes fadeInUpCW {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.cw-ani.fadeInUp {
    animation-name: fadeInUpCW;
}



.cw-grid .e-con-inner{
    grid-template-columns: calc(55% - 84px) calc(45% - 85px) !important;
    grid-template-rows: repeat(3, auto) !important;
}
.cw-grid .cw-grid-item-1{
    grid-row: span 2 / span 2;
}
.cw-grid .cw-grid-item-2{
    
}
.cw-grid .cw-grid-item-3{
    grid-row: span 2 / span 2;
    grid-column-start: 2;
    grid-row-start: 2;
}
.cw-grid .cw-grid-item-4{
    grid-row-start: 3;
}
.cw-grid.grid-start p{
    margin-bottom: 0px;
}
.cw-grid.grid-om-sma .cw-grid-item-4 p{
    margin-bottom: 0px;
}


main ul {
    list-style: none;
    padding-left: 0px;
}
main ul li {
    position: relative;
    padding-left: 15px;
    padding-bottom: 27px;
}
main ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 8px;
    background: url('/wp-content/themes/smainfrastruktur/images/triangle-2.svg') no-repeat center;
    background-size: contain;
}

.foretag-table{
    
}
.foretag-row{
    display: none;
    column-gap: 30px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2em;
}
.foretag-row.visible{
    display: flex;
}
.foretag-row.head{
    font-size: 25px;
    font-weight: 700;
    padding-left: 0px;
}
/*
.foretag-row.visible:nth-child(even) {
    background-color: #f6f6f6;
}
*/
.foretag-row.visible:nth-of-type(even) {
    background-color: #f6f6f6;
}



.foretag-cell{
    padding-top: 30px;
    padding-bottom: 30px;
    display: flex;
    align-items: center;
}
.foretag-cell.foretag{
    width: calc(100% - 834px);
    padding-left: 20px;
}
.foretag-cell.head.foretag{
    padding-left: 0px;
}
.foretag-cell.stad{
    width: 387px;
}
.foretag-cell.verksamhetsomraden{
    width: 387px;
}

.foretag-verksamhetsomrade-c{
    display: flex;
    gap: 12px;
}
.foretag-cell.verksamhetsomraden img{
    display: block;
    width: 40px;
}
.foretag-cell.verksamhetsomraden img.active{
    cursor: pointer;
}
.foretag-cell.verksamhetsomraden img.disabled{
    filter: brightness(0);
    opacity: 0.15;
}

a.foretag-cell:hover{
    text-decoration: underline;
}

.mob-visible-span{
    display: none;
}
.mob-hidden-flex{
    display: flex;
}


div#CybotCookiebotDialogPoweredbyLink{
    position: relative;
}
img#CybotCookiebotDialogPoweredbyImage {
    visibility: hidden;
}
div#CybotCookiebotDialogPoweredbyLink::after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url(https://www.smainfrastruktur.se/wp-content/uploads/2025/03/smainfrastruktur.svg);
    background-repeat: no-repeat;
}

#CybotCookiebotDialogNav .CybotCookiebotDialogNavItemLink.CybotCookiebotDialogActive{
    border-bottom: 1px solid #00725B !important;
    color:#00725B !important;
}
#CybotCookiebotDialogNav .CybotCookiebotDialogNavItemLink:hover {
    color:#00725B !important;
}
#CybotCookiebotDialog input:checked+.CybotCookiebotDialogBodyLevelButtonSlider {
    background-color: #00725B !important;
}
#CybotCookiebotDialogFooter .CybotCookiebotDialogBodyButton {
    border: 2px solid #00725B !important;
}
#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll{
    background-color: #00725B !important;
}

#CookiebotWidget .CookiebotWidget-body .CookiebotWidget-consents-list li.CookiebotWidget-approved svg {
    fill: #00725B !important;
}
#CookiebotWidget .CookiebotWidget-consent-details button {
    color:#00725B !important;
}
#CookiebotWidget #CookiebotWidget-buttons #CookiebotWidget-btn-withdraw {
    border-color: #00725B !important;
}
#CookiebotWidget #CookiebotWidget-buttons #CookiebotWidget-btn-change {
    background-color: #00725B !important;
    border-color: #00725B !important;
}
#CybotCookiebotDialog #CybotCookiebotDialogDetailFooter a,
#CybotCookiebotDialog #CybotCookiebotDialogDetailFooter a:hover{
    color:#00725B !important;
}




@media only screen and (max-width: 1500px){
    .cw-grid .e-con-inner{
        grid-template-columns: calc(50% - 30px) calc(50% - 30px) !important;
    }
}
@media only screen and (max-width: 1400px){
    .foretag-row {
        font-size: 16px;
    }
    .foretag-cell.foretag{
        width: calc(100% - 660px);
        padding-left: 20px;
    }
    .foretag-cell.stad{
        width: 300px;
    }
    .foretag-cell.verksamhetsomraden{
        width: 300px;
    }
}
@media only screen and (max-width: 1200px){
    .footer-c::before {
        margin-top: -11.4vw;
    }
    .bolag-img-c img {
        filter: none;
        opacity: 1;
    }
}
@media only screen and (max-width: 1100px){
    .foretag-row.head {
        font-size: 20px;
    }
    .foretag-row {
        font-size: 14px;
        column-gap: 20px;
    }
    .foretag-cell.foretag{
        width: calc(100% - 520px);
        padding-left: 10px;
    }
    .foretag-cell.stad{
        width: 240px;
    }
    .foretag-cell.verksamhetsomraden{
        width: 240px;
    }
    .foretag-verksamhetsomrade-c {
        gap: 8px;
    }
    .foretag-cell.verksamhetsomraden img {
        width: 30px;
    }
}
@media only screen and (max-width: 1024px){
    .header-img-c h1 {
        padding: 10px 20px 10px 20px;
    }
    .cw-grid .e-con-inner{
        grid-template-columns: calc(40% - 30px) calc(60% - 30px) !important;
    }
}
@media only screen and (max-width: 900px){
    .foretag-row.head {
        font-size: 18px;
    }
    .foretag-cell.foretag{
        width: calc(100% - 400px);
    }
    .foretag-cell.stad{
        width: 140px;
    }
    .foretag-cell.verksamhetsomraden{
        width: 220px;
    }
}
@media only screen and (max-width: 767px){
    .header-img-c h1 {
        padding: 8px 16px 8px 16px;
    }
    .cw-grid .e-con-inner{
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    .cw-grid-item-2{
        order:1;
        flex-wrap: nowrap;
    }
    .cw-grid-item-1{
        order:2;
        flex-wrap: nowrap;
    }
    .cw-grid-item-4{
        order:3;
        flex-wrap: nowrap;
        padding-top: 20px;
    }
    .cw-grid-item-3{
        order:4;
        flex-wrap: nowrap;
    }
    .footer-c {
        margin-top: calc(11.7vw + 60px);
    }

    .mob-visible-span{
        display: inline;
    }
    .mob-hidden-flex{
        display: none;
    }
    .foretag-cell.foretag {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .foretag-cell.foretag{
        width: calc(100% - 240px);
    }
    .foretag-cell.verksamhetsomraden{
        width: 220px;
    }

    .integritetspolicy-c h1{
        font-size: 24px;
    }
    .integritetspolicy-c h2{
        font-size: 20px;
    }
    .integritetspolicy-c h3{
        font-size: 17px;
    }
    .integritetspolicy-c p{
        font-size: 14px !important;
        line-height: 1.28;
    }

}
@media only screen and (max-width: 400px){
    .foretag-cell.foretag{
        width: calc(100% - 160px);
    }
    .foretag-cell.verksamhetsomraden{
        width: 140px;
    }
    .foretag-verksamhetsomrade-c{
        flex-wrap: wrap;
    }
}
@media only screen and (max-width: 360px){
    .header-img-c h1{
        font-size: 28px !important;
    }
}
@media only screen and (max-width: 340px){
    .footer-bot-menu-c{
        flex-direction: column !important;
        row-gap: 15px;
    }
    .header-img-c h1{
        font-size: 26px !important;
        line-height: 1.45em !important;
    }
}

