/**
 * If using a CSS pre-processor, tell it to overwrite this file. If not, place
 * your custom CSS modifications here.
 */
 
body {
    background: #F7F7F7;
    margin-top: 0;
}

.field--name-body a {
    color: #9E7500;
    text-decoration: underline;
}

.field--name-body a:hover {
    color: #7A5C00;
    text-decoration: none;
}

#search-block-form .button {
  background: #EDB304;
  border: 1px solid #EDB304;
  color: #404040;
}

.copyright {
  line-height: 1.42857143;
  text-align: center;
  color: #404040;
  padding: 15px 0 0;
  border-top: 1px solid #fff;
  margin: 15px 0 0 auto;
}

/******************************* Top *******************************/
 
.region-logo .logo, .region-logo .navbar-text {
    float: none!important;
    text-align: center;
    display: block;
}

.region-logo .navbar-text {
    color: #9E7500;
    font-family: 'Caveat', cursive;
    font-size: 24px;
    line-height: 100%;
}

.social-wrapper {
    background: #EDB304;
    text-align: center;
}

/******************************* Menu *******************************/

.topmenu .menu--main {
    float: none !important;
    text-align: center;
    margin: 15px 0 15px 0;
    border-top: 1px solid #EEEEEE;
    padding: 15px 0 15px 0;
}

.topmenu .menu--main li {
    float: none!important;
    display: inline-block;
}

.topmenu .menu--main a {
    color: #404040;
    font-size: 18px;
}

/******************************* Teaser *******************************/

.views-row {
  margin-bottom: 2rem;
}

.article.teaser, .article-big.teaser {
  border-bottom: 1px solid #ddd;
  padding-bottom: 1.5rem;
}

.view-taxonomy-term-custom .view-content {
    overflow: hidden;
}

.article h2, .article-big h2 {
    font-size: 22px;
    font-weight: normal;
    padding: 0 0 4px;
}

.article h2 a, .article-big h2 a {
  color: #555555;
  text-decoration: none;
}

.article h2 a:hover, .article-big h2 a:hover {
  text-decoration: none;
}

.article.teaser .field--name-field-image, .article-big.teaser .field--name-field-image {
    width: 200px;
    float: left;
    margin-right: 15px;
    margin-top: 5px;
}

.article.teaser .field--name-field-image img, .article-big.teaser .field--name-field-image img {
  max-width: 100%;
  height: auto;
  border-radius: 50%;
  display: block;
}

.article.teaser .field--name-body p, .article-big.teaser .field--name-body p {
  text-align: justify;
  margin-bottom: 1rem;
}

.article footer, .article-big footer, .cross footer {
    background: #e9e9e9;
    border-radius: 4px;
    clear: both;
    color: #383838;
    display: block;
    margin: 5px 0 10px 0;
    padding: 4px 9px;
}

.article .author a, .article-big .author a {
  color: #EDB304;
  text-decoration: none;
}

.article .author a:hover, .article-big .author a:hover {
  text-decoration: underline;
}

.article.teaser .node-readmore,
.article.teaser .comment-comments,
.article-big.teaser .node-readmore,
.article-big.teaser .comment-comments {
    background: #EDB304;
    border-radius: 4px;
    margin-right: 10px;
}

.article.teaser .comment-add, .article-big.teaser .comment-add {
    background: #EDB304;
    border-radius: 4px;
}

.article.teaser .node-readmore a,
.article.teaser .comment-add a,
.article.teaser .comment-comments a,
.article-big.teaser .node-readmore a,
.article-big.teaser .comment-add a,
.article-big.teaser .comment-comments a {
  color: #404040;
  padding: 5px 10px;
  display: block;
  transition: all 0.25s ease-in-out;
}

.article.teaser .node-readmore a:hover,
.article.teaser .comment-add a:hover,
.article.teaser .comment-comments a:hover,
.article-big.teaser .node-readmore a:hover,
.article-big.teaser .comment-add a:hover,
.article-big.teaser .comment-comments a:hover {
  color: #fff;
  transform: translateY(-1px);
  text-decoration: none;
}

