header {
    /* Grid styles */
    display: grid;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.logo {
    grid-column: span 2;
}
nav {
    width: 100%;
}
nav ul {
    display: grid;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
}
nav ul li {
    display: block;
    float: left;
}
nav ul li.double {
    grid-column: span 2;
}
ul.main-menu li:nth-child(7) {
    grid-column: span 2;
}
main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    max-width: 1100px;
    margin: 0 auto;
}
main content {
    grid-column: span 3;
}
footer {
    text-align: center;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));

}
gridwrapper, wrapper {
    max-width: 1100px;
    margin: auto;
}
gridwrapper {
    display: grid;
    grid-template-columns: inherit;
    grid-auto-rows: auto;
}
/* --------------- END GRID SYSTEM ---------------- */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    font-family: "Kurale", Helvetica, sans-serif;
    font-size: 17px;
    color: #696868;
}

em {
    font-style: italic;
}
strong {
    font-weight: bold;
}
header {
    padding: 1rem 0;
    background-color: #f1f1f1;
    text-align: center;
}
header gridwrapper {
    align-items: center;
}
img {
    max-width: 100%;
    height: auto;
}
.heart-bg img {
    width: 120px; 
    height: 80px; 
    margin-top: 10px;
}
header .header-contacts {
    text-align: left;
}
.header-contacts li {
    list-style: none;
    font-weight: bold;
    margin-left: 0;
}
.header-contacts li a {
    text-decoration: none;
    color: #bd0000;
}
.header-contacts li a:hover {
    color: #696868;
}
/*-------------- MENU START--------------*/
nav {
    background-color: #444444;
    -webkit-box-shadow: 1px 1px 4px rgba(0,0,0,0.4);
    -moz-box-shadow: 1px 1px 4px rgba(0,0,0,0.4);
    box-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}
nav * {
    font-family: Kurale, Helvetica, sans-serif;
}
nav ul {

}
nav ul li {
    border-right: 1px solid #575757;
    display: block;
    text-align: center;
    margin: auto;
    width: 100%;
    /* height: 100%; */
    list-style: none;
}
nav ul li:hover {
    background-color: #df0a34;
}
nav ul li a {
    padding: 1rem 0;
    height: 100%;
    cursor: pointer;
}
nav ul li ul {
    background-color: rgb(196, 29, 67, 0.9)
}
nav ul li ul li {
    border-bottom: 1px solid #ea5577;
}
/*-------------- MENU END--------------*/

main gridwrapper {
    grid-gap: 2rem;
    min-width: 100%;
}

content, sidebar {
    margin: 1.7rem 0;
    border: 1px solid #ddd;
    padding: 15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.12);
    -moz-box-shadow: 0 0 3px rgba(0,0,0,0.12);
    box-shadow: 0 0 3px rgba(0,0,0,0.12);
}
.contact-contents {
    /* Grid styles */
    display: grid;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}
.contact-map {
    text-align: center;
    padding-right: 20px;    
}
.contact-adress {
    text-align: left;
    padding: 5px;    
}


.page-title h2 {
    color: #c7092e;
    font-size: 2rem;
    line-height: 110%;
}
p {
    text-align: left;
    padding: 20px 0 0 0;
    line-height: normal;
    text-indent: 25px;
  }
ul {
    list-style: none; /* Remove HTML bullets */
    padding: 4px;
    margin: 0;
  }
  
ul li { 
    padding-left: 0; 
    line-height: normal;
}

