body{
  background-color: #ffffff;
  min-height:calc(100vh - 84px);
  padding:0; margin:0;
}

@font-face {
  font-family: Parastoo;
  src: url('../fonts/Parastoo-FD.eot');
  src: url('../fonts/Parastoo-FD.eot?#iefix') format('Parastoo-FD-opentype'),
       url('../fonts/Parastoo-FD.woff') format('woff'),
       url('../fonts/Parastoo-FD.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.hidden {
    display:none;
}
.modal {
  display: none;
  position: fixed;
  z-index:10000000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
}
/*loader*/
.loader {
  z-index:10000001;
  margin:100px 0;
  border: 16px dotted  #f3f3f3;
  border-radius: 50%;
  border-top: 16px dotted  #3498db;
  width: 120px; height: 120px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/*end loader css*/

div.gallery {
  border: 1px solid rgb(23,23,23);
  box-shadow:3px 3px 5px gray;
  border-radius:5px;
}
div.gallery:hover {
  border: 1px solid #777;
}
div.gallery img {
  min-height:150px; max-height:150px; max-width:400px; width:auto; border-radius:5px; margin-top:10px;
}
div.desc {
  font-size:10px;
  padding: 15px;
  text-align: center;
  background-color:orange;
  color:rgb(23,23,23);
  border-radius:0 0 5px 5px;
  min-height:90px;
  max-height:90px;
}
.responsive {
  padding: 5px 6px;
  float: right;
  width: 24%;
}

@media screen and (max-width: 800px) {
    .ifLandscape{ display:none; }
    .ifPortrate{ display:block; }
}
@media screen and (min-width: 801px) {
    .ifLandscape{ display:block; }
    .ifPortrate{ display:none; }
}

.header{
    position:sticky;
    top:0;
    left:0;
    margin:0;
    background-color: #fff;
    padding: 10px;
    border-bottom: 1px solid #ccc;
    text-align: left;
    z-index:9000000;
}
.logo{
    height:48px;
    width:auto;
}

.content{
    padding:0; margin:5px;
    min-height:100vh;
}
.postDiv{
    position:relative;
}
.postDataDiv{
    height:40px;
}
.postPagePic{
    width:30px; height:30px; background-size:cover;
    border-radius:50%; margin:5px;
}
.postTitle{
    font-size:14px; font-weight:900; position:absolute; left:40px; top:0; display:inline-block;
}
.postPageName{
    font-size:10px; position:absolute; left:40px; top:18px; display:inline-block;
}
.postPicDiv{
    width:100%; min-height: min(500px , 100%); background-color:black; text-align:center;
}
.postPic{
    height: min(500px , 100%); max-width:100%; max-height:500px; width:auto; max-width:95%; cursor:pointer;
}
.actionsDiv{
    height:30px;
}
.likeAPost{
    
}
.commentAPost{
    
}
.sendAPost{
    
}
.commentDiv{
    height:50px;
}
.postComment{
    
}

.footer {
    position:sticky;
    bottom:0;
    left:0;
    margin:0;
    background-color: #fff;
    border-top: 1px solid #ccc;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index:9000001;
}

.menu, .save, .saveAPost, .add, .ghalb, .likeAPost, .show3D, .commentAPost, .sendAPost, .footerHome, .footerExplore, .footerReels, .footerDirect, .footerLogin, .footerHomeSelected, .footerExploreSelected, .footerReelsSelected, .footerDirectSelected, .footerLoginSelected{
    width:8vw; height:8vw; max-width:42px; max-height:42px; border-radius:50%; cursor:pointer;  background-size:cover;
}
.menu, .save, .saveAPost, .add, .ghalb, .likeAPost, .show3D, .commentAPost, .sendAPost{
    display:inline-block;
}
.ghalb{
    position:absolute; right:15px; top:10px;
}
.add{
    background-image:url("../../3DGallery/pics/add.png");
    position:absolute; right:55px; top:9px;
}
.save, .saveAPost{
    background-image:url("../../3DGallery/pics/save.png");
    position:absolute; right:15px; bottom:40px;
}
.footerLoginSelected{
    border:solid black 2px; 
}
@media (prefers-color-scheme: dark){
    .save, .saveAPost, .add, .ghalb, .likeAPost, .show3D, .commentAPost, .sendAPost, .footerHome, .footerExplore, .footerReels, .footerDirect, .footerLogin .footerHomeSelected, .footerExploreSelected, .footerReelsSelected, .footerDirectSelected, .footerLoginSelected, .footer{
        -webkit-filter: invert(-1);
        filter: invert(1);
    }
}
.footerHome{
    background-image:url("https://oo1.ooo/3DGallery/pics/footerHome.png");
}
.footerExplore{
    background-image:url("https://oo1.ooo/3DGallery/pics/footerExplore.png");
}
.footerReels{
    background-image:url("https://oo1.ooo/3DGallery/pics/footerReels.png");
    background-image:url("../../3DGallery/pics/sphere.gif");
    max-width:36px; max-height:36px; 
}
.ghalb, .likeAPost{
    background-image:url("https://oo1.ooo/3DGallery/pics/ghalb.png");
}
.show3D{
    background-image:url("../../3DGallery/pics/sphere.gif");
    width:18px;
    height:18px;
    margin:0 0 8px 8px;
}
.commentAPost{
    background-image:url("../../3DGallery/pics/comment.png");
}
.sendAPost, .footerDirect{
    background-image:url("https://oo1.ooo/3DGallery/pics/footerDirect.png");
}
.footerLogin{
    background-image:url("https://oo1.ooo/3DGallery/pics/footerLogin.png");
}
.footerHomeSelected{
    background-image:url("../../3DGallery/pics/footerHomeSelected.png");
}
.footerExploreSelected{
    background-image:url("https://oo1.ooo/3DGallery/pics/footerExploreSelected.png");
}
.footerReelsSelected{
    background-image:url("../../3DGallery/pics/sphere.gif");
    background-color:black;
}
.footerDirectSelected{
    background-image:url("https://oo1.ooo/3DGallery/pics/footerDirectSelected.png");
}
.footerLoginSelected{
    background-image:url("https://oo1.ooo/3DGallery/pics/footerLogin.png");
}

.menu{
    width:8vw; height:8vw; max-width:42px; max-height:42px; border-radius:50%; cursor:pointer;  background-size:cover;
    position:absolute; right:20px; top:10px;
    background-image:url("../../3DGallery/pics/menu.png");
}
.menuDiv {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    position: absolute;
    top: 25px;
    right: 35px;
    width: 250px;
    z-index: 1000;
    display: none;
    max-height:70vh;
    overflow: auto;
}
.menuItem {
    padding: 12px 16px;
    color: #262626;
    font-size: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
    display: block;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.menuItem:hover {
    background-color: #f0f0f0;
}
.menuItem a{
    text-decoration:none;
    color:black;
    font-weight:600;
}

.metaPlaceGroup{
    text-align:left; width:calc(100% - 20px); border:2px solid black; margin:10px; padding:10px; overflow-x:auto; white-space:nowrap; 
}
.metaPlace{
    text-align:center; min-width:200px; height:150px; border:1px solid grey; padding:10px; border-radius:5px; display:inline-block; vertical-align:text-top;
}
.metaPlaceCollectionName{
    display:table-cell; min-width:200px; height:130px; text-align:center; vertical-align:middle; white-space:nowrap; background-color:lightgrey; border-radius:5px; 
}
.metaPlaceName{
    width:100%; height:20px; font-size:12px; font-weight:900; white-space:nowrap; color:brown; display:block;
}
.metaPlacePic{
    text-align:center; width:100%; text-align:center; display:block;
}
.metaPlaceThumbnail{
    height:80px; width:auto; margin:5px;
}
.metaPlaceAction{
    white-space:nowrap; display:block; max-width:100%;
}
.metaPlaceCheckbox, .metaPlaceBuy, .metaPlaceShow{
    margin:0 10px; padding:0; width:20px; height:20px; cursor:pointer; vertical-align:text-bottom;
}

.mainDiv, #menuEditSubjectsDiv{
    box-sizing:border-box;
    padding:0;
    margin:0;
}

.eventTblCols{
    border:0;
    width:calc(20vw - 20px);
    max-width:calc(20vw - 20px);
    padding:0 0 1vw 0;
}

.spaceBetweenEventTblCols{
    border:0;
    width:1vw;
}

.eventDiv{
    width:95%;
    min-width:95%;
    max-width:95%;
    aspect-ratio: 1 / 1;
    background-color: lightgrey;
    background-size: 100% auto;
    position:relative;
    color:darkblue;
    text-shadow: 1px 1px 1px white, 0 0 0.2em white , 0 0 0.2em gold ;
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.eventDiv::-webkit-scrollbar {
    display: none;
}