/*  ============= 4H v1.26 =================== */
.modal{
z-index: 999999;
}

body {  
    /*background: red;*/
}

header {
    color: white;
    height: 350px;
    width: 100%;
    background-image: url(/_styles/images/header_background.jpg);
background-repeat: repeat-x;
background-position: center top;
background-size: 1920px 350px;
-o-background-size: 1920px 350px;
-webkit-background-size: 1920px 350px;
}

#header-group{
    width: 100%;
    max-width: 1270px;
    margin-right: auto;
    margin-left: auto;
    position: relative;
}

#header-schoolName{
    font-size:35pt;
    top: 190px;
    left: 150px;
    font-weight: bold;
    text-shadow: 4px 5px 4px #000000;
    color: #ffffff;
}


#header-schoolMotto {
    font-size:20pt;
    top: 230px;
    left: 150px;
    text-shadow: 4px 4px 4px #000000;
    color: #ffffff;
}

/*#header-leftimage{
    background: url(/_styles/svg/header_left.svg) left no-repeat;
    width: 500px;
    height: 250px;
    top: 0;
    left: 0;
}
#header-rightimage {
    background: url(/_styles/svg/header_right.svg) right no-repeat;
    width: 500px;
    height: 250px;
    top: 0;
    right: 0;
}*/

#header-logo {
    background: url(/_styles/images/header_logo.png) no-repeat;
width: 110px;
height: 110px;
top: 180px;
left: 20px;
background-size: 110px 110px;
-o-background-size: 110px 110px;
-webkit-background-size: 110px 110px;
}

/*#main-nav {
    width: 100%;
    /*background: #006637;*!/
}*/



#navBarH {
    /*    max-width: 1180px;*/
    width: 100%;
    margin-left: auto ;
    margin-right: auto ;
}

/*#subHeadImage {
        color: white;
    height: 250px;
    width: 100%;
    background-image: url(/_styles/images/subhead_image.jpg);
    background-repeat: repeat-x;
    background-position: center top;
    background-size: 1920px 250px;
    -o-background-size: 1920px 250px;
    -webkit-background-size: 1920px 250px;
}*/
/*========================== Page tabs ================================*/

.pageSubHead {
    max-width: 1270px;
    margin: 15px auto auto;
    text-align: left;  
    height: 37px; 

}


/*========================== Footer ================================*/

footer {
    background: white;
    min-height: 200px;
    overflow: hidden;
    width: 100%;
    opacity: 1;
}

#awards {
    width: 90%;  
    text-align: center;  
}

#socialm {
    text-align: center;
    visibility: collapse;
}

#customeraddress {
    background: #006637;
/*    height: 80px;*/
    color: white;
    width: 100%;
}

#schoolNameFooter {
    /* font-size: 1.5em;*/
}

#schoolAdressFooter {
    /*font-size: 0.8em;*/
}

/*------------------main nav bar ------------------*/

/*------------------bootstrap overide !!!!!------------------*/

.dropdown-menu {
    /*  position: absolute;
      top: 100%;
      left: 0;
      z-index: 1000;
      display: none;
      float: left;
      min-width: 160px;
      padding: 5px 0;
      margin: 2px 0 0;
      font-size: 14px;
      text-align: left;
      list-style: none;*/
    /*  background-color: #fff; */
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    /* border: 0 solid rgba(0, 0, 0, .15);*/
    border-radius: 0;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}

.dropdown-menu > li > a {
    display: block;
    padding: 10px 20px;
    /*    clear: both;
        font-weight: normal;*/
    /*  1.4 fixes drop down alignment  */
    line-height: 1.4;
    /*  text colour*/
    /*    color: #ffffff;*/

    /*#ffffff-space: nowrap;      ??????????*/
}

/*-------------------------------*/

.sm-simple {
    width: 100%;
    max-width: 1270px;
    margin: 0 auto 0;
    /* border: 0 solid white;
     background: #006637;*/
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0);
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0);
}

.sm-simple a, .sm-simple a:hover, .sm-simple a:focus, .sm-simple a:active {
    color: white;
}

/*.sm-simple li {
    border-top: 1 #00A800;
}*/


.sm-simple ul {
    /*border: 0 solid black;
    background: #006637;*/
    -webkit-box-shadow: 4px 4px 3px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 4px 4px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 4px 4px 3px rgba(0, 0, 0, 0.3);
}

