/**
* General stylesheet for the 3d box shot maker.
* Ronen Ness, 2016.
*/

/* misc body stuff */
body {
    overflow-x: hidden;
}

/* make every link under navbar have the pointer cursor */
.navbar a {
    cursor: pointer;
}

/* to center a bootstrap column */
.col-centered {
    float: none;
    margin: 0 auto;
}

/* to center text and other elements */
.text-center {
    text-align: center;
}

/* our main rendering canvas */
.render-canvas>canvas {}

/* div that wraps the main rendering canvas */
.canvas-container {
    height: 25vw;
    margin: auto;
    margin-bottom: 120px
}

/* show those cubes that symbolize transparent background */
.transparent-background {
    background-repeat: repeat;
    background-scale: 2 2;
}

/* control panel option tab */

/* for horizontal scrolling div */
.cover-container {
    width: 100%;
    white-space: nowrap;
    overflow-x: scroll;
    overflow-y: hidden;
}

.cover-item {
    cursor: pointer;
    position: relative;
    margin: 5px 8px;
    float: left;
}

.cover-item label {
    color: white;
}

/* changed tabs style - blue-ish background for active tab */
.nav-tabs>li.active>a,
.nav-tabs>li.active>a:hover,
.nav-tabs>li.active>a:focus {
    background-color: #2fa4e7;
    color: white;
}

.close.fileinput-remove {
    display: none;
}

.file-caption-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

.front img,
.back img {
    padding: 5px 5px;
    width: 106px;
    height: 106px;
    /* object-fit: cover; */
}

.left img,
.right img,
.top img {
    padding: 5px 5px;
    width: 247px;
    height: 106px;
    /* object-fit: cover; */
}

.left .file-thumbnail-footer {
    position: absolute;
    content: '';
    background: url('../../images/left_view_gs.png') no-repeat;
    width: 247px;
    height: 106px;
    pointer-events: none;
    z-index: 999;
    top: 20px;
    opacity: 0.5;
}

.top .file-thumbnail-footer {
    position: absolute;
    content: '';
    background: url('../../images/top_view_gs.png') no-repeat;
    width: 247px;
    height: 106px;
    pointer-events: none;
    z-index: 999;
    top: 20px;
    opacity: 0.5;
}

.right .file-thumbnail-footer {
    position: absolute;
    content: '';
    background: url('../../images/right_view_gs.png') no-repeat;
    width: 247px;
    height: 106px;
    pointer-events: none;
    z-index: 999;
    top: 20px;
    opacity: 0.5;
}

.back .file-thumbnail-footer {
    position: absolute;
    content: '';
    background: url('../../images/back_view_gs.png') no-repeat;
    width: 106px;
    height: 106px;
    pointer-events: none;
    z-index: 999;
    top: 20px;
    opacity: 0.5;
}

.front .file-thumbnail-footer {
    position: absolute;
    content: '';
    background: url('../../images/front_view_gs.png') no-repeat;
    width: 106px;
    height: 106px;
    pointer-events: none;
    z-index: 999;
    top: 20px;
    opacity: 0.5;
}

/* 
.front {
    position: absolute;
    top: 0px;
    left: 15px;
    z-index: 999;
}

.back {
    position: absolute;
    bottom: 0px;
    left: 15px;
    z-index: 999;
}

.left {
    position: absolute;
    top: 0px;
    right: 15px;
    z-index: 999;
}

.right {
    position: absolute;
    bottom: 0px;
    right: 15px;
    z-index: 999;
}

.top {
    position: absolute;
    top: 35%;
    right: 15px;
    z-index: 999;
} */


.buynow-button {
    font-size: 14px;
    margin: 50px;
}

.notes {
    margin-top: 10px;
    text-align: center;
    color: white;
    display: block;
    padding: 0% 30%;
}

.size-text {
    text-align: center;
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    width: 100%;
    padding: 10px 5px;
}

.button-box {
    display: block;
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 0px;
    margin-bottom: 5px;
}

.title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: #3b9bd5;
    padding: 0px 300px;
    text-transform: capitalize;
    margin: 10px 0px;
}

.image-box {
    display: block;
    width: 100%;
}

.image-box {
    position: absolute;
    left: 50px;
    top: 0px;
    width: 270px;
}

@media only screen and (max-width: 1000px) {
    .slick-slider {
        margin: 0px -15px;
    }

    .button-box {
        position: unset;
        padding: 5px 0px;
    }

    .image-box {
        position: relative;
        left: 0px;
        margin: 0px 45px;
    }

    .buy_now {
        top: 51% !important;
        padding: 5px 10px !important;
    }

    .title {
        padding: 0px 20px;
    }

    .notes {
        padding: 0% 0%;
    }

    .canvas-container {
        height: 100vw;
        margin-bottom: 0px
    }

    .row {
        margin-right: 0px;
        margin-left: 0px;
    }

    /* 

    .input-group {
        width: 60px;
    }

    .buynow-button {
        font-size: 14px;
        margin: 0px;
    }

    .buynow {
        z-index: 99;
        display: block;
        float: none;
    }

    .input-group-btn {
        position: absolute;
        margin-top: 5px;
        font-size: 0;
        white-space: nowrap;
    }

    
    .file-preview {
        display: none;
    }

    .front {
        position: absolute;
        top: 0px;
        left: 15px;
        z-index: 999;
    }

    .back {
        position: absolute;
        bottom: 55px;
        left: 15px;
        z-index: 999;
    }

    .left {
        position: absolute;
        top: 0px;
        right: 15px;
        z-index: 999;
        text-align: right;
    }

    .right {
        position: absolute;
        bottom: 55px;
        right: 15px;
        z-index: 999;
        text-align: right;
    }

    .top {
        position: absolute;
        top: 35%;
        right: 15px;
        z-index: 999;
        text-align: right;
    }

    .left .input-group-btn,
    .right .input-group-btn,
    .top .input-group-btn {

        right: 25px;
    }

    .side {
        display: none;
    } */


}


.buy_now {
    border: 0px solid #0751c2;
    padding: 7px 15px;
    background: linear-gradient(#54b4eb, #2fa4e7 60%, #1d9ce5);
    z-index: 9999;
    color: #fff;
    text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    font-weight: 700;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.buy_now i {
    color: #fff;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.buy_now:hover {
    background: linear-gradient(#1d9ce5, #2fa4e7 60%, #54b4eb);
    box-shadow: 0px 1px 5px 7px #646464;
}