/*
Theme Name: Topcampp
Theme URI: http://topcampp.no
Description: Topcampp
Version: 1.0.0
Author: Topcampp
Author URI: http://topcampp.no
*/

body{
    font-size: 14px;
    line-height: 1.5em;
    font-family: 'Lato', sans-serif;
    /* Margin bottom by footer height */
    margin-bottom: 340px;
}

    body.fixed-navbar{
        /*padding-top: 90px;*/
    }

html {
    position: relative;
    min-height: 100%;
}

/*
|--------------------------------
|   Image styles
|--------------------------------
*/

img.offset-border{
    background: #999;
    transform: scale(.8);
    box-shadow: 5px 5px 0 #fff, 15px 15px 0 #ccc;
}

.page-content img{
    width: 100%;
    height: auto;
}

.side-logo{
    transform: scale(.8);
    margin-top: 50px;
}

.custom-logo{
    width: auto;
    height: 50px !important;
}

/*
|--------------------------------
|   Buttons
|--------------------------------
*/

.btn.btn-toppcamp{
    color: #222;
    font-weight: bold;
    border: 2px solid #222;
    background: transparent;
}

    .btn.btn-toppcamp:hover{
        border-color: transparent;
        background: #222;
        color: #fff;
    }
/*
.invoice-wrap .btn.btn-toppcamp{
    color: #fff;
    border: 2px solid #fff;
}*/
.invoice-wrap .btn.btn-toppcamp:hover{

}

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

.sandwich-toggle{
    display: none;
}

header.top-bar{
    background: #000;
    font-size: 14px;
    line-height: 33px;
    color: #fff;
}

    header.top-bar .container{
        padding-left: 60px;
    }

header.nav-bar.fixed{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    background: #fff;
    width: 100%;
}

header.nav-bar .nav-bar-inner{
    padding: 10px 30px;
}

header.nav-bar .custom-logo-link{
    display: inline-block;
    padding: 10px;
}

header.nav-bar .menu-main-menu-container{
    float: right;
    padding: 20px 0;
}

/*
|--------------------------------
|   Main Menu
|--------------------------------
*/

#menu-main-menu{
    list-style: none;
    margin: 0;
    padding: 0;
}

    #menu-main-menu li.menu-item{
        text-transform: uppercase;
        display: inline-block;
        margin: 0 5px;
    }

    #menu-main-menu li.menu-item a{
        color: #000;
        padding: 7px 0;
        font-size: 13px;
        font-weight: 400;
        letter-spacing: .08em;
    }

        #menu-main-menu li.menu-item a:active{
            text-decoration: none;
            font-weight: bold;
        }

        #menu-main-menu li.menu-item a:hover{
            text-decoration: none;
            border-bottom: 2px solid #000;
            cursor: pointer;
        }

        #menu-main-menu li.menu-item.current-menu-item > a, #menu-main-menu li.menu-item.current-menu-ancestor > a{
            border-bottom: 2px solid #000;
        }

        #menu-main-menu li.menu-item.call-to-action{
            box-sizing: border-box;
            background: #000;
            border: 2px solid transparent;
        }

        #menu-main-menu li.menu-item.call-to-action:hover{
            border: 2px solid #000;
            background: transparent;
        }

        #menu-main-menu li.menu-item.call-to-action a{
            color: #fff;
            padding: 7px 7px;
            border: none;
        }

            #menu-main-menu li.menu-item.call-to-action a:hover{
                color: #000;
                border: none;
            }

    #menu-main-menu li.menu-item.menu-item-has-children{
        padding-right: 20px;
    }

    #menu-main-menu li.menu-item.menu-item-has-children > a:after{
        content: ' ';
        color: #000;
        width: 0;
        height: 0;
        margin-top: 8px;
        margin-left: 5px;
        position: absolute;
        border: 5px solid transparent;
        border-left-color: #333;
        -ms-transform: rotate(90deg);
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
    }

    #menu-main-menu .sub-menu{
        max-height: 0;
        overflow: hidden;
        position: absolute;
        z-index: 3;
        width: 250px;
        background: #fff;
        padding: 10px;
        margin: 7px 0 0 -15px;
        -webkit-transition: max-height .5s ease-out;
        -moz-transition: max-height .5s ease-out;
        transition: max-height .5s ease-out;
    }

    #menu-main-menu li.menu-item.menu-item-has-children:hover .sub-menu{
        max-height: 500px;
    }

        #menu-main-menu .sub-menu li.menu-item{
            display: block;
            line-height: 2.3em;
        }

