@charset "windows-1251";
/* CSS Document */
.topic_container, .topic_answer, .topic_create {
	margin: 10px auto;
	max-width: 80%;
	min-width: 250px;
	display: block;
	padding: 10px;
	border: 1px solid #545454;
	z-index: 0;
	margin-bottom: 10px;
	border-radius: 10px;
	box-shadow: 0 5px 15px 0 rgba(0,0,0,.2);
}

.topic_answer, .topic_create {
	background-color: #F4D9BE;
}

.topic_title_input {
	display: flex;
	padding: 10px;
	border-radius: 5px;
	margin: 10px auto;
	width: 100%;
	border: 1px solid black;
	box-shadow: 0 5px 15px 0 rgba(0,0,0,.2);
	font-family: inherit;
}

.topic_info {
	width: 100%;
    border-collapse: collapse;
}

.topic_header {
	color: #572C07;
    font-size: 18px;
    font-weight: bold;
}

.topic_title {
	color: #572C07;
    font-size: 18px;
    font-weight: bold;
}

.topic_title a {
    color: #572C07;
    text-decoration: none;
}

.topic_title a:hover {
	color: coral;
	transition: all 0.3s;
}

.topic_meta {
    font-size: 12px;
    color: #572C07;
}

.topic_meta a:hover {
	color: coral;
	transition: all 0.3s;
}

.topic_avatar_img {
	max-width: 75px;
	min-width: 25px;
	max-height: 75px;
	min-height: 25px;
	border: none;
	border-radius: 40px 5px;
}

.reply_count {
    font-size: 14px;
    color: #555;
    text-align: right;
}

.toipic_content {
	margin-bottom: 10px;
	padding: 0px;	
}


.topic_answer textarea {
	display: flex;
	padding: 10px;
	border-radius: 5px;
	margin: 10px auto;
	width: 100%;
	border: 1px solid black;
	box-shadow: 0 5px 15px 0 rgba(0,0,0,.2);
	font-family: inherit;
	resize: none;
}
.topic_create textarea {
	display: flex;
	padding: 10px;
	border-radius: 5px;
	margin: 10px auto;
	width: 100%;
	border: 1px solid black;
	box-shadow: 0 5px 15px 0 rgba(0,0,0,.2);
	font-family: inherit;
	resize: none;
}

.message {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
}

.message p {
    font-size: 16px;
    margin-bottom: 5px;
}

.message p:last-child {
    margin-bottom: 0;
}

.topic_img {
	max-width: 15%;
	min-width: 50px;
	max-height: 15%;
	min-height: 50px;
	border-radius: 10px;
	margin: 5px;
	border: 1px solid black;
	box-shadow: 0 5px 15px 0 rgba(0,0,0,.3);
}
