/* Theme Name: Zamek */

/* Powiekszanie liter, kontrast */
.afr-xxlarge {
	padding-right: 10px;
	border-right: 1px solid;
}

body.invert #footer #podpis a:hover,
body.invert #fb_bip a:hover,
body.invert #fb_bip a:hover i,
body.invert #wyszukiwarka a:hover {
	display: inline-block;
	color: #fff;
}

body.invert a:hover {
	border: 1px solid red;
	display: block;
}

body.invert,
body.invert .wydarzenie,
body.invert .fixed-menu .menu-glowne-container {
	background-color: #000;
}

body.invert #column_left_fixed #navbar ul.nav li a,
body.invert #footer #informacje,
body.invert #column_left_fixed #navbar,
body.invert #podstrona .page-content {
	background: #000;
}

body.invert,
body.invert #wyszukiwarka a,
body.invert #column_left_fixed #navbar ul.nav li a,
body.invert #month_filter .month_filter_date .month_filter_date_month,
body.invert #month_filter .month_filter_date .month_filter_date_year,
body.invert .wydarzenie .wydarzenie-tytul a,
body.invert .slick-prev:before, body.invert .slick-next:before,
body.invert #footer #informacje,
body.invert #footer #podpis,
body.invert #footer #podpis i,
body.invert #podstrona .page-content,
body.invert #fb_bip i {
	color: #fff;
}

body.invert div[class^="menu-glowne-"] .sub-menu li a:hover, 
body.invert div[class^="menu-glowne-"] .sub-menu li.current_page_item a {
	background: #000;
	color: #fff;
}

body.invert #partnerzy .bx-wrapper img,
body.invert #top_banner img,
body.invert #invertcolors {
	filter: invert();
}

/* END */

/* POPRAWKA SUB SUB MENU */
div[class^="menu-glowne-"] .sub-menu li .sub-menu {
	display: none;
}

.new-sub-menu {
	display: flex;
	justify-content: center;
	padding-bottom: 15px;
	text-transform: uppercase;
}

.new-sub-menu li a {
	background-color: transparent;
	color: #868686;
}

.new-sub-menu li a:hover {
	background-color: transparent;
	color: #a99a6f;
}

.new-sub-menu li.active a {
	background-color: transparent;
	color: #a99a6f;
}

.sub-sub-menu {
	display: flex;
	justify-content: center;
}

.sub-sub-menu .navbar-nav a {
	background-color: transparent;
	color: #868686;
	text-transform: uppercase;
}

.sub-sub-menu .navbar-nav .current-menu-item a,
.sub-sub-menu .navbar-nav a:hover {
	color: #a99a6f;
	background-color: transparent;
}
/* END */

.col-xs-5ths,
.col-sm-5ths,
.col-md-5ths,
.col-lg-5ths {
    position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}

.col-xs-5ths {
    width: 20%;
    float: left;
}

@media (min-width: 768px) {
    .col-sm-5ths {
        width: 20%;
        float: left;
    }
}

@media (min-width: 992px) {
    .col-md-5ths {
        width: 20%;
        float: left;
    }
}

@media (min-width: 1200px) {
    .col-lg-5ths {
        width: 20%;
        float: left;
    }
}
html, body
{
    background-color: #f2f2f2;
    font-family: 'Roboto', sans-serif;
    font-size:16px;
    color:#373737;
}

a, a:active, a:focus {
    color: #a99a6f;
}
a:hover {
    color: #99895c;
    text-decoration: underline;
}

.bx-wrapper {
    background: none;
    border:none;

    box-shadow: none;
    padding-top: 30px;
    padding-bottom: 30px;
    margin-bottom: 0px;
}
.bx-wrapper .bx-controls-direction a {
    margin-top: -24px;
    width: 30px;
    height: 48px;
    background: rgba(171, 172, 170, 0.6);
    color:#000;
    text-indent: unset;
    font-size: 30px;
    padding-top: 3px;
}
.bx-wrapper .bx-controls-direction a:hover {
    background: rgba(171, 172, 170, 0.7);
}


.bx-wrapper .bx-prev {
    padding-left: 8px;
    left: 0px!important;
}
.bx-wrapper .bx-next {
    padding-left: 12px;
    right: 0px!important;
}