/*
|--------------------------------
|   Slider
|--------------------------------
*/

.slider{
    height: 500px;
    overflow: hidden;
}

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

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

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

/*
|--------------------------------
|   Action Box
|--------------------------------
*/

.action-box{
    width: 300px;
    height: 180px;
    box-sizing: border-box;
    border: 10px solid #fff;
    border-top: 0;
    z-index: 999;
    position: absolute;
    margin-top: -250px;
    margin-left: calc(50% - 150px);
}

    .action-box:before{
        content: "";
        width: 54%;
        height: 0px;
        border-top: 10px solid #fff;
        position: absolute;
        background: #fff;
        top: -10%;
        left: -3.5%;
        transform: skew(0deg, -10deg);
    }

    .action-box:after{
        content: "";
        width: 54%;
        height: 0px;
        border-top: 10px solid #fff;
        position: absolute;
        background: #fff;
        top: -10%;
        right: -3.7%;
        transform: skew(0deg, 10deg);
    }

    .action-box h2{
        color: #fff;
        text-transform: uppercase;
        text-align: center;
    }

    .action-box .btn{
        background: #ab2218;
        color: #fff;
        text-transform: uppercase;
        text-align: center;
        display: block;
        margin: 20px;
        padding: 10px;
        border-radius: 0;
        font-size: 18px;
    }

        .action-box .btn:hover{
            background: #000;
        }

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

.page-content{
    padding: 40px 0;
    line-height: 1.8em;
}

h2.main-header{
    margin-bottom: 20px;
    line-height: 1.4em;
    font-size: 20px;
    color: #555;
}

    h2.main-header span{
        color: #000;
    }

    h2.main-header:before{
        content: "";
        width: 50px;
        display: inline-block;
        margin-left: -50px;
        position: relative;
        right: 20px;
        top: -.3em;
        border-bottom: 2px solid #999;
    }

.page-content h3{ 
    line-height: 1.5em;
    font-size: 18px;
}

/*
|--------------------------------
|   Gallery
|--------------------------------
*/

section.gallery{
    padding: 40px 0;
    background: #eee;
}

.gallery dl{
    display: inline-block;
}

.gallery dt{
    display: inline-block;
    padding: 10px;
}

.gallery img{
    width: 200px;
    height: 200px;
    border: none;
    box-shadow: 5px 5px 0 #fff, 10px 10px 0 #ddd;
}

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

.site-footer{
    color: #999;
    font-size: 12px;
    padding: 40px 0;
    background: #333 url(../img/dark-triangles.png);

    line-height: 2em;
    /* background: #222222; 
    background: -moz-linear-gradient(top, #222222 1%, #333333 100%); 
    background: -webkit-linear-gradient(top, #222222 1%,#333333 100%); 
    background: linear-gradient(to bottom, #222222 1%,#333333 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#222222', endColorstr='#333333',GradientType=0 );  */
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 380px;
}

    .site-footer h3{
        color: #fff;
        font-size: 14px;
        text-transform: uppercase;
        margin-bottom: 20px;
    }

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

        .site-footer .menu .menu-item a{
            color: #fff;
            text-transform: uppercase;
        }

        .site-footer .menu .sub-menu{
            display: none;
        }

    .site-footer .credits{
        margin-top: 10px;
        text-align: center;
    }

/*
|--------------------------------
|   Designer
|--------------------------------
*/


html, body{
    background: #fff;
}

h1.designer-header{
    color: #000;
    text-transform: uppercase;
    text-align: center;
}

.nice-select{
    float: none;
    display: inline-block;
}

.container.designer{
    width: initial;
}

.tabs{
    background: rgba(15, 79, 142, 0.7);
    /*background: #eee;*/
    list-style: none;
    margin: 30px auto 20px auto;
    padding: 20px 0 10px 0;
    width: 100%;
    text-align: center;
}


    .tabs li{
        display: inline-block;
    }
/*
        .tabs li a{
            text-align: center;
            text-decoration: none;
            text-transform: uppercase;
            color: #fff;
            padding: 5px;
            margin: 0 10px;
            display: inline-block;
        }
*/
            .tabs li a.active span{

            }

            .tabs li a i:before{
                color: #fff;
                margin-left: 0px;
                margin-right: 0px;
                margin-bottom: 15px;
                font-size: 32px;
                top: 2px;
                display: block;
                position: relative;
            }

                .tabs li a.active i:before{
                    color: #000;
                }

