html {
	height: 100%;
}

body {
	min-height: 100%;
	display: flex;
	flex-direction: column;
	font-size: 20px;
}

.skip-link {
	position: fixed;
	left: 16px;
	top: 12px;
	z-index: 10000;
	padding: 10px 14px;
	border-radius: 6px;
	background: #13005a;
	color: #fff;
	transform: translateY(-180%);
}

.skip-link:focus {
	color: #fff;
	transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
	outline: 3px solid #ff8a00;
	outline-offset: 3px;
}

main {
	flex:  1 1 auto;
}

table {
	border-collapse: separate;
}

.logotext {
	text-decoration: none;
	font-size: 32px;
}

.layout_header {
	display: flex;
	width: 100%;
	justify-content: space-between;
	align-items: center;
}

.layout_header div {
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

.layout_header div img {
	height: 44px;
	width: auto;
	margin-right: 10px;
}

.change_lang {
	font-size: 14px;
	color: #333;
	text-decoration: none;
}

.index_desc h1 {
	display: block;
	text-align: center;
	font-size: 38px;
	font-weight: bold;
	margin-bottom: 25px;
}

.btn_search {
	background-color: #e3f2fd !important;
	border-color: #495057 !important;
	color: #343a40 !important;
}

.btn_search:hover {
	background-color: #0d6efd !important;
	color: #fff !important;
}

.search_form {
	background-color: #e3f2fd;
	padding: 20px;
}

.card {
	box-shadow: 1px 1px 14px rgb(0 0 0 / 20%);
}

.card img {
	padding: 6px;
}

.card a {
	text-decoration: none;
}

.card a:hover {
	text-decoration: underline;
}

.navbar-brand {
	margin-right: 0 !important;
}

/*HEAD NAV*/
.marks_nav {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
}

.marks_nav h2 {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	width: 49%;
}

.marks_nav h2 img {
	width: auto;
	height: auto;
	max-width: 48px;
	max-height: 64px;
	margin-right: 10px;
}

.marks_nav h2 a {
	color: #212529;
	text-decoration: none;
	font-size: 28px;
	letter-spacing: 1px;
}

.marks_nav h2 a:hover {
	color: #1e58ca;
	text-decoration: none;
}

/*SUBNAV*/
.subnav_wrap {
	background-color: #f7f7f7;
	padding: 4px 0 8px 0;
}

.subnav {
	overflow-x: scroll;
	display: flex;
	justify-content: space-between;
}

.subnav::-webkit-scrollbar {
  	width: 0;
  	height: 0;
}

.subnav a {
	margin: 0 25px;
	white-space: nowrap;
	text-decoration: none;
}

.subnav a:last-child {
	margin-right: 0;
}

.subnav a:first-child {
	margin-left: 0;
}

.worlds h2 {
	display: block;
	text-align: center;
	background-color: #FFD773;
	padding: 10px 29px;
	border-radius: 8px;
	margin-bottom: 20px;
}

.worlds h2:last-child {
	margin-bottom: 0;
}

.worlds a {
	text-decoration: none;
	color: #d9534f;
}

.worlds a:hover {
	text-decoration: underline;
}

.list_group_main_active {
	background-color: #FFD773 !important;
	border-color: #ffd773 !important;
	color: #d9534f !important;
	letter-spacing: 1px;
	font-weight: bold;
}

.list_group_main:nth-child(odd) {
	background-color: #FFFFE0 !important;
	border-color: #ffd773 !important;
}

.list_group_main:nth-child(even) {
	background-color: #FFEFD5 !important;
	border-color: #ffd773 !important;
}

.list-questions a {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	width: 100%;
	padding: 20px;
	text-decoration: none;
	color: #f2f1f5;
    background: #13005a;
    border-bottom: 1px solid #7976af;
}

.list-questions a span {
	font-size: 32px;
	background-color: #f0dc65;
    color: #d9534f;
	padding: 3px 14px;
	border-radius: 8px;
	margin-right: 10px;
}

.list-questions a:hover {
	background-color: #2f4b9b;
	color: #f0dc65;
}

.list-questions h5 {
	margin: 0;
	padding: 0;
	font-size: 24px;
	color: #f2f1f5;
}

.main_title_block {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	width: 100%;
	padding: 20px;
	color: #f2f1f5;
    background: #13005a;
}

.tile_cody {
    color: #3d1080;
    text-align: center;
    font-weight: 900;
    display: inline-block;
    text-transform: uppercase;
    background: url(/img/tile_bg.png) no-repeat 50%;
    background-size: contain;
    position: relative;
    width: 50%;
    max-width: 50px;
    max-height: 55px;
    font-size: 150%;
    line-height: 55px;
    overflow: hidden;
    transition: background .2s ease-in-out;
}

.tile_cody_active {
    background-image: url(/img/tile_selected_bg.png);
}

.main_info_block {
	background-color: #FFFFE0;
	border: 3px dashed #13005a;
	border-top: none;
	padding: 10px;
}

.prev_next_link {
	background-color: #0a58ca !important;
	border: none;
	width: 100% !important;
	color: #e3f2fd !important;
}

.prev_next_link:hover {
	background-color: #0d6efd !important;
	color: #fff !important;
}

.my_breadcrumbs {
	background-color: #e3f2fd;
	padding: 10px;
}

.my_breadcrumbs ol {
	margin: 0;
	padding: 0;
}

.my_breadcrumbs a {
	text-decoration: none !important;
}

.my_breadcrumbs a:hover {
	text-decoration: underline; !important;
}

/*POST ARTICLE*/
.post_h1 {
	font-size: 36px;
	font-weight: bold;
}

.post_article h2 {
	font-size: 32px;
}

.post_article img {
	width: 100%;
	max-width: 100%;
	height: auto;
	margin: 20px auto;
	display: block;
}

.post_article_alert {
	background-color: #FDF5E6;
	color: #808000;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	width: 100%;
	box-sizing: border-box;
	padding: 20px;
	margin: 25px 0;
}

.post_article_alert img {
	width: 6%;
	margin-right: 20px;
}

.post_article_alert a {
	color: #808000;
}

.post_article_alert a:hover {
	color: #DEB887;
	text-decoration: none;
}

.page_qute {
	background-color: #bdefb6;
	color: #333;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	width: 100%;
	box-sizing: border-box;
	padding: 20px;
	margin: 25px 0;
}

.page_qute img {
	width: 6%;
	margin-right: 20px;
}

#ez-toc-container {
	background-color: #f7f7f7;
	box-sizing: border-box;
	padding: 20px;
	margin: 25px 0;
}

