﻿
.tn3-gallery {
    position: relative;
    width: 100%;
    height:500px;
    background-color: #000000;
    line-height: normal;
    margin:9px auto;
    
}
/*.tn3-gallery img {
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
}*/    
.tn3-image {
    position: absolute;
    width: 100%;
    height: 457px;
    background-color: #000000;
}
.tn3-controls-bg {
    position: absolute;
    width: 100%;
    height: 47px;
    bottom: 0px;
    background-image: url('tbg.png');
}
.tn3-thumbs ul, .tn3-thumbs li {
    margin: 0 !important;
    padding: 0 !important;
    list-style-type: none !important;
    float:left !important;
}
.tn3-thumbs {
    position: static !important;
    width:100%;
    height: 37px;
    bottom: 0px;
    left: 49px;
    padding: 4px 28px 4px 28px;
    background-image: url('tbg2.png');
}
.tn3-thumb {
    border: 1px solid #3e3e3e;
    width: 35px;
    /*height: 35px;*/
    margin-right: 3px;
    cursor: pointer;
}
.tn3-thumb div{
    background:none !important;
    opacity:1 !important;
}
.tn3-full-image img {
        width:750px;
    height: 457px;
    float:left;
}
.tn3-thumb img {
    width: 35px;
    height: auto;
    border:1px solid #ccc;
}    
/*.tn3-thumb-over {
    border: 1px solid #c3c3c3;
}*/
.tn3-thumb-selected {
    border: 1px solid #c3c3c3;
    cursor: default;
}
.tn3-next {
    position: absolute;
    background-image: url('tn3.png');
    background-position: -39px -2px;
    width: 30px;
    height: 31px;
    right: 6px;
    cursor: pointer;
}
.tn3-next:hover {
    background-position: -39px -39px;
}
.tn3-prev {
    position: absolute;
    background-image: url('tn3.png');
    background-position: -4px -2px;
    width: 30px;
    height: 31px;
    left: 6px;
    cursor: pointer;
}
.tn3-prev:hover {
    background-position: -4px -39px;
}
.tn3-next-page {
    position: absolute;
    background-image: url('tn3.png');
    background-position: -153px -5px;
    width: 25px;
    height: 25px;
    right:50px;
    bottom: 9px;
    cursor: pointer;
}
.tn3-next-page:hover {
    background-position: -153px -42px;
}
.tn3-prev-page {
    position: absolute;
    background-image: url('tn3.png');
    background-position: -129px -5px;
    width: 25px;
    height: 25px;
    bottom: 9px;
    left: 51px;
    cursor: pointer;
}
.tn3-prev-page:hover {
    background-position: -129px -42px;
}
.tn3-preloader {
    position: absolute;
    width: 39px;
    height: 15px;
}
.tn3-text-bg {
    position: absolute;
    top: 0px;
    width: 100%;
    font-size: medium;
    background-image: url('bg.png');
    padding-bottom: 1.1em;
    direction:rtl;
}
.tn3-image-title {
    color: #FFFFFF;
    padding-top: 10px;
    font-size: 16px;
    text-align: center;
}
.tn3-image-description {
       color: #E0DCDC;
    font-family: Tahoma,Helvetica,sans-serif;
    font-size: 10pt;
    line-height: 1.1em;
    text-align: center;
}
.tn3-timer {
    position:absolute;
    width: 100%;
    height: 2px;
    bottom: 0px;
    background: url('bg.png') repeat;
    background: rgba(0, 0, 0, 0.3);
}
.tn3-count {
    position:absolute;
    right:20px;
    bottom:6px;
    color:#777777;
    font-family:Arial, Helvetica, sans-serif;
    font-size:12px;
    display: none;
}
.tn3-play {
    position: absolute;
    background-image: url('tn3.png');
    background-position: -74px -5px;
    left: 13px;
    bottom: 9px;
    width: 25px;
    height: 25px;
    cursor: pointer;
}
.tn3-play:hover {
    background-position: -74px -42px;
}
.tn3-play-active {
    background-position: -101px -4px;
}
.tn3-play-active:hover {
    background-position: -101px -41px;
}
.tn3-show-albums {
    position: absolute;
    background-image: url('tn3.png');
    background-position: -177px -6px;
    bottom: 9px;
    right: 59px;
    width: 25px;
    height: 25px;
    cursor: pointer;
}
.tn3-show-albums:hover {
    background-position: -177px -41px;
}
.tn3-fullscreen {
    position: absolute;
    background-image: url('tn3.png');
    background-position: -203px -5px;
    bottom: 9px;
    right: 11px;
    width: 25px;
    height: 25px;
    cursor: pointer;
}
.tn3-fullscreen:hover {
    background-position: -203px -42px;
}
.tn3-albums {
    position: absolute;
    width: 750px;
    height:457px;
    left: 0px;
    top: 0px;
    color: #e0dcdc;
    font-family: Tahoma, Helvetica, sans-serif;
    background-image:url('bg.png');
    background: rgba(0, 0, 0, 0.7);
}
.tn3-inalbums {
    position: absolute;
    width: 750px;
    height: 457px;
    padding: 14px;
    top: 45px;
}
.tn3-album {
    position:absolute;
    width: 280px;
    height: 70px;
    background-color: #1a1a1a;
    overflow: hidden;
    cursor: pointer;
}
.tn3-album-over {
    background-color: #2a2a2a;
}
.tn3-album-selected {
    background-color: #cdcdcd;
    color: #111214;
    cursor: default;
}
.tn3-album-image {
    height: 100%;
    width: 80px;
    margin-right: 10px;
    float: left;
}
.tn3-album-image img {
    width: 80px;
    height: 80px;
}
.tn3-album-title {
    font-size:11px;
    font-weight:bold;
    margin-top: 1em;
}
.tn3-album-description {
    font-size:10px;
    height: 3em;
    line-height: 1.4em;
    overflow: hidden;
}
.tn3-albums-next {
    position:absolute;
    background-image:url('tn3.png');
    background-position: -43px -9px;
    width: 20px;
    height: 20px;
    right:24px;
    top:20px;
    cursor:pointer;
}
.tn3-albums-next:hover {
    background-position: -43px -46px;
}
.tn3-albums-prev {
    position:absolute;
    background-image:url('tn3.png');
    background-position: -9px -9px;
    width: 20px;
    height: 20px;
    right: 46px;
    top: 20px;
    cursor: pointer;
}
.tn3-albums-prev:hover {
    background-position: -9px -46px;
}
.tn3-albums-close {
    position: absolute;
    background-image: url('tn3.png');
    background-position: -237px -9px;
    width: 20px;
    height: 20px;
    left: 20px;
    top: 19px;
    cursor: pointer;
}
.tn3-albums-close:hover {
    background-position: -237px -47px;
}
.tn3-sep1 {
    position: absolute;
    background-image: url('tn3.png');
    width: 2px;
    height: 47px;
    left: 47px;
}
.tn3-sep2 {
    position: absolute;
    background-image: url('tn3.png');
    width: 2px;
    height: 47px;
    right: 96px;
}
.tn3-sep3 {
    position: absolute;
    background-image: url('tn3.png');
    width: 2px;
    height: 47px;
    right: 47px;
}

