/**
 * If using a CSS pre-processor, tell it to overwrite this file. If not, place
 * your custom CSS modifications here.
 */
@import url('//fonts.googleapis.com/css?family=alegreya+sans:300,400,500,500i,700,800&display=swap&subset=latin-ext');

body, .html, html{
    font-family: 'Alegreya Sans', Arial, Verdana, sans-serif;
    font-size: 16px;
    color: #434343;
    //background: url(https://kaplani.pl/sites/all/themes/kaplani/images/bg.png) repeat-x center -45px;
    margin: 0;
    line-height: 1.2em;
}
 body.path-frontpage{
    //background: url(https://kaplani.pl/sites/all/themes/kaplani/images/bg.png) repeat-x center 0px;
}
    
a{
    color: #39364b;
}
a, a:hover, a:focus, a:active {
    -webkit-transition: all 0.35s;
    -o-transition: all 0.35s;
    transition: all 0.35s;
    -moz-transition: all 0.35s;
    -ms-transition: all 0.35s;
    outline: none !important;
    
}
a:hover, a:focus, a:active {
    color: #a60411;
}

h3 a, h2 a{
    text-decoration: none;
    color: #2c2c2c;
    font-weight: 600;
}
h3, .h3 {
    font-size: 22px;
    color: #2c2c2c;
    font-weight: 600;
}

.break{
    clear: both;
}

@media all and (min-width: 1270px) {
    .container{
        width: 1270px;
    }
    .navbar.container {
        max-width: 1190px;
    }
}
.region.region-pastop:after{
    content:'';
    display:block;
    clear:both;
} 

/**************************************menu tylko tytuł**********************/
.menu-tylko-tytul {
    margin-top: 20px;
}
.menu-tylko-tytul li{
    display: none;
    float: none;
}
.menu-tylko-tytul li.active{
    display: block;
}
.menu-tylko-tytul .navbar-nav{
    float: none;
}
.menu-tylko-tytul li.active a{
    margin-top: 10px;
    display: block;
    position: relative;
    background: #d3d3d3;
    color: #ffffff;
    z-index: 1;
    padding: 30px;
    text-transform: uppercase;
    font-size: 120%;
    text-align: center;
    font-weight: 800;
}
.menu-tylko-tytul:after{
    clear: both;
}
.menu-tylko-tytul li.active a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 85%;
    width: 0;
    height: 0;
    border: 31px solid transparent;
    border-top-color: #d3d3d3;
    border-bottom: 0;
    border-left: 0;
    margin-left: -15.5px;
    margin-bottom: -31px;
}
.menu-tylko-tytul li.active a:before{
   background: #d3d3d3;
    content: '';
    display: block;
    height: 50%;
    left: 0;
    position: absolute;
    right: 1px;
    z-index: -1;
    -webkit-backface-visibility: hidden;
    top: -10px;
    transform: skewY(-1.5deg);
    transform-origin: 100% 0;
}
/**************************************menu główne*************************/
header#navbar {
    margin-top: 10px;
}
.menu-sg .menu--main{
    margin-left: 50px;
    margin-top: 5px;
    float: right;
}
@media all and (max-width: 1200px) {
    .menu-sg .menu--main{
        margin-left: 0px;
    }
}
@media all and (max-width: 768px) {
    .menu-glowne ul.menu.menu--main.nav.navbar-nav {
        background: rgba(0,0,0,1);
        width: 100%;
        overflow: hidden;
        margin: 20px 0 0 0;
        padding: 20px;
    }
    .menu-glowne ul.menu.menu--main.nav.navbar-nav:before {
        background: rgba(0,0,0,1);
        content: '';
        display: block;
        height: 50%;
        left: 0;
        position: absolute;
        right: 15px;
        left: 15px;
        z-index: -1;
        -webkit-backface-visibility: hidden;
        top: 0;
        transform: skewY(1.5deg);
        transform-origin: 100% 0;
    }
    .menu-glowne ul{
       background: rgba(0,0,0,1);
    }
    .front .menu-sg .menu--main {
        float: none;
    }
}
.navbar-default .navbar-nav > li > a {
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid transparent;
}
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
    color: #c5c5c5;
}
.navbar-default .navbar-nav > .active > a, 
.navbar-default .navbar-nav > .active > a:hover, 
.navbar-default .navbar-nav > .active > a:focus {
    color: #fff;
    background-color: rgba(255,255,255,0.3);
}
.navbar-default .navbar-nav > .open > a, 
.navbar-default .navbar-nav > .open > a:hover, 
.navbar-default .navbar-nav > .open > a:focus {
    color: #fff;
    background-color: rgba(255,255,255,0.3);
}
.nav .open > a, .nav .open > a:hover, .nav .open > a:focus {
    background-color: #eeeeee;
    border-color: transparent;
}
/***************************************dropdown menu*********************/
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    border-radius: 0;
}
#block-kaplani-main-menu .expanded .expanded ul {
    top: -4px;
    left: 100%;
    margin-left: 0;
    -webkit-box-shadow: 0 6px 12px 0 rgba(0,0,0,0.17);
    -moz-box-shadow: 0 6px 12px 0 rgba(0,0,0,0.17);
    box-shadow: 0 6px 12px 0 rgba(0,0,0,0.17);
}
.menu-czytelnia .dropdown-menu .dropdown-menu > li > a{
    background-color: #ffffff;
    margin-left: 10px;
    border-bottom: 1px solid #000000;
}
.dropdown-menu > li > a:hover, 
.dropdown-menu > li > a:focus {
    color: #262626;
    text-decoration: none;
    background-color: #eeeeee;
}
.dropdown-menu > .active > a, 
.dropdown-menu > .active > a:hover, 
.dropdown-menu > .active > a:focus {
    color: #fff;
    text-decoration: none;
    background-color: #d70816;
    outline: 0;
}
li.expanded.dropdown > a{
    position: relative;
}
.menu--main li li.expanded.dropdown > a:after{
    content: "»";
    display: block;
    width: 7px;
    height: 7px;
    font-size: 14px;
    position: absolute;
    top: 3px;
    right: 5px;
}
/***************************************top*****************************/
.front .slider-top {
    position: absolute;
    top: -20px;
    width: 100%;
}
.front .pas-top {
    z-index: 10;
    position: relative;
}
.front header#navbar {
    margin-top: 10px;
    z-index: 1;
    //margin-bottom: 380px;
}

