/* CSS Document */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{padding: 0;margin: 0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}

#greyscale #mcsir-logo-links {
    filter: grayscale(100%);
}
#greyscale #header span {
    color: #6c6c6c;
}
#greyscale #slider {
    filter: grayscale(100%);
}
body, table, select, input, button, textarea {
    margin: 0;
    font-weight: 400;
    font-family: "Open Sans",sans-serif;
    color: #333;
    font-size: 1em;
}
body {
    background-color: #fafafb;
    background-repeat: no-repeat;
    background-position: center top, center bottom;
}
h1,h2,h3,h4,h5,h6,h7 {
    font-family: 'Open Sans Condensed', sans-serif;
    line-height: 100%;
    margin: .3em 0;
    color: #1c50b8;
    font-weight: 700;
}
h1 {
    padding-bottom: .5em;
    margin-bottom: .6em;
    text-transform: uppercase;
}
h2 {
    margin: 1.8em auto 1em auto;
}
h3 {
    margin: 1.5em auto .8em auto;
}
h4 {
    margin: 1.5em auto .8em auto;
}
h1 a, h1 a:hover {
    color: #f00;
    text-decoration: none;
}
h2 a, h3 a, h4 a, h2 a:hover, h3 a:hover, h4 a:hover {
    color: #1c50b8;
    text-decoration: none;
}
#wrapper{
    width: 1100px;
    margin: 0 auto;
    
}
#content {
    float: left;
    width: 680px;
    overflow: hidden;
}

#content a {
    text-decoration: none;
}
#sidebar {
    width: 360px;
    float: right;
}
#contact {
    background: #e5eff4;
    padding: 30px;
    width: 300px;
}
#contact div {
    background-position: 0 0;
    background-repeat: no-repeat;
    padding-left: 70px;
    margin-bottom: 20px;
}
#contact .contact {
    background-image: url(../images/iconcontact.png);
}
#contact .maps {
    background-image: url(../images/iconmaps.png);
    background-position:  7px 0;
}
#contact .opening {
    background-image: url(../images/iconclock.png);
    margin-bottom: 0;
}

#contact h3 {
    margin: 0 0 14px
}
#contact p{
    font-size: 0.9em;
    text-align: left;
}
#contact a {
    color: #4879B5
}
#contact a:hover {
    color: #246;
    text-decoration: none;
}
p {
    line-height: 1.6em;
    margin-bottom: 1.4em;
    text-align:justify;
}
p.info {
   background: #fee;
   text-align: center;
   border-top:1px solid #c00;
   border-bottom:1px solid #c00;
   padding: 20px;
   font-size: 16px;
}
em {
    border-bottom: 1px dotted #999999;
    font-style: normal;
}

em.italic {
    font-style: italic;
    border-bottom: none;
}

ul, ol {
    margin-left: 40px;
    margin-bottom: 1em;
    line-height: 150%;
}
ul li, ol li {
    padding: .4em 0;
}
ol > ul > li {
    list-style-type: disc;
}
ol {
    text-align: justify;
}
#top {
    display: flex;
    justify-content: space-between;
    padding: 30px 0 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px
}

#header {
    text-decoration: none;
    line-height: 120%;
    color: #999;
    font-weight: 800;
    font-size: 30px;
    margin-top: 10px;

}
#header-links {

}
#header span {
    font-size: 170%;
    font-weight: 800;
    color: #00408f;
    text-transform: uppercase;
}
#mcsir-logo-small {
    float: right;
}
#mcsir-logo-links {
    position: relative;
    width: 180px;
    height: 70px;
    background: url(../images/mcsir_logo_2.png) no-repeat 0 0;
    margin: 0 0 10px 30px;
}
#mcsir-logo-links a {
    display: block;
    position: absolute;
    /*text-indent: -9999em;*/
}
#mcsir-logo-links a:hover, #mcsir-logo-links a:focus {
    background: rgba(0,0,0,0.15);
}
#mcsir-logo-links li {
    padding: 0;
    list-style: none;
    display: block;
    position: absolute;
    width: 40px; height: 40px
}
#mcsir-logo-links .stadion {
    width: 40px; height: 40px;
    left: 1px;
    top: 0;
}

