@import url(./variable.css);
@import "animations.css";

/*********************************************SuperGlobals***********************************************/

div.overlay{
  position:fixed;
  left: 0;
  top:-180vh;
  z-index: 99;
  width: 99.8vw;
  height: 100vh;
  transition:500ms;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  background-color: rgba(0, 0, 0, 0.56);
}
div.overlay.active{
  top:0 !important;
}
div.overlay>div.overlayBox{
  position:absolute;
  top:calc(50% - 200px);
  left: calc(50% - 300px);
  width: 600px;
  border-radius: 10px;
  box-shadow:0 0 10px white;
  overflow-y:auto;
  background-color: whitesmoke;
}
div.overlay>div.overlayBox>span#closeBtn{
  position:absolute;
  top:5px;
  right: 5px;
  z-index: 2;
  display: block;
  font-size: 20px;
  color:red;
  cursor:pointer;
}
div.overlay>div.overlayBox>div.overlayBoxContainer{
  position:relative;
  margin-bottom: 40px;
  width: 100%;
  height: 400px;
  overflow-y:auto;
}
div.overlay>div.overlayBox>div.overlayBoxContainer>p.message{
  position:absolute;
  right:10%;
  top:40px;
  width: 80%;
  max-height: 200px;
  text-indent:20px;
  overflow-y:auto;
}
div.overlay>div.overlayBox>div.actionBtn{
  position: absolute;
  bottom:0;
  left: 20%;
  display: flex;
  justify-content: space-evenly;
  align-items:center;
  width:60%;
  height: 40px;
  font-size: 22px;
}
div.overlayBox>div.actionBtn>span{
  transition:300ms;
  cursor:pointer
}
div.overlayBox>div.actionBtn>span:hover{
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.73);
}
div.overlayBox>div.actionBtn>span#confirm{
  color:green
}
div.overlayBox>div.actionBtn>span#cancel{
  color:red;
}

div.loadingGif{
  width: 100%;
  height: 100%;
  min-height: 100px;
  background-image: url("../files/images/framware/loading.gif");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 50px 50px;
}
div.pageLoadingGif{
  position: fixed;
  z-index: 1000;
  width: 100vw;
  height: 100vh;
  background-color: rgb(246, 246, 246);
  opacity: 1;
  transition: 300ms;
}

div.pageLoadingGif>img{
  position: absolute;
  left: calc(50% - 50px);
  top:calc(50% - 50px);
  width: 100px;
  height: 100px;
  object-fit: cover;
  animation:loadingBlink 0.7s alternate infinite;
}

div.killPageLoadingGif{
  opacity: 0;
}
/*********************************************End of SuperGlobals***********************************************/
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  position: relative;
}
a{
  text-decoration: none;
  color: black;
  font-family: Vazirmatn;
}
ul{
  list-style-type: none;
}
p {
  direction: rtl;
  font-family: Vazirmatn;
}
@font-face {
  font-family: SGKara;
  src: url(./font/SGKara/SGKara-Light_p30download.com.eot);
  src: url(./font/SGKara/SGKara-Light_p30download.com.otf);
  src: url(./font/SGKara/SGKara-Light_p30download.com.ttf);
  src: url(./font/SGKara/SGKara-Light_p30download.com.woff);
  src: url(./font/SGKara/SGKara-Light_p30download.com.woff2);
}
@font-face {
  font-family: Vazirmatn;
  src: url(./font/Vazirmatn/Vazirmatn-Medium.eot);
  src: url(./font/Vazirmatn/Vazirmatn-Medium.otf);
  src: url(./font/Vazirmatn/Vazirmatn-Medium.ttf);
  src: url(./font/Vazirmatn/Vazirmatn-Medium.woff);
  src: url(./font/Vazirmatn/Vazirmatn-Medium.woff2);
}

/**************************************** scroll bar *******************************************/

::-webkit-scrollbar {
  width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #faf025;
  border-radius: 10px;
  transition:500ms !important;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #154fb7;
}

/* menu */
div.rotateMinus{
  width:23px !important;
  transform-origin:  left;
  transform:rotate(45deg)
}
div.rotatePlus{
  width:23px !important;
  transform-origin:  left;
  transform:rotate(-45deg)
}
div.rotate90{
  transform-origin: top center;
  transform:translateX(-2px) rotate(90deg)
}
div.goDown{
  transform:translate(0,90px) rotate(90deg);
}
.menuOpen{
  height: 700px !important;
}

/****************************************************** -pagination- ***************************************/
div.paginationContainer{
  display:flex;
  justify-content: center;
  align-items: center;
  column-gap: 20px;
  width:100%;
  height: 40px;
  direction: rtl;
  font-family: SGKara;
}
div.paginationContainer>div{
  transition:300ms;
}
div.paginationContainer>div:hover{
  text-shadow:0 3px 5px black;
  cursor:pointer;
}
.disabledPagination{
  color:lightgray !important;
  cursor:not-allowed !important;
}


/****************************************** No info ***************************************/
div.noInfo {
  position: absolute;
  top: calc(50% - 20px);
  left: 25%;
  width: 50%;
  height: 40px;
  text-align: center;
  line-height: 40px;
  font-size: 18px;
  color: #979797;
  animation-name: noInfoAnimation;
  animation-duration: 1s;
  animation-direction: alternate;
  animation-iteration-count: infinite;
}

span.error{
  font-size: 12px !important;
  color: #ce1d1d;
}


/******************************************End of No info ***************************************/