﻿.product-mockup-container {
    margin: auto;
    height: 460px;
    position: relative;
}

.product-mockup {
    margin: auto;
    height: 460px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.btn-3dshow {
    width: 70px;
    height: 70px;
    display: inline-block;
    background-image: url(../Images/3D-white.png);
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    position: absolute;
    left: 20px;
    bottom: 20px;
    background-color: rgba(51,51,51,0.7);
    transition: all .3s ease-in-out;
}

    .btn-3dshow:hover {
        background-color: rgba(51,51,51,0.9);
    }

.product-info-container {
    margin: auto;
    width: 1240px;
    position: relative;
    display: flex;
    margin-bottom: 50px;
}

.product-img-main {
    width: 400px;
    height: 400px;
    position: relative;
}

.product-img {
    width: 370px;
    height: 370px;
    position: relative;
    border: 10px solid #f5f5f5;
    position: absolute;
    top: -70px;
    right: 50px;
    background-position: center;
background-size: 100%;
}

.product-detail-box {
    padding-right: 50px;
    padding-top: 40px;
    flex: 1;
}

.product-title1 {
    font-size: 40px;
    line-height: 47px;
    font-family: Roboto-Bold;
    margin-bottom: 5px;
    direction: ltr;
    text-align: right;
}

.product-title2 {
    font-size: 25px;
    line-height: 29px;
    font-family: Roboto-Light;
    color: #808080;
    margin-bottom: 20px;
}

.pnlDetails {
    width: 100%;
}

    .pnlDetails th {
        color: #333;
        padding-top: 30px;
        background-color: #fff;
        font-weight: normal;
        font-family: YekanBakh-Bold;
        font-size: 20px;
    }

    .pnlDetails tr:first-child th {
        padding-top: 0;
    }



    .pnlDetails td {
        padding: 10px 0;
        vertical-align: middle;
        text-align: right;
    }

.cell-right {
    width: 15%;
    font-family: YekanBakh-Medium;
    font-size: 16px;
    line-height: 25px;
}

.cell-left {
    width: 60%;
    font-family: YekanBakh-Light;
    font-size: 16px;
    line-height: 25px;
}

#PreviewModal {
    background-color:rgba(51,51,51,.8);
}

    #PreviewModal .modal-dialog {
        width: 1020px;
    }

    #PreviewModal .modal-content {
        border-radius: 0;
    }

    #PreviewModal .modal-header {
        background-color: #fff;
        border: none;
        text-align: right;
        padding: 0;
        position: relative;
        margin-bottom: 14px;
    }



    #PreviewModal .modal-body {
        padding: 0;
    }

    #PreviewModal .modal-header button {
        background: url(../Images/modal-close.png) no-repeat;
        width: 20px;
        height: 20px;
        border: none;
        position: absolute;
        right: 30px;
        top: 30px;
        z-index: 1;
    }

    #PreviewModal .preview-title1 {
        text-align: center;
        font-family: Roboto-Medium;
        font-size: 36px;
        line-height: 42px;
        color: #333;
        margin-bottom: 5px;
    }

    #PreviewModal .preview-title2 {
        text-align: center;
        font-family: Roboto-Light;
        font-size: 24px;
        line-height: 28px;
        color: #333;
    }

    #PreviewModal .preview-img {
        width: 720px;
        height: 450px;
        margin: 30px auto 90px auto;
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }

@media only screen and (max-width : 480px) {
    .product-mockup-container {
        height: 160px;
    }

    .product-mockup {
        margin: auto;
        height: 160px;
    }

    .btn-3dshow {
        width: 30px;
        height: 30px;
        background-image: url(../Images/3D-white-xs.png);
        left: 10px;
        bottom: 10px;
    }

    .product-info-container {
        width: 100%;
        padding-top:105px;
    }
    .product-img-main {
        width: 132px;
        height: 132px;
        position: absolute;
        right: 0;
        left:0;
        margin:auto;
        top:-40px;
    }

    .product-img {
        width: 132px;
        height:132px;
        border: 4px solid #f5f5f5;
        position: initial;
    }
    .product-detail-box {
        padding-right: 0;
        padding-top: 0;
        flex: 1;
    }
    .product-title1 {
        font-size: 24px;
        line-height: 28px;
        margin-bottom: 4px;
        text-align: center;
    }
    .product-title2 {
        font-size: 18px;
        line-height: 21px;
        margin-bottom: 20px;
        text-align: center;
    }

    .pnlDetails {
        padding-right:10px;
    }

        .pnlDetails th {
            padding-bottom: 7px;
            padding-top: 20px;
            font-size: 16px;
            line-height:25px;
        }

        .pnlDetails td {
            padding: 4px 0;
        }

    .cell-right {
        width: 15%;
        font-family: YekanBakh-Medium;
        font-size: 12px;
        line-height: 19px;
    }

    .cell-left {
        width: 60%;
        font-family: YekanBakh-Light;
        font-size: 12px;
        line-height: 21px;
    }

    #PreviewModal .modal-dialog {
        width: calc(100% - 30px);
        margin:0;
        position:absolute;
        top:50%;
        left:50%;
        transform:translate(-50%,-50%);
    }

    #PreviewModal .modal-header {
        margin-bottom: 0;
    }



    #PreviewModal .modal-header button {
        width: 16px;
        height: 16px;
        right: 20px;
        top: 20px;
        background-position:center;
    }

    #PreviewModal .preview-title1 {
        font-family: Roboto-Bold;
        font-size: 24px;
        line-height: 28px;
        margin-bottom: 4px;
    }

    #PreviewModal .preview-title2 {
        font-size: 18px;
        line-height: 21px;
    }

    #PreviewModal .preview-img {
        width: 280px;
        height: 175px;
        margin: 15px auto 20px auto;
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }
}