.bx-wrapper .bx-pager {
    padding-right: 50px;
    padding-top: 0px;
    bottom: 20px;
    text-align: right;
}

.bx-wrapper .bx-pager.bx-default-pager a {
    background: #0c1113;
    border:1px solid #bfbfbf;
    text-indent: -9999px;
    display: block;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    outline: 0;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
}
.bx-wrapper .bx-pager.bx-default-pager a.active {
    background: #a99a6f;
}



.row {
    margin-right: -10px;
    margin-left: -10px;
}
.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
    padding-left:10px;
    padding-right: 10px;
}




#top_banner {
    width: 100%;
    height: 145px;
    margin-top: 60px;
	padding-top: 10px;
}


#content #logo {
    margin-top: -90px;
}
#column_left_fixed #navbar {
    text-align: center;
}
#column_left_fixed #navbar ul.nav {
    margin-top: 15px;
    padding-left: 30px;
    padding-right: 30px;
    float:none;
    display: inline-block;
}
#column_left_fixed #navbar ul.nav li {
    display: inline-block;
}
#column_left_fixed #navbar ul.nav ul.dropdown-menu {
    position: relative;
    border: none;
    box-shadow: none;
    background-color: #e9edef;
}
#column_left_fixed #navbar ul.nav li a{
    color:#000;
    padding-top: 10px;
    padding-bottom: 15px;
    text-transform: uppercase;
    background-color: #f2f2f2;    
    padding-left: 12px;
    padding-right: 12px;
}
#column_left_fixed #navbar ul.nav li a:hover, #column_left_fixed #navbar ul.nav li a:active, #column_left_fixed #navbar ul.nav li a:focus, #column_left_fixed #navbar ul.nav li.current_page_parent a, #column_left_fixed #navbar ul.nav li.current_page_item  a {
    color: #a99a6f;
    background-color: #f2f2f2;
}
#column_left_fixed #navbar ul.nav li.current-page-ancestor a, #column_left_fixed #navbar ul.nav-1 li.current-menu-item a {
    color: #a99a6f;
}


#newsletter {
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 30px;
    width: 100%;
    float:left;
}
#newsletter .newsletter-top, #newsletter .newsletter-form {
    width: 100%;
    float:left;
}
#newsletter .newsletter-top img {
    float:left;
}
#newsletter .newsletter-top div {
    float:left;
    margin-left: 10px;
    line-height: 16px;
}
#newsletter .newsletter-form {
    margin-top: 10px;
}


#podstrona {
    width: 100%;
    float:left;
    margin-top: 10px;
    padding-top: 10px;
    font-size: 15px;
    min-height: 300px;
}
#podstrona .page-title {
    /*background: #fff;*/
    padding:15px;
    /*border:1px solid #c5d8d8;*/
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 18px;
    margin-left:3px;
    margin-right:3px;
}
#podstrona .page-content {
    background: #fff;
    padding:15px;
    border: 1px solid #c3c3c3;
    margin-bottom: 10px;
    margin-left:3px;
    margin-right:3px;
}

#podstrona .gallery-top {
    background: #fff;
    border: 1px solid #c3c3c3;
    border-bottom: 0px;
    margin-left:3px;
    margin-right:3px;
}

#podstrona .is_gallery_top {
    border-top: 0px;
}
#podstrona .gallery-grid-filter .filters {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 16px;
}
#podstrona .gallery-grid-filter {
    padding: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
}
#podstrona .gallery-grid-filter .filter {
    overflow: hidden;
}
#podstrona .gallery-grid-filter .filter a{
    overflow: hidden;
    height: 231px;
    width: 231px;
    text-align: center;
    margin-bottom: 40px;
    display: inline-block;
}
#podstrona .gallery-grid-filter .filter img {
    height: 100%;
}
#podstrona .gallery-grid-filter .filters a{
    color: #868686;
    text-transform: uppercase;
    padding: 10px 15px;
}
#podstrona .gallery-grid-filter .filters a:hover, #podstrona .gallery-grid-filter .filters a.active {
    color: #a99a6f;
    text-decoration: none;
}

