/*
Theme Name: Koldby.com 2015
Theme URI: http://koldby.com
Description:
Author: Makeable.dk
Version: 1.0
License: Copyright
License URI: http://koldby.com
Tags:
*/


/* CSS RESET */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* CSS BEGIN */

body{
    padding: 30px 30px 0px 30px;
    background-color: #eee;
    font-family: 'Raleway', sans-serif;
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
}

#wpadminbar {
    position: absolute;
}

.ui-loader-default {
    display: none;
}
.ui-page {
    outline: none;
}

.pointer {
    cursor: pointer;
}

#page{
    background-color: #fff;
    width: 100%;
    margin-top: 60px;
    padding-bottom: 1px;
    z-index: 100;
}

#top{
    position: fixed;
    top: 30px;
    left: 30px;
    right: 30px;
    z-index: 200;
}

.backdrop {
    display: none;
    position: fixed;
    background-color: transparent;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
}
.backdrop.show {
    display: block;
}

header {
    background-color: #dbdbdb;
    position: relative;
    width: 100%;
    height: 60px;
    transition: background-color 400ms ease-in-out;
}

footer, .gallery .footer {
    text-align: center;
    font-size: 13px;
    color: #2a2a2a;
    margin-top: 10px;
    margin-bottom: 10px;
}

.site-branding{
    width: 240px;
    text-align: center;
    position: absolute;
    left: 0;
}

.site-content{
    margin: 30px;
}

.site-title{
   /* padding-top: 20px;*/
    font-size: 21px;
}
.site-title a{
    text-decoration: none;
    color: #737373;
    display: block;
    padding-top: 19px;
    padding-bottom: 19px;
}
.active-gallery .site-title a {
    color: #C7C6C6;
}

#breadcrumbs {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
}
#breadcrumbs,
#breadcrumbs a {
    font-size: 13px;
    color: #909090;
    text-decoration: none;
}

div.language-selector {
    float: right;
    margin-top: 25px;
    margin-right: 15px;
}

#site-navigation {
    float: right;
}
#site-navigation,
#site-navigation .menu-main-menu-container,
#site-navigation .menu-main-menu-container > .menu,
#site-navigation .menu-main-menu-container > .menu li,
#site-navigation .menu-main-menu-container > .menu li a {
    height: 100%;
}
#site-navigation .menu-item-has-children {
    cursor: pointer;
}
#site-navigation .burger-icon {
    margin-top: -1px;
    padding-bottom: 2px;
}
@media (max-width: 767px) {
    #site-navigation .burger-icon {
        margin-top: 0;
        padding-bottom: 0;
        padding-top: 2px;
    }
}
#site-navigation .burger-icon > div {
    width: 26px;
    height: 4px;
    background-color: #868686;
    margin: 4px 0;
    transition: 0.2s;
}

#site-navigation li.menu-item.active .burger-icon > div:nth-child(1) {
    -webkit-transform: rotate(-45deg) translate(-4px, 6px);
    transform: rotate(-45deg) translate(-4px, 6px);
}
#site-navigation li.menu-item.active .burger-icon > div:nth-child(2) {
    opacity: 0;
}
#site-navigation li.menu-item.active .burger-icon > div:nth-child(3) {
    -webkit-transform: rotate(45deg) translate(-5px, -8px);
    transform: rotate(45deg) translate(-5px, -8px);
}

#site-navigation .sub-menu {
    display: none;
    position: absolute;
    right: 0px;
    background-color: white;
    min-width: 250px;
    box-shadow: 0 1px 2px 0px rgba(210, 210, 210, 0.9);
}
#site-navigation .sub-menu li {
    float: none;
}
#site-navigation .sub-menu li a {
    font-size: 18px;
    border: none;
}
#site-navigation .has-active-children,
#site-navigation li.active {
    background-color: white;
}
@media (min-width: 768px) {
    .hide-desktop {
        display: none;
    }
}
@media (max-width: 767px) {
    .hide-mobile {
        display: none;
    }
}
.goto-ig {
    text-align: center;
    margin-top: 20px;
    margin-bottom: -10px;
}
.goto-ig a {
    color: #fff;
    background: #000;
    padding: 5px 15px;
    border-radius: 100px;
    font-size: 15px;
    text-decoration: none;
}

