
/*
Theme Name: Male Slowianki
Author: Bartosz Szczecinski
Author URI: http://szczecinski.eu
Version: 1.0
License: GNU General Public License
*/

@import "slick.css";
@import "styles/jquery.fancybox.css";
@import "styles/helpers/jquery.fancybox-thumbs.css";

img {
    border: 0;
}

.ms,
.month-name,
div.title, a {
    -webkit-animation-duration: 0.1s;
    -webkit-animation-name: fontfix;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-timing-function: linear;
}

@-webkit-keyframes fontfix{
    from{     opacity: 1; }
    50%{    opacity: 0.8; }
    to{    opacity: 1; }
}

@font-face {
    font-family: 'croissant_oneregular';
    src: url('croissantone-regular-webfont.eot');
    src: url('croissantone-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('croissantone-regular-webfont.woff') format('woff'),
         url('croissantone-regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

body, html {
    padding: 0;
    margin: 0;
    background: white;
    
    font-family: 'Corbel';
    font-size: 18px;
    line-height: 1.3em;
    color: black;
}

body {
    /*background: url('img/bg.main.nowe.png') repeat-y center top;*/
}

.row {
    width: 1096px;
    margin: 0 auto;
}

.clear {
    clear: both;
}

header {
    /*margin-bottom: 15px;*/
}

#brand {
    /*padding-top: 15px;*/
}

#brand h1 a,
#brand h1 {
    display: block;
    width: 195px;
    height: 192px;    
    margin: 0;
    padding: 25px 0 15px 0;
}

#brand h1 {
    position: relative;
    left: 50px;
}


.menu-stopka-container,
.menu-main-container {
    padding-top: 15px;
}

#brand h1 a {
    background: url('img/logo.new.png?v=20140414') no-repeat;
    text-indent: -9999px;
}

#brand .ms {
    text-decoration: none;
    float: left;
    
    text-indent: -9999px;
    background: url('img/logo-9.png') no-repeat left center;
    
    height: 113px;
    width: 297px;
}

#brand .cm {
    text-decoration: none;
    float: left;
    
    text-indent: -9999px;
    background: url('img/logo-cm.png') no-repeat left center;
    
    height: 113px;
    width: 78px;
}

.menu-stopka-container ul,
.menu-main-container ul {
    margin: 0;
    padding: 0;
    height: 59px;
    /*background: url('img/bg.menu.png') no-repeat;*/
    padding-top: 10px;
    
    text-align: right;
}

#menu-main {
    padding-right: 40px;
}

.menu-stopka-container ul li,
.menu-main-container ul li {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-block;
    background: none;
}


.menu-stopka-container ul li a,
.menu-main-container ul li a {
    position: relative;
    top: 5px;
    display: inline-block;
    
    padding: 0 8px;
    margin: 0 0 0 10px;
    line-height: 44px;
    font-size: 15px;
    color: #777278;
    text-decoration: none;
    font-family: 'croissant_oneregular';
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    text-align: center;
    
    
    font-size: 16px;
    padding: 0 3px;
    margin-left: 5px;    
    
}





.menu-stopka-container ul li a {

}

.menu-stopka-container ul li.current-page-ancestor a,
.menu-stopka-container ul li.current-menu-item a,
.menu-stopka-container ul li a:hover,
.menu-main-container ul li.current-page-ancestor a,
.menu-main-container ul li.current-menu-item a,
.menu-main-container ul li a:hover {
    color: #171837;
    /*background: url('img/bg.menu.new.nowe.png?v=20140414') no-repeat center center;
    background-size: cover;
    background-size: cover;
    color: white;          */
}


footer .menu-stopka-container ul li.current-page-ancestor a,
footer .menu-stopka-container ul li.current-menu-item a,
footer .menu-stopka-container ul li a:hover ,
footer .menu-main-container ul li.current-page-ancestor a,
footer .menu-main-container ul li.current-menu-item a,
footer .menu-main-container ul li a:hover {
    
    background: transparent;
    color: #171837;   
}

.menu-stopka-container {
    padding-left: 318px;
    height: 28px;
    overflow: hidden;
}

.menu-stopka-container ul {
    text-align: right;
    background: none;             
    position: relative;
    top: -27px;
    left: -10px;
}

.menu-stopka-container .menu-item-23 {
    display: none;
}

.menu-main-container ul li,
.menu-stopka-container ul li {
    margin-left: 10px;
}

.menu-stopka-container ul li a {
    color: #747475;
    text-transform: lowercase;
}


footer { 
    border-top: 2px solid #171837;
    padding-top: 0px;
    margin-top: 80px !important;
    position: relative;
    /*background: url('img/bg.footer.png') no-repeat bottom right;    */
}

footer form {    
    width: 315px;
    padding: 0 10px;
    position: absolute;
    
    left: 0;
    top: 10px;
}

