@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700,900');

@font-face {
  font-family: 'Arial Rounded MT Bold';
  src: url('/themes/custom/sbsc/fonts/ARLRDBD.TTF') format('truetype');
}

body {
  font-family: 'Arial Rounded MT Bold';
  font-size: 16px;
  line-height: 26px;
  background-color: #f2f2f2;
}

.nav.navbar-nav a,
.btn a,
div[class*='-icons'] a,
div[id^='inner-box-'] a,
#featured-event a,
#featured-video a,
.media-date a {
  text-decoration: none;
}

/*====Heder Section CSS=====*/
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Arial Rounded MT Bold';
}
/*.disctp_box.box-shadow p {
	display: inline-block;
}*/

.logo_sec .navbar-default {
  background-color: transparent;
  border-color: inherit;
}
.logo_sec form.navbar-form.navbar-right input.form-control {
  height: 40px;
  background: #fff !important;
  border-radius: 4px 0 0 4px !important;
}
#block-yellowalertbanner-2 .field--name-body {
  color: #333;
  background: #f1c40f;
  display: flex;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  margin: 5px 5px 20px;
}
#block-yellowalertbanner-2 .field--name-body p {
  color: #333;
  font-weight: 600;
  line-height: 20px;
  padding: 10px 10px 10px 55px;
}
#block-yellowalertbanner-2 .field--name-body::before {
  color: #000;
  display: block;
  font-family: 'Font Awesome 5 Free';
  font-size: 25px;
  font-weight: 900;
  content: '\f06a';
  margin: auto 0;
  padding: 20px 10px 20px 15px;
  width: 50px;
  position: absolute;
}

@media (min-width: 992px) {
  .logo_sec form.navbar-form.navbar-right input.form-control {
    width: 295px;
  }
}
.logo_sec form.navbar-form.navbar-right button.btn.btn-primary {
  height: 40px;
  width: 50px;
  margin-left: -6px;
  border-radius: 0px 4px 4px 0px !important;
  background: #3498db;
  border: 1px solid #3498db;
}
.main_navi ul.nav.navbar-nav li.char_last {
  margin-left: 20px;
  font-size: 20px;
  font-weight: bold;
}
.logo_sec form.navbar-form.navbar-right {
  padding-top: 22px;
}

@media (max-width: 767px) {
  .main_navi ul.nav.navbar-nav {
    padding: 30px;
  }
}
.main_navi {
  border-radius: 0;
}
.navbar-brand > img {
  display: block;
  position: relative;
  z-index: 2;
}
.main_navi ul.nav.navbar-nav li a {
  color: #fff;
  font-family: 'Arial Rounded MT Bold';
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .active > a:hover {
  background-color: transparent !important;
  color: #fff !important;
}
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
  background-color: #34495e;
  color: #fff;
}
.dropdown-menu {
  background-color: #e6e6e6;
  border: none;
  -webkit-box-shadow: initial;
  box-shadow: initial;
}
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  color: #fff;
  background-color: transparent;
}
.region-banner .dropdown-menu > li > a,
.region-sidebar-first .dropdown-menu > li > a {
  color: #fff;
  white-space: pre-wrap;
  white-space: initial;
}
aside .navbar-nav > li > .dropdown-menu,
.region-banner .navbar-nav > li > .dropdown-menu {
  background: #ccc;
}
aside .navbar-nav > li > .dropdown-menu a,
aside .navbar-nav > li > .dropdown-menu a:hover,
.region-banner .navbar-nav > li > .dropdown-menu a,
.region-banner .navbar-nav > li > .dropdown-menu a:hover {
  color: #000;
}
aside .dropdown-menu > li > a:hover,
aside .dropdown-menu > li > a:focus,
.region-banner .dropdown-menu > li > a:hover,
.region-banner .dropdown-menu > li > a:focus {
  background: transparent;
}

/* Ensure that both logo and menu is clickable */
header.header_main {
  pointer-events: none;
}

header.header_main .navbar-toggle,
header.header_main .navbar-collapse ul,
header.header_main .navbar-collapse a,
header.header_main .navbar-collapse #search-block-form {
  pointer-events: auto;
}

header.header_main .navbar {
  margin-bottom: 0;
  border: none;
}
.path-frontpage span.quickedit-field,
.path-frontpage .page-header {
  display: none;
}

body.path-frontpage .ban-image {
  background-size: 100%;
  background-repeat: no-repeat;
  background-position-y: top;
  display: inline-block;
  height: 0;
  padding-top: 47%; /* (img-height / img-width * 100%-container-width) */
  width: 100%;
}

.divi_box a {
  color: #fff;
}
.divi_box .cke_widget_image {
  display: block !important;
}
.divi_box img {
  width: 100% !important;
}
.related img {
  width: auto !important;
}

