:root {
    --theme-blue: #2c68ae;
    --gradient-blue: rgba(97, 152, 217, 1);
    --background-grey: #f5f5f5;
    --light-blue: #d4e4f1;
}

* {
    margin: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
    padding: 0;
    transition: all 0.2s;
}

html {
    width: 100%;
    height: 100%;
    font-family: "Open Sans", sans-serif;
    color: var(--theme-blue);
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    overflow-y: auto;
    overflow-x: hidden;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
}

h1,
h2,
h3 {
    font-family: Barlow, sans-serif !important;
    font-weight: 400;
}

a {
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
}

header {
    min-height: 135px;
    min-width: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    position: relative;
}

#left-panel {
    position: relative;
    width: 100%;
    color: white;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    background: rgb(97, 152, 217);
    background: radial-gradient(circle, var(--gradient-blue) 0%, var(--theme-blue) 74%);
}

#right-panel {
    width: 100%;
    padding: 1rem;
    position: relative;
    gap: 2rem;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

footer {
    padding: 1rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    position: relative;
}

.links {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
}

#logo img {
    height: 140px;
}

#cover-img {
    width: 100%;
    height: 100%;
}

#line1 {
    position: absolute;
    width: 100%;
    height: 400px;
    top: 180px;
    border-top: 2px solid #aaa4;
    border-right: 3px solid #aaa4;
    border-bottom: none;
    border-left: none;
    transform: skewX(45deg);
    pointer-events: none;
}

#line2 {
    position: absolute;
    width: 100%;
    height: 400px;
    bottom: 200px;
    border-bottom: 2px solid var(--gradient-blue);
    border-left: 3px solid var(--gradient-blue);
    border-top: none;
    border-right: none;
    transform: skewX(45deg);
    pointer-events: none;
}

#contacts {
    color: white;
}

#main-logo {
    height: 300px;
    width: 500px;
    margin-top: 10%;
}

.input-container {
    position: relative;
    min-width: 300px;
    width: 20%;
    padding: 1rem;
    padding-right: 0;
    display: flex;
    flex-direction: row;
}

.input-bend {
    width: calc(100% - 1rem);
    height: 20px;
    bottom: 2px;
    position: absolute;
    transform: skewX(45deg);
    border-left: 1.5px solid currentColor;
    border-bottom: 1px solid currentColor;
    border-top: none;
    border-right: none;
}

input {
    border: none;
    width: 100%;
    font-size: 1rem;
    padding: 4px 0;
}

.hexagon {
    clip-path: polygon(25px 2px, 175px 2px, 198px 25px, 175px 48px, 25px 48px, 2px 25px);
    background: rgb(97, 152, 217);
    background: linear-gradient(180deg, rgba(97, 152, 217, 1) 30%, rgba(44, 104, 174, 1) 79%);
}

.hexagon p.btn {
    background: #fff;
    color: #424242;
    display: flex;
    justify-content: center;
    align-items: center;
    clip-path: polygon(25px 6px, 170px 6px, 188px 25px, 170px 43px, 25px 43px, 7px 25px);
}

.ghost {
    background: rgb(255, 255, 255);
    background: linear-gradient(90deg, rgb(233, 240, 249) 20%, rgb(102, 154, 214) 78%);
}

.btn {
    height: 50px;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
    cursor: pointer;
}

.btn:hover {
    opacity: 0.8;
}

.buttons-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 80%;
}

.hollow-wrapper {
    position: relative;
}

.hollow-wrapper span {
    position: absolute;
    inset: 0;
    text-align: center;
    align-self: center;
    color: #888;
}

#main-logo {
    object-fit: contain;
    max-height: 240px;
    z-index: 1;
}

#white-logo {
    object-fit: contain;
    object-position: left center;
    max-height: 100px;
}

#cover-img {
    object-fit: contain;
}

