/*
Theme Name: Toppcampp
Theme URI: http://toppcampp.no
Description: Toppcampp
Version: 2.01.0
Author: Toppcampp
Author URI: http://toppcampp.no
*/

/*
|--------------------------------
|   Global
|--------------------------------
*/

body{
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5em;
    letter-spacing: 0.03em;
    color: #444;
    -webkit-font-smoothing: antialiased;
}

h1{

}

h2{
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 700;
    font-size: 24px;
    color: #444;
}

p{
    font-size: 15px;
    line-height: 1.7em;
}

/* Buttons */

.btn{
    border: 0;
    border-radius: 0;
    font-weight: 400;
    font-size: 12px;
    padding: .5rem .8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-main{
    color: #fff;
    background-color: #000;
}

.btn-main-white{
    color: #000;
    background-color: #fff;
}

    .btn-main-white:hover{
        background: #ccc;
        color: #000;
    }

/* Smartphone */
@media only screen and (min-device-width : 320px) and (max-device-width : 768px) {
    .btn{
        padding: 1rem;
        width: 100%;
    }
}

/* Sections */

.section{
    padding: 80px 0;
}

/* Smartphone */
@media only screen and (min-device-width : 320px) and (max-device-width : 768px) {
    .section{
        padding: 40px 0;
    }
}

/* Flex */

.row-flex{
    display: flex;
}

    .row-flex > *{
        margin: 5px;
    }

    .row-flex > *:first-child{
        margin-left: 0;
    }
    .row-flex > *:last-child{
        margin-right: 0;
    }

/*
|--------------------------------
|   Header
|--------------------------------
*/

/*
Nav bar
*/

.nav-bar{
    position: fixed;
    top: 0;
    width: 100%;
    height: 100px;
    border: none;
    background: rgba(255, 255, 255, 0);
    z-index: 100;
    transition: background-color 500ms, height 500ms ;
}

    .nav-bar a:hover{
        text-decoration: none;
    }

    .nav-bar.detached{
        height: 70px;
        box-shadow: 0 0 1px 0 #ccc;
        background: rgba(255, 255, 255, 1);
    }

    /* Removing transition if loaded with scroll */
    .nav-bar.on-load,
    .nav-bar.on-load .nav-bar-inner,
    .nav-bar.on-load .logo img,
    .nav-bar.on-load .main-menu .menu .menu-item > a
    {
        transition: none;
    }

    body.admin-bar .nav-bar{
        top: auto;
    }

    .nav-bar .nav-bar-inner{
        display: flex;
        height: 100px;
        padding: 10px 0;
        justify-content: space-between;
        transition: height 500ms ;
    }

        .nav-bar.detached .nav-bar-inner{
            height: 70px;
        }

/* Logo */

.nav-bar .logo{
    height: 100%;
    display: flex;
    padding: 5px 0;
    align-content: stretch;
    flex: 0 0 200px;
}

    .nav-bar .logo a{
        display: inline-flex;
    }

        .nav-bar .logo #logo-svg path{
            fill: #fff;
            transition: color 500ms;
        }

        .nav-bar.detached .logo #logo-svg path{
            fill: #b22324;
        }

/* Main Menu */

.nav-bar .main-menu{
    height: 100%;
    flex: 1 1 auto;
}

    .nav-bar .main-menu .menu-main-menu-container{
        height: 100%;
    }

    .nav-bar .main-menu .menu{
        padding: 0;
        margin: 0;
        height: 100%;
        list-style: none;
        display: flex;
        align-items: stretch;
        justify-content: flex-end;
    }

    .nav-bar .main-menu .menu .menu-item{
        display: flex;
        position: relative;
        align-items: center;
    }

        .nav-bar .main-menu .menu .menu-item > a{
            color: #fff;
            cursor: pointer;
            padding: 10px;
            letter-spacing: 1px;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            transition: color;
        }

            .nav-bar.detached .main-menu .menu .menu-item > a{
                color: #333;
            }

                .nav-bar .main-menu .menu .menu-item.menu-item-has-children > a:after{
                    content: "";
                    width: 0;
                    height: 0;
                    position: relative;
                    top: .75em;
                    left: 5px;
                    border-left: .2em solid transparent;
                    border-right: .2em solid transparent;
                    border-top: .2em solid #fff;
                }

                    .nav-bar.detached .main-menu .menu .menu-item.menu-item-has-children > a:after{
                        border-top: .2em solid #000;
                    }

                    .nav-bar .main-menu.active .menu .menu-item.menu-item-has-children > a:after{
                        border-top: .2em solid #fff;
                    }

