﻿#CommentsMain {
	margin-top: 30px;
	width: 100%;
}

	#CommentsMain > div {
		gap: 1rem;
		width: 100%;
		margin-top: 50px;
	}


#CommentsBox {
	display: grid;
	grid-template-columns: 1fr 360px;
	gap: 1rem;
	width: 100%;
}
/*#region Aside */

/*#endregion*/




/*#region Comments */


#Comments {
	background: #fafafa;
	padding: 4rem 10rem;
	border-radius: 11px;
}

	#Comments > p {
		text-align: center;
		margin-top: 45px;
	}

		#Comments > p > a {
			border: 1px solid var(--saa-blue);
			padding: 4px 15px;
			border-radius: 25px;
			background: transparent;
			font-size: 14px;
			transition: 300ms;
			transition-property: background, color;
			cursor: pointer;
			margin-top: 10px;
			color: var(--saa-blue);
		}

			#Comments > p > a:hover {
				color: var(--saa-blue);
				background: var(--saa-yellow);
				border: 1px solid var(--saa-yellow);
			}

#CommentsMain > div:first-of-type {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
}

	#CommentsMain > div:first-of-type > select {
		border-radius: 30px;
		font-size: 14px;
		border: 1px solid var(--saa-blue);
		padding: 6px 10px;
		outline: none;
		margin-left: 4px;
		width: 150px;
	}

#Comments > div:last-of-type {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

	#Comments > div:last-of-type::-webkit-scrollbar {
		width: 6px;
	}

	#Comments > div:last-of-type::-webkit-scrollbar-thumb {
		background-color: var(--saa-yellow);
		border-radius: 6px;
		width: 15px;
	}

	#Comments > div:last-of-type::-webkit-scrollbar-track {
		background-color: #cdd8e1;
		width: 5px;
		border-radius: 20px;
	}


.commentsBox {
	background: #fff;
	border: 3px solid #e9f0f6;
	border-radius: 1rem;
	padding: 1rem;
	width: calc(100% - 2rem);
	margin: auto;
	box-shadow: 0px 0px 10px 0px rgba(193,213,230,1);
}

	.commentsBox > div:first-of-type {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

		.commentsBox > div:first-of-type > div:first-of-type {
			display: flex;
			gap: 10px;
			align-items: center;
		}

			.commentsBox > div:first-of-type > div:first-of-type > img {
				width: 27px;
				border: 1px solid var(--saa-blue);
				padding: 8px;
				border-radius: 50%;
				margin-right: 10px;
				overflow: visible;
			}

			.commentsBox > div:first-of-type > div:first-of-type > h5 {
				color: var(--saa-blue);
				font-size: 16px;
			}

			.commentsBox > div:first-of-type > div:first-of-type > span:first-of-type {
				height: 5px;
				width: 5px;
				background: var(--saa-blue);
				border-radius: 50%;
			}

			.commentsBox > div:first-of-type > div:first-of-type > span:last-of-type,
			.commentsBox > div:first-of-type > div:last-of-type > span:first-of-type {
				color: #666666;
				font-size: 13px;
			}

		.commentsBox > div:first-of-type > div:last-of-type {
			display: flex;
			gap: 5px;
			align-items: center;
		}


			.commentsBox > div:first-of-type > div:last-of-type > p {
				display: flex;
				align-items: center;
			}

				.commentsBox > div:first-of-type > div:last-of-type > p > i {
					color: var(--saa-yellow);
					font-size: 12px;
				}

	.commentsBox > div:nth-child(2) > span > a.commentAdd {
		cursor: pointer;
	}

	.commentsBox > div:last-of-type {
		width: 81%;
		margin: auto;
	}

		.commentsBox > div:last-of-type > p {
			color: var(--saa-blue);
			font-size: 16px;
			line-height: 22px;
		}

		.commentsBox > div:last-of-type > span {
			display: flex;
			gap: 15px;
			margin: 15px 0;
			color: var(--saa-blue);
		}

			.commentsBox > div:last-of-type > span > span {
				cursor: pointer;
				padding: 8px;
			}

		.commentsBox > div:last-of-type > form > div:first-of-type {
			display: none;
			flex-direction: column;
			gap: 5px;
		}

		.commentsBox > div:last-of-type > form > div > textarea {
			resize: none;
			width: 98%;
			padding: 1%;
			height: 100px;
			margin: 20px 0;
			border: 1px solid #ccd2d9;
			border-radius: 4px;
			outline: none;
			font-family: inherit;
		}

		.commentsBox > div:last-of-type > form > div > button {
			text-align: center;
			background-color: var(--saa-blue);
			transition: background-color .3s cubic-bezier(.25, .46, .45, .94), border-color .3s cubic-bezier(.25, .46, .45, .94);
			border-radius: 4px;
			font-size: 16px;
			padding: 10px 20px;
			cursor: pointer;
			color: #fff;
			font-weight: bold;
			border: none;
			width: 200px;
		}

		.commentsBox > div:last-of-type > span > span:first-of-type {
			padding-left: 0;
		}

		.commentsBox > div:last-of-type > span > a:first-of-type,
		.commentsBox > div:last-of-type > span > a:nth-of-type(2),
		.commentsBox > div:last-of-type > span > a:nth-of-type(3) {
			font-weight: 300;
			font-size: 13px;
		}

		.commentsBox > div:last-of-type > div {
			display: flex;
		}

			.commentsBox > div:last-of-type > div > span {
				display: inline-block;
				width: 20px;
				height: 35px;
				margin-left: 20px;
				border-left: 3px solid gray;
				border-bottom: 3px solid gray;
				opacity: 0.2;
			}

			.commentsBox > div:last-of-type > div > div {
				margin: 30px 0 15px 25px;
			}

				.commentsBox > div:last-of-type > div > div > p:first-of-type {
					color: var(--saa-blue);
					font-size: 16px;
					font-weight: 700;
				}


				.commentsBox > div:last-of-type > div > div > span {
					margin: 5px 0 11px 0;
					display: block;
					color: var(--saa-blue);
				}

				.commentsBox > div:last-of-type > div > div > p:last-of-type {
					display: flex;
					gap: 10px;
				}

					.commentsBox > div:last-of-type > div > div > p:last-of-type > a {
						padding: 5px;
						font-size: 13px;
						color: var(--saa-blue);
					}

/*#endregion */

/*#region paging*/
#Paging {
	margin: 2rem 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
}

	#Paging > a,
	#Paging > span {
		color: #b8b8b8;
		font-size: 16px;
		font-weight: bold;
	}

		#Paging > a.active {
			background: var(--saa-blue);
			border-radius: 50%;
			height: 32px;
			width: 33px;
			display: flex;
			align-items: center;
			justify-content: center;
			color: #fff;
		}

