@import url(lato.css);

*, *:after, *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
body, html { font-size: 100%; padding: 0; margin: 0; height: 100%;}

/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before, .clearfix:after { content: " "; display: table; }
.clearfix:after { clear: both; }

body {
    font-family: 'Lato', Calibri, Arial, sans-serif;
    color: #777;
    background: url("../image/symphony.png");
}

a {
    color: #555;
    text-decoration: none;
    outline: none;
}

a:hover,
a:active {
    color: #777;
}

a img {
    border: none;
}

/* Custom styles */
.book-cover {
    width: 25%;
}

#jquery_videoPlayer_container {
    display: none;
    width: 100%;
    height: 100%;
}

.jp-video {
    border: none;
}

.dark-bg {
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: #111;
}

#profile-page-2,
#second-ask-2,
#crushed,
#new-beginning,
#first-date-directions,
#first-date-monsoon,
#first-date-fountain {
    display: none;
}

.chat-wrapper-container {
    width: 100%;
    height: 600px;
    vertical-align: middle;
}

.chat-wrapper {
    width: 100%;
    height: 200px;
    padding: 5%;
    opacity: 0;
}

.chat-wrapper > .chat-head {
    float: left;
}

.chat-wrapper.chat-right > .chat-head {
    float: right;
}

.chat-wrapper.chat-right > .chat-text {
    float: right;
}

.chat-head {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.chat-text {
    display: inline-block;
    line-height: 100px;
    font-size: 1.4em;
    margin-left: 2%;
    margin-right: 2%;
}

.special-image {
    width: 500px;
    border-radius: 2%;
}

.container {
    height: 100%;
    padding: 5%;
}

.column {
    float: left;
    width: 50%;
    padding: 0 2em;
    min-height: 300px;
    position: relative;
}

.column:nth-child(2) {
    box-shadow: -1px 0 0 rgba(0,0,0,0.1);
}

.column p {
    font-weight: 300;
    font-size: 2em;
    padding: 0;
    margin: 0;
    text-align: right;
    line-height: 1.5;
}

a {
    color: #1baede;
}

a:hover,
a:active {
    opacity: 0.6;
}

a {
    background: #1baede;
    color: #fff;
}

@media screen and (max-width: 46.0625em) {
    .column {
        width: 100%;
        min-width: auto;
        min-height: auto;
        padding: 1em;
    }

    .column p {
        text-align: left;
        font-size: 1.5em;
    }

    .column:nth-child(2) {
        box-shadow: 0 -1px 0 rgba(0,0,0,0.1);
    }
}

.bb-custom-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.bb-custom-wrapper .bb-bookblock {
    width: 100%;
    height: 100%;
    -webkit-perspective: 2000px;
    perspective: 2000px;
}

.bb-custom-side {
    width: 50%;
    float: left;
    height: 100%;
    overflow: hidden;
    background: #fff;
    /* Centering with flexbox */
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -moz-box-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.bb-custom-full h1 {
    font-size: 2.625em;
    line-height: 1.3;
    margin: 0;
    font-weight: 300;
    background: #fff;
}

.bb-custom-full h1 span {
    display: block;
    font-size: 60%;
    opacity: 0.3;
    padding: 0 0 0.6em 0.1em;
}

.bb-custom-full {
    text-align: center;
    padding-top: 15%;
    width: 100%;
    float: left;
    height: 100%;
}

.bb-custom-side p, .bb-custom-full p {
    padding: 8%;
    font-size: 1.8em;
    font-weight: 300;
}

.bb-custom-wrapper h3 {
    font-size: 1.4em;
    font-weight: 300;
    margin: 0.4em 0 1em;
}

.bb-custom-wrapper > nav {
    width: 100%;
    height: 40px;
    margin: 1em auto 0;
    position: fixed;
    bottom: 20px;
    z-index: 1000;
    text-align: center;
}

.bb-custom-wrapper > nav a {
    display: inline-block;
    width: 40px;
    height: 40px;
    text-align: center;
    border-radius: 2px;
    background: #1baede;
    color: #fff;
    font-size: 0;
    margin: 2px;
}

.bb-custom-wrapper > nav a:hover {
    opacity: 0.6;
}

/* No JS */
.no-js .bb-custom-wrapper {
    height: auto;
}

.no-js .bb-custom-content {
    height: 470px;
}

@media screen and (max-width: 61.75em){
    .bb-custom-side {
        font-size: 70%;
    }
}

@media screen and (max-width: 33em){
    .bb-custom-side {
        font-size: 60%;
    }
}
