﻿html {
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-family: Tahoma, Helvetica, sans-serif;
    color: #2D302C;
    height: 100%;
}

body {
    margin: 0;
    height: 100%;
    overflow-x: hidden;
    background: #f2f2f2;
}

#form1 { /* height: 100%; */}

a {
    border: 0;
    text-decoration: none;
}

img:not(.cover) {
    border-width: 0px;
    max-width: 100%;
   /* height: auto; */
}

Table {
    border-style: none;
    border-collapse: collapse;
}

h1 {text-align: center; font-size: 26px;}

h2 {text-align: center; font-size: 18px;}

.shadow {
    color: #c5c9c7;
    text-align: center;
}

.A {
    text-decoration: none;
    color: #276fc8;
    line-height: 18px;
}

    .A:hover {
        color: #000;
    }


header {
    position: sticky;
    top: 0px;
    z-index: 10;
    
}

.main-header {
    display: flex;
    justify-content: space-around;
    position: relative;
    transition: all 300ms;
    background-color: rgba(0,0,0,.8);
    box-shadow: 0 1px 2px rgba(0,0,0,.15);
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.danger-alert {
    display: none;
    color: #a82a2a;
}

.img-left{float:left;}
.img-right {
    float: right;
    margin: -20px 0 0 0;
}

.img-mrnu {
    height: 50px;
    width: auto;
    padding: 1px 10px;
    border-radius: 10px;
}



.content {
    max-width: 800px;
    margin: 0 auto;

}

.vid-thumb-bg {
    background-color: #000819;
    /* background-image: url('/img/photograph-bg.jpg'); */
    background-image: url('/img/bg_3.jpg'); 
    background-position: center center;
    background-size: cover;
    width: 100%;
    height: calc(100vh + 20px);
    position: relative;
    top: -70px;
    display: flex;
    align-items: flex-end;
}

.scroll-down2 {
    position: relative;
    bottom: 50%;
    margin: 0 auto -195px;
    border-radius:50%;
    transition: all 1s ease;
    
}

.scroll-down2:hover{
 transform: scale(0.70);
}





.scroll-down {
    background-color: transparent;
    border: none;
    display: block;
    font-size: 0;
}

.scroll-down span:nth-of-type(1) {
    animation-delay: .3s;
}

.scroll-down span:nth-of-type(2) {
    bottom: 66px;
    animation-delay: .15s;
}

.scroll-down span:nth-of-type(3) {
    bottom: 82px;
    animation-delay: 0s;
}

.scroll-down span {
    position: absolute;
    bottom: 50px;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-animation: tf15 2s infinite;
    animation: tf15 2s infinite;
    animation-delay: 0s;
    opacity: 0;
    box-sizing: border-box;
    cursor: pointer;
    z-index: 2;
}

.main-header a {
    border-radius: 10px;
}

.main-header a:hover,
.scroll-down span:hover {background: none; color: unset;}

.main-header a:active,
.scroll-down span:active {background: none; color: unset;}

.section-2 {
    min-height: 100vh;
    padding: 30px 10px;
    position: relative;
}

.section-bg {
    background-color:#152239;
    background-image: url('/img/bg_2.jpg');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;

}

.color-w { color:#EAEAEA; }


/*=====  input file ==============*/

.input__wrapper {
    width: 100%;
    position: relative;
    margin: 15px 0;
    text-align: center;
}

.input__file {
    opacity: 0;
    visibility: hidden;
    position: absolute;
}

.input__file-icon-wrapper {
    height: 60px;
    width: 60px;
    margin-right: 15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-right: 1px solid #fff;
}

.input__file-button-text {
    line-height: 1;
    margin-top: 1px;
    word-break: break-all;
}

.input__file-button {
width: 100%;
max-width: 298px;
height: 60px;
font-size: 1.125rem;
font-weight: 700;
display: flex;
align-items: center;
justify-content: flex-start;
margin: 0 auto 10px;
 
  color: rgba(255,255,255,.9);
  text-shadow: #2e7ebd 0 1px 2px;
  text-decoration: none;
  text-align: center;
  line-height: 1.1;
  white-space: pre-line;
  border: 1px solid;
  border-color: #60a3d8 #2970a9 #2970a9 #60a3d8;
  border-radius: 6px;
  outline: none;
  background: #60a3d8 linear-gradient(#89bbe2, #60a3d8 50%, #378bce);
  box-shadow: inset rgba(255,255,255,.5) 1px 1px;
}

.input__file-button:hover {
  color: rgb(255,255,255);
  background-image: linear-gradient(#9dc7e7, #74afdd 50%, #378bce);
    }

.input__file-button:active {
  color: rgb(255,255,255);
  border-color: #2970a9;
  background-image: linear-gradient(#5796c8, #6aa2ce);
  box-shadow: none;
    }

.info{color:#ccc;}

.butD {
    display: inline-block;
    width: 15em;
    font-size: 18px;
    color: rgba(255,255,255,.9);
    cursor: pointer;
    text-shadow: #2e7ebd 0 1px 2px;
    text-decoration: none;
    text-align: center;
    line-height: 1.1;
    white-space: pre-line;
    padding: .7em 0;
    border: 1px solid;
    border-color: #60a3d8 #2970a9 #2970a9 #60a3d8;
    border-radius: 6px;
    outline: none;
    background: #60a3d8 linear-gradient(#89bbe2, #60a3d8 50%, #378bce);
    box-shadow: inset rgba(255,255,255,.5) 1px 1px;
}

/*===== END input file  ==============*/

.inurl {
    height: 44px;
    width: 240px;
    font-size: 1.1rem;
}
.buturl {
    width: 50px;
    height: 50px;
    font-size: 1.125rem;
    cursor: pointer;
}

.butp {
    position: absolute;
    border-radius: 15px;
    font-size: 18px;
}

.but1{top:0; right:0;}
.but2{bottom:0; right:0;}

.butR {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 2.5em;
    line-height: 2.5em;
    vertical-align: middle;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 -1px 1px #777;
    color: #fff;
    cursor: pointer;
    outline: none;
    border: 2px solid #F64C2B;
    border-radius: 5px;
    box-shadow: 0 0 0 60px rgba(0,0,0,0) inset, .1em .1em .2em #800;
    background: linear-gradient(#FB9575, #F45A38 48%, #EA1502 52%, #F02F17);
}

.butR:active {
     top: .1em;
     left: .1em;
     box-shadow: 0 0 0 60px rgba(0,0,0,.05) inset;
}

.butY {
    display: inline-block;
    width: 15em;
    font-size: 16px;
    color: #2D302C;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    line-height: 1.1;
    white-space: pre-line;
    padding: .7em 10px;
    border: 1px solid;
    border-color: #60a3d8 #2970a9 #2970a9 #60a3d8;
    border-radius: 6px;
    outline: none;
    box-shadow: inset rgba(255,255,255,.5) 1px 1px;
}

.center {text-align: center;}

.hr-shelf {
/*    margin: -30px auto 10px;
    padding: 0;
    height: 50px;
    border: none;
    border-bottom: 1px solid #1f1209;
    box-shadow: 0 20px 20px -20px #333; */
    width: 95%;
    color: #cdcdcd;
}

.textMod2 {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 10000;
}

#body_LabelRez0 {
    font-size: 24px;
}

.layout-main {
    padding: 0 5px 10px 5px;
    background-color: #d9d9d9;
    /* background-image: url('/img/bg_txt.jpg'); */
    background-position: center center;
    background-size: cover;
    border: 3px solid #fff;
    box-shadow: 0 0px 5px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}

.layout-side {
    display: block;
    width: 150px;
    float: left;
    margin: 20px 10px 10px 0;
}



.content p {
    max-width: 700px;
    margin: 0 auto 10px;
}

.content-photo {
    clear: both;
    display: flex;
    flex-wrap: wrap;
}

.divB {
    margin: 0 10px 20px 10px;
}

.d_banner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 0 auto 50px;
    max-width: 620px;
}

.txt_banner {
    color: #fff;
    font-size: 36px;
    padding: 5px 0 0 0;
}

.img_b1 {
}

.img_wr2 {
    position: relative;
    width: 142px;
    height: 160px;
    margin: 0 0px 10px 0;
    border: 7px outset #8d8d8d;
    border-radius: 15px;
    background-color: #c5c9c7;
    /* box-shadow: 0 8px 11px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 0, 0, 0.1) inset; */
}

.img_wr3 {
    border-style: solid;
    border-width: 10px 10px 30px 10px;
    border-color: #FFFFFF;
    position: relative;
    width: 350px;
    height: 160px;
    margin: 0 0px 10px 0;
    border-radius: 2px;
    /*transform: skewX(-10deg); */
   transform: perspective(3000px) rotateX(-30deg);
    transform-origin: 0% 50%;
}

.img_wr4 {
    border-style: solid;
    border-width: 15px 10px 30px 10px;
    border-color: #FFFFFF;
    position: relative;
    width: 142px;
    height: 160px;
    margin: 0 0px 10px 0;
    border-radius: 2px;

}

.pic4 {
    margin: 0px auto;
    width: auto;
    height: 100%;
    border-radius: 0px;
}

.pic3 {
    margin: 0px 15px 0 0;
    width: auto;
    height: 100%;
    float: left;
}

.pic2 {
    margin: 0px auto;
    width: auto;
    height: 100%;
    border-radius: 9px;
}

.send_box {
    max-width: 700px;
    margin: 0 auto 10px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.send_box textarea {
    min-width: 300px; 
    height: 150px;
    resize: none; 
}

.send_box .butY { min-width: 308px; }

.grey_txt {
    color: #c1c1c1;
    text-align: right;
    font-size: 14px;
}


.main-popup-zag {
    color: #fdf69e;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
}

.main-popup-zag2 {
    color: #fdf69e;
    padding: 10px;
    text-align: center;
    font-size: 18px;
}

.main-popup-astro {
    padding: 10px; 
    margin:15px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;

}

.but-a1 {
    padding: 5px 0 7px 3px;
    border-radius: 3px;
    width: 96px;
    text-align: left;
    margin: 0 3px 25px 3px;
    border: 2px outset #C0C0C0;
}

.but-a2 {
    padding: 1px 0 3px 3px;
    border-radius: 3px;
    width: 150px;
    text-align: center;
    margin: 0 0 20px 0;
    border: 2px outset #C0C0C0;
}

#Butback1, #Butback2 {text-align: center; background-color: #fdf69e; }
#Butback2 {
    position: absolute;
    top: 142px;
    left: 0px;
}

.dnone {display:none;}

.dbody {
    background-color: #000080;
    background-image: url('/img/bg_nebo.jpg');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Аккордеон на JS */
#accordion {
      /*width: 1000px;*/
			margin: 0px auto;
		}
		#accordion > h3 {
			color: blue;
			cursor: pointer;
			margin: 5px 0;
			padding: .5em .5em .5em .7em;
			border: 1px solid #ddd;
			border-radius: 5px;
			border: 1px solid #c5c5c5;
			background: #f6f6f6;
			font-weight: normal;
			color: #454545;
		}
		#accordion > h3.select {
			border: 1px solid #003eff;
			background: #886ce4;
			font-weight: normal;
			color: #ffffff;
		}
		#accordion > div {
			height: 0;
			overflow: hidden;
			color: #fff;
			padding-left: 15px;
			padding-right: 15px;
			transition: height 1s;
		}
		.tabs__text {
			font: 14px Arial;
			text-align: left;
            background-color:rgba(43, 42, 85, 0.9);
		}


@keyframes tf15 {
    0% {opacity: 0}

    50% {opacity: 1}

    100% {opacity: 0}
}

/* ===== book ======= */

.banner_my {
    padding: 30px 20px 20px 150px;
    background-color: #fbfbfb;
    border-radius: 8px;
    position:relative;
}

.b-metka {
    color:#999;
    font-size:14px;
    position: absolute;
    bottom: 10px;
    left: 10px;
}

.book ul {
	margin: 0;
    padding: 0;
	list-style: none;
}

.book > *, .book :after, .book :before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }


