@charset "utf-8";
.photo-bk {
  background-image: url("../images/photo/bk1.jpg");
  background-position: center 1000px;
  background-repeat: repeat-y;
  background-size: 100% auto;
}
.photo-titles {
  padding: 50px 0px 30px 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.photo-titles .page-title1 {
  font-size: 2.5rem;
  display: block;
  color: #c78c62;
  text-align: center;
}
.photo-titles .page-title2 {
  font-size: 2.5rem;
  display: block;
  color: #804f21;
  text-align: center;
}
.photo-titles .page-title1 span,
.photo-titles .page-title2 span{
  color: #069245;    
}
.lang-de .photo-titles .page-title1, 
.lang-es .photo-titles .page-title1, 
.lang-fr .photo-titles .page-title1, 
.lang-hu .photo-titles .page-title1, 
.lang-ms .photo-titles .page-title1, 
.lang-pt .photo-titles .page-title1, 
.lang-ro .photo-titles .page-title1, 
.lang-id .photo-titles .page-title1, 
.lang-cs .photo-titles .page-title1, 
.lang-pl .photo-titles .page-title1, 
.lang-it .photo-titles .page-title1, 
.lang-tl .photo-titles .page-title1, 
.lang-en .photo-titles .page-title1 {
  font-family: 'photo-font1';
}
.lang-de .photo-titles .page-title2, 
.lang-es .photo-titles .page-title2, 
.lang-fr .photo-titles .page-title2, 
.lang-hu .photo-titles .page-title2, 
.lang-ms .photo-titles .page-title2, 
.lang-pt .photo-titles .page-title2, 
.lang-ro .photo-titles .page-title2, 
.lang-id .photo-titles .page-title2, 
.lang-cs .photo-titles .page-title2, 
.lang-pl .photo-titles .page-title2, 
.lang-it .photo-titles .page-title2, 
.lang-tl .photo-titles .page-title2, 
.lang-en .photo-titles .page-title2 {
  font-family: 'photo-font2';
}
.lang-ch .photo-titles .page-title1,
.lang-gb .photo-titles .page-title1{
  letter-spacing: 5px;    
}
.photo-titles .photo-title {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  color: #804f21;
  padding: 0px 0px 5px 0px;
}
.photo-titles .photo-abstract {
  color: #c78c62;
  text-align: center;
}
.photo-line {
  display: block;
  width: 100%;
  height: 3px;
  background-image: linear-gradient(to right, rgba(210, 240, 210, 0), rgba(210, 240, 210, 1), rgba(210, 240, 210, 0));
  margin: 15px 0px 15px 0px;
}
@media screen and (max-width: 970px) {
  .lang-ch .photo-titles .page-title1,
  .lang-gb .photo-titles .page-title1{
    letter-spacing: 0px;    
  }    
  .photo-titles {
    padding: 50px 15px 30px 15px;
  }
  .photo-titles .photo-abstract {    
    text-align: left;
  }  
  .photo-titles .page-title1 {
    font-size: 1.8rem;
  }
  .photo-titles .page-title2 {
    font-size: 1.2rem;
  }
  .photo-titles .photo-title {
    font-size: 1.3rem;
  }
}
.photo-gallery {
  padding: 0px 0px 70px 0px;
}
.photo-gallery .photo-container {
  position: relative;
  z-index: 100;     
}
.photo-gallery .btn-left {
  left: -70px;
}
.photo-gallery .btn-right {
  right: -70px;
}
.photo-gallery .range {
  position: relative;
  max-width: 1250px;
  height: calc(100vh - 80px);
  max-height: 703px;
  min-height: 400px;   
}
.photo-gallery .items {
  position: relative;
  width: 100%;
  height: 100%;
}
.photo-gallery .items .item {
  width: 100%;
  height: 100%;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0px;
}
.fade-in {
  animation: fade-in 0.8s ease-in-out forwards;
}
.fade-out {
  animation: fade-out 0.8s ease-in-out forwards;
}
.fade-in-fast {
  animation: fade-in 0.3s ease-in-out forwards;
}
.fade-out-fast {
  animation: fade-out 0.3s ease-in-out forwards;
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
.photo-gallery .items .item .img-loading {
  position: absolute;
  width: 48px;
  height: 48px;
  border: 5px solid rgba(200, 200, 200, 0.6);
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: item-loading 1s linear infinite;
  z-index: 131;
}
@keyframes item-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.photo-gallery .items .item .img {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 130;
}
.photo-gallery .items .item .img a {  
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.photo-gallery .items .item .img img {
  max-width: 100%;
  max-height: 100%;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
  border-radius: 12px;
}
.photo-gallery .items .item .text {
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  position: absolute;
  z-index: 132;
  width: 100%;
  box-sizing: border-box;
  bottom: 0px;
  color: #ffffff;
  visibility: hidden;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}
.photo-gallery .items .item .title {
  font-weight: bold;
  font-size: 1.3rem;
}
.photo-gallery .items .item .abstract {
  padding: 15px;
  display: flex;
  align-items: flex-end;
  position: relative;
}
.photo-gallery .items .item .abstract-text {
  flex: 1;
}
.photo-gallery .items .item .multiline {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.photo-gallery .items .item .abstract .btns {
  display: flex;
  flex-wrap: nowrap;
}
.photo-gallery .items .item .abstract .btns-opened {
  display: none;
}
.photo-gallery .items .item .abstract .btn {
  border: 2px solid #26c674;
  border-radius: 30px;
  padding: 0px 10px;
  white-space: nowrap;
  margin: 0px 0px 0px 10px;
  cursor: pointer;
  color: #26c674;
  display: flex;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.3);
}
.photo-gallery .items .item .abstract .btn:hover {
  color: #fff;
  background: #26c674;
}
.photo-gallery .items .item .abstract .btn.btn-share, 
.photo-gallery .items .item .abstract .btn.btn-download {
  display: none;
}
.photo-gallery .items .item .abstract .ico-photo-abstract-more, 
.photo-gallery .items .item .abstract .ico-photo-abstract-close {
  padding: 0px 5px 0px 5px;
}
.photo-gallery .items .item .abstract .btn:hover .ico-photo-abstract-more, 
.photo-gallery .items .item .abstract .btn:hover .ico-photo-abstract-close {
  color: #fff;
}
.photo-gallery .items .item .abstract.opened .btns {
  display: none;
}
.photo-gallery .items .item .abstract.opened .btns-opened {
  display: flex;
  width: 100%;
  padding: 15px;
  position: absolute;
  right: 0px;
  top: -30px;
  flex-wrap: nowrap;
  align-items: center;
  box-sizing: border-box;
}
.photo-gallery .items .item .abstract .btns-opened .line {
  border-top: 1px solid #cccccc;
  flex: 1;
}
.photo-gallery .items .item .abstract .btns-opened .btn {
  color: #fff;
  background: #26c674;
}
.photo-gallery .items .item .abstract .btns-opened .btn:hover {
  color: #fff;
  background: #3bd988;
  border: 2px solid #3bd988;
}
.photo-gallery .btn-left, .photo-gallery .btn-right {
  position: absolute;
  width: 50px;
  height: 50px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 50px;
  z-index: 140;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #999;
  font-size: 3rem;
  top: calc(50% - 30px);
  transition: transform 0.2s;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
}
.photo-gallery .btn-left:hover, 
.photo-gallery .btn-right:hover {
  color: #26c674;
  border: 1px solid #26c674;
  transform: scale(1.1, 1.1);
}
.photo-gallery .btn-left.btndisable, 
.photo-gallery .btn-right.btndisable, 
.photo-gallery .btn-left.btndisable:hover, 
.photo-gallery .btn-right.btndisable:hover {
  color: #ddd;
  border: 1px solid #ddd;
  background-color: #f2f2f2;
  transform: scale(1, 1);
}
.photo-gallery .thumbnail {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.3);
  width: 100%;
  height: 100%;
  padding: 30px;
  box-sizing: border-box;
  z-index: 160;
  visibility: hidden;
  border-radius: 12px;
  backdrop-filter: saturate(180%) blur(10px);
}
.photo-gallery .thumbnail .bar {
  position: relative;
  display: flex;
  justify-content: flex-end;
}
.photo-gallery .thumbnail .bar .btn-close {
  width: 50px;
  height: 50px;
  color: #ffffff;
  cursor: pointer;
  margin-right: -20px;
  margin-top: -20px;
}
.photo-gallery .thumbnail .bar .btn-close:hover {
  background-color: rgba(0,0,0,0.2);
  border-radius: 30px;    
}
.photo-gallery .thumbnail .contents {
  overflow-y: scroll;
  max-height: calc(100% - 30px);
  padding: 0px 20px 0px 0px;    
  display: grid;    
  grid-template-columns: repeat(auto-fill, 180px); 
  grid-gap: 15px 15px; 
  justify-content: space-between; /* 4 */
}
.photo-gallery .thumbnail .contents .img {
  width: 180px;
  height: 102px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.3);
  box-sizing: border-box;
  border-radius: 7px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s;
}
.photo-gallery .thumbnail .contents .img:hover {
  border: 2px solid rgba(255, 255, 255, 1);
  background-color: rgba(255, 255, 255, 1);  
}

.photo-gallery .thumbnail .contents .img.current {
  border: 2px solid #26c674;      
  background-color: rgba(255, 255, 255, 1);
}
.photo-gallery .thumbnail .contents .img img {
  max-width: 100%;
}
.photo-gallery .thumbnail .contents .img .number {
  position: absolute;
  top: -2px;
  left: -2px;
  border-radius: 50px;
  padding: 2px 7px 0px 7px;
  background-color: rgba(200, 200, 200, 0.7);
  font-size: 12px;
}
.photo-gallery .thumbnail .contents .img.current .number {
  background-color: #26c674;
  color: #fff;
}
.photo-gallery .bottom-bar {
  color: #26c674;
  display: flex;
  position: relative;
  padding: 15px 0px;
  justify-content: space-between;
  z-index: 150; 
}
.photo-gallery .bottom-bar .btn-note {
  position: absolute;
  top: -25px;
  left: 0px;
  padding: 5px 10px;
  background-color: #26c674;
  color: #ffffff;
  border-radius: 7px;
  z-index: 170;
  visibility: hidden;
  white-space: nowrap;    
}

.photo-gallery .bottom-bar .page-info, 
.photo-gallery .bottom-bar .music-info {
  height: 40px;
  padding: 0px 20px;
  border-radius: 50px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  white-space: nowrap;
  backdrop-filter: saturate(180%) blur(10px);
  background-color: rgba(240, 240, 240, 0.5);
}

.photo-gallery .bottom-bar .page-info .text, 
.photo-gallery .bottom-bar .music-info .text {
  padding: 0px 5px 0px 0px;
}
.photo-gallery .bottom-bar .page-info .page-num, 
.photo-gallery .bottom-bar .music-info .music-num {
  font-size: 1.3rem;
}

.photo-gallery .bottom-bar .page-info .info-content{
  display: flex;
  align-items: center;
  cursor: pointer;
}

.photo-gallery .bottom-bar .music-info .music-num {
  padding: 0px 15px 0px 0px;
}
.photo-gallery .bottom-bar .music-info .music-name {
  overflow: hidden; 
  width: 0px;    
  transition: width 0.3s;        
}
.photo-gallery .bottom-bar .music-info .music-name span{  
  padding-left: 100%;    
  display: inline-block;    
  animation: marquee 10s linear infinite;
}
.photo-gallery .bottom-bar .music-info .music-name.paused span{
  animation-play-state: paused;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
.photo-gallery .bottom-bar .page-info .page-more {
  margin: 0px 0px 0px 10px;
  cursor: pointer;
}
.photo-gallery .bottom-bar .info-content:hover .page-more {
  color: #000000;
}
.photo-gallery .bottom-bar .page-info .auto-switch{
   margin-left: 15px;    
   padding-left: 15px;    
   border-left:1px solid #ccc;    
}

.custom-cbox {  
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;    
}

.custom-cbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;      
}

.custom-cbox .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #fff;
  border:1px solid #26c674;
  border-radius: 5px;      
}

