@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&subset=cyrillic');

body {
	font-family: 'Roboto', sans-serif;
	background-color: #F0F0F0;
	margin: 0;
	padding: 0;
	color: #600;
}

#genDiv {
	
	width: 100%;
	/*min-width: 550px;*/
	max-width: 1000px;
	margin: 0 auto;
	padding: 0;
	-moz-box-shadow: 0px 0px 5px 2px #444;
	-webkit-box-shadow: 0px 0px 5px 2px #444;
	box-shadow: 0px 0px 5px 2px #444;
}

#top4ik {
	/*display: block;*/
	background-color: #900;
	/*background-size: contain;*/
	line-height: 2.5em;
	/*height: 2.5em;*/
	padding: 0 0.5em;
	text-shadow: 1px 1px #300;
}

#top4ik a {
	text-decoration: none;
	cursor: pointer;
}

#top4ik #name {
	color: #FFF;
	font-weight: 700;
	float: left;
}

#top4ik #sslk {
	float: right;
	color: #FFF;
}

#top4ik #sslk a {
	color: #FFF;
	border-bottom: 1px dashed #FFF;
}

#top4ik #sslk a:hover {
	color: #F96;
	border-bottom: 1px dashed #F96;
}

#kartink {
	background-color: #900;
	/*background-image: url(../img/msk_c.jpg);*/
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;	
	/*text-align: center;
	color: #FFF;
	text-shadow: 1px 1px #300;
	font-size: 2em;
	padding: 10%;*/
	height: 350px;
}

#kartink .carousel-cell {
	width: 100%; /* full width */
	height: 350px; /* height of carousel 
  margin-right: 10px;
  background-color: #FFF;*/
	background-position: bottom center;
	background-repeat: no-repeat;
	background-size: cover;	
}

/* position dots in carousel */
#kartink .flickity-page-dots {
  bottom: 0.25em;
}
/* white circles */
#kartink .flickity-page-dots .dot {
  width: 12px;
  height: 12px;
  opacity: .5;
  background: transparent;
  border: 2px solid white;
}
/* fill-in selected dot */
#kartink .flickity-page-dots .dot.is-selected {
  background: white;
}

#kartink .flickity-button {
	background: transparent;
	opacity: .5;
}

#kartink .flickity-button-icon {
  fill: white;
}

nav {
	top: 0;
	left: 0;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 700;
	text-shadow: 1px 1px #300;
	margin-top: -16px;
}

nav .genul {
	background-color: #C00;
	/*position:relative;*/
	float: left;
	list-style: none;
	line-height: 3.5em;
	width: 100%;
	padding: 0;
	margin-left: 0; /*for IE*/
	margin-bottom: 0;
}

nav .genul li {
	float: left;
}

nav .genul li a, nav .genul li .insteada{
	display: block;
	padding: 0 0.5em;
	margin: 0;
	color: #FFF;
	font-size: 1em;
	text-decoration: none;
	cursor: pointer;
}

nav .genul ul {
	text-align: left;
	line-height: normal;
	background-color: #C00;
	list-style: none;
	padding: 0;
	display: none;
	position: absolute; /*inherit для адапт*/
	/*top: 100%; хз зачем*/
	/*box-shadow: -3px 3px 10px -2px rgba(0,0,0,.1);*/
	border: 1px solid #900;
	z-index: 100;
	margin-left: 0; /*for IE*/
	text-transform: none;
	font-size: 1em;
	font-weight: 400;
	
}

nav .genul ul li {
/*	display: inline; */
	float: none;
	position: relative;
}

nav .genul ul li a{
	padding-right: 100%;
}

nav .genul ul li a, nav .genul ul li .insteada {
	padding: 10px 10px;
}

nav .genul .ligen:hover > .insteada, nav .genul a:hover {
	background-color: #900;
	/*color: #F96;*/
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}

#bartd {
	background-color: #C00;
	padding: 0;
	margin: 0;
	text-align: right;
	display: none;
	color: #FFF;
}

#bartd i {
	/*float: right;*/
	padding: 0.2em 0.125em 0.2em 1em;
	cursor: pointer;
}

#content/*, #novosti, #extra*/ {
	background-color: #FFF;
	padding: 0.5em;
	width: 1000px;
}

