body {
    word-wrap: inherit !important;
}

.pnlm-load-box {
    font-family: "Vazirmatn", "Noto+Naskh+Arabic" !important;
    direction: rtl;
    text-align: center;
}

.pnlm-panorama-info {
    font-family: "Vazirmatn", "Noto+Naskh+Arabic" !important;
}

div.pnlm-tooltip span {
    font-family: "Vazirmatn", "Noto+Naskh+Arabic" !important;
    font-size: 12px;
    background-color: gainsboro;
    background-image: none !important;
}

#header-menu-trigger .header-menu-text {
    letter-spacing: 0px;
    font-weight: bolder;
    font-size: 17px;
    width: 100px;
    right: 41px;
    left: auto;
    top: 7px;
    height: 30px;
    line-height: 30px;
}

#menu-nav-wrap h3 {
    text-align: right;
}

#menu-nav-wrap .close-button {
    left: 36px;
}

#menu-nav-wrap .nav-list li a {
    direction: rtl !important;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
#menu-nav-wrap .nav-list li a b{
    color: #eee;
}
#menu-nav-wrap .nav-list li a small{
    color: #aaa;
    line-height: 14px !important;
    font-size: 13px;
    margin-bottom: 7px;
    text-indent: 25px;
}

#header-menu-trigger {
    color: #fff;
    text-shadow: 2px 1px 3px #000;
}

.menu-is-open #menu-nav-wrap {
    opacity: 0.8;
}

.home-content-tablecell h1 {
    font-size: 4rem !important;
    direction: rtl;
    color: #FFF;
}

.home-content-tablecell h1 span {
    color: #d61d1d
}

.home-content-tablecell h1 small {
    font-size: 2rem;
}

.home-content-tablecell .more .button {
    letter-spacing: 0px;
    border-radius: 10px;
    font-size: 2rem;
    direction: rtl;
}

.home-content-tablecell .more .button:hover {
    color: #F00;
    border-color: #F00;
}

.header-menu-icon {
    background-color: #eee !important;
}

.btn {
    font-family: "Vazirmatn", "Noto+Naskh+Arabic" !important;
    font-size: 14px !important;
    letter-spacing: 0px !important;
}

.pnlm-panorama-info{
    text-align: right !important;
    direction: rtl !important;
    right: 5px;
    bottom: 0px;
}
.pnlm-title-box{
    width: 98% !important;
    font-size: 15px !important;
}
.pnlm-author-box {
    direction: rtl !important;
}

.custom-hotspot {
    width: 50px;
    height: 70px;
    background: transparent;
    background-image: url('../img/hotspot-pointer.gif') !important;
    background-repeat: no-repeat !important;
    background-size: contain;
}

@media (max-width: 980px) {
    .custom-hotspot {
        width: 25px;
        height: 45px;
    }
}

/* .custom-hotspot:hover{
    outline: 7px solid #b4b7bc;
    outline-offset: 7px;
    border-radius: 50%;
} */
div.custom-tooltip span {
    visibility: hidden;
    position: absolute;
    border-radius: 3px;
    background-color: #fff;
    color: #000;
    text-align: center;
    max-width: 200px;
    padding: 5px 10px;
    margin-left: -220px;
    cursor: default;
}

div.custom-tooltip:hover span {
    visibility: visible;
}

div.custom-tooltip:hover span:after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-width: 10px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
    bottom: -20px;
    left: -10px;
    margin: 0 50%;
}


.video-hotspot {
    width: 44px;
    height: 32px;
    background: transparent;
    background-image: url('../img/hotspot-video-pointer.png') !important;
    background-repeat: no-repeat !important;
    background-size: contain;
}
@media (max-width: 980px) {
    .video-hotspot {
        width: 24px;
        height: 16px;
    }
}
.video-hotspot:hover {
    outline: 3px solid #FFF;
    outline-offset: 2px;
    cursor: pointer;
}

div.video-tooltip video {
    visibility: hidden;
    position: absolute;
    border-radius: 3px;
    background-color: #fff;
    color: #000;
    text-align: center;
    max-width: 1200px;
    padding: 5px 10px;
    margin-left: -60px;
    cursor: default;
}

