/**default style**/
@font-face {
font-family: 'BYekan';
src: url('/fonts/BYekan_0.ttf');
src: local('?'),url('fonts/BYekan_0.ttf') format('truetype');
font-weight: 100;
font-style: normal;
}

@font-face {
font-family: 'IranNastaliq';
src: url('/fonts/IranNastaliq_0.ttf');
src: local('?'),url('fonts/IranNastaliq_0.ttf') format('truetype');
font-weight: 100;
font-style: normal;
}

@font-face {
font-family: 'iransans';
src: url('/fonts/sans.ttf');
src: local('?'),url('fonts/sans.ttf') format('truetype');
font-weight: 100;
font-style: normal;
}

@font-face {
font-family: 'icon';
src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/fonts/fontawesome-webfont.eot?v=4.7.0');
src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'),url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'),url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
font-weight: normal;
font-style: normal;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
	display: none;
}
input[type=number] {
	-moz-appearance: textfield;
	/* Firefox */
}
input[type="number"]:hover,
input[type="number"]:focus {
	-moz-appearance: number-input;
}

.container-customized
{
	width: 100%;
	max-width: 100%;
	margin-right: auto;
	margin-left: auto;
}
.body .table .dropdown-menu{
	min-width: 150px !important;
	width: 150px;
}

.pagination:hover .page-numbric{
	display: flex;
}
.page-numbric{
	width: 50px;
	display: none;
	min-height: 29.5px !important;
	max-height: 29.5px !important;
	position: absolute;
	top: -39.5px;
	margin-right: -12px;
	
}

.page-numbric:after{
	content: ' ';
	position: absolute;
	border-top: 11px solid #ced4da;
	border-left: 9px solid transparent;
	border-right: 9px solid transparent;
	left: calc(25px - 9px);
	bottom: -10px;
}

.page-numbric input{
	width: 50px;
	text-align: center;
	padding: 0px;
	min-height: 29.5px !important;
	max-height: 29.5px !important;
	
}


.skill-bar {
    height: 4px !important;
}

.skill-bar .proccess-bar {
    height: 4px !important;
    background-image: linear-gradient(293deg, rgba(237, 53, 91,1) 0%, rgba(31, 101, 219,1) 100%);
}

.filebrowser{
    border:1px dashed rgba(255,255,255,0.5);
}
.filebrowser-dark {
    border: 1px dashed rgba(0,0,0,0.5);
}
.filebrowser input{
    position: absolute;
    max-height: 100px;
}
.filebrowser .btn-outline-light {
    color: #f8f9fa !important;
    border-color: #f8f9fa !important;
    font-size: 13px;
}

.chosen-container.chosen-container-single.chosen-rtl{
        width: auto !important;
    }

.ck-editor {
	width: 100% !important;
}
/**persian**/

.body>.pagebody *{
	font-family: iransans;
	font-size: 14px;
}
.input-group,.btn-group,.pagination{
	direction: ltr;
}
.pagination{
	overflow-y: auto;
	padding-bottom: 1em;
}
.modal-header .close{
	position: absolute;
	left: 0em;
}

/*end*/

