/* dk_caroufredsel global styles */
.caroufredsel_skin .image_container img, .caroufredsel_thumbnails_skin .image_container img {
	vertical-align: bottom;
}
.caroufredsel > div, .caroufredsel > section, .caroufredsel_thumbnails > div {
	float: left;
}
.caroufredsel .clearfix {
	float: none;
	clear: both;
}
.caroufredsel_thumbnails_skin {
	position: relative;
}
@media screen {

/* ****** reset ******************************************************** */
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, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display: block;
}
:focus {
	outline: 0;
}
body {
	line-height: 1;
	color: #111;
	background: #222;
  font: 16px/26px verdana, arial, sans-serif;
}
ol, ul {
	list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}






/* ****** structure ******************************************************** */
html {
	height: 100%;
	overflow-y: scroll;
}
#wrapper {
	max-width: 1800px;
	min-height: 100vh;
	margin: 0 auto;
	overflow: hidden;
	background: #fff;
	padding-bottom: 50px;
}
#header {
	z-index: 99;
	position: relative;
}
#main {
	float: left;
	position: relative;
  width: 100%;
}
#main .ce_text img,
#main .ce_image img,
#main .mod_newslist img,
#main .mod_newsreader img {
	max-width: 100%;
	height: auto;
}
#main .inside .ce_image.first,
#main .inside .ce_caroufredsel_gallery.first {
	z-index: 0;
	margin-top: -38px;
  padding: 0;
}
.logo {
	display: block;
	margin: 0 auto;
	z-index: 2;
	/*height: 19px;*/
}
#footer {
	/*padding-top: 60px;*/
}
#footer-spacer {
	background: #ae1221;
	width: 100%;
	clear: both;
	overflow: hidden;
	margin-bottom: 50px;
	box-shadow: 0 5px 10px 0 #aaa;	
}
#footer-spacer .inside {
	margin-top: 30px;
	border-top: 1px solid #fff;
	background: #e00d1a;
	height: 20px;
}





/* **** panels ****************************************************************** */
.ce_image,
.ce_headline,
.ce_gallery,
.ce_text,
.panel .inside  {
	width: 960px;
	margin: 0 auto;
}
.full {
	width: 100%;
	clear: both;
	overflow: auto;
}
.panel {
	width: 100%;
	clear: both;
	overflow: hidden;
  float: left;
	/*margin-bottom: 40px;*/
	background: #eee;
}

.boxes {
	clear: both;
	margin-bottom: 40px !important;
}

.boxes.even .boximage {
	width: 60%;
	float: left;
	background: #fff;
}
.boxes.even .boxtext {
	width: 36%;
	float: right;
	background: #fff;
	padding: 20px;
}

.boxes.odd .boximage {
	width: 60%;
	float: right;
	background: #fff;
}
.boxes.odd .boxtext {
	width: 36%;
	float: left;
	background: #fff;
	padding: 20px;	
}







/* ****** navigation ******************************************************** */
#header .contacts {
	background: #ae1221;
	border-bottom: 1px solid #fff;
}
#header .contacts p {
	margin: 0 auto;
	display: block;
	width: 960px;
	margin-bottom: 0;
	padding: 3px 0 5px 0;
	font-size: 14px;	
	color: #bbb;
	text-align: right;
}
#header .contacts a {
	color: #bbb;
	text-decoration: none;
}
#header .contacts a:hover {
	color: #fff;
	text-decoration: none;
}
#header nav {
	width: 100%;
	min-width: 960px;
	max-width: 1800px;
	margin: 0 auto;
}
#header nav {
	background: rgba(100,100,100,0.7);
  border-bottom: 1px solid #fff;
  border-top: 15px solid #e00d1a;
  transition: background 0.3s ease;
}
.is-sticky #header nav {
	background: #808080;
	transition: background 0.3s ease;
	z-index: 99;
}
#header nav ul {
	margin: 0 !important;
	text-align: center;
}
#header nav li {
	list-style: none !important;
	display: inline;
  font: 14px/23px verdana, arial, sans-serif;
}
#header nav a,
#header nav span {
	display: inline-block;
	text-transform: uppercase;
	text-decoration: none;
	padding: 6px 16px 8px 16px;
	color: #fff;
}
#header nav a:hover,
#header nav a.trail,
#header nav span {
	color: #fff;
}
#header nav span,
#header nav a.trail {
  font-weight: 600;
}
#header nav a:focus {
	outline: 0;
}
#nav {
	display: none;
}