#podstrona .gallery-grid {
    padding: 20px;
    padding-top: 30px;
    padding-bottom: 5px;
}
#podstrona .gallery-grid .grid-image {
    overflow: hidden;
}
#podstrona .gallery-grid .grid-image a{
    overflow: hidden;
    height: 231px;
    width: 231px;
    text-align: center;
    margin-bottom: 40px;
    display: inline-block;
}
#podstrona .gallery-grid .grid-image img {
    height: 100%;
}

#podstrona .gallery-slider .bx-wrapper {
    background: none;
    border:none;
    box-shadow: none;
    margin:0px;
    padding:0px;
}
#podstrona .gallery-slider .bx-wrapper ul li {
    left:0px!important;
}
#podstrona .gallery-slider .bx-wrapper .bx-controls-direction a {
    margin-top: -24px;
    width: 30px;
    height: 48px;
    background: rgba(171, 172, 170, 0.6);
    color:#000;
    text-indent: unset;
    font-size: 30px;
    padding-top: 3px;
}
#podstrona .gallery-slider .bx-wrapper .bx-controls-direction a:hover {
    background: rgba(171, 172, 170, 0.7);
}


#podstrona .gallery-slider .bx-wrapper .bx-prev {
    padding-left: 8px;
    left: 0px!important;
}
#podstrona .gallery-slider .bx-wrapper .bx-next {
    padding-left: 12px;
    right: 0px!important;
}

#footer {
    float: left;
    width: 100%;
    margin-bottom: 10px;
}
#footer #partnerzy {
    border-top: 1px solid #c3c3c3;
    border-bottom: 1px solid #c3c3c3;
}

#footer #partnerzy .bx-wrapper .bx-controls-direction a {
    background: none;
}
#footer #partnerzy .bx-wrapper .bx-controls-direction a:hover {
    background: none;
}

#footer #podpis {
    font-size: 15px;
    color:#727272;
}
#footer #podpis i {
    color:#727272;
    margin-left: 10px;
    font-size: 20px;
}
#footer #podpis a:hover {
    text-decoration: none;
}
#footer #podpis a:hover i {
    color: #505050;
}

#footer #informacje {
    margin-top: 0px;
    margin-bottom: 10px;
    color:#727272;
    font-size: 15px;
    padding-left: 15px;
    padding-right: 15px;

}
#footer #informacje  {
    border-bottom: 1px solid #c3c3c3;
    padding-bottom: 15px;
    padding-top: 15px;
    background: #e9e9e9;
}


.wydarzenie {
    padding-top: 15px;
    padding-bottom: 15px;
    background: #fff;
    border:1px solid #c5d8d8;
    margin-top: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}
.wydarzenie .wydarzenie-top {
    height:160px;
    overflow: hidden;
    padding-top: 5px;
}
.wydarzenie .wydarzenie-data {
    color: #697e51;
    font-size: 25px;
    font-weight: bold;
    line-height: 18px;
}
.wydarzenie .wydarzenie-tytul {
    padding-left: 8px;
    margin-top: -5px;
}
.wydarzenie .wydarzenie-tytul a {
    font-weight: bold;
    font-size: 18px;
    color: #a99a6f;
}
.wydarzenie .wydarzenie-tytul a:hover {
    text-decoration: none;
}
.wydarzenie .wydarzenie-opis {
    margin-top: 10px;
}
.wydarzenie .wydarzenie-opis p {
	font-size: 14px;
}
.wydarzenie .wydarzenie-zdjecie {
    margin-top: 10px;
    height: 264px;
    width: 100%;
}
.wydarzenie .wydarzenie-zdjecie img {
    height: 264px;
}
.wydarzenie .wydarzenie-bottom {
    margin-top: 20px;
    padding-left: 15px;
    padding-right: 15px;
}
.wydarzenie .wydarzenie-godzina {
    margin-left: 10px;
}
.wydarzenie .wydarzenie-godzina span {
    font-size: 12px;
}
.wydarzenie .wydarzenie-cena span {
    font-size: 12px;
    margin-left: 5px;
    display: inline-block;
}

.wydarzenie.wydarzenie-inne {
    background: transparent;
    border:0px;
    margin-bottom: 50px;
}
.wydarzenie.wydarzenie-inne .wydarzenie-top {
    height: 100px;
}