section.banner_sec:before {
  background-image: linear-gradient(to bottom, #3f769b, #34495e);
  content: '';
  display: block;
  opacity: 0.73;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
section.banner_sec .container {
  position: relative;
  z-index: 1;
}
.serc_pop input[type='text'] {
  width: 40%;
  height: 70px;
  border-radius: 6px 0 0 6px;
  border: none;
  padding: 10px;
  font-size: 24px;
}
@media (max-width: 767px) {
  .serc_pop input[type='text'] {
    width: 60%;
  }
}
.serc_pop button {
  background: #3498db;
  border: none;
  padding: 0 35px;
  border-radius: 0 6px 6px 0px;
  height: 70px;
  margin-left: -15px;
  font-size: 50px;
  color: #ffff;
  position: relative;
  top: 11px;
}
.serc_pop ul {
  margin-top: 30px;
  text-align: left;
}
.serc_pop ul li {
  display: inline-block;
  color: #fff;
  font-size: 16px;
  border: 1px solid #fff;
  border-radius: 5px;
  text-align: center !important;
  padding: 6px 20px;
  margin: 0 0 10px 7px;
}
.serc_pop ul li a,
.serc_pop ul li a:hover {
  color: #fff;
}
.serc_pop button i.fa {
  color: #fff;
}
.serc_pop ul li:nth-child(1) {
  border: none;
}
.align-left {
  margin: 0 20px 0 0;
}
.align-right {
  margin: 0 0 0 20px;
}
@media (max-width: 767px) {
  .serc_pop ul li:nth-child(1) {
    width: 90%;
    width: calc(100% - 31px);
    text-align: left !important;
  }
}

.ylw_back {
  background: #f1c40f;
  padding: 30px;
  font-weight: bold;
  margin-bottom: 30px;

  display: none;
}
.ylw_back span {
  float: left;
  height: 42px;
}
.ylw_back span .fa {
  width: 60px;
  text-align: center;
  font-size: 45px;
}
.dark_blu {
  background: #34495e;
  height: 100%;
  min-height: 190px;
  text-align: center;
  border-radius: 7px;
  padding: 40px 20px 10px;
  color: #fff;
}
.dark_blu h3 {
  margin: 5px 0 0;
}
.dark_blu a,
.dark_blu a:hover {
  color: #fff;
}
.pad5 {
  padding: 5px !important;
}
.news-ntc {
  border: 1px solid #eee;
  padding: 0px 20px 20px;
  border-radius: 5px;
  box-shadow: 0 1px 9px 1px #dadada;
}
.nws-innr p.ndate {
  margin-bottom: 0;
  font-size: 14px;
  color: #b3b3b3;
}
.nws-innr p {
  margin-bottom: 2px;
  font-size: 15px;
}
.nws-innr {
  border-bottom: 1px solid #d2d2d2;
  margin-bottom: 7px;
  padding-bottom: 7px;
}
a.more_ntc {
  float: right;
}
section.nws_notice {
  margin-bottom: 30px;
  position: relative;
  /*top: -50px;*/
}
.news-ntc {
  border: 1px solid #eee;
  padding: 0px 20px 20px;
  border-radius: 5px;
  box-shadow: 0 1px 9px 1px #dadada;
  background: #fff;
}
.nop {
  padding: 0px !important;
  overflow: hidden;
}
.marT20 {
  margin-top: 20px;
}
section.map_home {
  position: relative;
}
/*.map-home-container*/
.gm-style .gm-style-iw {
  background: white;
  border-left: 5px Solid #3498db;
  border-radius: 7px;
  padding: 0px 18px 20px;
  box-shadow: 0 1px 14px 6px #9a9a9a;
  /* top: 0 !important;
	left: 0 !important;
	min-height: 100%;
	min-width: 100%;*/
}
/*.map-home-container:before*/
.gm-style .gm-style-iw:before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 16px solid transparent;
  border-right: 15px solid white;
  top: 50%;
  left: -14px;
}
.map-home-container {
  width: 96%;
}
.map-home-container .box-shadow,
.box-shadow .box-shadow {
  box-shadow: none;
  padding: 0;
}
/*style the arrow*/
/*.gm-style > div > div > div > div > div  {
		background-color: #3C61AD !important;
		padding: 0;
		margin: 0;
		padding: 0;
		top: 0;
		color: #fff;
		font-size: 16px;
}*/

/*style the link*/
/*.gm-style div div div div div div div div a {
		color: #f1f1f1;
		font-weight: bold;
}*/
section.division_home {
  padding: 70px 0;
}
section.division_home .field {
  display: flex;
  flex-wrap: wrap;
}
.para {
  margin-bottom: 30px;
}

footer.home_foot {
  background: #323232;
  color: #fff;
  padding: 40px 0;
}
@media (max-width: 767px) {
  footer.home_foot {
    padding: 40px 0px;
  }
}
footer.copy_right {
  background: #000;
  min-height: 40px;
  line-height: 40px;
  color: #fff;
}
@media (max-width: 991px) {
  footer.copy_right {
    text-align: center;
    padding: 20px;
  }
}
footer.home_foot form.navbar-form.navbar input {
  width: 230px !important;
}
footer.home_foot form.navbar-form.navbar input {
  width: 230px !important;
  border-radius: 4px 0 0 4px;
  height: 40px;
}
footer.home_foot form.navbar-form.navbar button {
  height: 40px;
  border-radius: 0 4px 4px 0;
}
/*====Location Page=====*/

.locver_menu ul.nav.navbar-nav {
  width: 100%;
}
.locver_menu ul.nav.navbar-nav li {
  float: none;
  border-bottom: 1px solid #d1d1d1;
  margin: 10px;
}
.locver_menu ul.nav.navbar-nav li:last-child {
  border-bottom: none;
}
.locver_menu ul.nav.navbar-nav li ul.dropdown-menu {
  width: 100%;
  position: relative;
  border: none;
  box-shadow: none;
}
.disctp_box.box-shadow {
  background: #fff;
}
.box-shadow {
  box-shadow: 0px 2px 5px 2px #bebebe;
  padding: 30px;
}
.disctp_box.box-shadow h3 {
  font-size: 30px;
  font-weight: bold;
}
section.locver_menu {
  position: relative;
  /* top: -160px; */
  left: -30px;
}

/*====Event Page=====*/

.related.box-shadow {
  background: #fff;
}
h2.heading2 {
  font-size: 40px;
  font-weight: bold;
}
h3.heading3 {
  font-size: 30px;
  font-weight: bold;
}
.related.box-shadow .media {
  margin-bottom: 30px;
}
.related.box-shadow h4.media-heading {
  color: #34495e;
  font-weight: bold;
}
section.event_menu {
  position: relative;
  top: -100px;
}
.amep-social ul li {
  float: left;
  list-style: none;
}
.amep-social {
  display: flex;
  position: relative;
  background: #f2f2f2;
  padding: 13px 30px 8px;
  box-shadow: 0px 3px 10px 2px #b9b9b9;
  align-items: center;
}
.amep-social ul {
  padding: 0;
}
.amep-social ul li a .fa {
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
}
.amep-social ul li a {
  color: #fff;
  display: inline-block;
  padding: 10px;
}
.amep-social ul li a i.fa.fa-facebook {
  background: #3e5897;
}
.amep-social ul li a i.fa.fa-twitter {
  background: #1aa3f2;
}
.amep-social ul li a i.fa.fa-youtube-play {
  background: #f04746;
}

.sharethis-wrapper span {
  color: #fff;
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-family: 'Font Awesome 5 Brands', FontAwesome;
  font-size: 30px;
  margin: 5px 2px;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  text-rendering: auto;
  width: 70px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.st_facebook_custom:before {
  content: '\f09a';
}
.st_twitter_custom:before {
  content: '\f099';
}
.st_linkedin_custom:before {
  content: '\f0e1';
}
.sharethis-wrapper .st_email_custom,
.sharethis-wrapper .st_sharethis_custom {
  font-family: 'Font Awesome 5 Free';
}
.sharethis-wrapper .st_sharethis_custom {
  font-weight: 900;
}
.st_email_custom:before {
  content: '\f0e0';
}
.st_sharethis_custom:before {
  content: '\f1e0';
}

/*====Basic Page CSS=====*/
section.basic_menu {
  padding-top: 50px;
  padding-bottom: 50px;
}
.box-shadow h2 {
  font-weight: bold;
}
th.back_tabgray {
  background: #d3d3d3;
  border-bottom: 3px solid #000 !important;
  border-right: 2px solid #fff;
}
.white {
  color: #fff;
}

/*.basic-main-content img {
	width: 100%;
}*/
.col-item {
  padding: 0 10px;
}
.col-item h3 {
  font-size: 24px !important;
  font-weight: normal !important;
}
.flex {
  display: flex;
  flex-wrap: wrap;
}
form.family-court label {
  width: 130px;
  display: inline-block;
  font-weight: bold;
  margin: 0 0 15px;
}

/*Media Qurey For Responsive*/

@media only screen and (max-width: 767px) {
  ul.lang-top.nav.navbar-nav li {
    display: inline-block;
  }
}
@media only screen and (max-width: 480px) {
  .flex > div[class^='col-md-'] {
    width: 100%;
  }
}
@media only screen and (min-width: 481px) and (max-width: 991px) {
  .flex > div[class^='col-md-'] {
    width: 50%;
  }
}
/*Media Qurey For Extra Large Desktop*/

@media only screen and (max-width: 767px) {
  ul.lang-top.nav.navbar-nav li {
    display: inline-block;
  }
}

#search-block-form {
  border-color: #e7e7e7;
  padding: 22px 15px 10px;
  margin-top: 8px;
  margin-bottom: 8px;
  border-top: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

#simplenews-subscriptions-block-99bf8b4f-ad39-4c6d-acb6-e3020e4c4624 input {
  max-width: 320px;
}
@media (min-width: 768px) {
  #search-block-form {
    border: 0;
    margin-right: -15px;
    width: auto;
    margin-left: 0;
    margin-right: 0;
    padding-bottom: 0;
  }
  #search-block-form .form-group {
    display: inline-block;
    margin-bottom: 0;
    vertical-align: middle;
  }
  #search-block-form .input-group {
    display: inline-table;
    vertical-align: middle;
  }
  #search-block-form .input-group .input-group-btn {
    width: auto;
  }
}
@media (min-width: 1231px) {
  ul.nav li.dropdown:hover > ul.dropdown-menu {
    display: block;
  }
}
@media (max-width: 767px) {
  #search-block-form {
    border: none;
    margin: 15px 0 0;
    padding-top: 0;
  }
  #search-block-form .input-group {
    padding-bottom: 20px;
  }
  div#navbar-collapse,
  #navbar .container-fluid,
  header.header_main .navbar {
    margin-bottom: 80px;
  }

  section.locver_menu {
    left: 0;
  }
  #block-sbsc-main-menu .navbar-collapse {
    overflow: hidden;
  }
  .main_navi ul.nav.navbar-nav {
    box-sizing: content-box;
    height: 100%;
    padding-right: 17px;
    overflow-y: scroll;
    width: 100%;
  }
}