/* ****** common tags ****************************************************** */
p {
	margin-bottom: 20px;
	font: 16px/26px verdana, arial, sans-serif;
}
h1 {
  margin-top: 40px;
	margin-bottom: 15px;
  padding-bottom: 15px;
	font: 38px/42px verdana, arial, sans-serif;
	clear: both;
	color: #ae1020;
}
h2 {
  margin-top: 80px;
	margin-bottom: 20px;
	font: 28px/38px verdana, arial, sans-serif;
  color: #ae1020;
	
}
/*
.panel h2,
.panel p {
	color: #fff;
}*/
h3 {
  margin-bottom: 10px;
	font: 21px/30px verdana, arial, sans-serif;
  color: #ae1020;
}
h4 {
	margin-top: 40px;
	color: #ae1020;
	font: 16px/26px verdana, arial, sans-serif;
}
h4 + h1 {
	margin-top: 10px;
}
ul,
ol,
li {
	font: 16px/26px verdana, arial, sans-serif;
}
abbr {
	border-bottom: 1px dotted #555;
	cursor: help;
}
a {
	text-decoration: underline;
	color: inherit;
}
#main a:focus {
	outline: 1px dotted;
}
a[href $='.pdf'] {
	padding: 0 0 1px 20px;
	background: url(../../files/megaro/gfx/icons/pdf.gif) no-repeat 0 50%;
}
a:focus,
a:hover,
a:active {
	color: inherit;
	text-decoration: underline;
}
img {
	border: 0;
	background: 0;
	padding: 0;
	display: block;
}
strong {
	font-weight: 600;
}
em {
	font-style: italic;
}
sup,
sub {
	height: 0;
	line-height: 1;
	vertical-align: baseline;
	_vertical-align: bottom;
	position: relative;
	font-size: 0.7em;
}
sup {
	bottom: 1ex;
}
sub {
	top: 0.5ex;
}
#main ul {
	margin: 0 0 20px 16px;
  list-style-type: disc;
}
#main ul li {
	padding-left: 0;
}
#main ol {
	margin: 0 0 20px 35px;
	list-style-type: decimal;
}
#main ol li {
}
.block {
	overflow: visible;
}
#container:after,
.custom:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}







/* ****** common styles **************************************************** */
#print,
.print,
.hide,
.invisible {
	display: none !important;
}
.nowrap {
	white-space: nowrap;
}
.error {
	color: #AF3636;
}
.req,
.mandatory {
	color: #74A8CF;
}
.low {
	color: #aaa;
}
.break,
.clear {
	clear: both;
}
.highlight {
	background: gold;
}
.float_left {
	padding: 0 30px 30px 0;
	float: left;
}
.float_right {
	padding: 0 0 30px 30px;
  float: right;
}
.alignleft {
	width: 47%;
	float: left;
}
.alignright {
	width: 47%;
	float: right;
}
.thirdleft {
	width: 35%;
	float: left;
}
.thirdright {
	width: 55%;
	float: right;
}
.badge {
	position: absolute;
	display: block;
	width: 90%;
	z-index: 10;
	margin-top: -45%;
}
.badge img {
	float: left;
	height: auto;
	margin-left: 10%;
	max-width: 26% !important;
}
.intro p {
  font: 18px/28px verdana, arial, sans-serif;
}
body:not(.index) #main .ce_text h2:first-of-type {
	margin-top: 10px;
}
.cta {
	background: #e00d1a !important;
	background-image: none !important;
	border: 1px solid #ae1221;
	padding: 4px 16px 6px 16px !important;
	display: inline-block;
	text-decoration: none;
	margin-top: 10px;
	color: #fff;
}
.cta:hover {
	text-decoration: none;
	background: #ae1221 !important;
	color: #fff;
}






/* ****** gallery **************************************************** */
#main .ce_gallery {
	clear: both;
	margin-bottom: 60px;
	padding: 0;
	overflow: auto;
}
#main .ce_gallery ul {
	list-style: none;
	margin-left: 0 !important;
	display: grid;
	grid-gap: 50px;
}
#main .ce_gallery ul.cols_4 {
	grid-template-columns: repeat(4, 1fr);
}
#main .ce_gallery img {
	display: block;
	width: 100%;
	height: auto;
}
#main .ce_gallery li {
	list-style: none;
	display: block;
	width: 100% !important;
}
#main .ce_gallery .caption {
	font-size: 12px;
	line-height: 1.45em;
	padding-top: 10px;
	
}

@media(max-width:768px) {
#main .ce_gallery ul {
	grid-gap: 15px;
}
#main .ce_gallery ul.cols_4 {
	grid-template-columns: repeat(2, 1fr);
}
#main .ce_gallery img {
	display: block;
	width: auto !important;
	/*max-width: none !important;*/
	height: auto;
}
}






