﻿/* ----------------------------------------

General 

*/
html {
    height: 100%;
    width: 100%;
}

td {
    font-family: "Segoe UI","Lucida Grande",Verdana,Arial,Helvetica,sans-serif;
    font-size: 16px;
    color: #525252;
    vertical-align: top;
}

th {
    font-family: "Segoe UI","Lucida Grande",Verdana,Arial,Helvetica,sans-serif;
    font-size: 16px;
    color: #525252;
}

body {
    font-family: "Segoe UI","Lucida Grande",Verdana,Arial,Helvetica,sans-serif;
    font-size: 16px;
    color: #525252;
    padding: 0px;
    margin: 0px;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

h1 {
    font-family: "Segoe UI Light","Segoe UI",Frutiger,Tahoma,Helvetica,Arial,sans-serif;
    font-weight: normal;
    font-size: 2.2em;
    color: #e60d2e;
    margin-bottom: 0.34em;
}

h2 {
    font-family: "Segoe UI Light","Segoe UI",Frutiger,Tahoma,Helvetica,Arial,sans-serif;
    font-weight: normal;
    font-size: 1.9em;
    color: #e60d2e;
    margin-bottom: 0.42em;
}

h3 {
    font-family: "Segoe UI Light","Segoe UI",Frutiger,Tahoma,Helvetica,Arial,sans-serif;
    font-weight: normal;
    font-size: 1.6em;
    color: #e60d2e;
    margin-bottom: 0.5em;
}

h4 {
    font-family: "Segoe UI Light","Segoe UI",Frutiger,Tahoma,Helvetica,Arial,sans-serif;
    font-weight: normal;
    font-size: 1.4em;
    color: #e60d2e;
    margin-bottom: 0.67em;
}

h5 {
    font-family: "Segoe UI Light","Segoe UI",Frutiger,Tahoma,Helvetica,Arial,sans-serif;
    font-weight: normal;
    font-size: 1.2em;
    color: #e60d2e;
    margin-bottom: 0.84em;
}

a {
    color: #0072bc;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

select {
    font-family: "Segoe UI","Lucida Grande",Verdana,Arial,Helvetica,sans-serif;
    font-size: 16px;
    color: #525252;
    padding: 3px;
}

div.wide {
    width: 10px;
    overflow-x: visible;
}

/* ----------------------------------------

UI elements

*/

/* deprecated
    span.ui  all ui visual elements (menu items, buttons, labels, tabs, ...) {
    font-weight: bold;
}*/

span.key {
    font-weight: bold;
    border: 1px gray solid;
    background: #F0F0F0;
    padding: 0px 5px 0px 5px;
    margin: 0px 3px 0px 3px;
}

span.console {
    font-family: "Courier New", Courier, monospace
}

img.icon {
    display: inline-block;
    padding: 0px;
    margin: 0px 2px 0px 2px;
    width: 1.3em;
    height: 1.3em;
}


/* ----------------------------------------

Tables 

*/

table {
    border-collapse: collapse;
    border: 1px silver solid;
}

th {
    border: 1px silver dotted;
    padding: 0px 5px 0px 5px;
    font-weight: normal;
    background-color: #f0f0f0;
}

td {
    border: 1px silver dotted;
    padding: 0px 5px 0px 5px;
}

tfoot tr td {
    border: 1px silver dotted;
    padding: 0px 5px 0px 5px;
    background-color: #f0f0f0;
}

/* ----------------------------------------

Admonitions 

*/

div.caution {
    margin-top: 8px;
    margin-bottom: 8px;
    margin-left: 26px;
}

div.tip {
    margin-top: 8px;
    margin-bottom: 8px;
    margin-left: 26px;
}

div.note {
    margin-top: 8px;
    margin-bottom: 8px;
    margin-left: 26px;
}

div.tip p {
    display: inline;
}


div.caution p {
    display: inline;
}


div.note p {
    display: inline;
}


div.note div.icon {
    background: url('images/note.png') transparent no-repeat;
    height: 20px;
    width: 20px;
    display: inline-block;
    vertical-align: top;
    margin-left: -26px;
    float: left;
}

div.tip div.icon {
    background: url('images/tip.png') transparent no-repeat;
    height: 20px;
    width: 20px;
    display: inline-block;
    vertical-align: top;
    margin-left: -26px;
    float: left;
}

div.caution div.icon {
    background: url('images/caution.png') transparent no-repeat;
    height: 20px;
    width: 20px;
    display: inline-block;
    vertical-align: top;
    margin-left: -26px;
    float: left;
}

div.caution div.title {
    /*text-transform: uppercase;*/
    /*font-weight: bold;*/
    display: inline-block;
    margin-right: 4px;
}

div.tip div.title {
    /*text-transform: uppercase;*/
    /*font-weight: bold;*/
    display: inline-block;
    margin-right: 4px;
}

div.note div.title {
    /*text-transform: uppercase;*/
    /*font-weight: bold;*/
    display: inline-block;
    margin-right: 4px;
}

div.caution div.title {
    color: #e60d2e;
}

/* ----------------------------------------

Definition list 

*/

dd {
    margin-bottom: 8px;
}

/* ----------------------------------------

Page frame 

*/

.body-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}


.page_header {
    border: 0px;
    border-spacing: 0px;
    border-bottom: 1px solid #e0e0e0;
    z-index: 1; /* Stay on top */
    background-color: #f9f9f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    height: 60px;
    flex-shrink: 0;
}

.page_header_logo {
    flex-grow: 2;
    padding: 10px 10px 10px 20px;
    background: #f9f9f9 url("images/head_bg.png") repeat-x top;
    border: 0px;
    display: flex;
    align-items: center;
}

    .page_header_logo_img {
        width: 121px;
        height: 28px;
        margin-right: 30px;
    }

.page_header_search {
    flex-grow: 3;
    min-width: 300px;
    padding: 10px 10px 10px 20px;
}

.page_header_mobile_controls {
    display: none;
    margin-right: 10px;
}

.page_header_mobile_control {
    padding: 7px;
    width: 28px;
    height: 28px;
    border-radius: 3px;
    text-align: center;
}

    .page_header_mobile_control:hover {
        background: #e5e5e5;
        cursor: pointer;
    }

    .page_header_mobile_control span {
        font-weight: normal;
        font-size: 22px !important;
        line-height: 28px;
        color: #606060;
    }

.search-open .page_header_mobile_control, .search-open .page_header_logo {
    display: none;
}

.search-open .page_header_search {
    display: block;
}

.menu-open #Tree {
    display: block;
}