@media (max-height: 640px) {
  .navbar-fixed-top,
  .navbar-fixed-bottom {
    margin-bottom: 0;
  }
  .page-main-container {
    margin-top: 0 !important;
  }
}

/* Family Sevrices Online Orientation Page */
#orientation-wrap {
  position: relative;
  height: 2200px;
  overflow: hidden;
  width: 680px;
}

#orientation-wrap span {
  display: none;
}

#orientation-wrap.form-submitted {
  height: 835px;
}

#orientation {
  position: absolute;
  top: -245px;
  left: -285px;
  width: 990px;
  height: 2800px;
}

@media (max-width: 767px) {
  #orientation-wrap {
    height: auto;
  }

  #orientation-wrap span {
    color: red;
    display: block;
  }

  #orientation {
    display: none;
  }
}

/*====Basic Page CSS=====*/

.basic-page .region-banner {
  background: #0982a2;
  background-size: contain;
  clip-path: polygon(0% 0%, 0% 95%, 50% 100%, 100% 95%, 100% 0%);
  -webkit-clip-path: polygon(0% 0%, 0% 95%, 50% 100%, 100% 95%, 100% 0%);
  -moz-clip-path: polygon(0% 0%, 0% 95%, 50% 100%, 100% 95%, 100% 0%);
  background-position: bottom;
  margin-bottom: 60px;
  padding-bottom: 3px;
  position: relative;
  z-index: 1;
}
.basic-page .region-banner .logo {
  width: 100%;
}
.basic-page .region-banner .navbar-brand > img {
  float: right;
}
.basic-page .region-banner .contextual-region {
  width: 100%;
}
.basic-page .region-banner h2 {
  float: right;
  margin: 20px 60px 0;
  font-size: 4em;
  color: #0982a2;
  font-weight: 600;
}
.basic-page .ban-image,
#basic-main-page .ban-image,
#news-container .ban-image,
#video-container .ban-image
 {
  /* !important to override inline changes */
  background-size: 100% !important;
  background-repeat: no-repeat !important;
  background-position-y: top;
  display: inline-block;
  height: 0 !important;
  padding-top: 47%; /* (img-height / img-width * 100%-container-width) */
  width: 100%;
}
.breadcrumb {
  font-size: 1em;
  color: #0982a2;
  background: transparent;
  padding: 0px;
  margin: 10px 0;
}
.breadcrumb > li + li:before {
  padding: 0 5px;
  content: '>';
  color: #000;
}
.breadcrumb > .active {
  color: #000;
}
#basic-first-sidebar {
  margin-top: -40px;
  background: #e6e6e6;
  position: inherit;
  padding: 0px;
  background: #e6e6e6;
}
#basic-second-sidebar {
  margin-top: -50px;
  background: #fbefe1;
  position: inherit;
  padding: 0px;
}
.fants-dist-sec {
  padding: 0 50px;
  margin-bottom: 50px;
}
.basic-page section.basic_menu {
  margin-top: -55px;
  background-size: cover;
  padding-bottom: 0px;
  background-position: center;
}
.basic-page section.basic_menu .row {
  display: flex;
  justify-items: center;
}
.page-header {
  border: 0px;
  color: #0a83a2;
}
#basic-first-sidebar section {
  padding: 20px 30px;
}
#basic-first-sidebar section h2 {
  color: #0a83a2;
}
#basic-first-sidebar section ul li a {
  color: #000;
}
.fants-dist-sec .field--name-body h2,
.fants-dist-sec .field--name-body h3 {
  color: #fd961f;
}
#basic-second-sidebar .block-block-content .field--name-body {
  background: #fbefe1;
  padding-top: 20px;
  height: auto;
}
#basic-second-sidebar #content-title h3 {
  background: #0a83a2;
  margin: 0px 0px 10px;
  padding: 20px 50px;
  color: #fff;
}
#basic-second-sidebar #content-title p,
#basic-second-sidebar #content-title h4,
#basic-second-sidebar #content-title ul,
#basic-second-sidebar #content-title ol {
  padding: 0px 50px;
}
#basic-second-sidebar .block-block-content {
  float: left;
  position: inherit;
  width: 100%;
}
.breadcrumb li a {
  color: #000;
}
.basic-page .field--name-field-banner-image {
  display: none;
}

#basic-first-sidebar ul {
  list-style: none;
  padding: 0;
}
#basic-first-sidebar li {
  padding-left: 1.3em;
}

.view-filters .form-inline .control-label,
.all-schools .view-filters .form-inline .control-label {
  display: block;
}

.all-schools .view-filters .form-inline div[data-drupal-selector='edit-actions'] {
  vertical-align: bottom;
}

@media only screen and (max-width: 767px) {
  .basic-page .region-banner h2 {
    margin: 20px;
  }
  .fants-dist-sec {
    padding: 0;
  }
  #basic-second-sidebar .block-block-content .field--name-body {
    padding-top: 0px;
  }
  #basic-second-sidebar .block-block-content {
    width: 100%;
  }
  #basic-second-sidebar {
    margin-top: 0px;
  }
  #basic-second-sidebar #content-title h3 {
    padding: 20px;
  }
  #basic-second-sidebar #content-title p,
  #basic-second-sidebar #content-title h4,
  #basic-second-sidebar #content-title ul,
  #basic-second-sidebar #content-title ol {
    padding: 0 20px;
  }
  .basic-page section.basic_menu .row {
    display: block;
  }
  #basic-first-sidebar section {
    padding: 50px 30px;
  }
  .fants-dist-sec .field--name-body img {
    max-width: 100%;
    height: auto;
    display: block;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  #basic-second-sidebar .block-block-content .field--name-body {
    padding-top: 0px;
  }
  .fants-dist-sec {
    padding: 0 20px;
  }
  .basic-page .region-banner h2 {
    margin: 20px 50px 0;
  }
  .basic-page section.basic_menu {
    background-position: left;
  }
  .fants-dist-sec .field--name-body img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  .basic-page section.basic_menu .row {
    display: block;
  }
}
@media only screen and (min-width: 1024px) and (max-width: 1200px) {
  #basic-second-sidebar .block-block-content {
    width: 100%;
  }
  #basic-second-sidebar #content-title h3 {
    padding: 20px;
  }
  #basic-second-sidebar #content-title p,
  #basic-second-sidebar #content-title h4,
  #basic-second-sidebar #content-title ul,
  #basic-second-sidebar #content-title ol {
    padding: 0px 20px;
  }
  .fants-dist-sec {
    padding: 0 20px;
  }
  .basic-page section.basic_menu {
    background-position: left;
  }
  .fants-dist-sec .field--name-body img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  #basic-second-sidebar {
    margin-top: -50px;
  }
}
@media only screen and (min-width: 1201px) and (max-width: 1700px) {
  #basic-second-sidebar #content-title p,
  #basic-second-sidebar #content-title h4,
  #basic-second-sidebar #content-title ul,
  #basic-second-sidebar #content-title ol {
    padding: 0px 25px;
  }
  #basic-second-sidebar #content-title h3 {
    padding: 25px;
  }
}
/*====All Main Page CSS=====*/
#basic-main-page .region-banner {
  background: #0982a2;
  background-size: contain;
  clip-path: polygon(0% 0%, 0% 95%, 50% 100%, 100% 95%, 100% 0%);
  -webkit-clip-path: polygon(0% 0%, 0% 95%, 50% 100%, 100% 95%, 100% 0%);
  -moz-clip-path: polygon(0% 0%, 0% 95%, 50% 100%, 100% 95%, 100% 0%);
  background-position: bottom;
  padding-bottom: 3px;
  position: relative;
  z-index: 1;
}
#basic-main-page .all-pages {
  background: url(/themes/custom/sbsc/images/cont-eve-image.png);
  margin-top: -40px;
  background-size: cover;
  background-position: center;
}
#basic-main-page .region-banner .block {
  width: 100%;
  float: right;
}
#basic-main-page .region-banner h2 {
  float: right;
  margin: 20px 60px 0;
  font-size: 4em;
  color: #0982a2;
  font-weight: 600;
}
.all-pages .row {
  margin-top: 80px;
}

