/*-------------------------------------------------------------------------------------
Theme Name: Alex Zane
Theme URI:  http://themes.madsparrow.xyz/alex_zane/index.html
Version:    1.0
Author:     madsparrow
-------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------
[TABLE OF CONTENTS]

    01. GENERAL
    02. BUTTON
    03. HEADER
    04. MOBILE MENU NAVIGATION
    05. PARALLAX
    06. HOME PAGE
    07. GALLERY AND BLOG ITEM
    08. BLOG POST PAGE
    09. SOCIAL ICONS
    10. FORMS
    11. FOOTER
    12. RESPONSIVE
    
    font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
    text: #666
    hover: #167bc0
    
-------------------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------------*/
/*  01. GENERAL
/*-----------------------------------------------------------------------------------*/
body {
    font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
    color: #666;
    letter-spacing: .1rem;
    opacity: 0;
}

h1,
h2,
h3,
h4 {
    font-weight: 900;
    text-transform: uppercase;
}

h1 {
    font-size: 6rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2.3rem;
}

p {
    font-weight: 300;
    line-height: 1.5;
    margin: 1rem 0;
}

a {
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

a:visited,
a:active,
a:link {
    text-decoration: none;
}

ul {
    list-style: none;
}

blockquote {
    padding: 0.75rem 1.25rem;
    color: #777;
    font-weight: 200;
    margin: 0 0 2rem;
    font-size: 1.8rem;
    border-left: .3rem solid #eee;
}

.fa {
    margin: 0 .5rem;
}

.fa-heart {
    color: #666;
    margin-right: .5rem;
    -webkit-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
}

.fa-heart:hover {
    color: #167bc0;
}

.container {
    width: 100%;
    padding: 0;
}

.content {
    background-image: url(images/bg.png);
    min-height: 100%;
}

.darker {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.tag {
    border-top: solid 1px #eee;
    padding: 1rem 0;
    margin-top: 5rem;
}

.tag a:hover {
    color: #666;
}

/*-----------------------------------------------------------------------------------*/
/*  02. BUTTON
/*-----------------------------------------------------------------------------------*/
.btn {
    padding: 1rem 2rem;
    position: relative;
    border: none;
    opacity: 0;
    z-index: 1;
    background: none;
    border: none;
    border-radius: 5rem !important;
    text-transform: uppercase;
    color: #fff;
    -webkit-transition: color 0.3s;
    transition: color 0.3s;
    -webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);
    transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);
}

.btn>span {
    padding-left: 0.35em;
}

.btn::before,
.btn::after {
    content: '';
    z-index: -1;
    border-radius: inherit;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    -webkit-backface-visibility: hidden;
    -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
    transition: transform 0.3s, opacity 0.3s;
    -webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);
    transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);
}

.btn::before {
    border: .2rem solid #167bc0;
    opacity: 0;
    -webkit-transform: scale3d(1.2, 1.2, 1);
    transform: scale3d(1.2, 1.2, 1);
}

.btn::after {
    background: #167bc0;
}

.btn:hover {
    color: #167bc0;
}

.btn:hover::before {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
}

.btn:hover::after {
    opacity: 0;
    -webkit-transform: scale3d(0.8, 0.8, 1);
    transform: scale3d(0.8, 0.8, 1);
}


/*Load more*/
.load-more {
    text-align: center;
    width: 100%;
    display: inline-block;
    padding-top: 5rem;
}

/* Top buttone */
.back-top {
    display: inline-block;
    height: 4rem;
    width: 4rem !important;
    position: fixed;
    bottom: 5rem;
    right: 4rem;
    white-space: nowrap;
    visibility: hidden;
    opacity: 0;
    z-index: 5;
    padding: .5rem 0 0 0;
    text-align: center;
    border-radius: 4rem;
    -webkit-transition: opacity .3s 0s, visibility 0s .3s;
    -moz-transition: opacity .3s 0s, visibility 0s .3s;
    -o-transition: opacity .3s 0s, visibility 0s .3s;
    transition: opacity .3s 0s, visibility 0s .3s;
}

.back-top.back-top-is-visible,
.back-top.back-top-fade-out,
.no-touch .back-top:hover {
    -webkit-transition: opacity .3s 0s, visibility 0s 0s;
    -moz-transition: opacity .3s 0s, visibility 0s 0s;
    transition: opacity .3s 0s, visibility 0s 0s;
}

.back-top.back-top-is-visible {
    /* the button becomes visible */
    visibility: visible;
    opacity: 1;
}

