/*
* Theme Name: Toot
* Theme URI: http://www.lupusfilms.com
* Description: Wordpress theme for Lupus Films
* Version: 1.0
* Author: PoWWoW Social Media
*
* License: MIT
* License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
   See css/style.css for stylesheet
\*------------------------------------*/

/*---------------*\
    SCAFFOLD
\*---------------*/

*,
*:before,
*:after {
    box-sizing: border-box;
}

html {
    background-color: #f3f2f1;
}

html,
body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    padding: 60px 0 0 0;
    background-color: #f3f2f1;
    -webkit-transition-timing-function: cubic-bezier(0.485, 0.155, 0.24, 1.245) !important;
    transition-timing-function: cubic-bezier(0.485, 0.155, 0.24, 1.245) !important;
    -webkit-transition-duration: 500ms !important;
    transition-duration: 500ms !important;
}

@media screen and (min-width:800px) {
    body {
        padding: 60px 0 0 0;
    }
    body.scrolled {
        padding: 60px 0 0 0;
    }
    body.home {
        padding: 0;
    }
}

body.noscroll {
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
}

/*---------------*\
    TYPOGRAPHY
\*---------------*/

body {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    line-height: 1.4;
}

p {
    padding: 0;
    margin: 0 0 28px 0;
}

.page header p {
    margin: 0;
    padding: 0;
    text-transform: none;
}

a {
    color: #e0303f;
    text-decoration: none;
}

.item-info a {
    color: #fff;
    text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5 {
    margin: 0;
    font-weight: 900;
}

h1 {
    font-size: 30px;
}

h2 {
    font-size: 28px;
}

h3 {
    font-size: 26px;
}

h4 {
    font-size: 24px;
}

#clients h3,
.home #about h3 {
    padding: 20px;
    text-align: center;
    text-transform: uppercase;
}

.home #about p,
.home #about a {
    text-align: center;
}

.home #about a {
    text-decoration: underline;
}

.page h1 {
    text-transform: uppercase;
}

.article-content h3,
.article-content h4 {
    text-transform: uppercase;
}

#training p {
    text-align: center;
}

#training h2,
#training h3,
#training h4 {
    margin-top: 40px;
    text-align: center;
    text-transform: uppercase;
}

#training p:first-child {
    font-size: 20px;
}

article .subtitle {
    color: #e0303f;
    font-weight: 600;
}

#faq aside {
    font-size: 14px;
}


/*---------------*\
    CONTAINERS
\*---------------*/

.container-sm {
    max-width: 768px;
    margin: auto;
}

.container-lg {
    max-width: 980px;
    margin: auto;
}

/*---------------*\
   NAVIGATION
\*---------------*/

nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    height: 60px;
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #fff;
    -webkit-transition-timing-function: cubic-bezier(0.485, 0.155, 0.24, 1.245) !important;
    transition-timing-function: cubic-bezier(0.485, 0.155, 0.24, 1.245) !important;
    -webkit-transition-duration: 500ms !important;
    transition-duration: 500ms !important;
    border-bottom: 3px solid #dbd9d6;
    box-shadow: 0px 1px 20px rgba(0, 0, 0, 0.12);
}