#basic-main-page .field--name-field-banner-image {
  display: none;
}

#basic-main-page .region-banner .logo {
  float: right;
}

.all-pages #outer-box #inner-box-yellow,
.all-pages .outer-box .inner-box-yellow {
  background: rgba(251, 172, 80, 0.75);
}
.all-pages #inner-box-yellow .wrapper h4,
.all-events #inner-box-yellow .wrapper div p,
.all-pages .inner-box-yellow .wrapper h4,
.all-events .inner-box-yellow .wrapper div p {
  text-align: left;
  margin: 10px;
}
.all-pages #outer-box img,
.all-pages .outer-box img {
  height: fit-content;
}
.all-pages .form-inline .control-label {
  display: none;
}
.all-pages .form-inline .form-group {
  margin-right: 20px;
}
.all-pages .pager__item--last,
.all-events .pager__item--first {
  display: none;
}
.all-pages .select-wrapper:after {
  margin-top: -0.5em;
}
.all-pages #outer-box,
.all-pages .outer-box {
  margin: 0 0 40px;
}
.all-pages #inner-box-yellow .wrapper,
.all-pages .inner-box-yellow .wrapper {
  padding: 0;
}
.all-pages #inner-box-yellow .wrapper h4,
.all-pages #inner-box-yellow .wrapper p,
.all-pages .inner-box-yellow .wrapper h4,
.all-pages .inner-box-yellow .wrapper p {
  margin: 10px;
  text-align: left;
  font-size: 1.5rem;
  line-height: 1.2;
}
.all-pages .form-inline .form-group,
.all-pages .form-inline .select-wrapper,
.all-pages .form-inline .form-control {
  width: 100%;
}
.all-pages .form-inline .form-control {
  margin: 0 0 15px;
  box-shadow: 2px 2px 11px #ccc;
}
.all-pages .page-header {
  display: none;
}
.select-wrapper:after {
  margin-top: -0.9em;
  color: #000;
}
/*====Single Event Page CSS=====*/

#events-container .region-banner {
  background: #0982a2;
  background-size: contain;
  clip-path: polygon(0% 0%, 0% 95%, 50% 100%, 100% 95%, 100% 0%);
  -webkit-clip-path: polygon(0% 0%, 0% 95%, 50% 100%, 100% 95%, 100% 0%);
  -moz-clip-path: polygon(0% 0%, 0% 95%, 50% 100%, 100% 95%, 100% 0%);
  background-position: bottom;
  padding-bottom: 3px;
  position: relative;
  z-index: 1;
}

#events-container .region-banner .logo {
  width: 100%;
}
#events-container .region-banner .logo img {
  float: right;
}
#events-container .event_notice {
  background: url(/themes/custom/sbsc/images/event-content-banner.png);
  margin-top: -40px;
  background-size: cover;
  background-position: center;
}
#events-container .region-banner .block {
  width: 100%;
  float: right;
}
#events-container .region-banner h2 {
  float: right;
  margin: 20px 60px 0;
  font-size: 4em;
  color: #0982a2;
  font-weight: 600;
}
#events-container .ban-image {
  /* !important to override inline changes */
  background-size: 100% !important;
  background-repeat: no-repeat !important;
  background-position-y: top;
  display: inline-block;
  height: 0 !important;
  padding-top: 47%; /* (img-height / img-width * 100%-container-width) */
  width: 100%;
}
.event_notice .region-content {
  margin-top: 50px;
}
.rs-carousel.rs-carousel-vertical .rs-carousel-item {
  width: 100%;
  font-size: smaller;
  height: 100%;
}
.rs-carousel {
  opacity: 0.5;
}
.rs-carousel .rs-carousel-item #media-event #media-image img,
.rs-carousel .rs-carousel-item .media-event .media-image img {
  float: left;
}
.rs-carousel .rs-carousel-item #media-event #media-date .media-left,
.rs-carousel .rs-carousel-item .media-event .media-date .media-left {
  margin: 0 10px 25px;
}
.event_notice .media-left {
  background: #0982a2;
}
.event_notice #media-image img,
.event_notice .media-image img {
  width: 100%;
}
.event_notice #event-content #media-image,
.event_notice .event-content .media-image {
  padding: 0px;
  background-color: #ccc;
}
.event_notice #event-content,
.event_notice .event-content {
  margin-bottom: 50px;
}
#event-content #eve-img {
  padding: 0px;
  margin-top: 50px;
}
#event-content #eve-text {
  background: #fff;
  padding: 50px;
}
#event-content #eve-text h4 {
  color: #0982a2;
}
#event-content #eve-text h5 {
  margin-bottom: 30px;
  color: #0982a2;
}
#event-content #eve-info .row {
  margin: 0 20px;
  background: #fff;
  padding: 10px 20px;
}
#event-content #eve-info .row:nth-child(1) {
  padding: 40px 20px 20px;
}
#event-content #eve-info .row:nth-child(2) {
  margin-top: 20px;
}
#event-content #eve-info h3 {
  font-size: 21px;
  margin: 10px 0;
}
#event-content #eve-info p {
  margin: 0px;
}
#event-content #eve-info p a {
  color: #000;
}
.chevron-right {
  border-radius: 50px;
  border: 2px solid #000;
  padding: 5px 13px;
  float: right;
}
.chevron-right i {
  color: #000;
}
#event-content .rs-carousel .rs-carousel-mask {
  border: 0px;
}
#event-content .rs-carousel .rs-carousel-runner {
  width: 100% !important;
}
#block-views-block-events-block-3 {
  display: block;
}

#block-views-block-events-block-3 .contextual-region {
  display: block;
}
#block-views-block-events-block-3 {
  margin-top: 50px;
}
#block-views-block-events-block-3 h2 {
  color: #0982a2;
}
#block-views-block-events-block-3 #media-date,
#block-views-block-events-block-3 .media-date {
  margin: -20px 10px 0;
}
#block-views-block-events-block-3 .owl-carousel .owl-item:nth-child(odd) .media-left {
  background: #fd961f;
}
#block-views-block-events-block-3 .owl-carousel .owl-item:nth-child(even) .media-left {
  background: #0982a2;
}
#events-container .field--name-field-banner-image {
  display: none;
}