.bg-ticket-user{
	background: rgba(167, 29, 42,0.05) !important;
}
.bg-ticket-admin{
	background: rgba(23, 162, 184,0.05) !important;
}
.input-group-prepend .input-group-text{
	border: 0px !important;

	border-left: 1px solid rgba(0, 168, 198,0.8) !important;

	background: rgba(0,168,198,0.02) !important;

	color: #000;
}
.bg-primary-tb:nth-child(2n) {
	background-color: rgba(0,123,255,0.5) !important;
}
.bg-primary-tb:nth-child(2n+1) {
	background-color: rgba(0,123,255,0.25) !important;
}
.bg-secondary-tb:nth-child(2n) {
	background-color:  rgba(108,117,125,0.5) !important;
}
.bg-secondary-tb:nth-child(2n+1) {
	background-color:  rgba(108,117,125,0.25) !important;
}
.bg-success-tb:nth-child(2n) {
	background-color:  rgba(40,167,69,0.5) !important;
}
.bg-success-tb:nth-child(2n+1) {
	background-color:  rgba(40,167,69,0.25) !important;
}
.bg-successpurple-tb:nth-child(2n) {
	background-color:  rgba(78, 0, 132, 0.5) !important;
}
.bg-successpurple-tb:nth-child(2n+1) {
	background-color:  rgba(78, 0, 132, 0.25) !important;
}
.bg-dangerpurple-tb:nth-child(2n) {
	background-color:  rgba(132, 0, 118, 0.5) !important;
}
.bg-dangerpurple-tb:nth-child(2n+1) {
	background-color:  rgba(132, 0, 118, 0.25) !important;
}
.bg-info-tb:nth-child(2n) {
	background-color:  rgba(23,162,184,0.5) !important;
}
.bg-info-tb:nth-child(2n+1) {
	background-color:  rgba(23,162,184,0.25) !important;
}
.bg-warning-tb:nth-child(2n) {
	background-color:  rgba(255,193,7,0.5) !important;
}
.bg-warning-tb:nth-child(2n+1) {
	background-color:  rgba(255,193,7,0.25) !important;
}
.bg-danger-tb:nth-child(2n) {
	background-color:  rgba(220,53,69,0.5) !important;
}
.bg-danger-tb:nth-child(2n+1) {
	background-color:  rgba(220,53,69,0.25) !important;
}
.bg-light-tb:nth-child(2n) {
	background-color:  rgba(248,249,250,0.5) !important;
}
.bg-light-tb:nth-child(2n+1) {
	background-color:  rgba(248,249,250,0.25) !important;
}
.bg-dark-tb:nth-child(2n) {
	background-color: rgba(52, 58, 64,0.5) !important;
}
.bg-dark-tb:nth-child(2n+1) {
	background-color: rgba(52, 58, 64,0.25) !important;
}
.bg-white-tb:nth-child(2n) {
	background-color: rgba(255,255,255,0.5) !important;
}
.bg-white-tb:nth-child(2n+1) {
	background-color: rgba(255,255,255,0.25) !important;
}

.bg-primary-tb:hover{
	background-color: rgba(0,123,255,0.1) !important;
}
.bg-secondary-tb:hover {
	background-color:  rgba(108,117,125,0.1) !important;
}
.bg-success-tb:hover {
	background-color:  rgba(40,167,69,0.1) !important;
}
.bg-info-tb:hover {
	background-color:  rgba(23,162,184,0.1) !important;
}
.bg-warning-tb:hover {
	background-color:  rgba(255,193,7,0.1) !important;
}
.bg-danger-tb:hover {
	background-color:  rgba(220,53,69,0.1) !important;
}
.bg-light-tb:hover {
	background-color:  rgba(248,249,250,0.1) !important;
}
.bg-dark-tb:hover {
	background-color: rgba(52, 58, 64,0.1) !important;
}
.bg-white-tb:hover {
	background-color: rgba(255,255,255,0.1) !important;
}


#editmodalbig .modal-dialog,#editmodalbig2 .modal-dialog,#editmodalbig3 .modal-dialog,#footermodal .modal-dialog{
	/*max-width: calc(100% - 104px) !important;*/
	/*top: 56px;*/
}

.modal-dialog:not(.smallsize,.modal-bottom){
    margin: 1rem 2rem 1rem 2rem;
	max-width: calc(100vw - 4rem) !important;
}

#model_package .modal-dialog{
    margin: 1rem 2rem 1rem 2rem;
	max-width: calc(100vw - 4rem) !important;
}

#editmodal .modal-dialog,#editmodal2 .modal-dialog,#editmodal3 .modal-dialog{
	/*top: 56px;*/
}
.modal *:not(.close){
/*	font-size: 14px !important;*/
}
.apexcharts-legend-text,.apexcharts-title-text{
	font-family: iransans !important;
	font-size: 14px;
}


