/**
 * Custom style sheet for MSAD 54 District website
 */

 @import url('https://fonts.googleapis.com/css?family=Quicksand:400,500,700');
 @import url('https://fonts.googleapis.com/css?family=Montserrat:500,700');
 @import url('https://fonts.googleapis.com/css?family=Lato:400i,700i');

/*TOP NOTICE BAR**************************/
#block-importantnotice {
    text-align: center;
    color: #fff;
    border-top:3px solid #101010;
}
.notice_area {
    background-color: red;
    color: #fff;
    text-align: center;
}
.notice_area a {
    color: #fff;
    text-decoration: underline;
}
@keyframes blink { 
    50% {
   	border-color: #ff0000; 
   	border-style: solid;
   	border-width: 4px;
   	}
   	0% {
   	border-color: #fff; 
   	border-style: solid;
   	border-width: 4px;
   	} 
}
#blinky-div {
    animation-name: blink ;
    animation-duration: .5s ;
    animation-timing-function: step-end ;
    animation-iteration-count: infinite ;
    animation-direction: alternate ;
    padding-bottom: 15px;
}

/*HEADER**********************************/
.header-area {
    background: #f99500;
    background: -moz-linear-gradient(top, #f99500 0%, #f36407 100%);
    background: -webkit-linear-gradient(top, #f99500 0%,#f36407 100%);
    background: linear-gradient(to bottom, #f99500 0%,#f36407 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f99500', endColorstr='#f36407',GradientType=0 );
    padding:10px 0;
}
.header_logo p, .header_logo a {
    font-family: 'Montserrat', sans-serif;
    color:#fff;
    font-size:24px;
    font-weight:500;
    margin-top: 40px;
    text-decoration:none;
}
.header_right p {
    text-align:right;
    color:#fff;
}
#block-msad54-search {
    margin-top: 10px;
    width: 300px;
    float: right;
}

/*NAVIGATION BAR**************************/
.menubar {
    background-color: #111111;
}
.navbar-default {
    background-color: transparent;
    border-color: transparent;
}
.navbar {
    margin-bottom: 0;
    min-height: 20px;
    border-radius: 0;
}
.navbar-default .navbar-nav>li>a {
  border-right: 1px solid #000000;
  border-left: 1px solid #222222;
  background-color: #111111;
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #fff;
  padding: 15px 10px;
}
.navbar-default .navbar-nav>li>a:hover {
  color: #ccc;
}
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:focus, .navbar-default .navbar-nav>.open>a:hover {
    color: #f36407;
    background-color: #111111;
}
.nav .open>a, .nav .open>a:focus, .nav .open>a:hover {
    border-color: #111111;
}
ul.nav li.dropdown:hover ul.dropdown-menu {
    display: block;
}
.dropdown-menu>.active>a, .dropdown-menu>.active>a:focus, .dropdown-menu>.active>a:hover {
    color: #f36407;
    text-decoration: none;
    background-color: #ffffff;
    outline: 0;
}

/*COVID-19 SECTION****************************/
.path-frontpage .covid19-section {
    padding-top: 30px;
    padding-bottom: 30px;
}
.covid19-section h4 {
    font-family: 'Montserrat', sans-serif;
    color:#0a0a0a;
    font-size:20px;
    font-weight:700;
    margin-bottom:0;
    margin-top:5px;
}
.covid19-section p {
    margin-top:5px;
}

/*HERO SECTION****************************/
.path-frontpage .hero_section {
    background-image:url('/themes/MSAD54/css/images/SAD54-District_hero.jpg');
    background-position: top center;
    background-size:cover;
    padding: 120px 0 250px 0;
}
.hero-section p {
    font-size:24px;
    color:#ffffff;
    text-shadow: 1px 2px 2px #000000;
}
.region-hero-section a, .region-hero-section a {
    color: #f89201;
    text-decoration: none;
}
.region-hero-section a:hover, .region-hero-section a:focus {
    color: #ffffff;
    text-decoration: none;
}
.hero-section h2 {
color:#fff;
}
.hero-section a {
color:#fff;
}

/*ANNOUNCEMENTS & QUICK LINKS*************/
.path-frontpage .announcements-links {
    background-image: url("/themes/MSAD54/css/images/asfalt.jpg");
    padding:40px 0;
}
.path-frontpage .views-field.views-field-field-date {
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.path-frontpage .views-field.views-field-body {
    color: #ffffff;
}
.views-field.views-field-field-date {
    color: #0a0a0a;
    font-weight: 700;
    font-size: 16px;
    line-height:100%;
    margin-top: 20px;
}
.views-field.views-field-body {
    color: #0a0a0a;
    line-height:100%;
}
.view-announcement-feed .view-footer a {
    color: #ffffff;
    font-weight: 700;
    font-style: italic;
}
.view.view-announcement-feed.view-id-announcement_feed.view-display-id-page_1 .view-footer a {
    color: #f36407;
    font-weight: 400;
    font-style: normal;
}
.region-quick-links p {
    color: #ffffff;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 100%;
}
#block-quicklinks a {
    color: inherit;
    text-decoration: none;
}
.anncmt {
    margin-bottom: 15px;
}

/*SCHOOLS******************************************/
.col-school {
    display:inline-block;
    width:19%;
    position: relative;
    padding-right: 10px;
    padding-left: 10px;
    margin:20px 0;
}
.school, .school a {
    text-align: center;
    color: #0a0a0a;
    font-weight: 700;
    margin-top: 10px;
}
.allschools {
  text-align:center;
}
.col-school img {
    -webkit-transition: all 0.7s ease;
    transition: all 0.7s ease;
}
.col-school img:hover {
    -webkit-transform: perspective(1px) scale(1.075);
    transform: perspective(1px) scale(1.075);
}

/*SECTION ICONS - ALL******************************/
.section-icon {
    width: 85%;
    margin: auto;
}
.section-icon img {
    -webkit-transition: all 0.7s ease;
    transition: all 0.7s ease;
}
.section-icon img:hover {
    -webkit-transform: perspective(1px) scale(1.075);
    transform: perspective(1px) scale(1.075);
}
.more-resources, .more-resources a {
    text-align: center;
    color: #0a0a0a;
    font-weight: 700;
    font-style: italic;
    margin-top: 20px;
}

/*COLUMNS*********************************/
.region-column-left, .region-column-center, .region-column-right {
  margin-bottom:40px;
}

/*STUDENT SECTION*************************/
.path-frontpage .student-section {
    background-image: url("/themes/MSAD54/css/images/body-bg.png");
    padding:40px 0;
}
p.resource, p.resource a {
    text-transform: uppercase;
    text-align: center;
    color: #0a0a0a;
    font-weight: 700;
    line-height: 120%;
}

/*PARENT SECTION**************************/
.path-frontpage .parent-section {
    background-color:#d1d2d2;
    padding:40px 0;
}

/*STAFF SECTION***************************/
.path-frontpage .staff-section {
    background-image: url("/themes/MSAD54/css/images/body-bg.png");
    padding:40px 0;
}

/*FOOTER**********************************/
.footer-section {
    background-color:#161616;
    padding:40px 0;
}
.footer h2.block-title {
    font-family: 'Montserrat', sans-serif;
    font-weight:700;
    font-size:18px;
    text-transform: uppercase;
    color:#f36407;
}
.footer {
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-top: none;
}
.footer p, .footer a, .footer a:hover {
    font-family: 'Quicksand', sans-serif;
    color:#ffffff;
}

/*COPYRIGHT*****************************************/
.copyright-section {
    background-color:#000000;
    padding:40px 0;
}
.copyright p {
    font-family: 'Quicksand', sans-serif;
    text-align:center;
    color:#818181;
    font-size:14px;
}

/*JOB VACANCIES***************************/
.page-node-type-job-vacancy .main-container p {
    margin:inherit;
}
.page-node-type-job-vacancy .main-container .field--item {
    margin-bottom: 10px;
}
.page-node-type-job-vacancy .field--label {
    font-size: 20px;
    margin-bottom: 10px;
    margin-top: 20px;
    font-family: 'Montserrat', sans-serif;
}

/*PUBLIC ANNOUNCEMENTS********************/
.public-date {
    font-weight: 700;
}
.public-title {
    font-size: 20px;
    font-weight: 700;
    margin-top: 10px;
}
.public-more {
    font-weight: 700;
    margin-top: 10px;
}

/*GENERAL EDITS***************************/
.main-container {
    margin-top: 30px;
    margin-bottom: 30px;
}
.region-header {
    display: none;
}
.path-frontpage .page-header {
    display: none;
}
body {
    margin-top: 0;
    font-family: 'Quicksand', sans-serif;
    font-size:16px;
    line-height:150%;
}
.path-frontpage .page-header {
    display:none;
}
p {
    font-size:16px;
    margin:10px 0;
    font-weight:400;
    line-height:150%;
}
p.fineprint {
    font-size:12px;
    margin:10px 0;
    font-weight:400;
    line-height:130%;
}
a {
    color: #f36407;
    text-decoration: none;
}
a:hover, a:focus {
    color: #212121;
    text-decoration: underline;
}
p.sidebarhead {
    font-size:18px;
    margin:10px 0;
    font-weight:700;
    line-height:120%;
}
.region.region-announcements a {
    color: #fff;
    font-weight: 500;
}
.region.region-announcements p {
    line-height:120%;
    margin:0 0 10px 0;
}
h1, h2, h3, h4, h5, h6, p {
  margin-bottom:15px;
}
h1 {
    font-family: 'Montserrat', sans-serif;
    color:#0a0a0a;
    font-size:36px;
    font-weight:700;
}
h2 {
    font-family: 'Montserrat', sans-serif;
    color:#0a0a0a;
    font-size:30px;
    font-weight:700;
}
h3 {
    font-family: 'Montserrat', sans-serif;
    color:#0a0a0a;
    font-size:26px;
    font-weight:700;
}
h4 {
    font-family: 'Montserrat', sans-serif;
    color:#0a0a0a;
    font-size:20px;
    font-weight:700;
}
h5 {
    font-family: 'Lato', sans-serif;
    color:#f36407;
    font-size:22px;
    font-weight:400;
    font-style:italic;
}
h6 {
    font-family: 'Lato', sans-serif;
    color:#f36407;
    font-size:18px;
    font-weight:400;
    font-style:italic;
}
.path-frontpage h2 {
  text-transform: uppercase;
}
li {
  font-size:16px;
}
ol.breadcrumb {
    display: none;
}
img.left {
  float: left;
  margin-right:20px;
}
img.right {
  float: right;
  margin-left:20px;
}
hr {
    margin-top: 10px;
    margin-bottom: 10px;
    border: 0;
    border-top: 1px solid #ccc;
}
.view-footer {
    margin-top: 20px;
}
.quicklink {
    padding:0;
    border:2px solid #fff;
}
.quicklink img {
    margin:auto;
}
}
.resp-video {
  position: relative;
  padding-bottom: 56%; // This is the aspect ratio
  height: 0;
  overflow: hidden;
}
.resp-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

/**Buttons**/
.btn-primary {
  border-color:#0a0a0a;
}
.btn-primary, a.btn-primary, .btn-default, a.btn-default {
    color: #ffffff;
    background-color: #0a0a0a;
  	text-transform:uppercase;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open .dropdown-toggle.btn-primary, .btn-default:hover, .btn-default:focus, .btn-default:active, .btn-default.active, .open .dropdown-toggle.btn-default {
    color: #ffffff;
    background-color: #000000;
}

/**ORANGE BUTTON**/
.btn-orange {
  border-color:#f36407;
}
.btn-orange, a.btn-orange {
    color: #ffffff;
    background-color: #f36407;
  	text-transform:uppercase;
}
.btn-orange:hover, .btn-orange:focus, .btn-orange:active {
    color: #ffffff;
    background-color: #f36407;
}

/**WHITE BUTTON**/
.btn-white {
    box-shadow: 1px 2px 2px #000000;
}
.btn-white, a.btn-white {
    color: #ffffff;
    background-color: transparent;
    border: 2px solid #ffffff;
    text-transform:uppercase;
    text-shadow: 1px 2px 2px #000000;
    font-size:20px;
}
.btn-white:hover, .btn-white:focus, .btn-white:active, .btn-white.active {
    color: #ffffff;
    background-color: #transparent;
    border: 2px solid #ffffff;
	  text-transform:uppercase;
	  font-weight:normal;
    text-shadow: 1px 2px 2px #000000;
}

/**APPLICATION BUTTON**/
.btn-app {
  width:100%;
}
.btn-app, a.btn-app {
    color: #ffffff;
    background-color: #0a0a0a;
    border: 2px solid #0a0a0a;
    font-size:16px;
}
.btn-app:hover, .btn-app:focus, .btn-app:active, .btn-app.active {
    color: #ffffff;
    background-color: #f36407;
    border: 2px solid #f36407;
    font-size:16px;
}

/**COLLAPSE BUTTON**/
.btn-collapse {
  width:100%;
}
.btn-collapse, a.btn-collapse {
    color: #0a0a0a;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    font-size:16px;
    text-align:left;
}
.btn-collapse:hover, .btn-collapse:focus, .btn-collapse:active, .btn-collapse.active {
    color: #0a0a0a;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    font-size:16px;
    text-align:left;
}

/*REACH After School Program*/
p.side-links {
    font-size:17px;
    font-weight:600;
}
.vision-mission p {
    font-size: 14px;
    line-height: 130%;
}

.alert.alert-danger.alert-dismissible {
    display: none !important;
}


/*****************************************/
/*RESPONSIVE - MEDIA QUERIES**************/
/*****************************************/
/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
  .region-announcements h2 {
    font-size:22px
  }
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
  .col-school {
      width: 48%;
  }
  .col-school img {
      margin:auto;
  }
  .region-quick-links p {
    margin: 10px 0;
  }
  #block-quicklinks h2.block-title {
    margin-left: 0;
  }
  #block-resources h2.block-title {
    margin-left: 0;
  }
  .region-resources p {
    margin: 10px 0;
  }
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
  /*HERO SECTION****************************/
  .path-frontpage .hero_section {
      padding: 20px 0 20px 0;
  }
  .hero-section p {
      font-size:16px;
      color:#ffffff;
      text-shadow: 1px 2px 2px #000000;
      line-height:120%;
      font-weight:500;
  }
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
  #block-msad54-search {
      margin-top: 0;
      width: 100%;
      float: right;
  }
  .header_right p {
      text-align:center;
      color:#fff;
      font-size:15px;
  }
  .header_logo p, .header_logo a {
      text-align:center;
  }
  .col-school {
      width: 100%;
  }
  .col-school img {
      margin:auto;
  }
}