.icon {
    min-width: 1.8rem;
    max-width: 1.8rem;
    min-height: 1.8rem;
    max-height: 1.8rem;
    border-radius: 2px;
    border: 1px solid currentColor;
    transform: rotate(45deg);
    margin-right: 1.2rem;
}

.icon svg {
    transform: rotate(-45deg);
}

.center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile {
    display: none;
}

.desktop {
    display: flex;
}

.top-links {
    padding: .5rem;
    gap: 2rem;
    font-size: large;
}

.top-links * {
    font-family: Barlow, sans-serif !important;
}

.list-container {
    overflow: auto;
    padding: .5rem;
    max-height: calc(100% - 150px);
    margin-top: max(15vh, 100px);
    align-self: center;
    min-width: 300px;
}

.list-container .list-head {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 1.2rem;
}

@media (max-width: 800px) {
    body {
        overflow-y: auto;
        min-height: 0;
        height: 100vh;
    }

    .mobile {
        display: flex;
    }

    .desktop {
        display: none;
    }

    header {
        gap: 1rem;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        flex-wrap: nowrap;
    }

    #line1,
    #line2 {
        display: none;
    }

    .list-container {
        max-height: unset;
    }
}

.input-container:focus-within .select-installer-dropdown,
.input-container:hover .select-installer-dropdown {
    display: flex;
    opacity: 1;
}

.select-installer-dropdown {
    display: none;
    opacity: 0;
    transition: all 0.3s;
    z-index: 2;
    position: absolute;
    background-color: #fff;
    box-shadow: 0px 12px 20px 0px;
    top: 58px;
    left: 26px;
    right: -9px;
    padding: 1rem;
    max-height: 80vh;
    flex-direction: column;
    align-items: flex-start;
    overflow-y: auto;
    gap: 8px;
}

.impersonation-input-container {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    padding: 0.5rem;
}

.dropdown ul {
    margin: 0;
}

.dropdown input {
    border-bottom: 1px solid var(--theme-blue);
}

.dropdown a {
    height: 20px;
    padding: 0 0.5rem;
    align-items: flex-start;
}


.dropdown li {
    list-style: none;
}


main.userDetail {
    flex-direction: column;
    align-items: center;
}

main {
    padding: 2rem 15vw;
    flex-grow: 1;
    /* min-height: calc(100vh - 230px); */
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    background-image: url('/Resources/assets/img/Bg-light.png');
    background-position: top right;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 1;
}

@media only screen and (max-width: 800px) {
    main {
        padding: 2rem;
    }
}

/** templates **/
.scroll {
    display: block;
    /**overflow-y: scroll;**/
    
}

#block-background {
    overflow: auto;
    padding-left: 1.5rem;
    padding-top: 1.5rem;
}



#standard-page p {
    font-size: 14pt;
    line-height: 18pt;
    padding: 10pt 0 10pt 0;
}

.affiliateLinks {
    margin: 0 auto;
    width: 100%;
}

.affiliateLinks #attachment {
    text-align: center;
    display: block;
    width: 23%;
    height: 200px;
    float: left;
    margin: 1%;
    position: relative;
    border: 1px solid var(--light-blue);
    background-color: white;

}

.affiliateLinks #attachment img {
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
}

.affiliateLinks #attachment .hover {
    height: 100px;
}

.affiliateLinks .navigation {
    position: absolute;
    bottom: 0px;
    margin-top: 5px;
    width: 65px;
    background-color: var(--background-grey);
    border: 1px solid var(--light-blue);
    border-radius: 5px;
    margin-left: 5px;
    margin-bottom: 10px;
}

.affiliateLinks .navigation a {
    width: 31px !important;
    height: 38px !important;
}

.affiliateLinks .navigation a.downloadLink {
    width: 49%;
    display: block;
    float: left;
    height: 30px;
    /*border: 1px blue solid;
                background: url(/media/1455/download-arrow-blue.png) no-repeat transparent 10px;*/
    background-image: url(/Resources/assets/img/Icon-download.svg);
    background-repeat: no-repeat;
    background-color: transparent;
    background-position: 1px 6px;
    background-size: 28px;
}

