@keyframes fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.dnone {
    display: none !important;
}

.dblock {
    display: block !important;
}

.dinlineblock {
    display: inline-block !important;
}

.positionRelative {
    position: relative;
}

.TextLeft {
    direction: ltr !important;
    text-align: left !important;
}

.TextRight {
    direction: rtl !important;
    text-align: right !important;
}

.w90p {
    width: 90%;
}

.maxW60 {
    max-width: 60% !important;
}

.maxW70 {
    max-width: 70% !important;
}

.maxW80 {
    max-width: 80% !important;
}

.minW100 {
    min-width: 100px;
}

.minW150 {
    min-width: 150px;
}

.minW200 {
    min-width: 200px;
}

.minW250 {
    min-width: 250px;
}

.marginAuto {
    margin: auto;
}

.fadeIn {
    animation: fade ease-in-out 0.3s;
}

.namad {
    display: block;
    margin: auto;
    width: 75px;
    height: 75px;
    right: 0;
    left: 0;
    bottom: 0px;
}

.namad img {
    display: block;
    width: 75px;
    height: 75px;
}.loader {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 5000;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgb(0, 0, 0, 0.7);
    animation: fade 0.5s ease-in-out;
}

.loading {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 300px;
    z-index: 5000;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgb(0, 0, 0, 0.2);
    animation: fade 0.5s ease-in-out;
}

.load {
    width: 48px;
    height: 48px;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    border: 3px solid;
    border-color: #5D87FF #0000 #fff #0000;
    border-radius: 50%;
    box-sizing: border-box;
    animation: 1s rotate linear infinite;
}
 .load:before , .load:after{
    content: '';
    top: 0;
    left: 0;
    position: absolute;
    border: 10px solid transparent;
    border-bottom-color:#fff;
    transform: translate(-10px, 19px) rotate(-35deg);
 }
 .load:after { 
    border-color: #5D87FF #0000 #0000 #0000 ;
    transform: translate(32px, 3px) rotate(-35deg);
 }
 
 @keyframes rotate {
    100%{    transform: rotate(360deg)}
 }

#modal {
  display: none; 
  position: fixed; 
  z-index: 2001;
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.5); 
}


.modal-content {
  background-color: #fefefe;
  margin: 15% auto; 
  padding: 20px;
  border: 1px solid #888;
  width: 80%; 
  direction: rtl;
  text-align: right;
  animation: fade2 ease-in-out .3s;
}

#modal .buttons {    
    margin: 20px auto auto auto;    
    width: 100%;
    direction: ltr;
    text-align: left;
}

#modal .buttons #btnYes {
    display: inline-block;
    vertical-align: top;
    color: #fff;
    border-radius: 15px;
    padding: 5px;
    width: 60px;
    border: 0;
    background-color: #30a700;
}

#modal .buttons #btnNo {
    display: inline-block;
    vertical-align: top;
    color: #fff;
    border-radius: 15px;
    padding: 5px;
    width: 60px;
    border: 0;
    background-color: #ff0000;
}

.close {
  color: #aaa;
  float: left;
  font-size: 28px;
  font-weight: bold;  
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

@keyframes fade2 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
#popup {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;    
    background-color: rgba(0,0,0,0.5);
}

.popup-content {
    position: relative;
    background-color: #fefefe;
    margin: 0;
    padding: 20px;
    border: 1px solid #888;
    width: 100%;
    height: 100%;
    direction: rtl;
    text-align: right;
    overflow-y: scroll;
    animation: popup1 ease-in-out .3s;
}

.close2 {
  position: absolute;
  top: 10px;
  left: 10px;
  color: #aaa;  
  font-size: 36px;
  font-weight: bold;
  z-index: 100;
}

.close2:hover,
.close2:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

@keyframes popup1 {
    from {
        width: 0;
        opacity: 0;
    }

    to {
        width: 100%;
        opacity: 1;
    }
}
