﻿/*---------------------------------Menu---------------------------------------------------*/
/* Menu: combo */
.CategoryMenu {
    width: 170px;
}

/*drzewko - menu*/
.TreeViewMenu {
    overflow-y: hidden;
    overflow-x: auto;
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
}

/* Menu: raporty, komunikaty */
div#SideMenu {
    width: 17em;
    float: left;
    margin-left: 0px;
    margin-top: 1em;
    line-height: 1em;
    padding-left: 0px;
    padding-right: 0px;
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
}

/* Menu link: raporty, komunikaty */
div#MainMenu {
    float: left;
    margin-bottom: 10px;
    background-image: url('../Resources/CSS/menu_back.jpg');
    background-repeat: repeat;
    padding-left: 0px;
    padding-right: 0px;
    width: 100%;
    font-family: inherit;
    font-weight: inherit;
    font-size: 1em;
}

    div#MainMenu li {
        white-space: normal;
        width: 100%;
        /* background-image: url('../Resources/CSS/menu_back.gif');
        background-repeat: repeat-y;*/
        text-decoration: none;
        padding-bottom: 0.4em;
        /* padding-left: 6px;
    padding-right: 6px;*/
    }

        div#MainMenu li input {
        }


    /* niebieskie bez linków */
    div#MainMenu h2 {
        display: block;
        width: 92%;
        margin: 8px 1px 1px 0px;
        padding: 5px 0 5px 0px;
        background-image: url('../Resources/CSS/menu_back_header.jpg');
        background-repeat: repeat-y;
        font-family: inherit;
        font-size: inherit;
        font-weight: bold;
        text-align: left;
        white-space: normal;
        color: #FFFFFF; /*#3F5D89;*/
        text-decoration: none;
        font-size: 1.1em;
        padding-left: 4%;
        padding-right: 4%;
    }
/* niebieskie bez linków */
div#MainMenu1 li a, div#MainMenu1 h2 {
    display: block;
    width: 92%;
    margin: 8px 1px 1px 1px;
    padding: 5px 0 5px 0px;
    background-image: url('../Resources/CSS/menu_back_header.jpg');
    background-repeat: repeat-y;
    font-family: inherit;
    font-size: inherit;
    font-weight: bold;
    text-align: left;
    white-space: normal;
    color: #FFFFFF; /*#3F5D89;*/
    text-decoration: none;
    font-size: 1.1em;
    padding-left: 4%;
    padding-right: 4%;
}

div#MainMenu li a:hover:link, div#MainMenu li a:hover:visited {
    margin-top: 1px;
    background-image: url('../Resources/CSS/menu_back_hover.jpg');
    background-repeat: repeat-y;
    white-space: normal;
    text-decoration: none;
    color: #3F5D89;
    box-shadow: 0px 1px 3px #555;
}

div#MainMenu li a:link, div#MainMenu li a:visited, div#MainMenu li a:active, div#MainMenu li a:focus {
    background-image: url('../Resources/CSS/menu_back.jpg');
    background-repeat: repeat-y;
    display: block;
    width: 92%;
    padding: 3px 0px 3px 0px;
    font-family: inherit;
    font-weight: inherit;
    font-size: 1em;
    text-align: left;
    text-decoration: none;
    white-space: normal;
    margin-top: 1px;
    color: #3F5D89;
    padding-left: 4%;
    padding-right: 4%;
    transition: all .1s linear;
}

/*------------------------------Nagłówki---------------------------------------------*/

#ctl00_Menu1 {
    width: 100%;
    float: none !important;
}


    #ctl00_Menu1 ul {
        width: 100% !important;
        float: none !important;
    }

/* przycisk na stronie weryfikacji SIO */
.sidelink {
    display: block;
    width: 160px;
    margin: 3px 10px 2px 0;
    padding: 5px 0 5px 8px;
    font-family: inherit;
    font-size: inherit;
    font-weight: bold;
    text-align: left;
    background: #eee;
    color: #26c;
    border-top: 1px solid #ddd;
    border-right: 1px solid #bbb;
    border-bottom: 1px solid #bbb;
    border-left: 1px solid #ddd;
    text-decoration: none;
    background-color: inherit;
    white-space: pre;
}


body > form > div > nav {
    position: absolute;
    margin: 0 auto;
    height: 50px;
    top: 104px;
    bottom: 0;
    right: 0;
    left: 0;
    right: 0;
    list-style-type: none;
    direction: rtl;
}

    body > form > div > nav ul {
        direction: ltr;
        width: 34em;
        padding: 0;
        margin-right: 0px;
        margin-top: 0px;
        margin-bottom: 0px;
    }

        body > form > div > nav ul * {
            display: inline;
        }