/* Submenu */

.nav-bar .main-menu .menu .sub-menu{
    top: 100%;
    left: -10px;
    width: 300px;
    padding: 10px;
    margin: 0;
    opacity: 0;
    max-height: 0;
    background: #fff;
    position: absolute;
    overflow: hidden;
    list-style: none;
    transition: max-height 200ms ease-in, opacity 200ms ease-in;
}

    .nav-bar .main-menu .menu .sub-menu .menu-item > a{
        color: #333;
        font-size: 12px;
        font-weight: 400;
        line-height: 1em;
    }

        .nav-bar .main-menu .menu .sub-menu .menu-item > a:hover{
            font-weight: 700;
        }

    .nav-bar .main-menu .menu .menu-item:hover .sub-menu{
        opacity: 1;
        max-height: 500px;
    }

/* Menu Shrink Breakpoint */
@media only screen and (max-width : 1024px) {

    .nav-bar .main-menu .menu .sub-menu{
        position: static;
        background: transparent;
        max-height: 0;
        padding: 0;
        margin: 0;
        opacity: 0;
        overflow: hidden;
        list-style: none;
        transition: max-height 500ms ease-in, opacity 500ms ease-in;
    }

    .nav-bar .main-menu .menu .sub-menu.active{
        max-height: 500px;
        opacity: 1;
    }

    .nav-bar .main-menu.active .menu .sub-menu .menu-item > a{
        color: rgba(255, 255, 255, .5);
        font-size: 18px;
        line-height: 1.3em;
    }
}

/* Hamburger toggle */

.nav-bar .hamburger-toggle{
    display: none;
    color: #fff;
    padding: 0 10px;
    font-size: 24px;
    align-items: center;
}

    .nav-bar.detached .hamburger-toggle .hamburger-inner,
    .nav-bar.detached .hamburger-toggle .hamburger-inner:before,
    .nav-bar.detached .hamburger-toggle .hamburger-inner:after {
        background-color: #000;
    }

    .nav-bar .hamburger-toggle .hamburger-inner,
    .nav-bar .hamburger-toggle .hamburger-inner:before,
    .nav-bar .hamburger-toggle .hamburger-inner:after,
    .nav-bar .hamburger-toggle.is-active .hamburger-inner,
    .nav-bar .hamburger-toggle.is-active .hamburger-inner:before,
    .nav-bar .hamburger-toggle.is-active .hamburger-inner:after {
        background-color: #fff;
    }


/* Menu Shrink Breakpoint */
@media only screen and (max-width : 1024px) {

    .nav-bar .hamburger-toggle{
        display: flex;
        z-index: 200;
    }

    .nav-bar .main-menu{
        display: none;
    }

    .nav-bar .main-menu.active{
        display: initial;
        position: fixed;
        background: rgba(0, 0, 0, .8);
        padding: 20px;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 110;
        height: initial;
    }

        .nav-bar .main-menu.active .menu{
            flex-flow: column;
            justify-content: center;
        }

            .nav-bar .main-menu.active .menu .menu-item{
                justify-content: center;
                flex-flow: column;
            }


            .nav-bar .main-menu.active .menu-item a,
            .nav-bar.detached .main-menu.active .menu-item a{
                color: #fff;
                font-size: 20px;
                text-align: center;
                line-height: 1.8em;
            }
}

/* Smartphone Font Fix */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    .nav-bar .main-menu.active .menu-item a,
    .nav-bar.detached .main-menu.active .menu-item a{
        font-size: 1em;
    }
}

/* Smartphone Admin Bar Fix */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    body.admin-bar .nav-bar{
        top: 0;
    }
}

/*
|--------------------------------
|   Homepage
|--------------------------------
*/

/*
Slider
*/

