: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;
}


/******************
 * 
 * FORM POWERMAIL
 * 
 *****************/

.tx-powermail .btn, .tx-powermail .btn:hover {
    color: var(--color3);
    background-color: var(--color1);
    border-color: var(--color1);
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}


.powermail_fieldwrap_type_submit {
 	margin-top: 35px;
	text-align: center;   
}

.powermail_fieldwrap_type_captcha img {
    margin: 20px;
    float: right;
}

.parsley-errors-list {
    list-style: none;
}

.parsley-errors-list li 
{
    color: #721c24;
    background-color: #f8d7da;
    border: 2px solid #f5c6cb;
    font-size: 15px;
    padding: 10px;
    font-weight: bold;
}



/******************
 * 
 * VIDEO GALLERY
 * 
 *****************/
.videogallery {
    text-align: center;
    position: relative;
}

[id*=html5gallery-elem-video] + a {
 	display:none !important; 
    opacity: 0 !important; 
}

[class*=html5gallery-title-text] {
    color: #fff !important;
    overflow: hidden !important;
	text-overflow: ellipsis;
    background: var(--color1);
    padding: 10px !important;
    white-space: nowrap !important;
}

.tx-jt-gallery,.html5gallery  {
    width: 870px !important;
    margin: 0 auto;
}

.tx-jt-gallery [data-skin=vertical] {
    border: 2px solid var(--color1);
    padding: 10px 20px;
    margin: 0 auto;
    width: auto;
    display: table;
}

.tx-jt-gallery [data-skin=vertical] [class*=html5gallery-container] {
    background: transparent !important;
    background-color: transparent !important;
    width: 100%; !important;
}

.tx-jt-gallery [data-skin=vertical] [class*=html5gallery-car], .tx-jt-gallery [data-skin=vertical] > [class*=html5gallery-thumbs] > [class*=html5gallery-tn] {
    width: 300px !important;
}

.tx-jt-gallery [data-skin=vertical] [class*=html5gallery-car-mask] {
    padding-right: 20px;
}

.tx-jt-gallery [data-skin=vertical] [class*=html5gallery-car-slider] {
    width: 14px !important;
    left: unset;
	right: 0px;
}

.tx-jt-gallery [data-skin=vertical] [class*=html5gallery-car-slider] {
    z-index: 15;
}

.tx-jt-gallery [data-skin=vertical] [class*=html5gallery-car-slider-bar] {
    z-index: 10;
}

.tx-jt-gallery [data-skin=vertical] [class*=html5gallery-tn] {
	border: unset !important;
	background: unset !important;
    height: 100px;
    width: 100%;
    position: relative;
}

.tx-jt-gallery [data-skin=vertical] [class*=html5gallery-tn-img] div:first-child {
	width: 120px !important;
	height: 90px !important;
}


.tx-jt-gallery [data-skin=vertical] [class*=html5gallery-tn-image] {
 	width: 100% !important;
	height: 100% !important;
}

.tx-jt-gallery [data-skin=vertical] [class*=html5gallery-tn-img-play] {
    border-top: 2px solid var(--color1) !important;
}

.tx-jt-gallery [data-skin=vertical] [class*=html5gallery-tn-title] {
    position: absolute;
    color: var(--color1);
    top: 0;
    right: 0;
    text-align: right;
    width: 50%;
    line-height: 20px;
    font-size: 16px;
    font-weight: bold;
    font-style: italic;
    padding-top: 3px;
}

.tx-jt-gallery [data-skin=vertical] [class*=html5gallery-car-slider-bar-top] {
    background: var(--color1);
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
   	margin-right: -3px;
}

.tx-jt-gallery [data-skin=vertical] [class*=html5gallery-car-slider-bar-middle] {
    background: var(--color1);
}

.tx-jt-gallery [data-skin=vertical] [class*=html5gallery-car-slider-bar-bottom] {
    background: var(--color1);
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
	margin-right: -3px;
}

.tx-jt-gallery [data-skin=vertical] [class*=html5gallery-car-list] > [class*=html5gallery-car-slider] {
    background: #fff;
    width: 12px !important;
    border:2px solid var(--color1);
    border-radius: 10px;
}

.tx-jt-gallery [data-skin=vertical] [class*=html5gallery-car-list] {
    height: 100%;
}



/******************
 * 
 * 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;
}