.fontSize1, .fontSize2,
.fontContrast1, .fontContrast2, .fontContrast3 {
    color: #3b4248;
    margin-right: 5px;
    margin: 0;
    font-size: 14px !important;
}

fontSize1, .fontSize2 {   
    padding-right: 1px;
}

.fontSize1 {
    padding-left : 6px;
}

.fontSize2 {
    font-size: 1em;
    font-weight: bold !important;
}

.fontContrast1, .fontContrast2, .fontContrast3 {
    text-align: center;
    width: 19px;
    padding-left: 4px;
    padding-right: 4px;
}

.fontContrast1 {
    background-color: white;
    border: 1px solid black;
}

.fontContrast2 {
    background-color: black;
    border: 1px solid black;
    color: white !important;
}

.fontContrast3 {
    background-color: black;
    border: 1px solid black;
    color: yellow !important;
}

.fontContrastAll {
    background-color: transparent;
    border: none;
    line-height: 1.3rem;
    font-size: 1.6rem;
    margin-left: 6px;
}

.fontContrastAll:hover {
    text-decoration: none;
    cursor: pointer;
}


/*ustawienia dla elementu  a -begin*/
body > form > :not(nav) a:hover,
body > form > :not(nav) a:active {
    text-decoration: underline;
}

body > form > div > nav > ul:last-of-type a::after {
    display: inline;
    content: " >";
    color: #3b4248;
}

/*ustawienia dla elementu  a -end*/

/*naglowek, menu kontrast -begin*/
body > form > div > nav ul:not(:last-of-type) {
    background: rgba(89,89,101,1);
    position: absolute;
    top: 4rem;
    height: 5rem;
    right: 0;
    text-align: right;
    padding-right: 1rem;
    padding-top: 0.2rem;
}


body > form > div > nav ul:nth-child(1) li:first-of-type::before {
    display: inline;
    content: "Kontrast:";
    color: #3b4248;
    margin-right: 0.4rem;
}

body > form > div > nav ul:nth-child(1) li:nth-child(4)::before {
    display: inline;
    content: "Czcionka:";
    color: #3b4248;
    margin-right: 0.4rem;
    margin-left: 2rem;
}

/*konstrast -begin*/
body > form > div > nav ul:nth-child(1) li:nth-child(1) a,
body > form > div > nav ul:nth-child(1) li:nth-child(2) a,
body > form > div > nav ul:nth-child(1) li:nth-child(3) a {
    border-radius: 50%;
    color: rgba(0,255,255,0.6);
    border: 2px solid rgba(0,255,255,0.6);
    padding: 0.2rem;
    padding-left: 0.6rem;
    padding-right: 0.6rem;
    width: 4rem;
    text-transform: uppercase;
    font-family: "open-sans-semi-bold";
}


body > form > div > nav ul:nth-child(1) li:nth-child(1) a {
    border: 1px solid #3b4248;
    background: rgba(255,255,255,0.5);
    color: #3b4248;
}

body > form > div > nav ul:nth-child(1) li:nth-child(2) a {
    border: 2px solid rgba(255,255,255,1);
    background: rgba(0,0,0,1);
    color: rgba(255,255,255,1);
}

body > form > div > nav ul:nth-child(1) li:nth-child(3) a {
    border: 2px solid yellow;
    background: rgba(0,0,0,1);
    color: yellow;
}

/*kontrast -end*/

/*rozmiar czcionki menu -begin*/
body > form > div > nav ul:nth-child(1) li:nth-last-child(1) a {
    font-size: 1.4285rem;
}

body > form > div > nav ul:nth-child(1) li:nth-last-child(2) a {
    font-size: 1.1428rem;
    padding-left: 0.4rem;
}

body > form > div > nav ul:nth-child(1) li:nth-last-child(3) a {
    font-size: 1rem;
    padding-left: 0.4rem;
}


/*rozmiar czcionki menu -end*/



/*main - pelny ekran bez nawigacji - begin*/

body > form > nav + main {
    padding-left: 14rem;
}

/*main - pelny ekran bez nawigacji - end*/



/*zmiana rozmiaru czcionki - begin */

html[data-layout-contrast="normal"] {
    background-color : white;
}

html[data-layout-font-size="middle"] {
    transform: scale(1.2);
}