.navbar-default {
    background-color: transparent;
    border-color: transparent;
}
@media all and (max-width: 768px) {
    .banner-top img {
        height: 240px;
        width: auto;
        max-width: none;
    }
}



.bubble.bb-red{
    position: relative;
    background: #d70816;
    color: #ffffff;
    z-index: 1;
}
.bubble.bb-red:after{
	content: '';
	position: absolute;
	bottom: 2px;
	left: 24%;
	width: 0;
	height: 0;
	border: 28px solid transparent;
	border-top-color: #d70816;;
	border-bottom: 0;
	border-right: 0;
	margin-left: -14px;
	margin-bottom: -28px;
}

.slider-teksty{
    margin-top: -30px;
    padding-bottom: 60px;
    font-size: 110%;
    line-height: 1.5em;
    font-weight: 300;
}
@media all and (min-width: 1000px) {
    .slider-teksty{
        margin-top: -50px;
    }
}
@media all and (min-width: 1200px) {
    .slider-teksty{
        margin-top: -160px;
    }
}
.slider-teksty .col-sm-2 {
    padding: 10px 0;
    text-align: center;
}
@media all and (max-width: 1200px) {
    .slider-teksty .more-link a{
        font-size: 12px;
        padding: 7px 10px;
    }
}
@media all and (max-width: 992px) {
    .navbar-default .navbar-nav > li > a{
        padding: 5px;
        font-size: 12px;
    }
    .navbar .logo img{
        width: 130px;
    }
}

