/**
 * 03/02/20 stylesheet for Supreme Court
 */

/* ///// Start CSS Reset ///// */

/*html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}body{line-height:1}button{outline:0}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}q{display:inline;font-style:italic}q:before{content:'"';font-style:normal}q:after{content:'"';font-style:normal}textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"]{-webkit-appearance:none;appearance:none;border-radius:0}table{border-collapse:collapse;border-spacing:0}th,td{padding:2px}big{font-size:120%}small,sup,sub{font-size:80%}sup{vertical-align:super}sub{vertical-align:sub}dd{margin-left:20px}kbd,tt{font-family:courier;font-size:12px}ins{text-decoration:underline}del,strike,s{text-decoration:line-through}dt{font-weight:bold}address,cite,var{font-style:italic}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}.screen-reader-text{clip:rect(1px, 1px, 1px, 1px);position:absolute !important}*/

/* ///// END CSS Reset ///// */


* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  /* outline: 1px solid red !important;*/
}

/* //// LAYOUT //// */
/* //// LAYOUT //// */
/* //// LAYOUT //// */
/* //// LAYOUT //// */

.outer-wrap {
  background: none;
  width: 1100px;
}

.inner-wrap {
  background: none;
  width: 1100px;
}

#primaryContent {
  background: url("../../sc-img/sc-back.png") !important;
  background-color: #67523f;
  margin-bottom: 40px;
}

#jcpcContent {
  background: url("../../sc-img/jcpc-back.png");
  background-color: #265d60;
  float: left;
  margin-bottom: 40px;
  width: 100%;
}

body.home #jcpcContent {
  min-height: 342px;
  padding: 0;

}

body.subindex #jcpcContent {
  min-height: 322px;
  padding: 0px 0px 22px 0px;
}

/* //// END LAYOUT //// */
/* //// END LAYOUT //// */
/* //// END LAYOUT //// */
/* //// END LAYOUT //// */

/* //// MENU //// */
/* //// MENU //// */
/* //// MENU //// */
/* //// MENU //// */

#container {
  border: none;
}

#sc-logo,
#sc-intro,
#sc-alt {
  border-right: 5px solid #3a73b5;
  float: left;
  min-height: 120px;
  text-align: left;
}

#jcpc-title>#sc-logo,
#jcpc-title>#sc-intro {
  border-right: 5px solid #265d60;
}

#sc-logo {
  width: 33%;
}

#sc-intro {
  width: 46%;
}

.landing>#sc-intro {
  width: 66%;
}

.landing>#sc-intro>a:last-of-type {
  float: right;
}

.landing>#sc-logo,
.landing>#sc-intro {
  border-right: none !important;
}

#jcpc-title>.landing>#sc-logo,
#jcpc-title>.landing>#sc-intro {
  border-right: none !important;
}

.jcpc-border {
  border-right: 5px solid #265d60;
}

#sc-alt {
  width: 20%;
  display: flex;
}

#sc-title>div:last-of-type,
#jcpc-title>div:last-of-type {
  border-right: none;
}

#sc-title img,
#jcpc-title img {
  vertical-align: text-bottom;
  max-width: 100%;
  max-height: 120px;
  padding: 10px;
}

#sc-title #sc-logo a,
#jcpc-title #sc-logo a {
  display: inline-block;
}

#sc-alt .sc-jcpc-site {
  flex: 1;
  display: inline-block;
  text-align: center;
  margin-left: 10px;
}

#sc-alt img {
  margin: 0;
  max-width: 65px;
  max-height: 100%;
  width: 100%;
  height: auto;
  display: inline-block;
  padding: 0;
}

#sc-alt a span {
  font-size: 0.8rem;
  display: block;
}

#sc-alt p {
  float: right;
  max-width: 50%;
  padding: 10px;
}

#sc-bottom-alt {
  display: none;
}

#sc-bottom-alt img {
  display: block;
  vertical-align: text-bottom;
  max-height: 80px;
  max-width: 150px;
  text-align: left;
}

#sc-bottom-alt p {
  margin-bottom: 20px;
  width: initial !important;
}

.sc-botttom-alt__jcpc-logo {
  text-align: left;
}

.sc-botttom-alt__jcpc-logo a {
  display: inline-block;
}

#sc-intro {
  position: relative;
}

#sc-intro p {
  font-size: 1.6em;
  position: static;
  top: 15%;
  left: 0;
  padding: 0 2.5%;
  line-height: 1.2;
}

#jcpc-title>#sc-intro p {
  top: 5%;
}

#sc-intro h1 {
  color: #666666;
  font-size: 4em;
  font-weight: normal;
  line-height: 0.8;
  bottom: 20%;
  position: absolute;
  padding: 20px 5%;
  text-align: left;
  background-color: #f2f0ed;
  right: 0;
  border-left: 5px solid #3a73b5;
  width: 100%;
}