/* ****** caroufredsel **************************************************** */
.ce_caroufredsel_gallery,
.ce_caroufredsel_start {
	position: relative;
	overflow: auto;
	overflow-x: hidden;
}
.ce_caroufredsel_gallery img {
	/*width: 100%;*/
	max-width: 100%;
	height: auto;
}
.caroufredsel_prev {
	position: absolute;
	background: url("../../files/megaro/gfx/prev_white.png") no-repeat 10% 50%;
	left: 0;
	top: 0;
	height: 100%;
	width: 165px;
	outline: 0 !important;
  transition: all 0.3s ease;
}
.caroufredsel_prev:hover {
	background: url("../../files/megaro/gfx/prev_white.png") no-repeat 5% 50%;
	transition: all 0.3s ease;
}
.caroufredsel_next {
	position: absolute;
	background: url("../../files/megaro/gfx/next_white.png") no-repeat 90% 50%;
	right: 0;
	top: 0;
	height: 100%;
	width: 165px;
	outline: 0 !important;
  transition: all 0.3s ease;
}
.caroufredsel_next:hover {
	background: url("../../files/megaro/gfx/next_white.png") no-repeat 95% 50%;
	transition: all 0.3s ease;
}
.caroufredsel_prev span,
.caroufredsel_next span {
	display: none;
}
.ce_caroufredsel_gallery .caption {
	display: none;
}
.panel-caroufredsel {
	margin-bottom: 0;
}






/* ****** scrollup **************************************************** */
#scrollUp {
	position: absolute;
	bottom: 20px;
	right: 20px;
	border: none;
	width: 40px;
	height: 40px;
	background: #ae1020 url(../../files/megaro/gfx/arrow.svg) no-repeat;
	display: block;
	background-size: 40px 40px;
	border-radius: 120px;
}






/* ****** additions for modern browsers ************************************ */
::-moz-selection {
	background: #444;
	color: #fff;
}
::selection {
	background: #444;
	color: #fff;
}











} /* end screen */






/* ****** mobile ******************************************************* */
@media(max-width:960px) {
#wrapper {
	width: 960px;
}
}



@media(max-width:768px) {
body {
	-webkit-text-size-adjust: 100%;
}
#wrapper,
#header,
#container,
#footer,
.ce_image,
.ce_headline,
.ce_gallery,
.ce_text,
.panel .inside {
	width: 100%;
	/*margin: 0 auto;*/
	float: none;
	display: block;
}
#header .contacts p,
#header .contacts a {
	color: transparent;
	padding: 10px 0;
}
#header .contacts a {
	display: none;
}
.ce_image,
.ce_headline,
.ce_gallery,
.ce_text,
.panel .inside {
	padding: 0 7%;
}
.ce_gallery {
	padding: 0 7% !important;
}
.full,
.ce_text .ce_text {
	padding: 0;
}
.logo {
	height: 0;
}
#main img,
#footer img {
	___width: 100%;
	max-width: 100%;
	height: auto;
}
.float_left {
	float: none;
}
.float_right {
	padding: 0 0 30px 0;
  float: none;
}
.alignleft,
.thirdleft,
.alignright,
.thirdright {
	width: 100%;
	float: none;
}
#header nav {
	display: none;
}
#main .inside .ce_image.first {
	z-index: 0;
	margin-top: 0;
  padding: 0;
  width: 100% !important;
  min-width: 0;
}
.badge img {
  max-width: 40% !important;
}
#nav {
	width: 100%;
  border-bottom: 1px solid #fff;
  display: block;
}
#footer ul a,
#footer ul span {
  padding: 10px 0 12px 7%;
	font-size: 16px;
	border-top: 1px solid #fff;
	background: #888;
  width: 100%;
	display: block;
	text-decoration: none;
	color: #fff;
}
#footer ul ul a,
#footer ul ul span {
  padding-left: 12%;
}
#footer ul span,
#footer ul a.trail,
#footer ul a:hover {
	color: #111;
	background: #ccc;
}
#mobile_menu {
  display: block;
  float: right;
	position: absolute;
	top: 0;
	right: 0;
}
#mobile_menu a {
	border: 0;
	background: 0 !important;
	padding: 7px 30px 30px 30px;
	display: block;
}
#mobile_menu a:before {
  background: url(../../files/megaro/gfx/icons/mobile-menu.svg) 0 center no-repeat;
  padding-left: 1.6em;
  text-align: center;
  height: 12px;
  width: 24px;
	content: '';
}
h1 {
	font: 24px/32px verdana, arial, sans-serif;
}
h2 {
		font: 22px/30px verdana, arial, sans-serif;
}
p,
h4,
li {
	font: 14px/22px verdana, arial, sans-serif;
}
.boxes.odd .boximage,
.boxes.even .boximage {
	width: 100%;
	float: none;
	background: #fff;
	margin-bottom: -20px;
}
.boxes.odd .boxtext,
.boxes.even .boxtext {
	width: 100%;
	float: none;
	background: #fff;
	padding: 40px 20px 20px 20px;	
}




}






/* ****** print ******************************************************* */
@media print {
nav {
	display: none;
}
#main {
	width: 100%;
}
#main,
p {
	font: 12px/18px verdana, arial, sans-serif;
}
h1 {
	font: 18px/18px verdana, arial, sans-serif;
	margin-bottom: 20px;
}
h2 {
	font: 14px/18px verdana, arial, sans-serif;
}
h3 {
	font: 12px/18px verdana, arial, sans-serif;
}
h4 {
	font: 12px/18px verdana, arial, sans-serif;
}
} /* end print */