ul li {
    list-style: disc;
    margin-left: 20px;
}
h2, h3, h4, h5, h6 {
	font-weight: bold;
	padding: 0.5rem 0.4rem;
	color: #c4bebe;
}
h2 {
    font-size: 1.4rem;
    color: #5b5a5a;
}
h3 {
	font-size: 1.2rem;
}
h4 {
	font-size: 1.05rem;
}
h5 {
	font-size: 1rem;
}
h6 {
	font-size: 0.9rem;
}
widget {
    padding-bottom: 1.5em;
    display: block;
}
widget h3.title {
    color: #c7092e;
    font-weight: bold;
    font-size: 1.15em;
    line-height: 1.4em;
    padding-bottom: 0.5em;
}
widget .subtitle {
    color: #c7092e;
    padding-top: 0.5em;
    font-size: 0.95em;
    font-weight: bold;
}
widget .workhours, widget .dates {
    display: block;
    font-size: 0.92em;
    margin-bottom: 0.4em;    
}
widget p, widget ul li {
    font-size: 0.92em;
    text-indent: 0;
}
widget p.bold {
    font-weight: bold;
    padding-top: 0.4em;
}
widget a {
    font-size: 0.89em;
}

footer {
    padding: 3rem 0;
    background-color: #151515;
    background-image: url('6E7F39BC5C12531D5F81054328480B49.png');
    border-top: 1px solid #444;
    border-color: rgba(0,0,0,0.8);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding-box;
    background-clip: padding-box;
    -webkit-box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.3) inset;
    -moz-box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.3) inset;
    box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.3) inset;
    color: #666;
}

footer h3.widget-title {
    text-align: left;
    margin: 0 40px 20px 0;
    font-weight: bold;
    padding: 10px 0;
    font-size: 16px;
    border-bottom: 1px solid #000;
    -webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.1);
    -moz-box-shadow: 0 1px 0 rgba(255,255,255,0.1);
    box-shadow: 0 1px 0 rgba(255,255,255,0.1);
    text-transform: uppercase;
}
footer .footer-column {
    padding: 0 1em;
    font-size: 14px;
}
footer .footer-column ul {
    text-align: left;
    line-height: 1.7em;
    font-size: 0.7em;
}
footer .footer-column ul li {
    padding-bottom: 5px;
    transition: all 0.5s ease;
    font-family: Verdana, Helvetica, sans-serif;
}
footer .footer-column ul li a {
    color: #9d9b9b;
    font-size: 15px;
    text-decoration: none;
}
footer .footer-column ul li a:hover {
    padding-left: 12px;
    color: #999;
    transition: all 0.5s ease;
}
footer .footer-column div {
    text-align: left;
    line-height: 1.7em;
    font-size: 1em;
    color: #9d9b9b;
}
footer .footer-column div a {
    text-align: left;
    line-height: 1.7em;
    font-size: 1em;
    color: #9d9b9b;
}
copyright {
    display: block;
    padding: 1rem 0rem;
    background-color: #111111;
    color: #666;
    text-align: center;
    font-size: 13px;
}
copyright a {
    color: #bd0000;
}

/*  Mobile Menu Fix  */

nav gridwrapper {
    text-align: center;
}
@media only screen and (max-width: 798px) {
    .nav-mobile {
        display: block;
        margin: 0 auto;
        cursor: pointer;
        background: none;
    }
    #nav-toggle {
        display: block;
        cursor: pointer;
        margin: 35px 32px 16px 17px;
    }
}

/******* */

/* ------------ Mobile Version Fixes ----------------- */

@media only screen and (max-width: 1024px) {
    gridwrapper {
        max-width: 100%;
    }
    main sidebar {
        grid-column: span 3;
    }
}
@media only screen and (max-width: 800px) {
    nav ul {
        display: none;
    }
    nav ul li {
        border-bottom: 1px solid;
    }
    header .heart-bg, header .header-contacts {
        grid-column: span 2;
        text-align: center;
    }
}

/* idt quotes */
blockquote {
    background: none repeat scroll 0 0 #cccccc66;
    border-left: 5px solid #d2cece;
    color: #544C4A;
    font: italic 12pt/1.2em Georgia;
    margin: 10px 0;
    padding: 10px;
    text-shadow: 1px 1px 1px #ffffff;
    border-radius: 0 1rem;
    -moz-border-radius: 0 1rem;
    -webkit-border-radius: 0 1rem;
}


