body {
    position: relative;
    color: #000000;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    background: #d7c9a0;
}
/**
 * Links
 */

a {
    color: #c7494f;
    text-decoration: none;
    -webkit-transition: background 0.5s ease;
    transition: background 0.5s ease;
    outline: none !important;
}

a:hover,
a:active {
    color: #655A3E;
    opacity: .8;
    text-decoration: underline;
}
/* Headings */

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #000000;
    line-height: 1.2;
    font-family: 'garamond-lt-regular';
    font-weight: 700;
    margin-top: 0;
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 36px;
}

.smooth {
    font-weight: 400;
}
/* Common class */

strong,
b {
    color: #000000;
}

p {
    margin: 30px 0;
}

p.bold {
    font-weight: 700;
}

.img-responsive {
    display: inline-block;
    max-width: 100%;
}

#main {
    overflow: hidden;
}

video {
    width: 100%;
}

.btn-wrapper {
    display: inline-block;
}
/**
 * Header
 */

.header {
    background: url('../img/bg-header.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 90px;
    line-height: 90px;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 99999;
    text-align: center;
}
/* Header Navigation */

.navbar {
    z-index: 999;
}

.navbar {
    background: none;
    width: 100%;
    border: 0;
    margin: 0;
    min-height: 0;
}

#header-nav {
    margin: 0;
    padding: 0;
    margin-bottom: 0;
}

#header-nav > li {
    padding: 0;
    margin: 0 0 0 -6px !important
}

#header-nav > li > a {
    font-size: 22px;
    height: 60px;
    color: #f2e4b6 !important;
    display: block;
    padding: 0 40px;
    font-weight: 300;
}

#header-nav > li.current > a,
#header-nav > li > a:focus,
#header-nav > li > a:hover {
    outline: none;
    color: #CEBB7E !important;
    text-decoration: none;
    opacity: 1;
}

.navbar .navbar-nav>.open>a,
.navbar-default .navbar-nav>.open>a:hover,
.navbar-default .navbar-nav>.open>a:focus {
    background: none;
}

.navbar .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus {
    background: none;
    text-decoration: none;
    font-weight: bold;
}

#header-nav .dropdown-menu {
    background: #444444 !important;
    border: 0;
    margin: 0;
    border-radius: 0;
    padding: 0;
    position: relative;
    left: 0;
    top: 100%;
}

#header-nav .dropdown-menu li span {
    padding: 10px;
    line-height: 1;
    text-transform: uppercase;
    font-weight: bold;
}

#header-nav .dropdown-menu li.title {
    color: #ffffff;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 40px;
    border-bottom: 1px solid #777777;
}

#header-nav .dropdown-menu li a {
    color: #ffffff !important;
    font-size: 16px;
    line-height: 1;
    padding: 10px;
}

#header-nav .dropdown-menu li a:hover {
    color: #000000 !important;
    background: #f5f5f5;
}

.navbar-toggle {
    font-size: 30px;
    color: #ffffff !important;
    line-height: 1;
    margin-top: 12px;
    margin-bottom: 12px;
}

.navbar-collapse {
    max-height: 300px;
    overflow-y: auto !important;
}

.navbar-collapse.in a {
    color: #000000 !important;
}

#header-nav .dropdown-menu {
    margin-top: 0;
}

#header-nav .dropdown-menu li.divider {
    background: transparent;
    border: 0;
}
/**
* Hero
*/

#hero {
    background: url('../img/bg-hero.png');
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 250px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

#hero .content-hero {
    padding-top: 150px;
    padding-bottom: 150px;
}

#hero .content-hero img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    z-index: -1;
}

.btn-hero {
    padding: 0 20px;
}

.btn-hero a {
    display: inline-block;
    padding: 15px 40px;
    background: url('../img/bg-button-hero.jpg');
    background-repeat: repeat;
    margin-right: 10px;
    margin-left: 10px;
    margin-bottom: 30px;
    margin-top: 10px;
    font-size: 16px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
    min-width: 210px;
}

#hero .mockup {
    position: relative;
    width: 748px;
    left: -250px;
}
/**
 * Main Content 
 */

.headline,
.headline2 {
    text-align: center;
}

.headline {
    margin-bottom: 50px;
}

.headline h2 {
    display: inline-block;
    text-align: center;
    font-size: 62px;
    text-transform: uppercase;
    color: #1a171b;
    border-top: 3px solid #1a171b;
    border-bottom: 3px solid #1a171b;
    padding: 20px 0;
}

.headline2 {
    margin-bottom: 100px;
}

.headline2 h2 {
    display: inline-block;
    position: relative;
    font-size: 62px;
    color: #f2e4b6;
    text-transform: uppercase;
}