@media screen and (min-width:800px) {
    nav {
        height: 60px;
        background-image: -webkit-linear-gradient(#fff, #d8d8d8);
        background-image: linear-gradient(#fff, #d8d8d8);
        border-bottom: 0;
    }
    .scrolled nav {
        height: 60px;
    }
}

nav .container-lg {
    height: 100%;
}

nav .container-lg {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    -js-display: flex;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

@media screen and (min-width:800px) {
    nav .container-lg {
        display: block;
        width: 100%;
    }
}

ul.menu {
    position: fixed;
    top: -100vh;
    left: 0;
    list-style: none;
    margin: 0;
    padding: 50px 0;
    height: 100%;
    width: 100%;
    -webkit-transition-timing-function: cubic-bezier(0.485, 0.155, 0.24, 1.245) !important;
    transition-timing-function: cubic-bezier(0.485, 0.155, 0.24, 1.245) !important;
    -webkit-transition-duration: 500ms !important;
    transition-duration: 500ms !important;
    background-color: #fff;
    text-transform: uppercase;
}

nav.active ul.menu {
    top: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    -js-display: flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

nav.active ul.menu li {
    padding: 10px 0;
}

nav.active #menu-item-71 {
    padding-bottom: 30px;
}

@media screen and (min-width:800px) {
    ul.menu {
        position: static;
        height: 100%;
        width: 100%;
        background-color: transparent;
        margin: 0;
        padding: 0;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        -js-display: flex;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
    }
}

ul.menu a {
    font-size: 17px;
    padding: 5px;
    color: #292524;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 900;
    border-bottom: 3px solid transparent;
}

ul.menu a:active,
ul.menu a:hover,
ul.menu a:focus,
ul.menu .current-menu-item a,
ul.menu .current-page-item a {
    border-bottom: 3px solid #e0303f;
}

ul.menu .current-menu-item.menu-logo a {
    border-bottom: 3px solid transparent;
}

.menu-logo {
    display: none;
}

@media screen and (min-width:800px) {
    .menu-logo {
        display: block;
    }
}

.separator a {
    display: none;
}

@media screen and (min-width:800px) {
    ul.menu .separator a {
        display: block;
        color: #dbd9d6;
    }
    ul.menu .separator a:hover,
    ul.menu .separator a:active,
    ul.menu .separator a:focus {
        border-bottom: 3px solid transparent;
    }
}

.nav-button,
.home-button {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    -js-display: flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    line-height: 60px;
}

.nav-button {
    position: relative;
    height: 100%;
    width: 50px;
    margin: 0;
    padding: 0;
    background-color: transparent;
    border: 0;
    box-shadow: none;
}

.nav-button:after {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    content: '';
    font-size: 30px;
    color: #e0303f;
    content: '\f0c9';
    font-family: 'FontAwesome';
}

nav.active .nav-button:after {
    content: '\f00d';
    font-family: 'FontAwesome';
}

nav img {
    height: 45px;
    z-index: 1000;
    -webkit-transition-duration: 500ms !important;
    transition-duration: 500ms !important;
}

.home-button img {
    padding-left: 10px;
}

@media screen and (min-width:800px) {
    .home-button,
    .nav-button {
        display: none;
    }
    nav img {
        height: 45px;
    }
    .scrolled nav img {
        height: 45px;
    }
}


/*---------------*\
    LOGO WRAPPER
\*---------------*/

.client-logos {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    -js-display: flex;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

/*---------------*\
    HEADER
\*---------------*/

header {
    width: 100%;
    margin: 0;
    padding: 40px 20px;
}

.category header,
.page header {
    height: 100px;
    display: table;
    padding: 0;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    background-color: #292524;
}

.category header h1,
.page header h1 {
    display: table-cell;
    vertical-align: middle;
}

.contact-heading {
    display: table-cell;
    vertical-align: middle;
}

.page header .contact-heading h1 {
    display: block;
    text-align: center;
}

.image-header {
    height: 80%;
    background-size: cover;
    background-position: center center;
}

/*---------------*\
    SECTION
\*---------------*/

section {
    width: 100%;
    margin: 0;
    padding: 40px 20px;
    display: inline-block;
}

section.carousel,
section.grid {
    width: 100%;
    margin: 0;
    padding: 0;
    display: inline-block;
    background-color: #292524;
}

.home section#about {
    background-color: #dbd9d6;
    margin-top: -5px;
}

/*---------------*\
    GRID
\*---------------*/

section.grid {
    margin-bottom: -6px;
}

.item.post {
    position: relative;
    height: 300px;
    width: 100%;
    float: left;
    background-size: cover;
    background-position: center center;
}

@media screen and (min-width:650px) and (max-width:979px) {
    .item.post.remainder-1:nth-last-of-type(2),
    .item.post.remainder-2:nth-last-of-type(2),
    .item.post.remainder-3:nth-last-of-type(2) {
        margin-left: 25%;
    }
}

@media screen and (min-width:980px) {
    .category-news .item.post.remainder-2:nth-last-of-type(4),
    .category-productions .item.post.remainder-2:nth-last-of-type(4) {
        margin-left: 25%;
    }
    .category-news .item.post.remainder-3:nth-last-of-type(6),
    .category-productions .item.post.remainder-3:nth-last-of-type(6) {
        margin-left: 12.5%;
    }
    .category-news .item.post.remainder-1:nth-last-of-type(2),
    .category-productions .item.post.remainder-1:nth-last-of-type(2) {
        margin-left: 37.5%;
    }
}

.item.logo {
    height: auto;
    width: 50%;
    float: left;
}

.item.logo a {
    width: 100%;
}

@media screen and (min-width:800px) {
    .item.logo {
        width: 20%;
    }
}

.item.logo img {
    height: auto;
    max-width: 150px;
    margin: auto;
    display: block;
}

.page-id-28 .item.logo img {
    max-width: 100px;
}

@media screen and (min-width:640px) {
    .item.post {
        width: 50%;
    }
}

@media screen and (min-width:980px) {
    .item.post {
        width: 25%;
    }
    .category-team .item.post {
        width: 33.333%;
    }
}

.item-info {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 20px;
    transition: opacity 0.25s ease-in-out;
    -moz-transition: opacity 0.25s ease-in-out;
    -webkit-transition: opacity 0.25s ease-in-out;
    display: table;
    color: #fff;
    background-color: rgba(224, 48, 63, 0.75);
    text-align: center;
}

.item-info-inner {
    display: table-cell;
    vertical-align: middle;
}

.item.post:hover .item-info,
.item.post:focus .item-info {
    opacity: 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    -js-display: flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    color: #fff;
    background-color: rgba(224, 48, 63, 0.75);
    text-align: center;
}

/*---------------*\
    POPUP
\*---------------*/

.popup {
    display: none;
    z-index: -1;
}

.popup.open {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 900;
    height: 100%;
    width: 100%;
    margin-top: 60px;
    overflow-y: scroll;
    background-color: rgba(0, 0, 0, 0.5);
}

@media screen and (min-width:800px) {
    .popup.open {
        margin-top: 60px;
    }
    .scrolled .popup.open {
        margin-top: 60px;
    }
}

.category-productions .popup.open,
.category-news .popup.open {
    background-color: #f3f2f1;
}

.page-template-page-carousel .popup.open {
    background-color: #f3f2f1;
}

.category-team .popup.open {
    background-color: rbga(0, 0, 0, 0.75);
}

button.close-popup {
    position: absolute;
    top: -30px;
    right: 0;
    z-index: 1000;
    height: 30px;
    width: 30px;
    margin: 0;
    padding: 0;
    border: 0;
    line-height: 22px;
    font-size: 20px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.6);
    box-shadow: none;
    display: block;
    cursor: pointer;
}

.category-productions button.close-popup,
.page-id-2 button.close-popup,
.category-news button.close-popup {
    margin-top: -80px;
}

@media screen and (min-width:800px) {
    button.close-popup {
        right: -30px;
    }
}

/*---------------*\
    MAIN
\*---------------*/

main {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

/*---------------*\
    ARTICLE
\*---------------*/

article {
    width: 100%;
    margin: 0;
    padding: 20px 20px 40px 20px;
    background-color: #fff;
}

#training article,
#faq article,
#faq main {
    background-color: transparent;
    border-bottom: 0;
}

.single article,
.page article,
.popup main {
    border-bottom: 3px solid #dbd9d6;
}

.article-header {
    padding: 0 0 20px 0;
    border-bottom: 3px solid #dbd9d6;
}

.status {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    -js-display: flex;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.article-content {
    padding: 20px 0;
}

.article-footer {
    padding: 20px 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    -js-display: flex;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    border-top: 3px solid #dbd9d6;
}

.popup-main-section {
    display: block;
    margin-bottom: 40px;
}

main.overlap {
    display: inline-block;
}

main.overlap article {
    position: relative;
    z-index: 900;
    margin: -80px 0 0;
}

main.fullwidth {
    display: inline-block;
    background-color: #fff;
}

main.fullwidth article {
    width: 100%;
}

main.fullwidth aside {
    width: 100%;
}

@media screen and (min-width:800px) {
    main.fullwidth article {
        width: 60%;
        float: left;
    }
    main.fullwidth aside {
        width: 40%;
        float: left;
    }
}

@media screen and (min-width:800px) {
    #faq main.fullwidth article {
        width: 70%;
        float: left;
    }
    #faq main.fullwidth aside {
        width: 30%;
        float: left;
    }
}

#faq main.fullwidth aside {
    padding: 20px;
}

