
/** MOBILE CSS **/
@import url('mobile.css') screen and (max-width: 767px);

@media only screen and (min-width: 960px) {
    .theme-2 .tp-webshop .table-grid-container {
        padding-right: 97px;
    }
    .theme-2 .tp-webshop .im-indexpage-control {
        margin-left: -56px;
    }
}

@media only screen and (min-width: 768px) {
    .tp-webshop .table-grid-container {
        width:100%;
        height:100%;
        position:relative;
        padding:20px;
        transition: all 600ms cubic-bezier(0.860, 0.000, 0.070, 1.000);
        transform: scale(2,2);
        -webkit-transform: scale(2,2);
        -moz-transform: scale(2,2);
        -ms-transform: scale(2,2);
        opacity:0;
    }

    .tp-webshop .table-cell {
        overflow:hidden;
    }

    .tp-webshop .table-grid-container.show {
        transform: scale(1,1);
        -webkit-transform: scale(1,1);
        -moz-transform: scale(1,1);
        -ms-transform: scale(1,1);
        opacity:1;
    }

    .tp-webshop .table-grid-container.withheader{
        padding:90px 10px 10px 10px;
    }

    .tp-webshop .header {
        background: rgba(0,0,0,0.4);
        position: absolute;
        display: block;
        width: 100%;
        padding: 5px 0px;
    }

    .tp-webshop .header h1 {
        font-size: 40px;
        color: #FFF;
        margin: 0;
        padding-left: 40px;
        padding-right: 40px;
    }

    .tp-webshop .header a {
        position: absolute;
        color: #FFF;
        bottom: 30px;
        right: 180px
    }

    .tp-webshop .webshop-block {
         width:auto;
         display: block;
         height: 520px;
    }

    .tp-webshop .webshop-image {
        height: 270px;
       /*margin-top: 4px;*/
        width:100%;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }

    .tp-webshop .webshop-image.fill-1 {
        background-size: contain;
    }

    .tp-webshop .content {
        padding: 10px 20px;
        height: auto;
        overflow: hidden;
        text-align: center;
        background-color: transparent;
    }

    .tp-webshop h2 {
        display: block;
        text-align: center;
        padding: 0;
    }

    .tp-webshop h4 {
        display: block;
        text-align: center;
    }

    .tp-webshop .prices {
        position: absolute;
        bottom: 20px;
        width: 90%;
    }

    .tp-webshop .price {
        padding: 6px 10px;
        font-size: 14px;
        float: left;
        clear: left;
        border: 1px solid transparent;
    }

    .tp-webshop .price.old {
        text-decoration: line-through;
        margin-right: -4px;
        border: 1px solid transparent;
        float: left;
        text-align: left;
        display: inline-block;
        margin-bottom: 2px;
    }

    .tp-webshop .prices .button {
        float: right;
    }

    .tp-webshop-nav.disabled {
        opacity: 0;
    }

    .tp-webshop-nav a{
        position: relative;
        display: block;
        transition: all 300ms ease-in-out;
        float: left;
        margin-right: 2px;
    }

    .tp-webshop-nav span {
        padding: 8px 22px;
        font-size: 12px;
        display:block;
    }


    .tp-webshop-nav .down .arrow {

        content: '';
        position: absolute;
        width: 0px;
        height: 0px;

        border-color: white;
        border-top: 8px solid transparent;
        border-bottom: 8px solid white;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;

        top: -15px;
        left: 50%;
        margin-left: -8px;

        -webkit-transform: scaleX(3);
        -moz-transform: scaleX(3);
        -ms-transform: scaleX(3);
        transform: scaleX(3);
        -webkit-transform-origin: 50% 100%;
        -moz-transform-origin: 50% 100%;
        -ms-transform-origin: 50% 100%;
        transform-origin: 50% 100%;

    }

    .tp-webshop-nav .up .arrow {

        position: absolute;
        width: 0px;
        height: 0px;

        border-color: white;
        border-bottom: 8px solid transparent;
        border-top: 8px solid white;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;

        bottom: -15px;
        left: 50%;
        margin-left: -8px;

        -webkit-transform: scaleX(3);
        -moz-transform: scaleX(3);
        -ms-transform: scaleX(3);
        transform: scaleX(3);
        -webkit-transform-origin: 50% 0%;
        -moz-transform-origin: 50% 0%;
        -ms-transform-origin: 50% 0%;
        transform-origin: 50% 0%;

    }

    .tp-webshop-nav .disabled {
        opacity: 0;
    }

    .tp-webshop-nav {
        position: absolute;
        bottom: 31px;
        width: 100%;
        background: none;
        margin-left: 45%;
        transition: all 300ms ease-in-out;
    }

    .tp-webshop .im-ts-button-close {
        position:absolute;
        top: 0px;
        right:0;
    }


    .tp-webshop .webshop-detail {
        overflow:hidden;

        position: absolute;
        z-index: 10;
        height: 400px;
        width: 760px;

        left: 50%;
        top: 50%;
        margin-left: -380px;
        margin-top: -200px;

        transition: transform 600ms cubic-bezier(0.860, 0.000, 0.070, 1.000), opacity 600ms;
        -webkit-transition: -webkit-transform 600ms cubic-bezier(0.860, 0.000, 0.070, 1.000), opacity 600ms;
        -moz-transition: -moz-transform 600ms cubic-bezier(0.860, 0.000, 0.070, 1.000), opacity 600ms;
        -ms-transition: -ms-transform 600ms cubic-bezier(0.860, 0.000, 0.070, 1.000), opacity 600ms;

        transform: scale(.4,.4);
        -webkit-transform: scale(.4,.4);
        -moz-transform: scale(.4,.4);
        -ms-transform: scale(.4,.4);

        opacity: 0;
    }

    .tp-webshop .tp-webshop-details-container {
    }

    .tp-webshop .webshop-detail.show {
        transform: scale(1,1);
        -webkit-transform: scale(1,1);
        -moz-transform: scale(1,1);
        -ms-transform: scale(1,1);
        opacity: 1;
    }

    .tp-webshop .detail-image {
        display: block;
        height: 100%;
        width: 50%;
        float: left;
    }

    .tp-webshop .detail-text-wrapper {
        position:relative;
        display: block;
        height: 100%;
        width: 50%;
        float: left;
        padding-top: 4px;
    }

    .tp-webshop .detail-text {
        padding-bottom: 0px;
        padding-top: 10px;
    }

    .tp-webshop .detail-text h3, .tp-webshop .detail-text h2 {
        text-align: left;
        padding: 0px;
    }

    .tp-webshop .detail-text-wrapper .im-webshop-p {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        height: 220px;
        padding-bottom: 0px;
    }

    .tp-webshop .detail-price .im-ts-button{
        float:right;
        margin-right: 10px;
        padding: 6px 10px;
        font-size: 14px;
    }

    .tp-webshop .detail-price {
        position: absolute;
        margin: 10px 0px;
        bottom: 0px;
        width: 100%;
    }
    .tp-webshop .detail-price:before {
        content: ' ';
        display: block;
        float: left;
        width: 16px;
        height: 10px;

    }

}

