html,
body {
    max-width: 100%;
    overflow-x: hidden;
    direction: rtl;
}

@font-face {
    font-family: IRANSans;
    src: url('../font/IRANSans/IRANSansWeb_Light.woff') format('woff');
  
}

* {
    direction: rtl;
    text-align: right;
    font-family: IRANSans;
}


@font-face {
     font-family: 'Glyphicons Halflings';
    src: url('../font/glyphicons-halflings-regular.eot');
    src: url('../font/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../font/glyphicons-halflings-regular.woff') format('woff'), url('../font/glyphicons-halflings-regular.ttf') format('truetype'), url('../font/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}

body {
    font-family: myFirstFont !important;
}

.bg-blue {
    background-color: rgb(74, 109, 165);
    box-shadow: 0px 3px 4px #aaaaaa, 0px 4px 8px #ededed;
}

.bg-red {
    background-color: rgb(210, 0, 1);
    box-shadow: 0px 3px 4px #aaaaaa, 0px 4px 8px #ededed;
}

.nav-link {
    color: #dedede !important;
}

.nav-link:hover {
    color: #fefefe !important;
}

.active>.nav-link {
    color: #ffffff !important;
}

.bg-article {
    background-color: #dedede;
}

.date-time {
    color: #999;
    font-size: .8rem;
}


/*panel*/
.sidebar {
    min-height: Calc(100vh - 3.5rem);
    background-color: #ededed;
    box-shadow: 3px 5px 4px #cccccc, 5px 7px 8px #ededed;
    padding-top: 1rem;
}

/* .sidebar-link {} */

.sidebar-link>a {
    text-decoration: none;
    display: block;
    color: #666666;
    border-left: 3px solid rgba(0, 0, 0, 0);
    background-color: rgba(0, 0, 0, 0);
    padding: .3rem .5rem;
    font-size: 1.2rem;
    transition: all .4s;
}

.sidebar-link>a:hover {
    border-left: 3px solid rgba(210, 0, 1, 1);
    background-color: rgba(0, 0, 0, .2);
    transition: all .4s;
}

.container {
    /* display: none!important; */
    width: 500px !important;
    /* margin: 0 auto; */
    padding: 0px;
    border: 1px solid #ccc;
    border-radius: 5px;
    /* margin-bottom:-120px ; */
    align-items: center;
    text-align: center;
    margin-left: 210px !important;
    margin-top: 0px;
    font-family: myFirstFont !important;

}

#exampleInput1 {
    width: 150px;
    background-color: #ffff;
    color: #090909 !important;
    font-family: IRANSans;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    font-weight: 800;
    height: 100px;


}

.form-info {

    /* align-items: center; */
    /* position: absolute; */
    text-align: center;
    /* top: 70px;
    left: -80px; */
    font-family: IranSans !important;
}

.popover-title {
    font-family: IranSans !important;
    font-weight: 800;
    font-size: 19px;
}

.form-information {
    font-family: myFirstFont !important;
}

.navbar-expand-lg {
    font-family: myFirstFont !important;
}

.input-group {
    display: flex;
    /* left: 129px; */
}

/* .input-group-addon { */
    /* padding: 6px 22px;
    padding-left: 10px; */
/* } */

.input-group {
    width: 96px;
}

#section-header {
    margin-right: 0px !important;
    margin-left: 0px !important;
}

.bg-gray {
    background-color: #404E67;
    color: #dcdcdc;
}

.pointer {
    cursor: pointer;
}


.bg-custom-yellow {
    background: -webkit-gradient(linear, left top, right top, from(#feb798), to(#fe9365));

    background: linear-gradient(to right, #feb798, #fe9365);
}

.bg-custom-green {
    background: linear-gradient(to right, #0df3a3, #0ac282);
}

.bg-custom-pink {
    background: linear-gradient(to right, #fe909d, #fe5d78);
}

.bg-custom-blue {
    background: linear-gradient(to right, #01dbdf, #01a9ac);
}



/*-------categories----------*/


.category-body .btn-category {
    text-align: center !important;
    position: absolute;
    margin-top: 120px;
    /* margin-left: 10px; */
    background-color: #705878;
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 50px 50px 50px 50px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5);
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #ffff;
    opacity: 70%;
    width: 175px;
    height: 46px;

}


.category-body {
    position: relative;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.category-body img {
    position: relative;
    width: 299px;
    height: 228px;
    border-radius: 15px;
    /* opacity: 80%; */
    background-image: linear-gradient(rgba(0, 0, 0, 0.5));
}


.category-header {
    position: absolute;
    padding-bottom: 150px;
    display: flex;
    justify-content: center;
}

.category-body img{
  background-size: cover;
  background-position: center;
  /* height: 400px; */
  filter: brightness(60%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.category-header h1 {
    position: absolute;
    color: #FFF;
    font-family: "IRANSans";
    font-size: 30px;
    font-weight: 900;
    z-index: 10;
}

.btn-category:hover {
    background-color: #8E35ED;
}

/*-------End-categories----------*/

.icon-title i {
    font-size: 20px;
    padding-left: 2px;
}