/*---------------*\
    FAQ
\*---------------*/

.question {
    margin-top: 70px;
}

.question:first-child {
    margin-top: 0;
}

aside img {
    height: auto;
    width: 100%;
    padding: 20px;
}

/*---------------*\
    FILMOGRAPHY
\*---------------*/

.filmography {
    padding: 20px 0 20px 0;
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
}

@media screen and (min-width:800px) {
    .filmography {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
}

/*---------------*\
    CONTACT
\*---------------*/

.map-wrap {
    position: relative;
    display: inline-block;
    height: 100%;
    width: 100%;
}

.page-template-page-contact footer {
    display: inline-block;
    margin-top: 120px;
    width: 100%;
}

@media screen and (min-width:800px) {
    .page-template-page-contact footer {
        display: block;
        margin-top: 0;
    }
}

@media screen and (min-width:800px) {
    .map-wrap {
        height: 100%;
    }
}

#map {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

.directions {
    position: static;
    height: auto;
    width: 100%;
    border-bottom: 3px solid #dbd9d6;
    background-color: #fff;
    padding: 40px 20px;
}

@media screen and (min-width:800px) {
    .directions {
        position: absolute;
        top: 40px;
        left: 40px;
        z-index: 900;
        height: auto;
        width: 30%;
        margin: 40px;
    }
}

.directions h4 {
    text-transform: uppercase;
    margin-bottom: 28px;
}

/*---------------*\
    TEAM
\*---------------*/

.team-social {
    max-width: 500px;
    text-align: center;
    margin: 0;
}

.team-social li {
    display: inline;
    list-style-type: none;
    margin: 0;
    padding: 0 5px;
}

.team-social li a {
    display: inline-block;
    height: 20px;
    width: 20px;
    color: #fff;
    border-radius: 10px;
    line-height: 20px;
    text-align: center;
}

.team-social li a.facebook {
    background-color: #3765a3;
}

.team-social li a.google-plus {
    background-color: #dc4e42;
}

.team-social li a.linkedin {
    background-color: #0077b5;
}

.team-social li a.twitter {
    background-color: #659fcb;
}

.team-social li a:hover {
    background-color: #e0303f;
}

/*------------------------*\
    RESPONSIVE VIDEO EMBED
\*------------------------*/

.video-wrapper {
    position: relative;
    margin: 0 0 20px 0;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*---------------*\
    PARTNERS
\*---------------*/

#partners h4 {
    text-align: center;
    padding-bottom: 30px;
}

#partners .item.logo {
    width: 50%;
}

