﻿* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
body {
    margin: 0;
    padding: 0;
    font-size: 15px;
    font-family: 'Zilla Slab', serif;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
b,
strong {
    font-weight: 700;
}
.clear {
    clear: both;
    overflow: hidden;
}
.container {
    position: relative;
    max-width: 940px;
    width: 100%;
    margin: 0px auto;
    padding-right: 15px;
    padding-left: 15px;
}
.title {
    font-size: 35px;
    font-weight: 700;
}
.line {
    display: block;
    position: relative;
    left: 50%;
    width: 90px;
    margin: 20px 0 20px -45px;
    height: 2px;
    background-color: #eec72e;
}
.subtitle {
    font-size: 17px;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 50px;
}
a {
    text-decoration: none;
}
p {
    line-height: 1.8;
}
img {
    max-width: 100%;
    height: auto;
}
.aligncenter {
    margin: auto;
    display: block;
}
.no-padding {
    padding: 0;
}
.no-margin {
    margin: 0;
}
.text-center {
    text-align: center;
}
.text-shadow {
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.48);
}
.flex {
    -ms-box-orient: horizontal;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -moz-flex;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.space-between {
    -webkit-justify-content: space-between;
    justify-content: space-between;
}
.flexbox {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.flexbox-item {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}
.text-white {
    color: #fff;
}
.separator {
    height: 1px;
    position: relative;
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 10%;
    color: #EBEBEB;
    border: none;
    position: relative;
    height: 20px;
    top: 0;
    overflow: hidden;
    margin: 40px 0;
}
.separator::after {
    right: -100%;
    box-shadow: 10px 10px 10px 1px;
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: -20px;
    right: 0;
    height: 10px;
    border-radius: 100%;
}
.circle {
    margin: 20px 0;
    padding: 0;
}
ul.circle li {
    list-style-type: none;
    padding: 1px 30px 3px 35px;
    position: relative;
    margin: 10px 0;
}
ul.circle li:before {
    content: "";
    display: block;
    position: absolute;
    width: 3px;
    height: 3px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    border: 1px solid #eec72e;
    top: 0;
    bottom: 0;
    margin: auto;
    left: 15px;
}
.col-2 {
    width: 50%;
    float: left;
    padding: 0 10px;
}
.col-3 {
    width: 33.33%;
    float: left;
    padding: 0 10px;
}
.col-4 {
    width: 25%;
    float: left;
}
.btn {
    position: relative;
    border: none;
    padding: 10px 20px;
    background-color: #292929;
    -webkit-box-shadow: inset 0 -3px 0 rgba(0, 0, 2, .2);
    box-shadow: inset 0 -3px 0 rgba(0, 0, 2, .2);
    -webkit-border-radius: 3px;
    border-radius: 3px;
    color: #fff;
    text-shadow: 0 1px 0 rgba(0, 0, 2, .2);
    font-size: 17px;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    -webkit-transition: .2s ease-out;
    -o-transition: .2s ease-out;
    transition: .2s ease-out;
}
.btn-border {
    display: inline-block;
    color: #fff;
    font-size: 18px;
    font-weight: 300;
    border-bottom: 1px dashed #fff;
}
.header {
    position: relative;
    padding: 20px 0;
}
.scrollMenu {
    background-color: #46474b
    box-shadow: 0 1px 1px rgba(0,0,0,.1);
    width: 100%;
    position: fixed!important;
    top: 0!important;
    z-index: 99!important;
}
.header-wrapp {
    max-width: 940px;
    padding: 0 15px;
    margin: auto;
}
.header .col-left {
    float: left;
    min-height: 1px;
    position: relative;
    width: 50%;
}
.header .col-right {
    float: left;
    min-height: 1px;
    position: relative;
    width: 50%;
}
.header .mail {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 75px;
    height: 75px;
    background: #f8f8f8;
}
.header .mail .fa {
    margin-top: 23px;
    color: #b2b2b2;
    text-align: center;
    display: block;
}
.logo-wrap {
  display: flex;
  align-items: center;   /* ← THIS is the magic */
}

.logo {
  background: url(img/logo.png);
  width: 225px;
  height: 183px;
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.logo-desc {
  color: #818181;
  font-weight: 300;
  border-left: 1px solid #e2e2e2;
  padding-left: 6px;
  margin-left: 150px;
}

.header-splash {
  height: 210px;       /* keeps it proportional */
  width: auto;
  object-fit: contain;
  border-radius: 0px;  /* optional */
  margin-left: 0px;   /* ← adds space from .logo-desc */
}
.header-contact {
    text-align: right;
    font-size: 25px;
    font-weight: 350;
    color: #b2b2b2;
}
.header-contact span {
    color: #000;
}
.display-flex {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.maine-menu {
    background: #46474b;
}
.social-menu  {
text-align: right;
}
.social-menu a{
    color: #eee;
    padding: 0 5px;
}
.maine-home {
    background: url(img/bg-4.jpg);
    background-size: cover;
    background-position: 50% 50%;
    padding: 220px 0;
}
.home {
    position: relative;
    background: url(img/bg-3.jpg);
    background-size: cover;
    background-position: 50% 60%;
}
.home .title {
    font-size: 40px;
}
.home .line {
    left: 0;
    margin: 20px 0;
}
.home .btn-block a {
    margin: 0 30px 30px 0;
    vertical-align: middle;
}
/* home v2 */
.home-2 {
    position: relative;
    background: url(img/home-2.jpg);
    background-size: cover;
    background-position: 50% 50%;
    padding: 130px 0;
}
.home-2 .title {
    font-size: 40px;
        text-shadow: 2px 2px 0px rgb(221, 221, 221);
}
.home-2 .line {
    left: 0;
    margin: 20px 0;
}
.home-2 .btn-block a {
    margin: 0 30px 30px 0;
    vertical-align: middle;
}
/* home v3 */
.home-3 {
    position: relative;
    background: url(img/home-3.jpg);
    background-size: cover;
    background-position: 50% 50%;
    padding: 230px 0;
}
.home-3 .title {
    font-size: 40px;
        text-shadow: 2px 2px 0px rgb(221, 221, 221);
}
.home-3 .line {
    left: 0;
    margin: 20px 0;
}
.home-3 .btn-block a {
    margin: 0 30px 30px 0;
    vertical-align: middle;
}

.home-img {
    position: absolute;
    bottom: 0;
    left: 0;
}
.home-wrapp {
    padding: 60px 0;
}
.trigger {
    background: #f8f8f8;
    padding: 40px 0;
}
.trigger .col-left {
    float: left;
    width: 70%;
    font-style: italic;
    font-size: 28px;
    vertical-align: middle;
    font-weight: 300;
    padding: 0 10px;
    color: #909090;
}
.trigger .col-right {
    float: left;
    width: 30%;
    border-left: 1px solid #9c9c9c;
    padding-left: 20px;
    font-size: 28px;
}
.trigger .wrapp {
    position: relative;
    padding: 25px 0;
}
.trigger .count {
    font-size: 55px;
    position: absolute;
    z-index: 0;
    color: #e2e2e2;
    left: 0;
    top: 0;
    right: 0;
    text-align: center;
    -webkit-transition: all .3s;
    transition: all .3s;
    -webkit-transform: scale(1);
    transform: scale(1);
}
.trigger .desc {
    font-weight: 300;
    text-align: center;
    position: relative;
    z-index: 2;
    font-size: 18px;
}
.whom {
    font-weight: 300;
    padding: 100px 0 120px 0;
}
.whom .col-left .title {
    position: relative;
 
    margin-bottom: 20px;
}
.whom .col-usl {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0px 0px 1px 0px rgba(50, 50, 50, 0.3);
    -moz-box-shadow: 0px 0px 1px 0px rgba(50, 50, 50, 0.3);
    box-shadow: 0px 0px 1px 0px rgba(50, 50, 50, 0.3);
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    background: #f8f8f8;
}
.whom .col-left,
.col-right {
    position: relative;
}
.whom .col-left {
    float: left;
    width: 50%;
}
.whom .col-right {
    float: left;
    width: 50%;
}
.whom .col_padding {
    padding: 0px 70px;
}
.whom .left_img {
    line-height: 0;
    background: url(img/about-autor.jpg) 50% 50%;
    width: 100%;
    height: 455px;
    background-repeat: no-repeat;
    background-size: cover;
}
.whom .left_img_about_me {
    line-height: 0;
    background: url(img/s8.jpg) 50% 50%;
    width: 100%;
    height: 474px;
    background-repeat: no-repeat;
    background-size: cover;
}
.whom .col-right-inside .play-btn {
    position: absolute;
    color: #fff;
    top: 0;
    bottom: 0;
    margin: auto;
    left: 0;
    right: 0;
    height: 50px;
    width: 50px;
    background-color: rgba(106, 219, 217, 0.84);
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    transition: all .8s ease;
    line-height: 60px;
    font-size: 10px;
}
.whom p {} .upkeep {
    background: #f8f8f8;
    padding: 50px 0 100px 0;
}
.upkeep .col-left {
    width: 30%;
    float: left;
    position: relative;
    padding-top: 30px;
}
.upkeep .margin-top {
    margin-top: 100px;
}
.upkeep .col-middle {
    width: 40%;
    float: left;
    position: relative;
}
.upkeep .col-right {
    width: 30%;
    float: left;
    position: relative;
    padding-top: 30px;
}
.upkeep .upkeep-title {
    font-size: 20px;
    position: relative;
    text-align: center;
    padding-top: 20px;
}
.upkeep .upkeep-title-1:before {
    content: '1';
    position: absolute;
    left: 0;
    right: 0;
    font-size: 5em;
    color: rgba(136, 133, 133, 0.2);
}
/*.upkeep .upkeep-title-1:after {
    content: '';
    background-color: rgba(136,133,133,0.2);
    position: absolute;
    right: 0;
    width: 11rem;
    bottom: 0;
    top: 0;
    height: 1px;
    margin: auto;
    }
    */

.upkeep .upkeep-title-2 {
    text-align: center;
}
.upkeep .upkeep-title-2:before {
    content: '2';
    position: absolute;
    left: 0;
    right: 0;
    font-size: 5em;
    color: rgba(136, 133, 133, 0.2);
}
.upkeep .upkeep-title-3:before {
    content: '3';
    position: absolute;
    left: 0;
    right: 0;
    font-size: 5em;
    color: rgba(136, 133, 133, 0.2);
}
.upkeep .upkeep-title-4 {
    text-align: center;
}
.upkeep .upkeep-title-4:before {
    content: '4';
    position: absolute;
    left: 0;
    right: 0;
    font-size: 5em;
    color: rgba(136, 133, 133, 0.2);
}
.upkeep p {} .upkeep .upkeep-subtitle {
    font-weight: 300;
    color: #8a8a8a;
    text-align: center;
    margin-top: 30px;
    line-height: 23px;
}
ul.tabs {
    margin: 0 auto -5px;
    text-align: center;
    padding: 0;
    display: inline-block;
    float: left;
    list-style: none;
    height: auto;
    width: 100%;
}
ul.tabs li {
    max-width: 25%;
    display: inline-block;
    cursor: pointer;
    line-height: 31px;
    overflow: hidden;
    border: none;
    margin: 0 -2px;
    position: relative;
    z-index: 1;
    border-top: solid 2px #F9F9F9;
    padding: 10px 30px;
    background-color: rgb(242, 240, 240);
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fff), color-stop(0.5, rgb(251, 249, 249)), color-stop(0.5, rgb(247, 245, 246)), to(rgb(248, 248, 248)));
    box-shadow: rgba(255, 255, 255, 0.17) 0px 1px 0px inset, rgba(0, 0, 0, 0.10) 0px 1px 2px;
}
.tab_last {
    border-right: 1px solid #333;
}
ul.tabs li.active {
    background: #fff;
    color: #333;
    border-top: solid 2px #eec72e;
}
.tab_container {
    border: 1px solid #efefef;
    clear: both;
    float: left;
    width: 100%;
    background: #fff;
    overflow: auto;
}
.tab_content {
    padding: 50px 80px;
    display: none;
}
.tab_drawer_heading {
    display: none;
}
.book-inside {
    background-size: 2924.4px 826.8px;
    background-position: 50% -54.21px;
    background: url(img/bg-parallax1.jpg) no-repeat;
    position: relative;
    max-height: 543px;
    max-width: 100%;
    color: #fff;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.1);
}
.book-inside img {
    margin: -70px 0;
}
.book-inside .subtitle {
    margin: 20px 0 0 0;
}
.over-info {
    padding: 60px 0 50px 0;
    background: #f8f8f8;
}
.over-info .col-3 {
    padding: 0 20px;
    position: relative;
}
.over-info .title {
    color: #505050;
    font-size: 20px;
    padding-left: 50px;
    padding-bottom: 10px;
    display: inline-block;
    font-weight: 300;
}
.over-info p {color: #505050;padding-left: 50px;margin-top: 0;font-size: 12px;}
.over-info i {
    color: #f1c92e;
    font-size: 37px;
    position: absolute;
    left: 0;
    top: 0;
}
.over-info .space-40 {
margin-bottom: 40px;
}
.over-info img {
    border: 1px solid #e2e2e2;
    padding: 5px;
    border-radius: 50%;
}
.accordion {
    padding: 50px 0;
}
.accordion .accordion {} .block {
    margin: 20px 0;
}
.accordion .accordion_title {
    border-radius: 3px;
    border: 1px solid #f0f0f0;
    font-size: 16px;
    line-height: 25px;
    text-align: left;
    padding: 15px 15px 15px 45px;
    color: #606060;
    position: relative;
    cursor: pointer;
    background-color: rgb(242, 240, 240);
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fff), color-stop(0.5, rgb(245, 245, 245)), color-stop(0.5, rgb(247, 245, 246)), to(rgb(248, 248, 248)));
    box-shadow: rgba(255, 255, 255, 0.2) 0px 1px 0px inset, rgba(0, 0, 0, 0.0470588) 0px 1px 2px;
    margin-bottom: 25px;
}
.accordion .accordion_title p {
    margin: 0;
    padding: 0;
}
.accordion .active .accordion_title {
    border-bottom: 1px solid #ebebeb;
}
/*.block .accordion_title:before {*/

.accordion .accordion_title:before {
    content: '+';
    position: absolute;
    top: 17px;
    left: 15px;
    width: 20px;
    height: 20px;
    line-height: 17px;
    font-size: 25px;
    text-align: center;
    cursor: pointer;
}
/*.active .accordion_title:before {*/

.accordion .accordion_title.active:before {
    content: '-';
    position: absolute;
    top: 17px;
    left: 15px;
    width: 20px;
    height: 20px;
    font-size: 25px;
    line-height: 16px;
    text-align: center;
    cursor: pointer;
}
.accordion .accordion_hide {
    padding-top: 18px;
    display: none;
    color: #626262;
    line-height: 25px;
    padding: 0 15px 40px 15px;
}
.accordion .accordion-wrapp {
    max-width: 70%;
    margin: auto;
}
.testimonials3 {
    padding: 50px 0;
    background: #f8f8f8;
}
.testimonials3 .wrapp {
    background: #FFF;
    padding: 20px 20px 20px 40px;
    border-radius: 3px;
    margin-left: 140px;
}
.testimonials3 .photo {
    float: left;
    border-radius: 50%;
    border: 5px solid #fff;
    max-width: 160px;
}
.testimonials3 .second-title {
    font-size: 25px;
    font-weight: 500;
    margin-bottom: 15px;
}
.testimonials3 .space50 {
    margin-bottom: 50px;
}

.testimonials3 p {
}
@media screen and (max-width: 767px) {
    .testimonials3 .photo {
        float: none;
        margin: auto;
    }
    .testimonials3 .wrapp {
        margin: 0;
    }
}
.footer {
    padding: 40px 0 30px 0;
    text-align: center;
}
.footer p {
    color: #717171;
}
.footer a {
    color: #717171;
}
/* social icon */

.social .fa {
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    width: 30px;
    height: 30px;
    font-size: 25px;
    padding: 0 20px;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    color: #fff;
    background: none;
}
.social a:hover .fa {
    opacity: .6
}
.social .fa-pinterest,
.social .ti-pinterest-alt,
.social .ti-pinterest {
    color: #cb2027;
}
.social .fa-rss {
    color: #f26522;
}
.social .fa-facebook,
.social .ti-facebook {
    color: #3b5998;
}
.social .fa-twitter,
.social .ti-twitter-alt {
    color: #00aced;
}
.social .fa-flickr,
.social .ti-flickr-alt {
    color: #ff0084;
}
.social .fa-dribbble,
.social .ti-dribbble {
    color: #ea4c89;
}
.social .fa-behance {
    color: #42a9fb;
}
.social .fa-linkedin,
.social .ti-linkedin {
    color: #007bb6;
}
.social .fa-vimeo-square,
.social .ti-vimeo-alt {
    color: #23b6ea;
}
.social .fa-youtube {
    color: #bb0000;
}
.social .fa-tumblr,
.social .ti-tumblr-alt {
    color: #32506d;
}
.social .fa-github-alt {
    color: #333333;
}
.social .fa-google-plus,
.social .ti-google {
    color: #dd4b39;
}
.social .fa-instagram,
.social .ti-instagram {
    color: #517fa4;
}
.social .fa-soundcloud,
.social .ti-soundcloud {
    color: #f80;
}
.margin-top-50 {
    margin-top: 50px;
}
.padding-top-150 {
    padding-top: 150px;
}
/*iphone 5, 5s, 6, 6s */

@media only screen and (max-width: 568px) {
    .header .col-left {
        width: 100%;
        float: none;
        margin: auto;
    }
    .header .col-right {
        display: none;
    }
    .whom .col-left,
    .whom .col-right,
    .col-2,
    .col-3 {
        width: 100%;
    }
    .whom .col_padding {
    padding:20px;
}

.book-inside img {
    margin:  0;
}

    .order-first {
        order: -1;
    }
    .order-last {
        order: 1;
    }
    ul.tabs li {
        max-width: 100%;
    }
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

.book-card {
  text-align: center;
}

.book-card img {
  width: 100%;
  max-width: 220px;
  height: auto;
  margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.book-card h3 {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.price {
  color: #b5b5b5;
  margin-bottom: 12px;
}

.book-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #292929;      /* deep navy / charcoal */
  color: #f2f2f2;
  border-radius: 3px;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
}

.book-btn:hover {
  background: #eaeaea;
  color: #111;
}
/* Айпад  */

@media only screen and (min-width: 768px) and (max-width: 1024px) {}