#sc-header {
  color: #666 !important;
  font-size: 2em !important;
  line-height: 0.8 !important;
  position: static !important;
  padding: 0.3em 2.5% !important;
  background-color: transparent !important;
  border-left: 0 !important;
  width: 100% !important;
  font-weight: normal !important;
}

#jcpc-title>#sc-intro h1 {
  border-left: 5px solid #265d60;
}

#sc-intro a {
  padding-left: 5%;
}

#sc-nav,
#jcpc-nav {
  background-color: #f2f0ed;
  border-bottom: 1px solid #3a73b5;
  margin: 1% 0;
  padding: 1% 3%;
}

#jcpc-nav {
  border-bottom: 1px solid #265d60;
}

#sc-nav ul,
#jcpc-nav ul {
  float: left;
  padding: 2.5px 0;
  text-align: left;
  width: 65%;
}

#sc-nav input,
#jcpc-nav input {
  float: right;
}

input.addsearch {
  margin: 0 10px 0 0;
}

#sc-nav li {
  display: inline;
  font-size: 1.6em;
  font-weight: bold;
  margin-right: 8%;
}

#jcpc-nav li {
  display: inline;
  font-size: 1.6em;
  font-weight: bold;
  margin-right: 8%;
}

#sc-nav a {
  color: #2C6EBA !important;
  /* change from #3a73b5 */
}

#sc-nav a:hover {
  color: #000 !important;
}

#jcpc-nav a {
  color: #265d60;
}

#jcpc-nav a:hover {
  color: #000;
}

#sc-footer {
  padding: 20px 3%;
}

#sc-footer h2 {
  font-size: 1em;
  margin-bottom: 10px;
  text-align: left;
}

#sc-footer ul {
  text-align: left;
  float: left;
  width: 65%;
}

#sc-footer li {
  display: inline;
  font-size: 1.2em;
  margin-right: 2%;
  line-height: 2;
}

#sc-footer p {
  text-align: right;
}

.social-wrapper {
  float: left;
  width: 20%;
  transform: translateY(-20px);
}

.social-wrapper img {
  border-radius: 50%;
  /*	margin-top: -20px;*/
  width: 45px;
  /*	max-width: 23%;*/
}

.social-wrapper a {
  display: inline-block;
}

#sc-footer p {
  float: left;
  width: 15%;
}

/* //// ELEMENTS //// */
/* //// ELEMENTS //// */
/* //// ELEMENTS //// */
/* //// ELEMENTS //// */

.core-sc-content p {
  color: #fff;
  font-size: 1.4em;
  margin: 0 1% 1em;
  text-align: left;
}

.sc-highlight-container {
  padding: 2%;
}


.sc-highlight-col {
  float: left;
  margin: 1%;
  width: 48%;
}

.sc-highlight,
.jcpc-highlight {
  margin-bottom: 5%;
}

.jcpc-highlight {
  border-bottom: 1px solid #fff;
}

.sc-highlight:last-of-type,
.jcpc-highlight:last-of-type {
  margin-bottom: 0;
}

.sc-highlight h2 {
  background-color: #3a73b5;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  text-align: left;
  padding: 10px;
}

.jcpc-highlight h2 {
  background-color: #fff;
  color: #265d60;
  font-size: 1.6em;
  font-weight: bold;
  text-align: left;
  padding: 10px;
}

.sc-highlight h3,
.jcpc-highlight h3 {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 1em;
  text-align: left;
}

.jcpc-highlight h3 {
  color: #fff;
}

.sc-highlight img,
.jcpc-highlight img {
  vertical-align: text-bottom;
  width: 100%;
}

.sc-highlight-detail {
  background-color: #f2f0ed;
  padding: 15px 10px;
}

.jcpc-highlight-detail {
  background-color: #265d60;
  padding: 15px 10px;
}

.sc-highlight-detail p {
  color: #000;
  font-size: 0.875rem;
  margin-bottom: 0.5em;
  text-align: left;
}

.jcpc-highlight-detail p {
  color: #fff;
  font-size: 1.4em;
  margin-bottom: 0.5em;
  text-align: left;
}

.sc-highlight-detail a {
  color: #000;
  font-weight: bold;
  display: inline-block;
}

.jcpc-highlight-detail a {
  color: #fff;
  font-weight: bold;
}

.sc-highlight-detail a:hover {
  color: #3a73b5;
}

.jcpc-highlight-detail a:hover {
  color: #fff !important;
  text-decoration: underline;
}

.sc-highlight-detail a:visited {
  color: #000;
}

