/* popup */

.popuBackground {
    height: 100vh;
    width: 100vw;
    position: fixed;
    z-index: 900;
    background: #2d5972;
    opacity: .30;
}

.popu {
    position: absolute;
    background: whitesmoke;
    z-index: 1200;
}

.popu .ui-dialog-titlebar {
    padding: 20px 40px;
    display: flex;
    justify-content: center;
}

.popu .ui-dialog-content {
    padding: 20px 40px;
}

.popu [aria-label="Close"] {
    position: relative;
    top: -19px;
    left: 105px;
}

.popu span.ui-button-text.ui-c {
    padding: 0 !important;
}

.popu button {
    width: 176px !important;
    height: 42px !important;
    margin: 6px 15px !important;
}

/* bleka gorna */

.header__controls > span {
    margin-left: 0 !important;
}

/** MOBILE **/
@media screen and (max-width: 640px) {
    .header__top, .header__nav {
        display: none;
    }
}

/** TABLETS **/
@media screen and (min-width: 641px) and (max-width: 1024px) {
    .header__container, .subnav__container {
        padding: 2rem;
    }
    .header__controls {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }
    .header__controls, .header__auth {
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
    }
    .header__auth {
        text-align: right;
    }
    .header__auth--label {
        padding-bottom: 0.5rem;
    }
    .header__wcag-label {
        padding-right: 1rem;
    }
    .header .ui-widget, .header__session, .header__session a, .header__auth
    {
        color: hsl(0, 0%, 100%);
        font-size: 1rem;
    }
    .header__nav {
        position: fixed;
        width: 100%;
        top: 6.5rem;
        z-index: 1;
    }
    .subnav {
        background: none;
    }
}

