/***********************************************
* Global
***********************************************/
html {
    overflow-y: scroll;
}

body {
    background: #F4F4F4;
}

app {
    background: #fff;
    position: relative;
    display: block;
}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
    font-weight: 700;
}

h1, .h1,
h2, .h2,
h3, .h3 {
    letter-spacing: 1px;
}

category,
categories,
product,
products,
page {
    /*padding: 30px 0;*/
    display: block;
    position: relative;
}

/***********************************************
* Navbar collapse
***********************************************/

.dropdown-toggle {
    cursor: pointer;
}

.navbar-cre8ion {
    background: #F4F4F4;
    border: 0px;
    margin-bottom: 0;
}

.navbar-cre8ion .navbar-brand {
    color: #282828;
}

@media (min-width: 768px) {
    .navbar-cre8ion .navbar-nav > li > a {
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .navbar-cre8ion .navbar-brand {
        padding: 25px 15px;
    }

    .navbar-cre8ion .dropdown-menu > li > a {
        padding: 6px 20px;
    }

    .navbar-cre8ion .dropdown-menu {
        border: 1px solid #ccc;
    }
}

@media (max-width: 767px) {

    /* Navigation transition */
    .navbar-cre8ion .navbar-collapse,
    .navbar-cre8ion .navbar-collapse.in {
        -webkit-transition: max-height 0.3s ease-in-out;
        -moz-transition: max-height 0.3s ease-in-out;
        -o-transition: max-height 0.3s ease-in-out;
        -ms-transition: max-height 0.3s ease-in-out;
        transition: max-height 0.3s ease-in-out;
        /* Animate on max-height cuz height is auto */
    }
    .navbar-cre8ion .navbar-collapse {
        display: block !important;
        height: auto;
        overflow: hidden;
        /* Hide scrollbar */
        max-height: 0;


            position: absolute;
            width: 100%;
            z-index: 9999999999999;
            background: white;
            border-left: 0;
            border-right: 0;

    }
    .navbar-cre8ion .navbar-collapse.in {
        display: block !important;
        height: auto;
        max-height: 500px;
    }
    .navbar-cre8ion .navbar-collapse.in ul li {
        display: block;
    }
}

/***********************************************
* Cookie warning
***********************************************/
cookie {
    position: fixed;
    z-index: 9999;
}

cookie .cookie-warning {
    background: rgba(0, 0, 0, 0.9);
    height: auto;
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    color: #fff;
    -webkit-transition: height 0.25s ease-in-out;
    -moz-transition: height 0.25s ease-in-out;
    -o-transition: height 0.25s ease-in-out;
    -ms-transition: height 0.25s ease-in-out;
    transition: height 0.25s ease-in-out;
}

cookie .cookie-warning.accepted {
    height: 0;
}

cookie .cookie-warning.unaccepted {
    height: auto;
}

cookie .cookie-btn {
    padding: 3px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
    color: #333;
    background-color: #fff;
    border-color: #ccc;
    display: inline-block;
    margin-bottom: 0;
    text-align: center;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    font-weight: 700;
    margin-left: 10px;
    margin-top: -1px;
}

cookie p {
    margin: 7px auto;
    font-size: 13px;
    display: inline-block;
}

cookie a,
cookie a:hover,
cookie a:active,
cookie a:focus {
    color: #fff;
    text-decoration: underline;
}

/***********************************************
* Loading
***********************************************/
.loading {
    -webkit-pointer-events: none;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.loading {
    display: block;
    position: fixed;
    right: 50%;
    top: 50%;
    width: auto;
    height: 100%;
    opacity: 1.0;
    z-index: 99999;
    margin-right: -20px;
}

.loading span {
    display: block;
    z-index: 2000;
    width: 35px;
    height: 35px;
    border: solid 3px transparent;
    border-top-color: #5A534C;
    border-left-color: #5A534C;
    border-radius: 30px;
    -webkit-animation: pace-spinner 600ms linear infinite;
    -moz-animation: pace-spinner 600ms linear infinite;
    -ms-animation: pace-spinner 600ms linear infinite;
    -o-animation: pace-spinner 600ms linear infinite;
    animation: pace-spinner 600ms linear infinite;
}

.ie9 .loading span {
    background: url('../img/loading-black.gif') center center no-repeat;
    width: 44px;
    height: 44px;
    border: none;
}

@-webkit-keyframes pace-spinner {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes pace-spinner {
    0% {
        -moz-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -moz-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes pace-spinner {
    0% {
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-ms-keyframes pace-spinner {
    0% {
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes pace-spinner {
    0% {
        transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* Loading component */
loading {
    text-align: center;
    padding: 160px 0;
    color: #fff;
    display: block;
    opacity: 1;
    position: relative;
    height: 80px;
    width: 100%;
    background: #fff;
}

page loading .loading {
    position: absolute;
}

/***********************************************
* Footer
***********************************************/
footer {
    background: #F4F4F4;
    padding: 20px 0;
}

/***********************************************
* Slideshow
***********************************************/
#slider-wrapper {
    margin: 0 auto;
}

slick-single {
    margin-bottom: 34px;
    position: relative;
    display: block;
}

slick-single img {
    min-width: 100%;
    width: 100%;
}

slick-single .slick-dots li button:before {
    font-size: 12px;
}

slick-multiple {
    margin-bottom: 34px;
    position: relative;
    display: block;
}

slick-multiple img {
    min-width: 100%;
    width: 100%;
}

slick-multiple .panel {
    margin: 5px;
}

slick-multiple .slick-prev:before,
slick-multiple .slick-next:before {
    color: #000;
}

/***********************************************
* Blog
***********************************************/
.blog {
    margin: 30px auto 20px;
}

.blog a {
    text-decoration: none;
    color: #1C1C1C;
}

.blog img {
    margin: 0 auto;
}

/***********************************************
* Products
***********************************************/
.products {
    margin: 30px auto 20px;
}

.product a {
    text-decoration: none;
    color: #1C1C1C;
}

.product img {
    margin: 0 auto;
}

/***********************************************
* Categories
***********************************************/
.category a {
    text-decoration: none;
    color: #1C1C1C;
}

.categories {
    margin: 30px auto 20px;
}


/***********************************************
* Iframe
***********************************************/
.iframe-wrapper {
    position: relative;
    padding-top: 30px;
    height: 0;
    min-height: calc(100vh - 110px);
    overflow: hidden;
}

.iframe-wrapper iframe {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
}

@media (min-width: 768px) {
    .iframe-wrapper {
        min-height: calc(100vh - 130px);
    }
}


/***********************************************
* Social
***********************************************/
.social {
    padding: 10px 0;
    transition: opacity .33s ease-in-out;
    -moz-transition: opacity .33s ease-in-out;
    -webkit-transition: opacity .33s ease-in-out;
}

.social .notLoaded {
    opacity: 0;
}

.social .loaded {
    opacity: 1;
}

.social loading {
    padding: 150px 0;
}

.social loading .loading {
    position: absolute;
}

.social .post {
    margin: 16px auto;
    border-radius: 4px;
    background: #fff;
    text-decoration: none;
    display: block;

    -webkit-box-shadow: 0px 0px 20px 0px rgba(50, 50, 50, 0.15);
    -moz-box-shadow: 0px 0px 20px 0px rgba(50, 50, 50, 0.15);
    box-shadow: 0px 0px 20px 0px rgba(50, 50, 50, 0.15);
}

.social .post .top {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    position: relative;
}

social-post {
    transition: opacity .33s ease-in-out;
    -moz-transition: opacity .33s ease-in-out;
    -webkit-transition: opacity .33s ease-in-out;
}

/***********************************************
* Social > Background post
***********************************************/
.social .post.background .top img {
    width: 100%;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.social .post.background .top:before,
.social .post.background .top:after {
    content: " ";
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 0;
    left: 0;
    top: 0;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.social .post.background .top:before {
    background: rgba(0, 0, 0, 0.1);
}

.social .post.background .top:after {
    background: -moz-linear-gradient(top,  rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 50%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0.3) 0%,rgba(0,0,0,0) 50%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(0,0,0,0.3) 0%,rgba(0,0,0,0) 50%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

/***********************************************
* Social > No background post
***********************************************/
.social .post.noBackground .bottom {
    padding-top: 65px;
}

.social .post.noBackground .top .avatar,
.social .post.noBackground .top .author {
    display: inline-block;
    color: #000;
}

/***********************************************
* Social > Top
***********************************************/
.social .post .top .meta {
    z-index: 1;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.social .post .top .avatar,
.social .post .top .author {
    display: inline-block;
    color: #fff;
}

.social .post .top .avatar {
    margin: 20px 4px 0 16px;
}

.social .post .top .avatar img {
    width: 30px;
    height: 30px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

.social .post .top .author {
    position: absolute;
    top: 18px;
    line-height: 1.3em;
}

.social .post .top .author .name {
    font-weight: 700;
}

.social .post .top .author .username {
    font-weight: 400;
    font-size: 12px;
}

.social .post .platform {
    position: absolute;
    right: 10px;
    top: 0;
    padding: 4px 0;
    color: #fff;
    text-align: center;
    width: 30px;
    z-index: 1;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

/***********************************************
* Social > Bottom
***********************************************/
.social .post .bottom {
    padding: 20px 20px 30px;
}

.social .post .bottom .text {
    font-size: 16px;
    color: #666666;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.social .post .bottom .text span,
.social .post .bottom .text a {
    /*font-weight: 600;*/
    color: #5EA6ED;
}

.social .post .bottom .date {
    margin-top: 10px;
    font-size: 14px;
    color: #9AAAB4;
}

/***********************************************
* Social > Platforms
***********************************************/
.social .post.Twitter .platform {
    background: #5EA6ED;
}

.social .post.Instagram .platform {
    background: #20608F;
}

.social .post.Facebook .platform {
    background: #425596;
}

/***********************************************
* Misc
***********************************************/
.do-not-break {
    /* These are technically the same, but use both */
    overflow-wrap: break-word;
    word-wrap: break-word;

    -ms-word-break: break-all;
    /* This is the dangerous one in WebKit, as it breaks things wherever */
    word-break: break-all;
    /* Instead use this non-standard one: */
    word-break: break-word;

    /* Adds a hyphen where the word breaks, if supported (No Blink) */
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}