@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.1/font/bootstrap-icons.css");

body {
	margin: 0;
	padding: 0;
	box-shadow: border-box;
	color: #000;
	list-style: none;
	background: #f3f3f4;
    font-family: 'Montserrat',sans-serif;
}

a {
	color: #000;
	text-decoration: none;
	/* font-weight: 400; */
	transition: 0.3s linear;
}

.container {
	display: flex;
	margin: 0 auto;
}

h1 {
	color: #000000;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: 0.55px;
}

h2 {
	color: #000000;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: 0.55px;
}

@media (max-width: 760px) {
	h1 {
		font-size: 21px;
	}
	h2 {
		font-size: 18px;
	}
}

span {
    font-weight: 600;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
	border: 0px;
}

table {
	border: 1px solid #31ac4a;
}

td {
	padding: 20px 15px;
}
form input {
	display: block;
}

.form form button {
    max-width: 248px;
    width: 100%;
}

input, select {
    background: none;
	padding: 0px 7px;
    max-width: 230px;
    width: 100%;
	margin-right: 15px;
	margin-bottom: 10px;
	height: 50px;
    border: 0;
    border-bottom: 1px solid #000;
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
}


textarea {
	padding: 15px 7px;
	width: 100%;
	height: 100px;
	margin-right: 15px;
	margin-bottom: 10px;
    border: 0;
    border-bottom: 1px solid #000;
    background: none;
}

input:focus, textarea:focus { 
    outline: none;
    border: 0;
    border-bottom: 1px solid #31ac4a;
}

button, .btn {
    color: #ffffff;
    background-color: #31ac4a;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 13px;
    padding: 15px 35px;
    margin-bottom: 5px;
    display: inline-block;
    border: 1px solid #31ac4a;
    transition: 0.3s linear;
}

button:hover, button:active, .btn:hover, .btn:active {
	background: #2b9945;
	color: #ffffff;
}

small {
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
	line-height: 17px;
    color: #8095a8;
}

small a {
    color: #8095a8;
}

.sidebar {
    background: #2f4050;
    border-right: 3px solid #2f4050;
    width: 250px;
    color: #FFF;
    height: 100%;
    z-index: 999999;
    position: fixed;
    padding-top: 40px;
    overflow-y: auto;
}

.sidebar a {
    color: #8095a8;
}

.sidebar .nav {
    margin-bottom: 45px;
}

.sidebar .nav a {
    display: block;
    font-weight: 400;
    padding-bottom: 14px;
    padding: 10px;
    color: #a7b1c2;
    padding-left: 15px;
}

.sidebar .nav a:hover {
    background: #293846;
    color: #FFF;
}

.sidebar .header img {
    width: 70px;
}

.sidebar .header p {
    margin: 5px 0px;
}

.sidebar .header {
    margin-bottom: 35px;
    padding-left: 15px;
}

.sidebar .nav a i {
    margin-right: 5px;
}

.sidebar .nav #category {
    padding-left: 25px;
}

.sidebar .nav .active a {
    background: #293846;
    color: #FFF;
    border-right: 3px solid #31ac4a;
}

.mobilemenu, .mobilenav {
    display: none;
}

.msgscountunread {
    background: green;
    padding: 3px 8px;
    border-radius: 50%;
    font-size: 12px;
    color: white;
    margin-left: 10px;
}

@media (max-width: 719px) {

    .sidebar {
        display: none;
        position: fixed;
        z-index: 999999999;
        width: 100%;
        height: 100%;
        padding-top: 0;
    }

    .sidebar .mobilenav {
        display: block;
        text-align: center;
        padding-bottom: 40px;
    }

    .sidebar.mobileactive {
        display: block;
    }

    .mobilemenu {
        display: flex;
        justify-content: space-around;
        position: fixed;
        width: 100%;
        height: 50px;
        bottom: 0;
        background: #2f4050;
        color: #FFF;
        text-align: center;
        align-items: center;
        z-index: 1000;
    }

    .mobilemenu .elem {
        width: fit-content;
        margin: 10px 0px;
    }

    .mobilemenu .elem p {
        margin: 0;
        font-size: 12px;
    }


}

.content {
    margin-left: 250px;
    padding: 15px;
    width: calc(100% - 290px);
}


@media (max-width: 1200px) {

    .content {
        margin-right: 0px;
        width: calc(100% - 290px);
        margin-bottom: 50px;
    }

}


@media (max-width: 719px) {

    .content {
        margin-left: 0px;
        width: calc(100% - 40px);
    }

}


.category_hide {
    display: none;
}