@media screen and (min-width:640px) {
    #partners .item.logo {
        width: 25%;
    }
}

@media screen and (min-width:800px) {
    #partners .item.logo {
        width: 20%;
    }
}


/*-------------------*\
    HOMEPAGE VIDEO
\*-------------------*/

#video-home {
    position: relative;
    height: 80%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

@media screen and (min-width:800px) {
    #video-home {
        padding: 60px 0 0 0;
    }
}

@media screen and (orientation:portrait) {
    #video-home {
        height: auto;
    }
}

video {
    min-width: 100%;
    min-height: 100%;
}

/*-----------------*\
    VIDEO POPOVER
\*-----------------*/

.init-popover-video {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 900;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center center;
    transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -webkit-transition: all 0.25s ease-in-out;
}

@media screen and (min-width:800px) {
    .init-popover-video {
        padding: 60px 0 0 0;
    }
}

.popover-internal {
    height: 100%;
    width: 100%;
    padding: 20px;
    display: table;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.4);
}

.popover-text {
    display: table-cell;
    vertical-align: middle;
}

.init-popover-video h1 {
    margin: 0;
    text-transform: uppercase;
    text-align: center;
    color: #e0303f;
    font-size: 32px;
    text-shadow: 2px 2px rgba(0, 0, 0, 0.5);
}