.affiliateLinks .navigation a.linkExternal {
    width: 49%;
    display: block;
    float: left;
    height: 30px;
    /*border: red solid 1px;
                background: url(/media/1454/globe-download-blue.png) no-repeat transparent 45px;*/
    background-image: url(/Resources/assets/img/Icon-link.svg);
    background-repeat: no-repeat;
    background-color: transparent;
    background-position: 4px 6px;
    background-size: 27px;
}

.affiliateLinks #s_box .hover {
    margin-top: 35px;
    display: block;
}

.affiliateLinks #s_box {
    overflow: hidden;
    /*width: 130px;  border: 1px solid black; */
    height: 130px;
    margin: 10px;
    display: flex;
    align-items: center;
}

.accept {
    padding: 10px 0px;
}


.diamond #s_box {
    padding: 10px;
}

#videoList {
    padding: 1rem;
    max-width: unset;
    align-self: stretch;
    /* height: 100%; */
    display: flex;
    flex-direction: row;
    align-items: start;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 1.2rem 1.5rem;
}

.video {
    list-style: none;
    height: 260px;
    width: 250px;
    border: 1px solid lightblue;
    display: flex;
    background-color: white;
    flex-direction: column;
    box-sizing: content-box;
    align-items: stretch;
    text-decoration: none;
}

.embedReal {
    /*width: 30%;
    float:left;*/
    vertical-align: top;
    /*height: 170px;*/
    object-fit: cover;
    height: 250px;
}

.embedReal iframe {
    width: 100%;
    float: left;
    height: 73%;
    height: 140px;

}

.video .video-name {
    float: left;
    width: 30%;
}

.video .spacer {
    height: 1px;
    background-color: currentColor;
    width: 120px;
}

.video .linkLabel {
    min-height: 64px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .5rem 1rem;
    flex-direction: column;
    background-color: white;
    text-align: center;
}

.video a {
    text-decoration: none;
}

.video .navigation {
    /*position: absolute;*/
    bottom: 0px;
    margin-top: 5px;
    width: 65px;
    background-color: var(--background-grey);
    border: 1px solid var(--light-blue);
    border-radius: 5px;
    margin-left: 5px;
    margin-bottom: 10px;
}

.video .navigation a {
    width: 31px !important;
    height: 38px !important;
}

.video .navigation a.goToLink {
    width: 49%;
    display: block;
    float: left;
    height: 30px;
    /*border: 1px blue solid;
                background: url(/media/1455/download-arrow-blue.png) no-repeat transparent 10px;*/
    background-image: url(/Resources/assets/img/Icon-share.svg);
    background-repeat: no-repeat;
    background-color: transparent;
    background-position: 1px 6px;
    background-size: 28px;
}

.video .navigation a.getEmbed {
    width: 49%;
    display: block;
    float: left;
    height: 30px;
    /*border: red solid 1px;
                background: url(/media/1454/globe-download-blue.png) no-repeat transparent 45px;*/
    background-image: url(/Resources/assets/img/Icon-embed.svg);
    background-repeat: no-repeat;
    background-color: transparent;
    background-position: 4px 6px;
    background-size: 27px;
}

.fullwidth {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    padding: 0.5rem 2rem;
}

#newsContainer {}

#mainArticle {
    width: 70%;
    display: block;
    float: left;
    min-height: 200px;
    padding: 40px 20px 0px 0px;
}

#moreNewsArticles {
    display: block;
    width: 29%;
    float: right;
    padding-top: 40px;
}

.news-item {
    display: block;
    height: 137px;
    padding: 18px 0px;
    border-bottom: 2px solid #f6f6f4;
}

.new-image {
    width: 100px;
}

.article-image {
    width: 100px;
    float: left;
    height: 100px;
    object-fit: cover;
}