footer input[type=text] {
    width: 252px;
    background: url('img/decoration.dot.png') repeat-x bottom left;
    padding: 0 0 12px 0;
    border: 0;
    text-align: center;
    font-size: 23px;
    vertical-align: middle;
}

footer input[type=submit] {
    background: url('img/icon.arrow.right.png') no-repeat;
    width: 30px;
    height: 30px;
    text-indent: -9999px;
    border: 0;
    cursor: pointer;
    vertical-align: middle;
}

header .icons {
    float: right;
    z-index: 200;
    position: relative;
    margin-left: 20px;
    top: 20px;
}

.slider {
    margin-bottom: 28px;
}

.splash {
    margin-bottom: 28px;
    position: relative;
}

.splash img {
    width: 100%;
    position: relative;
    z-index: 5;
}

.splash p {
    position: absolute;
    z-index: 10;
    
    padding: 10px 20px;
    margin: 0;
    top: 70px;
    left: 0;
    font-size: 30px;
    line-height: 1.1em;
    font-family: 'croissant_oneregular';
    background: rgba(255, 255, 255, 0.8);    
}

.splash p:after {
    z-index: 10;
    content: ' ';
    height: 67px;
    display: block;
    position: absolute;
    bottom: -67px;
    left: 0;
    right: 0;
    background: url('img/decoration.pattern-long.png') no-repeat bottom right;
    background-size: cover;
    
}

.slider .item {
    height: 515px;
    background: url('img/tmp.splash.jpg') no-repeat;
    background-size: 100% auto;
    
}

.slider .info {
    width: 312px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    padding: 20px;
    margin-top: 130px;
    background: rgba(255, 255, 255, 0.8);
    
    font-size: 18px;
    position: relative;
}

.slider .info:after {
    content: ' ';
    height: 67px;
    display: block;
    position: absolute;
    bottom: -67px;
    left: 0;
    right: 0;
    background: url('img/decoration.pattern.png') no-repeat top right;
    background-size: cover;
    
}

.slider .info h2 {
    font-size: 24px;
    font-family: 'croissant_oneregular';
    margin: 0;
    padding: 0;
}

.slider.header .slick-prev,
.slider.header .slick-next {
    display: none !important;
}

.slider.header .slick-dots {
    
}

body .slick-dots li.slick-active {
    background: #f2a426;
    opacity: 0.85;
    
}

.slider.header .slick-prev {
    right: 40px;
    left: auto;
    top: 20px;
    z-index: 99;
}

.slider.header .slick-next {
    right: 10px;
    top: 20px;
    z-index: 99;
}

.slider.header .slick-prev:before,
.slider.header .slick-next:before {
    /*color: #f2a426;
    font-size: 29px;
    */
    
    font-family: 'Verdana' !important;
    display: inline-block;
    background: #f2a426;
    border: 0;
    width: 27px;
    height: 27px;
    line-height: 24px;
    content: '>';
    border-radius: 50%;
    text-align: center;
}

.slider.header .slick-prev:before {
    content: '<';
}

.slick-dots {
    bottom: -5px !important;
}

.slick-dots li a:before{
    content: ' ' !important;
}

.slick-dots li {
    background: white;
    border: 0;
    border-radius: 50%;
    width: 15px;
    height: 15px;
}

.slick-dots li.slick-active {
    background: #00ac34;
}

.index-box {
    height: 339px;
    float: left;
    width: 335px;
    
    padding-bottom: 26px;
    background: url('img/bg.gallery.new.3.png') no-repeat bottom left;
    
    
}

.index-box > a {
    display: block;
    overflow: hidden;
}

.index-box > a img {
    
}

.sub-box {
    height: auto;
    padding-bottom: 36px;
}

.index-box:nth-child(2) {
    margin: 0 45px;
    
    background: url('img/bg.gallery.new.3.png') no-repeat bottom left;
}

.index-box .label {
    display: block;
    height: 63px;
    /*margin-top: 6px; */
    color: white;
    text-decoration: none;
    font-size: 24px;
    line-height: 28px;
    font-family: 'croissant_oneregular';
    
    padding: 10px 10px 0 10px;
    background: #818383;
    
    position: relative;
    
    text-shadow: 2px 2px 2px #000
}

.index-box .label:before {
    content: ' ';
    display: block;
    height: 5px;
    background: url('img/decoration.dot-small.png') repeat-x;
    position: absolute;
    top: -3px;
    left: 3px;
    right: 0;    
}


.gallery-intro:nth-child(3n+1):hover .title,
.index-box:nth-child(3n+1):hover .label {
    background: #c23c2c;
    background: #013a8f;
}

.gallery-intro:nth-child(3n+2):hover .title,
.index-box:nth-child(3n+2):hover .label {
    background: #e1cc3a;
    background: #013a8f;
}