hr {
    background: #e7eaec;
    margin: 35px 0px;
    height: 1px;
    border: 0px;
}

.logining {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(6.6px);
    padding: 50px;
    border-radius: 15px;
}

.logining .login {
    max-width: 380px;
}

.logining .login .form {
    display: flex;
    justify-content: center;
    width: 390px;
}

.logining .login .form input {
    width: 100%;
    max-width: 360px;
}

.logining .login .form button {
    
    width: 100%;
    max-width: 377px;
    margin-top: 15px;
    margin-bottom: 15px;
    margin-left: 0;
}


.logining .login small a {
	text-decoration: underline;
}

.block {
    background: #FFF;
    padding: 15px;
    border-radius: 10px;
    margin: 15px;
    margin-left: 0px;
}

.block .success {
    background: #31ac4a;
    color: #FFF;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
}

.block .success i {
    margin-right: 15px;
}

.block .error {
    background: #f44336;
    color: #FFF;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
}

.block .error i {
    margin-right: 15px;
}

.elements, .elements-three, .elements-two {
    display: flex;
    flex-wrap: wrap;
    /* justify-content: center;  */
}

.elements .elem, .elements-three .elem, .elements-two .elem {
    margin-bottom: 15px;
    background: #FFF;
    padding: 15px;
    border-radius: 10px;
    box-sizing: border-box;
    margin: 10px;
}

.elements-three .elem {
    flex-basis: calc(33.33% - 20px);
}

.elements-two .elem {
    flex-basis: calc(50% - 20px);
}

@media (max-width: 410px) {
    :where(.elements-three, .elements, .elements-two) .elem {
        flex-basis: 100% !important;
    }
}

.messages {
    /* max-width: 95vh; */
}

.messages .form {
	margin-top: 13px;
	margin-bottom: 40px;
}

.messages .form form {
	display: flex;
	width: 100%;
}

.messages .form form input {
	padding-bottom: 0;
	padding-top: 0;
	width: 100%;
    padding-right: 30px;
	font-size: 18px;
    background: none;
}

.messages .form form button {
	background: none;
    padding: 0;
    border: none;
    margin-left: -40px;
    height: 22px;
    margin-top: 15px;
    width: 10px;
}

.messages #messagesuser .user .name p {
	font-weight: 600;
}

.messages .block .time {
    text-align: right;
    display: block;
}

.messages .block.user {
    text-align: right;
}

.messages .block.user .time {
    text-align: left;
}


.messages .block {
    max-width: 60%;
    position: relative;
}
.messages .block.user {
    margin-left: auto;
}

.messages .systemmsg {
    background: black;
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 20px;
    opacity: 30%;
    margin-bottom: 10px;
}

.messages .systemmsg p {
    margin: 0;
}

.messages .systemmsg small {
    text-align: right;
}

.messages .systemmsg a {
    color: white;
    text-decoration: underline;
    margin-top: 5px;
    display: inline-block;
}


.block .name .text {
    margin: 0;
    overflow: hidden;
    max-height: 25px;
}

.block .name .text strong {
    font-weight: 400;
}


@media (max-width: 768px) {
    .messages .block {
        max-width: 100%;
    }
    .messages .block.user {
        margin-left: 0;
    }
}

#toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999999999;
}

.toast {
  display: flex;
  align-items: center;
  background-color: #5cfa3db7;
  border-radius: 2px;
  padding: 20px 0;
  min-width: 300px;
  max-width: 450px;
  border-left: 4px solid;
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.08);
  transition: all linear 0.3s;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(calc(100% + 32px));
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
  }
}

.toast--success {
  background-color: #47d864;
}

.toast--success .toast__icon {
  color: #47d864;
}

.toast--info {
  background-color: #2f86eb;
}

.toast--info .toast__icon {
  color: #2f86eb;
}

.toast--warning {
  background-color: #ffc021;
}

.toast--warning .toast__icon {
  color: #ffc021;
}

.toast--error {
  background-color: #ff623d;
}

.toast--error .toast__icon {
  color: #ff623d;
}

.toast + .toast {
  margin-top: 24px;
}

.toast__icon {
  font-size: 24px;
}

.toast__icon,
.toast__close {
  padding: 0 16px;
}

.toast__body {
  flex-grow: 1;
}

.toast__title {
  font-size: 16px;
  font-weight: 600;
  color: #FFF;
}

.toast__msg {
  font-size: 14px;
  color: #FFF;
  margin-top: 6px;
  line-height: 1.5;
}

.toast__close {
  font-size: 20px;
  color: #FFF;
  cursor: pointer;
}







