body[toplayer]{
  overflow-y: hidden;
}

aside.layer{
  display: none;
  z-index: 100;
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  bottom: 0px;
  box-sizing: border-box;
  overflow-y: scroll;
}
aside.layer > div{
  position: relative;
  padding: 0px 8px;
  min-height: 100%;
  box-sizing: border-box;
  background-color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease 0s;
}
aside.layer.visible > div{
  opacity: 1;
  transition: opacity 0.5s ease 0.0s;
}
aside.layer > div > div.lcont{
  position: relative;
  padding: 51px 0px 34px 0px;
  font-size: 15px;
  line-height: 120%;
}
aside.layer > div > div.lcont strong{

}
aside.layer > div > div.lcont > header{
  padding: 13px 8px;
}
aside.layer > div > div.lcont > header > h4{
  padding: 0 0 13px 0;
  font-size: 28px;
  text-transform: uppercase;
  font-weight: 400;
  white-space: nowrap;
  color: #ba7917;
  text-shadow: 0 0 13px #fffed6;
}
aside.layer a.bttclose{
  z-index: 200;
  display: block;
  position: absolute;
  right: 0px;
  top: 0px;
  width: 34px;
  height: 34px;
  line-height: 34px;
  font-size: 34px;
  text-align: center;
  color: #009c5b;
  cursor: pointer;
  opacity: 0;
  background-color: rgba(255,255,255,0.5);
  transition: opacity 0.2s ease 0.0s;
}
aside.layer a.bttclose:before{
  font-family: jaffa;
  content: "X";
}
aside.layer a.bttclose:hover{
	color: #007942;
}
aside.layer.visible a.bttclose{
  opacity: 1;
  transition: opacity 0.5s ease 0.0s;
}
aside.layer a.bttclose{
	display: none;
}

body[toplayer="lydoceniamy"] a#bttclose-lydoceniamy,
body[toplayer="lyslowa"] a#bttclose-lyslowa,
body[toplayer="lykartki"] a#bttclose-lykartki,
body[toplayer="lykartkap"] a#bttclose-lykartkap{
	display: block;
}

aside#lyslowa.layer{
	overflow: hidden;
}
aside#lyslowa.layer > div{
	/*position: relative;*/
}
aside#lyslowa.layer > div > div.lcont{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	bottom: 0px;
}

aside#lyslowa.layer > div > div.lcont > header > h5{
	font-weight: 500;
}
aside#lyslowa.layer  > div > div.lcont > div.wrapper{
	position: absolute;
	left: 8px;
	top: 125px;
	right: 34px;
	bottom: 21px;
}
aside#lyslowa.layer div.cslav-scroll-container{
	top: 27px;
}
aside#lyslowa.layer div.cslav-scroll-container > div.cslav-scroll-wrapper{
	width: 100%;
	left: 0px;
}
aside#lyslowa.layer div.cslav-scroll-container > div.cslav-scroll-scrollbar {
  right: -29px;
}
aside#lyslowa.layer div.cslav-scroll-container > div.cslav-scroll-scrollbar:before {
  background-color: #ccc;
  border-color: #fff;
  border-width: 1px;
}
aside#lyslowa.layer div.cslav-scroll-container > div.cslav-scroll-scrollbar > span {
  width: 6px;
  height: 89px;
  background-color: #00995d;
  border-width: 0px;
  border-radius: 3px;
  box-shadow: 0 0 0px 2px #fff;
}
aside#lyslowa.layer div.cslav-scroll-container > div.cslav-scroll-scrollbar > span:hover{
  background-color: #007942;
  box-shadow: 0 0 0px 2px #fff;
}
aside#lyslowa.layer div.cslav-scroll-container > div.cslav-scroll-scrollbar > span.ondrag{
  background-color: #007942;
  box-shadow: 0 0 0px 2px #fff;
}


aside#lyslowa.layer table{
	table-layout: fixed;
	width: 100%;
	border-collapse: collapse;
}
aside#lyslowa.layer table th,
aside#lyslowa.layer table td{
	padding: 8px 0;
}
aside#lyslowa.layer table td{
	vertical-align: initial;
	border-bottom: 1px solid #e6e6e6;
}
aside#lyslowa.layer table th:nth-child(1){
	width: 1%;
}
aside#lyslowa.layer table td:nth-child(1){
	padding-left: 0%;
	padding-right: 5%;
	width: 35%;
}
aside#lyslowa.layer table td:nth-child(1) > a{
	display: inline-block;
	text-align: center;
	width: 100%;
	height: 21px;
	line-height: 25px;
	font-size: 16px;
	font-family: 'BNPPSansCondensed', sans-serif;
	font-weight: 500;
	cursor: pointer;
	color: #01965f;
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 2px 2px 2px 0px #0000004d;
}
aside#lyslowa.layer table td:nth-child(1) > a:hover{
	color: #007942;
	box-shadow: 2px 2px 2px 1px #0000004d;
}
aside#lyslowa.layer table td:nth-child(1) > a:active{
	color: #007942;
	box-shadow: 1px 1px 2px 1px #0000004d;
}
aside#lyslowa.layer table th:nth-child(2){
	width: 1%;
}
aside#lyslowa.layer table td:nth-child(2){
  /*font-size: 18px;*/
	font-weight: 500;
	text-align: left;
	color: #4dc7ea;
}
aside#lyslowa.layer table th:nth-child(3),
aside#lyslowa.layer table td:nth-child(3){
	width: 30%;
}
aside#lyslowa.layer table th:nth-child(3){
	font-weight: 400;
	text-align: right;
}
aside#lyslowa.layer table td:nth-child(3){
	text-align: right;
}