#mcsir-logo-links .lodowisko {
    width: 40px; height: 40px;
    left: 47px;
    top: 0;
}

#mcsir-logo-links .basen {
    width: 40px; height: 40px;
    left: 92px;
    top: 0;
}

#mcsir-logo-links .halagorce {
    width: 40px; height: 40px;
    left: 138px;
    top: 0;
}

#mcsir-logo-links .mcsir {
    width: 179px; height: 26px;
    top: 44px;
}

#mcsir-logo-links a {
    width: 40px; height: 40px;
}

#mcsir-logo-links .mcsir a {
    width: 179px; height: 26px;
    
}
#settings {
    display: flex; 
    min-width: max-content;
    
}
#settings span {
    font-size: 80%;
}
#settings > div {
    margin: 0 0.6em;
}
#settings ul {
    margin-left: 0;
}
#settings ul li {
    display: inline-block;
    
}
#settings ul.lang li a, #settings ul.contrast li a {
    width: 24px;
    height: 24px;
    line-height: 24px;
    display: block;
    border: 1px solid #ccc;
    text-decoration: none;
    font-size: 0.8em;
    text-align: center;
    color: #000;
    font-weight: 600;
}
#settings ul.contrast li.high-contrast a {
    background-color: #000;
    color: #ff0;
}
#settings ul.font-size li a {
    font-size: 80%;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    padding-left: 5px;
    padding-right: 5px;
}
#settings ul.font-size li.bigger a {
    font-size: 100%;
}
#settings ul.font-size li.big a {
    font-size: 120%;
}

#settings ul li a:hover {
    background: #eee;
}
#settings ul li a.current {
    color: #000;
}


#top-menu {
    font-size: 11px;
    text-align: right;
    margin: 10px 0 0 auto;
    float: right;
    width: 607px;
    text-shadow: 1px 1px 1px #fff;
}
#top-menu li{
    text-align: right;
    display: inline;
    list-style-type: none;
    margin-left: 16px;
}
#top-menu li:last-child {
    border-right: 0;
}

#top-menu li a {
    color: #6b6b6b;
    text-decoration: none;
}
#top-menu li a:hover, #topmenu a.current {
    color: #b10000;
}

#menu {
    margin: 20px 0 40px;
    font-size: 15px;
    color: #6b6b6b;
    background-color: #dcdcdc;
    list-style: none;
    padding-left: 20px;
}
#menu li {
    display: block;
    padding: 0;
    margin: 0;
    position: relative;
    float: left;
    line-height: 50px;
    height: 50px;
    
}

#menu li a {
    display: block;
    height: 50px;
    padding: 0 25px;
    color: #303940;
    text-decoration: none;
    
}



#menu li ul {
    font-size: 13px;
    background: #4879b5;
    position: absolute;
    top: 0; left: -10000em;
    margin: 0;
    z-index: 999999;
    width: 404px;
    padding: 10px 0;
    box-shadow: 5px 5px 5px rgba(0,0,0,.1);
}
#menu li a:focus + ul, #menu li.hover ul, #menu li:hover ul {
    top: 50px; left: 0;
}

#menu li ul li {
    min-width: 200px;
    text-align: left;
    line-height: 40px;
    padding: 1px;
    height: 42px;
}
#menu li ul li a {
    color: #fff;
    padding: 1px 30px;
    height: 40px;
}
#menu a:focus, #menu li:hover a, #menu li.hover a, #menu li.current a {
    color: #fff;
    background: #4879b5;
}

#menu li ul a:hover, #menu li ul a:focus {
    background: #3e689b;
}

#menu-wrapper {
    min-height: 50px;
    margin: 20px 0 40px;
    background-color: #dcdcdc;
}

#menu {
    margin: 0;
    float: left;
}
#facebook {
    padding: 7px 10px 0 0;
    float: right;
}