.gallery-intro:nth-child(3n+3):hover .title,
.index-box:nth-child(3n+3):hover .label {
    background: #17489e;
    background: #013a8f;
}

.index-box:hover .label,
.index-box:hover .label a {
    color: white;
}





table.callendar {
    width: 100%;
    border-collapse: collapse;
}

table.callendar td,
table.callendar th {
    width: 14%;
    padding: 8px 0;
    font-size: 15px;
    text-align: center;
    background: #f2666a;
    color: #c5dcc3;
}

table.callendar th {
    background: #f2666a;
    padding-top: 22px;
    border-bottom: 3px solid white;
    color: white;
}

table.callendar a {
    font-weight: bold;
    display: inline-block;
    width: 25px;
    height: 25px;
    color: white;
    text-decoration: none;
    line-height: 25px;
    text-align: center;
}

table.callendar a.active {
    border-radius: 50%;
    background: #cd265a;
    color: white;
}

table.callendar + .label {
    text-align: center;
}

table.callendar + .label a {
    /*color: #c6243c;*/
    color: white;
    text-decoration: none;
}

table.callendar.gray th,
table.callendar.gray td {
    background: #e9e9e9;
}

table.callendar.gray th {
    border-bottom: 2px solid white;
}

table.callendar.gray th,
table.callendar.gray td a {
    color: black;
}

table.callendar td a.current {
    border: 1px solid #171837;
    border-radius: 50%;
}

table.callendar.gray td a.active {
    background: #171837;
    color: white;
}

table.callendar.gray.hasCurrent td a {
    opacity: 0.5;   
}

table.callendar.gray.hasCurrent td a.current {
    opacity: 1;
}

article.post {
    margin-bottom: 25px;
}

article.post div.image,
article.post div.callendar {
    width: 335px;
    float: left;
    margin-right: 20px;
}

article.post div.image img {
    width: 335px;
    height: auto;
}

article.post div.image + div.content,
article.post div.callendar + div.content {
    margin-left: 355px;
}

article.post div.title {

    font-size: 24px;
    font-family: 'croissant_oneregular';

    color: white;
    padding: 13px 15px 12px 15px;
    /*overflow: auto;*/
    
    /*background: #171837 url('img/decoration.title.png') no-repeat 145px 0;*/
    background: #171837;
    background-size: 18px 100%;
    position: relative;
}

article.post div.title .social {
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -10px;
}

article.post div.title span.date {
    display: inline-block;
    width: 160px;
    float: left;
}

article.post div.title span.title {
    display: block;
}

article.post div.title span.date + span.title {
/*article.post div.title span.title {*/
    display: block;
    width: 440px;
    padding-left: 160px;
    /*float: left;*/
}


.month-name {
    font-size: 24px;
    font-family: 'croissant_oneregular';
    color: white;
    border-top: 3px solid white;
    background: #171837;
    padding: 15px 5px;
    text-align: center;
    display: block;
}


/*
header .menu-main-container ul {
    background: none;
    text-align: right;
}

header .menu-main-container ul li {
    background: #7d2116;
}

header .menu-main-container ul li a {
    top: 0;
    color: white;
    padding: 0 20px;
}
*/
/*

header li:nth-child(1) {
    margin-left: 27px;
}

header li:nth-child(2) {
    margin-left: 3px;
}

header li:nth-child(2) a{
    width: 151px;
}

header li:nth-child(3) {
    margin-left: 6px;
}

header li:nth-child(3) a{
    width: 192px;
}

header li:nth-child(4) {
    margin-left: 6px;
}

header li:nth-child(4) a{
    width: 124px;
}

header li:nth-child(5) {
    margin-left: 6px;
}

header li:nth-child(5) a{
    width: 121px;
}

header li:nth-child(6) {
    margin-left: 6px;
}

header li:nth-child(6) a{
    width: 142px;
}
*/
    

#pagination {
    border-top: 1px solid #1d1d1c;
    padding: 15px 0;
    text-align: center;  
    font-family: 'croissant_oneregular';
    font-size: 16px;      
}

#pagination.margin {
    margin-left: 335px;
}

#pagination a {
    font-family: 'croissant_oneregular';
    font-size: 16px;
    text-decoration: none;
    color: #c6243c;
    margin: 0 4px;
}

.gallery img {
    border: 0 !important;
    width: 335px !important;
    height: auto;
}

.gallery .gallery-item {
    width: 335px !important;
    margin-bottom: 45px;
}

.gallery .gallery-item:nth-of-type(2) {
    margin-left: 45px;
    margin-right: 46px;
}

.gallery-intro {
    float: left;
    width: 335px;
    height: 355px;
    margin: 0 0 45px 0;
    overflow: hidden;
    padding-bottom: 37px;
    background: url('img/bg.gallery.new.3.png') no-repeat bottom left;
}