.menu li{
    float: left;
}
.menu li a{
    color: #7E7E7E;
    font-size: 30px;
    text-decoration: none;
    padding: 14px 20px 13px 20px;
    display: block;
    border-left: 1px solid #cacaca;
}
.menu li a:hover {
    background-color: #CFCFCF;
}
.menu li a span {
    position: relative;
    display: inline-block;
}

.menu li a span.icon-contact{
	margin-top: -2px;
	margin-bottom: 4px;
}

.menu .current-menu-item a {
    background-color: #ffffff;
}
.active-gallery .menu .current-menu-item a {
    background-color: #696969;
    color: #C7C6C6;
}
.active-gallery .menu li a {
    border-color: #707070;
    color: #C7C6C6;
}
.active-gallery .menu li a:hover {
    background-color: #565656;
}

.wallitem{
    float: left;
    height: auto;
    transition: none;
    cursor: pointer;
}
.wallitem .play-icon {
    background-image: url(img/icon-play.png);
    width: 50px;
    height: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -25px;
    margin-left: -25px;
    opacity: .6;
    transition: opacity .2s;
}
.wallitem .play-icon:hover {
    opacity: 1;
}


.gutter-sizer { width: 10px}

#wallcontainer.loading img{
    opacity: 0.001;
}

.grid-loader{
    position: absolute;
    height: 60px;
    width: 60px;
    background-image: url(img/spinner.gif);
    top: 300px;
    left: 50%;
    margin-left: -30px;
}


#wallcontainer .grid-loader{
    display: none;
}
#wallcontainer.loading .grid-loader{
    display: block;
}

#gallerypicker{
    text-align: right;
    height: 40px;
    background-color: rgba(255,255,255,0.8);
    padding-top: 14px;
    font-size: 14px;
    color: #a3a3a3;
}


.gallerylink{
    cursor: pointer;
    text-decoration: none;
}
.gallerylink, 
.gallerylink:hover, 
.gallerylink:active,
.gallerylink:visited {
    color: #a3a3a3;
}
.gallerylink.active{
    color: black
}




/* Gallery */
html.locked {
    overflow: hidden;
}
.active-gallery header {
    background-color: #5e5e5e;
}
.gallery{
    display: none;
    background-color: #696969;
    width: 100%;
    padding-bottom: 60px;
}
.gallery .footer {
    background-color: #EEE;
    width: inherit;
    min-width: 100%;
    height: 30px;
    position: absolute;
    bottom: -30px;
}
.gallery .footer > div {
    margin-top: 8px;
}

.btn.hide {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 24px;
    top: 110px;
    opacity: .5;
    font-size: 30px;
    color: #878787;
    font-weight: bold;
    transition: opacity .2s;
}
.btn.next-slide {
    position: absolute;
    right: 30px;
    top: 200px;
    transition: opacity .2s;
}
.btn.prev-slide {
    position: absolute;
    left: 12px;
    top: 200px;
    transition: opacity .2s;
}
.btn.next-slide, .btn.prev-slide {
    width: 23px;
    height: 41px;
    opacity: .6;
    font-size: 40px;
    color: #878787;
}
.btn.next-slide span, .btn.prev-slide span, .btn.hide span {
    font-weight: bold !important;
}
.btn.next-slide:hover, .btn.prev-slide:hover, .btn.hide:hover {
    opacity: .9;
}
.btn.next-slide:active, .btn.prev-slide:active, .btn.hide:active {
    opacity: .6;
}


.gallery .image-container {
    text-align: center;
    padding: 50px 80px 0;
}
.gallery .image-container img {
    height: auto;
    max-height: 100%;
    width: auto;
    max-width: 100%;
}
.gallery .image-container .text {
    margin-top: 10px;
    color: #fff;
    font-size: 13px;
}

.gallery .responsive-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
}
.gallery .responsive-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /*height: 100%;*/
}

iframe {
    width: 100%;
}