.custom-cbox input:checked ~ .checkmark {
  background-color: #26c674;
}

.custom-cbox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.custom-cbox input:checked ~ .checkmark:after {
  display: block;
}

.custom-cbox .checkmark:after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.photo-gallery .bottom-bar .buttons {
  padding: 0px 0px 0px 0px;
}
.photo-gallery .bottom-bar .buttons .button {
  cursor: pointer;
  padding: 5px 10px;
  color: #26c674;
}
.photo-gallery .bottom-bar .buttons .button:hover {
  color: #000000;
}
.photo-gallery .bottom-bar .buttons .button-volume {
  position: relative;    
}
.photo-gallery .bottom-bar .buttons .button-volume .volume-container{
  position: absolute;  
  background-color: #fff;    
  left: 7px;
  bottom: 35px;
  width: 30px;
  height: 100px;
  border: 1px solid #26c674;
  border-radius: 30px;    
  display: flex;
  justify-content: center;
  align-items: center;    
}

.photo-gallery .bottom-bar .buttons .button-volume .slider1 {
  cursor: pointer;    
  transform: rotate(-90deg);     
  -webkit-appearance: none;
  width: 80px;
  height: 3px;
  border-radius: 5px;
  background: #26c674;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

.photo-gallery .bottom-bar .buttons .button-volume .slider1::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #26c674;
  cursor: pointer;      
}