.back-top.back-top-fade-out {
    /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
    opacity: .5;
}

.back-top:hover {
    opacity: 1;
}

button {
    width: 17rem;
}

.pager a {
    min-width: 13rem;
    padding: 1rem 2rem !important;
}

.pager li>a:hover,
.pager li>a:focus {
    background: transparent;
    border: none;
}

.like {
    text-align: center;
    color: #aaa;
}

.like i {
    font-size: 3.4rem;
    vertical-align: middle;
    cursor: pointer;
    color: #aaa;
}

/*-----------------------------------------------------------------------------------*/
/*  03. NAVIGATION
/*-----------------------------------------------------------------------------------*/
/*Nav*/
nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    text-align: right;
}

nav ul li {
    display: inline-block;
    text-align: left;
    margin-left: 2em;
}

nav a {
    display: block;
    text-transform: uppercase;
    text-decoration: none;
    padding: .7em 0 .7em 0;
    color: #fff;
    text-shadow: 0 .1rem .1rem rgba(0, 0, 0, 0.5);
}

nav>a:hover {
    color: #167bc0;
    text-shadow: none;
}

/* Hide Dropdowns by Default */
nav ul ul {
    z-index: 4;
    position: absolute;
    margin-left: -2em;
    opacity: 0;
    visibility: hidden;
    text-align: center;
    transition: all .1s cubic-bezier(0.72, .1, .72, .96);
}

/* Display Dropdowns on Hover */
nav ul li:hover>ul {

    opacity: 1;
    visibility: visible;
}

/* Fisrt Tier Dropdown */
nav ul ul li {
    width: 15rem;
    float: none;
    display: list-item;
    position: relative;
    background: #fff;
    border-bottom: solid .1rem rgba(255, 255, 255, .1);
}

nav ul ul li:last-child {
    border-bottom: none;
}

nav ul ul li a {
    font-size: 1.2rem;
    color: #666 !important;
    text-shadow: none;
    padding-left: 2rem;
}

nav ul ul li a:hover {
    color: #167bc0 !important;
}

/* Second, Third and more Tiers */
nav ul ul ul li {
    top: -4.5rem;
    left: 11.5rem;
}

.header {
    position: relative;
    height: 30rem;
    width: 100%;
    color: #fff;
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#a6000000', GradientType=0);
    /* IE6-9 */
}

#logo {
    display: inline-block;
}

#logo img {
    box-shadow: none;
    width: 6%;
    height: auto;
}

#menu {
    display: inline-block;
    float: right;
}

.main-menu {
    padding: 0 7rem;
    margin: 5rem auto;
}

/*Fixed header class*/
.fixed {
    position: fixed;
    height: auto;
    left: 0;
    right: 0;
    z-index: 2;
    color: #fff !important;
    background: transparent;
}

.menu-active {
    color: #167bc0;
}

/*-----------------------------------------------------------------------------------*/
/*  4. MOBILE MENU NAVIGATION
/*-----------------------------------------------------------------------------------*/
.mobile-menu {
    cursor: pointer;
    color: #fff;
}

.mobile-menu-overlay {
    width: 100%;
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 5;
    text-align: right;
    background: #167bc0;
    overflow: auto;
    padding: 2.4rem 2.6rem;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all ease-in-out 0.5s;
    transition: all ease-in-out 0.5s;
}

.mobile-menu-content {
    position: absolute;
    right: 2.6rem;
    top: 10rem;
    overflow-y: auto;
}

.mobile-menu-item a {
    font-size: 2.4rem;
    text-transform: uppercase;
    color: #fff;
}

.mobile-submenu {
    display: none;
}

.mobile-submenu a {
    font-size: 1.8rem;
    opacity: .8;
}

.visible {
    opacity: 1;
    visibility: visible;
}