/* Instagram feed */
.ig-feed {
    overflow: hidden;
    padding-top: 16px;
    margin-left: -15px;
    margin-right: -15px;
    margin-bottom: -15px;
}
.ig-feed .ig-post {
    display: block;
    margin: 16px;
    padding: 7px;
    border: 1px solid #dbdbdb;
    color: #2c2c2c;
    text-decoration: none;
}
.ig-feed .ig-post img {
    display: block;
    width: 100% \9;
    max-width: 100%;
    height: auto;
}
.ig-feed .ig-post .ig-comment {
    font-size: 12px;
    margin: 10px 0;
    height: 42px;
    overflow: hidden;
    line-height: 14px;
    font-weight: bold;
}

/* --- */

#instafeed {
    padding-top: 30px;
}
.instagram-post {
    max-width: 320px;
}
.instagram-post img,
.instagram-post video {
    max-width: 100%;
}
.instagram-post p.caption {
    margin-top: 10px;
    margin-bottom: 10px;
}
.instagram-post.show-image video,
.instagram-post.show-carousel video {
    display: none;
}
.instagram-post.show-video img.default {
    display: none;
}

@media (max-width: 576px) {
    .instagram-post {
        margin-left: auto;
        margin-right: auto;
    }
}
/* Contact */
.contact {
    padding-top: 30px;
    font-size: 15px;
    line-height: 22px;
    color: #2c2c2c;
}
.contact a {
    text-decoration: none;
    color: #2c2c2c;
}
.contact #banner {
    margin-bottom: 30px;
}
.contact #banner img {
    display: block;
    width: 100%;
    height: auto;
}

.contact .social {
    font-size: 18px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50%;
    float: left;
    display: block;
    width: 40px;
    height: 40px;
    background-color: #588dc9;
    margin: 20px 16px 10px 0;
}
.contact .social.twitter {
    background-color: #588dc9;
}
.contact .social.linkedin {
    background-color: #0079b8;
}
.contact .social.facebook {
    background-color: #39579b;
}
.contact .social.facebook span {
    font-size: 24px;
    margin-left: 6px;
    margin-top: 6px;
}
.contact .social.instagram {
    background-color: #517fa6;
}
.contact .social span {
    position: absolute;
    margin-left: 11px;
    margin-top: 11px;
}


/* Blog post */
.post {
    width: 600px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    padding-top: 30px;
}
.post h1 {
    font-size: 30px;
}
.post img {
    display: block;
    width: 100% \9;
    max-width: 100%;
    height: auto;
    margin: 10px 0;
    border: 1px solid #DDD;
}
.post .date {
    font-size: 12px;
    margin-top: 2px;
    margin-bottom: 16px;
}
.post .content {
    font-size: 15px;
    line-height: 22px;
}
.post .content p {
    margin-bottom: 10px;
}

/* Responsive */
.row {
    overflow: hidden;
}

/* Mobile */
@media(max-width:500px) {
    .site-title {
        margin-left: 18px !important;
    }
}

@media(max-width:767px) {
    body {
        padding: 0;
    }

    #top {
        top: 0 !important;
        left: 0;
        right: 0;
    }

    .site-branding {
        width: 100px;
        text-align: left;
    }
    .site-title {
        margin-left: 30px;
        padding-top: 0;
        font-size: 16px;
    }
    .site-title a {
        padding-top: 16px;
        padding-bottom: 14px;
    }
    .site-content {
        margin: 30px 18px;
    }

    #gallerypicker {
        text-align: center;
    }
    .gallery {
        padding-bottom: 90px;
    }
    .gallery .footer {
        background-color: #696969;
        color: #fff;
    }
    body.active-gallery {
        background-color: #696969;
    }
    body.footer {
        display: none;
    }

    .col-xs-12 {
        float: left;
        width: 100%;
        margin-bottom: 20px;
    }
    .ig-feed .col-xs-12 {
        margin-bottom: 0;
    }
    .ig-feed .ig-post {
        margin: 10px 16px;
    }

    .contact * {
        text-align: left !important;
    }
    .contact .social {
        margin-top: 0;
    }

    .post {
        width: 100%;
    }

    /* Gallery */
    .gallery .image-container {
        padding: 50px 20px 0;
    }
    .btn.hide {
        right: 18px;
        top: 74px;
        font-size: 26px;
    }
    .btn.next-slide {
        top: 74px;
        right: 110px;
        font-size: 26px;
    }
    .btn.prev-slide {
        top: 74px;
        left: 110px;
        font-size: 26px;
    }

}