hr {
    margin: 1.5em 0 3.5em 0;
    clear: both;
}
  
p img.left {
    float: left;
    margin: 0 2em 1em 0;
}

p img.right {
    float: right;
    margin: 0 0 1em 2em;
}

p img.center { 
    display: block; 
    margin: 1em auto;
}

.clear { clear: both; }

#gallery div {
    text-align: center;
}

#gallery img {
    height: 200px;
    width: 200px;
    object-fit: cover;
}

#gallery [class*='col-']:last-of-type,
.gallery [class*='col-']:last-of-type {
  float: left;
}

[class*="col-"] {
    float: left;
    position: relative;
    min-height: 1px;
    width: 30%;
}

@media only screen and ( min-width: 1024px ) {
    .col-1-1 { width: 100%     }
    .col-1-2 { width: 50%;     }
    .col-1-3 { width: 33.333%; }
    .col-1-6 { width: 16.666%; }
    .col-2-3 { width: 66.666%; }
    .col-1-4 { width: 25%;     }
    .col-3-4 { width: 75%;     }
}


@media only screen and ( max-width: 1023px ) {
    .col-1-1-small { width: 100%     }
    .col-1-2-small { width: 50%;     }
    .col-1-3-small { width: 33.333%; }
    .col-1-6-small { width: 16.666%; }
    .col-2-3-small { width: 66.666%; }
    .col-1-4-small { width: 25%;     }
    .col-3-4-small { width: 75%;     }
}

/* news style */
.post-entry-2 {
    font-size: .9rem;
}
.post-entry-2 .thumbnail {
    background-size: cover;
    background-position: center;
    width: 200px;
    height: 150px;
    float: left;
    margin: 0 20px 0 0;
}
.post-entry-2 .contents {
    width: 100%;
    padding: 0 20px 40px 0;
}
.post-entry-1 h2 a, .post-entry-2 h2 a {
    color: #c7092e;
    font-weight: 600;
}
.date-read {
    color: #c7092e;
}
.mb-5, .my-5 {
    margin-bottom: 3rem!important;
    width: 90%;
}
.mb-4, .my-4 {
    margin-bottom: 1.5rem!important;
    color: #c7092e;
    font-size: 1.6rem;
    font-weight: 500;
}
.btn {
    border-radius: 30px;
    background: #444;
    padding-left: 20px;
    padding-right: 20px;
    border-color: #fff;
    color: #fff;
    text-align: center;
    cursor: pointer;
}

.btn {
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: .2rem;
}

a.btn:hover, a.btn:active {
    color: #fff;
    background: #c7092e;
}

.btn-block {
    display: block;
    width: 100%;
}

[class*="lines-"] {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.lines-5 {
    -webkit-line-clamp: 5;
    max-height: 8.5em;
}

#load-more {
    padding: 8px 8px;
}

#load-more:hover {
    color: #fff;
    background:#c7092e;
}

.post-entry-2 h2>a,
.post-entry-2 h2>a:hover {
    text-decoration: none;
}

/* block animation  */

#section-feature ul {
    margin-top: 2rem;
    padding: 0;
    list-style: none;
    position: relative;
}

#section-feature li {
    box-sizing: border-box;
    position: relative;
    height: 380px;
    max-height: 380px;
    float: left;
    margin: 0 0 2rem 0;     
    user-select: none;
    list-style:none;
}

#section-feature .sf-wrap  {
    background-repeat: no-repeat;
    position: absolute;
    width: 100%;
    height: 380px;
    perspective: 600px;
    cursor: pointer;
}


.sf-mdl-left,
.sf-mdl-right,
.sf-mdl-left-full,
.sf-mdl-right-full {
    position: absolute;
    left: 10.1%;
    top: 0;
    width: 40%;
    height: 100%;     
    transition: all .5s;
    overflow: hidden;
    background-size: 100%;
}