.wydarzenie.wydarzenie-inne .wydarzenie-zdjecie {
    height: 195px;
}
.wydarzenie.wydarzenie-inne .wydarzenie-zdjecie img {
    height: 195px;
}


#single-wydarzenie .page-title {
    float:left;
    width: 100%;
}
#single-wydarzenie .wydarzenie-data{
    float:left;
    font-size: 29px;
    line-height: 20px;
}
#single-wydarzenie .wydarzenie-tytul{
    float:left;
    margin-left: 10px;
    font-weight: bold;
    font-size: 20px;
    line-height: 40px;
    color: #333333;
}
#single-wydarzenie .wydarzenie-ikony {
    float:right;
    line-height: 40px;
}
.btn-przyjdz {
    background: #642d2d;
    width: 100%;
    text-align: center;
    padding: 10px;
    color:#fff;
    font-weight: bold;
    font-size: 25px;
}
.btn-przyjdz:hover {
    color:#bdbdbd;
}
#kalendarz {
    width: 100%;

}
table.kalendarz {
    width:100%;
    margin-top: 10px;
    z-index: 8;
}
table.kalendarz tr td{
    text-align: center;
    font-size: 17px;
}
table.kalendarz tr td.weekend{
    color: #a36b6b;
}
table.kalendarz tr td div.dzisiaj {
    font-weight: bold;
    color:#663333;
    border:2px solid #b0b9bd;
    border-radius: 20px;
    background-color: #fff;
}

.wydarzenie.podglad {
    width:260px;
    margin-top: 0px;
    z-index: 9;
    border:0px;
}
#nav .navbar-header button.navbar-toggle {
    width: 100%;
    text-align: center;
    font-weight: bold;
    background: #a4a4a4;
    color: #fff;
    border-radius: 0px;
    display: block;
    float:left;
}
img.size-full.aligncenter {
    display: block;
    margin:0 auto;
}
#kalendarz {
    margin-top: 20px;
    position: relative;
}
#kalendarz_controls {
    position: absolute;
    right: 5px;
    top:-30px;
}
table.kalendarz div.pierwsza {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
table.kalendarz div.ostatnia {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
.fixed-menu{
    position: fixed;
    top: 0px;
    z-index: 1000;
    background-color: #f2f2f2;
}
.fixed-menu .menu-glowne-container{
    background-color: #f2f2f2
}
@media (max-width: 970px) {
    #podstrona .page-content img {
        display: block!important;
        max-width: 100%!important;
        height: auto!important;
    }
}
.popover {
    z-index: 1010!important;
}


#wyszukiwarka {
    position: absolute;
    top:20px;
    right: 10px;
    color:#727272;
    font-size: 16px;
}
#wyszukiwarka a {
    color:#727272;
    margin-left: 10px;
    font-size: 16px;
}
#wyszukiwarka a:hover {
    text-decoration: none;
}
#wyszukiwarka a:hover i {
    color: #505050!important;
}

#fb_bip {
    position: absolute;
    top:20px;
    font-size: 16px;
    left: 10px;
    color:#727272!important;
}
#fb_bip a {
	margin-right: 10px;
}
#fb_bip i{
    color:#727272;
    margin-right: 10px;
    font-size: 18px;
}
#fb_bip a:hover {
    text-decoration: none;
}
#fb_bip a:hover i {
    color: #505050;
}
#dynamic_blocks ul {
    list-style-image: url('img/dynamic_blocks_list.png');
    padding-left: 15px;
}
div[class^="menu-glowne-"] {
    float:left;
    width: 100%;
    text-align: center;
    margin-bottom: -20px;
    border-top: 1px solid #c3c3c3;

}
div[class^="menu-glowne-"] .sub-menu {
    float:none;
    display: inline-block;
}
div[class^="menu-glowne-"] .sub-menu li a, div[class^="menu-glowne-"] .sub-menu li a:focus, div[class^="menu-glowne-"] .sub-menu li a:active {
    color: #868686;
    text-transform: uppercase;
    padding-top: 20px;
}
 
