body
{
    background-color: #F6F6F6;
    font-size: 13px;
}
#wrapper, #content
{
    width: initial;
    max-width: 999px;
}

.ksst-hidden
{
    opacity: 0;
    transition: opacity .25s;
}
.ksst-hidden-reveal
{
    opacity: 1;
    transition: opacity .5s;
}

#KSST
{
    position: relative;
    padding-top: 30px;
    font-family: 'Ubuntu-Regular', sans-serif;
}
#KSST section
{
    opacity: 1;
    transition: opacity 1s;
}
#KSST section.inactive
{
    opacity: 0.5;
    pointer-events: none;
}

h1, #KSST h1, #KSST h2, #KSST h3, #KSST h4,
#KSST label, #KSST select
{
    color: #6A7781;
    font-weight: 300;
}
h1, #KSST h1, #KSST h2, #KSST h3, #KSST h4
{
    margin: 0;
}
h1, #KSST h1
{
    margin: 0 0 10px;
    font-size: 24px;
    color: #6A7781;
}
header h1
{
    margin: 0 0 30px;
    border-bottom: 1px solid #E0E1E5;
    padding: 0 0 10px;
}
#KSST h2
{
    margin: 10px 0 0;
    font-size: 17px;
}
#KSST h3
{
    font-weight: bold;
}
#KSST h3, #KSST h4
{
    font-family: 'Ubuntu-Bold', sans-serif;
    font-size: 14px;
}
#KSST h3, #KSST h4
{
    margin: 5px 0;
}

#KSST hr
{
    border-color: #B6B6B6;
}

#KSST p + p
{
    margin-top: 10px;
}

#KSST dt, #KSST dd
{
    position: relative;
    height: 20px;
    line-height: 20px;
}

#KSST dl
{
    font-size: 12px;
}
#KSST dl dt
{
    width: auto;
    padding-right: 20px;
}
#KSST-components dl dd
{
    text-align: right;
}
#KSST dl dd
{
    margin: 0;
    white-space: nowrap;
}
#KSST dl dd ~ dd
{
    border-top: 1px solid #E0E1E5;
}
#KSST dl dd ~ dd:last-child
{
    border-bottom: 1px solid #E0E1E5;
}

#KSST-components #KSST-inverter
{
    min-height: 175px;
}
    #KSST-components #KSST-inverter .description
    {
        margin-top: 10px;
    }
#KSST-components #KSST-module
{
    min-height: 220px;
    margin-top: 10px;
}

#KSST input, #KSST select
{
    display: block;
    width: 100%;
    font-size: 11px;
}
#KSST select, #KSST input
{
    padding: 0 5px;
    height: 30px;
}
#KSST select
{
    padding-right: 0;
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active)
{
    #KSST select
    {
        border-right: none;
    }
}
#KSST input[type="number"]
{
    padding-right: 0;
}
#KSST input[readonly]
{
    background-color: #B5BBC0;
    border: 2px solid #B5BBC0;
    font-weight: bold;
    color: #FFF;
}
#KSST input:not([readonly]), #KSST select:not([readonly])
{
    background-color: #FFF;
    border: 1px solid #000;
}

#KSST select + select
{
    margin-top: 10px;
}

#KSST .mpp
{
    margin-bottom: 10px;
    opacity: 1;
    transition: opacity 0.5s;
}
#KSST[data-mpp="0"] .mpp,
#KSST[data-mpp="1"] .mpp:nth-child(1) ~ .mpp,
#KSST[data-mpp="2"] .mpp:nth-child(2) ~ .mpp
{
    opacity: 0;
    pointer-events: none;
}
@media screen and (max-width: 990px)
{
    #KSST[data-mpp="0"] .mpp,
    #KSST[data-mpp="1"] .mpp:nth-child(1) ~ .mpp,
    #KSST[data-mpp="2"] .mpp:nth-child(2) ~ .mpp {
        display: none;
    }
}


#KSST > .legal
{
    position: absolute;
    display: none;
    padding: 20px 15px;
    background-color: #FFF;
    font-size: 16px;
    z-index: 1;
}
#KSST > .legal h2
{
    margin-top: 0;
    font-size: 21px;
}
#KSST > .legal button
{
    display: inline-block;
    height: 25px;
    border: 0;
    padding: 0 35px;
    background: #B6B7BC;
    color: white;
    line-height: 25px;
    text-align: center;
    cursor: pointer;
    float: right;
}
#KSST > .legal.enabled
{
    display: block;
    opacity: 1;
}
#KSST > .legal.enabled ~ section
{
    opacity: 0;
}


#KSST-interconn
{
    overflow: hidden;
}


#KSST-components .company_logo
{
    text-align: right;
}
#KSST-components #KSST-module .temperature
{
    margin-top: 15px;
}
#KSST-components #KSST-module .moduleInfo
{
    display: none;
    margin-top: 10px;
}
#KSST-mpp .compilation,
#KSST-interconn dl
{
    margin-top: 25px;
    font-size: 12px;
}
#KSST-interconn dl dt
{
    margin: 0;
}
#KSST-mpp .compilation label
{
    display: block;
    height: 30px;
    line-height: 50px;
}