.designer.loading{
    background: url(../img/loader.gif) no-repeat center 10%;
}

.designer.loading .designer-inner{
    opacity: 0;
}

.tab{
    text-align: center;
    display: none;
    min-height: 210px;
    margin-bottom: 30px;
}

    .tab.active{
        display: block;
    }

    .tab h3{
        color: #555;
        font-size: 16px;
        margin-top: 0;
        margin-bottom: 20px;
    }

#tab-sizes, #tab-eaves, #tab-back{
    padding-top: 57px;
}

    #tab-sizes label, #tab-eaves label, #tab-back label{
        margin: 0 10px;
    }

    #tab-sizes .nice-select, #tab-eaves .nice-select, #tab-back .nice-select{
        border-color: #999;
    }

.door-wrap{
    vertical-align: top;
    width: 130px;
    display: inline-block;
    margin: 0px 5px;
}

.door-info{
    font-size: 11px;
    line-height: 1.2em;
    text-align: center;
    margin-top: -10px;
}

    .door-wrap:hover .door-info{
        display: block;
    }

.door{
    display: inline-block;
    transform: scale(.8, .8);

}

    .door.ui-draggable-dragging{
        transform: scale(1, 1);
        z-index: 999;
    }
/*
.door-lr219, .door-rl219{
    width: 125px;
    height: 120px;
    background: #555;
}

.door-dlr1819, .door-drl1819{
    width: 125px;
    height: 120px;
    background: #555;
}

.door-hlr1419, .door-hrl1419{
    width: 90px;
    height: 120px;
    background: #555;
}

.door-slr0919, .door-srl0919{
    width: 60px;
    height: 120px;
    background: #555;
}*/
/*
.door-dlr1819{
    background: url(../img/door-dlr1819.gif);
}

.door-drl1819{
    background: url(../img/door-drl1819.gif);
}

.door-lr219{
    background: url(../img/door-lr219.gif);
}

.door-rl219{
    background: url(../img/door-rl219.gif);
}

.door-hlr1419{
    background: url(../img/door-hlr1419.gif);
}

.door-hrl1419{
    background: url(../img/door-hrl1419.gif);
}

.door-slr0919{
    background: url(../img/door-slr219.gif);
}

.door-srl0919{
    background: url(../img/door-srl219.gif);
}
*/
.windows{
    position: relative;
}

.window-wrap{
    width: 130px;
    height: 105px;
    display: inline-block;
}

.window-info{
    font-size: 11px;
    line-height: 1.2em;
    text-align: center;
    margin-top: -10px;
}

    .window-wrap:hover .window-info{
        display: block;
    }

.window{
    display: inline-block;
    transform: scale(.8, .8);
}

    .window.ui-draggable-dragging{
        transform: scale(1, 1);
        z-index: 999;
    }
/*
.window-0915{
    width: 60px;
    height: 105px;
    background: #A9D5F1;
}

.window-0912{
    width: 60px;
    height: 84px;
    background: #A9D5F1;
    margin-bottom: 2px;
}

.window-0909{
    width: 60px;
    height: 70px;
    background: #A9D5F1;
    margin-bottom: 5px;
}

.window-0905{
    width: 60px;
    height: 35px;
    background: #A9D5F1;
    margin-bottom: 8px;
}
*/
/*.window-0915{
    background: url(../img/window-0915.gif);
}

.window-0912{
    background: url(../img/window-0912.gif);
}

.window-0909{
    background: url(../img/window-0909.gif);
}

.window-0905{
    background: url(../img/window-0905.gif);
}*/
/*
.slot{
    width: 60px;
    height: 120px;
    border: 1px solid #999;
    display: inline-block;
    box-sizing: border-box;
    margin: 4px;
}*/

    .slot.active{
        border: 1px solid #0FE26B;
    }

    .slot.hover{
        background: #0FE26B;
    }

    .slot.ui-droppable-disabled{
        opacity: 0;
    }

/*.asset .remove_button{
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    font-size: 25px;
    text-decoration: none;
    float: right;
    color: #555;
    margin: 2px 3px;
}*/

.asset.hidden{
    opacity: 0;
}

.wall-outer{
    display: table-cell;
}