aside#lyslowa.layer table.list tr{
	background-color: #fff;
	/*transition: background-color 0.1s ease-out 0.0s;*/
}
aside#lyslowa.layer table.list tr td:nth-child(2),
aside#lyslowa.layer table.list tr td:nth-child(3){
	transition: color 0.2s ease-in 0s;
}
aside#lyslowa.layer table.list tr:hover td:nth-child(3){
	color: #4dc7ea;
	transition: color 0.1s ease-out 0s;
}
aside#lyslowa.layer table.list tr.voted{
	/*background-color: #90dabb;*/
	transition: background-color 0.1s ease-out 0s;
}
aside#lyslowa.layer table.list tr.voted td:nth-child(2){
	color: #01965f;
	transition: color 0.1s ease-out 0s;
}
aside#lyslowa.layer table.list tr.voted td:nth-child(3),
aside#lyslowa.layer table.list tr.voted:hover td:nth-child(3){
	color: #01965f;
	transition: color 0.1s ease-out 0s;
}



aside#lydoceniamy.layer > div{
	position: relative;
	background-color: #000;
}
aside#lydoceniamy.layer > div > div.lcont{
	position: absolute;
	padding: 0px;
	left: 0%;
	top: 55px;
	width: 100%;
	height: calc(100% - 55px);
}
div#ytplayerwrapper{
	position: relative;
	box-sizing: border-box;
  padding: 8px;
	left: 50%;
	top: 50%;
	width: 100%;
	transform: translate(-50%, -50%);
}
div#ytplayerwrapper > img{
	z-index: 0;
	position: relative;
	display: block;
	width: 100%;
	vertical-align: top;
}
div#ytplayerwrapper > iframe{
	position: absolute;
	left: 0%;
	top: 0%;
	width: 100%;
	height: 100%;
	border-style: none;
	background-color: transparent;
}

@media (orientation: landscape) {
	div#ytplayerwrapper{
		padding: 0;
	}
}





@media only screen and (min-width: 360px){
	aside#lyslowa.layer table td:nth-child(2){
	  font-size: 18px;
	}
}



@media only screen and (min-width: 380px){
	aside#lyslowa.layer > div > div.lcont > div.wrapper{
		left: 13px;
		right: 55px;
	}
	aside#lyslowa.layer div.cslav-scroll-container > div.cslav-scroll-scrollbar {
	  right: -37px;
	}
}



@media only screen and (min-width: 420px){
	aside#lyslowa.layer > div > div.lcont > div.wrapper{
		top: 110px;
	}
	aside#lyslowa.layer table td:nth-child(1) {
		padding-left: 8px;
		padding-right: 5%;
	  width: 35%;
	}
}


@media only screen and (min-width: 460px){
	aside.layer > div > div.lcont > header {
	  padding: 13px 21px;
	  max-width: 420px;
  	margin: auto;
	}
	aside#lyslowa.layer > div > div.lcont > div.wrapper {
	  left: 21px;
	  right: 55px;
	}
	aside#lyslowa.layer table td:nth-child(1) {
		padding-left: 13px;
		padding-right: 21px;
	}
}


@media only screen and (min-width: 520px){
	
}



@media only screen and (min-width: 568px){
	
}




@media only screen and (min-width: 640px){
	aside#lyslowa.layer table td:nth-child(1) {
		padding-left: 34px;
		padding-right: 34px;
	}
	aside#lyslowa.layer table td:nth-child(2) {
	  font-size: 19px;
	}
	aside#lyslowa.layer table th:nth-child(3), aside#lyslowa.layer table td:nth-child(3) {
	  padding-right: 34px;
	}
}



@media only screen and (min-width: 720px){
	aside#lyslowa.layer table td:nth-child(1) {
		padding-left: 34px;
		padding-right: 55px;
	}
	aside#lyslowa.layer table td:nth-child(2) {
	  font-size: 20px;
	}
}