#KSST-mpp .mpp > .row > h3 ~ *
{
    display: block;
    height: 30px;
    margin-top: 10px;
    line-height: 30px;
}

#KSST-result
{
    padding-bottom: 20px;
    border-bottom: 1px solid #B6B6B6;
    margin-bottom: 20px;
}
#KSST-result .row > div > .row > :first-child
{
    display: block;
    margin: 0;
    line-height: 24px;
}

#KSST .row > div > .row > :not(div):first-child ~ *
{
    position: relative;
    margin-top: 10px;
    min-height: 30px;
    line-height: 30px;
}
#KSST-result .validation .status
{
    position: absolute;
    top: 35%;
    right: 15px;
    height: 20px;
    color: #FFF;
    font-family: FontAwesome, sans-serif;
    font-size: 15px;
    line-height: 1.3;
    transform: translateY(-50%);
    z-index: 1;
}
#KSST-result .validation.ok .status:after
{
    content: '\F00C';
}
#KSST-result .validation.error .status:after
{
    content: '\F00D';
}

#KSST-result .validation.ok input[data-field]
{
    background-color: #20425C;
    border: 2px solid #20425C;
}
#KSST-result .validation.error input[data-field]
{
    background-color: #9B0000;
    border: 2px solid #9B0000;
}

#KSST-result .validation.error.warn input[data-field]
{
    background-color: #ffdc01;
    border: 2px solid #ffdc01;
    color: #000;
}

#KSST-result .validation.error input[data-field="generatorCurrentMPP_total"],
#KSST-result .validation.error input[data-field="generatorCurrentMPP"]
{
    background-color: #ffdc01;
    border: 2px solid #ffdc01;
	color: #000;
}
#KSST-result .warnPowerFactor,
#KSST-result .warnMppPower
{
    display: block;
    padding: 8px 10px;
    background: #FFDD00;
    line-height: 16px;
    font-weight: bold;
    color: #000;
}
#KSST-result .warnMaxCurrent
{
    display: block;
    padding: 8px 10px;
    line-height: 16px;
    font-weight: bold;
	max-height: 0px;
    color: #F00;
}

#KSST-result .warnMaxCurrent.ksst-hidden-reveal {
	max-height: unset;
}
#KSST-result .warnMppPower.ksst-hidden-reveal + .warnPowerFactor.ksst-hidden-reveal
{
    margin-top: 10px;
}

#KSST-export .button
{
    position: relative;
    display: block;
    width: 100%;
    height: 35px;
    padding: 0 5px;
    background-color: #FFF;
    border: none;
    text-align: left;
    font-size: 14px;
    color: #6A7781;
    line-height: 34px;
    cursor: pointer;
}
#KSST-export .button:after
{
    content: '\f02f';
    position: absolute;
    top: 50%;
    right: 5px;
    display: block;
    height: 20px;
    margin-top: -10px;
    line-height: 20px;
    font-family: FontAwesome, sans-serif;
    font-size: 15px;
    color: #767676;
}

#KSST #KSST-export .error > span:not(.ksst-hidden-reveal),
#KSST #KSST-print .error > span:not(.ksst-hidden-reveal)
{
    display: none;
}

#KSST-export .error
{
    position: relative;
    font-weight: bold;
    font-size: 20px;
    color: #F00;
}
#KSST-export .error
{
    min-height: 35px;
    line-height: 35px;
}
#KSST-print .error
{
    padding-left: 20px;
}

.number
{
    position: relative;
}
    .number input[type="text"]::-ms-clear
    {
        display: none;
    }
    .number .arrow
    {
        position: absolute;
        right: 0;
        display: block;
        height: 50%;
        width: 20px;
        background-color: #EEE;
        border: 1px solid #000;

        font-family: FontAwesome, sans-serif;
        line-height: 100%;
        text-align: center;

        cursor: pointer;
        -ms-user-select: none;
        -moz-user-select: none;
        -webkit-user-select: none;
        user-select: none;
    }
    .number .arrow.up
    {
        top: 0;
    }
    .number .arrow.down
    {
        bottom: 0;
    }

#KSST .align-right
{
    text-align: right;
}

#KSST .custom
{
    padding: 4px 20px;
    background: #b6b7bc;
    line-height: 30px;
    color: #FFF;
}
#KSST .custom:hover
{
    cursor: pointer;
}

#KSST .detail input
{
    border: 1px solid rgba(0, 0, 0, 0.25);
    /* background: none; */
    display: inline;
    width: calc(100% - 240px);
    height: 18px;
    padding: 0 5px 0;
    font-size: inherit;
    color: inherit;
    text-align: right;
}

#KSST .detail input + .unit
{
    position: absolute;
    right: -55px;
    text-align: left;
    width: 50px;
}

#KSST .detail + .info
{
    margin-top: 10px;
    font-weight: bold;
    line-height: 16px;
    color: #F00;
}

#KSST-print
{
    display: none;
}