.gallery-intro:nth-child(3n+2) {
    margin-left: 45px;
    margin-right: 45px;
}

.gallery-intro .image {
    display: block;
    height: 260px;
    overflow: hidden;
}

.gallery-intro .title {
    display: block;
    font-size: 24px;
    color: white;
    text-decoration: none;
    font-family: 'croissant_oneregular';
    background: #818282;
    position: relative;
    padding: 25px 10px 25px 10px;
    
    height: 46px;
    text-shadow: 2px 2px 2px #000;
}

.gallery-intro .title:hover {
    background: #1d45b6;
}

.gallery-intro .title:before {
    content: ' ';
    display: block;
    height: 5px;
    background: url('img/decoration.dot-small.png') repeat-x;
    position: absolute;
    top: -3px;
    left: 3px;
    right: 0;
    
}

#slb_viewer_wrap .slb_theme_slb_default .slb_viewer_layout {
    margin-top: -500px;
}

footer form label {
    display: none;
}

.slidingGallery {
    height: 150px;
}

.slidingGallery .image {
    text-align: center;
}

.slidingGallery .slick-prev,
.slidingGallery .slick-next {
    width: 16px;
    height: 16px;
}

.slidingGallery .slick-prev:before,
.slidingGallery .slick-next:before {
    color: #0090a3;
}

.slidingGallery .slick-prev { left: 0; }
.slidingGallery .slick-next { right: 0; }

.slidingGallery .image img {
    width: 200px;
    display: inline;
    cursor: pointer;
}

#gallery-big-image {
    text-align: center;
    height: 580px;
    overflow: hidden;
    margin-bottom: 30px;
}

#primary {
    position: relative;
}

#primary #like {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 100;
}

#gallery-big-image img {
    max-width: 1096px;
    //max-height: 580px;
    
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.header .slick-dots li {
    box-shadow: 0 0 5px #444;
}

.social {
    float: right;
    overflow: hidden;
}

.social.with-title {
    position: relative;
    top: 0.23em;
}

.fb_edge_widget_with_comment span.fb_edge_comment_widget {
left: -300px !important;
}

.gal-prev,
.gal-next {
    position: absolute;
    width: 32px;
    height: 32px;
    
    position: absolute;
    top: 260px;
    right: 0; 
    cursor: pointer;   
}

.gal-prev {
    left: 0;
    right: auto;    
}

.gal-prev:before,
.gal-next:before {
    
    content: '\8594';
    font-family: "slick";
    font-size: 30px;
    line-height: 1;
    color: #7d2116;
    opacity: 0.85;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;    
    

}

.gal-prev:before {
    content: '\8592';
}

.gallery-title {
    font-size: 27px;
    line-height: 1.2em;
}

.gallery-title a {
    color: #171837;
}

.alpha-layer {
    padding-bottom: 10px;
    /*background: url('img/overlay.png') repeat-x 0 75px;*/
}

#fb-widget{
    position: fixed;
    top: 150px;
    right: -410px;
    background: url('img/widget-fb.png') no-repeat top left;
    padding-left: 33px;
    z-index: 300;
}
#fb-widget .wrapper{background:white;width:400px;height:500px;padding:5px}

.gallery {
    padding-top: 35px;
}


.gallery .fancybox-thumb {
    width: 260px;
    height: 180px;
    background-size: cover;
    background-position: center center;
    display: inline-block;
    margin: 7px;
} 


.fancybox-overlay {
    background: rgba(0, 0, 0, 1);
}

#fancybox-thumbs ul li.active {
    opacity: 1;
}

.contact input[name=url] { display: none }

.contact input[type=text],
.contact textarea {
    font-size: 14px;
    font-family: inherit;
    padding: 8px;
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.contact textarea {
    height: 200px;
}

.contact div {
    text-align: right;
}

.contact input[type=submit] {
    background: #f5a42e;
    padding: 8px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    border: 0;
    border-radius: 3px;
}

.main-news-content {
    overflow: hidden;
}

footer p.icons {
    float: right;
    vertical-align: middle;
    margin: 0;
    padding: 10px 0 0 0;
}

.fancybox-lock {
    overflow-y: scroll !important;
    margin: 0 !important;
}    

.fancybox-margin {
    margin: 0 !important;
}
.fancybox-lock body {
    overflow-y: hidden !important;
}

.fancybox-lock .fancybox-overlay {
    overflow: hidden;
}

footer p {
    font-size: 0.9em;
    margin: 0;
    padding: 5px 0;
}

.darczyncy {
    padding-top: 20px;
    font-family: 'croissant_oneregular';    
    text-align: center;
}

a[rel=less-trigger] {
    display: block;
    text-align: right;
}