@media only screen and (min-width: 800px){

	body[toplayer="lydoceniamy"] a#bttclose-lydoceniamy,
	body[toplayer="lyslowa"] a#bttclose-lyslowa,
	body[toplayer="lykartki"] a#bttclose-lykartki,
	body[toplayer="lykartkap"] a#bttclose-lykartkap{
		display: none;
	}
	

	body[toplayer]{
  	overflow-y: hidden;
	}
	aside.layer{
		z-index: 500;
		background-color: rgba(0,0,0,0.3);
	}
	aside.layer a.bttclose{
		display: block;
		top: 13px;
  	right: 21px;
	}
	aside.layer > div{
		padding: 0;
		position: absolute;
		left: 50%;
		top: 50%;
		width: calc(100% - 42px);
		height: calc(100% - 42px);
		max-width: 1136px;
		max-height: 639px;
		transform: translate(-50%, -50%);
		min-height: auto;
		box-shadow: 0 0 13px 0px rgba(0, 0, 0, 0.27);
	}

	aside#lyslowa.layer > div > div.lcont{
		padding: 21px 34px;
		box-sizing: border-box;
	}	
	aside.layer > div > div.lcont > header{
		padding: 0 89px 0 0;
	  max-width: none;
	  margin: auto;
		text-align: left;
	}
	aside#lyslowa.layer > div > div.lcont > header > h5{
		font-size: 19px;
		line-height: 120%;
	}
	aside#lyslowa.layer > div > div.lcont > div.wrapper {
	  left: 34px;
	  top: 80px;
	  right: 89px;
	  bottom: 34px;
	}
	aside#lyslowa.layer div.cslav-scroll-container > div.cslav-scroll-scrollbar {
	  right: -61px;
	}
	aside#lyslowa.layer table td:nth-child(1) {
	  padding-left: 55px;
	  padding-right: 55px;
	}
	
	aside#lydoceniamy.layer > div {
	  position: absolute;
	  max-height: calc(100vw * 0.51);
	}
	aside#lydoceniamy.layer > div > div.lcont {
	  position: absolute;
	  padding: 0px;
	  left: 0%;
	  top: 0;
	  width: 100%;
	  height: 100%;
	  background-color: #000;
	}
	aside#lydoceniamy.layer a.bttclose{
		position: fixed;
	  right: 13px;
	  top: -8px;
	  background-color: rgba(0,0,0,0.5);
	}



}



@media only screen and (min-width: 860px){
	
	aside#lyslowa.layer > div > div.lcont{
		padding: 21px 55px;
	}
	aside#lyslowa.layer > div > div.lcont > header {
  	/*padding: 0 89px 0 0;*/
	}
	aside#lyslowa.layer > div > div.lcont > div.wrapper {
	  left: 55px;
	}
	aside#lyslowa.layer table th:nth-child(3), aside#lyslowa.layer table td:nth-child(3) {
	  padding-right: 55px;
	}

}


@media only screen and (min-width: 960px){
	aside.layer a.bttclose {
	  top: 21px;
	  right: 39px;
	}
	aside#lyslowa.layer > div > div.lcont{
		padding: 21px 55px 21px 89px;
	}
	aside#lyslowa.layer > div > div.lcont > div.wrapper {
	  left: 89px;
	  right: 144px;
	}
	aside#lyslowa.layer div.cslav-scroll-container > div.cslav-scroll-scrollbar {
	  right: -100px;
	}
	aside#lyslowa.layer table td:nth-child(1) {
	  padding-left: 55px;
	  padding-right: 55px;
	  width: 170px;
	}
	aside#lyslowa.layer table th:nth-child(3), aside#lyslowa.layer table td:nth-child(3) {
	  padding-right: 89px;
	}
}



@media only screen and (min-width: 1024px){
	
	aside.layer > div {
	  width: calc(100% - 68px);
	  height: calc(100% - 68px);
	  
	}
	aside#lyslowa.layer > div > div.lcont {
	  padding: 34px 55px 21px 89px;
	}
	aside.layer a.bttclose {
	  top: 34px;
	  right: 34px;
	}
	aside#lyslowa.layer > div > div.lcont > header {
		margin: 0;
  	max-width: 750px;
	}
	aside#lyslowa.layer > div > div.lcont > div.wrapper {
	  left: 89px;
	  top: 89px;
	  bottom: 55px;
	  right: 144px;
	}
	aside#lyslowa.layer table td:nth-child(1) > a {
	  height: 34px;
	  line-height: 36px;
	  font-size: 21px;
	  border-radius: 17px;
	}
	aside#lyslowa.layer table td:nth-child(2) {
	  font-size: 23px;
	}
	aside#lyslowa.layer div.cslav-scroll-container > div.cslav-scroll-scrollbar {
	  right: -104px;
	}
	
	aside#lydoceniamy.layer a.bttclose {
	  position: absolute;
	  right: 13px;
	  top: 5px;
	  background-color: #00000080;
	}

}



@media only screen and (min-width: 1136px){
	
}



@media only screen and (min-width: 1280px){
	aside#lydoceniamy.layer > div {
		max-height: 700px;
	}
	aside#lydoceniamy.layer a.bttclose {
	  position: absolute;
	  right: 13px;
	  top: 13px;
	  background-color: #00000080;
	}
}



@media only screen and (min-width: 1336px){
	div#ytplayerwrapper {
	  padding: 0 34px;
	}
}



@media only screen and (min-width: 1440px){

}

