.main-image,
.thumbnail-wrapper {
    border-right: 1px solid #848f99;
    float: left
}

.main-image {
    position: relative;
    width: 600px;
    height: 100%;
    overflow: hidden;
    box-sizing: border-box
}

.tt-aside03-layout{
    margin-right:10%;
}

.main-image.no-photo {
    background: url(https://www.myauto.ge/templates/assets/img/img/no-photo.svg) 50% 50%;
    background-size: 100%
}

.main-image .main-image-block {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: -webkit-zoom-in!important;
    cursor: -moz-zoom-in!important;
    cursor: url(https://www.myauto.ge/templates/assets/img/icons/loupe.svg), auto!important;
    position: relative
}

.main-image .main-image-block:hover .slide-arrow {
    opacity: 1
}

.main-image .main-image-block .main-image-zoom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, .4);
    color: #FFF;
    font-size: 14px;
    text-align: center;
    height: 30px;
    margin: 0
}

.main-image .main-image-block .main-image-zoom span {
    display: inline-block;
    color: #FFF
}

.main-image .main-image-block .main-image-zoom span:first-child {
    width: 20px;
    height: 20px;
    display: inline-block;
    background-image: url(https://www.myauto.ge/templates/assets/img/icons/loupe_white.svg);
    background-size: 90%;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    top: 6px;
    margin-right: 2px
}

.main-image .main-image-block+iframe {
    display: none
}

.main-image-block:after,
.thumbnail-image:after {
    content: '';
    position: absolute;
    z-index: 0;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: transparent
}

.main-image a {
    opacity: 1
}

.main-image .flex-direction-nav .flex-prev {
    left: 40px
}

.main-image .flex-direction-nav .flex-next {
    right: 40px
}

.thumbnail-wrapper {
    position: relative;
    width: 154px;
    border-left: 1px solid #848f99;
    height: 100%;
    margin: 0 0 0 4px
}

.thumbnail-wrapper .thumbnail-wrapper-block {
    overflow-y: auto;
    overflow-x: hidden
}

.thumbnail-wrapper li {
    float: none!important
}

#detail-slider .flex-viewport,
.thumbnail-wrapper .flex-viewport {
    height: 100%!important
}

.main-image img {
    max-width: 100%;
    max-height: 100%
}

.slide-arrow {
    cursor: pointer;
    position: absolute;
    width: 60px;
    height: 80px;
    z-index: 1;
    transition: opacity .3s;
    opacity: 0;
    background-color: rgba(0, 0, 0, .5);
    border-radius: 3px;
    background-size: 25px
}

.slide-arrow.slide-left {
    left: 7px
}

.slide-arrow.slide-right {
    right: 7px
}

.new-popup-gallery-arrow,
.slide-arrow {
    background-repeat: no-repeat;
    background-position: center
}

.new-popup-gallery-arrow-left,
.slide-left {
    background-image: url(https://www.myauto.ge/templates/assets/img/icons/left-arrow.svg)
}

.new-popup-gallery-arrow-right,
.slide-right {
    background-image: url(https://www.myauto.ge/templates/assets/img/icons/right-arrow.svg)
}

.slide-left:hover,
.slide-right:hover {
    background-color: rgba(0, 0, 0, .7)
}

.slide-left-off,
.slide-right-off {
    display: none;
    cursor: default;
    top: 0;
    left: 0;
    position: absolute;
    width: 40%;
    height: 100%;
    z-index: 2;
    background: rgba(0, 0, 0, 0)
}

.new-popup-gallery-large.loading,
.new-popup-gallery-thumbs p {
    background-repeat: no-repeat;
    background-position: center center
}

.slide-right-off {
    left: inherit;
    right: 154px
}

.thumbnail-image {
    position: relative;
    overflow: hidden;
    width: 153px;
    display: block;
    height: 120px;
    border-bottom: 1px solid #848f99;
    margin: 0;
    box-sizing: border-box;
    -webkit-transition: border .3s, left .3s;
    -moz-transition: border .3s, left .3s;
    transition: border .3s, left .3s;
    border-top: 0;
    cursor: pointer
}

.new-popup-gallery-container,
.numeric {
    position: absolute;
    transition: all .2s ease-in-out
}

.thumbnail-image:first-child {
    border-top: 0
}

.thumbnail-image:last-child {
    border-bottom: 0
}

.thumbnail-image.video {
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center
}

.thumbnail-image.video .numeric {
    background-color: #EF4136;
    letter-spacing: .5px
}

.thumbnail-image img {
    width: 100%;
    font-family: Arial, Sans-serif
}

.numeric {
    opacity: 0;
    left: 5px;
    top: 5px;
    border-radius: 2px;
    font-size: 11px;
    color: #fff;
    padding: 2px 5px;
    line-height: 11px;
    min-width: 30px;
    z-index: 0;
    background-color: #dd3d53;
    text-align: center;
    font-family: sans-serif
}

.active-thumbnail,
.active-thumbnail span,
.numeric.active {
    opacity: 1;
    transition: all .2s ease-in-out
}

.new-popup-gallery-container {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, .9);
    z-index: -1;
    opacity: 0;
    display: block;
    height: auto;
    overflow: hidden;
    font-family: "BPG Mrgvlovani", sans-serif
}

.new-popup-gallery-container.active {
    position: fixed;
    opacity: 1;
    z-index: 10000000
}

.new-popup-gallery-large {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 87%;
    margin: 23px 0 0;
    position: relative;
    cursor: pointer
}

.new-popup-gallery-large.loading {
    background-image: url(https://www.myauto.ge/templates/assets/css/images/loading.svg);
    background-size: 50px auto
}

.new-popup-gallery-large img {
    height: 100%;
    max-height: 100%;
    max-width: 100%;
    cursor: pointer;
    position: relative
}

.new-popup-gallery-cnt {
    width: 954px;
    text-align: center;
    display: block;
    margin: 0 auto;
    color: #FFF;
    font-size: 14px;
}

.new-popup-gallery-cnt2 {
    width: 954px;
    text-align: center;
    display: block;
    margin: 0 auto;
    color: #FFF;
    font-size: 14px;
}

.new-popup-gallery-thumbs {
    height: 85px;
    width: 954px;
    overflow: hidden;
    margin: auto
}

.new-popup-gallery-thumbs div {
    width: 2500px;
    transition-property: transform;
    transition-timing-function: cubic-bezier(0, 0, .25, 1);
    transition-duration: .5s;
    transform: translate3d(0, 0, 0)
}

.new-popup-gallery-thumbs p {
    width: 96px;
    height: 75px;
    float: left;
    margin: 5px;
    cursor: pointer;
    position: relative;
    background-size: cover;
    border-radius: 3px;
    overflow: hidden
}

.new-popup-gallery-thumbs p:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: #000;
    opacity: .5
}

.new-popup-gallery-thumbs p.active:after,
.new-popup-gallery-thumbs p:hover:after {
    opacity: 0
}

.new-popup-gallery-close {
    background-image: url(img/popup_close_16.png);
    background-position: right 20px center;
    background-repeat: no-repeat;
    position: absolute;
    padding: 25px 45px 25px 25px;
    color: #FFF;
    cursor: pointer;
    font-size: 14px;
    z-index: 99999;
    top: 0;
    right: 0;
    opacity: .8;
    overflow: hidden
}

.new-popup-gallery-close:hover {
    opacity: 1
}

.new-popup-gallery-arrow {
    background-size: 30px;
    width: 70px;
    height: 100px;
    background-color: #060606;
    border-radius: 5px;
    left: 22px;
    position: absolute;
    cursor: pointer;
    z-index: 999;
    border: 1px solid rgba(255, 255, 255, .15);
    top: 50%;
    margin-top: -50px;
    display: flex;
    align-items: center;
    justify-content: center
}

.new-popup-gallery-arrow:hover {
    background-color: #000;
    border: 1px solid rgba(255, 255, 255, .25)
}

.new-popup-gallery-arrow i {
    color: #d0d0d0;
    font-size: 19px;
    font-weight: 400
}

.new-popup-gallery-arrow:hover i {
    color: #FFF
}

.new-popup-gallery-arrow.new-popup-gallery-arrow-right {
    left: auto;
    right: 22px
}

.new-popup-gallery-container.mobile .new-popup-gallery-large {
    height: 100%;
    margin: 0
}

.new-popup-gallery-container.mobile .new-popup-gallery-large img {
    height: auto
}

.new-popup-gallery-container.mobile .new-popup-gallery-cnt {
    width: auto;
    position: absolute;
    z-index: 3;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, .6)
}

.new-popup-gallery-container.mobile .new-popup-gallery-cnt2 {
    width: auto;
    position: absolute;
    z-index: 3;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, .6)
}

.new-popup-gallery-container.mobile .new-popup-gallery-thumbs {
    display: none
}

.new-popup-gallery-container.mobile .new-popup-gallery-close {
    color: transparent;
    background-position: center;
    width: 45px;
    height: 45px;
    opacity: 1;
    background-color: rgba(6, 6, 6, .4);
    padding: 0;
    border-radius: 5px;
    margin: 5px;
    border: 1px solid rgba(255, 255, 255, .15)
}

.new-popup-gallery-container.mobile .new-popup-gallery-arrow {
    border-radius: 5px;
    width: 11%;
    max-width: 55px;
    height: 60px;
    margin-top: -30px;
    background-color: rgba(6, 6, 6, .4);
    background-size: 20px
}

.new-popup-gallery-container.mobile .new-popup-gallery-arrow-left {
    left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: none
}

.new-popup-gallery-container.mobile .new-popup-gallery-arrow-right {
    right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none
}


footer {
    position: relative;
    bottom: 0;
    width: 100%;
}