:root {
  --color1: #336699;
  --color2: #000;
  --color3: #fff;
}

::-moz-selection{background:var(--color1);color:var(--color2);text-shadow:none}::selection{background:var(--color1);color:var(--color2);text-shadow:none}

/******************
 * 
 * SYSTEM TYPO3 (Підправка CSS Typo3 під шаблона)
 * 
 *****************/

div.ce-textpic, div.ce-textpic div.ce-textpic-imagerow, ul.ce-uploads li {
    overflow: visible;
}

div.ce-textpic img, div.ce-textpic div.ce-textpic-imagerow img, ul.ce-uploads li img, .news-list-img img {
    margin-top: 3px;
}

UL.ce-uploads SPAN.ce-uploads-fileName {
	text-decoration: none;
}


/******************
 * 
 * HEADER
 * 
 *****************/

.ce-header h3 {
    
}

.ce-header {
    margin-top:50px;
}

.row div:first-child .se-header {
    margin-top:0px;
}


/******************
 * 
 * TABLES
 * 
 *****************/

.contenttable
    {
		width: 100%;
		color: var(--color2);
		border-spacing: 0;
		border: 1px solid var(--color2);
		-moz-border-radius: 6px;
		-webkit-border-radius: 6px;
		border-radius: 6px; 
		text-align: center;
    }


.contenttable .tr-0:first-child, .contenttable .tr-0:last-child {
    -moz-border-radius: 6px 0 0 0;
    -webkit-border-radius: 6px 0 0 0;
    border-radius: 6px 0 0 0;
}
    
    
.contenttable td {
	border: 1px solid var(--color2);
	padding: 5px;
	text-align: center;    
}


.contenttable tr:nth-child(even) {
    background: #EEEEE0;        
}

.contenttable td:first-child {
    border-left: none;
}

.contenttable tr:first-child td {
    border-top: none;
}
				
.contenttable tr:first-child, .contenttable tr.tr-head{
	background: var(--color1);
	font-weight:bold;
	font-size: 14px;
	padding: 5px;
	text-align: center;
}

.contenttable tr:hover {
	background: #C6E2FF;
    -o-transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}   

.contenttable td[rowspan], .contenttable td[rowspan]:hover {
    background: #fff;
}

.contenttable tr:first-child:hover, .contenttable tr.tr-head:hover, .contenttable tr:first-child td[rowspan] {
	background: var(--color1);
} 


/******************
 * 
 * UPLOADS
 * 
 *****************/