@media only screen and (max-width: 767px) {
  #events-container .region-banner {
    clip-path: polygon(0% 0%, 0% 98%, 50% 100%, 100% 98%, 100% 0%);
    -webkit-clip-path: polygon(0% 0%, 0% 98%, 50% 100%, 100% 98%, 100% 0%);
    -moz-clip-path: polygon(0% 0%, 0% 98%, 50% 100%, 100% 98%, 100% 0%);
  }
  #event-content #eve-img {
    margin-top: 0px;
  }
  #event-content #eve-text {
    margin-top: 100px;
    padding: 20px;
  }
  #event-content #eve-info .row {
    margin: 10px 0 10px;
  }
  #event-content #eve-info {
    padding: 0;
  }
  #event-content #eve-info .row:nth-child(2) {
    margin-top: 0;
  }
  #block-views-block-events-block-3 {
    margin-top: 20px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .owl-carousel .owl-item {
    padding: 20px;
  }
  #event-content #eve-info .row {
    margin: 20px 0 0;
  }
}
@media only screen and (min-width: 1024px) and (max-width: 1200px) {
  #event-content #eve-info .row {
    margin: 0 0px 0 10px;
  }
}

/*====All Events Page CSS=====*/
#events-container .all-events {
  background: url(/themes/custom/sbsc/images/cont-eve-image.png);
  margin-top: -40px;
  background-size: cover;
  background-position: center;
}
.outer-blue {
  position: absolute;
  right: 0;
}
.outer-blue p {
  width: 100%;
  float: right;
  background: #0982a2;
  margin-right: 15px;
  margin-top: -30px;
  color: #fff;
  text-align: center;
}
.all-events .views-row #outer-box,
.all-events .views-row .outer-box {
  margin: 30px 0;
}
.all-events .region-content {
  margin-top: 70px;
}
.all-events #outer-box #inner-box-yellow,
.all-events .outer-box .inner-box-yellow {
  background: rgba(251, 172, 80, 0.75);
}

.all-events #inner-box-yellow .wrapper h4,
.all-events #inner-box-yellow .wrapper div p,
.all-events .inner-box-yellow .wrapper h4,
.all-events .inner-box-yellow .wrapper div p {
  text-align: left;
  margin: 10px;
}
.all-events #outer-box img,
.all-events .outer-box img {
  height: fit-content;
  box-shadow: 5px 5px 5px #ccc;
  background: #fff;
}
.all-events .form-inline .form-group {
  margin-right: 20px;
}
.all-events .pager__item--last,
.all-events .pager__item--first {
  display: none;
}
.all-events .select-wrapper:after {
  margin-top: -0.5em;
}
.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > span,
.pagination > .active > span:hover,
.pagination > .active > span:focus {
  background-color: transparent;
  border: 0;
  color: #0982a2;
}
.pagination > li > a:hover,
.pagination > li > a:focus,
.pagination > li > span:hover,
.pagination > li > span:focus {
  background-color: transparent;
  border: 0;
  color: #fd961f;
}
.pagination > .active > a:hover {
  background-color: transparent;
  border: 0;
  color: #fd961f;
  cursor: pointer;
}
.pagination > li > a,
.pagination > li > span {
  background-color: transparent;
  border: 0;
  padding: 5px;
}
.all-events .pager-nav {
  text-align: right !important;
}
.all-events .form-inline .form-control {
  box-shadow: 2px 2px 11px #ccc;
}
.all-events .views-exposed-form .form--inline {
  margin: 0 15px;
}
@media only screen and (max-width: 767px) {
  .all-events #outer-box img,
  .all-events .outer-box img {
    height: auto !important;
  }
  #events-container .ban-image {
    clip-path: polygon(0% 0%, 0% 98%, 50% 100%, 100% 98%, 100% 0%) !important;
    -webkit-clip-path: polygon(0% 0%, 0% 98%, 50% 100%, 100% 98%, 100% 0%) !important;
    -moz-clip-path: polygon(0% 0%, 0% 98%, 50% 100%, 100% 98%, 100% 0%) !important;
  }
  .all-events .views-row #outer-box,
  .all-events .views-row .outer-box {
    margin: 50px 0;
  }
  .all-events .form-inline .select-wrapper {
    width: 100%;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .all-events .views-exposed-form .form--inline {
    display: flex;
  }
  .all-events .form-inline .form-control {
    width: 100%;
  }
}
@media only screen and (min-width: 1024px) and (max-width: 1200px) {
  .all-events #outer-box img,
  .all-events .outer-box img {
    height: auto !important;
  }
  .all-events #outer-box #inner-box-yellow,
  .all-events .outer-box .inner-box-yellow {
    width: 60%;
  }
  .all-events #inner-box-yellow .wrapper,
  .all-events .inner-box-yellow .wrapper {
    padding: 0;
  }
  .all-events .views-exposed-form .form--inline {
    display: flex;
  }
  .all-events .form-inline .form-control {
    width: 100%;
  }
}

/*====All News Page CSS=====*/
#news-container .all-news {
  background: url(/themes/custom/sbsc/images/cont-eve-image.png);
  margin-top: -40px;
  background-size: cover;
  background-position: center;
}
#news-container .region-banner {
  background: #0982a2;
  background-size: contain;
  clip-path: polygon(0% 0%, 0% 95%, 50% 100%, 100% 95%, 100% 0%);
  -webkit-clip-path: polygon(0% 0%, 0% 95%, 50% 100%, 100% 95%, 100% 0%);
  -moz-clip-path: polygon(0% 0%, 0% 95%, 50% 100%, 100% 95%, 100% 0%);
  background-position: bottom;
  padding-bottom: 3px;
  position: relative;
  z-index: 1;
}
#news-container .region-banner .block {
  width: 100%;
  float: right;
}
#news-container .field--name-field-banner-image {
  display: none;
}
#news-container .region-banner h2 {
  float: right;
  margin: 20px 60px 0;
  font-size: 4em;
  color: #0982a2;
  font-weight: 600;
}
#news-container .region-banner .logo {
  width: 100%;
}
#news-container .region-banner .logo img {
  float: right;
}
.all-videos .breadcrumb {
  padding: 0 15px;
  margin: 0 0 10px;
}

.all-news #outer-box,
.all-news .outer-box {
  margin: 0 0 40px;
}
.all-news #inner-box-yellow .wrapper,
.all-news .inner-box-yellow .wrapper {
  padding: 0;
}
.all-news #inner-box-yellow .wrapper h4,
.all-news #inner-box-yellow .wrapper p,
.all-news .inner-box-yellow .wrapper h4,
.all-news .inner-box-yellow .wrapper p {
  margin: 10px;
  text-align: left;
  font-size: 1.5rem;
  line-height: 1.2;
}
.all-news #outer-box img,
.all-news .outer-box img {
  height: fit-content;
  box-shadow: 5px 5px 5px #ccc;
}
.all-news #outer-box #inner-box-yellow,
.all-news .outer-box .inner-box-yellow {
  background: rgba(251, 172, 80, 0.75);
}
.all-news .page-header {
  display: none;
}
.all-news .row {
  margin-top: 70px;
}
.all-news .form-inline .control-label {
  display: none;
}
.all-news .form-inline .form-group,
.all-news .form-inline .select-wrapper,
.all-news .form-inline .form-control {
  width: 100%;
}
.all-news .form-inline .form-control {
  margin: 0 0 15px;
  box-shadow: 2px 2px 11px #ccc;
}
.select-wrapper:after {
  margin-top: -0.9em;
  color: #000;
}