/*-----------------------------------------------------------------------------------*/
/*  05. PARALLAX
/*-----------------------------------------------------------------------------------*/
.parallax {
    background-image: url(../images/Movenpick-bg.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    position: fixed;
    min-height: 35rem;
    padding-top: 6.5rem;
    width: 100%;
    top: 0;
    left: 0;
}

.item-category {
    text-align: center;
    z-index: 1;
    opacity: 1;
    display: inline-block;
    width: 100%;
    margin: 5rem 0 0 0;
}

/*Border bottom parallax*/
.item-category .border div {
    height: 20px;
    bottom: 0;
    left: 0;
    top: auto;
    background: url(../images/border.svg) repeat-x 100% 100%;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

/*-----------------------------------------------------------------------------------*/
/*  06. HOME PAGE
/*-----------------------------------------------------------------------------------*/
/*Home page border*/
.border div {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
}

.border .frames div {
    position: absolute;
    width: 100%;
    height: 2rem;
    top: 0;
    background: url(../images/border.svg) 50% 65%
}

.border .frames div:nth-child(3) {
    bottom: 0;
    top: auto;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

.border .frames div:nth-child(4) {
    right: 0;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

.border .frames div:nth-child(2),
.border .frames div:nth-child(4) {
    width: 2rem;
    height: 100%;
    background: url(../images/border-vert.svg) 65% 50%;
}

.border .corners div::before,
.border .corners div::after {
    content: "";
    background: url("../images/corner.svg") no-repeat center center;
    width: 5rem;
    height: 5rem;
    position: absolute;
    left: 1rem;
    top: 1.1rem;
}

.border .corners div:nth-child(1)::after {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
    left: auto;
    right: 1rem;
    top: 1.1rem;
}

.border .corners div:nth-child(2)::before {
    left: auto;
    right: 1rem;
    top: auto;
    bottom: 1.1rem;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

.border .corners div:nth-child(2)::after {
    top: auto;
    bottom: 1.1rem;
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    transform: rotate(270deg);
}

.section {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 0%;
    min-height: 80%;
    color: #fff;
    animation-delay: .8s;
}

/*Images home page version 1*/
#section1 {
    background-image: url(../images/Movenpick-bg.jpg);
}

#section2 {
    background-image: url(../images/RadissonBlu-bg.jpg);
}

#section3 {
    background-image: url(../images/Ahoy-bg.jpg);
}

#section4 {
    background-image: url(../images/Okura-bg.jpg);
}

/*Images home page version 2*/
#section1-v2 {
    background-image: url(../images/home/home.jpg);
}

#section2-v2 {
    background-image: url(../images/home/home.jpg);
}

#section3-v2 {
    background-image: url(../images/home/home.jpg);
}

#section4-v2 {
    background-image: url(../images/home/home.jpg);
}

.cover-titles {
    position: relative;
    margin-top: 5rem;
    width: 100%;
    padding: 0;
    opacity: 0;
    -webkit-transition: all 1s ease;
    transition: all 1s ease;
}

.cover-titles a {
    margin-left: .8rem;
}

.section .darker {
    background: #111;
    opacity: 1;
    -webkit-transition: all .8s ease;
    -moz-transition: all .8s ease;
    -ms-transition: all .8s ease;
    -o-transition: all .8s ease;
    transition: all .8s ease;
}

.active.section .darker {
    opacity: .1;
}

.darker.medium {
    background-image: none;
    opacity: 1;
}

.active.section .darker.medium {
    opacity: .3;
    background-image: url(../images/dark-denim-3.png);
}

.active .cover-titles {
    opacity: 1;
    max-width: 120rem;
    padding: 0 6.5rem 0 6.5rem;
}

.align-left p:first-child {
    text-transform: uppercase;
    font-weight: 600;
    margin: 0 0 0 9rem;
    width: 15rem;
    text-align: right;
    border-bottom: solid .2rem #167bc0;
}

.align-left p:after {
    width: 100%;
    height: 2rem;
}

.align-left p {
    max-width: 80rem;
    padding: .8rem;
    margin: 0 0 2rem 0;
    text-shadow: 0 .1rem .1rem rgba(0, 0, 0, 1);
}

.align-left .title {
    font-size: 12.8rem;
    margin: 0;
    width: 100%;
    letter-spacing: -.5rem;
    /* overflow: hidden; */
    -webkit-text-shadow: 0 .3rem .9rem rgba(0, 0, 0, 0.4);
    text-shadow: 0 .3rem .9rem rgba(0, 0, 0, 0.4);
}

.align-left .title h1 {
    margin: 0;
    position: relative;
    font-size: 13.6rem;
}

.align-right p:first-child {
    text-transform: uppercase;
    font-weight: 600;
    padding-right: 0;
    margin: 0 0 0 9rem;
    width: 15rem;
    float: right;
    opacity: 1;
    text-align: right;
    border-bottom: solid .2rem #167bc0;
}

.align-right p {
    opacity: 0;
    float: right;
    text-align: right;
    margin: 0 0 2rem 0;
    -webkit-transition: all ease .7s;
    -webkit-transition-delay: .5s;
    -moz-transition: all ease .7s;
    -moz-transition-delay: .5s;
    -ms-transition: all ease .7s;
    -ms-transition-delay: .5s;
    -o-transition: all ease .7s;
    -o-transition-delay: .5s;
    transition: all ease .7s;
    transition-delay: .5s;
}