.article.teaser .field--name-body h2,
.article-big.teaser .field--name-body h2{
  padding: 0;
  margin: 0;
}

.article .field--name-field-tags,
.article-big .field--name-field-tags,
.cross .field--name-field-tags {
  text-align: center;
  margin-bottom: 10px;
}

.article.teaser .field--name-field-tags,
.article-big.teaser .field--name-field-tags{
  text-align: left;
  margin-bottom: 0px;
}

.article .field--name-field-tags a,
.article-big .field--name-field-tags a,
.cross .field--name-field-tags a {
  display: inline-block;
  margin-right: 0.5rem;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 16px;
}

.article .field--name-field-tags a[href="/tegy/hramy"],
.article-big .field--name-field-tags a[href="/tegy/hramy"] {
  color: #504416;
}

.article .field--name-field-tags a[href="/tegy/muzeyi"],
.article-big .field--name-field-tags a[href="/tegy/muzeyi"] {
  color: #a02c2c;
}

.article .field--name-field-tags a[href="/tegy/gory"],
.article-big .field--name-field-tags a[href="/tegy/gory"] {
  color: #008000;
}

.article .field--name-field-tags a[href="/tegy/vodospady-richky"],
.article-big .field--name-field-tags a[href="/tegy/vodospady-richky"] {
  color: #000080;
}

.article .field--name-field-tags a[href="/tegy/morya-ta-ozera"],
.article-big .field--name-field-tags a[href="/tegy/morya-ta-ozera"] {
  color: #800080;
}

.article .field--name-field-tags a[href="/tegy/zamky-i-palacy"],
.article-big .field--name-field-tags a[href="/tegy/zamky-i-palacy"] {
  color: #000000;
}

.article .field--name-field-tags a[href="/tegy/podiyi"],
.article-big .field--name-field-tags a[href="/tegy/podiyi"] {
  color: #aa8800;
} 

.article .field--name-field-tags a[href="/tegy/sporudy"],
.article-big .field--name-field-tags a[href="/tegy/sporudy"] {
  color: #d45500;
}

.article .field--name-field-tags a[href="/tegy/pechery"],
.article-big .field--name-field-tags a[href="/tegy/pechery"] {
  color: #d40000;
}

.cross .field--name-field-tags a[href="/tegy/khresty"] {
  color: #4d4d4d;
}

.article .field--name-field-tags a:hover,
.article-big .field--name-field-tags a:hover{
  text-decoration: none;
}

.article .field--name-field-tags .field--item a::before,
.article-big .field--name-field-tags .field--item a::before,
.cross .field--name-field-tags .field--item a::before {
  content: "";
  display: inline-block;
  width: 18px; 
  height: 18px;
  margin-right: 5px;
  vertical-align: middle;
  background: no-repeat center/contain;
}

.article .field--name-field-tags .field--item a[href="/tegy/hramy"]::before,
.article-big .field--name-field-tags .field--item a[href="/tegy/hramy"]::before{
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><path fill-rule='evenodd' clip-rule='evenodd' d='M16 8L8 0H0V8L8 16L16 8ZM4.5 6C5.32843 6 6 5.32843 6 4.5C6 3.67157 5.32843 3 4.5 3C3.67157 3 3 3.67157 3 4.5C3 5.32843 3.67157 6 4.5 6Z' fill='%23504416'/></svg>");
}

.article .field--name-field-tags .field--item a[href="/tegy/muzeyi"]::before,
.article-big .field--name-field-tags .field--item a[href="/tegy/muzeyi"]::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><path fill-rule='evenodd' clip-rule='evenodd' d='M16 8L8 0H0V8L8 16L16 8ZM4.5 6C5.32843 6 6 5.32843 6 4.5C6 3.67157 5.32843 3 4.5 3C3.67157 3 3 3.67157 3 4.5C3 5.32843 3.67157 6 4.5 6Z' fill='%23a02c2c'/></svg>");
}