@media all and (max-width: 768px) {
    .slider-teksty{
        margin-top: 0px;
    }
    .front .slider-teksty{
        margin-top: -60px;
    }
}
.padding40{
    padding: 40px;
}
.padding-bubble{
    padding: 10px 40px 20px 40px;
    min-height: 200px;
}
@media all and (max-width: 768px) {
    .padding-bubble .col-sm-10{
        padding: 0;
        line-height: 1.2em;
    }
}
.slider-teksty h1{
    font-weight: 300;
    font-size: 36px;
    margin-bottom: 20px;
}
@media all and (min-width: 1200px) {
    .slider-teksty h1{
        font-weight: 300;
        font-size: 56px;
        margin-bottom: 30px;
    }
    .padding-bubble{
        padding: 0px 80px 40px 80px;
        margin-top: 30px;
    }
}
@media all and (max-width: 768px) {
    .slider-teksty h1{
        font-weight: 300;
        font-size: 28px;
        margin-bottom: 20px;
    }
}
h1 strong{
    font-weight: 800;
}
@media all and (max-width: 500px) {
    .slider-teksty h1{
        font-size: 26px;
    }
    .slider-teksty{
        font-size: 110%;
    }
}
.bubble.bb-red:before {
    background: #d70816;
    content: '';
    display: block;
    height: 50%;
    left: 0;
    position: absolute;
    right: 0;
    z-index: -1;
    -webkit-backface-visibility: hidden; 
     top: 0;
    transform: skewY(1.5deg);
    transform-origin: 100% 0;
}
/***************************************slider*******************************/
.slider-top .owl-carousel{
    position: relative;
}
.slider-top .owl-controls {
    position: absolute;
    bottom: 64px;
    right: calc(50% - 15px);
}
@media all and (max-width: 768px) {
    .slider-top .owl-controls {
        display: none!important;
    }
}
.owl-theme .owl-controls .owl-page span {
    display: block;
    width: 10px;
    height: 10px;
    margin: 5px 7px;
    filter: Alpha(Opacity=50);
    opacity: 0.5;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    background: #ffffff;
}
/***************************************przeczytaj także************************/
@media all and (min-width: 768px) {
    section#block-polecane1 .bs-region--right .field--type-viewsreference{
        padding: 0 0 0 80px;
    }
    section#block-polecane2 .bs-region--right .field--type-viewsreference{
        padding: 0 0 0 80px;
    }
}
.viewsreference--view-title{
    position: relative;
    background: #d70816;
    color: #ffffff;
    z-index: 1;
    padding: 25px 20px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 110%;
    text-align: center;
    margin-bottom: 30px;
    margin-top: -15px;
}
@media all and (max-width: 768px) {
    .viewsreference--view-title{
        margin-top: 30px;
    }
}
.viewsreference--view-title:before {
    background: #d70816;
    content: '';
    display: block;
    height: 50%;
    left: 0;
    position: absolute;
    right: 0;
    z-index: -1;
    -webkit-backface-visibility: hidden; 
    top: -10px;
    transform: skewY(-1.5deg);
    transform-origin: 100% ;
}
.viewsreference--view-title:after{
    content: '';
    position: absolute;
    bottom: 9px;
    left: 85%;
    width: 0;
    height: 0;
    border: 31px solid transparent;
    border-top-color: #d70816;
    border-bottom: 0;
    border-left: 0;
    margin-left: -15.5px;
    margin-bottom: -31px;
}
/*****************************************bubble - czytelnia*******************/
.header-teksty {
    margin-top: 100px;
    margin-bottom: 40px;
}
@media all and (max-width: 768px) {
    .header-teksty {
        margin-top: 30px;
        margin-bottom: 20px;
    }
}
/*****************************************szukaj**********************/
div#block-kaplani-search {
    display: block;
    float: right;
    color: #fff;
}
form#search-block-form{
    display: none;
}
#search-block-form{
    width: 280px;
    margin: 0 auto;
}
#search-block-form input.form-search.form-control{
    height: 50px;
    background-color: #ffffff;
    border: 1px solid #ffffff;
    -webkit-box-shadow: inset 0 0px 0px rgba(0, 0, 0, .075);
    box-shadow: inset 0 0px 0px rgba(0, 0, 0, .075);
    -moz-box-shadow: inset 0 0px 0px rgba(0, 0, 0, .075);
     -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}
#search-block-form .form-group {
    margin: 0px;
}
#search-block-form .btn{
    height: 50px;
    width: 50px;
    background: #d70816;
    border-color: #d70816;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    padding: 10px;
}
#search-block-form .btn:after,
.otworz:after,
.zamknij:before{
    content: "\e935";
    width: 20px;
    height: 30px;
    position: relative;
    margin-top: 2px;
    display: inline-block;
    font-family: 'icomoon' !important;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 24px;
    float: right;
    margin-left: 10px;
    content: "\e935";
}
#search-block-form .btn:after{
    font-size: 24px;
    margin: 3px 5px 0 0px;
    padding: 0;
}
#block-kaplani-search .otworz {
    float: left;
    display: block;
    
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    padding: 0px 10px 0;
    text-align: right;
    width: 120px;
    font-size: 13px;
}