#content h1, #content h2 {
	border-bottom: 1px solid #039;
/*	padding-bottom: 0.5em;*/
	margin: 0;
	padding: 0;
	color: #039;
}

article {
	text-align: justify;
	width: 65%;
	float: left;
}

aside {
	width: 34%;
	float: right;
}

aside div {
	margin-bottom: 1em;
}

#superknopki {
	background-color: #C00;
	padding-bottom: 2em;
}

#superknopki a {
	color: #039;
	font-size: .75em;
	text-decoration: underline;
}

#superknopki a:hover {
	color: #C00;
	text-decoration: none;
}
/*
#superknopki .fiiiire {
	width: 20%;
	margin: 0 2.5%;
	color: #FFF;
	float: left;
	text-align: center;
	padding: 1.5em 0;
	font-size: 1.5em;
}

#superknopki .fiiiire i {
	padding-bottom: 0.25em;
	text-shadow: 1px 1px #000;
}
*/

#superknopki .carousel-cell {
	width: 250px; /*full width */
	height: 50px; /* height of carousel */
 	margin-right: 30px;
 	background-color: #FFF;
	/*background-position: bottom center;
	background-repeat: no-repeat;
	background-size: cover;	*/
	border-radius: 1em;
	padding: .75em;
	color: #039;
	font-weight: 700;
}

/* position dots in carousel */
#superknopki .flickity-page-dots {
  bottom: -1.5em;
}
/* white circles */
#superknopki .flickity-page-dots .dot {
  height: 4px;
  width: 40px;
  margin: 0;
  border-radius: 0;
}
/* fill-in selected dot */
#superknopki .flickity-page-dots .dot.is-selected {
  background: white;
}

#superknopki .flickity-button {
	background: transparent;
	opacity: .5;
}

#superknopki .flickity-button-icon {
  fill: white;
}


#footer {
	background-color: #900;
	color: #FFF;
	text-align: center;
	text-shadow: 1px 1px #300;
}

#footer .col {
	width: 33.3333333333%;
	float: left;
	padding: 2em 0;
}

#footer a {
	color: #FFF;
	text-decoration: none;
	border-bottom: 1px dashed #FFF;
}

#footer a:hover {
	/*text-decoration: none;*/
	color: #F96;
	border-bottom: 1px dashed #F96;
}
/*
@media (max-width: 1100px) {
	
	nav .genul #opt {
		display: none;
	}
	
}
*/
@media (max-width: 900px) /*(orientation: portrait)*/ {
	
	#top4ik {
		line-height: 1em;
		padding-top: 0.3em;
	}
	
	#top4ik #name {
		display: none;
		
	}
	
	#top4ik #sslk {
		float: none;
		text-align: center;
		padding-top: 0.2em;
		padding-bottom: 0.5em;
	}
	
	#kartink .carousel-cell {
		width: 100%;
		height: 350px;
		background-position: bottom center;
		background-repeat: no-repeat;
		background-size: cover;	
	}
	
	#mentd {
		display: none;
		z-index: 10;
	}
	
	nav {
		text-align: center;
	}
	
	nav .genul {
		line-height: 1em;
	}
	
	nav .genul #opt {
		display: block;
	}
	
	nav .genul ul {
		position: inherit;
	}
	
	nav .genul li {
		float: none;
	}
	
	nav .genul li a, nav .genul li .insteada {
		padding: 1em 0;
	}
	
	#bartd {
		display: block;
	}
	
	nav .genul ul {
		font-size: 1em;
	}
	
	#bartd #name {
		font-weight: 700;
		padding-top: 0.5em;
		padding-left: 0.35em;
		font-size: 1.2em;
		float: left;
		text-shadow: 1px 1px #300;
	}
	
	#content {
		width: 100vw;
	}

	#content, article, aside div{
		margin-bottom: 2em;
	}

	#content h1 {
		font-size: 1.75em;
	}
	
	article, aside {
		text-align: left;
		width: 100%;
		float: none;
	}
	
	#superknopki .fiiiire {
		width: 100%;
		float: none;
		margin: 0;
		padding: 1.5em 0;
	}
	
	#footer .col {
		width: 100%;
		float: none;
	}
	
}