/*
div.video-tooltip iframe {
    visibility: hidden;
    position: absolute;
    border-radius: 3px;
    background-color: #fff;
    color: #000;
    text-align: center;
    max-width: 400px;
    padding: 5px 10px;
    margin-left: -220px;
    cursor: default;
}
*/
/*div.video-tooltip:hover iframe{
    visibility: visible;
}*/
/*
div.video-tooltip:hover iframe:after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-width: 10px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
    bottom: -20px;
    left: -10px;
    margin: 0 50%;
}
*/


.image-hotspot {
    width: 50px;
    height: 37px;
    background: transparent;
    background-image: url('../img/hotspot-image-pointer.png') !important;
    background-repeat: no-repeat !important;
    background-size: contain;
}

@media (max-width: 980px) {
    .image-hotspot {
        width: 30px;
        height: 25px;
    }
}

.image-hotspot:hover {
    outline: 3px solid #FFF;
    outline-offset: 2px;
    cursor: pointer;
}

div.image-tooltip img {
    visibility: hidden;
    position: absolute;
    border-radius: 3px;
    background-color: #fff;
    color: #000;
    text-align: center;
    max-width: 1200px;
    padding: 5px 10px;
    margin-left: -60px;
    cursor: default;
}

/*div.video-tooltip:hover iframe{
    visibility: visible;
}*/
/*div.image-tooltip:hover img:after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-width: 10px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
    bottom: -20px;
    left: -10px;
    margin: 0 50%;
}*/


#controls {
    position: absolute;
    bottom: 0;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding-bottom: 3px;
}

.ctrl {
    padding: 4px 0px 0;
    width: 30px;
    text-align: center;
    background: rgba(200, 200, 200, 0.8);
    display: inline-block;
    cursor: pointer;
    line-height: 25px;
}

.ctrl:hover {
    background: rgba(200, 200, 200, 1);
}
header .header-logo {
    position: absolute;
    left: 50px;
    top: 5px;
    display: block;
    margin: 0;
    padding: 0;
    outline: 0;
    border: none;
    width: 250px;
    height: 60px;
    /*background: url("../img/logo.png") no-repeat center;*/
    /*background-size: contain;*/
    text-shadow: none;
    color: transparent;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
@media (max-width: 980px) {
    header .header-logo {
        width: 150px;
        height: 50px;
    }
}

#videoModal .modal-body {
    display: flex;
    justify-content: center;
}

#videoModal .modal-body video {
    max-width: 100%;
    max-height: 85vh;
}

/*#videoModal .modal-content {
    width: auto !important;
}*/
#imageModal .modal-body {
    display: flex;
    justify-content: center;
}

#imageModal .modal-body img {
    max-width: 100%;
    max-height: 85vh;
}

/*#imageModal .modal-content {
    width: auto !important;
}*/
.modal-header {
    padding: 3px 10px 0;
}

.modal-header .btn {
    padding: 3px 5px;
    height: 25px;
    line-height: 22px;
    margin: 2px 0px 5px -4px;
}

.sliderWrap {
    position: absolute;
    top: 35%;
    left: 10px;
    transform: translate(-50%, -50%);
    z-index: 700;
}

.sliderWrap ul li {
    width: 30px;
    height: 30px;
    position: relative;
    margin: 3px 0;
    cursor: pointer;
    border-radius: 3px;
}

.sliderWrap ul li.info {
    background: #fff;
    color: #333;
    border: 1px solid #999;
}

.sliderWrap ul li .fa {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: #333;
}

.sliderBar {
    position: absolute;
    top: 0;
    left: 35px;
    width: 0;
    height: 30px;
    background: #000000a1;
    border-radius: 3px;
    transition: all 0.1s 0s ease;
}

#aboutModal .modal-content {
    padding: 2px 0;
}

#aboutModal .modal-body {
    max-height: 85vh;
    overflow-y: auto;
}

#aboutModal .modal-body p {
    margin-bottom: 20px;
}

#aboutModal .modal-body p.ltr-lang {
    direction: ltr;
    padding: 15px;
    line-height: 30px;
    text-align: justify;
}

#aboutModal .modal-body p.rtl-lang {
    direction: rtl;
    padding: 15px;
    line-height: 30px;
    text-align: justify;
}

.modal .modal-header {
    padding: 7px 10px;
    direction: rtl;
}

.modal .modal-header h2 {
    font-size: 20px;
    margin: 3px 0;
    padding-right: 5px;
    line-height: 24px;
}

.modal .modal-header button {
    margin: 3px 0 3px 3px;
}