.bg-alert{
	background: linear-gradient(180deg ,rgba(0, 0, 0, 0),rgba(0, 0, 0, 0.04)) !important;
}

.bg-panel{
	/*background: linear-gradient(156deg,rgb(203,209,243),rgb(203,209,243), rgb(122,236,255)) !important;*/
	background: linear-gradient(156deg,rgba(0, 168, 198,0.8),rgb(0, 168, 198), rgba(0, 168, 198,0.5)) !important;
	color: #fff;
}
.text-panel{
	color:rgba(0, 168, 198,1);
}
/*.menu .sticky-top{
	top: 1em;
}
.menu .nav-link{
	color: rgba(0, 0, 0, 0.8) !important;
}

.menu .navbar-nav,.menu .dropdown-item{
	width: 100%;
}

.menu .navbar{
	//background: linear-gradient(156deg,rgb(203,209,243), rgb(122,236,255)) !important;

	direction: rtl;
	
	//border: 1px solid rgba(9,130,200,0.5);
}
.menu .nav-item:not(:last-child){
	border-bottom: 1px solid rgba(229,225,220,0.5);

}
.menu .nav-item{
	padding-right: 0.5em;
}

.menu .dropdown-toggle:before{
	float: left;
	margin-left: 0.255em;
	margin-top: 0.5em;
}
*/
.prepend{
	width: 1.5em;
	height: auto;
}

.input-group-text img{
	height: 1.5em;
}
.table thead th{
	text-align: center;
}

.table thead th:not(:first-child){
	/*min-width: 110px;*/
	min-width: 60px;
}
.table th, .table td {
    padding-left: 0.2rem !important;
    padding-right: 0.2rem !important;
}

.img-choose .img{
	width: 50px;
	height: 50px;
	transform: 1s;
	-o-transform: 1s;
	-moz-transform: 1s;
	-webkit-transform: 1s;
	filter: grayscale(100%);
}
.img-choose .text{
	transform: 1s;
	-o-transform: 1s;
	-moz-transform: 1s;
	-webkit-transform: 1s;
	color: #434343;
}
.img-choose.active .text{
	color: #514899;
}
.img-choose.active .img{
	filter: grayscale(0%);
}

.img-choose:hover .img{
	filter: grayscale(50%);
}
.img-choose:hover .text{
	color: #8078be;
}


#loadpage .lds-hourglass{
	display:none;
}
#loadpage {
  position: fixed;
  z-index: 99999999 !important;
  height: 3.25rem;
  width: 100vw;
  top: 0px;
  left: 0px;
  background: rgba(255,255,255,0.3);
    background-image: none;
  display: none;
  backdrop-filter: blur(5px);
  background: linear-gradient(140deg, #E51C30 0%, #D5208D 50%, #E51C30 75%);
  background-size: 400% 400%;
  animation: gradient 5s ease infinite;
}