.box-wrapper {
    overflow: hidden;
}

.box {
    width: 300px;
    float: left;
    margin: 0 50px 25px 0;
    color: #6f787d;
}
.box span {
display: block;
}
.box .header1 {
    line-height: 1em;
    color: #004090;
    font-size:19px;
    font-weight: 400;
    padding-bottom: 5px;
}
.box .header2 {
    font-size:13px;
    line-height: 150%;
    color: #6f787d;
}
.box:nth-child(2n) {
    margin-right: 0;
}
.box:nth-child(2n+1) {
    clear: left;
}

.box img {
    width: 100%;
    height: auto;
    margin: 10px 0;
}
.small {font-size: 0.9em;}
.large {font-size: 1.05em;}
.blue {color: #005299}

#footer {
    clear:both;
    font-size: 12px;
    text-align: center;
    overflow: hidden;
    color: #222;
    padding: 10px 0;
    margin-top: 60px;
    margin-bottom: 20px;
}
#footer a {
    color: #222;
}
#footer p {
    margin-bottom: 0;
}

#bottom-menu {
    text-align: center;
    margin: 0 0 0 auto;
    float: right;
    font-size: 12px;
}
#bottom-menu li {
    float: left;
    padding-left:20px;
    list-style-type: none;
    line-height: 1.1em;
    text-align: right;
}

#bottom-menu li a {
    color: #222;
    text-decoration: none;
}
#bottom-menu li a:hover {
    text-decoration: underline;
}
#bottom-menu li:first-child {
    border-left: 0;
}

#footer-contact {
    float: left;
}
#footer-copyright {
    clear: both;
    text-align: center;
}
#footer-info {
    clear: right;
    float: right;
    text-align: right;
    margin-top: 30px;
}

.clear {
    clear:both;
}

hr {
    height: 0;
    border-bottom: 1px dotted #ccc;
    border-width: 0 0 1px;
    margin: 1em 0;
}
a {
    color: #4879B5;
}
a:hover {
    color: #246;
}
a:focus img{
    
}
a:focus {
    outline: 1px dashed #000;
    outline-style: dashed;
}
a.more {

    color: #666;
    text-decoration: none;

}
a.more:hover {
    color: #333;
}

#links-offer {
    overflow: hidden;
    margin-left: 0;
    margin-top: 2em;
}

#links-offer li {
    display: block;
    float: left;
    width: 162px;
    margin-left: 13px;
    background: #f8f8f8;
    padding: 10px;
    height: 22em;
    border-radius: 10px;
    border: 1px solid #ddd; 
}

#links-offer li:first-child{
    margin-left: 0;
}

#links-offer p a{
    text-decoration: none;
    color: #666;
}
#links-offer p a:hover{
    color: #333;
}
#links-offer img{
    border: 1px solid #fff;
}
#links-offer p{
    font-size: 0.88em;
    line-height: 1.4em;
    margin-top: .8em;
    margin-bottom: 0;
    text-align: left;
    padding: 0 5px;
}
#links-offer h2{
    margin-top: .2em;
    margin-bottom: .8em;
    font-size: 11pt;
}
dd.help {display: none;}

.errors {
    background-color: #FCC;
    border: 1px solid #f00;
    color: #f00;
    margin-left: 0;
    list-style-type: none;
    padding: .5em 1em;
    border-radius: 10px;
}
.errors li{
    margin: 0;
    line-height: 1.2em;
}

.success {
    background-color: #E8FFE0;
    border: 1px solid #7ab51d;
    color: #107300;
    margin-left: 0;
    list-style-type: none;
    padding: .5em 1em;
    border-radius: 10px;
}
.success li{
    margin: 0;
    line-height: 1.2em;
}

#middle #column_right .success li { margin: 0}
#middle #column_right .errors li { margin: 0}

dt {
    margin-top: .5em;
}
fieldset {
    background-color: #fafafa;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px 20px 15px;
}