.disabled {
	pointer-events: none;
	opacity: 0.5;
	cursor: default;
}
/*#endregion*/

@media(max-width:1200px) {
}

@media(max-width:992px) {
	#Comments {
		padding: 4rem 2rem;
	}
}

@media(max-width:768px ) {
	#CommentsMain > div:first-of-type {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

		#CommentsMain > div:first-of-type > select {
			width: 99%;
		}

	#Comments {
		padding: 0rem;
	}

	.commentsBox > div:first-of-type {
		flex-direction: column;
		align-items: start;
		gap: 11px;
		margin-bottom: 14px;
	}

	.commentsBox > div:last-of-type {
		width: 100%;
	}

	#CommentsMain {
		margin-top: 0;
	}
}

@media(max-width:576px) {
	.commentsBox > div:first-of-type > div:first-of-type {
		gap: 6px;
	}

		.commentsBox > div:first-of-type > div:first-of-type > h5,
		.commentsBox > div:last-of-type > div > div > p:first-of-type,
		.commentsBox > div:first-of-type > div:first-of-type > span:last-of-type, .commentsBox > div:first-of-type > div:last-of-type > span:first-of-type {
			font-size: 13px;
		}

		.commentsBox > div:first-of-type > div:first-of-type > img {
			margin: 0;
			width: 18px;
		}

	.commentsBox > div:last-of-type > p,
	.commentsBox > div:last-of-type > div > div > span {
		font-size: 13px;
	}

	.commentsBox > div:first-of-type > div:last-of-type > p > i {
		font-size: 9px;
	}

	.commentsBox > div:last-of-type > div > span {
		margin: 0;
	}

	.commentsBox > div:last-of-type > div > div {
		margin: 28px 0 15px 10px;
	}

		.commentsBox > div:last-of-type > div > div > p:last-of-type > a,
		.commentsBox > div:last-of-type > span > a:first-of-type,
		.commentsBox > div:last-of-type > span > a:nth-of-type(2),
		.commentsBox > div:last-of-type > span > a:nth-of-type(3) {
			font-size: 11px;
		}
}