#ez-toc-container nav .ez-toc-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

#ez-toc-container nav li {
	margin: 10px 0;
}

#ez-toc-container nav li a {
	color: #0a58ca;
	text-decoration: none;
}

.ez-toc-title {
	font-weight: bold;
}

.post_article h5 {
	margin: 25px 0;
}

.post_article table {
	width: 100%;
	margin: 10px 0 20px 0;
}

.post_table_responsive {
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.post_article table thead th {
	padding: 8px;
	text-align: left;
}

.post_article table tr {

}

.post_article table tr:nth-child(even) {
	background-color: #e1e1e1;
}

.post_article table tr:nth-child(odd) {
	background-color: #f7f7f7;
}

.post_article table thead tr:nth-child(even), .post_article table thead tr:nth-child(odd) {
	background-color: #e3f2fd !important;
}

.post_article table tr td {
	padding: 8px;
}

.post_article_about {
	background-color: #f7f7f7;
	color: #333;
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	width: 100%;
	box-sizing: border-box;
	padding: 20px;
	margin: 25px 0;
	flex-wrap: wrap;
}

.post_article_about_title {
	display: flex;
	width: 100%;
	justify-content: flex-start;
	align-items: flex-start;
	text-align: left;
}

.post_article_about_title h5 {
	width: 94%;
}

.post_article_about_text {
	width: 100%;
}

.post_article_about_title img {
	width: 6%;
	margin-right: 20px;
}



@media screen and (max-width: 1224px) {
	.post_article img {
		width: 100%;
	}
	.post_article_alert img, .post_article_about_title img {
		width: 6% !important;
	}
}

@media screen and (min-width: 961px) {
	.container {
		max-width: 960px;
	}
}

@media screen and (max-width: 960px) {
  .post_table_responsive {
    overflow-x: auto;
  }
  .post_article table {
    width: 100% !important;
  }
  .post_article_alert img,
  .post_article_about_title img {
    width: 6% !important;
  }
}

@media screen and (max-width: 760px) {
  .marks_nav h2 {
    width: 100%;
    margin: 0;
  }
  .marks_nav h2 a {
    width: 100%;
    border-bottom: 1px solid #0d6efd;
    padding: 12px 0;
    position: relative;
  }
  .marks_nav h2:first-child {
    border-top: 1px solid #0d6efd;
  }
  .marks_nav h2 a::after {
    content: '';
    border: 12px solid transparent;
    border-left: 12px solid #0d6efd;
    position: absolute;
    right: 0;
    top: 30px;
  }
  .marks_nav h2 img {
    width: auto;
    height: auto;
    max-width: 48px;
    max-height: 64px;
  }
  .breadcrumb li,
  .post_article_alert {
    font-size: 14px;
  }
  .post_article img {
    width: 100%;
  }
  .post_article_alert img {
    width: 6%;
  }
  .prev_next_link {
    font-size: 16px;
  }
  .post_article_alert img,
  .post_article_about_title img {
    width: 6% !important;
  }
}

@media screen and (max-width: 536px) {
  .logotext {
    font-size: 20px;
  }
  .layout_header div img {
    height: 30px;
  }
  .index_desc h1 {
    font-size: 28px;
  }
  .col_prev_next {
    width: 100% !important;
    margin-bottom: 20px;
  }
  .post_article_alert img,
  .post_article_about_title img {
    width: 6% !important;
  }
}

@media screen and (max-width: 448px) {
  .post_h1 {
    font-size: 28px;
  }
  .post_article h2 {
    font-size: 24px;
  }
  .post_article table {
    font-size: 14px;
  }
  .post_article_alert img,
  .post_article_about_title img {
    width: 6% !important;
  }
}

@media screen and (max-width: 380px) {
  .logotext {
    font-size: 15px;
  }
}

@media screen and (max-width: 340px) {
  .post_h1 {
    font-size: 24px;
  }
  .post_article h2 {
    font-size: 22px;
  }
  .post_article table {
    font-size: 12px;
  }
}

@media screen and (max-width: 320px) {
  .layout_header {
    flex-wrap: wrap;
    justify-content: center;
  }
  .layout_header div {
    width: 100%;
    justify-content: center;
  }
  .change_lang {
    margin-top: 10px;
  }
}

/* Accessibility hardening for the restored legacy theme. */
.logotext,
.subnav a,
.my_breadcrumbs a,
footer.navbar a {
	color: #084f9e;
}

.breadcrumb-item.active {
	color: #4c5257;
}

.post_article_alert,
.post_article_alert a {
	color: #565600;
}

.post_article code {
	color: #8a174f;
}

.post_article_about_title img {
	flex: 0 0 40px;
	width: 40px !important;
	height: 40px;
	object-fit: contain;
}