@media only screen and (max-width: 767px) {
  .all-news #inner-box-yellow .wrapper h4,
  .all-news #inner-box-yellow .wrapper p,
  .all-news .inner-box-yellow .wrapper h4,
  .all-news .inner-box-yellow .wrapper p {
    font-size: 1.1rem;
  }
  .all-news #outer-box img,
  .all-news .outer-box img {
    height: auto !important;
  }
  .all-news #outer-box .btn-yellow
  .all-news .outer-box .btn-yellow {
    font-size: 1.1rem;
  }
  #news-container .region-banner h2 {
    margin: 20px 20px 0;
    font-size: 3em;
  }
  .all-news .form-inline .form-control {
    margin: 0;
  }
  .all-news #outer-box,
  .all-news .outer-box {
    padding: 0;
  }
  #block-newsform {
    margin-bottom: 30px;
  }
  .select-wrapper:after {
    margin-top: -0.6em;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .all-news #outer-box img,
  .all-news .outer-box img {
    height: auto !important;
  }
  #block-newsform {
    margin-bottom: 30px;
  }
}
@media only screen and (min-width: 1024px) and (max-width: 1200px) {
  .all-news #inner-box-yellow .wrapper h4,
  .all-news #inner-box-yellow .wrapper p,
  .all-news .inner-box-yellow .wrapper h4,
  .all-news .inner-box-yellow .wrapper p {
    font-size: 1.2rem;
  }
  #outer-box #inner-box-yellow,
  .outer-box .inner-box-yellow {
    width: 60%;
  }
  .all-news #outer-box img,
  .all-news .outer-box img {
    height: auto !important;
  }
}

/*====All Single-News  Page CSS=====*/
#news-container .cont-news {
  background: url(/themes/custom/sbsc/images/event-content-banner.png);
  margin-top: -40px;
  background-size: cover;
  background-position: center;
}
.cont-news #media-title {
  background: #fd961f;
  color: #fff;
  margin: -15px 15px 0;
}
.cont-news #media-image {
  padding: 0px;
}
#block-related-news {
  margin: 50px 0 0;
}
#block-related-news .owl-carousel .owl-item:nth-child(odd) .media-left {
  background: #0982a2;
}
#block-related-news .owl-carousel .owl-item:nth-child(even) .media-left {
  background: #fd961f;
}
#block-related-news .owl-carousel .owl-item .media-heading {
  font-size: 1.3rem;
}
#block-related-news #media-date,
#block-related-news .media-date {
  padding: 0px 0 0 10px;
}
#block-related-news .media-left p {
  font-size: 11px;
}
#block-related-news h2 {
  color: #0982a2;
}
#related_news {
  margin-bottom: 50px;
}
@media only screen and (max-width: 767px) {
  .cont-news #media-title {
    padding: 5px 10px;
    margin: 0px;
  }
  .cont-news #event-content #eve-text {
    margin-top: 40px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .cont-news #media-title {
    padding: 5px 10px;
    margin: 0px;
  }
}

/*====All Videos Page CSS=====*/
#video-container .all-videos {
  background: url(/themes/custom/sbsc/images/cont-eve-image.png);
  margin-top: -40px;
  background-size: cover;
  background-position: center;
}
#video-container .region-banner {
  background: #0982a2;
  background-size: contain;
  clip-path: polygon(0% 0%, 0% 95%, 50% 100%, 100% 95%, 100% 0%);
  -webkit-clip-path: polygon(0% 0%, 0% 95%, 50% 100%, 100% 95%, 100% 0%);
  -moz-clip-path: polygon(0% 0%, 0% 95%, 50% 100%, 100% 95%, 100% 0%);
  background-position: bottom;
  padding-bottom: 3px;
  position: relative;
  z-index: 1;
}
#video-container .region-banner .block {
  width: 100%;
  float: right;
}
#video-container .page-header {
  display: none;
}
#video-container .region-banner h2 {
  float: right;
  margin: 20px 60px 0;
  font-size: 4em;
  color: #0982a2;
  font-weight: 600;
}
#video-container .region-banner .logo {
  width: 100%;
}
#video-container .region-banner .logo img {
  float: right;
}
#video-container .ban-image {
  background: url(/sites/default/files/styles/banner_image/public/2019-06/banner-event_3.png?itok=d5Zap5GK);
  background-size: cover;
  background-position: bottom;
  clip-path: polygon(0% 0%, 0% 95%, 50% 100%, 100% 95%, 100% 0%);
  -webkit-clip-path: polygon(0% 0%, 0% 95%, 50% 100%, 100% 95%, 100% 0%);
  -moz-clip-path: polygon(0% 0%, 0% 95%, 50% 100%, 100% 95%, 100% 0%);
  position: relative;
  height: 450px;
}
#video-container .field--name-field-banner-image,
#block-defaultimage {
  display: none;
}
.all-videos .row {
  margin-top: 80px;
}
#block-form-featured-video input {
  width: 100%;
  margin: 0 0 15px;
  box-shadow: 2px 2px 11px #ccc;
}

.view-featured-videos.view-display-id-page_1 .view-content {
  display: flex;
  flex-wrap: wrap;
}

.view-featured-videos.view-display-id-page_1 .view-content .views-row {
  width: 100%;
  margin-bottom: 20px;
  padding: 0 10px;
}

@media screen and (min-width: 600px) {
  .view-featured-videos.view-display-id-page_1 .view-content .views-row {
    width: 50%;
  }
}

.view-video .vid-cont {
  padding: 0;
  position: relative;
  text-align: center;
}

.view-video .vid-img {
  padding: 0;
  position: relative;
  /* min-height: 200px; */
  background-size: cover;
  background-position: center;

  /* padding-bottom: 33.5%; */
}

.view-video {
  background-color: #fdd7a9;
  margin-bottom: 40px;
  display: flex;
  align-items: flex-start;
}

@media screen and (min-width: 600px) {
  .view-video {
    background-color: transparent;
  }
}

.view-video .vid-cont p {
  margin: 10px;
  font-size: 1.3rem;
  color: #000;
  line-height: 1.2;
  text-align: left;
}

.view-video .vid-cont p.view-video-button {
  margin: 0 auto;
}

.view-video .vid-cont a:nth-of-type(1) p {
  font-size: 1.5rem !important;
}
.mid-img {
  width: 15%;
  min-width: 70px;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.vid-img .image-field {
  position: relative;
}

#block-form-featured-video .form-inline .form-group {
  width: 100%;
}
#block-form-featured-video .form-inline .control-label {
  display: none;
}
#block-form-featured-video .form-inline .select-wrapper {
  width: 100%;
}
#block-form-featured-video .form-inline .form-control {
  margin: 0 0 15px;
  box-shadow: 2px 2px 11px #ccc;
  width: 100%;
}
#block-form-featured-video input::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #999 !important;
  opacity: 1; /* Firefox */
}

#block-form-featured-video input:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #999;
}

#block-form-featured-video input::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #999;
}
#block-form-featured-video {
  margin-bottom: 20px;
}
@media only screen and (max-width: 767px) {
  .view-video {
    /* display: block; */
    display: flex;
    flex-direction: column-reverse;
  }
  .view-video .vid-cont {
    padding: 20px;
    width: 100%;
  }
  #block-form-featured-video {
    margin-bottom: 20px;
  }
}

@media only screen and (min-width: 768px) {
	.view-video .vid-cont {
		width: 41.66667%;
	}

	.view-video .vid-img {
		width: 58.33333%
	}
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .view-video .vid-cont p {
    font-size: 1rem;
    line-height: 1.1;
  }
}

@media only screen and (min-width: 1024px) and (max-width: 1200px) {
  .view-video .vid-cont p {
    font-size: 1rem;
    line-height: 1.1;
  }
}