div[class^="menu-glowne-"] .sub-menu li a:hover, div[class^="menu-glowne-"] .sub-menu li.current_page_item a{
  background-color: #f2f2f2;
  color:#a99a6f;
  padding-top: 20px;
}
.slider-wrapper {
        width:100%!important;
        height:auto !important;
}

.button-share {
    cursor: pointer;
    border:none;
    background: none;
}
.button-share:active,.button-share:focus,.button-share:hover, .button-share img:active,.button-share img:focus,.button-share img:hover {
    outline: none;
}
.button-share-content a {
  font-size: 20px;
  padding:10px;  
  color:#727272;
}
.button-share-content a:hover, .button-share-content a:active, .button-share-content a:focus {
    text-decoration: none;
    color:#000;
}
.btn-zamek {
    background: #87733b;
    color: #fff;
    font-weight: bold;
    padding: 15px 40px;
    font-size: 25px;
}
.btn-zamek:hover, .btn-zamek:active, .btn-zamek:focus {
    background: #736337;
    color:#fff;
}

.flex-row {
	display: flex;
	flex-wrap: wrap;
}
.flex-row > [class*='col-'] {
	display: flex;
	flex-direction: column;
}
.flex-row.row:after, 
.flex-row.row:before {
	display: flex;
}

#front_pages_more {
    text-align: center;
    padding-top: 15px;
    padding-bottom: 15px;
}
#month_filter .month_filter_date {
    cursor: pointer;
}
#month_filter .month_filter_date:active, #month_filter .month_filter_date:focus {
    border:none;
    outline: none;
}
#month_filter .month_filter_date .month_filter_date_month {
    font-size: 25px;
    color:#231f20;
    font-weight: bold;
    text-align: center;
}
#month_filter .month_filter_date .month_filter_date_year {
    color:#8a8a8a;
    font-size: 14px;
    text-align: center;
}

#month_filter .month_filter_date.slick-current .month_filter_date_month, #month_filter .month_filter_date.slick-current .month_filter_date_year {
    color:#a99a6f;
} 
#autor img {
    float:left;
    margin-right: 20px;
}
#podstrona #autor {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 3px;
    margin-right: 3px;
}

.strike-others {
    display: block;
    text-align: center;
    overflow: hidden;
    white-space: nowrap; 
}

.strike-others > span {
    position: relative;
    display: inline-block;
    color: #848484;
    font-size: 16px;
}

.strike-others > span:before,
.strike-others > span:after {
    content: "";
    position: absolute;
    top: 50%;
    width: 9999px;
    height: 1px;
    background: #d5d5d5;
}

.strike-others > span:before {
    right: 100%;
    margin-right: 15px;
}

.strike-others > span:after {
    left: 100%;
    margin-left: 15px;
}
.acf-map {
    border: 1px solid #c3c3c3;
    border-bottom: 0px;
    margin-left: 3px;
    margin-right: 3px;
    height: 350px;
}

/* fixes potential theme css conflict */
.acf-map img {
   max-width: inherit !important;
}
#pronamic_cookie_holder {
    background-color: #7b7b7b!important;
}
/** modal newsletter */
#modal_newsletter .modal-content { 
    border-radius: 0px;
}
#modal_newsletter .modal-header {
    background-color: #a99a6f;
    color: #fff;
    font-size: 15px;
    text-align: center;
}
#modal_newsletter button {
    border-radius: 0px;
}
#modal_newsletter button[type="submit"] {
        background: #a99a6f;
    border-color: #79766d;
}
#modal_newsletter button[type="submit"]:hover {
    background-color: #908565;
}

a[data-action="add_to_newsletter"] {
    width: 100%;
    padding:5px 10px;
    background-color: #a99a6f;
    color: #fff;
    font-size: 15px;
    text-align: center;
    display: block;

}
a[data-action="add_to_newsletter"]:hover {
    background-color: #908565;
}

@media screen and (max-width: 768px) {
	#wyszukiwarka a {
		margin-left: 7px;
	}
	#fb_bip {
		margin-top: 6px;
	}
	#fb_bip a {
		margin-right: -2px;
	}
}

@media screen and (max-width: 320px) {
	#wyszukiwarka a {
		margin-left: 6px;
	}
	#fb_bip {
		display: none;
	}
}