/**
 * Success case single page layout fixes.
 *
 * @package AriawellTheme
 */

body.ms-case-read {
	background: #fff;
}

body.ms-case-read #header {
	position: sticky;
}

body.ms-case-read #main-content {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

body.ms-case-read #wrap > .container.wrap-medium,
body.ms-case-read .container.wrap-medium {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

body.ms-case-read .wrap-medium {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

body.ms-case-read .main-contents-inner {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

body.ms-case-read .default-container {
	padding: 120px 20px 0;
}

body.ms-case-read .xans-board-readpackage {
	width: 100%;
	max-width: 1200px;
	margin: 120px auto 0;
	padding: 0;
}

body.ms-case-read .board-read__title {
	font-weight: 700;
	font-size: 24px;
	color: #111;
	line-height: 1.4;
	letter-spacing: -0.01em;
}

body.ms-case-read .board-read__info > span {
	color: #666;
}

body.ms-case-read .board-read__detail .fr-view {
	font-size: 16px;
	line-height: 1.8;
	color: #333;
}

body.ms-case-read .board-read__detail .fr-view h2 {
	margin: 40px 0 16px;
	font-weight: 700;
	font-size: 22px;
	line-height: 1.4;
	color: #0075c8;
}

body.ms-case-read .board-read__detail .fr-view h2:first-child {
	margin-top: 0;
}

body.ms-case-read .board-read__detail .fr-view p {
	margin: 0 0 16px;
}

body.ms-case-read .board-read__detail .fr-view img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto 24px;
}

body.ms-case-read .board-read__detail .fr-view ul,
body.ms-case-read .board-read__detail .fr-view ol {
	margin: 0 0 16px;
	padding-left: 20px;
}

body.ms-case-read .board-read__detail .fr-view li {
	margin-bottom: 8px;
}

body.ms-case-read .xans-board-movement > ul > li.empty .empty-text {
	color: #999;
}

body.ms-case-read .case-read__button-wrap {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin: 30px 0 100px;
}

body.ms-case-read .case-read__button-wrap .ms-button.review-list {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 100px;
	padding: 12px 24px;
	border: 1px solid #ddd;
	border-radius: 4px;
	background: #fff;
	font-weight: 500;
	font-size: 14px;
	color: #333;
	text-decoration: none;
	transition: 0.2s;
}

body.ms-case-read .case-read__button-wrap .ms-button.review-list:hover {
	border-color: #111;
	color: #111;
}

#contact-section.default-container.main-page-none {
	display: block !important;
}

@media all and (max-width: 1023px) {
	body.ms-case-read .default-container {
		padding-top: 70px;
	}

	body.ms-case-read .board-read__title {
		font-size: 20px;
	}

	body.ms-case-read .board-read__detail .fr-view h2 {
		font-size: 18px;
	}
}

@media all and (max-width: 660px) {
	body.ms-case-read .case-read__button-wrap {
		margin-bottom: 60px;
	}
}