ul.ce-uploads li {margin: 1em 11px;list-style: outside none none;margin-left: 40px;padding: 7px 20px;position: relative;background: #eee;}

ul.ce-uploads span {display: block;line-height: 1.5;}

ul.ce-uploads span.ce-uploads-fileName {font-size: 15px;margin-right: 15px; color:#333333;}

ul.ce-uploads span.ce-uploads-description {font-style: italic;word-wrap: break-word;}

span.ce-uploads-fileName::before{font-family: "Font Awesome 5 Free";content: "\f56d";font-size: 32px;width: 53px;height: 48px;background: var(--color1);border-radius: 3px;color: #e5e5e5;text-align: center;line-height: 46px;position: absolute;left: -40px;top: 50%;margin-top: -24px;font-weight: 900;}

ul.ce-uploads span.ce-uploads-fileName {text-decoration: none;}

.ce-uploads-fileName a{color: #333333 !important;}

ul.ce-uploads a {color:#333333; font-size: 18px; font-weight: bold;}

.ce-uploads-description {border-top: 1px solid #333333;font-style: italic;color:#333333;}


/******************
 * 
 * FILE LIST
 * 
 *****************/

.tx-filelist td {margin: 1em 11px;list-style: outside none none;margin-left: 40px;padding: 7px 20px;position: relative;background: #eee;}

.tx-filelist td .media-heading a {color:#333333; font-size: 18px; font-weight: bold;}

.tx-filelist td .file_list_description {border-top: 1px solid #333333;font-style: italic;color:#333333; line-height: 1.5; font-size: 15px;}

.tx-filelist td .file_list_info {
    background-color: #333;
    color: #fff;
    padding: 10px 15px;
    display: block;
    float: right;
    margin: 0px 10px;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: bold;
}


/******************
 * 
 * LISTS
 * 
 *****************/

.ce-bullets li::before{
    font-family: FontAwesome;
    content: "\f0da";
    color: var(--color2);
    float: left;
    font-size: 16px;
    margin: 0 15px 0 0;
}

.ce-bullets li{
    margin-top: 5px;
    list-style: none;
}

.ce-bullets {
    margin: 20px 0 20px 20px;
} 


/******************
 * 
 * SAVE TO FILE
 * 
 *****************/

.kmr-save-to-file-icon {
    float: right;
    position: relative;
    margin-top: 30px;
}

.kmr-save-to-file-icon i {
	margin-right: 20px;  
    font-size: 40px;
}



/******************
 * 
 * NEWS
 * 
 *****************/

.news-list-table {
	margin: 0;
	width: 100%;
}

.news-header-list-time {
	font: 11px Verdana, sans-serif;
}

.news-header-list-title {
	font: 18px Verdana, sans-serif;
	text-shadow: 1px 1px 2px rgba(150, 150, 150, 1);
}

.news-amenu-container {
    width: 100%;
    margin-left: 0px;
}

.news-amenu-container li {
	font-size: 14px;
	padding-left: 0px;
}

.news-search-emptyMsg {
	padding-top: 20px;
}

.news-single-imgcaption {
	font-style:italic;
}

.news-amenu-container LI:hover {
    background: none;
}

.addthis_inline_share_toolbox {
 	text-align:center;   
}


.news-single-img {
float: none;
margin: 0px;
padding: 0px;
width: 100%;
margin-bottom: 10px;
text-align: center;
display: inline-block;
}

.news-single-img .news-single-img-item {
padding-left: 20px;
overflow: hidden;
margin: 0px;
display: inline-table;
padding-bottom: 20px;
vertical-align: top;
}

.news-single-img img {
    vertical-align: baseline;
}

.news-single-imgcaption {
    padding: 0px;
}



/******************
 * 
 * NEWS MENU
 * 
 *****************/

.header-list-item {
    padding: 20px 0;
    margin: 0px;
    padding-top: 0px;
    margin-bottom: 20px;
    list-style: none;
}

.header-list-media-left {
    width: 87px;
    height: 100%;
    float: left;
    margin-right: 10px;
}

.header-list-media-body div {
    margin: 0px;
    background-color: var(--color1);
    color: rgb(255, 255, 255);
    font-weight: 700;
    padding: 2px;
}

.header-list-media-body {
    display: table-cell;
    vertical-align: top;
    font-size: 11px;
    text-align: justify;
    font-weight: 600;
}

.header-list-item img {
	height: auto;
	max-width: 100%;
}

.news-amenu-container a {
    text-transform: capitalize;
}

.news-amenu-container a span{
    text-transform: lowercase;
    float:right;
}


/******************
 * 
 * NEWS BROWSE
 * 
 *****************/

.news-list-browse{
    font-size: 14px;
    float: left;
	width: 100%;
}

.news-list-browse .showResultsWrap{
    margin-bottom: 25px;
    border-top: 2px solid var(--color2);
}

.news-list-browse a, .news-list-browse span{
    padding: 8px 15px 8px 15px;
    margin: 0 2px 2px 0;
    border: 2px solid var(--color2);
    border-radius: 4px;
    color: var(--color2);
}

.news-list-browse a:hover, .news-list-browse span:hover {
    background: var(--color1) none repeat scroll 0% 0%;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    color:#fff;
}

.news-list-browse .activeLinkWrap {
    background: var(--color1) none repeat scroll 0% 0%;
    color:#fff;
}

.news-list-browse .disabledLinkWrap {
    border: 2px solid grey;
    color: grey;
}


/******************
 * 
 * PAGE SEARCH
 * 
 *****************/

.tx-indexedsearch-redMarkup {
    color: var(--color1);
}

.tx-indexedsearch-res .tx-indexedsearch-info {
    background: var(--color1);
    padding: 10px;
    color: #fff;
}

.tx-indexedsearch-res .tx-indexedsearch-info a {
    color: #fff;
}

p.tx-indexedsearch-descr {
    text-align: justify;
}

.tx-indexedsearch-percent {
    float: right;
}

.tx-indexedsearch-info dt {
    float: left;
}


/******************
 * 
 * PAGE SEARCH BROWSE
 * 
 *****************/

.tx-indexedsearch-browsebox li {
    list-style-type: none;
    display: inline-table;
    margin-right: 5px;
}

.tx-indexedsearch-browsebox li a{
    padding: 8px 15px 8px 15px;
    margin: 0 2px 2px 0;
    border: 2px solid var(--color1);
    border-radius: 4px;
    color: var(--color2);
}

.tx-indexedsearch-browsebox li a:hover {
    background: #8dc63f none repeat scroll 0% 0%;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    color:#fff;
}

.tx-indexedsearch-browsebox li.tx-indexedsearch-browselist-currentPage strong a {
    background: var(--color1) none repeat scroll 0% 0%;
    color:#fff;
}

.tx-indexedsearch-browsebox {
    margin: 20px 0;
    padding: 0;
}


/******************
 * 
 * FOTOGALLARY
 * 
 *****************/
 
 .fs-media-gallery {
     width: 100%;
 }
 
.fs-media-gallery .galleria img {
    margin-bottom: 5px;
}

.galleria-container, .fs-media-gallery, .galleria-thumbnails {
 	margin: 0 auto;  
    text-align: center;
}

.galleria-thumbnails-list {
    display: table;
    max-width: 1000px !important;
    margin: 0 auto;
}

.fs-media-gallery .pagination {
    margin: 50px auto 0 auto;  
    text-align: center;
    display: table;
}

.fs-media-gallery .pagination li {
    display: inline;
}

/******************
 * 
 * GUEST
 * 
 *****************/

.guest_item {
    margin-bottom: 30px;
    border: 2px solid var(--color1);
    padding: 10px;
    border-radius: 10px;
}

.guest_item_header {
    background-color: var(--color1);
    padding: 10px;
    margin-bottom: 20px;
    -moz-border-radius-topleft: 5px;
    -webkit-border-top-left-radius: 5px;
     border-top-left-radius: 5px;
    -moz-border-radius-topright: 5px;
    -webkit-border-top-right-radius: 5px;
    border-top-right-radius: 5px;
}

.guest_item_header:after {
    background-color: var(--color1);
    content: '';
    width: 20px;
    height: 20px;
    display: block;
    position: absolute;
    left: 10%;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}

.guest_item_date {
    text-align: right;
    font-style: italic;
    color: #fff;
}

.guest_item_author {
    background-color: #fff;
    padding: 0 10px;
    display: table;
    margin-top: -10px;
    margin-bottom: 10px;
}

.guest_item_body {
    padding: 10px;
}

.guest_item_answer {
    background-color: var(--color1);
    border-radius: 5px;
    padding: 10px;
    color: #fff;
}




/******************
 * 
 * GUEST FORM
 * 
 *****************/
.tx-mmc-guestbook {
    border: 2px solid var(--color1);
    background-color: #f4f4f4;
    padding: 10px;
    border-radius: 10px;
}

.tx-mmc-guestbooklabel {
    display: block;
}

.tx-mmc-guestbook textarea, .tx-mmc-guestbook input[type=text] {
    border: 2px solid #eee;
    width:100%;
    padding:10px;
    margin-bottom:20px !important;
}

.tx-mmc-guestbook input[type="submit"] {
    width: 100%;
	padding: 19px 0 18px;
    color: #ffffff;
    background: var(--color1);
    font-size: 18px;
    font-weight: 700;
    display: inline-block;
    text-transform: uppercase;
    transition: all 500ms ease;
    line-height: 14px;
    border-radius: 2px;
    position: relative;
    border: none;
    cursor: pointer;
}

.tx-mmc-guestbook textarea {
    height: 200px;
}

.tx-mmc-guestbook input[type="submit"]:hover {
    background: var(--color1);
    transition: all 500ms ease;
}

.tx-mmc-guestbook hr {
    background-color: var(--color1);
    height: 2px;
}

.tx-mmc-guestbook .guest_form_header {
    margin-top: 0px;
    background-color: var(--color1);
    color:#fff;
    -moz-border-radius-topleft: 5px;
    -webkit-border-top-left-radius: 5px;
    border-top-left-radius: 5px;
    -moz-border-radius-topright: 5px;
    -webkit-border-top-right-radius: 5px;
    border-top-right-radius: 5px;
}

.tx-mmc-guestbook .guest_form_header h2 {
    color:#fff;
}




/******************
 * 
 * GUEST BROWSE
 * 
 *****************/
.tx-mmc-guestbook .pager {
    padding: 10px;
    margin: 0;
    text-align: center;
}

.tx-mmc-guestbook .pager ul{
    padding: 0;
}

.tx-mmc-guestbook .pager ul li{
    padding: 8px 15px 8px 15px;
    margin: 0 2px 2px 0;
    border: 2px solid var(--color1);
    border-radius: 4px;
    color: #000;
    list-style: none;
    min-width: 44px;
    display: inline-table;
}

.tx-mmc-guestbook .pager li.act, .tx-mmc-guestbook .pager li:hover {
    background: #000 none repeat scroll 0% 0%;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    color:#fff;
}

.tx-mmc-guestbook .pager li.tx-indexedsearch-browselist-currentPage strong a {
    background: var(--color1) none repeat scroll 0% 0%;
    color:#fff;
}

.tx-mmc-guestbook .pager {
    margin: 20px 0;
}




/******************
 * 
 * EVENTS
 * 
 *****************/
.tx-gbevents-pi1 tr {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    align-items: stretch;
}

.tx-gbevents-pi1 table {
    border-right: 1px solid var(--color1) !important;
    border-bottom: 1px solid var(--color1) !important;
}

.tx-gbevents-pi1 td, .tx-gbevents-pi1 th {
    border-right: unset !important;
    border-bottom: unset !important;
    border-left: 1px solid var(--color1) !important;
    border-top: 1px solid var(--color1) !important;
    width: 14.28%;
}

.tx-gbevents-pi1 td {
    min-height: 150px;
}

.tx-gbevents-pi1 th {
    background: var(--color1);
    color: var(--color3);
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    padding: 10px 0;
}

.tx-gbevents-pi1 .date {
    background: #CCC;
    color: var(--color3);
    padding: 5px 0;
    width: 22px;
    height: 22px;
    display: block;
    font-weight: bold;
    text-align: center;
    position: relative;
    margin-top: -6px;
    margin-left: -6px;
}

.tx-gbevents-pi1 .month .date {
    background: var(--color1);
}

.tx-gbevents-pi1 tbody td {
    opacity: 0.6;
}

.tx-gbevents-pi1 tbody td.month {
    opacity: 1;
}

.tx-gbevents-pi1 td ul {
    margin: 5px 0;
}

.tx-gbevents-pi1 td ul li {
    background-color: #CCC;
    padding: 5px;
    display: block;
}

.tx-gbevents-pi1 td.month ul li {
    background-color: var(--color1);
}

.tx-gbevents-pi1 .btnNextPrev {
    display: block;
    text-align:right;
    margin-bottom:15px;
}

.tx-gbevents-pi1 .btnNextPrev .btn {
    margin-left:15px;
}

/******************
 * 
 * VIDEO GALLERY
 * 
 *****************/
.youtubevideo {
    position: relative;
    font-size: 21px;
}

.youtubevideo>.videoWrapper {
    overflow: hidden;
    position: relative;
    height: 0;
}

.youtubevideo>.videoWrapper>.coverimage {
    cursor: pointer;
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1
}

.youtubevideo>.videoWrapper>.coverimage.play {
    display: none
}

.youtubevideo>.videoWrapper>iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0
}

.youtubevideo-gdpr-overlay {
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.93);
    color: #000;
    font-size: 1rem;
    line-height: 1.3em;
    text-align: center;
    font-weight: bold;
    padding: 2rem;
    width: 100%;
    height: 100%;
    display: none;
}

.youtubevideo-gdpr-text {
    position: absolute;
    width: 100%;
    left: 50%;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
    padding: 1em;
    max-width: 500px;
}

.youtubevideo-gdpr-note {
    max-width: 80%;
    margin: auto;
    margin-bottom: 1em;
}

.youtubevideo-gdpr-button {
    text-transform: uppercase;
    border: 1px solid black;
    line-height: 1em;
    padding: 0.5em 1em;
    display: inline-block;
    font-size: 0.75em;
    margin-right: 0.3em;
    margin-bottom: 0.3em;
    color: #000;
    transition: all .3s;
    background: #fff;
}

.youtubevideo-gdpr-button:hover {
    background: #000;
    color: #fff;
    text-decoration: none;
}

.youtubevideo-gdpr-cancel {
    padding: 0.5em;
    position: absolute;
    top: 0;
    right: 0;
    font-size: 2em;
    font-weight: normal;
    color: #000;
    display: block;
}

.youtubevideo-gdpr-cancel:hover {
    text-decoration: none;
}

.small .youtubevideo-gdpr-overlay {
    font-size: 0.8em;
}

.tiny .youtubevideo-gdpr-overlay {
    font-size: 0.65em;
}

.youtubevideo>.videoWrapper>.coverimage>.covertext {
    position: absolute;
    text-align: left;
    box-sizing: border-box;
    font-size: 0.8em;
    line-height: 1.5em;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 0.8rem 1.2rem;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    bottom: 1.5rem;
}

.youtubevideo.small>.videoWrapper>.coverimage>.covertext {
    margin-left: 0;
    margin-right: 0;
    bottom: 0;
    width: 100%;
    padding: 0.5rem 0.9rem;
}

.youtubevideo.tiny>.videoWrapper>.coverimage>.covertext {
    padding: 0.3rem 0.5rem;
}

.youtubevideo>.videoWrapper>.coverimage>.covertext h2 {
    margin: 0;
    padding: 0;
    font-size: 1.5em;
}

.youtubevideo>.videoWrapper>.coverimage>.covertext h2,
.youtubevideo>.videoWrapper>.coverimage>.covertext p {
    display: inline-block;
    color: #fff;
    margin-bottom: 0;
}

.youtubevideo.small>.videoWrapper>.coverimage>.covertext h2 {
    font-size: 1em;
}

.youtubevideo.tiny>.videoWrapper>.coverimage>.covertext h2 {
    font-size: 0.9em;
    font-weight: normal;
}

.youtubevideo.small>.videoWrapper>.coverimage>.covertext p {
    display: none;
}

.youtubevideo>.videoWrapper>.coverimage-click {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 10;
    top: 0;
    left: 0;
}

.youtubevideo>.videoWrapper>.coverimage-click:hover {
    cursor: pointer;
}

.youtubevideo>.videoWrapper>.coverimage-click.play {
    display: none;
}

.youtubevideo>.videoWrapper>.coverimage-click.play+.coverimage {
    display: none;
}

/* play button colors */
.youtubevideo .playbutton {
    position: absolute;
    width: 15%;
    height: auto;
    min-width: 40px;
    max-width: 80px;
    top: 50%;
    right: 50%;
    transform: translateY(-50%) translateX(50%);
    transition: all 0.3s ease-in-out;
}

.youtubevideo:hover .playbutton .ytp-large-play-button-bg {
    fill: #f00;
    transition: all .3s;
}

/* if .youtubevideo width is under set px, breakpoint is set */
.youtubevideogallery>.item, .youtubevideogallery>.space {
    float: left;
}

/* column layouts */
.youtubevideogallery.colcount-0 .space,
.youtubevideogallery.colcount-3 .space:nth-child(3n),
.youtubevideogallery.colcount-2 .space:nth-child(4n),
.youtubevideogallery.colcount-4 .space:nth-child(8n),
.youtubevideogallery.colcount-5 .space:nth-child(10n),
.youtubevideogallery.colcount-6 .space:nth-child(12n),
.youtubevideogallery.colcount-7 .space:nth-child(14n),
.youtubevideogallery.colcount-8 .space:nth-child(16n) {
    float: none;
    clear: both;
}

@media (prefers-color-scheme: dark) {
    .youtubevideo-gdpr-overlay {
        background: rgba(0, 0, 0, 0.93);
        color: #fff;
    }

    .youtubevideo-gdpr-button {
        color: #fff;
        background: #000;
        border-color: #fff;
    }

    .youtubevideo-gdpr-button:hover {
        background: #fff;
        color: #000;
        text-decoration: none;
    }

    .youtubevideo-gdpr-cancel {
        color: #fff;
    }
}


/******************
 * 
 * FORMA FEEDBACK
 * 
 *****************/
 
.contact-form label {
     display:none;
 }
 
.contact-form .form-group {
    margin-top: 19px;
}

.contact-form .btn-group, .contact-form .next.submit {
    width: 100%;
}

.contact-form .btn {
    width: 100%;
    border-radius: 5px;
    text-align: center;
    color: #fff;
    background: var(--color1);
    border: 0px;
    height: 60px;
    line-height: 35px;
    text-transform: uppercase;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

.contact-form .btn:hover {
    background: var(--color1);
    color: #fff;
}

.contact-form div#feedBack-156 {
    font-weight: bold;
    background-color: var(--color1);
    color: #fff;
    padding: 10px 20px;
}