.init-popover-video .subheading {
    color: #fff;
    font-size: 22px;
    text-align: center;
    text-shadow: 2px 2px rgba(0, 0, 0, 0.5);
}

@media screen and (min-width:768px) {
    .init-popover-video h1 {
        font-size: 48px;
    }
    .init-popover-video .subheading {
        font-size: 32px;
    }
    .init-popover-video .popover-close {
        font-size: 50px;
    }
}

/*-----------------*\
    VIDEO CONTROLS
\*-----------------*/

.video-controls {
    padding: 20px 0;
}

button#play-pause,
button#mute {
    border: 0;
    background-color: transparent;
    box-shadow: none;
    color: #fff;
    font-size: 30px;
}

/*---------------*\
    LOADER
\*---------------*/

.loader {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #191718;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    -js-display: flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    z-index: 9999;
}

/*---------------*\
    FOOTER
\*---------------*/

footer {
    padding: 40px 20px;
    background-color: #191718;
}

.social {
    max-width: 500px;
    text-align: center;
    margin: auto;
    padding: 0 0 20px 0;
}

.social li {
    display: inline;
    list-style-type: none;
    margin: 0;
    padding: 0 10px;
}

.social li a {
    display: inline-block;
    height: 30px;
    width: 30px;
    color: #191718;
    background-color: #fff;
    border-radius: 15px;
    line-height: 30px;
    text-align: center;
}

.social li a:hover {
    background-color: #e0303f;
}

.footer-contact {
    max-width: 768px;
    margin: 0 auto;
    padding: 20px 0;
    color: #fff;
    text-align: center;
}

@media screen and (max-width:768px) {
    .footer-contact .address,
    .footer-contact .telephone {
        display: block;
    }
}

.footer-contact .address,
.footer-contact .telephone {
    padding: 0 10px;
    text-align: center;
}

.copyright {
    display: block;
    font-size: 14px;
    color: #dbd9d6;
    text-align: center;
}

/*---------------*\
    CAROUSEL
\*---------------*/

.carousel {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #292524;
}

.carousel.image {
    height: 80%;
}

@media screen and (orientation:portrait) {
    .carousel.image {
        height: 50%;
    }
}

.carousel img {
    height: auto;
    width: 100%;
}

.carousel.video {
    height: 90%;
}

.carousel.video {
    padding-top: 0;
}

@media screen and (min-width:800px) {
    .carousel.video {
        padding-top: 60px;
    }
}

.carousel.video .flex-caption {
    position: absolute;
    bottom: 40px;
    width: 100%;
    left: 0;
    text-align: center;
    color: #fff;
}

.carousel.video .init-popover-video {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 900;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    background-size: cover;
    background-position: center center;
    transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -webkit-transition: all 0.25s ease-in-out;
}

.popover-internal {
    height: 100%;
    width: 100%;
    padding: 20px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    -js-display: flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.4);
}

.carousel.video .init-popover-video.closed {
    display: none;
}

.carousel.video .init-popover-video h1 {
    margin: 0;
    text-transform: uppercase;
    text-align: center;
    color: #e0303f;
    font-size: 32px;
    text-shadow: 2px 2px rgba(0, 0, 0, 0.5);
}