#loadpage .logo{
  width: 2rem;
  height: 2rem;
  position: absolute;
  left: calc(50% - 1rem);
  top: calc(50% - 1rem);
  -webkit-filter: drop-shadow(0px 0px 5px #222);
  -moz-filter: drop-shadow(0px 0px 5px #222);
  -ms-filter: drop-shadow(0px 0px 5px #222);
  -o-filter: drop-shadow(0px 0px 5px #222);
  filter: drop-shadow(0px 0px 5px #222);

  -webkit-animation-name: rotate-3d;
	  animation-name: rotate-3d;
	  -webkit-animation-duration: 2s;
	  animation-duration: 2s;
	  /*-webkit-animation-fill-mode: both;
	  animation-fill-mode: both;*/
	  animation-iteration-count: infinite;
	  animation-delay: 1s;

	  animation-timing-function: ease-in-out
/*	  animation-direction: alternate;*/

}


@-webkit-keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}
@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

/*#loadpage{
	position: fixed;
	z-index: 99999999 !important;
	height: 100vh;
	width: 100vw;
	top: 0px;
	left: 0px;
	background: rgba(255,255,255,0.3);
	padding-top: calc(50vh - 40px);
	padding-right: calc(50vw - 40px);
	display: none;
    backdrop-filter: blur(5px);
}
#loadpage .spinner-grow{
  width: 5rem;
  height: 5rem;
  top: calc(50% - 2.5rem);
}*/

.custom-file-label{
	padding-right: 5.5em;
}

.custom-file-input{
	display: none;
}

.canvasjs-chart-credit{
	display: none !important;
}

.rtl{
	direction: rtl !important;
}
.ltr{
	direction: ltr !important;
}

/*@import url(https://fonts.googleapis.com/css?family=Roboto);*/

.chart {
  max-width: 650px;
  margin: 0 auto;
}

/**END default style**/



@media (min-width: 0px) {/*xsm*/



}

@media (min-width: 768px) {/*md*/
	#loadpage {
	  height: 4.25rem;
	}
	#loadpage .logo{
	  width: 3rem;
	  height: 3rem;
	  position: absolute;
	  left: calc(50% - 1.5rem);
	  top: calc(50% - 1.5rem);
	  -webkit-filter: drop-shadow(0px 0px 5px #222);
	  -moz-filter: drop-shadow(0px 0px 5px #222);
	  -ms-filter: drop-shadow(0px 0px 5px #222);
	  -o-filter: drop-shadow(0px 0px 5px #222);
	  filter: drop-shadow(0px 0px 5px #222);

	  -webkit-animation-name: rotate-3d;
	  animation-name: rotate-3d;
	  -webkit-animation-duration: 2s;
	  animation-duration: 2s;
	  /*-webkit-animation-fill-mode: both;
	  animation-fill-mode: both;*/
	  animation-iteration-count: infinite;
	  animation-delay: 1s;

	  animation-timing-function: ease-in-out
/*	  animation-direction: alternate;*/

	}
	
	#model_package .modal-dialog{
        margin: 1rem calc(10vw + 3rem) 1rem calc(10vw + 3rem);
        max-width: calc(80vw - 6rem) !important;
    }

}

@media (min-width: 992px) {
	/**default style**/
    .modal-dialog:not(.smallsize,.modal-bottom){
        /*margin: 1rem 19rem 1rem 1rem;
		max-width: calc(100vw - 19rem - 2rem) !important;*/
		margin: 1rem 3rem 1rem 3rem;
		max-width: calc(100vw - 6rem) !important;
    }
    #model_package .modal-dialog{
        margin: 1rem calc(25vw + 3rem) 1rem calc(25vw + 3rem);
        max-width: calc(50vw - 6rem) !important;
    }
    /**END default style**/

}

@keyframes rotate-3d {
  0% {
  -webkit-transform: rotate3d(0, 0, 1, 0deg) scale3d(1, 1, 1);
  transform: rotate3d(0, 0, 1, 0deg) scale3d(1, 1, 1);
  }
  25% {
  -webkit-transform: rotate3d(0, 0, 1, 8deg) scale3d(1, 1, 1);
  transform: rotate3d(0, 0, 1, 8deg) scale3d(1, 1, 1);
  }
  50% {
  -webkit-transform: rotate3d(0, 0, 1, 0deg) scale3d(1.05, 1.05, 1.05);
  transform: rotate3d(0, 0, 1, 0deg) scale3d(1.05, 1.05, 1.05);
  }
  75% {
  -webkit-transform: rotate3d(0, 0, 1, -8deg) scale3d(1, 1, 1);
  transform: rotate3d(0, 0, 1, -8deg) scale3d(1, 1, 1);
  }
  100% {
  -webkit-transform: rotate3d(0, 0, 1, 0deg) scale3d(1, 1, 1);
  transform: rotate3d(0, 0, 1, 0deg) scale3d(1, 1, 1);
  }
  } 