section.slider{
    width: 100%;
    height: 500px;
    z-index: 10;
}

    section.slider:before{
        content: "";
        width: 100%;
        height: 500px;
        display: block;
        position: absolute;
        z-index: 2;
        background: rgba(0, 0, 0, .6);

    }

    section.slider .slide{
        opacity: 0;
        height: 500px;
        background-size: cover !important;
        background-position: center center !important;
    }

    section.slider .slide.slick-active{
        opacity: 1;
    }

    section.slider .slide1{
        background: url(img/slide1.jpg) no-repeat;
    }

    section.slider .slide2{
        background: url(img/slide2.jpg) no-repeat;
    }

    section.slider .slide3{
        background: url(img/slide3.jpg) no-repeat;
    }

    .slider-text{
        color: #fff;
        z-index: 10;
        width: 100%;
        height: 200px;
        margin-top: -250px;
        position: absolute;
        text-align: center;
        text-transform: uppercase;
    }

        .slider-text h1{
            width: 100%;
            margin: 0 auto 30px auto;
            padding: 0 100px;
            text-align: center;
            font-weight: 900;
            font-size: 40px;
            letter-spacing: 0.1em;
            word-wrap: break-word;
        }

        .slider-text h2{
            color: #fff;
            margin: 0 auto;
            width: 600px;
            text-align: center;
            line-height: 1.5em;
            font-weight: 700;
            font-size: 18px;
            letter-spacing: 0.1em;
        }

/* Menu Shrink Breakpoint */
@media only screen and (max-width : 1024px) {
    .slider-text h1{
        padding: 0;
        font-size: 20px;
    }

    .slider-text h2{
        width: auto;
    }
}

/*
Section - Hero
*/

    .hero-section h2{
        margin-bottom: 40px;
    }

    .hero-section img{
        max-width: 100%;
    }

    .hero-section .signature{
        font-family: 'Caveat', cursive;
        font-size: 28px;
        color: #555;
        transform: rotate(-5deg);
        display: block;
        margin-bottom: 60px;
        margin-top: 10px;
    }

    .hero-column{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

.row.financing{
    margin-top: 40px;
    font-size: 18px;
    padding: 10px 0;
}

    .row.financing h2{
        color: #f00;
        margin: 20px 0;
    }

    .row.financing .btn-red{
        margin-top: 20px;
        background: #f00;
    }

        .row.financing .btn-red:hover{
            color: rgb(243, 219, 219);
        }

    .row.financing img{
        height: 170px;
        margin-top: 10px;
    }

@media only screen and (max-device-width : 768px) {

    .hero-section .signature{
        margin-top: 0px;
        margin-bottom: 30px;
    }

}

@media only screen and (min-device-width : 768px) and (max-device-width: 1024px){

    .hero-column{
        justify-content: flex-end;
    }

    .hero-section .btn-designer{
        margin-top: 100px;
    }

}

@media only screen and (min-device-width : 1024px) and (max-device-width: 1200px){

    .hero-column{
        justify-content: flex-end;
    }

    .hero-section .btn-designer{
        margin-top: 30px;
    }
}



/*
Section - Services
*/

.services-section{
    color: #fff;
    position: relative;
}

    .services-section:before{
        content: "";
        left: 0;
        top: 0;
        bottom: 0;
        right: 0;
        display: block;
        position: absolute;
        background: rgba(0, 0, 0, .6);
    }

    .services-section h2{
        color: #fff;
        font-weight: 900;
        letter-spacing: .15em;
        margin-bottom: 50px;
    }

    .services-section h3{
        margin-bottom: 20px;
        font-size: 18px;
        font-weight: 700;
        letter-spacing: .1em;
        text-transform: uppercase;
    }

.contrast-box-dark{
    padding: 30px;
    margin: 20px;
}

    .contrast-box-dark p{
        min-height: 80px;
    }

/* Smartphone */
@media only screen and (min-device-width : 320px) and (max-device-width : 768px) {

    .services-section h2{
        margin-bottom: 10px;
    }

    .services-section h2.text-center{
        text-align: left !important;
    }

    .services-section .row-flex{
        display: block;
    }

    .services-section .row-flex > .btn{
        margin-left: 0;
    }

    .contrast-box-dark{
        padding: 0;
    }
}

/*
Section - Gallery
*/

.gallery-section{
    background: #ffff;
}

    .gallery-section .gallery{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

        .gallery-section .gallery br{
            display: none;
        }

        .gallery-section .gallery .gallery-item{
            margin: 5px;
        }

            .gallery-section .gallery .gallery-item img{
                transition: transform 300ms ease-in, box-shadow 300ms ease-in;
            }

            .gallery-section .gallery .gallery-item img:hover{
                transform: scale(1.2);
                box-shadow: 5px 5px 20px rgba(0, 0, 0, .5);
            }

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    .gallery-section .gallery .gallery-item img{
        width: 130px;
        height: 130px;
    }
}

/*
|--------------------------------
|   Page
|--------------------------------
*/

h2.main-header{
    margin-bottom: 50px;
}

section.page-content h3{
    text-transform: uppercase;
    font-size: 16px;
    margin: 30px 0 20px;
    font-weight: 700;
    line-height: 1.5em;
}

section.page-content .gallery{
    display: flex;
    margin-top: 80px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

    section.page-content .gallery br{
        display: none;
    }

section.page-content .img-margin-top{
    margin-top: 80px;
}

    body.page-id-22 .img-margin-top{
        margin: 0;
    }

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    section.page-content .gallery .gallery-item img{
        width: 130px;
        height: 130px;
    }
}

.download-brochure{
    color: #000;
    border: 2px solid #000;
    display: inline-block;
    padding: 10px;
    text-align: center;
}

    .download-brochure img{
        display: block;
        margin-bottom: 10px;
        margin-top: 3px;
        width: 300px;
    }

/*
|--------------------------------
|   Contacts page
|--------------------------------
*/

body.page-template-page-contacts{
    background: #333;
    /*background: url(http://174.138.82.222/toppcamp/wp-content/uploads/2017/11/contacts-bg.jpg) no-repeat;*/
    background-size: cover;
}

body.page-template-page-contacts .nav-bar .logo #logo-svg path{
    fill: #b22324;
}

