html, body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

html {
}

body {
    font-size: 18px;
    font-family: "Open sans", 'sans-serif', verdana;
    color: #222222;
    background-color: #E9F7FB;
}

a {
    color: #006c9c;
    text-decoration: none;
}

img {
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0) scale(1.0, 1.0);
    transform: translateZ(0);
}

#content a:hover {
    text-decoration: underline;
}

*:focus {
    outline: none !important;
}

ul, li, h1, h2, h3, h4, h5, h6, form, label, fieldset, input, p, span, button, textarea {
    padding: 0px;
    margin: 0px;
}

.body {
    margin: 0px auto;
    width: 1180px;
}

#content #content-title {
    font-size: 30px;
    text-transform: uppercase;
    text-align: center;
    padding: 10px 0px 20px 0px;
    font-weight: 300;
}

#main {
    position: relative;
    display: table;
    min-height: 100%;
    height: calc(100vh - 180px);
}

#main > div {
    display: table-cell;
    vertical-align: top;
}

#sidebar {
    width: 280px;
    background: url('/gfx/logo-gm.png') #BFE0E8 center 10px no-repeat;
}

#sidebar .active {
    color: #195668;
}

#main-content {
    max-width: 920px;
}

#main-content > header {
    height: 147px;
    padding: 26px 0px;
    position: relative;
    padding-left: 26px;
    background: url('/gfx/banner.png');
    background-size: contain;
}

#main-content > header > h1 {
    color: #fff;
    font-style: italic;
    margin-top: 112px;
    font-size: 28px;
}

#logo {
    display: block;
    width: 281px;
    height: 147px;
    float: right;
    margin-right: 20px;
}

#footer {
    height: 180px;
    background-color: #fff;
}

#footer-logotypes {
    display: flex;
    justify-content: space-between;
    padding: 10px 0px;
}

#footer-logotypes > img {
    display: block;
    max-height: 100px;
}

#footer > div > p {
    display: block;
    text-align: center;
    padding: 16px 0px;
}

#footer-logotypes > img:first-child {
    width: 300px;
}

#footer-logotypes > img:last-child {
    width: 300px;
}

#sidebar > ul {
    padding-top: 266px;
    margin-bottom: 260px;
}

#sidebar ul {
    text-align: center;
    list-style: none;
}

.menu-sub {
    font-size: 14px;
    margin-right: 0px !important;
}

.menu-sub > li > a {
    line-height: 32px;
    display: block;
    color: #2F8DA9;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
}

.menu-sub > li > a > span {
    margin-left: 6px;
}

#sidebar > a {
    position: absolute;
    bottom: 18px;
    left: 10px;
}

#sidebar > a > img {
    display: block;
    width: 240px;
}

#sidebar > ul > li > a {
    line-height: 54px;
    display: block;
    color: #2086A4;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
}

#sidebar a:hover {
    color: #195668;
}

#content {
    padding: 20px;
    line-height: 26px;
    margin-bottom: 70px;
    background-color: #E9F7FB;
}

#content ul {
    margin-left: 50px;
}

#content p > a {
    font-family: verdana;
}

#main-photo > img {
    max-width: 100%;
}

#button-logout {
    display: inline-block;
    background-color: #008DD2;
    color: #fff;
    padding: 3px 10px;
    position: absolute;
}

#button-logout:hover {
    background-color: #000;
}

/**** GALERIA ****/

.inline-gallery {
    list-style: none;
    margin: 20px auto !important;
}

.inline-gallery > li {
    display: inline-block;
    margin: 0px 0px 6px 8px;
    overflow: hidden;
}

.inline-gallery > li img {
    -ms-transform: scaleY(1);
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
    transition: all 0.5s ease-in-out;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.inline-gallery > li img:hover {
    -ms-transform: scale(1.4);
    -webkit-transform: scale(1.4);
    transform: scale(1.4);
    opacity: 0.5;
}

/**** GALERIA KONIEC ****/

.clear {
   display: block;
   height: 0;
   clear: both;
}

.clearfix:after {
   content: " ";
   display: block;
   height: 0;
   clear: both;
}