textarea, input {
    color: #333;
}
#slider-under {
    height: 66px;
    background: url(../images/breadcrumbs-shadow.png) no-repeat 0 40px;
}
#breadcrumbs {
    overflow: hidden;
    font-size: 9pt;
    margin-left: 0;
    color: #666;
    background: #e4e4e4;
    padding-left: 10px;
    line-height: 40px;
    width: 570px;
    float: left;
    white-space:nowrap;
}
#breadcrumbs a {
    color: #888;
    padding: 0 .3em;
}
#breadcrumbs a:hover{
    text-decoration: none;
}

#breadcrumbs span {
    padding: 0 .3em;
    color: #333;
    
}

strong {
    font-weight: 600;
}
.data {
    font-size: 8.5pt;
    color: #646464;
    margin-bottom: 0.7em;
}

.image {
    line-height: 0;
    float: left;
    margin: 7px;
}
.image img {
    border: 1px solid #ccc;
}
img.left {
    float: left;
    margin-right: 14px;
    margin-bottom: 0;
    margin-top: 0;
}
img.right {
    float: right;
    margin-left: 1em;
    margin-bottom: .5em;
    margin-top: .2em;
}
img.border {
    border: 1px solid #ccc;
    padding: 1px;
}

hr.no-margin {
    margin-top: 2px;
    border-style: solid;
}


table {
    border: 1px solid #fff;
    background: none;
    vertical-align: middle;
    width: 100%;
    margin-bottom: 50px;
    
    color: #374E93;
    
}
table td {
    text-align: center;
    font-size: 0.8em;
}
table td, table th {
    border: 1px solid #fff;
    cursor: default;

    padding: 7px 10px;
}
table tr  {
background: #E5EFF4
}
table tr:hover td  {
    
}
table tr.legend td {
    font-weight: 600;
}
table:not(.rezerwacje-torow) tr td:first-child:not(.not-first) {
    text-align: left;
    background: #DCE6EB;
    }
table th {
    font-weight: 600;
    background: #4879B5;
    border: 0;
    text-align: center;
    line-height: 200%;
    color: #1C50B8;
    color: #fff;
    text-shadow: 1px 1px 0 #2F547F;
}
table th span {
    padding: 2px 4px;
    font-size: 9pt;
}
table.harmonogram th {
    font-size: 0.8em;
    width: 12.5%;
}
table.harmonogram tr td:first-child {
    text-align: right;
}
table.harmonogram .res {
    background: orange;
}

.box-news {
    font-size: 90%;
    overflow: hidden;
    margin: 15px 0;
}
.box-news h2 {
    font-family: "Open Sans",sans-serif;
    font-size: 1.1em;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 600;
}

#gallery {
    padding-top: 20px;
    overflow: hidden;
    clear: both;
}
#gallery img{
    float: left;
    margin: 0 14px 14px 0;
}

.grupa p {
    font-size: 0.9em;
}

iframe.movie {
    width: 360px;
    height: 203px;
}


/***************** Cookies Info ********************/
#cookies-info{background:rgba(255,255,255,0.9);border-top:1px solid #ddd;font-size:8pt;text-align:left;line-height:130%;position:fixed;width:100%;bottom:0;left:0;right:0;z-index:999;}
#cookies-info div{max-width:980px; width: auto; margin:0 auto;padding:10px;}
#close-cookie-info{float:right;cursor:pointer;font-weight:bold;margin:0 0 10px 10px;}

.slider-wrapper {
    width: 980px;
    margin: 0 auto;
}

.nivoSlider {
    width:100%;
    height:auto;
}

.fancybox-iframe {
    display: block;
    padding: 10px 0;
    background: #4879b5;
    color: #fff;
    text-align: center;
}

.fancybox-iframe:hover {
    background: #3e689b;
}
/* Media queries */
@media screen and (max-width: 1200px) {
    #wrapper {
        width:980px;
    }
    #content {
        width: 620px;
    }
    #header {
        font-size: 28px;
    }
    #header-links {
        
    }
    #sidebar {
        width:340px;
    }
    #contact {
        width: 280px;
    }
    .box {
        width: 280px;
        margin: 0 40px 20px 0;
    }
    .slider-wrapper {
       width: 100%;
    }
    iframe.movie {
        width: 340px;
        height: 192px;
    }
    
}
 