@media only screen and (min-width: 992px) {
    #block-kaplani-search .otworz{
        color: #ffffff;
        width: 280px;
    }
}

@media only screen and (max-width: 768px) {
    #block-kaplani-search .otworz {
        letter-spacing: 0px;
        padding: 7px 0px 0;
        width: 30px;
        font-size: 12px;
    }
    #block-kaplani-search {
        width: 40px;
    }
    #block-kaplani-search.otwarty{
        width: 100%;
        float: none;
        margin-right: -15px;
        margin-top: 0;
        background: rgba(0,0,0,0.9);
        z-index: 100000;
        position: absolute;
        left: 0;
        top: 0;
        padding: 100px 20px;
    }
    .otworz:after{
        margin: 2px 0 0 0;
    }
    .zamknij:before{
        color: #ffffff;
    }
    .container > .navbar-header{
        margin: 0;
    }

}
@media all and (max-width: 500px) {
    #block-kaplani-search .otworz {
        padding: 0;
    }
}
@media all and (max-width: 560px) {
    #block-kaplani-search {
        position: absolute;
        top: -18px;
        right: 0;
        z-index: 1000;
    }
}
.zamknij{
    display: none;
}
.zamknij:before{
    content: "\e900";
}

.more-link a{
    border: 2px solid #ffffff;
    color: #ffffff;
    text-transform: uppercase;
    padding: 10px 15px;
    display: block;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
    white-space: nowrap;
}
/********************************slogan + social menu***************/
.pas-top .container{
    margin-top: 20px;
    border-bottom: 1px solid #454545;
    padding-bottom: 15px;
}
.slogan {
    display: block;
    float: left;
    color: #d4d4d4;
    font-weight: 300;
    text-transform: uppercase;
    font-size: 14px;
    padding: 5px 30px;
    letter-spacing: 1px;
}
@media all and (max-width: 768px) {
    .slogan {
        font-size: 12px;
        padding: 5px 10px;
        color: #ffffff;
    }
}
.social-menu{
    display: block;
    float: left;
}
.social-menu .nav > li{
    display: inline-block;
}
.social-menu .nav > li > a {
    padding: 0px;
    width: 26px;
    overflow: hidden;
    height: 26px;
    color: rgb(255, 255, 255);
    font-size: 26px;
    background: #000000;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}
/******************************menu czytelnia*****************/
.menu-czytelnia.menu-sg{
    border-top: 10px solid #ececec;
    padding: 40px 0;
    margin: 40px auto 0px;
}

@media all and (max-width: 768px) {
    .menu-czytelnia.menu-sg{
        padding: 30px 0;
        margin: 40px auto;
    }
}
.menu-czytelnia{
    padding: 20px 0;
    margin: 30px auto;
}
.menu-czytelnia.menu-stopka{
    border-top: 0;
}
.menu-czytelnia h2{
    width: calc(100% - 15px);
    position: relative;
    background: #d70816;
    color: #ffffff;
    z-index: 1;
    margin-right: 70px;
    padding: 30px;
    margin-top: -10px;
    text-transform: uppercase;
    font-size: 120%;
    text-align: center;
    font-weight: 800;
    margin-bottom: 40px;
}
.menu-czytelnia.menu-sg h2{
    width: 260px;
}
@media all and (min-width: 768px) and (max-width: 1200px) {
    .menu-czytelnia h2{
        padding: 10px;
        width: calc(100% - 30px);
    }
    .menu-czytelnia.menu-sg h2{
        padding: 30px;
        width: 260px;
    }
}
@media all and (min-width: 768px) {
    .menu-czytelnia.menu-sg h2{
        float: left;
        margin-bottom: 0px;
    }
    .menu-czytelnia.menu-sg ul{
        width: calc(100% - 420px);
        float: left;
    }
}
.menu-czytelnia .navbar-nav{
    float: none;
    margin: 0;
}
.menu-czytelnia .nav > li{
    float: none;
}

.menu-czytelnia .nav > li > a{
    padding: 1px 7px;
    color: #282828;
    text-transform: uppercase;
    font-weight: 500;
    margin: 10px 0;
    letter-spacing: 1px;
    font-size: 15px;
    border-right: 1px solid #cccccc;
}
.menu-left.menu-czytelnia .nav > li > a{
    border-right: 0px solid #cccccc;
    border-left: 1px solid #cccccc;
}
.menu-czytelnia.menu-sg ul{
    text-align: center;
}
.menu-czytelnia.menu-sg  .nav > li{
    display: inline-flex;
}
.menu-czytelnia.menu-sg  .nav > li > a{
    display: inline-block;
    float: left;
    margin: 1px 0px;
}
@media all and (min-width: 992px) {
    .menu-czytelnia.menu-sg .nav > li > a {
        display: inline-block;
        float: left;
        margin: 1px 10px 10px 0px;
        padding: 0 20px 0 10px;
    }
}
.menu-czytelnia .nav > li > a:hover, 
.menu-czytelnia .nav > li > a:focus {
    text-decoration: none;
    background-color: #838383;
    color: #ffffff;
}
.menu-czytelnia .caret{
    display: none;
}
.menu-czytelnia.menu-sg h2:before {
	content: '';
	position: absolute;
	right: 0;
	top: 50%;
	width: 0;
	height: 0;
	border: 30px solid transparent;
	border-left-color: #d70816;
	border-right: 0;
	border-top: 0;
	margin-top: -20px;
	margin-right: -30px;
}
.menu-czytelnia.menu-sg h2:after {
    background: #d70816;
    content: '';
    display: block;
    height: 50%;
    left: 0;
    position: absolute;
    right: 0;
    z-index: -1;
    -webkit-backface-visibility: hidden;
    bottom: 0;
    transform: skewY(-1.5deg);
    transform-origin: 100% 0;
}
.menu-czytelnia:after{
    content:'';
    display:block;
    clear:both;
} 
.menu-left .dropdown-menu{
    position: relative;
    float: none;
    box-shadow: none;
    border: 0;
    display: block;
}
.menu-czytelnia .dropdown-menu > li {
    display: inline-block;
}
.menu-czytelnia.menu-stopka li {
    display: inline-block;
}
.menu-czytelnia.menu-stopka .nav > li > a{
    padding: 1px 7px 1px 7px;
    margin: 1px;
    color: #ffffff;
    border-right: 0;
    border-left: 1px solid #3f3f3f;
}
.menu-czytelnia .dropdown-menu > li > a {
    display: block;
    padding: 3px 5px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333333;
    white-space: normal;
    background: #e3e3e3;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 2px;
}
.menu-czytelnia .menu li.active > a {
    background: #be000d;
    color: #ffffff;
}
.menu-czytelnia .dropdown-menu li.active a{
    background: #e3e3e3;
    color: #000000;
}
.menu-czytelnia .dropdown-menu li.active{
    background: #d70816;
}
@media all and (min-width: 768px) {
    .menu-czytelnia.menu-stopka{
        margin-top: -20px;
    }
}
.menu-czytelnia.menu-stopka h2{
    margin-bottom: 40px;
}
.menu-czytelnia.menu-stopka h2:before{
    background: #d70816;
    content: '';
    display: block;
    height: 50%;
    left: 0;
    position: absolute;
    right: 0;
    z-index: -1;
    -webkit-backface-visibility: hidden;
    top: -10px;
    transform: skewY(-1.5deg);
    transform-origin: 100%;
}
.menu-czytelnia.menu-stopka h2:after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 15%;
    width: 0;
    height: 0;
    border: 31px solid transparent;
    border-top-color: #d70816;
    border-bottom: 0;
    border-left: 0;
    margin-left: -15.5px;
    margin-bottom: -31px;
}
.baner-bg {
    background: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
    z-index: -1;
    position: absolute;
    top: -20px;
    width: 100%;
    height: 320px;
}
.front .baner-bg {
    background: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
    position: absolute;
    top: -50px;
    width: 100%;
    height: 340px;
}
@media all and (max-width: 1200px) {
    .front .baner-bg {
        top: -70px;
    }
}
@media all and (max-width: 992px) {
    .front .baner-bg {
        top: -90px;
    }
}
@media all and (max-width: 768px) {
    .front .baner-bg {
        top: -120px;
    }
}
.menu-czytelnia.menu-left{
    margin: 20px auto 30px;
}
@media all and (min-width: 769px) {
    .region.region-footer {
        display: flex;
    }
}
/****************************************sekcje**********************************/