.sm-simple ul a, .sm-simple ul a:hover, .sm-simple ul a:focus, .sm-simple ul a:active {
    font-size: 14px;
}
/*text colour in nav bar*/
.sm-simple a, .sm-simple a:hover, .sm-simple a:focus, .sm-simple a:active, .sm-simple a.highlighted {
    /* padding: 11px 20px;*/
    color: rgba(255, 255, 255, 1);
}

/*------------------main nav bar hover colours------------------*/

.sm-simple a:hover, .sm-simple a:focus, .sm-simple a:active, .sm-simple a.highlighted {
    /*text colour hover*/
    /*color: rgba(0, 102, 55, 1);*/
    /*background colour hover*/
    /* background: rgba(221, 239, 201, 1);*/
}
/*.sm-simple > li {
          border-top: 0;
          border-left: 3px;
          }*/

/*.sm-simple ul > li {
    border-top: 1px solid white;
}*/

/*========================== Page tabs ================================*/

.pagination > li > a,
.pagination > li > span {
    position: relative;
    /*    float: r;*/
    padding: 10px 10px;
    margin-left: -1px;
    line-height: 1;
    color: #006637;
    text-decoration: none;
    background-color: #BFE298;
    border: 0 solid red;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin-right: 3px;
}

.pagination > li:first-child > a,
.pagination > li:first-child > span {
    margin-left: 10;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 0;

}

.pagination > li:last-child > a,
.pagination > li:last-child > span {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 0;
}

.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
    color: white;
    /*background-color: #006637;*/
    border: 0 solid #F9FCF5;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    color: white;
    /*   background-color: #006637;*/
    border: 0px solid #F9FCF5;
}

/*========================== All main content ================================*/

.pageContent{
    margin-bottom: 20px;
    border-top-left-radius: 0;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    background: rgba(255, 255, 255, 1.0);
    border: 1px solid #97ca5f;
    -moz-box-shadow: 2px 2px 4px #dfdfdf;
    box-shadow: 2px 2px 4px #dfdfdf;
}


/*========================== Aside Panel ================================*/

.pagelink a{
    font-size: 11px;
    background: #C0C0C0;
    color: #ffffff;
    text-decoration: none;
    padding: 3px 8px;
    border-radius: 6px;
    box-shadow: 0px 0px 0 #eee;
    display: inline-block;
    margin: 1em 0;
    line-height: 1.2;
}

.asidePannel > .pagelink    {
	text-align: left;
}

/*  ======================================================================= */

/* Too narrow to support three columns */

/*------------------pagination 760 width------------------*/

@media all and (max-width: 768px) {
    /*here*/

    #main-nav{
        height: 40px;
    }

    header {
        height: 200px;
        width: 100%;
        background-image: url(/_styles/images/H2_header_1920.jpg);
    background-repeat: repeat-x;
    background-position: center top;
    background-size: 1097px 200px;
    -o-background-size: 1097px 200px;
    -webkit-background-size: 1097px 200px;
}

#header-schoolName{
    font-size:19pt;
    top: 120px;
    left: 80px;
}

#header-schoolMotto {
    font-size:16pt;
    z-index: 20;
    position: absolute;
    top: 150px;
    left: 80px;
    /*color: #006637;*/
}

#header-logo {
    background: url(/_styles/svg/appleacademy_logo_red.svg) no-repeat;
width: 42px;
height: 71px;
top: 110px;
left: 25px;
background-size: 42px 71px;
-o-background-size: 42px 71px;
-webkit-background-size: 42px 71px;
}

.dropdown-menu {
    min-width: 100%;
    padding: 10px 20px;

}

.dropdown-menu > li > a {
    display: block;
    padding: 10px 20px;
    /*  fixes drop down alignment  */
    line-height: 1.7;
}

/*------Main Menu H ------------pagination 760 width------------------*/

.pageSubHead {
    max-width: 1200px;
    margin: 0px auto auto;
    text-align: left;  
    background-color: #ffffff;
    height: auto; 

    padding-right: 10px;
    padding-left: 10px;
    padding-top: 10px;

}

.pagination, pagination-sm {
    height: auto;
    border-radius: 5px;
}