.wall{
    
    transition: width 1s;
}
/*
.wall.front{
    width: 350px;
    height: 175px;
    padding: 10px;
    overflow: hidden;
    text-align: center;
    border: 10px solid #ccc;
    border-top: 0;
}*/
/*
.wall.side{
    width: 210px;
    height: 175px;
    padding: 10px;
    text-align: center;
    border: 10px solid #ccc;
}
*/
.wall.resizing{

}

    .wall.resizing .asset, .wall.resizing .slot{
        opacity: 0;
    }

.facade-row{
    text-align: center;
}

.facade{
    display: table;
    margin: 20px auto;
}

    .facade.left, .facade.right{
        display: inline-block;
        margin: 30px 20px;
    }

/*.roof-corner{
    width: 20px;
    border-top: 10px solid #ccc;
    display: table-cell;
}*/

    .facade.front{
        border-top: 0;
    }

.eave{
    width: 0px !important;
    /*border-top: 10px solid #ccc;*/
    display: table-cell;
    transition: width 1s;
}

    .eave.active{
        width: 50px !important;
        border: 0px;
    }

    .eave.active15{
        width: 70px !important;
        position: relative;
        border: 0px;
    }

.facade-measure-length{
    font-size: 13px;
    margin-top: 10px;
    text-align: center;
}

.facade-measure-width{
    font-size: 13px;
    margin-top: 10px;
    text-align: center;
}

.blindsControl{
    list-style: none;
    margin: 0 px;
    padding: 0;
    text-align: left;
    width: 240px;
}

    .blindsControl li{
        line-height: 30px;
        overflow: hidden;
        height: 30px;
        user-select: none;
    }

        .blindsControl li .add, .blindsControl li .sub{
            width: 20px;
            height: 20px;
            display: inline-block;
            line-height: 16px;
            text-align: center;
            font-size: 16px;
            font-weight: bold;
            border-radius: 50%;
            margin: 0 5px;
            cursor: pointer;
        }

        .blindsControl li .title{
            font-weight: bold;
            margin-right: 10px;
            width: 160px;
            display: inline-block;
        }

        .blindsControl li .count{
            font-weight: bold;
        }

/*
    Roof
 */

.roof{
    position: relative;
    top: -17px;
}

.roof-left{
    position: absolute;
    border-top: 10px solid #ccc;
    width: 50%;
    transform: skew(0deg, -5deg);
    -webkit-transition: width 1s, transform 1s !important;
    -moz-transition: width 1s, transform 1s !important;
    transition: width 1s, transform 1s !important;
}

.roof-right{
    position: absolute;
    right: 0;
    border-top: 10px solid #ccc;
    width: 50%;
    transform: skew(0deg, 5deg);
    -webkit-transition: width 1s, transform 1s !important; 
    -moz-transition: width 1s, transform 1s !important;
    transition: width 1s, transform 1s !important;
}



.left-eave15 .roof-left{
    width: 60%;
}

.left-eave .roof-left{
    width: 56%;
}

.left-eave .roof-right{
    width: 44%;
    transform: skew(0deg, 6.3deg);
}
.left-eave15 .roof-right{
    width: 40%;
    transform: skew(0deg, 7.5deg);
}

.right-eave .roof-left{
    width: 44%;
    transform: skew(0deg, -6.3deg);
}
.right-eave15 .roof-left{
    width: 40%;
    transform: skew(0deg, -7.5deg);
}

.right-eave .roof-right{
    width: 56%;
}

.right-eave15 .roof-right{
    width: 60%;
}


.left-eave.right-eave15 .roof-left{
    width: 50%;
    transform: skew(0deg, -5deg);
}
.left-eave.right-eave15 .roof-right{
    width: 50%;
    transform: skew(0deg, 5deg);
}

.left-eave15.right-eave .roof-left{
    width: 50%;
    transform: skew(0deg, -5deg);
}
.left-eave15.right-eave .roof-right{
    width: 50%;
    transform: skew(0deg, 5deg);
}


.left-eave.right-eave .roof-left,
.left-eave15.right-eave15 .roof-left
{
    width: 50%;
    transform: skew(0deg, -5deg);
}

.left-eave.right-eave .roof-right,
.left-eave15.right-eave15 .roof-right{
    width: 50%;
    transform: skew(0deg, 5deg);
}



.wpcf7-form-control-wrap:before {
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    color: #ccc;
    font-size: 18px;
    padding-right: 0.5em;
    position: absolute;
    top: 0px;
    left: 10px;
}

.btn-preview{
    margin-top: 40px;
    margin-bottom: 40px;
}