.headline2 h2:before {
    content: "";
    position: absolute;
    top: -20px;
    width: 70%;
    left: 50%;
    margin-left: -35%;
    height: 3px;
    background: #f2e4b6;
}

.headline2 h2:after {
    content: "";
    position: absolute;
    bottom: -20px;
    width: 70%;
    left: 50%;
    margin-left: -35%;
    height: 3px;
    background: #f2e4b6;
}

#main {
    position: relative;
    top: -300px;
}
/* About */

#the-about {
    position: relative;
    top: 310px;
}

#about {
    background: url('../img/bg-about.jpg') center top;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 410px;
    padding-bottom: 60px;
    color: #1b1b1b;
}
/* Purchase */

#purchase {
    background: url('../img/bg-purchase.jpg') center top;
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 90px;
    padding-top: 100px;
}

#purchase .hard-cover {
    margin-bottom: 75px;
}

#purchase .hard-cover img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#purchase .button {
    color: #000000;
    display: inline-block;
    padding: 15px 20px;
    background: url('../img/bg-button-purchase.jpg');
    background-repeat: repeat;
    margin-right: 10px;
    margin-left: 10px;
    font-size: 14px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
    min-width: 190px;
    text-decoration: none !important;
}
/* Author */

#author {
    padding: 90px 0 50px 0;
    color: #000000;
}

.author .avatar {
    margin-left: 630px;
    width: 392px;
}

.author .text {
    float: left;
    width: 600px;
}

.author strong {
    font-size: 30px;
    line-height: 17px;
}
/* Endorsements */

#the-endorsments {
    position: relative;
    top: 150px;
}

#endorsments {
    background: url('../img/bg-author.jpg') center top;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 50px 0;
}

.content-endorsments {
    position: relative;
    background: url('../img/bg-endorsments.png') center top;
    background-repeat: no-repeat;
    padding: 200px 30px 20px 30px;
}

.endorsments-part {
    margin-top: 40px;
    margin-bottom: 275px;
    font-size: 22px;
}

.endorsments-part img {
    width: 115px !important;
    height: 115px;
    border-radius: 50%;
    margin: 0 auto;
}

.endorsments-part h3 {
    font-size: 16px;
    color: #26211b;
    font-weight: bold;
}

#endorsments .time {
    position: absolute;
    background: url('../img/time.png');
    height: 538px;
    width: 358px;
    bottom: 30px;
    left: -120px;
}
/* Social */

#social {
    background: #3d2e1b;
    padding-top: 85px;
    padding-bottom: 120px;
}

#social .title-social {
    margin-bottom: 70px;
}

#social .title-social h2 {
    position: relative;
    font-size: 32px;
    color: #f0dec6;
}

#social .title-social h2 span {
    background: #3d2e1b;
    position: relative;
    z-index: 1;
    padding-left: 10px;
    padding-right: 10px;
}

#social .title-social h2:before {
    position: absolute;
    content: '';
    width: 100%;
    height: 2px;
    background: #f0dec6;
    top: 40%;
    left: 0;
}

#social .title-social h2:after {
    position: absolute;
    content: '';
    width: 100%;
    height: 2px;
    background: #f0dec6;
    top: 60%;
    left: 0;
}

#social .share {
    text-align: center;
}

#social .share a {
    display: inline-block;
    margin: 0;
    padding: 0;
    float: left;
    width: 25%;
    font-size: 18px;
    line-height: 18px;
    color: #f0dec6;
}

#social .share a:hover {
    text-decoration: none;
}

#social .share i {
    margin-right: 15px;
    font-size: 30px;
}
/* Media */

#media {
    padding-top: 85px;
}

#media .headline h2 {
    border-width: 1px;
    text-transform: none;
    padding: 0;
}

#media .content-media {
    font-size: 22px;
    color: #1a171b;
}

#media .content-media span {
    font-style: italic;
}

#media .content-media a {
    color: #000000;
}
/**
 * Footer
 */

.footer {
    color: #efddc8;
    font-size: 22px;
    background: url('../img/bg-torn.png') center top;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 500px;
    margin-top: -350px;
}

.footer * {
    color: #efddc8;
    line-height: 1.4;
}

.footer .container {
    background: #26211b;
    padding: 30px 15px;
}

.footer p {
    margin: 0;
}
/* Back to top */

.back-to-top {
    border-radius: 5px;
    text-align: center;
    background: #000;
    color: #fff;
    display: none;
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 12px;
    position: fixed;
    right: 20px;
    bottom: 20px;
    opacity: 0.4;
    filter: alpha(opacity=40);
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    cursor: pointer;
    z-index: 9999;
}

.back-to-top:hover {
    opacity: 1;
    filter: alpha(opacity=100);
}
/* Jquery appear */