.article .field--name-field-tags .field--item a[href="/tegy/gory"]::before,
.article-big .field--name-field-tags .field--item a[href="/tegy/gory"]::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><path fill-rule='evenodd' clip-rule='evenodd' d='M16 8L8 0H0V8L8 16L16 8ZM4.5 6C5.32843 6 6 5.32843 6 4.5C6 3.67157 5.32843 3 4.5 3C3.67157 3 3 3.67157 3 4.5C3 5.32843 3.67157 6 4.5 6Z' fill='%23008000'/></svg>");
}

.article .field--name-field-tags .field--item a[href="/tegy/vodospady-richky"]::before,
.article-big .field--name-field-tags .field--item a[href="/tegy/vodospady-richky"]::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><path fill-rule='evenodd' clip-rule='evenodd' d='M16 8L8 0H0V8L8 16L16 8ZM4.5 6C5.32843 6 6 5.32843 6 4.5C6 3.67157 5.32843 3 4.5 3C3.67157 3 3 3.67157 3 4.5C3 5.32843 3.67157 6 4.5 6Z' fill='%23000080'/></svg>");
}

.article .field--name-field-tags .field--item a[href="/tegy/morya-ta-ozera"]::before,
.article-big .field--name-field-tags .field--item a[href="/tegy/morya-ta-ozera"]::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><path fill-rule='evenodd' clip-rule='evenodd' d='M16 8L8 0H0V8L8 16L16 8ZM4.5 6C5.32843 6 6 5.32843 6 4.5C6 3.67157 5.32843 3 4.5 3C3.67157 3 3 3.67157 3 4.5C3 5.32843 3.67157 6 4.5 6Z' fill='%23800080'/></svg>");
}

.article .field--name-field-tags .field--item a[href="/tegy/zamky-i-palacy"]::before,
.article-big .field--name-field-tags .field--item a[href="/tegy/zamky-i-palacy"]::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><path fill-rule='evenodd' clip-rule='evenodd' d='M16 8L8 0H0V8L8 16L16 8ZM4.5 6C5.32843 6 6 5.32843 6 4.5C6 3.67157 5.32843 3 4.5 3C3.67157 3 3 3.67157 3 4.5C3 5.32843 3.67157 6 4.5 6Z' fill='%23000000'/></svg>");
}

.article .field--name-field-tags .field--item a[href="/tegy/podiyi"]::before,
.article-big .field--name-field-tags .field--item a[href="/tegy/podiyi"]::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><path fill-rule='evenodd' clip-rule='evenodd' d='M16 8L8 0H0V8L8 16L16 8ZM4.5 6C5.32843 6 6 5.32843 6 4.5C6 3.67157 5.32843 3 4.5 3C3.67157 3 3 3.67157 3 4.5C3 5.32843 3.67157 6 4.5 6Z' fill='%23aa8800'/></svg>");
}

.article .field--name-field-tags .field--item a[href="/tegy/sporudy"]::before,
.article-big .field--name-field-tags .field--item a[href="/tegy/sporudy"]::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><path fill-rule='evenodd' clip-rule='evenodd' d='M16 8L8 0H0V8L8 16L16 8ZM4.5 6C5.32843 6 6 5.32843 6 4.5C6 3.67157 5.32843 3 4.5 3C3.67157 3 3 3.67157 3 4.5C3 5.32843 3.67157 6 4.5 6Z' fill='%23d45500'/></svg>");
}

.article .field--name-field-tags .field--item a[href="/tegy/pechery"]::before,
.article-big .field--name-field-tags .field--item a[href="/tegy/pechery"]::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><path fill-rule='evenodd' clip-rule='evenodd' d='M16 8L8 0H0V8L8 16L16 8ZM4.5 6C5.32843 6 6 5.32843 6 4.5C6 3.67157 5.32843 3 4.5 3C3.67157 3 3 3.67157 3 4.5C3 5.32843 3.67157 6 4.5 6Z' fill='%23d40000'/></svg>");
}