/** SMALL DESKTOP **/
@media screen and (min-width: 1025px) {
    .header__logo {
        background: #FFFFFF;
        border-right: 1px solid hsl(0, 0%, 89%);
    }
    .header__logo a {
        display: block;
    }
    .header__content {
        background-color: #456D2B;
        padding: 0 4.3rem;

    }
    .header.guest .header__logo {
        width: 19.373rem;
        background: hsl(0, 0%, 100%);
    }
    .header__content.guest {
        background-color: white;
        padding-top: 39px;

    }
    .header__content.guest .header__top {
        background: hsla(0, 0%, 100%, 0.3);
    }
    .header, .header .ui-widget {
        font-family: "UrwDinRegular",sans-serif;
        font-size: 1rem;
    }
    .header__session {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
    }
    .header__wcag {
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
    .header__wcag .ui-widget, .header__auth--username {
        font-family: "UrwDinDemi" ,sans-serif;
    }
    .header a, .header__auth, .header__session, .header .ui-widget{
        color: #fff !important;
    }
    .header__logo a {
        overflow: hidden !important;
    }
    .subnav {
        background: #fff;
        border-bottom:1px solid #737373
    }
    .header__top .fa {
        font-size: 1.5rem;
    }
    .header__wcag-label {
        font-weight: bold;
        text-transform: uppercase;
    }
    .zoom-link {
        margin-left: 0.4rem;
        padding-top: 0.3rem;
        padding-bottom: 0.7rem;
        padding-right: 0.1rem;
    }
}

@media screen and (min-width: 1025px) and (max-width: 1440px) {
    .header__container, .subnav__container {
        padding: 0 3.2rem;
    }
    .header__container, .header__wcag-label {
        font-size: 0.8rem;
    }
    .header .ui-button.ui-state-default {
        min-width: 6rem;
        font-size: 1rem;
    }
}

@media screen and (min-width: 1440px) {
    .header__session {
        -webkit-box-flex: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
    }
}

.control:focus {
    border-style: solid;
    border-width: 0.1em;
    border-color: #1A8AD5;
}

.control:hover {
    color: #E6E8E9;
}
.zoom-link:focus {
    outline: 0.1em solid #1A8AD5;

}
.zoom-link:hover {
    outline: 0.1em solid #1A8AD5;
}

.header__wcag img {
    cursor: pointer;
}
/*BiaÅ‚y pasek header*/
.header {
    height: 80px !important;
}

/*.greenSubmenu {*/
/*    padding-top: 1%;*/
/*}*/
.subnav__menubar {
    padding-top: 60px;
}
.header__content.guest .header__top {
    height: 0px !important;
    display: flex !important;

}

.header__controls {
    height: 0 !important;
}
.header__top {
    padding-top: 25px;
    display: flex;
    height: 0 !important;
    justify-content: space-between;

}
.ui-icon-triangle-1-e {
    background-color: white;
}

.header__content.guest{
    padding-top: 0 !important;
}
/* Stylowanie koÅ‚a opcji */
@media screen and (max-width: 1024px) {
    .gear {
        background-image: url(../img/gear1.png.xhtml) !important;
        width: 32px;
        height: 32px;
        background-position: top;
    }
}
@media screen and (min-width: 1025px){
    .gear {
        background-image: url(../img/gear2.png.xhtml) !important;
        width: 32px;
        height: 32px;
        background-position: top;
    }
}

.options{
    max-width: 60px;
}
.options .ui-menu-list li {
    max-width: 200px;
}
.options li.ui-menuitem.ui-widget.ui-corner-all.ui-submenu-child {
    position: absolute;
    background-color: white;
    width: 200px;
    height: 40px;
    right: 10px;
    border: 1px solid lightgrey;

}

.options .ui-menu .ui-menuitem-text {
    padding: 3px;
    margin-left: 8px;
    margin-top:5px;
}
.options li.ui-menuitem.ui-widget.ui-corner-all.ui-submenu-child:hover {
    background-color: #456D2B;
}
.options li.ui-menuitem.ui-widget.ui-corner-all.ui-submenu-child:hover>a {
    color: hsl(0, 0%, 100%) !important;
}
.options .ui-icon-triangle-1-s {
    background: none;
}
.options a.ui-menuitem-link.ui-corner-all{
    font-family: 'UrwDinMedium' ,sans-serif;
}
.options .ui-menu.ui-menu-toggleable li.ui-widget-header .ui-icon {
    margin-top: -15px;
}

.userIcon{
    background-image: url(../img/multiple2.png.xhtml) !important;
}
.accountIcon{
    background-image: url(../img/settings2.png.xhtml) !important ;
}

.options .ui-menu .ui-menuitem-link .ui-menuitem-icon,.options  .ui-menu .ui-submenu-icon {
    margin-top: 10px;
}
.userIcon, .accountIcon{
    margin-left: 20px;
}

li a.ui-state-hover >.userIcon {
    background-image: url(../img/multiple1.png.xhtml) !important;
}
li a.ui-state-hover >.accountIcon {
    background-image: url(../img/settings1.png.xhtml) !important;
}

.ui-widget-content .ui-icon {
    background-image: wheat;
}
.options li a{
    width: 100% !important;
    height: 100%;
}

/* Koniec stylowania */

@media screen and (max-width: 1024px){
    .greenSubmenu{
        display: none;
    }
}

.header__wcag{
    display: flex;
    padding-top: 14px;
    margin-right: auto;

}

@media screen and (max-width: 1440px) {
    .header__wcag .ui-widget, .header__auth--username {
        font-family: "UrwDinDemi" ,sans-serif;
        font-size: 12px;
    }
}
@media screen and (max-width: 1020px){
    .header__content {
        display: none !important;
    }
    .header__auth--label{
        max-width: 200px;
    }
}
@media all and (-ms-high-contrast:none), all and (-ms-high-contrast:active) {
    .ui-outputlabel.ui-widget.header__wcag-label {
        padding-top: 11px;
    }
}

/* Stylowanie koła opcji */

.options{
    max-width: 60px;
}
.options .ui-menu-list li {
    max-width: 200px;
}

@media screen and (max-width: 1020px) {
    .options li.ui-menuitem.ui-widget.ui-corner-all.ui-submenu-child {
        top: 17px;
    }
    .options li.ui-menuitem.ui-widget.ui-corner-all.ui-submenu-child:last-child {
        margin-top: 120px;
    }
}
.options li.ui-menuitem.ui-widget.ui-corner-all.ui-submenu-child {
    position: absolute;
    display: none !important;
    background-color: white;
    width: 200px;
    height: 44px;
    right: 0px;
    border: 1px solid lightgrey;
}

@media screen and (min-width: 1025px){
    .mobileOptions{
        display: none;
    }
}
.mobileOptions li.ui-menuitem.ui-widget.ui-corner-all.ui-submenu-child{
    right: 150px;
}
.header__logo .mobileOptions li.ui-menuitem.ui-widget.ui-corner-all.ui-submenu-child {
    right: 0 !important;
}
@media screen and (max-width: 1025px){
    .header__top {
        display: none !important;
    }
}

.mobileOptions {
    max-width: 15px;
    margin-right: 25px;
    margin-left: auto;
}
.visibleClass{
    display: block !important;
}
.options .ui-menu .ui-menuitem-text {
    padding: 3px;
    margin-left: 8px;
    margin-top:5px;
}
.options li.ui-menuitem.ui-widget.ui-corner-all.ui-submenu-child:hover {
    background-color: #456D2B;
}
.options li.ui-menuitem.ui-widget.ui-corner-all.ui-submenu-child:hover>a {
    color: hsl(0, 0%, 100%) !important;
}
.options .ui-icon-triangle-1-s {
    background: none;
}
.options a.ui-menuitem-link.ui-corner-all{
    font-family: 'UrwDinMedium', sans-serif;
}
.options .ui-menu.ui-menu-toggleable li.ui-widget-header .ui-icon {
    margin-top: -46px;
}
.menuOptions {
    width: 50px;
    height: 50px;
    margin-top: 79px;
}
@media screen and (min-width: 1025px){
    .mobileOptions{
        display: none;
    }
    .mobileKontrast {
        display: none;
    }
}

@media screen and (min-width: 320px) and (max-width: 330px) {
    .mobileKontrast {
        margin-right: -33px !important;
        margin-left: -32px !important;
    }
}

.mobileKontrast {
    margin-left: auto;
    position: relative;
    top: 6px;
}

.mobileKontrast ul {
    display: flex;
}

.mobileKontrast ul li:first-child {
    display: none;
}

.mobileKontrast ul li a {
    padding: 0px;
}

.mobileOptions {
    margin-top: 37px;
    margin-left: -5px !important;
    position: relative;
    left: 32px;
}
.userIcon{
    background-image: url(../img/multiple2.png.xhtml) !important;
}
.accountIcon{
    background-image: url(../img/settings2.png.xhtml) !important ;
}

.options .ui-menu .ui-menuitem-link .ui-menuitem-icon,.options  .ui-menu .ui-submenu-icon {
    margin-top: 10px;
}
.userIcon, .accountIcon{
    margin-left: 20px;
}

li a.ui-state-hover >.userIcon {
    background-image: url(../img/multiple1.png.xhtml) !important;
}
li a.ui-state-hover >.accountIcon {
    background-image: url(../img/settings1.png.xhtml) !important;
}

.ui-widget-content .ui-icon {
    background-image: wheat;
}
.options li a{
    width: 100% !important;
    height: 100%;
}
@media screen and (min-width: 1025px){
    .options :hover > .ui-submenu-child {
        display: block !important;
    }
    .ui-submenu-child :hover{
        display: block !important;
    }
}

@media screen and (min-width: 1025px){
    .menuOptions ul li:nth-child(2){
        margin-top: -9px !important;
    }
    .menuOptions ul li:nth-child(3){
        margin-top: 34px !important;
    }
    .menuOptions ul li:nth-child(4) {
        margin-top: 77px;
    }
    .menuOptions ul li:nth-child(5) {
        margin-top: 120px;
    }
}
/* Koniec stylowania */
@media screen and (max-width: 1279px){
    .header__session {
        width: 205px !important;
    }
    .header__session .control {
        padding: 0 !important;
    }
    .options .ui-menu.ui-menu-toggleable li.ui-widget-header .ui-icon {
        margin-top: -45px;
    }
    .header__wcag ul{
        padding-left: 0 !important;
    }
    .options {
        margin-left: -36px;
    }
    .header__wcag ul {
        margin-left: -20px;
        flex-direction: row;
        display: flex;
        padding-top: 18px;

    }
    .header__content {
        padding: 0 3.2rem 0 0 !important;    }
}
@media screen and (max-width: 1025px){
    .options li.ui-menuitem.ui-widget.ui-corner-all.ui-submenu-child {
        top: 4px !important;
    }
}
.header__wcag a {
    vertical-align: baseline;
}
@media screen and (min-width: 1025px){
    .log_out{
        display: none !important;
    }
}
@media screen and (max-width: 1024px){
    .log_out{
        display: block !important;
        margin-top: 42px;
    }
}
@media screen and (min-width: 640px ) and (max-width: 1024px){
    .button--login.ui-button {
        background: #456D2B;
        margin-left: 30px;
        min-width: 8rem;
    }
    .nav__items__scroll .ui-menu .ui-menu-list .ui-widget-header {
        margin-left: 13px !important;
    }

    .mobileKontrast ul li a {
        font-size: 13px;
    }
}
@media screen and (min-width: 1025px){
    .header__wcag .ui-widget, .header__auth--username {
        font-family: "UrwDinRegular" ,sans-serif;
        font-size: 14px !important;
    }
    .header__session span, .header__session a div {
        font-size: 16px !important;
        font-family: UrwDinRegular, sans-serif !important;
    }

    .header__session span, .header__session div {
        margin-top: 5px;
        padding-top: 2px !important;
    }
    .gora {
        display: flex;
    }
    .timer {
        margin-left: 15px;
        border-bottom: 1px solid;

    }
}

@media screen and (min-width: 1280px) and (max-width: 1380px) {
    .header__wcag ul, .header__wcag .kontrast {
        padding-left: 20px;
        padding-top: 4px;
    }
}
@media screen and (max-width: 1025px){
    .options .ui-menu.ui-menu-toggleable li.ui-widget-header .ui-icon {
        margin-top: -46px;
    }
    div#time {
        margin-left: 15px;
    }
}
@media screen and (min-width: 1280px){

    .ui-outputlabel.ui-widget.header__wcag-label {
        vertical-align: sub;
    }
    .zoomPanel .zoom {
        margin-right: 7px;
    }
    .kontrast p.ui-outputlabel.ui-widget.header__wcag-label {
        padding-bottom: 4px;
    }
}
@media screen and (max-width: 1025px){
    .header__logo a {
        padding: 0 !important;
    }
    .header__wcag ul {
        margin-left: -20px;
        flex-direction: row;
        display: flex;
        display: -webkit-box;
        margin-top: 0 !important;
    }
    .header__controls label, .header__controls span, .header__controls a, .header__wcag {
        margin-left: 5%;
    }
    .mobileOptions {
        margin-top: 37px;
        margin-left: -18px !important;
    }
    .mobileOptions li.ui-menuitem.ui-widget.ui-corner-all.ui-submenu-child:nth-child(2) {
        top: 0 !important;
    }
    .mobileOptions li.ui-menuitem.ui-widget.ui-corner-all.ui-submenu-child:nth-child(3) {
        top: 43px !important;
    }
    .mobileOptions li.ui-menuitem.ui-widget.ui-corner-all.ui-submenu-child:nth-child(4) {
        top: 86px !important;
    }

}
@media screen and (min-width: 1025px){
    .minPanel{
        display: none !important;
    }
}
@media screen and (min-width: 1025px) and (max-width: 1400px){
    .header__auth--label {
        max-width: 200px !important;
        word-break: break-word;
    }
    .header__wcag ul li {
        margin: auto;
    }
}
@media screen and (width: 1366px) and (height: 1024px) {
    .header__wcag ul .zoom {
        display: none !important;
    }
    .header__wcag ul {
        margin-left: -30px !important;
    }
    .wylogujPanel .ui-button.ui-widget .ui-button-text {
        font-size: 13px !important;
    }
    .header__top ul {
        margin-left: -32px !important;
    }
    .wylogujPanel .obywatelButton {
        width: 120px !important;
    }
    .options {
        margin-left: 10px !important;
    }
    .wylogujPanel {
        display: flex !important;
    }
    .obywatelButton {
        margin-right: 11px !important;
        margin-left: 11px !important;
    }
    .header__wcag ul {
        padding-top: 7px !important;
    }
    .backButton span.ui-button-text {
        padding-top: 3px !important;
    }
    div div.header__wcag {
        margin-left: 10px !important;
    }
    span.header__auth--username.backButton {

        max-width:0 !important;
        width: 190px !important;
        font-size: 12px !important;
    }
    .button--login.ui-button {
        margin-left: 10px !important;
    }
    div.header__auth {
        padding-top: 10px !important;
    }
}
div.header__logo .urlniezalogowany {
    background-image: url(../img/ufg_logo2.jpg.xhtml) !important;
    width: 165px;
    height: 63px;
    display: block;
    background-size: 159px;
    background-position-y: 0;
    background-position-x: 9px;
}