@media only screen and (min-width: 768px) and (max-height: 700px) {

    .tp-webshop .webshop-image {
        height: 250px;
    }

    .tp-webshop .webshop-block {
        height: 520px;
    }
}
@media only screen and (min-width: 768px) and (max-height: 648px) {
    .tp-webshop .webshop-image {
        height: 180px;
    }

    .theme-2 .tp-webshop .table-grid-container.withheader{
        padding-top: 100px;
    }

    .tp-webshop .webshop-block {
        /*height: auto;*/
    }

    .tp-webshop .prices {
       /* bottom: auto;
        top:20px;*/
    }
}

@media only screen and (min-width: 1249px) {
    .tp-webshop .webshop-detail {
        height: 520px;
        width: 1150px;
        margin-left: -575px;
        margin-top: -260px;
    }

    .theme-2 .tp-webshop .webshop-detail {
        margin-left: -606px;
    }

    .tp-webshop .detail-text-wrapper .im-webshop-p {
        height: 340px;
    }
}

@media only screen and (min-height: 1000px) and (min-width: 767px) and (max-width: 1249px) {
    .tp-webshop .webshop-detail {
        margin-left: -300px;
        margin-top: -400px;
        width: 600px;
        height:auto;
        max-height:80%;
    }
    .tp-webshop .im-ts-button-close {
        top: -404px;
    }
     .tp-webshop .detail-image {
        float: none;
        width: 100%;
        height: 400px;
    }
    .tp-webshop .detail-text-wrapper {
        float: none;
        width: 100%;
    }

    .tp-webshop .detail-text-wrapper .im-webshop-p {
        height: 340px;
    }
}

/*@media only screen and (min-height: 1200px) and (min-width: 1200px)  {
    .tp-webshop .webshop-detail {
        margin-left: -350px;
        margin-top: -550px;
        width: 800px;
    }

     .tp-webshop .detail-image {
         width: 100%
        float: none;
    }
    .tp-webshop .detail-text-wrapper {
        float: none;
        width: 100%
    }
}*/



@media only screen and (min-width: 960px) and (max-width: 1249px) {
   .theme-2 .tp-webshop .webshop-detail {
        margin-left: -431px;
    }
}
@media only screen and (min-width: 960px) {

    .theme-2 .tp-webshop .table-grid-container.withheader{
        padding:90px 72px 10px 10px;
    }

    .theme-2 .tp-webshop .header h1 {
        padding-right: 80px;
    }

}


@media only screen and (min-height: 1000px) and (min-width: 960px) and (max-width: 1249px) {
    .theme-2 .tp-webshop .webshop-detail {
        margin-left: -331px;
    }
}

.tp-webshop-buttons {
    text-align: center;
    margin-top: 10px;
}

.tp-webshop-buttons .im-ts-button {
    padding: 6px 10px;
    font-size: 14px;
    border: 1px solid transparent;
}
.tp-webshop .detail-price {
    line-height: 160%;
}