.book ::before,
.book ::after {
	content: "";
}

.btn0 {
	display: inline-block;	
	margin: 50px 0px 0 30px;
	font-weight: 700;
	padding: 0.1em 0.4em;
	text-align: center;
	transition: color 0.3s, border-color 0.3s;
}

.c1 {color:#3B393F;}
.c2 {color:#FF4C00;}
.mob2 {display: none;
       color: #63707d;
        line-height: 1.3;
        text-align: center;
        font-size: 90%;
        margin: 0 0 25px 0 !important;
}

.btn {
	display: inline-block;
	text-transform: uppercase;
	border: 2px solid #2c3e50;
	margin: 20px 0px 0 40px;
	font-size: 0.7em;
	font-weight: 700;
	padding: 0.1em 0.4em;
	text-align: center;
	-webkit-transition: color 0.3s, border-color 0.3s;
	-moz-transition: color 0.3s, border-color 0.3s;
	transition: color 0.3s, border-color 0.3s;
}

.btn:hover {
	border-color: #16a085;
	color: #16a085;
}

/*
	1. container
*/

.book h2 {text-align:left;}

.book {
	position: relative;
	width: 160px; 
	height: 220px;
	-webkit-perspective: 1000px;
	-moz-perspective: 1000px;
	perspective: 1000px;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

/*
	2. background & color
*/

/* HARDCOVER FRONT */
.hardcover_front li:first-child {
	background-color: #eee;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
}

/* reverse */
.hardcover_front li:last-child {
	background: #fffbec;
}

/* HARDCOVER BACK */
.hardcover_back li:first-child {
	background: #fffbec;
}

/* reverse */
.hardcover_back li:last-child {
	background: #fffbec;
}

.book_spine li:first-child {
	background: #eee;
}
.book_spine li:last-child {
	background: #333;
}

/* thickness of cover */

.hardcover_front li:first-child:after,
.hardcover_front li:first-child:before,
.hardcover_front li:last-child:after,
.hardcover_front li:last-child:before,
.hardcover_back li:first-child:after,
.hardcover_back li:first-child:before,
.hardcover_back li:last-child:after,
.hardcover_back li:last-child:before,
.book_spine li:first-child:after,
.book_spine li:first-child:before,
.book_spine li:last-child:after,
.book_spine li:last-child:before {
	background: #999;
}

/* page */

.page > li {
	background: -webkit-linear-gradient(left, #e1ddd8 0%, #fffbf6 100%);
	background: -moz-linear-gradient(left, #e1ddd8 0%, #fffbf6 100%);
	background: -ms-linear-gradient(left, #e1ddd8 0%, #fffbf6 100%);
	background: linear-gradient(left, #e1ddd8 0%, #fffbf6 100%);
	box-shadow: inset 0px -1px 2px rgba(50, 50, 50, 0.1), inset -1px 0px 1px rgba(150, 150, 150, 0.2);
	border-radius: 0px 5px 5px 0px;
}

/*
	3. opening cover, back cover and pages
*/

.hardcover_front {
	-webkit-transform: rotateY(-34deg) translateZ(8px);
	-moz-transform: rotateY(-34deg) translateZ(8px);
	transform: rotateY(-34deg) translateZ(8px);
	z-index: 100;
}

.hardcover_back {
	-webkit-transform: rotateY(-15deg) translateZ(-8px);
	-moz-transform: rotateY(-15deg) translateZ(-8px);
	transform: rotateY(-15deg) translateZ(-8px);
}

.page li:nth-child(1) {
	-webkit-transform: rotateY(-28deg);
	-moz-transform: rotateY(-28deg);
	transform: rotateY(-28deg);
}

.page li:nth-child(2) {
	-webkit-transform: rotateY(-30deg);
	-moz-transform: rotateY(-30deg);
	transform: rotateY(-30deg);
}

.page li:nth-child(3) {
	-webkit-transform: rotateY(-32deg);
	-moz-transform: rotateY(-32deg);
	transform: rotateY(-32deg);
}

.page li:nth-child(4) {
	-webkit-transform: rotateY(-34deg);
	-moz-transform: rotateY(-34deg);
	transform: rotateY(-34deg);
}

.page li:nth-child(5) {
	-webkit-transform: rotateY(-36deg);
	-moz-transform: rotateY(-36deg);
	transform: rotateY(-36deg);
}

/*
	4. position, transform & transition
*/

.hardcover_front,
.hardcover_back,
.book_spine,
.hardcover_front li,
.hardcover_back li,
.book_spine li {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

.hardcover_front,
.hardcover_back {
	-webkit-transform-origin: 0% 100%;
	-moz-transform-origin: 0% 100%;
	transform-origin: 0% 100%;
}

.hardcover_front {
	-webkit-transition: all 0.8s ease, z-index 0.6s;
	-moz-transition: all 0.8s ease, z-index 0.6s;
	transition: all 0.8s ease, z-index 0.6s;
}

/* HARDCOVER front */
.hardcover_front li:first-child {
	cursor: default;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
	-webkit-transform: translateZ(2px);
	-moz-transform: translateZ(2px);
	transform: translateZ(2px);
}

.hardcover_front li:last-child {
	-webkit-transform: rotateY(180deg) translateZ(2px);
	-moz-transform: rotateY(180deg) translateZ(2px);
	transform: rotateY(180deg) translateZ(2px);
}

/* HARDCOVER back */
.hardcover_back li:first-child {
	-webkit-transform: translateZ(2px);
	-moz-transform: translateZ(2px);
	transform: translateZ(2px);
}

.hardcover_back li:last-child {
	-webkit-transform: translateZ(-2px);
	-moz-transform: translateZ(-2px);
	transform: translateZ(-2px);
}

/* thickness of cover */
.hardcover_front li:first-child:after,
.hardcover_front li:first-child:before,
.hardcover_front li:last-child:after,
.hardcover_front li:last-child:before,
.hardcover_back li:first-child:after,
.hardcover_back li:first-child:before,
.hardcover_back li:last-child:after,
.hardcover_back li:last-child:before,
.book_spine li:first-child:after,
.book_spine li:first-child:before,
.book_spine li:last-child:after,
.book_spine li:last-child:before {
	position: absolute;
	top: 0;
	left: 0;
}

/* HARDCOVER front */
.hardcover_front li:first-child:after,
.hardcover_front li:first-child:before {
	width: 4px;
	height: 100%;
}

.hardcover_front li:first-child:after {
	-webkit-transform: rotateY(90deg) translateZ(-2px) translateX(2px);
	-moz-transform: rotateY(90deg) translateZ(-2px) translateX(2px);
	transform: rotateY(90deg) translateZ(-2px) translateX(2px);
}

.hardcover_front li:first-child:before {
	-webkit-transform: rotateY(90deg) translateZ(158px) translateX(2px);
	-moz-transform: rotateY(90deg) translateZ(158px) translateX(2px);
	transform: rotateY(90deg) translateZ(158px) translateX(2px);
}

.hardcover_front li:last-child:after,
.hardcover_front li:last-child:before {
	width: 4px;
	height: 160px;
}

.hardcover_front li:last-child:after {
	-webkit-transform: rotateX(90deg) rotateZ(90deg) translateZ(80px) translateX(-2px) translateY(-78px);
	-moz-transform: rotateX(90deg) rotateZ(90deg) translateZ(80px) translateX(-2px) translateY(-78px);
	transform: rotateX(90deg) rotateZ(90deg) translateZ(80px) translateX(-2px) translateY(-78px);
}
.hardcover_front li:last-child:before {
	box-shadow: 0px 0px 30px 5px #333;
	-webkit-transform: rotateX(90deg) rotateZ(90deg) translateZ(-140px) translateX(-2px) translateY(-78px);
	-moz-transform: rotateX(90deg) rotateZ(90deg) translateZ(-140px) translateX(-2px) translateY(-78px);
	transform: rotateX(90deg) rotateZ(90deg) translateZ(-140px) translateX(-2px) translateY(-78px);
}

/* thickness of cover */

.hardcover_back li:first-child:after,
.hardcover_back li:first-child:before {
	width: 4px;
	height: 100%;
}

.hardcover_back li:first-child:after {
	-webkit-transform: rotateY(90deg) translateZ(-2px) translateX(2px);
	-moz-transform: rotateY(90deg) translateZ(-2px) translateX(2px);
	transform: rotateY(90deg) translateZ(-2px) translateX(2px);
}
.hardcover_back li:first-child:before {
	-webkit-transform: rotateY(90deg) translateZ(158px) translateX(2px);
	-moz-transform: rotateY(90deg) translateZ(158px) translateX(2px);
	transform: rotateY(90deg) translateZ(158px) translateX(2px);
}

.hardcover_back li:last-child:after,
.hardcover_back li:last-child:before {
	width: 4px;
	height: 160px;
}

.hardcover_back li:last-child:after {
	-webkit-transform: rotateX(90deg) rotateZ(90deg) translateZ(80px) translateX(2px) translateY(-78px);
	-moz-transform: rotateX(90deg) rotateZ(90deg) translateZ(80px) translateX(2px) translateY(-78px);
	transform: rotateX(90deg) rotateZ(90deg) translateZ(80px) translateX(2px) translateY(-78px);
}

.hardcover_back li:last-child:before {
	box-shadow: 10px -1px 80px 20px #666;
	-webkit-transform: rotateX(90deg) rotateZ(90deg) translateZ(-140px) translateX(2px) translateY(-78px);
	-moz-transform: rotateX(90deg) rotateZ(90deg) translateZ(-140px) translateX(2px) translateY(-78px);
	transform: rotateX(90deg) rotateZ(90deg) translateZ(-140px) translateX(2px) translateY(-78px);
}

/* BOOK SPINE */
.book_spine {
	-webkit-transform: rotateY(60deg) translateX(-5px) translateZ(-12px);
	-moz-transform: rotateY(60deg) translateX(-5px) translateZ(-12px);
	transform: rotateY(60deg) translateX(-5px) translateZ(-12px);
	width: 16px;
	z-index: 0;
}

.book_spine li:first-child {
	-webkit-transform: translateZ(2px);
	-moz-transform: translateZ(2px);
	transform: translateZ(2px);
}

.book_spine li:last-child {
	-webkit-transform: translateZ(-2px);
	-moz-transform: translateZ(-2px);
	transform: translateZ(-2px);
}

/* thickness of book spine */
.book_spine li:first-child:after,
.book_spine li:first-child:before {
	width: 4px;
	height: 100%;
}

.book_spine li:first-child:after {
	-webkit-transform: rotateY(90deg) translateZ(-2px) translateX(2px);
	-moz-transform: rotateY(90deg) translateZ(-2px) translateX(2px);
	transform: rotateY(90deg) translateZ(-2px) translateX(2px);
}

.book_spine li:first-child:before {
	-webkit-transform: rotateY(-90deg) translateZ(-12px);
	-moz-transform: rotateY(-90deg) translateZ(-12px);
	transform: rotateY(-90deg) translateZ(-12px);
}

.book_spine li:last-child:after,
.book_spine li:last-child:before {
	width: 4px;
	height: 16px;
}

.book_spine li:last-child:after {
	-webkit-transform: rotateX(90deg) rotateZ(90deg) translateZ(8px) translateX(2px) translateY(-6px);
	-moz-transform: rotateX(90deg) rotateZ(90deg) translateZ(8px) translateX(2px) translateY(-6px);
	transform: rotateX(90deg) rotateZ(90deg) translateZ(8px) translateX(2px) translateY(-6px);
}

.book_spine li:last-child:before {
	box-shadow: 5px -1px 100px 40px rgba(0, 0, 0, 0.2);
	-webkit-transform: rotateX(90deg) rotateZ(90deg) translateZ(-210px) translateX(2px) translateY(-6px);
	-moz-transform: rotateX(90deg) rotateZ(90deg) translateZ(-210px) translateX(2px) translateY(-6px);
	transform: rotateX(90deg) rotateZ(90deg) translateZ(-210px) translateX(2px) translateY(-6px);
}

.page,
.page > li {
	position: absolute;
	top: 0;
	left: 0;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

.page {
	width: 100%;
	height: 98%;
	top: 1%;
	left: 3%;
	z-index: 10;
}

.page > li {
	width: 100%;
	height: 100%;
	-webkit-transform-origin: left center;
	-moz-transform-origin: left center;
	transform-origin: left center;
	-webkit-transition-property: transform;
	-moz-transition-property: transform;
	transition-property: transform;
	-webkit-transition-timing-function: ease;
	-moz-transition-timing-function: ease;
	transition-timing-function: ease;
}

.page > li:nth-child(1) {
	-webkit-transition-duration: 0.6s;
	-moz-transition-duration: 0.6s;
	transition-duration: 0.6s;
}

.page > li:nth-child(2) {
	-webkit-transition-duration: 0.6s;
	-moz-transition-duration: 0.6s;
	transition-duration: 0.6s;
}

.page > li:nth-child(3) {
	-webkit-transition-duration: 0.4s;
	-moz-transition-duration: 0.4s;
	transition-duration: 0.4s;
}

.page > li:nth-child(4) {
	-webkit-transition-duration: 0.5s;
	-moz-transition-duration: 0.5s;
	transition-duration: 0.5s;
}

.page > li:nth-child(5) {
	-webkit-transition-duration: 0.6s;
	-moz-transition-duration: 0.6s;
	transition-duration: 0.6s;
}

/*
	5. events
*/

.book:hover > .hardcover_front {
	-webkit-transform: rotateY(-145deg) translateZ(0);
	-moz-transform: rotateY(-145deg) translateZ(0);
	transform: rotateY(-145deg) translateZ(0);
	z-index: 0;
}

.book:hover > .page li:nth-child(1) {
	-webkit-transform: rotateY(-30deg);
	-moz-transform: rotateY(-30deg);
	transform: rotateY(-30deg);
	-webkit-transition-duration: 1.5s;
	-moz-transition-duration: 1.5s;
	transition-duration: 1.5s;
}

.book:hover > .page li:nth-child(2) {
	-webkit-transform: rotateY(-35deg);
	-moz-transform: rotateY(-35deg);
	transform: rotateY(-35deg);
	-webkit-transition-duration: 1.8s;
	-moz-transition-duration: 1.8s;
	transition-duration: 1.8s;
}

.book:hover > .page li:nth-child(3) {
	-webkit-transform: rotateY(-118deg);
	-moz-transform: rotateY(-118deg);
	transform: rotateY(-118deg);
	-webkit-transition-duration: 1.6s;
	-moz-transition-duration: 1.6s;
	transition-duration: 1.6s;
}

.book:hover > .page li:nth-child(4) {
	-webkit-transform: rotateY(-130deg);
	-moz-transform: rotateY(-130deg);
	transform: rotateY(-130deg);
	-webkit-transition-duration: 1.4s;
	-moz-transition-duration: 1.4s;
	transition-duration: 1.4s;
}

.book:hover > .page li:nth-child(5) {
	-webkit-transform: rotateY(-140deg);
	-moz-transform: rotateY(-140deg);
	transform: rotateY(-140deg);
	-webkit-transition-duration: 1.2s;
	-moz-transition-duration: 1.2s;
	transition-duration: 1.2s;
}

/*
	6. Bonus
*/

/* cover CSS */

.coverDesign {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	overflow: hidden;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
}

.coverDesign::after {
	background-image: -webkit-linear-gradient( -135deg, rgba(255, 255, 255, 0.45) 0%, transparent 100%);
	background-image: -moz-linear-gradient( -135deg, rgba(255, 255, 255, 0.45) 0%, transparent 100%);
	background-image: linear-gradient( -135deg, rgba(255, 255, 255, 0.45) 0%, transparent 100%);
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}

.coverDesign h1 {
	color: #fff;
	font-size: 2.2em;
	letter-spacing: 0.05em;
	text-align: center;
	margin: 54% 0 0 0;
	text-shadow: -1px -1px 0 rgba(0,0,0,0.1);
}

.coverDesign p {
	color: #f8f8f8;
	font-size: 1em;
	text-align: center;
	text-shadow: -1px -1px 0 rgba(0,0,0,0.1);
}

.yellow {
	background-color: #f1c40f;
	background-image: -webkit-linear-gradient(top, #f1c40f 58%, #e7ba07 0%);
	background-image: -moz-linear-gradient(top, #f1c40f 58%, #e7ba07 0%);
	background-image: linear-gradient(top, #f1c40f 58%, #e7ba07 0%);
}

.blue {
	background-color: #3498db;
	background-image: -webkit-linear-gradient(top, #3498db 58%, #2a90d4 0%);
	background-image: -moz-linear-gradient(top, #3498db 58%, #2a90d4 0%);
	background-image: linear-gradient(top, #3498db 58%, #2a90d4 0%);
}

.grey {
	background-color: #f8e9d1;
	background-image: -webkit-linear-gradient(top, #f8e9d1 58%, #e7d5b7 0%);
	background-image: -moz-linear-gradient(top, #f8e9d1 58%, #e7d5b7 0%);
	background-image: linear-gradient(top, #f8e9d1 58%, #e7d5b7 0%);
}

/* Basic ribbon */

.ribbon {
	background: #c0392b;
	color: #fff;
	display: block;
	font-size: 0.7em;
	position: absolute;
	top: 11px;
	right: 1px;
	width: 40px;
	height: 20px;
	line-height: 20px;
	letter-spacing: 0.15em; 
	text-align: center;
	-webkit-transform: rotateZ(45deg) translateZ(1px);
	-moz-transform: rotateZ(45deg) translateZ(1px);
	transform: rotateZ(45deg) translateZ(1px);
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	z-index: 10;
}

.ribbon::before,
.ribbon::after{
	position: absolute;
	top: -20px;
	width: 0;
	height: 0;
	border-bottom: 20px solid #c0392b;
	border-top: 20px solid transparent;
}

.ribbon::before{
	left: -20px;
	border-left: 20px solid transparent;
}

.ribbon::after{
	right: -20px;
	border-right: 20px solid transparent;
}

/* figcaption */

figcaption {
	padding-left: 40px;
	text-align: left;
	position: absolute;
	top: 0%;
	left: 160px; 
	width: 310px;
}

figcaption h1 {
	margin: 0;
}

figcaption span {
	color: #16a085;
	padding: 0.6em 0 1em 0;
	display: block;
}

figcaption p {
	color: #63707d;
	line-height: 1.3;
}



/* ====== END book ===== */

@media (max-width: 1000px) {
}

@media (max-width: 900px) {

 
}

@media (max-width: 820px) {

   
}

@media (max-width: 690px) {

    .banner_my {padding: 50px 20px 20px 20px; height: 450px;}
    	.align > li {
		width: 100%;
		min-height: 440px;
		height: auto;
		padding: 0;
		margin: 0 0 30px 0;
	}

	.book {margin: 0 auto;}

    .book h2 {text-align: center;}

	figcaption {
		text-align: center;
		width: 320px;
		top: 250px;
		padding-left: 0;
		left: -80px;
		font-size: 90%;
	}

    .mob2 {display: block;}
    .desktop {display: none;}
   
}

@media (max-width: 580px) {

       .mob1 {display: none;}

        .img_wr4 {
            border-width: 8px 5px 16px 5px;
            width: 100px;
            height: 120px;
        }

        .img_wr3 {width: 200px; height: 100px; }
        .txt_banner {font-size: 18px;}
}

@media (max-width: 530px) {

    .inurl {display:none;}
    .buturl {display: none;}

}

@media (max-width: 500px) {
    .content-photo {justify-content: space-between;}
 
}



@media (max-width: 380px) {
  
    .img_wr2 {width: 132px; height: 150px;}
    .img_wr3 {width: 160px; height: 80px; border-width: 10px 10px 20px 10px; transform: perspective(1000px) rotateX(-30deg); }
    .txt_banner {font-size: 14px;}
    .img_wr4 {width: 80px; height: 96px;}

 
}

@media (max-width: 350px) {
  .content-photo {justify-content: normal;}
}
