body.tsout {
    overflow: hidden;
}

body.tsout .threesixty.threeSixtyOutsideBox {
    height: 100%!important;
    width: 100%!important;
}

.threesixty {
    margin: 0 auto;
    overflow: hidden;
    max-height: 100%;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: auto
}

.threesixty .threesixty_images {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0
}

.threesixty .threesixty_images img {
    top: 0;
   /* width: 100%;
    height: auto;*/
    height: 100vh;
    width: auto;
    margin: 0 auto;
}

.threesixty .threesixty_images img.previous-image {
    display: none
}

.threesixty .threesixty_images img.current-image {
    display: block
}

.threesixty .spinner {
    width: 60px;
    display: block;
    margin: 0 auto;
    height: 30px;
    background: #333;
    background: rgba(0, 0, 0, .7);
    border-radius: 5px
}

.threesixty .spinner span {
    font-family: Arial, "MS Trebuchet", sans-serif;
    font-size: 12px;
    font-weight: bolder;
    color: #fff;
    text-align: center;
    line-height: 30px;
    display: block
}

.threesixty .nav_bar {
    position: absolute;
    color: #fff;
    z-index: 1;
    background: rgba(0, 0, 0, .6);
    border: 1px solid rgba(0, 0, 0, .7);
    border-radius: 5px;
    box-shadow: inset 0 0 5px rgba(255, 255, 255, .5);
    border: 1px solid #ddd;
    display: flex;
}

.threesixty .nav_bar.bottom-right {
    bottom: 10px;
    right: 20px
}

.threesixty .nav_bar.bottom-left {
    bottom: 10px;
    left: 20px
}

.threesixty .nav_bar.top-left {
    top: 10px;
    left: 20px
}

.threesixty .nav_bar.top-right {
    top: 10px;
    right: 20px
}

.threesixty .nav_bar.top-center {
    top: 10px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%)
}

.threesixty .nav_bar.bottom-center {
    bottom: 10px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%)
}

.threesixty .nav_bar .butn {
    z-index: 2;
    padding: 10px;
    border-radius: 0;
    cursor: pointer;
    background: #ffffff;
}

.threesixty .nav_bar .butn:first-child {
    border-left: none
}

.threesixty .nav_bar .butn:last-child {
    border-right: none
}

.threesixty .nav_bar .butn span {
    z-index: 13;
    display: block;
    width: 15px;
    height: 15px;
    margin: auto
}
.threesixty .nav_bar .butn span:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #000;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}
.threesixty .nav_bar .butn span.icon-play:before {
    content: "\f04b";
}

.threesixty .nav_bar .butn span.icon-pause:before {
    content: "\f04c";
}

.threesixty .nav_bar .butn span.icon-forward:before {
    content: "\f105";
}

.threesixty .nav_bar .butn span.icon-back:before {
     content: "\f104";
}

.threesixty .nav_bar .butn span.icon-fullscreen:before {
    content: "\f065";
}

.threesixty .nav_bar .butn span.icon-resize:before {
    content: "\f066";
}

.threesixty .nav_bar .butn span.icon-download {

}

@media all and (max-width: 768px) {
    .threeSixtyOutsideBox .threesixty_images li {

    }
    .threeSixtyOutsideBox .threesixty_images img {
        max-width: 100%;
        height: max-content;
        margin-top: 50px;
    }

}
@media all and (orientation: landscape ) {

    .threeSixtyOutsideBox .threesixty_images img {

        margin-top: 0!important;
        max-height: 100vh;
    }

}