.menu-open #Content {
    background: rgba(0,0,0,.2);
    filter: blur(1px);
}

.menu-open .page_header_mobile_control_menu {
    background: #e5e5e5;
}

a.page_header_title {
    font-family: "Segoe UI Light","Segoe UI",Frutiger,Tahoma,Helvetica,Arial,sans-serif;
    font-weight: normal;
    font-size: 20px;
    color: #606060;
}

    a.page_header_title:hover {
        text-decoration: none;
    }

#ContentWithTree {
    border: 0px black none;
    width: 100%;
    height: 100%;
    display: flex;
    overflow: hidden;
}

    #ContentWithTree #Content {
        padding: 10px;
        border: 0px black none;
        vertical-align: top;
        width: 100%;
        overflow: auto;
    }

    #ContentWithTree #Tree {
        padding: 10px;
        border: 0px black none;
        vertical-align: top;
    }

    #ContentWithTree #Tree {
        border-right: 1px solid #e0e0e0;
    }

#Tree a.RootNode {
    display: block;
    padding: 2px 2px 2px 12px;
    background: transparent url("images/root.png") no-repeat scroll left center;
    overflow: hidden;
    display: block;
    font-size: 14px;
}

#Tree a.MapNode {
    display: block;
    padding: 2px 2px 2px 12px;
    background: transparent url("images/up_arrow.png") no-repeat scroll left center;
    overflow: hidden;
    display: block;
    font-size: 14px;
}

#Tree span.CurrentNode {
    display: none;
}

div.ContentTree {
    padding-left: 12px;
}

    div.ContentTree table {
        border: none;
    }

    div.ContentTree td {
        border: none;
        padding: 0px;
    }

    div.ContentTree img {
        padding: 5px 0px 0px 0px;
    }

    div.ContentTree td.ContentTreeNode {
        padding: 3px 2px 4px 0px;
        border: none;
        font-size: 14px;
        line-height: 120%;
    }

a.ContentTreeSelectedNode {
    font-weight: bold;
    color: #e60d2e;
}

td.ContentTreeSelectedNode {
    /*font-size: 10pt;*/
}

div#Content {
}

    div#Content th {
        line-height: 1.5em;
    }

    div#Content p {
        line-height: 1.5em;
    }

    div#Content div {
        /*line-height: 1.5em;*/
    }

    div#Content li {
        line-height: 1.5em;
    }

#Tree {
    z-index: 1;
    overflow-x: hidden;
    overflow-y: auto;
    min-width: 300px;
    background: white;
}
/* ----------------------------------------

Google Search 

*/

table.gsc-search-box {
    border: none;
}

    table.gsc-search-box td {
        border: none;
    }

div.gsc-clear-button {
    text-align: right;
    padding-left: 10px;
    margin-right: 4px;
    margin-left: 4px;
    display: inline;
    cursor: pointer;
    background-image: url("//www.google.com/cse/static/css/v2/clear.png");
    background-repeat: no-repeat;
    background-position: center center;
}

table.gsc-branding {
    display: none;
}

table.gsc-input {
    border: none
}

.hide {
    display: none;
}

.ms-Icon {
    font-size: 12px;
}

.grid-empty,
.grid-empty td {
    border: 0px;
    padding: 0px;
}



@media screen and (max-width: 768px) {
    .page_header_title {
        display: none;
    }

    .page_header_search {
        display: none;
    }

    .page_header_mobile_controls {
        display: flex;
    }

    #Tree {
        display: none;
        position: absolute;
        right: 0;
        z-index: 50;
        height: calc(-80px + 100%);
    }
}
