/* Knowledgebase section styles.

   developer:   marionm, dsherman
   requires:    /common/framework/css/framework.zh.css
                /common/framework/css/gui.zh.css
   ========================================================================== */

/* ==========================================================================
   page setup
   ========================================================================== */

/* variables
   ========================================================================== */

:root {
    /* colors */
    --kb-grey: #656565;
    --kb-red: #dd1100;
    --kb-orange: #ea5b00;
    --kb-blue: #1d96bd;
}

/* elements
   ========================================================================== */

main {
    color: var(--kb-grey);
    font-family: 'Microsoft YaHei', 'Hiragino Sans GB', Arial, sans-serif;
}

main hr {
    border: none;
    border-bottom: 1px solid #b7b7b7;
    height: 0;
    margin: 2.5rem 0 1rem;
    width: 100%;
}

main a { color: var(--kb-orange); }

main a:hover { color: var(--kb-red); }

main a p { color: var(--kb-grey); }

/* classes
   ========================================================================== */

.page-width {
    margin: 0 auto;
    max-width: 900px;
    padding: 0 1rem;
    width: 100%;
}

.two-col-grid {
    display: grid;
    gap: 1rem 3.125rem;
    grid-template-columns: 1fr 1fr;
    margin: 1rem 0 2rem;
}

.three-col-grid {
    display: grid;
    gap: 0.75rem 3.125rem;
    grid-template-columns: 1fr 1fr 1fr;
    margin: 1rem 0 2rem;
}

/* ==========================================================================
   header
   ========================================================================== */

#header {
    background: #fff;
    background: -moz-linear-gradient(top, #fff 0%, #ececec 100%);
    background: -ms-linear-gradient(top, #fff 0%, #ececec 100%);
    background: -o-linear-gradient(top, #fff 0%, #ececec 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fff), color-stop(100%, #ececec));
    background: -webkit-linear-gradient(top, #fff 0%, #ececec 100%);
    background: linear-gradient(to bottom, #fff 0%, #ececec 100%);
}

#header a {
    background: var(--kb-blue);
    color: #fff;
    display: inline-block;
    font-size: .75rem;
    font-weight: 600;
    padding: .3125rem 1.25rem;
    text-transform: uppercase;
}

#header a:hover { background: #1284a9; }

#header h1 {
    color: #000;
    font-size: 2.75rem;
    font-weight: 400;
    margin: 3rem 0 .25rem;
    font-family: 'Source Sans Pro', Arial, sans-serif;
}

#header p {
    font-size: 1rem;
    font-weight: 300;
    padding-bottom: 2.75rem;
}

/* ==========================================================================
   intro section
   ========================================================================== */

section#intro {
    margin: 2.5rem auto 3.75rem auto;
}

#intro h2 {
    color: var(--kb-blue);
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.7;
    margin: 1.1875rem 0 .5rem;
}

#intro p {
    line-height: 1.9;
    margin: .4375rem 0 1rem;
    font-size: 0.9rem;
}

/* ==========================================================================
   coverage section
   ========================================================================== */

#coverage h2 {
    color: var(--kb-blue);
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1.7;
    margin: .5rem 0 1.5rem;
}

#coverage h3 {
    text-transform: uppercase;
    font-size: 1.1rem;
    font-weight: 600;
    color:#555;
    font-family: 'Source Sans Pro', Arial, sans-serif;
}

.icon-box {
    width: 1.5rem;
    height: 1.5rem;
    filter: brightness(0) saturate(100%) invert(74%) sepia(60%) saturate(6076%) hue-rotate(334deg) brightness(101%) contrast(101%);
}

.label-box {
    padding-left: 0.5rem;
    font-family: 'Source Sans Pro', Arial, sans-serif;
}

#coverage .two-col-grid h3 {
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: .2rem;
    color:#555;
}

#coverage .two-col-grid p {
    line-height:1.7;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

#coverage .three-col-grid a { color: var(--kb-grey); }

#coverage .three-col-grid a:hover { color: var(--kb-red); }

hr.linebreak { margin-bottom: 2rem; }

hr.linebreak:last-of-type { display: none; }

/* ==========================================================================
   related section
   ========================================================================== */

#related h2 {
    font-size: 1rem;
    font-weight: 600;
    margin: 2.5rem 0 .25rem 0;
}

#related .two-col-grid h3 {
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
    font-weight: 600;
}
#related .two-col-grid p {
    line-height:1.7;
    margin-bottom: 1.0rem;
    font-size: 0.9rem;
}

/* ==========================================================================
   responsive breakpoint styles
   ========================================================================== */

/* styles for large screens (1200px)
   ========================================================================== */

@media all and (max-width: 1200px) {
}

/* styles for medium screens (900px)
   ========================================================================== */

@media all and (max-width: 900px) {
    .two-col-grid { grid-template-columns: 1fr; }

    .three-col-grid { grid-template-columns: 1fr 1fr; }
}

/* styles for small screens (600px)
   ========================================================================== */

@media all and (max-width: 600px) {
    .three-col-grid { grid-template-columns: 1fr; }
}

/* printer styles
   ========================================================================== */

@media print {
}