.pagination > li > a,
.pagination > li > span {
    position: relative;
    /*                    float: r;*/
    padding: 10px 10px;
    margin-left: 2px;
    line-height: 22px;
    color: #006637;
    background-color: #BFE298;
    border: 0 solid red;

    border-radius: 5px;

    margin-right: 2px;
    font-size: 14px;
}

.pagination > li:first-child > a,
.pagination > li:first-child > span {
    margin-left: 0;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.pagination > li:last-child > a,
.pagination > li:last-child > span {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px; 
}

.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
    color: white;
    background-color: #006637;
    border: 0 solid #F9FCF5;
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    color: #006637;
    background-color: #BFE298;
    border: 0 solid #F9FCF5;
    border-radius: 5px;

}

.asidePannel { 
    width:100%;
    font-size:10pt;
}

/*---------Date List------------------*/
 

#calendar_container{
}


.calendar {
  width:100%;
  height:250px;
/*  font-family: 'Roboto', sans-serif;*/
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  padding: 10px 15px;
  color:#363b41;
  display: inline-block;
  overflow-y:auto;
  background-color: #fff;
/*  border: 1px solid #ddd;*/
    border: 1px solid #ccc;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  border-radius: 4px;
  text-align: left;
}

.calendar::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
    background-color: #F5F5F5;
    border-radius: 0;
}

.calendar::-webkit-scrollbar {
    width: 6px;
    background-color: white; 
}

.calendar::-webkit-scrollbar-thumb {
    border-radius: 3px;
    /* -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1); */
    background-color: #8f98a2;
 }


.calendar .header {
    border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}


.calendar .header_copy {
      color: #80acc1;
      font-size:16px;
      margin-bottom: 0;
      width: 100%;
}

.calendar .header_copy a{
       color: #80acc1;
       border-bottom: 1px dotted black;
}


/*.calendar_events > p:first-child {
  padding-top: 5px;
}*/


.calendar_events{
  color:#A39D9E;
}

.day_title{
  font-size:13px;
  color: #80acc1;
  margin-top: 10px;
  margin-bottom: 0;
}
 
.event_item {
  margin: 0 0 0 0;
/*  cursor: pointer;*/
}

.event_item > .Dot, .event_item > .Title{
  display:inline-block;
}

.event_item > .Dot{
  border-radius:50%;
  width:8px;
  height:8px;
  background-color: #A39D9E;
}

.event_item > .Title{
  margin-left:6px;
  font-size:10px;
  color:#363b41;
}

.event_item > .Copy {
  font-size:10px;
  margin-left:15px;
  line-height: 1.1;
  color:#6a7480;
}

.event_item > .Copy a {
    color:#6a7480;
    border-bottom: 1px dotted lightgray;
}


.calendar .iconButton {
   
  background-color: transparent;
  border: none;
  padding: 4px;
  font-size: 11px;
  cursor: pointer;
  float: right;
  border-radius: 2px;
  color: #afafaf;
}

.calendar .iconButton .icon {  
   font-family: "FontAwesome";
}

.calendar .iconButton:hover {
  background-color: #e3e6ed;
}


.calendar .days{
    font-size: 10px;
    color: #c8c8c8;
}

/*------------------hamburger------------------*/
/*------------------pagination 760 width------------------*/

/*Add a menu toggle button on small screens  ===========================  */

/*		.main-menu-btn {
                    position: relative;
                    display: inline-block;
                    width: 30px;
                    height: 30px;
                    text-indent: 28px;
                    white-space: nowrap;
                    overflow: hidden;
                    cursor: pointer;
                    -webkit-tap-highlight-color: rgba(0,0,0,0);
                    margin-left: 20px;
                }
                
                /* hamburger icon *!/
                .main-menu-btn-icon, .main-menu-btn-icon:before, .main-menu-btn-icon:after {
                    position: absolute;
                    top: 60%;             
                    left: 2px;
                    height: 2px;
                    width: 24px;
                    background: #ffffff;
                    -webkit-transition: all 0.25s;
                    transition: all 0.25s;
                }
                .main-menu-btn-icon:before {
                    content: '';
                    top: -7px;
                    left: 0;
                }
                .main-menu-btn-icon:after {
                    content: '';
                    top: 7px;
                    left: 0;
                }*/

}