/********************************** Global ***********************************/
html, body {
    background-color: #fff;
    color: #565656;
    font-family: Arial, sans-serif;
    font-size: 11pt; 
    margin: 0;
    padding: 0;
}
body {
    height: 100vh;
    display: flex;
    flex-flow: column;
    overflow: hidden;
}

h1 {
    font-size: 16pt;
    font-weight: bold;
    margin-bottom: 0.5em;
}

input {
    font-family: Arial, sans-serif;
    font-size: 11pt;
}

a,
a:link,
a:visited,
a:hover,
a:active {
    color: #565656;
}

#container {
    display: flex;
    flex: 1;
}

/*********************************** Header ***********************************/
div.header {
    padding: 13px 40px;
    display: flex;
    justify-content: space-between;
    height: 66px;
    position: relative;
    border-bottom: 1px solid #b3b3b3;
}
div.logo {
    width: 160px;
    margin-left: 0;
    display: flex;
    align-items: center;
}
div.logo > a {
    width: 100%;
}
div.navdivider {
    background-position-x: 50%;
    background-position-y: 50%;
    background-size: cover;
    box-sizing: border-box;
    color: rgb(68, 68, 68);
    display: block;
    font-family: Graphik, sans-serif;
    font-size: 14px;
    height: 12px;
    left: 0;
    line-height: 20px;
    min-height: 12px;
    padding-left: 34px;
    padding-right: 34px;
    text-size-adjust: 100%;
    position: absolute;
    right: 0;
    top: 80px;

}

#news {
    cursor: pointer;
    position: absolute;
    right: 180px;
    top: 2px;
}

#news:hover {
    color: black;
}

#languages {
    right: 0;
}

/*********************************** Footer ***********************************/
#footer {
    bottom: 0;
    left: 0;
    position: absolute;
    height: 22px;
    width: 100%;
    display: flex;
    align-items: center;
    background: #f6f6f6;    /* See _app.style.variables */
    color: #444;            /* See _app.style.variables */
    font-size: 11px;        /* See _app.style.variables */
    border-top: 1px solid #b3b3b3;
}

#footer-inner {
    margin-left: 40px;  /* Same as header */
}

#footer a {
    color: #444;            /* See _app.style.variables */
    text-decoration: none;
}

#footer ul {
    list-style: none;
}

#footer li {
    display: inline-block;
    margin-right: 10px;
}

#app_name {
    font-weight: bold;
}

#imprint,
.version {
    cursor: pointer;
}

/********************************** Content ***********************************/
.content-wrapper {
    flex: 1;
    margin: 0;

    overflow-y: auto;
    display: flex;
    flex-flow: column;
    background: white url("/solarplanit/resources/img/baywa/background.jpg") no-repeat 0 95%;
    background-size: cover;
}
.content {
    /*outline: 1px dashed lightgray;*/
    display: flex;
    flex-flow: column;
    justify-content: flex-start;
    line-height: 190%;

}

.stripe {
    background: #f6f6f6;
    margin: 10vh 0 5vh;
    flex: 0 0 220px;
    height: 200px;
    display: flex;
    flex-flow: row wrap;
}

.size-bounds {
    margin: 0 auto;
    max-width: 1728px;
    min-width: 650px;
    flex: 0 0 90vw;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: stretch;
}

.left-container {
    flex: 0 1 860px;
    min-width: 522px;
    align-self: center;
    display: flex;
    align-items: center;
    padding: 20px;
    background: #f6f6f6;
}

.right-container {
    flex: 0 0 522px;
    display: flex;
    flex-flow: column;
    justify-content: flex-start;
    overflow-y: auto;
    padding: 5px 10px;
}

@media only screen and (max-width: 1600px), only screen and (max-height: 520px) {
    .stripe {
        margin: 2vh 5vh;
        flex: 1 1 auto;
        background: transparent;
    }

    .left-container, .right-container {
        margin: 10px 0;
        padding: 20px;
        background: #f6f6f6;
    }
}

.formbutton {
    font-size: 14px;
    padding: 15px 20px 12px;
    border: 1px solid #008c46;  /* $baywa-color-dark-green */
    color: #008c46;             /* $baywa-color-dark-green */
    background-color: transparent;
    -webkit-transition: all 200ms;
    -moz-transition: all 200ms;
    transition: all 200ms;
    cursor: pointer;
}
.formbutton:hover {
    background-color: #008c46;  /* $baywa-color-dark-green */
    color: #fff;
}

/******************************** Warning box *********************************/
.box {
    border-bottom: 1px solid #aaa;
    background-color: #ececec;
    display: block;
    width: 100%;
}
.box-inner {
    position: relative;
    width: 940px;
    padding: 12px 0;
    margin: 0 auto;
}

.box.warning {
    border-bottom-color: red;
    color: red;
}

.box-inner > span {
    display: inline-block;
    width: 920px;
}

