/*----------------------------------------------------------------------*/
img::-moz-selection {
    background-color: transparent;
    color: #000;
}

img::selection {
    background-color: transparent;
    color: #000;
}

.main-photogallery {
    float: right;
    width: 100%;
   background-color: #fff;
    padding-bottom: 30px;
    overflow: hidden;
    box-sizing: border-box;
}

.photo-header {
    float: right;
    width: 100%;
}

    .photo-header h3 {
        font-family: yekan;
        color: #006a45;
        text-align: right;
        margin: 20px 0px;
       direction: rtl;
       font-size: 20px;
       margin-right: 25px;
    }

.photo-list {
    float: left;
    width: 25%;
    overflow: scroll;
    overflow-x: hidden;
    max-height: 500px;
    padding-bottom: 20px;
    padding-right: 6px;
    box-sizing: border-box;
}

    .photo-list li {
        direction: rtl;
        border: 1px solid #3b3b3b;
        float: right;
        width: 100%;
        border-bottom: none;
        padding: 5px;
        margin: 0 0 2px 0;
        border-right: 0px;
        display: flex;
        flex-flow: row;
          background: #af1110;
    }

    .photo-list a {
        display: inline-block;
        vertical-align: top;
        text-align: right;
        font-family: yekan;
        cursor: pointer;
    }

    .photo-list .photo-img {
    }

        .photo-list .photo-img img {
            max-width: 100%;
            min-width: 100px;
            height: 60px;
        }

.photo-title {
    font-size: 13px;
    padding: 5px;
    box-sizing: border-box;
    color: white;
}

.photo-tv {
    float: left;
    width: 75%;
    padding: 30px;
    box-sizing: border-box;
    padding-top: 0px;
    position: relative;
    max-height: 500px;
    overflow: hidden;
}

    .photo-tv a {
    }

.photo-list::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}

.photo-list::-webkit-scrollbar {
    width: 12px;
    background-color: #F5F5F5;
}

.photo-list::-webkit-scrollbar-thumb {
    border-radius: 0px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #555;
}

.active-list {
    background-color: red
}

.photo-tv img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.photo-bar {
    background-color: #525252 !important;
}

.photo-tv a {
    position: absolute;
    cursor: pointer;
}

.photo-fw {
    right: 30px;
    background-color: #f1f1f1;
    top: 50%;
    padding: 8px;
}

    .photo-fw i {
        color: #000 !important;
    }

.photo-bw {
    left: 30px;
    background-color: #f1f1f1;
    top: 50%;
    padding: 8px;
}

    .photo-bw i {
        color: #000 !important;
    }

.btn-dsn {
    display: none;
}

@media only screen and (max-width: 900px) {
    .photo-list li {
        flex-flow: column;
    }
}

@media only screen and (max-width: 768px) {
    .photo-list {
        width: 100%;
        flex-flow: row;
    }

    .photo-tv {
        width: 100%;
    }
    .photo-list li {
        flex-flow: row;
    }
}