.tn3.album{
    margin:0 auto;
    list-style-type: none;
 
}

.tn3.album li {
    float: right;
    text-align: center;
    list-style-type: none;
    margin: 8px ;
    width: 23%;
    height: auto;
    /*overflow-y: auto;
    overflow-x: hidden;*/
}
.tn3.album li img{
    float: inherit;
    width: 100%;
    border: 1px solid #ccc;
}
.tn3.album ol {

  width: 100%;
  margin: 0 auto;
  padding:0;
}
/*List Gallery*/
.prCell {
    background: url("../../images/prc.gif") repeat-y scroll left center transparent;
    border: 1px solid #CCCCCC;
    height: 120px;
    margin: 0 10px;
    vertical-align: top;
}
.prCell table tr td 
{
 border:1px solid;
}
.prImg1 {
    border: medium none;
    height: 80px;
    width: 80px;
}

.prTitle a
{
    font-family:Tahoma;
    font-size:8pt;
    font-weight:bold;
    color:black;
    text-align:center;
    
}

.prCell {
  background: #f1f1f1 none repeat scroll 0 0;
  border: 1px solid #cccccc;
  box-shadow: 1px 1px 1px #f1f1f1;
  height:200px;
  margin:5px;
  padding-top: 0 !important;
  vertical-align: middle !important;
  float:right;
}



.prCell {
  border: medium none !important;
  width: 215px;
}
.listgallery a {
  color: #0f8ab6;

  font-size:13px;
  font-weight: bold;
  margin: 0;
}

.prTitle {
  background: #407fc1;
  color: #fff;
  font-size:13px;
  font-weight: bold;
  margin: 0 auto;

    text-align:center;
}
.prCell img {
  height:166px;
  width: 100%;
  float: right;
}
.mygallery {
direction:rtl !important;
width:100%;
float:right;
}

.listgallery table {
margin:0 auto;
}

.tn3.album h4 {
    font-size: 14px;
    margin: 0px;
    text-align: center;
    padding: 5px 6px;
    float: inherit;
    width: 100%;
}
.tn3 .description {
    float: inherit;
    width: 100%;
    background: #1f60a5;
    font-size: 12px;
    padding: 2px 3px;
     color: #fff;
}
.link-gallery,.img-gallery{
    display: block;
    border: 1px solid #407fc1;
    position: relative;
    float:right;
    width:100%;
}
.main-gallery {
    min-height: 500px;
    margin-top: 20px;
    margin-bottom: 20px;
    background: #f7f7f7;
    padding: 20px 9px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
}

.mt-10 {
    margin: 10px 0;
}
.gallery-h{
    /*height: 290px;*/
    margin-bottom: 10px;
}
.img-gallery-h{
    margin-bottom:15px;
}
.prDescription{
    background: #1f60a5;
    color: #fff;
    font-size: 13px;

    text-align: center;
  
}
@media(max-width:768px){
    .gallery-h,.img-gallery-h{
        height:auto;
    }
}
@media (max-width: 425px){
    .tn3.album li {
        width: 70% !important;
        height: auto;
        margin: 0px auto 10px;
        float: inherit;
        display: table;
       
    }
    .tn3.album h4,.tn3 .description{
        float:right;
    }
}