h2.block-title{

}
.break{
    clear: both;
}

.sekcja-title .field--name-field-ikonka {
    position: absolute;
    top: 20px;
    font-size: 30px;
    color: #d70816;
}
.sekcja-title h2{
    margin-left: 50px;
    font-weight: 300;
    letter-spacing: 5px;
    font-size: 180%;
    text-transform: uppercase;
}
.sekcja-title{
    border-bottom: 1px solid #d7d7d7;
    padding-bottom: 10px;
    margin-bottom: 30px;
    position: relative;
}
.sekcja-title.linia-przed{
    border-bottom: 0;
    border-top: 1px solid #d7d7d7;
}
.sekcja-title.bez-lini{
    border-bottom: 0;
    border-top: 0;
}
.sekcja-title.title-m h2{
    font-size: 130%;
    margin-top: 25px;
}

.field--name-field-kategoria-artykulu a{
    left: 0;
    background: #ffffff;
    color: #aaaaaa;
    font-weight: 700;
    max-width: 140px;
    font-size: 12px;
    letter-spacing: 1px;
    line-height: 1em;
    font-style: italic;
}


.more-link2{
    height: 16px;
    width: 16px;
    overflow: hidden;
    display: inline-block;
    position: absolute;
    right: 0;
    bottom: 0px;
}
.more-link2 a:before{
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    content: "\e936";
    color: #d70816;

}