.sf-icon {
    position: absolute;
    top: 100px;
    text-align: center;
    width: 100%;
    left: 0;
    width: 200%;
    color: #fff;
}
.sf-icon i {color: #fff}


.sf-mdl-left-full .sf-icon,
.sf-mdl-right-full .sf-icon {
    color: #fff;
}

.sf-mdl-right,
.sf-mdl-right-full {
    left: auto;
    right: 10%;
}

.sf-mdl-left-full,
.sf-mdl-right-full {
    background-color: #fb527a;
    z-index: 9;
    color: #fff;
}

.sf-wrap a {
    color: #fff;
    text-decoration: none;
    margin-top: 110px;
}

.sf-mdl-left,
.sf-mdl-right {
    background-color: #fff;
    z-index: 10;
}

.sf-wrap > .sf-mdl-right,
.sf-wrap > .sf-mdl-left-full {     

    backface-visibility: hidden;
    transform-style: preserve-3d;
    transform-origin: 0 0;
    transform: rotateY(0deg);
}

.sf-wrap.hover > .sf-mdl-right {     
    transform: rotateY(-45deg);
    background-color: #ececec;
}

.sf-wrap > .sf-mdl-left-full {     
    transform-origin: 100% 0;     
    transform: rotateY(180deg);
}

.sf-wrap.active > .sf-mdl-right,
.sf-wrap.hover.active > .sf-mdl-right {     
    transform: rotateY(-180deg);
}

.sf-wrap.active > .sf-mdl-left-full {     
    transform: rotateY(0deg);
}

.active .sf-mdl-left-full,
.active .sf-mdl-right-full {
    z-index: 11;
}

.sf-wrap div h3 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 22px;
     
}

.sf-wrap div h3,
.sf-wrap div p {
    width: 200%;
    position: absolute;
    text-align: center;
    left: 0;
    top: 190px;
}

.sf-wrap div p {
  padding: 0 1rem;
  line-height: 1.2rem;
  font-size: 1rem;
  top: 15rem;
}

.sf-wrap div.sf-mdl-right h3,
.sf-wrap div.sf-mdl-right-full h3,
.sf-wrap div.sf-mdl-right p,
.sf-wrap div.sf-mdl-right-full p,
.sf-mdl-right .sf-icon,
.sf-mdl-right-full .sf-icon
{
    left: auto;
    right: 0;
}

.sf-wrap div.sf-mdl-left-full h3,
.sf-wrap div.sf-mdl-right-full h3 {
    top: 160px;
}

.sf-wrap.active {
  background-color: transparent;
}
.txtwhite {
    color: #fff;
    font-size: 22px;
}

.sf-wrap .button  {
    background-color: #A4393D;
    border: none;
    color: white;
    padding: 20px 30px;
    text-align: center;
    font-size: 18px;
    cursor: pointer;
}

/*search*/
.parent-search-result > div:nth-of-type(odd) {
  background-color: #f9f9f9;
}

.parent-search-result > div:nth-of-type(even) {
  background-color: #eaeaea;
}

.search-result {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #eaeaea;
}

.search-result ul li {
  margin-left: 20px;
  padding: .5rem 0;
}

.search-result a {
  text-decoration: none;
}

.search-result a:hover {
  text-decoration: underline;
}

.pagination {
  display: inline-block;
}

.pagination a {
  color: black;
  float: left;
  padding: .5rem .9rem;
  text-decoration: none;
  border: 1px solid #dcdcdc;
}

.pagination a:hover {
  text-decoration: none;
}

.pagination a.active {
  background-color: #fcf0f3;
  border: 1px solid #ffb6c4;
}

.pagination a:hover:not(.active) {
  background-color: #fcf0f3;
  border: 1px solid #fcf0f3;
}

ul.ks-cboxtags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  list-style: none;
}