.align-right .title {
    display: inline-block;
    margin: 0;
    width: 100%;
    text-align: right;
    float: right;
    -webkit-text-shadow: 0 .3rem .9rem rgba(0, 0, 0, 0.4);
    text-shadow: 0 .3rem .9rem rgba(0, 0, 0, 0.4);
}

.cover-titles-2 {
    max-width: 120rem;
    margin: 0 auto;
}

.cover-titles-2,
.right-block,
.left-block {
    opacity: 0;
    -webkit-transition: all ease-in-out .7s;
    -moz-transition: all ease-in-out .7s;
    -ms-transition: all ease-in-out .7s;
    -o-transition: all ease-in-out .7s;
    transition: all ease-in-out .7s;
}

.right-block {
    float: right;
}

.right-block img {
    width: 100%;
    border: solid 1px rgba(255, 255, 255, 1);
}

.active .cover-titles-2 {
    opacity: 1;
    padding: 7rem 7rem;
}

.active .left-block,
.active .right-block,
.active .align-right p {
    opacity: 1;
}

.enter-category {
    text-align: center;
    display: inline-block;
    width: 100%;
    margin-top: 3%;
}

/*-----------------------------------------------------------------------------------*/
/*  07. GALLERY AND BLOG ITEM
/*-----------------------------------------------------------------------------------*/
/*Grid style*/
.row {
    margin: 0 auto;
    padding: 7rem 0;
    max-width: 120rem;
}

.row div {}

.row a {
    color: rgba(119, 119, 121, .5);
}

.row img {
    width: 100%;
}