.jcpc-highlight-detail a:visited {
  color: #fff;
}

.listing-detail {
  border-bottom: 1px solid #3a73b5;
}

.listing-detail p,
.jcpc-listing-detail p {
  line-height: 1.5;
}

.jcpc-listing-detail {
  border-bottom: 1px solid #fff;
}

.sc-hp-cards {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 30px;
  row-gap: 30px;
}

.sc-hp-cards .sc-hp-card {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
}

.sc-hp-cards .sc-highlight-detail {
  flex: 1;
}


.sc-hp-court-sitting-link {
  padding-top: 1em;
  margin-top: 1em;
  border-top: 1px solid;
}

.sc-hp-img-wrap {
  position: relative;
  padding-bottom: 66.66%;
}

.sc-hp-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.hp-banner-01 {
  background-color: #fff;
  border: 1px solid #3a73b5;
  margin: 0 auto;
  padding: 10px;
  width: 100%;
}

.hp-banner-01 p {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.hp-banner-01 a {
  text-decoration: underline; 
  text-underline-offset: 5px; 
}


@media only screen and (min-width: 769px) {

  .survey-2023-container iframe {
    width: 100%;
    height: 4800px;
    max-height: unset !important;

  }

}


@media only screen and (max-width: 1100px) {

  .outer-wrap,
  .inner-wrap,
  #container,
  #sc-title,
  #sc-nav,
  #primaryContent,
  #sc-footer {
    width: 100%;
  }

}

@media only screen and (max-width: 960px) {

  #cookieDirective .cookie-policy {
    float: none;
    height: 140px;
    width: 100%;
  }

}

@media only screen and (max-width: 860px) {

  #jcpc-title>#sc-intro p {
    font-size: 1.3em;
  }

  #sc-intro p {
    top: 0;
  }

}

@media only screen and (max-width: 835px) {

  #sc-nav ul,
  #jcpc-nav ul {
    width: 55%;
  }

  #sc-nav li {
    font-size: 1.4em;
    margin-right: 5%;
  }

  #jcpc-nav li {
    font-size: 1.4em;
    margin-right: 5%;
  }

}

@media only screen and (max-width: 760px) {

  #cookieDirective .explanation {
    float: none;
    width: 100%;
  }
}

@media only screen and (max-width: 695px) {

  #addsearch-results.addsearch-t .addsearch-result-item-sub-active div,
  #addsearch-results.addsearch-t .addsearch-result-item-sub div {
    width: 100%;
  }

  #sc-nav,
  #jcpc-nav {
    padding: 10px 3%;
  }

  #sc-nav ul,
  #jcpc-nav ul {
    text-align: center;
    width: 100%;
  }

  #sc-nav input,
  #jcpc-nav input {
    float: none;
    margin-top: 10px;
  }

  #sc-nav li,
  #jcpc-nav li {
    font-size: 1.3em;
    margin-right: 0 5%;
  }

  #sc-logo,
  #sc-intro,
  #sc-alt {
    border-right: none;
  }

  #sc-title img,
  #jcpc-title img {
    padding: 5%;
  }


  #jcpc-title>#sc-logo,
  #jcpc-title>#sc-intro {
    border-right: none;
  }

  #jcpc-title>#sc-intro p {
    top: 10%;
  }

  #sc-logo {
    margin-bottom: 2em;
    width: 100%;
  }

  #sc-intro {
    margin: -3em 0 0 0;
    min-height: 100px;
    padding-top: 1em 0;
    width: 100%;
    max-width: 100%;
  }

  #sc-intro h1 {
    bottom: 10%;
    padding: 0.5em 5% !important;
  }

  #sc-intro p {
    padding: 0 5% 1em;
    top: 0;
  }

  #sc-intro a:last-of-type {
    display: none;
  }

  .landing>#sc-intro {
    width: 100;
  }

  .landing>#sc-intro h1 {
    margin-top: 5px;
  }

  #sc-alt {
    display: none;
  }

  #sc-bottom-alt {
    display: initial;
  }

  .sc-highlight-col {
    width: 96%;
  }

  #sc-footer ul {
    width: 100%;
  }

  .social-wrapper {
    text-align: left;
    width: 100%;
  }

  .social-wrapper img {
    margin: 20px 0;
  }

  #sc-footer p {
    float: left;
    text-align: center;
    width: 100%;
  }

  .sc-hp-cards {
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 460px) {

  #sc-intro p {
    font-size: 1.4em;
  }

}

@media only screen and (max-width: 360px) {

  .outer-wrap,
  .inner-wrap,
  #container,
  #sc-title,
  #sc-nav,
  #primaryContent,
  #sc-footer {
    width: 360px;
  }

}