html[data-layout-font-size="big"] {
    transform: scale(1.4);
}

html[data-layout-font-size="large"] {
    transform: scale(1.6);
}

/*zmiana rozmiaru czcionki - end */

/*zmiana kontrastu - begin */

/*bialo-czarny - begin */
html[data-layout-contrast="black-white"] img {
    display: initial;
    filter: grayscale(100%);
}

html[data-layout-contrast="black-white"] div#pageheader {
    background: transparent url('../Other/ApplicationHeader.aspx') bottom left no-repeat !important;
    background-size: contain !important;
    background-position: center !important;
    filter: grayscale(100%);
}

html[data-layout-contrast="black-white"] div#pageheader * {
    background-color: white !important;
    color: black !important;
}

html[data-layout-contrast="black-white"] .AppEnvironment img {
    display: initial;
    filter: grayscale(100%);
}

html[data-layout-contrast="black-white"] > body > header::after,
html[data-layout-contrast="black-white"] > body > header::before {
    color: rgba(0,0,0,1) !important;
}

html[data-layout-contrast="black-white"] *,
html[data-layout-contrast="black-white"] *::after,
html[data-layout-contrast="black-white"] *::before {
    background-image: none !important;
    background-color: rgba(0,0,0,1) !important;
    color: rgba(255,255,255,1) !important;
    border-color: rgba(255,255,255,1) !important;
}

html[data-layout-contrast="black-white"] > body > form > nav *,
html[data-layout-contrast="black-white"] > body > form > nav *::after,
html[data-layout-contrast="black-white"] > body > nav *::before {
    border-color: rgba(0,0,0,1) !important;
}


    html[data-layout-contrast="black-white"] > body > form > nav *[open],
    html[data-layout-contrast="black-white"] > body > form > nav *[open]::after,
    html[data-layout-contrast="black-white"] > body > form > nav *[open]::before {
        background: rgba(255,255,255,1) !important;
        color: rgba(0,0,0,1) !important;
    }

/*bialo-czarny - end */

/*czarno-zolty begin */
html[data-layout-contrast="black-yellow"] img {
    display: initial;
    filter: sepia(100%);
}

html[data-layout-contrast="black-yellow"] div#pageheader {
    background: transparent url('../Other/ApplicationHeader.aspx') bottom left no-repeat !important;
    background-size: contain !important;
    background-position: center !important;
    filter: sepia(100%);
}

html[data-layout-contrast="black-yellow"] div#pageheader * {
    background-color: #ffffef !important;
    color: black !important;
}

html[data-layout-contrast="black-yellow"] .AppEnvironment img {
    display: initial;
    filter: sepia(100%);
}

html[data-layout-contrast="black-yellow"] > body > header::after,
html[data-layout-contrast="black-yellow"] > body > header::before {
    color: rgba(0,0,0,1) !important;
}

html[data-layout-contrast="black-yellow"] *,
html[data-layout-contrast="black-yellow"] *::after,
html[data-layout-contrast="black-yellow"] *::before {
    background-image: none !important;
    background-color: rgba(0,0,0,1) !important;
    color: rgba(255,255,0,1) !important;
    border-color: rgba(255,255,0,1) !important;
}

html[data-layout-contrast="black-yellow"] > body > form > nav *,
html[data-layout-contrast="black-yellow"] > body > form > nav *::after,
html[data-layout-contrast="black-yellow"] > body > form > nav *::before {
    border-color: rgba(0,0,0,1) !important;
}


    html[data-layout-contrast="black-yellow"] > body > form > nav *[open],
    html[data-layout-contrast="black-yellow"] > body > form > nav *[open]::after,
    html[data-layout-contrast="black-yellow"] > body > form > nav *[open]::before {
        background: rgba(255,255,0,1) !important;
        color: rgba(0,0,0,1) !important;
    }

/*czarno-zolty end*/


/*zmiana kontrastu - end */

/*skiplinki*/
.nav a {
    display: inline;
    font-size: 1.27em;
    left: -9000em;
    padding: 5px 10px;
    position: absolute;
    text-align: center;
    text-decoration: none;
    width: 150px;
    z-index: 2;
}

    .nav a:hover, .nav a:focus, .nav a:active {
        background: none repeat scroll 0 0 #4B4B4B;
        border: 2px solid #FFFFFF;
        color: #FFFFFF;
        left: -9000em;
        left: 0;
        position: absolute;
        top: 0;
    }