.cross .field--name-field-tags .field--item a[href="/tegy/khresty"]::before, 
.cross-big .field--name-field-tags .field--item a[href="/tegy/khresty"]::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><path fill-rule='evenodd' clip-rule='evenodd' d='M16 8L8 0H0V8L8 16L16 8ZM4.5 6C5.32843 6 6 5.32843 6 4.5C6 3.67157 5.32843 3 4.5 3C3.67157 3 3 3.67157 3 4.5C3 5.32843 3.67157 6 4.5 6Z' fill='%234d4d4d'/></svg>");
}
/******************************* Footer *******************************/

.footer-wrapper {
    background: #EDB304;
}

.view-tag-menu {
    text-align: center;
}

.view-tag-menu .views-row {
    display: inline-block;
    text-align: center;
}

.view-tag-menu .views-field-field-image img {
    float: unset;
    padding: 0 !important;
    margin: 0 13px;
    box-shadow: 0 0 3px #333;
    border-radius: 50%;
    border: 3px solid #fff !important;
}

.view-tag-menu .views-field-name a {
    color: #404040;
    padding-top: 10px;
    display: block;
}

#block-trek-yellowed-block-2 p {
    text-align: justify;
    color: #404040;
}

/******************************* Node Article *******************************/

.page-node-type-article .page-header,
.page-node-type-article-big .page-header {
  font-size: 28px;
  padding: 0;
  border: none;
}

.article .field--name-field-image img, 
.article-big .field--name-field-article-big-photo-2 img {
    display: block;
    margin: 0 auto;
}

.article .field--name-field-other-image,
.article-big .field--name-field-article-big-photo-1,
.article-big .field--name-field-article-big-photo-2,
.article-big .field--name-field-article-big-photo-3, 
.article-big .field--name-field-article-big-photo-4 {
    clear: both;
    text-align: center;
}

.article .field--name-field-other-image .field--item,
.article-big .field--name-field-article-big-photo-1 .field--item,
.article-big .field--name-field-article-big-photo-2 .field--item,
.article-big .field--name-field-article-big-photo-3 .field--item,
.article-big .field--name-field-article-big-photo-4 .field--item{
    display: inline-block;
}

.article .field--name-body, 
.article-big .field--name-field-article-big-text-1,
.article-big .field--name-field-article-big-text-2,
.article-big .field--name-field-article-big-text-3,
.article-big .field--name-field-article-big-text-4 {
    text-align: justify;
    padding: 15px 0;
}

.field--name-field-other-image img,
.field--name-field-article-big-photo-1 img,
.field--name-field-article-big-photo-2 img,
.field--name-field-article-big-photo-3 img,
.field--name-field-article-big-photo-4 img,
.page-node-type-cross .field--name-field-image img {
  border-radius: 6px;
}

.field--name-field-withoutwm {
  background: #f8f9fa; /* м’який світло-сірий фон */
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem auto;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.field--name-field-withoutwm img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  border: 1px solid #ccc;
}

.field--name-field-withoutwm .image-alt {
  margin-top: 1rem;
  font-weight: 500;
  color: #333;
  line-height: 1.5;
}

/******************************* Pagination *******************************/

.pagination .active a {
    background: #EDB304;
    border-color: #EDB304;
    color: #404040;
}

.pagination li a {
    color: #404040;
    border: 1px solid #EDB304;
}

.pagination li a:hover {
    color: #404040;
    background-color: #EDB304;
    border-color: #EDB304;
}

/******************************* Comments Form *******************************/

#edit-comment-body-0-format {
  display: none;
}

#edit-submit, #edit-submit--2 {
    color: #404040!important;
    background-color: #EDB304!important;
    border-color: #EDB304!important;
}

/******************************* Comments *******************************/

#comments-published {
  border: 1px solid #e9e9e9;
  border-radius: 4px;
  margin-bottom: 10px;
}

#comments-published footer {
  margin: 0;
  border-radius: 4px 4px 0 0;
}

#comments-published .comment_wrapper {
  padding: 4px 9px;
}

#comments-published .comment-reply {
  background: #EDB304;
  padding: 0;
  margin: 10px 0 0 5px;
  border-radius: 4px;
}