/*====All Videos Page CSS=====*/
.all-videos-cont .video,
.all-videos-cont .region-content #block-other-videos {
  display: none;
}
.all-videos-cont .media-vid {
  border: 0px;
  width: 100%;
  height: 350px;
}
#event-content .nav-tabs > li > a,
.nav-tabs > li > a {
  color: #000;
  background-color: transparent;
}
.all-videos-cont {
  background: url(/themes/custom/sbsc/images/cont-eve-image.png);
  margin-top: -40px;
  background-size: cover;
  background-position: center;
}
.all-videos-cont #block-other-videos {
  margin: 50px 0 0;
}
.all-videos-cont .row:nth-child(1) {
  margin-top: 60px;
  margin-bottom: 50px;
}
.all-videos-cont h2,
.all-videos-cont h5 {
  color: #0982a2;
}
.all-videos-cont .views-row {
  margin-bottom: 20px;
}
.all-videos-cont #block-other-videos .views-field-title a {
  color: #000;
}
.all-videos-cont #block-other-videos .views-field-title {
  font-size: 20px;
}

@media only screen and (max-width: 767px) {
  .all-videos-cont .media-vid,
  .all-videos-cont .media-oembed-content {
    height: 200px;
  }
  .all-videos-cont .views-row {
    padding: 0px;
  }
}
@media only screen and (min-width: 1024px) and (max-width: 1200px) {
  .all-videos-cont .media-vid {
    height: 250px;
  }
  .all-videos-cont .media-oembed-content {
    height: 200px;
  }
}

/*====All Staff Page CSS=====*/
.view-staff-directory .view-content,
.view-staff-directory .view-empty {
  margin: 20px 0;
}
.view-staff-directory #staff-cont h4,
.view-staff-directory #staff-cont p {
  text-transform: capitalize;
}
.view-staff-directory .form-item .control-label {
  display: block;
}
.view-staff-directory .select-wrapper:after {
  margin-top: -0.5em;
}
.view-staff-directory .form-inline .select-wrapper {
  margin-right: 15px;
}
.view-staff-directory #staff-cont h4 {
  color: #0982a2;
}
#staff-email i {
  color: #fd961f;
}
.view-staff-directory .moblink {
  color: #000;
}

@media only screen and (max-width: 767px) {
  .view-staff-directory #staff-cont p,
  .view-staff-directory #staff-email p {
    margin-bottom: 10px;
  }
}
/*====All Schools Page CSS=====*/
.all-schools #outer-box-events,
.all-schools .outer-box-events {
  box-shadow: 0 2px 5px #ccc;
  margin-bottom: 30px;
  margin-right: 30px;
  padding-bottom: 15px;
  width: auto;
}
.all-schools #outer-box-events #inner-box-blue,
.all-schools .outer-box-events .inner-box-blue {
  height: 35%;
}
.all-schools #blue-wrap {
  text-align: left;
  line-height: 1;
}
.all-schools #blue-wrap a {
  color: #000;
}
.all-schools .form-inline .control-label {
  display: none;
}
.all-schools .select-wrapper:after {
  margin-top: -0.5em;
}
.all-schools .form-inline .select-wrapper {
  margin-right: 15px;
}
.all-schools #outer-box-events img,
.all-schools .outer-box-events img {
  padding: 20px;
  height: 170px;
  margin: 0 auto;
  width: auto;
}
.all-schools #blue-wrap,
.all-schools .blue-wrap {
  background: #0a83a2;
  color: #fff;
  padding: 2px 10px;
  height: 150px;
}
.path-findschools #events-container .ban-image {
  background-position: 100% 39%;
}
.all-schools #blue-wrap .btn-yellow,
.all-schools .blue-wrap .btn-yellow {
  border-radius: 5px;
}
.all-schools #blue-wrap .btn-yellow:hover,
.all-schools .blue-wrap .btn-yellow:hover {
  background: #e3871b;
}

.view-schools.view-display-id-page_1 .pagination {
  width: 100%;
}
.view-schools.view-display-id-page_1 .pagination > li > a {
  float: none;
}

@media only screen and (max-width: 1365px) {
  .all-schools #outer-box-events #inner-box-blue,
  .all-schools .outer-box-events .inner-box-blue {
    height: 50%;
  }
}
@media only screen and (max-width: 1200px) and (min-width: 768px) {
  .all-schools #inner-box-blue .wrapper-blue {
    padding: 10px;
  }
  .all-schools #outer-box-events,
  .all-schools .outer-box-events {
    width: 45%;
  }
}
@media only screen and (min-width: 1200.1px) {
  .all-schools #outer-box-events,
  .all-schools .outer-box-events {
    width: 30%;
  }
}

@-moz-document url-prefix() {
  #block-important-events-block #media-date {
    width: 11%;
  }
}
/*====Menu CSS=====*/
.dropdown-submenu {
  position: relative;
}
.dropdown-submenu a {
  color: #000 !important;
}
.dropdown-menu a {
  color: #000 !important;
}
.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: -1px;
  -webkit-border-radius: 0 6px 6px 6px;
  -moz-border-radius: 0 6px 6px 6px;
  border-radius: 0 6px 6px 6px;
}
.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}
.dropdown-submenu > a:after {
  display: block;
  content: ' ';
  float: right;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-left-color: #000;
  margin-top: 5px;
  margin-right: -10px;
}
.dropdown-submenu:hover > a:after {
  border-left-color: #000;
}
.dropdown-submenu .caret {
  display: none;
}
.dropdown-submenu.pull-left {
  float: none;
}
.dropdown-submenu.pull-left > .dropdown-menu {
  left: -100%;
  margin-left: 10px;
  -webkit-border-radius: 6px 0 6px 6px;
  -moz-border-radius: 6px 0 6px 6px;
  border-radius: 6px 0 6px 6px;
}

/*====Side-Menu CSS=====*/
#basic-first-sidebar .block-block-content .field--name-body ul,
#myUL {
  list-style-type: none;
}

#basic-first-sidebar .block-block-content .field--name-body #myUL {
  margin: 0;
  padding: 0;
}

#basic-first-sidebar .block-block-content .field--name-body .caret {
  cursor: pointer;
  -webkit-user-select: none; /* Safari 3.1+ */
  -moz-user-select: none; /* Firefox 2+ */
  -ms-user-select: none; /* IE 10+ */
  user-select: none;
  display: inline;
  border: 0px;
}

#basic-first-sidebar .block-block-content .field--name-body .caret::before {
  color: #fd961f;
  display: inline-block;
  margin-right: 6px;
  content: '\e113';
  font-family: 'Glyphicons Halflings';
  border-radius: 25px;
}
#basic-first-sidebar .block-block-content .field--name-body .nested li > span:only-child::before {
  color: #fd961f;
  display: inline-block;
  margin-right: 6px;
  content: '\e080';
  font-family: 'Glyphicons Halflings';
  border-radius: 25px;
}

#basic-first-sidebar .block-block-content .field--name-body .caret-down::before {
  -ms-transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}

#basic-first-sidebar .block-block-content .field--name-body .nested {
  display: none;
}

#basic-first-sidebar .block-block-content .field--name-body .active {
  display: block;
}
/*====Mobile-Menu CSS=====*/
#block-mainnavigation ul.dropdown-menu li a {
  color: #000;
}
#block-footer {
  text-align: center;
  font-size: 20px;
  padding-bottom: 30px;
}

