*{
    margin:0;
    padding:0;
}

  .rightpic {
    float: right; /* Выравнивание по правому краю */
    height:100%;
	size: 100%;
   }
   
   

   
   
   
   
   
section {
    line-height:100%;
	font-size: 100%;
	font-family: arial, helvetica, sans-serif;
	float: top;
	position: relative;
	padding: 5px;
	margin: 15px 0 0 0;
	background-color: #dddedf;
	background-image: -webkit-gradient(
		linear, 
		0 90%,
		0 100%, from(rgba(255,255,255, .5)), to(#d1d1d1)
	);
	background-image: -moz-linear-gradient(
		top, 
		rgba(250,250,250,.4), 
		rgba(255,255,255,.0)
	);
	
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.15);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.15);
	box-shadow: 0 1px 2px rgba(0,0,0,.15);
}
section.twothirds { width: 100%; }
section.onethird { width: 100%; float: top; }

section ul {
	list-style: none;
	background: #fff;
	background: rgba(255,255,255,.9);
}

li {
	padding: 10px 0;
}

.slidewrap {
	border: 1px solid #deddde;
	overflow: hidden !important;
	position: relative;
	width: 100%;
}

.copy, h2 {
	padding: 0 10px;
}

.col-2 {
	-moz-column-count: 2;
	-moz-column-gap: 20px;
	-webkit-column-count: 2;
	-webkit-column-gap: 20px;
	column-count: 2;
	column-gap: 20px;
}

.col-3 {
	-moz-column-count: 3;
	-moz-column-gap: 10px;
	-webkit-column-count: 3;
	-webkit-column-gap: 10px;
	column-count: 3;
	column-gap: 10px;
}

.prev,
.next { 
	display: block;
	text-indent: -9999px;
}

.prev { 
	background-image: url(../img/icon_left.gif);
	background-position: center center;
	background-repeat: no-repeat; 
}
.next {
	background-image: url(../img/icon_right.gif);
	background-position: center center;
	background-repeat: no-repeat;
}

.first { position: relative; width: 100%; padding: 5px 0; }
.first .slidewrap { width: 92.6%; margin: 0 auto; }

.first .prev,
.first .next {
	float: top;
	position: absolute;
	top: 50%;
	margin: -50px 0 0 0;
	width: 3.5%;
	height: 100px;
	display: block;
}
.first .prev { left: 0; background-position: 60% 50%; }
.first .next { right: 0; background-position: 40% 50%; }

.second .nextprev { padding: 8px 0 4px 0; clear: both; float: left; width: 100%; }
.second .nextprev li { display: inline; }

.second .prev,
.second .next {
	display: block;
	width: 100%;
}
.second .prev { float: left; }
.second .next { float: right; }