ul.ks-cboxtags li{
  display: inline;
  margin: 0 .5rem;
}

ul.ks-cboxtags li:first-child {
  margin-left: 0;
}

ul.ks-cboxtags li:last-child {
  margin-right: 0;
}

ul.ks-cboxtags li label{
  display: inline-block;
  background-color: rgba(255, 255, 255, .9);
  border: 2px solid rgba(139, 139, 139, .3);
  color: #adadad;
  white-space: nowrap;
  margin: 3px 0px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: all .2s;
  text-align: center;
  width: 100%;
}

ul.ks-cboxtags li label {
  padding: 8px 12px;
  cursor: pointer;
}

ul.ks-cboxtags li label::before {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font-weight: 900;
  padding: 0 .2rem;
  content: "+";
  transition: transform .3s ease-in-out;
}

ul.ks-cboxtags li input[type="checkbox"]:checked + label::before {
  content: "✔";
  transform: rotate(-360deg);
  transition: transform .3s ease-in-out;
}

ul.ks-cboxtags li input[type="checkbox"]:checked + label {
  border: 2px solid #ffb6c4;
  background-color: #fcf0f3;
  color: #333;
  transition: all .2s;
}

ul.ks-cboxtags li input[type="checkbox"] {
  display: absolute;
}

ul.ks-cboxtags li input[type="checkbox"] {
  position: absolute;
  opacity: 0;
}

mark {
  background-color: #fcf0f3;
  border: 1px dashed #ffb6c4;
  padding: 0.2rem 0.5rem;
}

#search {
  margin: .5em 0 0 0;
  height: 3em;
  position: relative;
}

#search input {
  position: absolute;
  right: 0;
  width: 100%;
  height: 36px;
  padding: 0 32px 0 8px;
  border: 1px solid #bbb;
  border-radius: 3px;
  color: #333;
  outline: 0;
  float: left;
}

#search input[type='submit']  {
  padding: 0;
  position: absolute;
  right: 2px;
  top: 2px;
  width: 35px;
  height: 32px;
  cursor: pointer;
  border: 1px solid #fff;
  font-size: 0;
  background: #fff url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAASCAYAAAC5DOVpAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABZ0RVh0Q3JlYXRpb24gVGltZQAwNC8xMS8xOHiONNUAAAAYdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3Jrc0+zH04AAAGGSURBVDiNnZQ/KMVRFMc/72WQQYY33KssehkML7kGkyJlUIjIrIgkg0kGk9lkMZGSlDApg1nqliSDfj2Dcu9gkiSDZ3gH1/X76eUs537vPefzu3/O+eUqlQqhKaMbgH6gFyjJ9DNw6K3b4g/LhTBl9CiwCPSkxCbi17KgXzBl9BSwBLRL4pv4MtANFICizO1661ZTYcroIWBZkpK0ryujJ4E52XUCzHvrTsOYvDK6AAwGoJW0Y3jr9oB14Fx2uBbH5Kle8ozosrduP+0+BHgEHItsUkZ3xLDmQG9ngQK7FV8EumJYfaBvaoC9B+OWGPYa6PYaYPlgfB8vPAR6rAZYm/gEuI5hV8Cm6JIyeiKLooweAYZFvnnrzn/AvHWPwAnBk6cBpRanqZYQwEYcE3bALLDAdwe8ABfAHTBA9dWLQW4CjHvrLn/BBBhWeWyfvfkEdKYBcyl/jUagDxgHWoFGwAM73rotZXQfMA+MxsBfsFosC/gvWAZwv+5fJMBbd6aM/pQl4OAD2B6RZ1F78IMAAAAASUVORK5CYII=') center center no-repeat;
}

#search input[type='submit']:hover {
  background-color: #ffb6c4;
  border: 1px solid #ffb6c4;
}

ul#news-archive {
    columns: 3;
    -webkit-columns: 3;
    -moz-columns: 3;
    list-style-position: inside;
}