#comments-published .comment-reply a {
  color: #404040;
  padding: 5px 10px;
  display: block;
}

.indented {
  margin-left: 30px;
}

/******************************* Menu Toggle *******************************/

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
}

/******************************* Slider *******************************/

.view-slider-front .slick {
    max-width: 1000px;
    margin: 0 auto;
}

ul.slick-dots {
    text-align: center;
}

ul.slick-dots li {
    display: inline-block;
    margin: 0 10px;
}

.slick-dots li button
 {
    background: #a3a3a3;
    border-radius: 7px;
    cursor: pointer;
    font-size: 0;
    height: 14px;
    margin: 0 2px 0 1px;
    overflow: hidden;
    vertical-align: middle;
    width: 14px;
    border: none;
}

.slick-dots .slick-active button {
    background: #EDB304;
}

.view-slider-front .slick__slide {
    position: relative;
    width: 100%;
}

.view-slider-front .views-field-body {
    position: absolute;
    z-index: 99;
    font-size: 1.5vw;
    color: #EDB304;
    font-family: 'Caveat', cursive;
    width: 100%;
    bottom: 0;
    text-align: center;
    background: #333;
    opacity: 0.9;
}

.field--name-user-picture {
  float: left;
  margin-right: 15px;
}

.field--name-field-user-body {
  font-size: 18px;
}

pre {
    display: block;
    padding: 13.5px;
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.6;
    color: #333;
    word-break: normal;
    word-wrap: break-word;
    background-color: #fcfcfc;
    border-left: 7px solid #EDB304;
    border-radius: 7px;
    font-size: 14px;
}

/******************************* Cross *******************************/

.view-taxonomy-term-custom img {
    margin: 0 auto;
    border-radius: 50%;
}

.view-taxonomy-term-custom .views-field-field-locality {
    text-align: center;
}

.cross_photo_container {
    text-align: center;
    font-size: 0px;
}

.cross_photo_container img {
    padding: 2px;
}

.cross_photo_container .field, .cross_photo_container .field--item {
    display: inline-block;
}

.cross_photo_container .field--name-field-other-image {
    display: contents;
}

.view-cross-map .views-field-field-locality,
.view-cross-map .views-field-field-coordinates,
.view-index-map .views-field-field-locality,
.view-index-map .views-field-field-coordinates{
    font-size: 11px;
}

.map_marker1 {
  background: url('/sites/default/files/icons/stream.svg') no-repeat center center;
  background-size: contain;
  width: 20px;
  height: 30px;
}

.map_marker16 {
  background: url('/sites/default/files/icons/other.svg') no-repeat center center;
  background-size: contain;
  width: 20px;
  height: 30px;
}

.map_marker14 {
  background: url('/sites/default/files/icons/mountain.svg') no-repeat center center;
  background-size: contain;
  width: 20px;
  height: 30px;
}

.map_marker2 {
  background: url('/sites/default/files/icons/castle.svg') no-repeat center center;
  background-size: contain;
  width: 20px;
  height: 30px;
}

.map_marker20 {
  background: url('/sites/default/files/icons/event.svg') no-repeat center center;
  background-size: contain;
  width: 20px;
  height: 30px;
}

.map_marker3 {
  background: url('/sites/default/files/icons/church.svg') no-repeat center center;
  background-size: contain;
  width: 20px;
  height: 30px;
}

.map_marker12 {
  background: url('/sites/default/files/icons/sea.svg') no-repeat center center;
  background-size: contain;
  width: 20px;
  height: 30px;
}

.map_marker18 {
  background: url('/sites/default/files/icons/museum.svg') no-repeat center center;
  background-size: contain;
  width: 20px;
  height: 30px;
}

.map_marker10 {
  background: url('/sites/default/files/icons/cave.svg') no-repeat center center;
  background-size: contain;
  width: 20px;
  height: 30px;
}

.cross_marker {
  background: url('/sites/default/files/icons/cross.svg') no-repeat center center;
  background-size: contain;
  width: 20px;
  height: 30px;
}