.carousel.video .init-popover-video .subheading {
    color: #fff;
    font-size: 22px;
    text-align: center;
    text-shadow: 2px 2px rgba(0, 0, 0, 0.5);
}

.carousel.video .init-popover-video .popover-close {
    border: 0;
    background-color: transparent;
    box-shadow: none;
    color: #fff;
    font-size: 40px;
    text-align: center;
    text-shadow: 2px 2px rgba(0, 0, 0, 0.5);
}

.carousel.video .init-popover-video .popover-close img {
    height: 50px;
    width: auto;
}

@media screen and (min-width:800px) {
    .carousel.video .init-popover-video h1 {
        font-size: 48px;
    }
    .carousel.video .init-popover-video .subheading {
        font-size: 32px;
    }
    .carousel.video .init-popover-video .popover-close {
        font-size: 50px;
    }
}

.flexslider,
#about-slider {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}

ul.slides,
ul.slides li {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    background-size: cover;
    background-position: center center;
}

.flexslider iframe,
#about-slider iframe {
    height: 100%;
    width: 100%;
}

.flex-direction-nav {
    position: absolute;
    top: 0px;
    left: 0;
    height: 100%;
    width: 100%;
}

.flex-direction-nav .flex-prev,
.flex-direction-nav .flex-next {
    height: 50px !important;
    width: 50px !important;
}

.flex-prev:before,
.flex-next:before {
    font-size: 50px !important;
}

.flex-direction-nav .flex-prev {
    left: 10px;
}

.flex-direction-nav .flex-next {
    right: 10px;
    text-align: right;
}

.flexslider:hover .flex-direction-nav .flex-prev,
#about-slider:hover .flex-direction-nav .flex-prev {
    opacity: 0.7;
    left: 10px;
}

.flexslider:hover .flex-direction-nav .flex-prev:hover,
#about-slider:hover .flex-direction-nav .flex-prev:hover {
    opacity: 1;
}

.flexslider:hover .flex-direction-nav .flex-next,
#about-slider:hover .flex-direction-nav .flex-next {
    opacity: 0.7;
    right: 10px;
}

.flex-direction-nav a.flex-prev:before {
    content: '\f104';
    font-family: 'FontAwesome';
    font-size: 30px;
    color: #fff;
}

.flex-direction-nav a.flex-next:before {
    content: '\f105';
    font-family: 'FontAwesome';
    font-size: 30px;
    color: #fff;
}

.carousel.video .flex-control-nav {
    bottom: 40px;
    z-index: 900;
}

.carousel.image .flex-control-paging li a {
    background-color: #fff;
}

.carousel.image .flex-control-paging li a.flex-active {
    background-color: #292524;
}

.flex-control-nav {
    display: block;
    width: 100%;
    position: absolute;
    bottom: 40px;
    text-align: center;
    z-index: 900;
}

/*---------------*\
    TESTIMONIALS
\*---------------*/

#testimonials .flexslider {
    background-color: transparent;
    font-size: 22px;
    text-align: center;
    color: #aaa9a8;
}

#testimonials .slide {
    padding-bottom: 20px;
}

#testimonials .flex-control-nav {
    display: block;
}

#testimonials .flex-direction-nav {
    display: none;
}

#testimonials .flex-control-paging li a {
    background-color: #aaa9a8;
    box-shadow: none;
}

#testimonials .flex-control-paging li a.flex-active {
    background-color: #292524;
}

/*-------------------*\
	ANIMATIONS
\*-------------------*/

/* Grow */

.hvr-grow {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
}
.hvr-grow:hover, .hvr-grow:focus, .hvr-grow:active {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

/* Pulse */
@-webkit-keyframes hvr-pulse {
  25% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }

  75% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
}

@keyframes hvr-pulse {
  25% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }

  75% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
}

.hvr-pulse {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
}
.hvr-pulse:hover, .hvr-pulse:focus, .hvr-pulse:active {
  -webkit-animation-name: hvr-pulse;
  animation-name: hvr-pulse;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}