#block-footer li a:hover {
  color: #fd961f;
}
@media only screen and (max-width: 1230px) {
  #block-mainnavigation ul.dropdown-menu li a {
    color: #fff;
  }
  #block-mainnavigation ul li:not(.dropdown) {
    margin-left: 40px;
  }
  #block-mainnavigation ul li.dropdown::before {
    content: '\e113';
    font-family: 'Glyphicons Halflings';
    left: -10px;
    top: 0;
    height: 100%;
    width: 25px;
    margin-left: 20px;
  }
  #block-mainnavigation ul li.dropdown::before {
    left: -20px;
    width: 35px;
    z-index: 2;
    color: #fd961f;
  }
  #block-mainnavigation li a {
    display: inline-block;
  }
  #block-mainnavigation span {
    display: none !important;
  }
  #block-mainnavigation .dropdown-active .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    background-color: transparent;
    border: 0;
    box-shadow: none;
    display: block;
    padding: 0 20px;
  }
  #block-mainnavigation ul li.dropdown-active::before,
  #block-mainnavigation ul.dropdown-menu li::before {
    content: '\e080';
    font-family: 'Glyphicons Halflings';
    left: -10px;
    top: 0;
    height: 100%;
    width: 25px;
    margin-left: 20px;
    color: #fd961f;
  }
  .dropdown-menu li {
    margin-left: 10px;
  }
  .dropdown-menu a, .dropdown-submenu a {
    color: #fff !important;
  }
  .dropdown-submenu .caret {
    display: inline-block;
  }
  .dropdown-submenu > a:after {
    display: none;
  }
  #block-mainnavigation ul li.dropdown-submenu .dropdown-menu {
    display: none;
  }
  #block-mainnavigation ul.dropdown-menu li {
    margin-left: 0px;
  }
  /*#block-mainnavigation ul li.dropdown-submenu.dropdown-active .dropdown-menu{
		display:block !important;
	}*/
}
.home-icons:hover {
  -webkit-transform: scale(0.9);
  transform: scale(0.9);
  box-shadow: 5px 5px 5px #ccc;
}
#block-footermenufirst li::before,
#block-footermenusecond li::before,
#block-footermenuthird li::before {
  content: '\e080';
  font-family: 'Glyphicons Halflings';
  margin-right: 10px;
}
#block-footermenufirst ul,
#block-footermenusecond ul,
#block-footermenuthird ul {
  list-style-type: none;
  margin: 0px;
  padding: 0px;
}
#block-footermenufirst li:hover,
#block-footermenufirst li a:hover,
#block-footermenusecond li:hover,
#block-footermenusecond li a:hover,
#block-footermenuthird li:hover,
#block-footermenuthird li a:hover {
  color: #fd961f;
}
.gtranslate select {
  background: transparent;
  border: 0px;
  color: #fff;
}
.gtranslate option {
  background-color: #e6e6e6;
  color: #000;
}
@media only screen and (max-width: 1328px) and (min-width: 1201px) {
  .gtranslate select {
    font-size: 12px !important;
  }
}
@media only screen and (max-width: 1500px) and (min-width: 1329px) {
  .gtranslate select {
    font-size: 14px !important;
  }
}
#row-front {
  display: flex;
  width: 100%;
}
#block-finditfast {
  display: none;
}
#block-featured-events-mobile {
  display: none;
}
@media only screen and (max-width: 767px) {
  #row-front {
    display: block;
  }
  #block-finditfast {
    display: block;
  }
  #block-homeaccordion {
    display: none;
  }
  .color-change {
    background: rgba(9, 130, 162, 0.5);
  }
  #block-featured-events-mobile {
    display: block;
  }
  #block-socialsharingblock .social-media-sharing .share img {
    width: 20px;
  }

  /* #block-important-events-block {
    display: none;
  } */
}
#block-socialsharingblock h2 {
  font-size: 18px;
}

@media only screen and (max-width: 1200px) {
  .menu--footer {
    display: inline-flex;
  }
  .menu--footer li a {
    padding: 0 10px !important;
    margin: 0px !important;
  }
}

.popup-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.popup-mask .popup {
  width: 600px;
  max-width: 95%;
  position: absolute;
  background-color: white;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 40px 60px;
}

.popup-mask .popup h2 {
  color: #0982a2;
}

.popup-mask .popup p {
  color: #222;
}

@media screen and (max-width: 400px) {
  .popup-mask .popup {
    padding: 30px 25px;
  }
}

.popup-mask .popup-button {
  margin-top: 16px;
  color: white;
  background-color: #0982a2;
  font-size: 16px;
  font-weight: bold;
}

/*
* Photo Gallery Styles
*/
body:not(.cke_editable):not(.cke_ltr) .image-gallery {
  margin-bottom: 0;
  max-width: 100%;
  width: 620px;
  padding: 10px;
  position: relative;
  background-color: #333333;
  max-width: 100%;
  display: flex;
  align-items: flex-end;
}

body:not(.cke_editable):not(.cke_ltr) .image-gallery img {
  position: absolute;
  opacity: 0;
  top: 50%;
  left: 50%;
  /* height: auto; */
  /* max-height: 80%; */
  transform: translate(-50%, -50%);
}

body:not(.cke_editable):not(.cke_ltr) .image-gallery::after {
  content: '';
  display: block;
  width: 100%;
  padding-top: 70%;
}

body:not(.cke_editable):not(.cke_ltr) .image-gallery .gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 10px;
  width: 10px;
  cursor: pointer;
}

body:not(.cke_editable):not(.cke_ltr) .image-gallery .gallery-arrow::before {
  content: '\e080';
  font-family: 'Glyphicons Halflings';
  color: white;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 27px;
}

body:not(.cke_editable):not(.cke_ltr) .image-gallery .gallery-arrow.arrow-left {
  left: 5px;
}

body:not(.cke_editable):not(.cke_ltr) .image-gallery .gallery-arrow.arrow-left::before {
  content: '\e079';
  left: 0;
}

body:not(.cke_editable):not(.cke_ltr) .image-gallery .gallery-arrow.arrow-right {
  right: 5px;
}

body:not(.cke_editable):not(.cke_ltr) .image-gallery .gallery-arrow.arrow-right::before {
  content: '\e080';
  right: 0;
}

body:not(.cke_editable):not(.cke_ltr) .image-gallery:hover .play-button {
  opacity: 0.3;
}

body:not(.cke_editable):not(.cke_ltr) .image-gallery .play-button {
  transition: opacity 0.3s;
  cursor: pointer;
  z-index: 10;
}

body:not(.cke_editable):not(.cke_ltr) .image-gallery .play-button:hover {
  opacity: 1;
}

body:not(.cke_editable):not(.cke_ltr) .image-gallery .play-button:active {
  opacity: 0.5;
}

body:not(.cke_editable):not(.cke_ltr) .image-gallery.autoplay-active .play-button {
  opacity: 0;
}

body:not(.cke_editable):not(.cke_ltr) .thumbnail-wrapper {
  width: 620px;
  max-width: 100%;
  display: flex;
  justify-content: center;
  background-color: #333333;
  padding: 0 7.5px 7.5px 7.5px;
}

body:not(.cke_editable):not(.cke_ltr) .thumbnail-container {
  max-width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

body:not(.cke_editable):not(.cke_ltr) .thumbnail-container .gallery-thumbnail {
  cursor: pointer;
  background-size: cover;
  background-position: center;
  width: 53px;
  height: 40px;
  margin: 0 5px 5px 5px;
}

.top-sec {
  z-index: 5;
  width: 100%;
  pointer-events: all;
}

article.emergency-banner {
  width: 100%;
  padding: 15px 30px;
  background-color: red;
  color: white;
}

article.emergency-banner .field--name-body > *:first-child {
  margin-top: 0;
}

article.emergency-banner .field--name-body > *:last-child {
  margin-bottom: 0;
}