@media(min-width:768px){
	.menu li a {
		font-size: 27px;
		padding-top: 18px;
	}
}

/* Tablet */
@media(min-width:768px) and (max-width: 991px) {
    body {
        padding: 0;
    }

    #top {
        top: 0 !important;
        left: 0;
        right: 0;
    }

    .gallery .footer {
        background-color: #696969;
        color: #fff;
    }
    body.active-gallery {
        background-color: #696969;
    }
    body.footer {
        display: none;
    }

    .col-sm-6 {
        float: left;
        width: 50%;
    }
}

@media(min-width:992px) and (max-width: 1699px) {
    .col-md-3 {
        float: left;
        width: 25%;
    }
    .col-md-6 {
        float: left;
        width: 50%;
    }
}

/* Large desktop */
@media(min-width:1700px) {
    .col-lg-2 {
        float: left;
        width: 16.66666667%;
    }
}


/* Sections */

.sections-content {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: -1px;
}
.section {
    padding: 0;
    margin: 0;

}
.section .row,
.section .row > div {
    margin: 0;
    padding: 0;
    min-height: 500px;
}
.section .row,
.section .row .bg-image {
    background-size: cover;
    padding: 0;
    background-position: center center;
}

.section h1,
.section h2 {
    font-size: 33px;
    margin-bottom: 15px;
}
.section .content,
.section .content p {
    font-size: 18px;
    line-height: 1.6em;
}
.section .content-container-wrapper {
    height: 100%;
}
.section .content-container-wrapper.bg-color-lightgrey {
    background-color: #f6f6f6;
}
.section .content-container-wrapper.bg-color-white {
    background-color: #ffffff;
}
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}
.section .content-container {
    display: inline-block;
    margin-top: 85px;
    margin-right: 50px;
    margin-bottom: 85px;
    margin-left: 65px;
    max-width: 500px;
}
.section .content-container h1,
.section .content-container h2 {
    line-height: 46px;
}
.section .content-container .content,
.section .content-container .content p {
    line-height: 32px !important;
}

.section .content-container .content a,
.section .content-container .content a:visited, 
.section .content-container .content a:active {
	color: #000;
	text-decoration: underline;
}

.section .content-container .content a:hover {
	color: #898989;
}

.section .image-title {
    right: 150px;
}
.section.one-column-image .bg-image img {
    width: 100%;
    display: block;
}
.section .row > div.bg-image img.background-image-dublicate {
    display: none;
    width: 100%;
}
.section.one-column-image .row,
.section.one-column-image .row > div {
    min-height: auto !important;
}
.section.one-column-text .row > div {
    text-align: center;
}
.section.one-column-text .content-container {
    max-width: 1130px;
    display: inline-block;
}
.language-select {
    text-decoration: none;
    color: #737373;
}
.language-select.active {
    text-decoration: underline;
}
@media (max-width: 767px) {
    .section.one-column-text .content-container {
        text-align: left;
    }
    .section .row > div.bg-image {
        background-image: none !important;
        min-height: auto;
    }
    .section .row > div.bg-image img.background-image-dublicate {
        display: block;
    }
    .section .row > div.content-container-wrapper {
        min-height: auto;
    }
    .section .content-container {
        margin-top: 40px;
        margin-right: 40px;
        margin-bottom: 40px;
        margin-left: 40px;
    }
    .section .row,
    .section .row .bg-image {
        background-size: auto;
    }
}
@media (min-width: 768px) {
    .section .even {
        text-align: right;
    }
    .section .even .content-container {
        margin-right: 65px;
    }
    .section .even.force-left .content-container {
        text-align: left;
    }
}
@media (max-width: 350px) {
    .section .content-container {
        margin-top: 20px;
        margin-right: 20px;
        margin-bottom: 20px;
        margin-left: 20px;
    }
    .section h2 {
        font-size: 27px;
    }
}