.view-artykuly.view-display-id-block_2 .views-row{
    margin-bottom: 50px;
}
.margintop0{
    margin-top: 0;
}
.margintop80{
    margin-top: 80px;
}
@media all and (max-width: 768px) {
    .margintop80{
        margin-top: 40px;
    }
}
.margintop40{
    margin-top: 40px;
}
@media all and (max-width: 768px) {
    .margintop40{
        margin-top: 30px;
    }
}
.margintop30{
    margin-top: 30px;
}
@media all and (max-width: 768px) {
    .margintop30{
        margin-top: 20px;
    }
}
/***************************************filmy****************************/
.pas-szeroki:before {
    background: #d70816;
    content: '';
    display: block;
    height: 50%;
    left: 0;
    position: absolute;
    right: 0;
    z-index: -1;
    -webkit-backface-visibility: hidden;
    top: -10px;
    transform: skewY(0.7deg);
    transform-origin: 100% 0;
}
.pas-szeroki{
    margin: 40px 0;
    background-color: #e6e6e6;
    border-top: 10px solid #d70816;
    border-bottom: 10px solid #d70816;
    padding: 20px 0 40px;
    position: relative;
}
.pas-szeroki:after{
    background: #d70816;
    content: '';
    display: block;
    height: 50%;
    left: 0;
    position: absolute;
    right: 0;
    z-index: -1;
    -webkit-backface-visibility: hidden;
    bottom: -25px;
    transform: skewY(0.7deg);
    transform-origin: 100% 0;
}
@media all and (max-width: 768px) {
    .pas-szeroki{
        padding: 20px 0 40px;
        margin: 40px 0;
    }
}
.bubble.bb-grey{
    position: relative;
    background: #5d5d5d;
    color: #ffffff;
    z-index: 1;
    padding: 0px 40px 20px;
    margin-bottom: 30px;
}
h2.bubble.bb-grey{
    font-weight: 300;
    margin-top: -35px;
}
h2.bubble.bb-grey a{
    color: #ffffff;
    
}
.bubble.bb-grey:after{
	content: '';
	position: absolute;
	bottom: 6px;
	left: 24%;
	width: 0;
	height: 0;
	border: 28px solid transparent;
	border-top-color: #5d5d5d;
	border-bottom: 0;
	border-right: 0;
	margin-left: -14px;
	margin-bottom: -28px;
}
.bubble.bb-grey:before {
    background: #5d5d5d;
    content: '';
    display: block;
    height: 50%;
    left: 0;
    position: absolute;
    right: 0;
    z-index: -1;
    -webkit-backface-visibility: hidden; 
     top: -25px;
    transform: skewY(-1.5deg);
    transform-origin: 100% 0;
    width: calc(100% - 1px);
}
h3.title{
    font-size: 16px;
}
.filmy-lista{
    padding: 0 20px;
}
/*********************************************article node*********************/
.node--type-article.node--view-mode-full .bs-region--bottom div{
    margin: 10px 0;
}