@media screen and (max-width: 1000px) {
    #wrapper {
        width:760px;
    }
    #content {
        width: 500px;
    }
    #header {
        font-size: 24px;
    }
    #top {
        flex-wrap: wrap;
    }
    #settings {
        order: 3;
        margin-left: auto;
       
    }
    #settings > div:last-child {
        margin-right: 0;
        
    }
    #mcsir-logo-links {
        order: 2;
    }
    #header-links {
    }
    #sidebar {
        width:240px;
    }
    #contact {
        padding: 30px 20px;
        width: 200px;
    }
    
    .box {
        width: 100%;
        margin: 20px 0;
    }
    #menu li a {
        padding: 0 15px;
    }
    iframe.movie {
        width: 300px;
        height: 167px;
    }
}
@media screen and (max-width: 1000px ) and (min-width: 800px) {
    #contact div {
        padding: 0;
    }
    #contact .contact, #contact .maps, #contact .opening {
        background: none;
    }
    iframe.movie {
        width: 240px;
        height: 135px;
    }
} 
@media screen and (max-width: 800px) {
    #wrapper {
       width: 500px;
    }
    #header {
        width: calc(100% - 100px);
    }
    #header-links {
        width: 100px;
    }
    #content {
        width: 100%;
    }
    #sidebar {
        width: 100%;
    }
    #menu li {
        text-align: center;
    }
    #menu li a {
        padding: 0 15px;
    }
    #contact {
        padding: 30px 20px;
        width: auto;
    }
    #mcsir-logo-links {
        position: relative;
        float: right;
        width: 44px;
        height: 70px;
        background: url(../images/mcsir_logo_small.png) no-repeat 0 0;
        background-size: contain;
    }
    #mcsir-logo-links a {
        display: none;
    }
    #mcsir-logo-links a:hover {
        background: none;
    }
    #mcsir-logo-links .stadion, #mcsir-logo-links .lodowisko, #mcsir-logo-links .basen, #mcsir-logo-links .halagorce {
        display: none;
    }
    #mcsir-logo-links .mcsir {
        display: block;
        width: 44px;
        height: 70px;
        position: static;
        top: 0;
    }
    #mcsir-logo-links .mcsir a {
        display: block;
        width: 44px;
        height: 70px;
    }
    
    iframe.movie {
        width: 100%;
        height: 282px;
    }
    #settings ul {
        margin-bottom: 0;
    }
}
 
@media screen and (max-width: 540px) {
    
    #wrapper {
         width:90%;
    }
    #content {
        width: 100%;
    }
    #top {
        padding-top: 10px;
    }
    .box {
        width: 100%;
        margin: 20px 0;
    }
    #header {
        font-size: 14px;
    }
    #header span{
        font-size: 20px;
    }
    #header-links {
        width: 60px;
    }
    table td, table th{
        padding: 4px 3px;
        font-size: 0.7em;
    }
    #settings {
        margin-right: auto;
        
    }
    #menu {
        width: 100%;
        height: auto;
        padding-left: 0;
    }
    #menu li {
        float: none;
        border-bottom: 1px solid #ccc;
        height: 40px;
        line-height: 40px;
    }
    #menu li a {
        height: 40px;
    }
    #menu li:hover ul {
        display: none;
    }
    #menu li ul {
        width: 204px;
    }
    #mcsir-logo-links, #mcsir-logo-links .mcsir, #mcsir-logo-links .mcsir a {
        width: 30px;
        height: 48px;
    }
}
 
@media screen and (max-width: 380px) {
    #wrapper {
        width:90%;
    }
    #content {
        width: 100%;
    }
    .slider-wrapper {
        display: none;
    }

    #contact div {
        padding: 0;
    }
    #contact .contact, #contact .maps, #contact .opening {
        background: none;
    }
    p {
        text-align: left;
    }

}