.hiding {
    opacity: 0;
}

.visible {
    opacity: 1;
}
/* Preloader */

#mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #F6F6F6;
    z-index: 10000;
    height: 100%;
}

#loader {
    width: 200px;
    height: 200px;
    position: absolute;
    left: 50%;
    top: 50%;
    background-image: url("../img/loading.gif");
    background-repeat: no-repeat;
    background-position: center;
    margin: -100px 0 0 -100px;
}
/* Desktop device */

@media (max-width: 1199px) {
    .btn-hero a {
        margin-bottom: 10px;
    }
    #header-nav > li > a {
        font-size: 20px;
        padding: 0 20px;
    }
}
/* Mobile device */

@media (max-width: 991px) {
    #header-nav>li {
        display: block;
        margin: 0;
    }
    .navbar-collapse {
        background: #ffffff;
        margin: 0 -15px;
    }
    .navbar-collapse #header-nav {
        margin: 0 -15px;
    }
    .navbar-collapse #header-nav li a {
        padding: 10px;
        height: auto !important;
        line-height: 1;
        color: #000000 !important;
    }
    .navbar-collapse #header-nav li.current a,
    .navbar-collapse #header-nav li a:hover {
        background: #f5f5f5;
        border: 0;
    }
    #hero .mockup {
        left: -170px;
        width: 550px;
        bottom: -30px;
        z-index: -1;
    }
    .endorsments-part {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .header {
        height: 60px;
        line-height: 60px;
    }
    .navbar-default .navbar-collapse {
        margin-left: -6%;
        margin-right: -6%;
        background: #fff;
    }
    #header-nav>li>a {
        padding-top: 3px;
        padding-bottom: 3px;
    }
    #header-nav .open .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        box-shadow: none;
        text-align: center;
    }
    #header-nav .open .dropdown-menu li a {
        padding-top: 0px;
        padding-bottom: 0px;
    }
    .navbar-toggle {
        margin: 15px 0 8px 0;
        padding: 0;
    }
    #hero .mockup {
        left: -100px;
    }
    #about {
        background-position: center;
    }
    #main {
        margin: 0;
    }
    .author .avatar {
        margin: 0;
        width: 100%;
    }
    .author .text {
        float: none;
        width: 100%;
    }
    .content-endorsments {
        padding: 0;
        background: none !important;
    }
    #endorsments .time {
        display: none;
    }
    .footer {
        background-position: center;
    }
    #social .share a {
        display: block;
        float: left;
        padding: 20px;
        width: 50%;
    }
    .endorsments-part {
        font-size: 22px;
        margin-bottom: 0 !important;
    }
    .headline h2 {
        font-size: 50px;
    }
    .avatar {
        text-align: center;
    }
}
/* Custom mobile */

@media (max-width: 500px) {
    #purchase .button {
        width: 240px !important;
        margin-bottom: 10px;
    }
}

@media (max-width: 479px) {
    body {
        overflow-x: hidden;
    }
    #hero {
        padding-bottom: 50px;
    }
    .btn-hero {
        padding: 0;
    }
    .btn-hero a {
        margin: 5px 0;
    }
    #hero .mockup {
        left: -100px;
        width: 300px;
        bottom: -30px;
    }
    .popup-video {
        display: block;
        margin: 10px 0;
    }
    .btn-wrapper .button {
        margin: 10px 0;
    }
    .headline h2,
    .headline2 h2 {
        font-size: 30px;
    }
    .content-media a {
        font-size: 18px;
    }
    #social .share a {
        display: block;
        float: none;
        margin: 20px 0;
        width: 100%;
    }
}

@media (min-width: 768px) {}

@media (min-width: 768px) and (max-width: 991px) {
    /* Navigation mobile appear earlier */
    
    .navbar-default .navbar-collapse {
        margin-left: -6%;
        margin-right: -6%;
        background: #fff;
    }
    .navbar-header {
        float: none;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    .navbar-collapse.collapse {
        display: none !important;
        overflow: auto !important;
    }
    .navbar-collapse.collapse.in {
        display: block !important;
    }
    #header-nav>li>a {
        padding-top: 3px;
        padding-bottom: 3px;
    }
    #header-nav .open .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        box-shadow: none;
        text-align: center;
    }
    #header-nav .open .dropdown-menu li a {
        padding-top: 0px;
        padding-bottom: 0px;
    }
    /* End Navigation */
    
    .author .avatar {
        margin-left: 460px;
    }
    .author .text {
        width: 450px;
    }
}

@media (min-width: 992px) {}

@media (min-width: 1200px) {
    #social .title-social {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (min-width: 1700px) {
    #hero {
        padding-bottom: 380px;
    }
}
