@media (min-width: 0px) and (max-width: 767px) {
    .footerBox1 {
        padding: 15px;
        color: #FAC817;
        text-align: center;
    }

    .footerBox2 {
        text-align: center;
    }

    .footerBox3 {
        text-align: center;
        padding: 15px;
    }

    .boxNews {
        margin-bottom: 30px;
        cursor: pointer;
    }

    .mobilePadd {
        padding-top:20px;
    }

    .logoAlign {
        text-align: center;
    }

    .square-box{
        position: relative;
        width: 100%;
        overflow: hidden;
        background: #016188;
        border-right: 1px solid #ffffff;
        border-bottom: 1px solid #ffffff;
        font-size: 15px;
    }

    .square-box:hover{
        background: #fac718;
    }
    .square-box:before{
        content: "";
        display: block;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .square-content{
        position:  absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        color: white;
    }
    .square-content div {
        display: table;
        width: 100%;
        height: 20%;
    }
    .square-content span {
        display: table-cell;
        text-align: center;
        vertical-align: middle;
        color: white;
        font-size: 15px;
    }

    .headerTopFont {
        color: #ffffff;
        font-size: 14px;
        font-family: 'Open Sans', Helvetica;
        margin-top: 15px;
        text-align: center;
    }

    .infoDate {
        display: none;
    }

}


@media (min-width: 768px) {

    .footerBox1 {
        padding-top: 15px;
        color: #FAC817;
        padding-left: 40px;
        text-align: left;
    }

    .footerBox2 {
        text-align: center
    }

    .footerBox3 {
        text-align: right;
        padding-top: 15px;
        padding-right: 40px;
    }

    .boxNews {
        margin-bottom: 30px;
        cursor: pointer;
    }

    .mobilePadd {
        padding-top:50px;
    }

    .logoAlign {
        text-align: left;
    }

    .square-box{
        position: relative;
        width: 100%;
        overflow: hidden;
        background: #016188;
        border-right: 1px solid #ffffff;
        border-bottom: 1px solid #ffffff;
        font-size: 12px;
    }

    .square-box:hover{
        background: #fac718;
    }
    .square-box:before{
        content: "";
        display: block;
        padding-top: 100%;
    }
    .square-content{
        position:  absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        color: white;
    }
    .square-content div {
        display: table;
        width: 100%;
        height: 100%;
    }
    .square-content span {
        display: table-cell;
        text-align: center;
        vertical-align: middle;
        color: white;
        font-size: 10px;
    }

    .headerTopFont {
        color: #ffffff;
        font-size: 14px;
        font-family: 'Open Sans', Helvetica;
        margin-top: 15px;
        text-align: left;
    }

    .infoDate {
        display: block;
    }
}


/* Menu */
/*Strip the ul of padding and list styling*/
ul {
    list-style-type:none;
    margin:0;
    padding:0;
    position: absolute;
    z-index: 50;
}

/*Create a horizontal list with spacing*/
li {
    display:inline-block;
    float: left;
    margin-right: 10px;
    font-size: 15px;
    z-index: 50;
}

/*Style for menu links*/
li a {
    display:block;
    min-width:100px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    font-family: 'Open Sans', Helvetica;
    font-weight: bolder;
    color: #24394B;
    background: #ffffff;
    text-decoration: none;
    z-index: 50;
}


/*Hover state for top level links*/
li:hover a {
    background: #FAC817;
    text-decoration: none;
    color: #fff;
    z-index: 50;
}

/*Style for dropdown links*/
li:hover ul a, li ul a {
    background-color: rgba(1, 97, 136, 0.85);
    color: #ffffff;
    height: 40px;
    line-height: 40px;
    text-decoration: none;
    z-index: 50;
}

/*Hover state for dropdown links*/
li:hover ul a:hover {
    background: #FAC817;
    color: #fff;
    z-index: 50;
}

/*Hide dropdown links until they are needed*/
li ul {
    display: none;
}

/*Make dropdown links vertical*/
li ul li {
    display: block;
    float: none;
    z-index: 9999999;
}

/*Prevent text wrapping*/
li ul li a {
    width: auto;
    min-width: 100px;
    padding: 0 20px;
    z-index: 9999999;
}

@media (min-width: 768px) {
    ul li a:hover + .hidden, .hidden:hover {
        display: block;
    }
}

/*Display the dropdown on hover*/


ul li a + .hiddenShow, .hiddenShow:hover {
    display: block;
}

/*Style 'show menu' label button and hide it by default*/
.show-menu {
    font-family: 'Open Sans', Helvetica;
    text-decoration: none;
    background: #FAC817;
    text-decoration: none;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    display: none;
}

/*Hide checkbox*/
input[type=checkbox]{
    display: none;
    -webkit-appearance: none;
}

/*Show menu when invisible checkbox is checked*/
input[type=checkbox]:checked ~ #menu{
    display: block;
}


/*Responsive Styles*/

@media screen and (max-width : 760px){
    /*Make dropdown links appear inline*/
    ul {
        position: static;
        display: none;
        z-index: 999999;
    }
    /*Create vertical spacing*/
    li {
        margin-bottom: 1px;
    }
    /*Make all menu links full width*/
    ul li, li a {
        width: 100%;
        z-index: 999999;
    }
    /*Display 'show menu' link*/
    .show-menu {
        display:block;
    }
}

a.bc {
    color: #24394B;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
}

a:hover.bc {
    color: #FAC817;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
}

a.komunikaty {
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
}

a:hover.komunikaty {
    color: #FAC817;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
}