.art-title {
    padding: 0px 15px;
    float: left;
    width: 68%;
    font-size: x-small;
    font-weight: bold;
    height: 37px;
    font-size: small;
}

.art-summary {
    padding: 0px 15px;
    float: left;
    width: 68%;
    font-size: small;
    height: 45px;
}

.art-date {
    padding: 0px 15px;
    float: left;
    width: 68%;
    font-size: x-small;
}

.art-author {
    font-weight: bold;
}

.main-author {
    font-weight: 500;
    font-size: large;
}

#main-art-image img {
    width: 100%;
    height: 400px;
    padding: 15px 0px;
    object-fit: cover;
}

#main-content p {
    padding: 10px 0px;
}

.strong {
    font-weight: bold;
}

.bottom-line {
    padding: 0 0 50px 0;
    border-bottom: 2px solid #f6f6f4;
}

.pad10 {
    padding: 10px 0px;
}

.headerLine {
    position: absolute;
    top: 100%;
    width: calc(100vw + 4rem);
    left: -3rem;
    pointer-events: none;
}

.footerLine {
    position: relative;
    top: 40px;
    width: 100vw;
    width: calc(100vw + 4rem);
    left: -3rem;
    pointer-events: none;
}




.attachment-links {
    display: block;
}

.attachment-link {
    display: block;
    width: 20%;
    float: left;
    /* height: 210px; */
    margin: 0px 20px 20px 0px;
    border: 1px solid var(--light-blue);
    width: 290px;
    height: 290px;
}

    .attachment-link .placeholder-div,
    .attachment-link .attachment-thumbnail {
        width: 100%;
        float: left;
        height: 229px;
        padding-bottom: 10px;
        object-fit: cover;
        text-align: center;
    }

.attachment-links .linkLabel {
    display: inline-block;
    text-align: center;
    margin-top: 5px;
    height: 54px;
    /* border: 1px black solid; */
    width: 100%;
    vertical-align: middle;
    background-color: white;
}

.attachment-thumbnail {
    display: block;
}

.attachment-link .placeholder-div {
    padding-top: 85px;
    background-color: var(--theme-blue);
    color: white;
    height: 220px;
    margin-bottom: 9px;
}

.attachment-link a:hover { font-weight: bold; }

.breadcrumb-global {
    padding: 0.5rem 2rem;
}

h1.centered {
    font-weight: 600;
    text-transform: uppercase;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--light-blue);
}

#standard-page {
    padding-left: 2rem;
}

#standard-page a {
    font-weight: 600;
}

#standard-page ul {
    padding-left: 2rem;
}

#standard-page li {
    margin-bottom: 1rem;
    font-size: 14pt;
    list-style-type: circle;
}

.windoplanLink {
    text-decoration: none;
    height: 64px;
    display: block;
    background-repeat: no-repeat;
    background-image: url('/Resources/assets/img/button-windoplan.svg');
}

.Barlow,
.Barlow * {
    font-family: Barlow, sans-serif !important;
}

.linkLabel .spacer {
    height: 1px;
    background-color: currentColor;
    width: 120px;
    height: 2px;
    margin: 0 auto;
    padding: 1px;
}

.linkLabel .text {
    padding-bottom: 8px;
    display: block;
}

main.fullwidth {
    background-size: 50%;
    /*min-height: calc(100vh - 66px);*/
}
/** end of templates **/

body.other {

    background-image: url(/Resources/assets/img/Bg-light.png);
    background-position: top 100px right 0px;
    background-repeat: no-repeat;
    background-size: 65%;
}
body main {
    background-image: none;
}

#block-background.standardDownloadPage {
    padding-left: 0px;
}

#block-background.standardDownloadPage #standard-page.standardDownloadContent {
        padding-left: 0px;
    }
#block-background.standardDownloadPage #standard-page.standardDownloadContent p {
    width: 83%;
}
#block-background.standardDownloadPage .agree-button {
    margin-left: -10px;
}