.photo-gallery .bottom-bar .buttons .button-volume .slider1::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #26c674;
  cursor: pointer;
}

.photo-gallery .bottom-bar .buttons .button-volume .slider {      
  --line: 3px; 
  --color: #26c674;      
  transform: rotate(-90deg);      
  width: 80px;
  height: 13px;
  -webkit-appearance :none;
  -moz-appearance :none;
  appearance :none;
  background: none;
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;    
}

.photo-gallery .bottom-bar .buttons .button-volume .slider::-webkit-slider-thumb{
  height: 13px;
  width: 13px;
  border-radius: 50%;
  box-shadow: 0 0 0 7px inset var(--color);
  border-image: linear-gradient(90deg,var(--color) 50%,#ccc 0) 1/0 100vw/0 calc(100vw + 1px);
  clip-path:
    polygon(
       0     calc(50% + var(--line)/2),
      -100vw calc(50% + var(--line)/2),
      -100vw calc(50% - var(--line)/2),
       0     calc(50% - var(--line)/2),
       0 0,100% 0,
       100%  calc(50% - var(--line)/2),
       100vw calc(50% - var(--line)/2),
       100vw calc(50% + var(--line)/2),
       100%  calc(50% + var(--line)/2),
       100% 100%,0 100%);
  -webkit-appearance: none;
  appearance: none;

}

.photo-gallery .bottom-bar .buttons .button-volume .slider::-moz-range-thumb {
  height: 13px;
  width: 13px;
  background: none;
  border-radius: 50%;  
  box-shadow: 0 0 0 7px inset var(--color);    
  border-image: linear-gradient(90deg,var(--color) 50%,#ccc 0) 1/0 100vw/0 calc(100vw + 1px);
  clip-path:
    polygon(
       0     calc(50% + var(--line)/2),
      -100vw calc(50% + var(--line)/2),
      -100vw calc(50% - var(--line)/2),
       0     calc(50% - var(--line)/2),
       0 0,100% 0,
       100%  calc(50% - var(--line)/2),
       100vw calc(50% - var(--line)/2),
       100vw calc(50% + var(--line)/2),
       100%  calc(50% + var(--line)/2),
       100% 100%,0 100%);
  appearance: none;
}

.music-info-mobile {
  display: none;
}
.pages-mobile {
  display: none;
}
.btn-music-ctrl{
  display: none;  
}


.photo-gallery.fullscreen {
  padding: 20px;
  box-sizing: border-box;    
  background: linear-gradient(to bottom, rgba(255,255,255,0.2) 0%, rgba(0,0,0,0.1) 100%), radial-gradient(at top center, rgba(255,255,255,0.10) 0%, rgb(150 150 150 / 40%) 120%) #ffffff;    
}
.photo-gallery.fullscreen .range {
  max-width: none;   
  max-height: none;
  height: calc(100vh - 100px);    
}
.photo-gallery.fullscreen .btn-left {
  left:0px;
}
.photo-gallery.fullscreen .btn-right {
  right:0px;
}
.photo-gallery.fullscreen .thumbnail {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0px;
  top: 0px;   
  border-radius: 0px;    
}

.photo-gallery.fullscreen .bottom-bar .page-info, 
.photo-gallery.fullscreen .bottom-bar .music-info {
   background-color: rgba(255,255,255, 0.8);
}

@media screen and (max-width: 1400px) {
  .photo-gallery .btn-left {
    left: 0px;
  }
  .photo-gallery .btn-right {
    right: 0px;
  }
}


@media screen and (max-width: 970px) {
  .photo-gallery {
    padding: 0px 15px 50px 15px;
  }
  .photo-gallery .range {
    max-width: 100vw;
    height: auto;
    max-height: none;
    min-height: auto;
  }
  .photo-gallery .btn-left, .photo-gallery .btn-right {
    display: none;
  }
  .photo-gallery .thumbnail {
    display: none;
  }
  .photo-gallery .bottom-bar {
    display: none;
  }
  .photo-gallery .items {
    position: relative;
    width: auto;
    height: auto;
  }
  .photo-gallery .items .item {
    width: auto;
    height: auto;
    position: static;
    display: block;
    padding: 0px 0px 30px 0px;
  }
  .photo-gallery .items .item .img {
    min-height: 200px;
  }
  .photo-gallery .items .item .img-loading {
    display: none;
  }
  .photo-gallery .items .item .title {
    font-size: 1rem;
    text-align: center;  
  }
  .photo-gallery .items .item .text {
    background: transparent;
    position: static;
    width: 100%;
    box-sizing: border-box;
    color: #333;
    visibility: visible;
  }
  .photo-gallery .items .item .abstract {
    display: block;
    padding: 15px 0px 0px 0px;
    ;
  }
  .photo-gallery .items .item .abstract-text {
    margin: 0px 0px 15px 0px;
  }
  .photo-gallery .items .item .multiline {
    -webkit-line-clamp: 5;
  }
  .photo-gallery .items .item .abstract .btns {
    justify-content: flex-end;
  }
  .photo-gallery .items .item .abstract .btn {
    background-color: #fff;
    border: 1px solid #26c674;
  }
  .photo-gallery .items .item .abstract .btn.btn-share, 
  .photo-gallery .items .item .abstract .btn.btn-download {
    display: block;
  }
  .ico-photo-share:before {
    font-size: 1.1rem;
  }
  .ico-photo-download:before {
    font-size: 1.1rem;
  }
  .btn-music-ctrl {
    display: flex;
    position: fixed;
    z-index: 200;
    right: 15px;
    bottom: 20px;
    width: 52px;
    height: 52px;
    color: rgba(0, 0, 0, 0.5);
    border-radius: 30px;
    border: 1px solid #999999;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    backdrop-filter: saturate(180%) blur(10px);
    background-color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s;
  }
  .btn-music-ctrl.position-adjust {
    bottom: 90px;
  }
  .btn-music-ctrl.music-playing span {
    animation: music-playing 2s linear infinite;
  }    
  .music-info-mobile {    
    position: fixed;
    width: 100%;
    padding: 20px 20px 80px 20px;    
    overflow: hidden;
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    bottom: 0px;
    left: 0px;
    z-index: 1100;
    backdrop-filter: saturate(180%) blur(10px);
    background-color: rgba(255, 255, 255, 0.7); 
    visibility: hidden;
    animation: music-info-mobile-hide 0.2s ease-in-out forwards;        
  }
  .music-info-mobile .content{
    display: flex; 
    justify-content: center;
    flex-direction: column;
    align-items: center;  
  }    
  .music-info-mobile.opened{     
    animation: music-info-mobile-show 0.2s ease-in-out forwards;      
  }    
   
  .music-info-mobile .text {
    white-space: nowrap;
    display: flex;
    align-items: center;
    padding: 0px 0px 15px 0px;
    font-size: 1.2rem;
    justify-content: center;
    flex-direction: column;  
  }
  .music-info-mobile .text .music-num {
    font-size: 1.2rem;
    padding: 0px 0px 0px 10px;
  }
  .music-info-mobile .buttons {
    padding: 0px 0px 0px 0px;
    display: flex;
  }    
  .music-info-mobile .buttons .button {
    cursor: pointer;
    color: #fff;
    background-color: #26c674;
    width: 45px;
    height: 45px;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px 10px;
  }
  .music-info-mobile .btn-music-ctrl {
    color: rgba(0, 0, 0, 0.5);
  }
  .music-info-mobile .btn-music-ctrl-close {
    display: none;
  }
  .music-info-mobile .btn-music-ctrl {
    display: none;
  }
  .music-info-mobile .btn-music-ctrl-close {
    display: block;
    color: #999999;
    position: absolute;
    right: 10px;
    top: 10px;
  }    
    
  .pages-mobile {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    border-top: 1px solid #26c674;
    padding: 20px 0px 0px 0px;
    margin: 30px 0px;
  }
  .pages-mobile .button {
    border-radius: 10px;
    border: 1px solid #cccccc;
    text-align: center;
    padding: 10px 7px;
    box-sizing: border-box;
    margin: 0px 3px 10px 3px;
    position: relative;
    color: #333333;
    font-size: 1.2rem;
    line-height: 1;
    min-width: 35px;
    background-color: #ffffff;
  }
  .pages-mobile .current {
    color: #fff;
    background-color: #26c674;
    border: 1px solid #26c674;
  }
}


@keyframes music-playing {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes music-info-mobile-show {
  from {
    opacity: 0;
    bottom:-150px;  
  }
  to {
    opacity: 1;
    bottom:0px;    
  }
  }    
@keyframes music-info-mobile-hide {
  from {
    opacity: 1;
    bottom:0px;       
  }
  to {
    opacity: 0;
    bottom:-100px;     
  }
} 

.more-photos-title {
  display: none;
}
.more-photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, 290px);
    grid-gap: 50px 30px;
    justify-content: center;
    margin-bottom: 50px;
}
.more-photos .item {
  box-sizing: border-box;
  width: 290px;
  height: 100%;    
  background-color: rgba(212,202,180,1);
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;       
  animation: item-out 0.3s cubic-bezier(0,0,.5,1) forwards;     
}
.more-photos .item.current {
  border:1px solid #c57543;
}
.more-photos .item:nth-of-type(4n+4) {
  margin: 0px 0px 50px 0px;
}
.more-photos .item:hover {
  animation: item-hover 0.3s cubic-bezier(0,0,.5,1) forwards;      
}
.more-photos .item:hover .buttons a {
  background-color: #8a3906;
}
.more-photos .item .img {
  width: 290px;
  height: 163.2px;
  display: flex;
  justify-content: center;
  overflow: hidden;
  background-position: center center;
  background-size: 100% 100%;
  
}
.more-photos .item:hover .img {
  
}
@keyframes item-hover {
  0% {
    scale: 1;
  }
  100% {
    scale: 1.03;
  }
}
@keyframes item-out {
  0% {
    scale: 1.03;    
  }
  100% {
    scale: 1;   
  }    
}
.more-photos .item .titles {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.more-photos .item .title {
  text-align: center;
  font-size: 1.2rem;
  padding: 0px 0px 5px 0px;
}
.more-photos .item .title a {
  color: #415a46;
}
.more-photos .item .abstract a {
  color: #6a3906;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.more-photos .item .buttons {
  display: flex;
  justify-content: center;
  padding: 10px 0px 0px 0px;
  flex: 1;
  align-items: flex-end;
}
.more-photos .item .buttons a {
  background-color: #6a3906;
  color: #e3ddcf;
  padding: 5px 35px;
  border-radius: 20px;
}
.intro {
  background-color: #d2f0d2;
  padding: 50px 0px;
  color: #6a3906;
  font-size: 1.5rem;
  text-align: center;
}
.intro .font1 {
  font-size: 2.2rem;
}
.intro .name {
  padding: 10px 0px 0px 0px;
}
.intro .name span {    
  color: #069245;
}
.bottom-carousel {
  padding: 80px 0px;
}
.gallery-carousel .picnews1 .item .carbox {
  background-color: transparent;
  border: none;
  padding: 0px 10px 0px 0px;
  box-sizing: border-box;
}
.gallery-carousel .picnews1 .item .carbox .simage {
  box-shadow: 5px 5px 6px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
}
.footer {
  margin-top: 0px;
}
@media screen and (max-width: 1300px) {
  .more-photos .item:nth-of-type(4n+4) {
    margin: 0px 30px 50px 0px;
  }
}
@media screen and (max-width: 970px) {
  .more-photos-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0px 15px 15px 15px;
  }
  .more-photos-title .line {
    font-size: 1.3rem;
    font-weight: bold;
    padding: 0px 0px 5px 0px;
    border-bottom: 3px solid #26c674;
  }
  .more-photos {
    padding: 15px;
    display: flex;
    flex-direction: column;   
    align-items: center;
  }
  .more-photos .item, .more-photos .item:nth-of-type(4n+4) {
    width: 100%;
    margin: 0px 0px 15px 0px;
    max-width: 640px;
  }
  .more-photos .item .title {
    font-size: 1rem;
    font-weight: bold;
  }
  .more-photos .item .img {
    width: 100%;
    height: auto;
  }
    
  .more-photos .item {
    animation: none;  
  }
  .more-photos .item:hover {
    animation: none;  
  }    
  .intro {
    padding: 20px 15px;
    font-size: 1rem;
  }
  .intro .font1 {
    font-size: 1.5rem;
  }
  .bottom-carousel {
    padding: 50px 15px;
  }
  .gallery-carousel .picnews1 {
    overflow: visible;
  }
  .gallery-carousel .picnews1 .item .carbox {
    padding: 0px;
  }
  .gallery-carousel .picnews1 .item .carbox {
    overflow: visible;
  }
}

.lang-fa .gallery .picnews1 .item .carbox .titles,
.lang-ar .gallery .picnews1 .item .carbox .titles,
.lang-fa .intro,
.lang-ar .intro,
.lang-fa .more-photos .item .titles,
.lang-ar .more-photos .item .titles,
.lang-fa .photo-gallery .items .item .multiline,
.lang-ar .photo-gallery .items .item .multiline,
.lang-fa .photo-titles , 
.lang-ar .photo-titles{
    direction: rtl;
}