.box-inner > .formbutton {
    bottom: 5px;
    padding: 6px 12px;
    position: absolute;
    right: 0;
}

/*************************** Override grid *********************************/
#container .row {
    width: inherit;
}


/*************************** Cookie settings *********************************/

.gg_cookie {
    position: fixed;
    left: 30px;
    top: auto;
    right: auto;
    bottom: 30px;
    z-index: 1006;
    display: none;
    width: 600px;
    max-width: 45vw;
    margin-right: auto;
    margin-left: auto;
    padding: 30px;
    justify-content: space-between;
    align-items: center;
    border-style: solid;
    border-width: 1px;
    border-color: #4d4d4d;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 35px 35px -15px rgba(0, 0, 0, .3);
    font-size: 0.75rem;
}

.gg_cookie h2 {
    font-size: 14px;
    line-height: 17px;
    color: #4d4d4d;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-family: 'BayWa Sans', sans-serif;
    letter-spacing: 0.5px;
}

.gg_cookie p {
    font-size: 14px;
    line-height: 20px;
    color: #4d4d4d;
    font-weight: 300;
}

.gg_cookie .fake-consent-box {
    display: flex;
    padding-top: 10px;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e2e2e2;
}

.gg_cookie .cookie-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gg_cookie .fake-checkbox-wrap {
    display: flex;
    padding-right: 20px;
    align-items: center;
    cursor: pointer;
}

.fake-checkbox-wrap.statistics.hide {
    display: none;
}

.gg_cookie .fake-checkbox {
    position: relative;
    width: 12px;
    height: 12px;
    margin-right: 5px;
    border-style: solid;
    border-width: 1px;
    border-color: #c2c2c2;
}

.gg_cookie img {
    max-width: 100%;
    vertical-align: middle;
    display: inline-block;
}

.gg_cookie .check-2 {
    position: absolute;
    left: 0;
    top: auto;
    right: auto;
    bottom: 0;
    width: 14px;
    height: 14px;
    max-width: none;
}

.gg_cookie .check-2.hide {
    display: none;
}

.gg_cookie .button {
    position: relative;
    display: flex;
    height: 44px;
    padding-right: 30px;
    padding-left: 30px;
    float: left;
    justify-content: space-between;
    align-items: center;
    border-style: none;
    border-radius: 3rem;
    background-color: hsla(82.94117647058823, 85.00%, 39.22%, 1.00);
    transition: color 500ms ease, background-color 500ms ease;
    color: #2e2e2e;
    font-size: 1rem;
    line-height: 1em;
    font-weight: 400;
    text-align: center;
    letter-spacing: 0.1rem;
    cursor: pointer;
}

.gg_cookie .button:hover {
    background-color: hsla(82.75862068965517, 85.80%, 33.14%, 1.00);
    color: #fff;
}

.gg_cookie .button.cc-btn-cookie {
    display: flex;
    height: 30px;
    float: none;
    font-size: 0.751rem;
    text-decoration: none;
}

@media (max-width: 991px) {
    .gg_cookie {
        left: 0;
        top: auto;
        right: 0;
        bottom: 0;
        width: auto;
        max-width: 800px;
        border-style: none;
        border-radius: 0;
    }
}

@media (max-width: 470px) {
    .gg_cookie .fake-consent-box {
        flex-direction: column;
    }

    .gg_cookie .cookie-box {
        margin-top: 10px;
    }

    .gg_cookie .button.cc-btn-cookie {
        margin-top: 24px;
    }
}

/********************************** Domain-selector **********************************/

#localization-bar {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    line-height: 1.5rem;
    flex: 1;
    justify-content: flex-end;
    font-size: 10pt;
}

#languages {
    padding: 0.5rem;
}

/*#languages,*/
/*#domainSelector {*/
/*    background-color: #f6f6f6;*/
/*}*/

#domainSelector {
    border-radius: 1px;
    cursor: pointer;
    height: fit-content;
    /*hack: position dropdown right-aligned*/
    direction: rtl;
}

/*hack: position dropdown right-aligned*/
#domainSelector > * {
    direction: ltr;
}

.domain-selector {
    display: flex;
    flex-flow: row wrap;
    padding: 0.5rem;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
}


.ds-desc {
    display: flex;
    flex-flow: column;
    flex: 1 0 auto;
}

.ds-url {
    font-size: 0.8em;
}

.ds-flags {
    display: flex;
    flex-flow: row wrap;
    flex: 0 0 auto;
    max-width: 5em;
    justify-content: flex-end;
}

.ds-flag {
    display: block;
    border-radius: 3px;
    border: 1px solid #aaaaaa;
    width: 1.6em;
    height: 1.2em;
    margin: 2px;
}

#domain-list {
    right: 0;
    width: 300px;
}

.highlight {
    font-weight: bold;
    border: 1px solid;
    border-radius: 3px;
}