/*.invoice-wrap{
    background: #0f4f8e;
    padding: 50px;
    margin-bottom: 40px;
}*/

    .invoice ul{
        display: block;

        list-style: none;
        margin: 0;
        padding: 0;
        line-height: 1.5em;
    }

    .invoice h2{
        text-transform: uppercase;
        padding-bottom: 20px;
        border-bottom: 1px solid #000;
    }
/*
    .invoice h3{
        text-transform: uppercase;
        font-size: 18px;
    }*/
/*
    .invoice .invoice-total-label{
        padding-top: 20px;
        border-top: 1px solid #000;
    }
*/
    .invoice .invoice-total{
        color: #0c7925;
        font-size: 30px;
    }

#scaffold-hidden{
    position: absolute;
    padding-top: 40px;
}

#preview-modal .modal-dialog{
    width: 700px;
}

/* */

.wpcf7-text, .wpcf7-textarea{
    height: inherit !important;
    width: 100%;

    padding: 8px !important;
    padding-left: 30px !important;
    border-radius: 5px;
    margin: 5px 0;
    border: 1px solid #ccc;
}

    .wpcf7-textarea{
        padding: 8px;
    }

.wpcf7-form-control-wrap:before{
    
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
/*--adjust as necessary--*/
    color: #ccc;
    font-size: 18px;
    padding-right: 0.5em;
    position: absolute;
    top: 0px;
    left: 10px;
}

.wpcf7-form-control-wrap.your-name:before{
    content: "\f007";
}

.wpcf7-form-control-wrap.your-email:before{
    content: "\f0e0";
    line-height: 15px;
    font-size: 15px;
}

.wpcf7-form-control-wrap.your-phone:before{
    content: "\f10b";
    font-size: 20px;
}

/*
|--------------------------------
|   Media Queries
|--------------------------------
*/


@media screen and (max-width: 782px){
    html{
        margin-top: 0 !important;
    }

    body{
        margin-bottom: 0;
    }

    img.offset-border{
        transform: scale(1);
        margin-top: 20px;
        box-shadow: 5px 5px 0 #fff, 10px 10px 0 #ccc;
    }

    .btn.btn-toppcamp{
        margin-bottom: 10px;
    }

    header.nav-bar .custom-logo-link{
        position: relative;
        right: 30px;
    }

    .sandwich-toggle{
        color: #999;
        font-size: 40px;
        position: absolute;
        margin-top: 15px;
        right: 20px;
        display: inline-block;
    }

        .sandwich-toggle:active, .sandwich-toggle:hover{
            color: #000;
        }

    .nav-bar-inner{
        text-align: center;
    }

    header.nav-bar .menu-main-menu-container{
        float: none;
        padding: 0;
    }

    #menu-main-menu{
        display: none;
        padding: 20px 0;
    }

        #menu-main-menu.active{
            display: block;
        }

    #menu-main-menu li.menu-item{
        display: block;
    }

        #menu-main-menu li.menu-item a{
            font-size: 16px;
            display: block;
            line-height: 24px;
        }

        #menu-main-menu li.menu-item.current-menu-item > a, #menu-main-menu li.menu-item.current-menu-ancestor > a{
            border: 0;
            font-weight: bold;
        }

        #menu-main-menu li.menu-item.menu-item-has-children{
            padding: 0;
        }

        #menu-main-menu li.menu-item a:hover{
            border: 0;
            font-weight: bold;
        }

        #menu-main-menu li.menu-item.call-to-action{
            margin-top: 20px;
        }

    #menu-main-menu .sub-menu{
        position: static;
        width: 100%;
        margin: 0;
        padding: 0;
    }

        #menu-main-menu .sub-menu .menu-item a{
            color: #777;
        }

    .site-footer{
        font-size: 14px;
        text-align: center;
        line-height: 1.6em;
        position: initial;
        height: auto;
    }

        .site-footer h3{
            font-size: 18px;
            margin-top: 40px;
        }

        .site-footer .credits{
            padding: 20px;
        }

    .gallery dl{
        width: 50%;
        float: left;
    }

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

    .gallery br{
        display: none;
    }

    h1.designer-header{
        line-height: 1.4em;
    }

    .page-content{
        padding: 0 40px;
    }

    .tabs li{
        width: 30%;
        margin: 10px 0;
    }

        .tabs li a{
            margin: 0;
        }
    
    #tab-back label{
        margin-bottom: 20px;
    }

    #tab-eaves label{
        margin: 20px 20px 20px 0;
    }

    header.top-bar .container{
        padding: 0;
        text-align: center;
    }
}