.m-right{
    margin: 0 20px 0 0;
    float: left;
    color: #000000;
}
.m-left{
    margin: 0 0 0 20px;
    float: right;
    color: #000000;
}
/***********************************wckeditor******************************************/
.akapit15{
    line-height: 1.5em;
    font-size: 17px;
}
.btn-red{
    padding: 15px 50px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    color: #ffffff;
    background: #d70816;
}

/***********************************pas dolny********************************/
.not-front .content-bottom {
    margin-top: 80px;
    border-top: 1px dotted #d5d5d5;
    padding-top: 50px;
}
.bubble-title.bb-grey h2,
#block-skroty-menu{
    background: #e9e9e9;
    position: relative;
    text-transform: uppercase;
    padding: 30px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2px;
    color: #000000;
    margin-bottom: 40px;
}
.bubble-title.bb-grey h2:after,
#block-skroty-menu:after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 80%;
    width: 0;
    height: 0;
    border: 31px solid transparent;
    border-top-color: #e9e9e9;
    border-bottom: 0;
    border-left: 0;
    margin-left: -15.5px;
    margin-bottom: -31px;
}
.polecane h2:before,
#block-skroty-menu:before{
    content: "\e93a";
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-right: 20px;
    color: #d70816;
    font-size: 34px;
    display: block;
    float: left;
    margin-top: -7px;
}
#block-skroty-menu:before{
    content: "\e939";
}
.bubble-title.bb-grey:before,
#block-skroty:before{
    content: "";
    background: #e9e9e9;
    display: block;
    height: 20%;
    left: 0;
    position: absolute;
    right: 0;
    z-index: -1;
    -webkit-backface-visibility: hidden;
    top: 15px;
    transform: skewY(1.5deg);
    transform-origin: 100% 0;
    margin: 0 15px;
}
/***************************menu-linie***************************/
.menu-linie ul{
    padding: 0;
}
.menu-linie li{
    border-bottom: 1px dotted #cccccc;
    list-style-type: none;
    padding: 0;
}
.menu-linie li a{
    padding: 5px 10px;
    display: block;
}
.content-bottom .menu-linie li a{
    padding: 10px;
    display: block;
}
.big-linie  li a{
    padding: 10px;
}
/**************************************blok współpraca************************/
section#block-wspolpraca {
    margin-top: 40px;
}

#block-wspolpraca h2:before{
    content: "\e931";
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-right: 20px;
    color: #878787;
    font-size: 184px;
    display: block;
    float: left;
    margin-top: -7px;
    position: absolute;
    top: -60px;
    left: -10px;
}
#block-wspolpraca h2:after{
   content: "";
    display: block;
    width: 180px;
    height: 100px;
    border-right: 4px solid #d70816;
    position: absolute;
    top: -20px;
    right: 0;
    border-top: 4px solid #878787;
}

#block-wspolpraca .field--name-body:after{
    content: "";
    display: block;
    width: 160px;
    height: 150px;
    position: absolute;
    bottom: 0px;
    left: 20px;
    border-bottom: 4px solid #878787;
    border-left: 4px solid #d70816;
}
#block-wspolpraca .field--name-body {
    padding: 0px 50px 50px 50px;
}

#block-wspolpraca h2.block-title {
    margin-left: 140px;
    text-transform: uppercase;
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 60px;
    margin-top: 20px;
}
@media all and (max-width: 1200px) {
    #block-wspolpraca .field--name-body {
        padding: 0px 15px 15px 15px;
    }
    #block-wspolpraca h2:after{
        border-right: 2px solid #d70816;
        border-top: 2px solid #878787;
    }
    #block-wspolpraca h2:before {
        font-size: 80px;
        top: -5px;
        left: 10px;
    }
    #block-wspolpraca h2.block-title {
        margin-left: 80px;
    }
    #block-wspolpraca .field--name-body:after {
        bottom: -10px;
        left: 0;
        border-bottom: 2px solid #878787;
        border-left: 2px solid #d70816;
    }
}

/********************************partnerzy*******************/
.pas-bottom {
    background: #f1f1f1;
    padding: 10px 0 60px;
    margin-top: 40px;
}
.partnerzy h2.block-title{
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2px;
    margin: 20px 0 30px;
}

