@font-face {
  font-family: Montserrat;
  src: url(../font/Montserrat-Regular.ttf);
}

* {
  margin: 0;
  padding: 0;
  color: #595959;
  box-sizing: border-box;
  font-family: Montserrat;
}

body {
  height: 100vh;
}

.mainContent {
  width: 85%;
  display: flex;
  margin: 0 auto;
  flex-direction: column;
  position: relative;
  /*justify-content: space-between;*/
}

.topSection {
  z-index: 2;
  width: 85%;
  display: flex;
  position: fixed;
  justify-content: space-between;
  background-color: #ffffff;
}

.headingSection {
  display: flex;
  width: 70%;
  align-items: center;
  justify-content: left;
}

.logo img {
  width: 90%;
}

.title {
  padding-left: 5px;
}

.title p {
  font-family: Montserrat;
}

.title p:first-child {
  font-size: 1.5vw;
}

.title p:last-child {
  font-size: 1vw;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

.sandwich {
  display: none;
}

.menuSection {
  width: 100%;
  display: inline-block;
}

.menu {
  padding: 5px;
  display: flex;
  font-size: small;
  font-weight: 600;
  align-content: center;
  justify-content: flex-end;
}

.menu > div {
  padding: 5px 5px 5px 5px;
}

.menu > div img {
  height: 11px;
}

.menu_sub {
  position: relative;
}

.menu_sub .inner {
  z-index: 4;
  width: 120%;
  display: none;
  position: absolute;
  background-color: #f1ede2;
}

.menu_sub:hover > .inner {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.menu_sub .inner a {
  padding: 3px;
  margin-top: 5px;
  font-weight: bold;
  text-decoration: none;
  background-color: transparent;
}

.menu_sub .inner a:hover {
  background-color: transparent;
  border-bottom: thin solid lightgrey;
}

.topMenu {
  margin-top: 5%;
}

.bottomMenu {
  width: 100%;
  justify-content: space-between;
}

.banner {
  width: 100%;
  height: 18em;
  margin-top: 9em;
  background-size: contain;
  background-repeat: no-repeat, repeat;
  background-image: url(../images/banner.fw.png), url(../images/bannerbk.jpg);
}

.banner_sm {
  width: 100%;
  height: 20em;
  margin-top: 9em;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url(../images/banner_sm.jpg);
}
.searchform
{
	display: flex;
    flex-wrap: nowrap;
    border-color: #14547a;
    background-color: #14547a;
    height: 62px;
    flex-direction: row;
    align-items: center;
}
.searchfield
{
	width: 90%;
    height: 30px;
    margin: 10px;
}
.searchbtn
{
	height: 30px;
    width: 70px;
    background-color: white;
    border: lightgray 2px;
    border-radius: 2px;
}
.about_us {
  width: 100%;
/*  height: 40em;*/
  margin-top: 2em;
  font-size: 0.85em;
  line-height: 2em;
  text-align: center;
}
.about_us h3 {
  margin-top: 30px;
  color: #141414;
  font-size: 35px;
  background-color: transparent;
}

.about_us hr {
  width: 5%;
  margin-top: 0.5em;
  border: thin solid red;
  margin-bottom: 25px;
  margin-left: 47%;
}

.col_container,
.links_section_items {
  display: flex;
  background-color: transparent;
  justify-content: space-around;
}

.col_container > div,
.links_section_items > div {
  width: 24%;
  text-align: center;
  padding-top: 20px;
  padding-bottom: 20px;
}

.box_frames,
.links_frame {
  display: flex;
  justify-content: center;
}

.box_frames > div {
  width: 320px;
}

.box_frames .box_heading {
  font-size: 16px;
  padding-top: 20px;
  text-align: left;
}

.box_frames .date {
  font-size: 12px;
  color: #0072bb;
}

.box_frames .readMore a {
  color: black;
  font-weight: 600px;
  text-decoration: none;
}

.box_frames .readMore a:hover {
  color: #fc010a;
}

.box_heading > div img {
  margin-top: 10px;
}

.box_heading > div p {
  font-size: 12px;
  text-align: justify;
  padding-bottom: 10px;
}

.court_matters {
  width: 100%;
  text-align: center;
  padding-bottom: 5em;
}

.court_matters h3 {
  margin-top: 40px;
  color: #141414;
  font-size: 35px;
  background-color: transparent;
}

.court_matters h4 {
  padding-top: 20px;
  padding-bottom: 20px;
  color: #141414;
  font-size: 23px;
  background-color: transparent;
}

.court_matters hr {
  width: 5%;
  border: thin solid red;
  margin-bottom: 25px;
  display: inline-block;
}

.court_matter_list{
  
  width: 80%;
  display: inline-block;
  align-items: center;
  justify-content: center; 
}

.court_matter_list .spacer_line{

  width: 100%; 
  margin: 25px 0 25px 0;
  display: inline-block;  
  border: 1px dashed lightgray;

}


.court_matter_list > p {
  
  text-align: justify;
  line-height: 20px;
  padding-bottom: 2em;
  
}

.court_schedule{

  display: flex;
  align-items: center;
  justify-content: left; 
  
}

.court_header{

  padding-left: 3em;
  text-align: left;
}



.detail_page {
  display: flex;
  text-align: center;
  justify-content: space-between;
}

.detail_page > div {
  width: 33.33%;

  padding: 10px;
}
#motto {
  font-style: italic;
  text-align: center;
}
.detail_page > div p {
  line-height: 25px;
  text-align: justify;
  padding: 10px;
}

p.info {
  line-height: 25px;
  text-align: justify;
  padding: 10px;
}
ul.item_list {
  padding-left: 4%;
}

ul.item_list > li {
  text-align: left;
  line-height: 25px;
  list-style: decimal;
}
hr.heading_line {
  width: 20%;
  margin-top: -15px;
  text-align: center;
  border: thin solid lightgray;
}

.judge_list_container {
  display: flex;
  /*  border: thin solid red;*/
  flex-wrap: wrap;
  justify-content: center;
}
.judge_holder {
	display: flex;
	justify-content: center;
}
.new_judge_list_container {
  display: flex;
  width: 800px;
  flex-wrap: wrap;
  justify-content: center;
}

.judge_list > li {
  display: flex;
  line-height: 1.5em;
  list-style-type: none;
}
.judge_list > li a {
  color: black;
  font-size: 0.75em;
  text-decoration: none;
  background-color: transparent;
}
.link_frame {
  margin: 5px;
  width: 250px;
  padding: 10px;
  display: flex;
  border-radius: 10px;
  justify-content: center;
  border: 1px solid #f58e6f;
}
.link_frame_long
{
	width:100%;
}

.link_frame:hover {
  border: 1px solid red;
}

.link_frame > div a {
  color: white;
  border-radius: 20px;
  text-decoration: none;
  padding: 5px 20px 5px 20px;
  background-color: #f58e6f;
}

.link_frame > div a:hover {
  color: #fec53c;
  font-weight: 800;
  background-color: black;
}

.list_container {
  text-align: left;
  line-height: 30px;
}

.list_container ul li {
  list-style: none;
}

.list_container ul li a {
  padding: 7px;

  text-decoration: none;
  background-color: transparent;
}

.list_container ul li:hover {
  background-color: #82bfee;
}



.links_section {
  width: 100%;
  height: 353px;
  text-align: center;
}

.links_frame > div img {
  padding-bottom: 10px;
}

.links_frame > div p {
  font-size: 12px;
  padding-bottom: 20px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.links_frame > div a {
  color: white;
  font-size: 14px;
  border-radius: 5px;
  text-decoration: none;
  padding: 5px 8px 5px 8px;
  background-color: #8e8e8e;
}

.footer {
  bottom: 0;
  width: 100%;
  display: flex;
  font-size: 10px;
  font-weight: 600;
  padding-bottom: 20px;
  justify-content: space-between;
  border-top: thin solid #8C8C8C;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.footer .left_side,
.right_side {
  padding-top: 20px;
}

.footer .right_side p:last-child {
  padding-top: 20px;
}

.footer .right_side {
  text-align: right;
}

.footer .right_side p:last-child {
  padding-top: 20px;
}
@media only screen and (max-width: 900px) {
  .mainContent {
    position: relative;
    flex-direction: column;
    justify-content: center;
  }
  .title p:first-child {
    font-size: 20px;
  }
  .title p:last-child {
    font-size: 18px;
  }
  .topSection {
    top: 0;
    flex-direction: column;
  }
  .headingSection {
    width: 100%;
    flex-direction: column;
    justify-content: center;
  }
  .sandwich {
    display: flex;
    font-size: 2em;
    font-weight: bolder;
    align-items: center;
    justify-content: center;
  }
  .menuSection {
    display: none;
  }
  .menu {
    flex-direction: column;
    justify-content: center;
  }
  .menu > div {
    justify-content: center;
    text-align: center;
  }
  .menu_sub .inner {
    position: static;
    width: 100%;
  }
  .banner {
    display: none;
  }

  .about_us {
  /*  margin-top: 20em;*/
    position: relative;
    flex-direction: column;
  }
  .about_us h3 {
    color: black;
  }
  .col_container,
  .links_section_items {
    flex-direction: column;
  }
  .col_container > div,
  .links_section_items > div {
    width: 100%;
  }

  .court_matters {
    height: auto;
  }
  .court_matter_list {
    flex-direction: column;
    padding-bottom: 20px;
  }
  .court_frame > div {
    width: 100%;
    padding: 15px;
    margin-bottom: 10px;
    border: thin solid lightgray;
  }
  .spot_light {
    display: none;
  }

  .banner_sm {
    height: 6em;
    background-image: none;
  }
  .detail_page {
    flex-direction: column;
  }
  .detail_page > div {
    width: 100%;
    text-justify: auto;
  }
  .judge_list_container {
    flex-direction: column;
  }

  .judge_list_container > div {
    margin-bottom: 10px;
  }

  .links_section {
    height: auto;
  }
  .footer {
    height: auto;
  }
}