div.header img.logoRozmiar {
    width: 181px !important;
    height: 91px !important;
    margin-top: -12px !important;
    margin-left: -5px !important;
}
@media screen and (min-width: 1025px){
    .header__auth--label {
        margin-right: 20px;
    }
}
@media screen and (min-width: 1025px){
    .mobileSession{
        display: none !important;
    }
    .menuGlowneMobile{
        display: none !important;
    }

}
@media screen and (max-width: 1024px){
    .header__session.mobileSession {
        width: 100% !important;
        display: flex;
        flex-direction: row;
        position: absolute;
        top: 10px;
        left: -15px;
    }
    .zoomPanel.minPanel {
        min-width: 100px;
    }
    .mobileSession .control {
        font-size: 15px !important;
        margin-right: 10px;
        color: black !important;
    }
    .mobileSession .timer {
        font-size: 15px;
    }
    .mobileSession .timer {
        font-size: 15px;
    }
    .mobileSession .timer {
        font-size: 15px;
        color: #0000EE !important;
    }
    li.pokazUkryte ul.ui-widget-content.ui-menu-list.ui-corner-all.ui-helper-clearfix.ui-menu-child.ui-shadow {
        display: table-footer-group !important;
        position: relative !important;
        background-color: #73737300 !important;
        top: 0 !important;
    }
    .menuGlowneMobile .subnav__menubar {
        padding-top: 20px !important;
    }
    a.ui-menuitem-link.ui-corner-all.hiddenClass1 {
        display: none !important;
    }
}

.urlniezalogowany {
    padding: 0 !important;
    width: 100%;
}
