.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9{float:right !important;}
@font-face {
	font-family: IRANSans;
	font-style: bold;
	font-weight: normal;
	src:url('../fonts/iransans/IRANSansWeb(FaNum.html).eot');
	src:url('../fonts/iransans/IRANSansWeb(FaNum.html).eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		url('../fonts/iransans/IRANSansWeb(FaNum).woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
		url('../fonts/iransans/IRANSansWeb(FaNum.html).woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
		url('../fonts/iransans/IRANSansWeb(FaNum).ttf') format('truetype');
	font-display: swap;
}

*{
	box-sizing: border-box;
	font-family:IRANSans;
}

body{ position: relative; }
body, html{	
	margin:0;
	padding: 0px;
	direction:rtl;
	text-align:right;
	min-height: 100vh;
	font-family:IRANSans;
}
html {
	scroll-behavior: smooth;
}
a {
    text-decoration: none !important;
}
/* Chats */
.classroom-header {
    font-size: 16px;
    line-height: 45px;
}
.modal-header .close{
    float:left;
}
.center {
    text-align:center !important;
}
.display-none {
    display:none !important;
}
.class-box{
    color: #000;
    position: relative;
    margin-bottom: 15px;
    padding: 0 10px 10px;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0px 0px 11px 0px #e2e2e2;
    border-radius: 4px;    
}
#user-message {
    background: url(../images/chart-bg.jpg);
    background-size: contain;
    background-position: center;
    border: 1px solid silver;
    height: 80vh;
}

.class-box .box-title{
    color: white;
    margin: 4px 0px;
    padding: 0px 5px;
}
.class-box .box-content{
    max-height: 400px;
    min-height: 300px;
    font-family: var(--font-family);
    background-color: #2b2f32;
    border: 1px solid var(--border-color);
    border-bottom-color: var(--border-bottom-color);
    color: var(--text-color);
    padding: 6px 7px;
    border-radius: 2px;
    font-size: var(--font-size-sm);
}
.class-box.box-content ul{ 
    list-style-type: none;
    padding: 0px;
    margin: 0px !important; 
}
.class-box .box-content ul li{
    line-height: 30px;
}
.class-box .box-content ul li{ font-size: 14px; }
.class-box .box-content a{ color: #fff; }
.class-box .box-content a:hover{color: orange;}
.class-box .scroll-y{
    overflow-y: scroll;
}
.class-box .chat-box{ 
    display: flex;
    margin: 3px 0px;
    padding: 4px 0px;
}
.class-box .chat-textbox{ 
    display: inline-flex;
    border-radius: 0px;
    border: 1px solid gray;
}
.class-box .chat-btn{ 
    height: 34px;
    cursor: pointer;
    padding: 9px 18px;
    margin: 0px 5px;
    text-align: center;
    background: rgb(29, 138, 234);
    border: 1px solid rgb(29, 162, 234);
    border-radius: 5px;
    color: #fff;
}
.class-box .chat-btn:hover{
    background: rgb(71, 148, 255);
    box-shadow: 0px 0px 2px 0px silver;
}
.chat-user-list {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
}
.chat-user-list ul {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
}
.chat-user-list ul li {
    margin-bottom: 5px;
}
.chat-user-list ul li:hover {
    background-color: rgb(233, 233, 233);
}
.chat-user-list ul li a {
    display: block;
    font-size: 16px;
}
.chat-user-list ul li img {
    margin-left: 10px;
    border-radius: 50%;
}
.chat-user-item {
    position: relative;
    background: #fff;
    cursor: pointer;
    padding: 5px;
    color: #000;
    box-shadow: 0px 0px 2px 0px grey;
    border-radius: 4px;
}
.chat-user-item.active {
    background: rgb(202, 251, 202);
    box-shadow: 0px 0px 4px 0px grey;
}
.chat-user-item .badge {
    position: absolute !important;
    left: 5px;
    top: 20px;
}
.user-chat-message {
    font-size: 13px;
    margin: 5px;
    padding: 5px;
    color: #000;
    min-width: 300px;
    box-shadow: 0px 0px 4px 0px grey;
}
.user-chat-message a {
    color: rgb(5, 52, 133) !important;
}
.user-chat-message.left {
    float: left;
    border-radius: 0px 8px 8px 8px;
    background-color: #fff;
}
.user-chat-message.right {
    float: right;
    border-radius: 8px 0px 8px 8px;
    background-color: rgb(202, 251, 202);
}
.chat-part-title {
    margin-top: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #efefef;
}
.inbox-counter {
    position: relative;
    margin-left: 20px;
}
.inbox-counter .fa-bell-o {
    font-size: 30px;
}
.inbox-counter .badge{
    left: -8px;
    top: -12px;
    position: absolute;
}
.chat-emoji {
    display: none;
    padding: 15px;
    border: 1px solid silver;
    box-shadow: 0px 0px 4px 0px grey;
    border-radius: 2px;
    max-width: 200px;
    z-index: 999999;
    position: absolute;
    bottom: 0px;
    background: #fff;
    left: 18px;
}
.chat-emoji span {
    cursor: pointer;
    margin: 4px;
    font-size: 19px;
}
#emoji-btn {
    cursor: pointer;
}
#close-emoji {
    cursor: pointer;
}
.badge { background-color: red; }
.chat-user-list .badge {
    position: absolute !important;
    left: 5px;
    top: 5px;
}
.register-box {
    margin: 50px auto 20px auto;
    text-align: center;
}
.admin-box {
    margin: 70px auto 20px auto;
    width: 500px;
    text-align: center;
}
.register-box input {
    margin-bottom: 10px;
}
.admin-box a {
    width: 100%;
}
.admin-box img {
    margin-bottom: 15px;
}
.center {text-align: center;}
#result-box {
    margin-top: 15px;
}
.color-red {
    color: red;
}
.float-left {
    float: left !important;
}

@media (min-width: 768px) {
    .register-box {
        width: 450px;
    }
}

@media (max-width: 768px) {
    .register-box {
        width: 360px;
    }
}