.masonry img {
    z-index: 1;
    opacity: 0;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.grid-item {
    margin-top: 3rem;
    cursor: pointer;
}

.grid-item figcaption {
    display: none;
}

/*Blog style*/
.blog-item {
    margin-bottom: 6rem;
}

.blog-item.timeline:nth-child(2) {
    margin-top: 31rem;
}

.blog-item a {
    color: #167bc0;
}

.blog-description {
    height: 26.4rem;
}

.post-info {
    min-height: 30rem;
    padding-bottom: 1rem;
    overflow: hidden;
    opacity: 0;
    animation-delay: .1s !important;
    border-bottom: solid 1px #eee;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.post-info h3 {
    margin-top: 0;
}

.date {
    position: relative;
    font-size: 6em;
    font-weight: 900;
    text-align: left;
    opacity: .6;
    margin-top: 1rem;
}

.date span {
    font-size: 1.2rem;
    font-weight: 400;
    position: absolute;
    bottom: 2.6rem;
    left: 10rem;
    width: 3rem;
}

.post-info .text-left {
    padding: 0
}

/*Hover item*/
.grid-item:hover,
.blog-item:hover {
    z-index: 3;
}

.grid-item:hover img,
.blog-item:hover img {
    -webkit-box-shadow: 0 2.5rem 5rem rgba(0, 0, 0, 0.6);
    -moz-box-shadow: 0 2.5rem 5rem rgba(0, 0, 0, 0.6);
    box-shadow: 0 2.5rem 5rem rgba(0, 0, 0, 0.6);
}

.text-right i {
    margin-right: -4.6rem;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.timeline .text-right i {
    margin-right: -3.2rem;
}

.blog-item:hover .text-right i {
    margin-right: -2.5rem;
}

.timeline:hover .text-right i {
    margin-right: -1rem;
}

.blog-item:hover .post-info {
    border-color: #167bc0;
}

/*-----------------------------------------------------------------------------------*/
/*  08. BLOG POST PAGE
/*-----------------------------------------------------------------------------------*/
.blog-post-meta {
    color: #167bc0;
}

.caption {
    text-align: center;
    font-size: 1.4rem;
    padding: 1rem;
    font-style: italic;
    margin: 1.5rem;
    display: block;
}

.post-comments .comments-title {
    margin-bottom: 3rem;
    padding-top: 3rem;
    border-top: solid .1rem #eee;
}

.post-comments .user-avatar {
    max-width: 7rem;
    float: left;
}

.post-comments .comment-content {
    margin-left: 10rem;
}

.post-comments .comment-meta {
    font-size: 1.2rem;
}

.comment-meta span:first-child {
    margin-left: 0;
}

.comment-meta span {
    margin-left: 1rem;
    margin-right: 1rem;
}

.comment-list li {
    margin-bottom: 5rem;
}

.comment-list ul {
    margin-top: 5rem;
    margin-left: 10rem;
}

ul.comment-list {
    padding-left: 0;
}

.user-avatar {
    width: 7rem;
}

.post-comments .comment-meta a {
    margin-left: 0.8rem;
    margin-right: 0.8rem;
    display: inline-block;
    font-size: 1.2rem;
    letter-spacing: 0.1rem;
    color: #167bc0;
}

.post-comments .name {
    margin-bottom: 1rem;
}

.comment-form textarea {
    min-height: 20rem;
}

.post-comment-respond .comment-form .column {
    float: left;
}

.post-author,
.post-comments,
.post-comment-respond {
    border-color: #eee;
}

.post-comment-respond .reply-title {
    margin-bottom: 3rem;
}

.column>*:first-child {
    margin-top: 0;
}

.pagination-3 ul {
    border-top: 1 solid #eee;
}

.pagination-3 li:first-child {
    float: left;
}

.pagination-3 ul li {
    display: inline-block;
}

.pagination-3 li {
    margin-top: -.1rem;
    margin-left: -0.4rem;
}

/*-----------------------------------------------------------------------------------*/
/*  09. SOCIAL ICONS
/*-----------------------------------------------------------------------------------*/
/*socials links*/
.social-icons {
    margin-top: 2rem;
}

.social-icons a {
    text-align: center;
    width: 4.2rem;
    height: 4.2rem;
    padding: 0;
    margin: 2rem 1rem 1rem 0;
}

.social-icons i {
    padding: .8rem 0;
    color: #fff;
}

.btn.facebook:hover i {
    color: #3b5998;
}

.btn.youtube:hover i {
    color: #CD201F;
}

.btn.px:hover i {
    color: #252525;
}

.btn.flickr:hover i {
    color: #f00084;
}

.btn.pinterest:hover i {
    color: #cb2027;
}

.btn.twitter:hover i {
    color: #00aced;
}

.btn.instagram:hover i {
    color: #125688;
}

.btn.google:hover i {
    color: #dd4b39;
}

.clients img {
    box-shadow: none;
    position: relative;
    width: 10rem;
    margin: 2rem 2rem 2rem 0;
    opacity: 1;
}

/*-----------------------------------------------------------------------------------*/
/*  10. FORMS
/*-----------------------------------------------------------------------------------*/
.contact_form {
    margin-top: 3rem;
}

.post-comment-respond input,
.post-comment-respond textarea,
.contact_form input,
.contact_form textarea {
    background: transparent;
    padding-left: 3rem;
}

.form-group span {
    position: absolute;
    left: 2rem;
    top: .7rem;
    opacity: .7;
}

.form-group label.error {
    color: #167bc0;
    font-size: 85%;
}

.contact_form h3,
.contact_form p {
    text-align: center;
}

.form-control {
    box-shadow: none;
    border-radius: 0;
    border: solid .1rem #d9d9d9;
    -webkit-transition: all ease-in-out .2s;
    -moz-transition: all ease-in-out .2s;
    -ms-transition: all ease-in-out .2s;
    -o-transition: all ease-in-out .2s;
    transition: all ease-in-out .2s;
    -webkit-box-shadow: none;
    -moz--box-shadow: none;
    -ms-box-shadow: none;
    -o-box-shadow: none;
    box-shadow: none;
}

.form-control:focus {
    border: solid .1rem #666;
    -webkit-box-shadow: none;
    box-shadow: none;
}

textarea.form-control {
    min-height: 15rem;
}

/*-----------------------------------------------------------------------------------*/
/*  11. FOOTER
/*-----------------------------------------------------------------------------------*/

#footer {
    display: block;
    width: 100%;
    height: 8rem;
    padding-top: 3rem;
    z-index: 2;
    color: #666;
    text-align: center;
    bottom: 0;
}

/*-----------------------------------------------------------------------------------*/
/*  12. RESPONSIVE
/*-----------------------------------------------------------------------------------*/
@media (max-width: 1024px) {
    .row {
        margin: 0 50px;
    }

    .blog-item.timeline:nth-child(2) {
        margin-top: 33%;
    }

    .align-left .title {
        font-size: 86;
    }

    .align-right .title {
        font-size: 4.5rem;
        width: auto;
        text-align: right;
    }

    .active .cover-titles-2 {
        padding: 4rem 8.5rem;
    }

    .active .right-block {
        padding: 0;
        opacity: 1;
    }
}

@media (max-width: 760px) {
    .row {
        max-width: 100%;
        padding: 30px 0;
        margin: 0 15px;
    }

    .content {
        background-image: none;
        background-color: #fcfcfc;
    }

    .section {
        opacity: 1;
    }

    .header {
        height: 20rem;
    }

    .main-menu {
        padding: 0 3rem;
        margin: 2.5rem auto;
    }

    .border .frames div {
        height: 15px;
    }

    .border .frames div:nth-child(2),
    .border .frames div:nth-child(4) {
        width: 15px;
    }

    .border .corners div::before,
    .border .corners div::after {
        display: none;
    }

    .item-category {
        padding: 0 1rem;
        margin: 1rem 0px;
    }

    .item-category h1 {
        font-size: 3rem !important;
    }

    .section {
        opacity: 1;
    }

    .active .cover-titles {
        padding: 0;
    }

    .blog-item:nth-child(2),
    .blog-item.timeline:nth-child(2) {
        margin-top: 0;
    }

    .left-block {
        margin: 2rem 0 0;
    }

    .align-left p:first-child {
        margin: 0 auto;
        padding-bottom: 0;
        text-align: center;
    }

    .align-left .title {
        font-size: 5rem;
        letter-spacing: 0;
        text-align: center;
    }

    .align-right .title {
        float: none;
        width: 100%;
        text-align: center;
    }

    .align-left p {
        margin: 0 auto 1.2rem auto;
        text-align: center;
        float: none;
        padding: 0;
    }

    .cover-titles {
        text-align: center;
    }

    .cover-titles {
        padding: 0 5%;
    }

    .cover-titles-text {
        margin: 0 auto;
    }

    .post-info {
        min-height: 25rem;
    }

    .date {
        position: relative;
        font-size: 4em;
        font-weight: 900;
        text-align: left;
        opacity: .8;
    }

    .date span {
        font-size: 1.2rem;
        font-weight: 400;
        left: 7rem;
        position: absolute;
        bottom: 1.6rem;
        width: 3rem;
    }

    .date span i {
        display: none;
    }

    .post-comments .user-avatar {
        width: 3.5em;
        margin-right: 1rem;
    }

    .post-comments .comment-content {
        margin-left: 0;
    }

    .comment-list ul {
        margin: 0;
    }

    .comment-list div p {
        margin-top: 2rem;
    }

    .contact_form h3,
    .contact_form p {
        text-align: left;
    }

    .grid-item:hover img,
    .blog-item:hover img {
        -webkit-box-shadow: 0 1.2rem 1.8rem 0 rgba(0, 0, 0, 0.24), 0 1.7rem 5rem 0 rgba(0, 0, 0, 0.19);
        box-shadow: 0 1.2rem 1.8rem 0 rgba(0, 0, 0, 0.24), 0 1.7rem 5rem 0 rgba(0, 0, 0, 0.19);
    }

    .blog-item {
        margin-bottom: 3rem;
    }

    .back-top {
        right: 3rem;
        box-shadow: 0 .1rem .3rem rgba(0, 0, 0, .7);
    }

    .text-right i,
    .timeline .text-right i {
        margin-right: -1.2rem;
    }
}

@media (max-width: 600px) {
    .active .cover-titles-2 {
        margin: 2rem 0 0;
        padding: 0 3rem;
    }

    .align-left .title,
    .align-right .title {
        font-size: 10vw;
        letter-spacing: 0;
        text-align: center;
    }

    .align-right p:first-child {
        display: none;
    }

    .align-right p {
        margin: 0 auto 1.2rem auto;
        text-align: center;
        float: none;
    }
}

@media (max-height: 580px) and (orientation : landscape) {
    .align-right p:first-child {
        display: block;
        text-align: center;
        float: none;
        margin: 0 auto;
    }

    .right-block {
        display: none;
    }

    .active .cover-titles-2 {
        margin: 2rem 0 0;
        padding: 0 3rem;
    }

    .align-left .title,
    .align-right .title {
        font-size: 10vw;
        letter-spacing: 0;
        text-align: center;
    }

    .align-right p {
        margin: 0 auto 1.2rem auto;
        text-align: center;
        float: none;
        padding: 0;
    }
}

@media (max-height: 360px) {
    .cover-titles {
        margin-top: 0;
    }

    .align-left p {
        margin: 0 auto 1.2rem auto;
        max-width: 40rem;
    }

    .mobile-menu-content {
        top: 7rem;
    }

    #footer {
        height: 7rem;
    }
}