/******************************************stopka czarna***************************/
.footer{
    background: #000000;
    color: #ffffff;
    margin: 0;
    padding: 80px 0 20px;
}
.footer a{
    color: #ffffff;
}
.footer h2{
    text-transform: uppercase;
    font-size: 18px;
    letter-spacing: 2px;
    font-weight: 500;
    margin-bottom: 15px;
}
@media all and (max-width: 1200px) {
    .footer h2{
        text-transform: uppercase;
        font-size: 14px;
        letter-spacing: 1px;
        font-weight: 500;
        margin-bottom: 15px;
    }
}
.footer .col-sm-3{
    padding: 0 20px;
    
}
.footer .menu{
    margin-left: -10px;
}
.footer .nav > li{
    margin-bottom: 5px;
}
.footer .nav > li > a{
    padding: 2px 10px;
    letter-spacing: 0.5px;
    line-height: 1em;
}
.footer .nav > li > a:hover, .footer .nav > li > a:focus {
    text-decoration: none;
    background-color: #2c2c2c;
}

/*****************************************webform***************************/
.webform-submission-form{
    background: #ececec;
    padding: 40px;
    
}

.cytat {
    border-left: 5px solid #e1e1e1;
    display: block;
    padding-left: 20px;
    margin-left: 25px;
    font-style: italic;
    font-size: 110%;
    line-height: 1.5em;
    background-color: white;
}

.block-addtoany {
    margin-bottom: 20px;
    margin-top: -15px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 5px;
}
.field--name-node-post-date {
    font-size: 90%;
    color: #a4a4a4;
}
.field--name-field-autor-tekstu{
    font-weight: 500;
    font-style: italic;
    margin: 5px 0;
}

.view-taxonomy-term .views-row {
    margin-bottom: 20px;
}
.field--name-field-youtube img{
    margin: 0 auto;
}

.btn-primary {
    color: #fff;
    background-color: #d70816;
    border-color: #d70816;
    padding: 20px 50px;
    border-radius: 0;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: 800;
}
.btn-primary:hover {
    color: #fff;
    background-color: #b80713;
    border-color: #b80713;
}

.view-lista .views-row{
    margin-bottom: 20px;
}

.karta {
    min-height: 160px;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #d70815;
    border-color: #d70815;
}
.pagination > li > a, .pagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #d70815;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}
.polecane{
    position: relative;
}
.wyroznienie{
    font-size: 120%;
    color: #a60411;
    font-weight: 300;
}
    
.wyroznij {
    font-size: 120%;
    font-weight: 300;
    font-style: italic;
    padding: 20px 0 30px;
    border-bottom: 1px solid #ececec;
    margin-bottom: 30px;
}
.wyroznij:first-letter {
    font-size: 60px;
}
/*************************************************tabele***********************/
 table.tabelka td{
    padding: 10px;
    border: 1px solid #cccccc;
    width: auto!important;
}
 table.tabelka tr{
    width: auto!important;
}
 table.tabelka{
    width: 100%!important;
    border-top: 6px solid #b5273d;
}
 table.tabelka tr:nth-child(2n+1){
    background-color: #f5f5f5;
}
 table.tabelka tr:hover{
    background-color: #d6d6d6;
}

@media all and (max-width: 768px) {
  table.tabelka{
    width: calc(100% - 30px)!important;
    border-top: 6px solid #b5273d;
  }
    table.tabelka td{
        font-size: 10px;
        padding: 2px;
    }
}
.block-views-blockkalendarium-gatronomiczne-block-2{
    margin-top: 20px;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #ffffff;
}
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
    background-color: rgba(0,0,0,0.7);
}

span.cookie-line2 {
    display: block;
}
div#cookie_container {
    font-size: 14px;
    padding: 4px 20px 3px;
}

.taxonomy-term--view-mode-full {
    margin-bottom: 20px;
}
@media all and (max-width: 768px) {
    .view-artykuly.view-display-id-block_2 .bs-region--left{
        margin-bottom: 10px;
    }
    .view-artykuly.view-display-id-block_1{
        margin-bottom: 20px;
    }
}
/***********************formularz dodawania eventu*************************/
.eventy form#node-event-eventy-form .form-type-vertical-tabs,
.eventy form#node-event-eventy-form button#edit-preview,
.eventy form#node-event-eventy-form .link-edit-summary,
.eventy form#node-event-eventy-form div#edit-body-0-format{
    display: none;
}

form#node-event-eventy-form button#edit-submit {
    background: #d70815;
    border: 0;
    padding: 15px 50px;
    border-radius: 0;
}

.month-view td:first-child .month.day {
    border-color: red;
    color: red;
}
.month-view th:first-child  {
    color: red;
}