.third .nextprev {
	position: absolute;
	left: -30px;
	top: 0px;
	background-color: #dddedf;
	background-image: -webkit-gradient(
		linear, 
		0 90%,
		0 100%, from(#dddedf), to(#d1d1d1)
	);
	background-image: -moz-linear-gradient(
		top, 
		rgba(250,250,250,.4), 
		rgba(255,255,255,.0)
	);
	-webkit-border-top-left-radius: 3px;
	-webkit-border-bottom-left-radius: 3px;
	-moz-border-radius-topleft: 3px;
	-moz-border-radius-bottomleft: 3px;
	border-radius: 3px 0 0 3px;
	-webkit-box-shadow: -1px 0 2px rgba(0,0,0,.15);
	-moz-box-shadow: -1px 0 2px rgba(0,0,0,.15);
	box-shadow: -1px 0 2px rgba(0,0,0,.15);
}
.third .next,
.third .prev {
	display: block;
	height: 25px;
	width: 25px;
	margin-left: 5px;
}

.third .next { border-bottom: 1px solid #d1d1d1; }
.third .prev { border-top: 1px solid #ededed; background-position: 7px center; }


@import url('normalize.css');
@import url('demo.css');

/* GLOBALS */

*,
*:after,
*:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

.switch {
  margin: 50px auto;
  position: relative;
}

.switch label {
  width: 100%;
  height: 100%;
  position: relative;
  display: block;
}

.switch input {
  top: 0; 
  right: 0; 
  bottom: 0; 
  left: 0;
  opacity: 0;
  z-index: 100;
  position: absolute;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

/* DEMO 3 */

.switch.demo3 {
  width: 270px;
  height: 50px;
}

.switch.demo3 label {
  display: block;
  width: 100%;
  height: 100%;
  background: #a5a39d;
  border-radius: 40px;
  box-shadow:
      inset 0 3px 8px 1px rgba(0,0,0,0.2),
      0 1px 0 rgba(255,255,255,0.5);
}

.switch.demo3 label:after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -8px; right: -8px; bottom: -8px; left: -8px;
  border-radius: inherit;
  background: #ababab;
  background: -moz-linear-gradient(#f2f2f2, #ababab);
  background: -ms-linear-gradient(#f2f2f2, #ababab);
  background: -o-linear-gradient(#f2f2f2, #ababab);
  background: -webkit-gradient(linear, 0 0, 0 100%, from(#f2f2f2), to(#ababab));
  background: -webkit-linear-gradient(#f2f2f2, #ababab);
  background: linear-gradient(#f2f2f2, #ababab);
  box-shadow: 0 0 10px rgba(0,0,0,0.3),
        0 1px 1px rgba(0,0,0,0.25);
}

.switch.demo3 label:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -18px; right: -18px; bottom: -18px; left: -18px;
  border-radius: inherit;
  background: #eee;
  background: -moz-linear-gradient(#e5e7e6, #eee);
  background: -ms-linear-gradient(#e5e7e6, #eee);
  background: -o-linear-gradient(#e5e7e6, #eee);
  background: -webkit-gradient(linear, 0 0, 0 100%, from(#e5e7e6), to(#eee));
  background: -webkit-linear-gradient(#e5e7e6, #eee);
  background: linear-gradient(#e5e7e6, #eee);
  box-shadow:
      0 1px 0 rgba(255,255,255,0.5);
  -webkit-filter: blur(1px);
  -moz-filter: blur(1px);
  -ms-filter: blur(1px);
  -o-filter: blur(1px);
  filter: blur(1px);
}

.switch.demo3 label i {
  display: block;
  height: 100%;
  width: 42%;
  border-radius: inherit;
  background: silver;
  position: absolute;
  z-index: 2;
  right: 60%;
  top: 0;
  background: #b2ac9e;
  background: -moz-linear-gradient(#f7f2f6, #b2ac9e);
  background: -ms-linear-gradient(#f7f2f6, #b2ac9e);
  background: -o-linear-gradient(#f7f2f6, #b2ac9e);
  background: -webkit-gradient(linear, 0 0, 0 100%, from(#f7f2f6), to(#b2ac9e));
  background: -webkit-linear-gradient(#f7f2f6, #b2ac9e);
  background: linear-gradient(#f7f2f6, #b2ac9e);
  box-shadow:
      inset 0 1px 0 white,
      0 0 8px rgba(0,0,0,0.3),
      0 5px 5px rgba(0,0,0,0.2);
}

.switch.demo3 label i:after {
  content: "";
  position: absolute;
  left: 15%;
  top: 25%;
  width: 70%;
  height: 50%;
  background: #d2cbc3;
  background: -moz-linear-gradient(#cbc7bc, #d2cbc3);
  background: -ms-linear-gradient(#cbc7bc, #d2cbc3);
  background: -o-linear-gradient(#cbc7bc, #d2cbc3);
  background: -webkit-gradient(linear, 0 0, 0 100%, from(#cbc7bc), to(#d2cbc3));
  background: -webkit-linear-gradient(#cbc7bc, #d2cbc3);
  background: linear-gradient(#cbc7bc, #d2cbc3);
  border-radius: inherit;
}

.switch.demo3 label i:before {
  content: "Скрыть";
  text-transform: uppercase;
  font-style: normal;
  font-weight: bold;
  color: rgba(0,0,0,0.4);
  text-shadow: 0 1px 0 #bcb8ae, 0 -1px 0 #97958e;
  font-family: Calibri;
  font-size: 24px;
  position: absolute;
  top: 48%;
  margin-top: -12px;
  right: -100%;
}

.switch.demo3 input:checked ~ label {
  background: #9abb82;
}

.switch.demo3 input:checked ~ label i {
  right: -1%;
}

.switch.demo3 input:checked ~ label i:before {
  content: "Читать";
  top:48%;
  right: 130%;
  color: #82a06a;
  text-shadow: 
    0 1px 0 #afcb9b,
    0 -1px 0 #6b8659;
}

