@import url('https://fonts.googleapis.com/css?family=Open+Sans');

body {font-family: 'Open Sans', sans-serif;margin: 0;padding: 0;color: #373737;font-size: 14px;background: #FFF url(../img/body.bg.jpg) repeat-x left top;background-attachment: fixed; background-size: contain;}
ul, dl {padding: 0;margin: 0;list-style: none;margin-bottom: 20px;}
h1, h2, h3, h4, h5, h6, .text-format {margin: 0;padding: 0;color: #384e73;}
p {padding: 0;margin: 10px 0;line-height: 1.35rem;}
input.text, textarea {resize: none;height: 40px;outline: 1px solid #e3e4e5;background: #FFF;border: 0 solid;font-family: 'Lato', serif;text-indent: 10px;}
a {text-decoration: none;color: #171717;}

html {
    height:100%;
    min-height:100%;
}

body {
    min-height:100%;
}

h1 {
    font-size: 1.875rem;
    font-family: 'Georgia';
    font-style: italic;
    font-weight: normal;
    margin-bottom: 15px;
    line-height: normal;
}

.text-format {
    font-family: 'Georgia';
    font-style: italic;
}

.columns {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}


.column {
    display: block;
    -ms-flex-preferred-size: 0;
        flex-basis: 0;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    -ms-flex-negative: 1;
        flex-shrink: 1;
    padding: 0.75rem;
}

img {max-width: 100%}

a.more, button.more, input.more {
    display: inline-block;
    font-size: 1rem;
    font-family: 'Lato';
    width: auto;
    border: 0 solid;
    -webkit-transition: all 400ms ease;
    -o-transition: all 400ms ease;
    transition: all 400ms ease;
    font-weight: normal;
    padding: 10px 20px;
    color: #FFF  !important;
    background: url(../img/button.bg.jpg) repeat-x center;
    background-size: contain;
    }

     .overlay {position: fixed; width: 100%; height: 100%; left: 0; top: 0; background: #FFF; opacity: 0.8}

.left {float: left; width: auto !important}

hr {height: 1px;border: 0 solid;border-bottom: 1px solid #dedede;margin: 27px 0 20px;float: left;width: 100%;}

.more:hover  {background: #323946}
* {-webkit-box-sizing: border-box;box-sizing: border-box;outline: none;}

a {-webkit-transition: color 400ms ease; -o-transition: color 400ms ease; transition: color 400ms ease;}

#container {margin: 0 auto;max-width: 1328px;}
.wrapper {margin: 0 auto;clear: both;float: left; width: 100%; max-width: 1328px;/* background: #FFF url(../img/body.bg.jpg) no-repeat left top; */}

/*a.mobile-menu {display: none}*/
/*.mobile {display: none}*/

h2 {font-family: Georgia;font-weight: normal;font-size: 1.5rem;color: #000;background: url(../img/line.png) no-repeat top left;padding-top: 10px;margin-top: 10px;margin-bottom: 23px;clear: both;color: #384e73;font-style: italic;text-align: left;}
h3 {font-family: Georgia;font-size: 1rem;padding-bottom: 21px;clear: both;margin-bottom: 14px;}
h4 {font-family: Georgia;font-weight: normal;font-size: 1rem;padding-bottom: 21px;clear: both;margin-bottom: 14px;}
h5 {font-family: Georgia;font-weight: normal; font-style: italic; font-size: 0.9rem;padding-bottom: 0px;clear: both;margin-top: 4px;}
h5 a {color: #384e73; font-size: 0.875rem; text-decoration: underline;}
h6 {font-family: Georgia;font-weight: normal;font-size: 1.5rem;color: #000;background: url(../img/line.png) no-repeat top left;padding-top: 10px;margin-top: 10px;margin-bottom: 23px;clear: both;color: #384e73;font-style: italic;text-align: center;}


h2.small {text-transform: none}
#container #content .left-col ul.menu {/* margin-top: 20px; *//* margin-bottom: 20px; *//* padding-left: 0; *//* list-style: none; */max-width: 242px;}
#container #content .left-col ul li {padding: 0 20px;z-index: 4;position: relative;}
#container #content img.left {float: left; margin-right: 20px}
#container #content img.right {float: right; margin-left: 20px}
#container #content p a {color: #323946; text-decoration: underline;}
#container #content p a2 {color: #fff; text-decoration: underline;}

#slides {
    position: absolute;
    top: 0;
    max-width: 1328px;
    width: 100%;
}


#dead-slides {

}


#slides .slide {
}
#slides .slide .text {max-width: 944px;margin: 0 auto;position: relative;padding-bottom: 8%;}
#slides .slide .text .text-wrapper {max-width: 68%;text-align: right;float: right;position: absolute;bottom: 0;right: 0;}
#slides .slide .text .text-wrapper h2 {
    font-size: 1rem;
    text-align: right;
    background: none;
}
#slides .slide .text .text-wrapper h3 {
    font-size: 0.75rem;
    font-style: italic;
    font-weight: normal;
}

div.gallery {padding: 35px 0 40px 0;}
div.gallery a.thumb {width: 30%;float: left;text-align: center;background: transparent;margin: 0 5% 20px 0;text-decoration: none;}
div.gallery a.thumb:nth-child(3n) {margin-right: 0}
div.gallery a.thumb img {display: block; position: relative; border: 4px solid #fff; -webkit-box-shadow: 2px 2px 5px -1px #b6b5b6; box-shadow: 2px 2px 5px -1px #b6b5b6;}
div.gallery a.thumb span {display: block; width: 176px; background: url(../img/line2.png) bottom left no-repeat; color: #464646; font-size: 13px; line-height: 16px; padding: 7px 0 8px 0;}

.subpage-list {}
.subpage-list .subpage {width: 30%;float: left;/* background: transparent; */text-align: center;/* padding: 20px; */float: left;margin: 0 20px 20px 0;}
.subpage-list .subpage .text h4 {font-weight: normal; padding: 20px 25px}
.subpage-list .subpage .text span.more {color: #b03221;display: block;margin-top: 3px;margin-bottom: 20px;}
.subpage-list .subpage .text span.more:hover {background: none}
.subpage-list .subpage a img {display: block;position: relative;/* border: 4px solid #fff; */-webkit-box-shadow: 2px 2px 5px -1px #b6b5b6;box-shadow: 2px 2px 5px -1px #b6b5b6;}

#container #content ol li {font-size: 0.9375rem;margin-bottom: 8px;}

#container #top {clear: both;float: left;width: 100%;position: relative;/* padding-bottom: 100px; */}
#container .logo img {display: block}

#container #top #top-wrapper {max-width: 913px;margin: 0 auto;position: relative;max-width: 944px;}
#container #top #top-wrapper .menu-wrapper {clear: both;width: 25.63559322033898%;/* position: absolute; */z-index: 100;/* background: url(../img/menu.top.bg.png) no-repeat; */top: 32px;margin-top: 32px;}
#container /*#top #top-wrapper*/ ul.menu {text-align: center;/* margin-top: 10px; */clear: both;}
#container /*#top #top-wrapper*/ ul.menu li.lvl1 {background: url(../img/menu.bg.png); padding: 0 20px}
#container /*#top #top-wrapper*/ ul.menu li.lvl1:last-child {/*background: url(../img/menu.bottom.bg.png) no-repeat bottom;padding-bottom: 56px*/}
#container /*#top #top-wrapper*/ ul.menu li.lvl1 a.lvl1 {font-size: 0.9375rem;color: #d9c683;font-style: italic;background: url(../img/menu.line.png) no-repeat  bottom center;display: block;padding: 6px 0 7px;}
#container /*#top #top-wrapper*/ ul.menu li.lvl1 a.current,
#container /*#top #top-wrapper*/ ul.menu li.lvl1-parent-current a.lvl1,
#container /*#top #top-wrapper*/ ul.menu li.lvl1 a.lvl1:hover  {color: #FFF;}
#container /*#top #top-wrapper*/ ul.menu li.lvl1 ul.lvl2 {visibility: hidden}
#container /*#top #top-wrapper*/ ul.menu li.lvl1 ul.lvl2 li.lvl2 {}
#container /*#top #top-wrapper*/ ul.menu li.lvl1 ul.lvl2 li.lvl2:last-child {}
#container /*#top #top-wrapper*/ ul.menu li.lvl1 ul.lvl2 li.lvl2:hover {}
#container /*#top #top-wrapper*/ ul.menu li.lvl1 ul.lvl2 li.lvl2 a.lvl2 {}
#container /*#top #top-wrapper*/ ul.menu li.lvl1 ul.lvl2 li.lvl2 a.lvl2:hover,
#container /*#top #top-wrapper*/ ul.menu li.lvl1 ul.lvl2 li.lvl2-current a.lvl2 {}

#container #top #top-wrapper a.przejdz-do-prawoslawia {position: absolute; right: 10px; top: 40px}

div.entries-list div.entry {background: url(../img/long.line.png) bottom left no-repeat; padding: 0; margin: 0 0 10px 0; clear: both; overflow: auto; position: relative; padding: 0 0 10px 0;}
div.entries-list div.entry div.photo {/* position: relative; */display: block;float: left;width: 30%;}
div.entries-list div.entry div.photo img {display: block;/* position: relative; */border: 4px solid #fff;-webkit-box-shadow: 2px 2px 5px -1px #b6b5b6;box-shadow: 2px 2px 5px -1px #b6b5b6;}
div.entries-list div.entry h3.title {margin: 8px 0 4px 0; padding: 0; line-height: 18px; font-size: 16px; }
div.entries-list div.entry h3.title a {text-decoration: none;color: #384e73;}
div.entries-list div.entry img.thumb {margin: 10px 18px 5px 0; position: relative; display: block;}
div.entries-list div.entry p.date {font-size: 12px; margin: 0 0 8px 0; line-height: 11px; color: #9e9d9c;}
div.entries-list div.entry a.more {text-align: left; margin: 0; font-size: 13px;  text-decoration: none; padding: 0 7px 0 0; background: url(../img/bullet2.gif) 100% 8px no-repeat;}
div.entries-list div.entry a.nore:hover {text-decoration: underline;}
div.entries-list div.entry p {margin: 9px 0 9px 0;}
div.entries-list div.entry div.text-image {/* margin: 0 0 0 194px; */float: left;width: 70%;}


div.deads-list .custom-button {
    padding: 0.25rem 0.75rem;
    font-size: small;
	color: #fff;
}
div.deads-list {}
div.deads-list .dead {width: 100%; float: left; clear: both; padding: 8px 0; border-bottom: 1px solid #d2d2d2;}
div.deads-list .dead.table-header .info {font-weight: bold; color: #384e73; text-align: center}
div.deads-list .dead:nth-child(even) {
    background: -webkit-gradient(linear, left top, right top, from(rgba(255,255,255, 0)),color-stop(45%, rgba(255,255,255,1)),color-stop(55%, rgba(255,255,255,1)),to(rgba(255,255,255, 0)));background: -webkit-linear-gradient(left, rgba(255,255,255, 0) 0%,rgba(255,255,255,1) 45%,rgba(255,255,255,1) 55%,rgba(255,255,255, 0) 100%);background: -o-linear-gradient(left, rgba(255,255,255, 0) 0%,rgba(255,255,255,1) 45%,rgba(255,255,255,1) 55%,rgba(255,255,255, 0) 100%);background: linear-gradient(to right, rgba(255,255,255, 0) 0%,rgba(255,255,255,1) 45%,rgba(255,255,255,1) 55%,rgba(255,255,255, 0) 100%);}


div.deads-list .dead .info {display: block; float: left; width: 20%}
div.deads-list .dead .name {width: 35%}
div.deads-list .dead .fathersName{width: 15%}
div.deads-list .dead .birthDate{width: 15%; text-align: center}
div.deads-list .dead .deathDate {width: 15%; text-align: center}
div.deads-list .dead .place{; text-align: center}

div.deads-list--extended .dead .info {display: block; float: left; width: 20%}
div.deads-list--extended .dead .name {width: 25%}
div.deads-list--extended .dead .fathersName{width: 15%}
div.deads-list--extended .dead .birthDate{width: 15%; text-align: center}
div.deads-list--extended .dead .deathDate {width: 15%; text-align: center}
div.deads-list--extended .dead .place{text-align: center}
div.deads-list--extended .dead .place + a {width: 10%;}


.mobile .dead.table-header .fathersName,
.mobile .dead.table-header .birthDate,
.mobile .dead.table-header .place,
.mobile .dead.table-header .name br,
.mobile .dead.table-header .deathDate {
    display: none;
}

.mobile .dead a.name {
    font-weight: bold;
}



.mobile .dead.table-header .name {
    width: 100%;
    text-align: left !important;
    font-size: larger;
}

.mobile .dead:not(.table-header) a {
    display: block;
    width: 100%;
    text-align: left;
    margin-bottom: 7px;
}

.mobile .dead .fathersName:before,
.mobile .dead .birthDate:before,
.mobile .dead .place:before,
.mobile .dead .deathDate:before {
    width: 165px;
    display: inline-block;
    color: #808080;
}

.mobile .dead .fathersName:before {
    content: "Imię ojca:";

}
.mobile .dead .birthDate:before {
    content: "Data urodzenia:";

}
.mobile .dead .place:before {
    content: "Sektor / rząd / miejsce:";

}

.mobile .dead .deathDate:before {
    content: "Data śmierci:";

}

.right-col .submenu {padding: 0 30px}
.right-col .submenu ul.lvl1 {}
.right-col .submenu ul.lvl1 li.lvl1 {background: #5fc6e8; background: rgba(95,198,232,0.9); -webkit-transition: all 0.5s; -o-transition: all 0.5s; transition: all 0.5s}
.right-col .submenu ul.lvl1 li.lvl1:hover, .right-col .submenu ul.lvl1 li.current {background-color: #343a46}
.right-col .submenu ul.lvl1 li.lvl1 a.lvl1, .right-col .submenu ul.lvl1 li.current a.lvl1 {padding: 10px 15px;white-space: nowrap;font-size: 0.9375rem;display: block;border-bottom: 1px solid rgba(255, 255, 255, .5);-webkit-background-clip: padding-box; /* for Safari */background-clip: padding-box; /* for IE9+, Firefox 4+, Opera, Chrome */text-align: left}
.right-col .submenu ul.lvl1 li.lvl1 a.lvl1:hover, .right-col .submenu ul.lvl1 li.current a.lvl1 {color: #FFF}

.subpage-list {}
.subpage-list .subpage a.more {text-align: left; border-bottom: 1px solid #FFF}

#container table {border-collapse: collapse; border: 0 solid; width: 100%}
#container table tr {}
#container table tr th {background: #69b5c1; color: #FFF; padding: 5px; font-weight: normal}
#container table tr td {padding: 5px; font-size: 0.875rem}

#container #content {clear: both;margin-top: 0;float: left;width: 100%;}
#container #content .content-wrapper {max-width: 913px;margin: 0 auto;max-width: 944px;}
#container #content .wrapper {}
body.home #container #content .wrapper {}
/*body.home #container .wrapper #content .left-col {width: 47.42606790799562%; margin-top: 0}
body.home #container #content .left-col .left-col-wrapper {border: 1px solid #e1e1e1; padding: 30px 20px}
body.home #container #content .left-col .left-col-wrapper p {font-size: 0.875rem}
body.home #container #content .left-col .left-col-wrapper p strong {font-size: 1rem}
body.home #container #content .left-col h2,
body.home #container #content .right-col h2 {text-align: left; background-position: left top}
body.home #container .wrapper #content .right-col {width: 47.42606790799562%}*/

body.home #container #content .wide-col {}
body.home #container #content .wide-col .boxes,
body.contact #container #content .wide-col .boxes {clear: both; margin-top: 50px}
body.contact #container #content .wide-col .boxes {margin-bottom: 50px; float: left; width: 100%}
body.home #container #content .wide-col .boxes .box,
body.contact #container #content .wide-col .boxes .box {width: 50%; float: left;}
body.home #container #content .wide-col .boxes .box h2,
body.contact #container #content .wide-col .boxes .box h2 {text-align: left; background-position: left top}

#container #content .wide-col .left-col {width: 50%; float: left; position: static}
#container #content .wide-col .right-col {width: 50%; float: left; position: static}

body #container #content .left-col {/* width: 26.50602409638554%; */float: left;/* margin-top: -300px */position: absolute;top: 30px;/* background: red; */}
body #container #content .right-col {width: 68.45564074479737%; float: right}

#container .wrapper #content p {margin-bottom: 10px;}

#content form ul.errors {margin-bottom: 20px; }
#content form ul.errors li {color: #b03221; font-size: 0.875em; font-weight: normal; }
#content form {float: left;width: 100%;}
#content form h2 a {color: #FFF; text-decoration: underline}
#content form .f {float: left; margin-bottom: 13px; margin-top: 8px; width: 100%; }
#content form .name {}
#content form .death {width: 40%;}
#content form .f-submit {margin-top: 0; }
#content form div.textarea {width: auto; }
#content form .button {margin-bottom: 34px; margin-top: 0px; width: 270px; }
#content form label {display: none; float: left; line-height: 38px; width: 24%; }
#content form label.inline {display: inline-block;line-height: normal;width: auto;float: left;}
#content form label.inline .text {
    margin-left: 31px;
}
#content form label.inline .radio-box {float: left;}
#content form label.inline .radio-box input.radio{float: left;margin-right: 11px;}
#content form label.agreement {display: inline-block;line-height: normal;font-size: 0.815rem;width: 85%;float: left;margin-bottom: 20px;}
#content form input {width: 100%; }
#content form input.checkbox {width: auto;float: left;}
#content form select {float: left;height: 40px;outline: 1px solid #e3e4e5;background: #FFF;border: 0 solid;font-family: 'Lato', serif;text-indent: 10px;width: 100%;}
#content form div.f input.error, #content form div.f textarea.error {border-color: #ea07e6; margin-bottom: 2px; }
#content form div.errorContainer {clear: both;color: #ec6707;float: left;line-height: 16px;margin: 0px 0 0 0;}
#content form div.required-ffield {display: none; }
#content form div.required-fields-text {display: none; }
#content form div.required-fields-text {color: #9f9f9f; float: left; font-size: 12px; margin-left: 70px; }
#content form div.f span.error {clear: both;color: #ec6707;display: block;font-size: 13px;margin: 0px 0 8px 0;}
#content form input.button {}
#content form textarea {height: 112px; padding-top: 10px; width: 100%; }
#content form span.required {float: right; font-size: 12px; margin-top: 23px; }
#content form .disclaimer {font-size: 0.8125rem;color: #7e7e7d;line-height: normal;margin-bottom: 30px;}

/* Formularz wyszukiwarki*/
.search-form-wrapper h4 {margin-bottom: 0; font-style: italic}
#content form.search {margin-top: 0}
#content form.search div.f {margin: 0 0 13px 0}
#content form.search div.f label {display: inline-block;width: 107px;line-height: 30px;}
#content form.search div.f input {float: left; width: 206px; height: 32px; background-color: rgba(102,102,102,0.2); -webkit-box-shadow: inset 5px 5px 10px 0px rgba(170,170,169,1);
box-shadow: inset 5px 5px 10px 0px rgba(170,170,169,1);}
#content form.search div.date input {width: 130px}
#content form.search div.birth {width: 40%;margin-right: 36px;}
#content form.search button.submit {width: 130px;height: 32px;line-height: 32px;padding: 0;margin-top: 10px;}

.breadcrumbs {background: url(../img/long.line.png) left bottom no-repeat; padding-bottom: 20px; margin-bottom: 20px}
.breadcrumbs a {color: #384e73; font-size: 0.875rem; text-decoration: underline; background: url(../img/breadcrumbs.bullet.png) no-repeat right center; padding-right: 18px; margin-right: 10px}
.breadcrumbs strong {font-size: 0.875rem; color: #464646; font-weight: normal}

#footer {background: #27395b url(../img/footer.bg.jpg) repeat-x top left; clear: both; float: left; width: 100%}
#footer .footer-1 {max-width: 913px;margin: 0 auto;margin-bottom: 78px;clear: both;}
#footer .footer-2 {max-width: 913px;margin: 0 auto;padding-bottom: 84px;}
#footer .footer-2 p {/* text-align: right; */line-height: normal;}

#footer .footer-menu {width: 100%;float: left;clear: both;padding-bottom: 1px;border-bottom: 1px solid #645571;}
#footer .footer-menu ul.ftmenu {margin-top: 25px;text-align: center;}
#footer .footer-menu ul.ftmenu li.lvl1 {display: inline-block;border-left: 1px solid #914d69;}
#footer .footer-menu ul.ftmenu li.lvl1:first-child {border-left: 0 solid}
#footer .footer-menu ul.ftmenu li.lvl1 a.lvl1 {color: #d9c683;font-style: italic;font-size: 0.9375rem;padding: 0 10px;}
#footer .footer-menu ul.ftmenu li.lvl1 a.lvl1:hover {color: #FFF}
#footer .footer-menu ul.ftmenu li.lvl1 a.lvl1.current {color: #FFF}

#footer {color:#FFF; margin-top:  40px}
body.home #footer, body.contact #footer {margin-top:  0}
#footer .copyright {float: left;width: 30%;text-align: right;font-size: 0.75rem;border-right: 1px solid #83425d;padding-right: 48px;}
#footer .copyright p {color: #bac0cc}
#footer .contact {float: left;font-size: 0.75rem;padding-left: 23px;}
#footer .contact p {}
#footer .contact p a {color: #FFF; text-decoration: underline}

.google-map {height: 400px;clear: both;}
.google-map .map-container {height: 100%;}
.google-map iframe {width: 100%; height: 100%;    -webkit-filter: grayscale(100%);
       -moz-filter: grayscale(100%);
        -ms-filter: grayscale(100%);
         -o-filter: grayscale(100%);
            filter: grayscale(100%);
}

#necrology {clear: both;margin-top: 54px;margin-bottom: 50px;float: left;width: 100%;}
#necrology .clients-wrapper { }
#necrology h2 {text-align: center; background-position: top center}
#necrology .items {max-width: 944px; margin: 0 auto}
#necrology .items ul {white-space: nowrap; }
#necrology .items ul li {display: inline-block;float: left;height: 208px;margin: 0 15px;text-align: center;width: 272px;position: relative;}
#necrology .items ul li a {text-align: center; -webkit-transition: all 0.1s; -o-transition: all 0.1s; transition: all 0.1s; -webkit-transform: all 0.1s; display: inline-block}
#necrology .items ul li span.helper {display: inline-block; height: 100%; vertical-align: middle; }
#necrology .items ul li a img {display: inline-block;border: 6px solid #FFF;}
#necrology .items ul li a.more {
    position: absolute;
    width: 100%;
    margin: 0 auto;
    bottom: 0;
    padding: 0;
    display: block;
    left: 0;
    padding: 4px 0;
    right: 0;
    border: 6px solid #FFF;
}
#necrology .items button.slick-arrow {width: 32px;height: 58px;border: 0 solid;font-size: 0;line-height: 0;color: transparent;position: absolute;top: 50%;margin-top:  -29px; cursor: pointer}
#necrology .items button.slick-prev {background: url(../img/slick.arrow.prev.png);margin-left: -40px;}
#necrology .items button.slick-next {background: url(../img/slick.arrow.next.png);right: 0;margin-right: -40px;}


#cookieInfoBar {background: #FFF;border-bottom: 1px solid #D3D0D0;font-size: 13px;line-height: 22px;padding: 10px 0;position: fixed;text-align: center;bottom: 0;width: 100%;z-index: 9999;color: #3a1d52;padding-left: 10px;padding-right: 10px;border-top: 2px solid #000;}
#cookieInfoBar a.close {background: #69b5c1;color: #fff;display: inline-block;height: 22px;margin: 0 8px;padding: 0 10px;text-decoration: none;}
#cookieInfoBar a.close:hover {background: #323946;}
#dev-timer {display: none}

@media only screen and (max-width: 1040px) {

}


.dead-person-info > p {
    font-size: 19px;
}

.mobile .dead-person-info > p {
    font-size: 24px;
}

.dead-person-info-box {
    position: relative;
}

.dead-person-info-box-text {
    position: absolute;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    top: 0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 100%;
}
.dead-person-info-box:first-child .dead-person-info-box-text {
    right: calc(.75rem/2);
}
.dead-person-info-box:last-child .dead-person-info-box-text {
    left: calc(.75rem/2);
}

.text-center {
    margin: 0 !important;
    text-align: center;
}

.dead-person-info-location .column:nth-child(2) {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

.dead-person-info-location p {
    font-size: larger;
}

.dead-person-info-location p.text-format {
    font-size: large;
}

.dead-person-main-photo {
    width: 311px;
    padding: 10px;
    background: white;
    -webkit-box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.13);
            box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.13);
}

.dead-person-main-photo img {
    width: 100%;
}

.column:first-child {
    padding-left: 0px;
}

.column:last-child {
    padding-right: 0px;
}


.dead-person-buttons {
    display: inline-block;
    
}
.dead-person-buttons a.button {
    text-align: center;
    padding: .75rem;
    display: block;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 100%;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    vertical-align: middle;

}

.custom-button {
    color: White !important;
    -webkit-transition: all ease .15s;
    -o-transition: all ease .15s;
    transition: all ease .15s;
    padding: .75rem;
    background: #1e5799;
    transition: all ease .15s;
    background: -webkit-gradient(linear, left top, left bottom, from(#1e5799),color-stop(28%, #384e73),to(#1d3358));
    background: -webkit-linear-gradient(top, #1e5799 0%,#384e73 28%,#1d3358 100%);
    background: -o-linear-gradient(top, #1e5799 0%,#384e73 28%,#1d3358 100%);
    background: linear-gradient(to bottom, #1e5799 0%,#384e73 28%,#1d3358 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#1d3358',GradientType=0 );
}


.custom-button2 {
    color: #ffffff;
    -webkit-transition: all ease .15s;
    -o-transition: all ease .15s;
    transition: all ease .15s;
    padding: .75rem;
    background: #1e5799;
    transition: all ease .15s;
    background: -webkit-gradient(linear, left top, left bottom, from(#1e5799),color-stop(28%, #384e73),to(#1d3358));
    background: -webkit-linear-gradient(top, #1e5799 0%,#384e73 28%,#1d3358 100%);
    background: -o-linear-gradient(top, #1e5799 0%,#384e73 28%,#1d3358 100%);
    background: linear-gradient(to bottom, #1e5799 0%,#384e73 28%,#1d3358 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#1d3358',GradientType=0 );
}


.custom-button:hover {
    background: -webkit-gradient(linear, left top, left bottom, from(hsla(212, 67%, 44%, 1)), color-stop(28%, hsla(218, 35%, 42%, 1)), to(hsla(218, 50%, 31%, 1)));
    background: -webkit-linear-gradient(hsla(212, 67%, 44%, 1) 0%, hsla(218, 35%, 42%, 1) 28%, hsla(218, 50%, 31%, 1) 100%);
    background: -o-linear-gradient(hsla(212, 67%, 44%, 1) 0%, hsla(218, 35%, 42%, 1) 28%, hsla(218, 50%, 31%, 1) 100%);
    background: linear-gradient(hsla(212, 67%, 44%, 1) 0%, hsla(218, 35%, 42%, 1) 28%, hsla(218, 50%, 31%, 1) 100%)
}

.custom-button[disabled], .custom-button[disabled]:hover {
    cursor: not-allowed;
    background: #98a3b5

}

#container #top #top-wrapper > p {
    position: absolute;
    top: 0;
    left: 260px;
    font-weight: bold;
    font-style: normal;
    width: 660px;
    font-size: 16px;
    text-shadow: 1px 1px 1px white;
}

div.subpage-list .subpage-list {list-style: none; width: 629px;}
div.subpage-list .subpage-list .subpage-list-item {width: 181px; height: 117px; float: left; text-align: center; background: url(/img/subpage-list-no-thumb-bg.png) bottom left  no-repeat; margin: 0 43px 24px 0; padding: 0; text-decoration: none; position: relative;}
div.subpage-list .subpage-list .subpage-list-item.last-in-row {margin: 0 0 24px 0;}
div.subpage-list .subpage-list .subpage-list-item a {text-decoration: none; display: block; height: 117px; line-height: 117px;}
div.subpage-list .subpage-list .subpage-list-item h3 {margin: 0;  text-align: center; vertical-align: middle; display: inline-block; color: #97325b; line-height: 20px; font-size: 18px; padding: 7px 16px 8px 16px;}
div.subpage-list.subpage-list-thumbs01 .subpage-list-item {height: 237px;background: url(../img/subpage-list-thumb-bg.png) bottom left  no-repeat;}
div.subpage-list.subpage-list-thumbs01 .subpage-list-item a {height: 44px; line-height: 44px;}
div.subpage-list.subpage-list-thumbs01 div.text {margin: 165px 0 0 0;}
div.subpage-list.subpage-list-thumbs01 div.with-foto {margin: 0; width: 176px;}
div.subpage-list.subpage-list-thumbs01 .subpage-list-item h3.long {font-size: 14px;}
div.subpage-list.subpage-list-thumbs01 div.photo {position: relative; width: 176px; height: 165px; overflow: hidden;}
div.subpage-list.subpage-list-thumbs01 div.photo img.frame {position: absolute;/* top: 4px; *//* left: 4px; */}
div.subpage-list.subpage-list-thumbs01 div.photo img.thumb {position: absolute;top:4px;left: 4px;max-width: 167px;}

#sektory g[data-sektor] {
    display: none;
}

#sektory tspan {
    fill: black;
    font-size: 18px;
}



#menu-bottom-content {
    position: absolute;
    top: 23px;
    padding: 0px 20px 15px;
    font-size: 14px;
}

#menu-bottom-content > * {
    text-align: center;
}

#menu-bottom-content > h2 {
    font-size: 1.1rem;
    background: none;
}

#menu-bottom-content > p {
    margin: 0px !important;
}

.content-wrapper {
    /*min-height: 1100px;*/
}

#menu-bottom {
    margin-top: 4px;
    z-index: 2;
    position: inherit;
}

.menu {
    position: relative;
}

.menu-bottom {
    z-index: 3;
    position: absolute;
    left: 0;
}

#menu-bottom-content svg {
    -webkit-transform: scaleY(1.04);
        -ms-transform: scaleY(1.04);
            transform: scaleY(1.04);
}

#menu-bottom-content .custom-button {
    width: 100%;
    padding-top: .4rem;
    padding-bottom: .4rem;
    display: block;
    margin-top: 10px;
}

form span.error, form .errorContainer.error {
    -webkit-animation: blinker 2s linear infinite;
            animation: blinker 2s linear infinite;
}

@-webkit-keyframes blinker {
    50% {
        opacity: 0;
    }
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

#top {
    margin-bottom: 30px;
}

.deads-list div:not(.table-header) .name {
    text-decoration: underline;
}


.mobile .left-col, .mobile .right-col {
    width: 100% !important;
    position: relative !important;
    float: none !important;
}

.mobile .przejdz-do-prawoslawia,
.mobile #top-wrapper > p.text-format {
    display: none;
}

body.mobile {
    background-size: cover !important;
}

.mobile #necrology {
    margin-top: 0px;
}

.mobile .necrology-wrapper > h2 {
    margin-bottom: 12px;
}

.mobile .menu-wrapper .menu li,
.mobile #container #content .left-col ul li,
.mobile #menu-bottom {
    display: none;
}

.mobile .menu-bottom,
.mobile .menu-wrapper .logo {
    display: none;
}

.mobile.home .menu-wrapper .logo-home {
    display: block !important;
}

/*.mobile .menu-wrapper .logo-mobile {
    display: block !important;
}*/

.mobile .menu-wrapper {
    width: 100% !important;
}

.mobile .content-wrapper .logo {
    display: none;
}

.mobile .content-wrapper .logo-mobile {
    display: block !important;
}

.mobile .content-wrapper .menu {
    width: 100%;
    max-width: none !important;
    top: -30px;
    margin-bottom: 70px;
}

.mobile #content .header img {
    display: none;
}

.mobile #slides .slick-slide img + div .text-wrapper {
    width: 100%;
    position: relative;
    float: none;
    max-width: 100%;
    margin-top: 120px;
    padding: 10px;
    text-align: center;
}

.mobile .wrapper .content-wrapper .right-col {
    margin-top: -60px;
}

.mobile.home .wrapper .content-wrapper .right-col {
    margin-top: 60px !important;
}

.mobile #slides .slick-slide img + div .text-wrapper:before {
    content: "”";
    font-family: Georgria;
    font-size: 67px;
    font-weight: bold;
    line-height: 50px;
    height: 25px;
    overflow: hidden;
    display: block;
    text-align: center;
    margin-bottom: -5px;
    color: #384e73
}

.mobile #slides .slick-slide img + div .text {
    padding-bottom: 0;
}

.mobile #slides .slick-slide img + div .text-wrapper h2 {
    font-size: small;
    text-align: center;
    font-weight: bold;
    margin: 0;
}

.mobile #slides .slick-slide img + div .text-wrapper h3 {
    margin: 0px;
    margin-top: 5px;
    padding: 0px;
}

.mobile #top-wrapper {
    position: absolute !important;
    top: 50px;
    left: 0px;
    width: 100%;
}

.mobile #container #content .content-wrapper {
    padding-left: 10px;
    padding-right: 10px;
}

.mobile #slides {
    position: relative;
}

.mobile #top {
    margin-bottom: 0;
}


.mobile #necrology .items ul li {
    padding: 10px;
}

.mobile #necrology .items ul li a.more {
    width: calc(100% - 50px);
}

.mobile .footer-1 {
    display: none;
}

.mobile .footer-2 {
    display: flex;
    flex-direction: column-reverse;
    padding-bottom: 0 !important;
}
.mobile .footer-2 .contact {
    padding: 8px 25px;
    text-align: center;
}

.mobile .footer-2 .copyright {
    padding: 8px 25px !important;
    /*width: 100% !important;*/
    float: none !important;
    width: 300px !important;
    margin: 0 auto;
    display: block;
    border: none  !important;
    /*padding: 8px 25px !important;*/
}

.mobile .footer-2 .copyright p {
    text-align: center;
}

.mobile .menu-button,
.mobile .menu-close-button {
    position: absolute;
    right: 0px;
    top: 0px;
    border: 10px solid transparent;
    z-index: 1;
}

.mobile .menu-button-container {
    padding: 5px;
    display: flex;
    width: 30px;
    height: 30px;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #4e6386;
    background: #1e3459;
}

.menu-close-button .menu-button-container {
    padding-top: 1px;
    display: flex;
    width: 30px;
    height: 30px;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #4e6386;
    background: #1e3459;
}

.mobile .menu-button {
    display: flex !important;
}

.mobile .menu-close-button {

}

.mobile .menu-button .bar {
    width: 100%;
    height: calc(100% / 5);
    background: white;
}

.mobile #necrology .items button.slick-prev {margin-left: 10px; zoom: .6;}
.mobile #necrology .items button.slick-next {right: 0;margin-right: 10px; zoom: .6;}



.mobile .ftmenu li {
    width: 100%;
    padding: 8px;
}
.mobile.menu-open .footer-1 {
    display: block;
    position: absolute;
    top: 0;
    height: 100%;
    background: #1d3358;
    margin: 0 !important;
    padding: 0 !important;
}

.mobile .footer-menu {
    margin-top: 30px;
    border-bottom: none !important;
}


.mobile.menu-open .menu-close-button {
    color: white;
    text-align: center;
    font-weight: bold;
    font-family: monospace;
    font-size: 20px;
    display: flex !important;
    justify-content: center;
    align-items: center;
}


.mobile .subpage-list .subpage-list-item {
    width: auto;
}
.mobile .subpage-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ftmenu .lvl2 {
    display: none;
}

.mobile .columns .column {
    width: 100%;
    flex: 0 0 100%;;
}

.mobile .columns {
    flex-direction: column;
}

.mobile .columns .columns .column {
    flex: auto;
}

.mobile .columns .columns {
    flex-direction: row;
}

.mobile .column:first-child {
    padding-left: 0.75rem;
}

.mobile .column:last-child {
    padding-right: 0.75rem;
}

.mobile .dead-person-info-box-text {
    left: 0 !important;
}

.mobile .dead-person-info-box-text {
    right: 0 !important;
}

.mobile .dead-person-buttons {
    width: 100%;
}

.mobile .dead-person-buttons a {
    text-align: center;
    display: block;
}

.mobile .dead {
    padding-bottom: 14px !important;
}

.entries-list .entry .photo,
.entries-list .entry .text {
    width: 100% !important;
}

.entries-list .entry .thumb {
    margin: 0 auto !important;
}

#dead-slides .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;

    font-size: 0;
    width: 20px;
    height: 20px;
    padding: 0;
    border: none;
    outline: none;
    background: transparent;
    cursor: pointer;
    line-height: 0;
}


#dead-slides .slick-next:before {
    content: '\f054';
    font-size: 20px;
    line-height: 1;
    opacity: .75;
    color: white;
}

#dead-slides .slick-prev:before {
    content: '\f053';
    font-size: 20px;
    line-height: 1;
    opacity: .75;
    color: white;
}

#dead-slides .slick-prev.slick-arrow {
    left: 5px;
}

#dead-slides .slick-next.slick-arrow {
    right: 5px;
}

#dead-slides .slick-next:before,
#dead-slides .slick-prev:before {
    font-family: "Font Awesome 5 Free"; 
    font-weight: 900;
    background: white;
    border-radius: 50%;
    color: black;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}



.fancybox-content * {
    max-height: calc(100vh - 88px)
}


.dead-person-main-photo--gallery {
    padding: 0;
    background: none;
    box-shadow: none;
}

#dead-slides {
    display: flex;
    flex-wrap: wrap;
}

#dead-slides > div {
    background: white;
    padding: 8px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    width: calc(100% / 3 - 0.5rem);
}


#dead-slides > div:first-child {
    width: 100%;
}

#dead-slides .slide img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    max-width: unset;
}

#dead-slides .slide {
    height: 100%;
    display: block !important;
}