body.page-template-page-contacts .nav-bar .main-menu .menu .menu-item > a{
    color: #000;
}

body.page-template-page-contacts .nav-bar .main-menu .menu .menu-item.menu-item-has-children > a:after{
    border-top-color: #000;
}

body.page-template-page-contacts .page-content,
body.page-template-page-contacts .page-content h2{
    color: #fff;
}

body.page-template-page-contacts .side-logo{
    width: 300px;
    height: auto;
}

body.page-template-page-contacts .wpcf7-form p{
    margin-bottom: 1rem;
    line-height: 1.2em;
}

body.page-template-page-contacts label{
    margin: 10px 0;
}

body.page-template-page-contacts .wpcf7-form-control{
    border: 0;
    padding: 5px;
    margin-top: 10px;
}

body.page-template-page-contacts footer{
    display: none;
}

/*
|--------------------------------
|   Nyheter
|--------------------------------
*/


.fts-simple-fb-wrapper,
.fts-fb-load-more-wrapper,
.fts-jal-fb-picture{
    width: 100%;
    max-width: 100% !important;
}

.fts-jal-fb-group-display{
    columns: 2;
    column-gap: 50px;
}

    .fts-jal-fb-group-display img{
        width: 100%;
        height: auto;
    }

/*
|--------------------------------
|   Footer
|--------------------------------
*/

.footer-img{
    height: 600px;
    background-size: cover !important;
    position: relative;
}

    .footer-img:before{
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        background: rgba(0, 0, 0, .5);
        z-index: 10;
    }

footer.site-footer{
    color: #fff;
    background: #000;
    font-size: 13px;
    padding: 80px 0;
}

    footer.site-footer p{
        font-size: 13px;
        line-height: 1.9em;
    }

    footer.site-footer h3{
        font-size: 18px;
        letter-spacing: .1em;
        text-transform: uppercase;
        font-weight: 700;
        margin-bottom: 30px;
    }

        footer.site-footer ul{
            margin: 0;
            padding: 0;
            list-style: none;
        }

            footer.site-footer ul > ul{
                margin-left: 10px;
            }

        footer.site-footer a{
            font-weight: 700;
            color: #999;
        }

        footer.site-footer .menu{
            font-size: 12px;
            text-transform: uppercase;
        }

        footer.site-footer .sub-menu{
            margin-bottom: 10px;
        }

        footer.site-footer .credits{
            margin-top: 40px;
            text-align: center;
            color: #999;
        }

            footer.site-footer .credits a{
                color: #fff;
            }

footer.site-footer .call-to-action{
    display: none;
}

/* Smartphone */
@media only screen and (min-device-width : 320px) and (max-device-width : 768px) {
    footer.site-footer{
        text-align: center;
        padding: 40px 0;
    }

    footer.site-footer .menu-main-menu-container{
        margin-bottom: 20px;
    }

    footer.site-footer h3{
        margin-bottom: 20px;
    }
}