/* ---------------- Horizontal sMenu--------------- */

/* Mobile menu hamburger */
.main-menu-btn {
  float: right;  
}

@media (min-width: 768px) {
   .sm {    /* Alignment*/
    float: left;
    clear: none;
    }
   .sm-clean { /*background color*/
    padding: 0 10px;
    background: #FFF !important;
    border-radius: 0 !important;
    }
   .sm-clean a, .sm-clean a:focus, .sm-clean a:active { /*initial font color*/
    color: #fff !important;
    border-radius: 0 !important;
	text-transform: uppercase;
   }
   .sm-clean a:hover, .sm-clean a.highlighted {    /* hovertoplevel - with bordercolortop */
    color: #fff !important;
    background: #01203f;
    border-top: 3px solid orange;
    margin-top: -3px;
    color: #fff !important;
   }  
   .sm-clean ul a, .sm-clean ul a:hover, .sm-clean ul a:focus, .sm-clean ul a:active, .sm-clean ul a.highlighted { /*dropdown font color*/
    color: #fff !important;
     }
   .sm-clean a .sub-arrow { /* arrow color - to view add a color the first position */
    border-color: transparent transparent transparent transparent; 
   }
   .sm-clean a, .sm-clean a:hover, .sm-clean a:focus, .sm-clean a:active { /* font */
   font-family: 'open_sans',sans-serif;
   font-size: 16px;
   }
   .sm-clean a, .sm-clean a:hover, .sm-clean a:focus, .sm-clean a:active, .sm-clean a.highlighted {
    padding: 12px 24px;
   }
   .sm-clean a.has-submenu {
    padding-right: 24px;
   }
   .sm-clean ul a:hover, .sm-clean ul a:focus, .sm-clean ul a:active, .sm-clean ul a.highlighted {    /* SubMenu Hover */
   background: #D64E32;
   color: #fff !important;
   margin: 0;
   }
   .sm-clean ul { /* subMenu Dropdown */
   border: 0px solid #bbbbbb;
   padding: 0; /* remove padding on dropdown */
   background: #01203f;
   border-radius: 0px 0px 5px 5px !important;
   box-shadow: 0 5px 9px rgb(0 0 0 / 20%);
   opacity: 97%;
   }
  .sm-clean > li > ul::before,
  .sm-clean > li > ul::after { /* remove arrow on subs */
   display: none;
  }
  .main-menu-check:not(:checked) ~ .sm { /* Return menu to normal after mobile*/
    object-fit: none;
    position: inherit !important;
    opacity: 2 !important;
  }  
  .nav-brand a {
    display: none !important;
  }
}
  .main-menu-check:not(:checked) ~ .sm { /* eliminate old menu animation in mobile */
    object-fit: cover;
    position: absolute;
    opacity: 0;
	float: right;
    padding-right: 50px;
} 
   .sm-clean { /* mobile */
    border-radius: 0;
}
    .sm-clean a, .sm-clean a:hover, .sm-clean a:focus, .sm-clean a:active { /* mobile font */
    font-family: "Segoe UI", Helvetica, sans-serif;
}
.main-nav {
    background: #01203F;
}

@media (min-width: 768px) { /* removes background from normal menus */
.main-nav {
    background: transparent !important;

  }
}

.main-nav-expanded { /*full sized mobile*/
    position: fixed;
    height: 100%;
    background: #eee;
    width: 95%;
    left: 0;
    z-index: 9000;
    top: 0;
    overflow: auto;
    -webkit-box-shadow: 5px -1px 10px -6px #333;
    box-shadow: 5px -1px 10px -6px #333;
    -webkit-animation-name: ezslider;
    -webkit-animation-duration: 0.6s;
    animation-name: ezslider;
    animation-duration: 0.6s;
    opacity: 98%;
    }

@-webkit-keyframes ezslider {
    from {left:-600px; opacity:0} 
    to {left:0; opacity:1}
    }
@keyframes ezslider {
    from {left:-600px; opacity:0}
    to {left:0; opacity:1}
}
/* change mobile background color ------------------------- */
.main-nav-expanded {
  background: #01203F;
}

.sm-clean a, .sm-clean a:hover, .sm-clean a:focus, .sm-clean a:active {
   color: #fff;
}
.sm-clean {
    background: #01203f !important;
}

/* hamburger background alignment etc below ---------------- */
.main-menu-btn {
    margin: 6px 10px;
    width: 44px;
    height: 40px;
    text-indent: 29px;
    color: transparent;
    border-radius:2px;
} 
   .main-menu-btn-icon, .main-menu-btn-icon:before, .main-menu-btn-icon:after {  /* m-hamburger */
     background: #fff !important;
}
   .main-menu-btn-icon {
   left: 10px;
}

.nav-brand {  /* mobile text */
    float: left;
    margin: 18px 0 0 15px;
}

.nav-brand a {
    display: contents;
    color: #fff;
    position: absolute;
    top: 22px;
    font-family: 'Segoe UI', Helvetica, Arial, sans-serif;
    font-size: 22px;
    font-weight: normal;
    left: 51px;
    line-height: 18px;
    text-decoration: none;
}

.overflow-hidden { /* mobile add to body tag */
	overflow: hidden;
}

/* -------------- Vertical --------------- */

@media (min-width: 768px) { /* Menu width BG Color */
   .sm-clean.sm-vertical {
    background: #e8e8e8 !important;
    border-radius: 0;
    width: 100%;
    padding: 0; /* remove padding in vertical */
  }
   .sm-vertical a:hover, .sm-vertical a.highlighted { /* First level margin */
    border-top: 0;
    margin-top: 0;
   }
   .sm-vertical a, .sm-vertical a:hover, .sm-vertical a:focus, .sm-vertical a:active { /* Font */
    font-family: 'Segoe UI',sans-serif;
    text-transform: none;
    color: #333 !important;
    }
    .sm-clean.sm-vertical ul { /* Fly out */
    border: 0px solid #bbbbbb;
    padding: 0; /* remove padding on fly-out */
    background: #e8e8e8;
    border-radius: 0px !important;
    box-shadow: 0 5px 9px rgb(0 0 0 / 20%);
    opacity: 99%;
    }
   .sm-clean.sm-vertical a:hover, .sm-clean.sm-vertical a:focus, .sm-clean.sm-vertical a:active, .sm-clean.sm-vertical a.highlighted { /* hover color BKG and text*/
    background: #1a3784 !important;
    color: #fff !important;
   }
   .sm-clean.sm-vertical a:hover .sub-arrow, .sm-clean.sm-vertical a:focus .sub-arrow { /*sub-arrow-hover*/
    border-color: transparent transparent transparent #ffffff;
   }
   .sm-clean.sm-vertical, .nav-brand { /*Menu top space removal*/
    display:none;
   }
}
    .sm-vertical { /*set vertical width */
    width: 100%
}
   .main-nav-panel-bar .nav-brand {/*remove panel bar top space*/
    display:none;
}
    .main-nav-panel-bar .sm-panel-bar {/* modify panel bar z-index */
    z-index:2;
}
    .main-nav-panel-bar .sm a:hover { /* panel bar hover */
    background: #f9f9f9;
}

/*-----------------------toggle/accordian------------*/
.eztoggleWrapper {
    width: 100%;
    margin: 0 auto;
    color: #000;
	background-color: #f9f5ea;
}
.accordion-item-hd {
    padding: 12px 30px 12px 0;
    font-family: 'open_sanslight', sans-serif;
    font-size: 20px;
    color: #000;
}

.accordion-item-hd-cta {
	color: #D64E32;
}

/* ----------------------Pager ----------------> */
.ezpager {
    display: block;
    width: 100%;
    float: left;
    position: relative;
}

.ezpager-item {
    position: absolute;
    opacity: 0;
    transition: .5s ease;
    padding: 50px 0;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    z-index: 1;
}

.ezpager-item--active {
    position: relative;
    opacity: 1;
    z-index: 2;
}

.ezpager-btns {
    text-align: center;
    position: relative;
    z-index: 3;
    float: left;
    width: 100%;
}

.ezpager-btn {
    width: 12px;
    height: 12px;
    display: inline-block;
    background: rgba(255, 255, 255, .5);
    border-radius: 100%;
    margin: 0 3px;
}

.ezpager-btn--active,
.ezpager-btn:hover {
    cursor: pointer;
    background: #fff;
}

.ezrss-horizontal .ezrss-datemonth {
    text-align: left;
    font-size: 18px;
    color: #396DBB;
}

.ezrss-horizontal .ezrss-day,
.ezrss-horizontal .ezrss-month {
    padding-right: 0px;
}

.ezrss-horizontal .ezrss-solodate {
    font-family: "open_sansbold", Segoe UI, sans-serif;
	color: #121963;
}

.ezrss-horizontal .ezrss-day,
.ezrss-horizontal .ezrss-month {
    font-family: "open_sansbold", Segoe UI, sans-serif;
    text-transform: uppercase;
}

.ezrss-horizontal .ezrss-month {
    color: #121963;
}

.ezrss-horizontal .ezrss-event {
    font-size: 15px;
    color: #4c4c4c;
}

.ezrss-horizontal .ezrss-time {}

.ezrss-horizontal .ezrss-title a {
    font-family: "open_sanssemibold", Segoe UI, sans-serif;
    text-decoration: none;
    color: #4c4c4c;
}

.ezrss-horizontal .ezrss-title a:hover {
    text-decoration: underline;
}

#buttons .imagesizeit {
    overflow: visible;
}

#buttons .widgetitem img {
    transition: all .5s ease;
}

#buttons .widgetitem img:hover {
    transform: translateY(-20px);
    transition: all .5s ease;
}
/*-----------------------homepage eventwrapper-------------------*/
.eventwrapper {
	border: 10px solid #efefef;
/*	padding: 20px;*/
}

/*--------------------------------------custom news RSS6 ------------------------------*/
#newsbtns {
  text-align: right;
  font-size: 35px;
  box-sizing: border-box;
  padding: 0 10px;
}

#newsbtns>a {
  text-decoration: none;
  color: #16225B;
}

#newsbtns>a:hover {
  cursor: pointer;
  color: #000;
}

.customrss6__item {
  display: block;
  float: left;
  width: 33.333%;
  text-align: left;
}

.customrss6__item__in {
  border: 1px solid #ccc;
  margin: 65px 15px 10px 15px;
  border-radius: 15px;
  position: relative;
}

.customrss6__item__padding {
  margin: 55px 15px 15px 15px;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
}

.customrss6__thumbnail {
  height: 165px;
  overflow: hidden;
  position: absolute;
  top: -55px;
  left: 50%;
  width: 110px;
  height: 110px;
  transform: translateX(-50%);
  border-radius: 100%;
  border: 4px solid #cbcbcb;
}

.customrss6__thumbnail img {
  display: block;
  /* width: 100%; */
  height: 100%;
}

.customrss6__content {
  padding: 20px 0px;
  background: #fff;
}

.customrss6__title {
  margin-bottom: 5px;
  color: #396DBB;
  font-size: 21px;
  max-height: 46px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 600;
  text-transform: capitalize;
  text-align: center;
}

.customrss6__separator {
  padding: 15px 0;
  width: 100px;
  margin: 0 auto;
  position: relative;
}

.customrss6__separator:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background: #ccc;
}

.customrss6__separator:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: #396DBB;
  border-radius: 100%;
  border: 3px double #fff;
}

.customrss6__description {
  color: #4c4c4c;
  font-size: 15px;
  word-break: break-word;
  height: 75px;
  overflow: hidden;
  margin-bottom: 15px;
  line-height: 25px;
  text-align: center;
}

.customrss6__readmore {
  margin-top: 45px;
  text-align: center;
}

.customrss6__readmore a {
  color: #fff;
  font-size: 15px;
  text-decoration: none;
  line-height: 100%;
  border: 1px solid #396DBB;
  border-radius: 5px;
  padding: 10px 20px;
  display: inline-block;
  text-transform: capitalize;
  background:#396DBB;
}

.customrss6__readmore a:hover {
  background-color: #fff;
  color: #396DBB;
}

@media screen and (max-width:700px) {
  .customrss6__item {
    width: 50%;
  }
}

@media screen and (max-width:400px) {
  .customrss6__item {
    width: 100%;
  }
}

/*-----------------------------image gallery navigation--------------------------*/
.callbacks_nav {
	margin-right: 85px;
	background-color: darkorange;
	bottom: 85px;
	opacity: 1 !important;
	font-size: 40px;
}
	
/*---------------------------stretch buttons--------------------------*/
/*----------------buttons added new styling on homepage----------------------*/
.stretch-btn-group  {
	display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
	position: relative;
	top: -80px;
}

.stretch-btn-group .ezbutton {
    border: none;
    background-clip: padding-box;
	background-color: #fff !important;
    color: #000;
    cursor: pointer;
    float: left;
    width: 16%;
    display: flex-align;
    text-align: center;
	transition: all 0.5s ease;
	padding: 16px;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
	bord ver: 1px solid orange;
}
.stretch-btn-group .btnorange {
	background-color: #F26323;
}
.stretch-btn-group .btnred {
	background-color: #DD1C3F;
}
.stretch-btn-group .btnblue {
	background-color: #2689BF;
}
.stretch-btn-group .btngreen {
	background-color: #AECC00;
}
.stretch-btn-group .btnyellow {
	background-color: #EB9314;
}
.stretch-btn-group .ezbutton span {
   font-family: 'open_sansbold', sans-serif;
   color: #D84227;
   display: inline-block;
   vertical-align: middle;
   text-align: center;
   white-space: nowrap;
   width: 100%;
   font-size: 24px;
   line-height: 1em;
   padding: 12px 0;
   text-transform: uppercase;
}

/* Clear floats (clearfix hack) */
.stretch-btn-group: after {
   content: "";
   clear: both;
   display: table;
}


.stretch-btn-group .ezbutton:last-child {
   border-right: none; /* Prevent double borders */
}


.stretch-btn-group .ezbutton img {
   transition: all 0.5s ease;
   width:100%;

}
/* Add a background color on hover */

.stretch-btn-group .ezbutton:hover {
   transition: all 0.5s ease;
   box-shadow: none;
   background-color: #000;
   transform: translateY(-10px);
   transition: all 0.5s ease;
   border: none;
}

@media screen and (max-width:700px) {
	.stretch-btn-group {
    top: -20px;
	}
    .stretch-btn-group .ezbutton {
        width: 100%;
        padding: 10px 0;
    }
   .stretch-btn-group .ezbutton img:hover {
        transform: none !important;
        transition: none !important;
    }
}
/*-------------------------rss horizontal calendar---------------------------*/
.ezrss-item {
    width: 19%;
    display: inline-block;
    font-size: 0;
    margin-bottom: 20px;
    text-align: left;
    position: relative;
}
@media screen and (max-width: 600px) {
	.ezrss-item {
    width: 90%;
	}
}
/*-----------------------------------rss for calendar feed------------------------------*/
.customcalendar__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    margin: 10px 0;
	border:1px solid #396DBB;
}


.customcalendar__left {
    width: 75px;
    height: 75px;
    text-align: center;
    background: #396DBB;
    color: #fff;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 7px 5px 5px 5px;
    font-family: "rokkittregular", sans-serif;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    /*border-style: double;*/
}

.customcalendar__date {
    font-size: 32px;
    line-height: 18px;
}

.customcalendar__month {
    font-size: 18px;
    text-transform: uppercase;
}

.customcalendar__right {
    padding: 5px 12px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: calc(100% - 50px);
	background-color: #f6f6f6;
}

.customcalendar__title {
    font-weight: 400;
    font-size: 18px;
    color: #396DBB;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 90%;
    white-space: nowrap;
}

.customcalendar__title a {
    color: #396DBB;
    text-decoration: none;
}

.customcalendar__title a:hover {
    text-decoration: underline;
}

.customcalendar__time {
  
}

.customcalendar__time .ion-android-time {
  margin-right: 5px;
  font-size: 13px;
}
/*-----------------------------------rss for calendar3 feed------------------------------*/
#section2 .customcalendar3__item {
  margin: 0 0 5px 0;
  background: #EEEEEE;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 20px;
}

#section2 .customcalendar3__item__in {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
}

#section2 .customcalendar3__left {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0px 25px 0px 25px;
  font-size: 40px;
  line-height: 100%;
  font-weight: bold;
  position: relative;
  color: #396DBB;
}

#section2 .customcalendar3__left:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 1px;
  background: #000;
}

#section2 .customcalendar3__right {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding-left: 30px;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

#section2 .customcalendar3__day {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 17px;
}

#section2 .customcalendar3__month {
  text-transform: uppercase;
  font-size: 17px;
}

#section2 .customcalendar3__items__item {
  padding: 5px 0px;
}

#section2 .customcalendar3__items__time {
  text-transform: uppercase;
  font-weight: 300;
  font-size: 15px;
}

#section2 .customcalendar3__items__title {
  font-size: 15px;
}

#section2 .customcalendar3__items__link {
  text-decoration: none;
  color: #000;
}

#section2 .customcalendar3__items__link:hover {
  text-decoration: underline;
}

@media screen and (max-width:400px) {
  #section2 .customcalendar3__item__in {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  #section2 .customcalendar3__left:before {
    display: none;
  }
}
@media screen and (max-width:400px) {
  #section2 #section2 .customcalendar3__item__in {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  #section2 #section2 .customcalendar3__left:before {
    display: none;
  }
}

.ezMobileToggle {
    display: block;
    padding: 15px 0;
    color: #2069b5;
    font-family: "pt_sansregular";
    line-height: 100%;
    font-size: 22px;
    width: 94%;
    margin: 0 3%;
}

.ezMobileToggle:after {
    content: "\f104";
    font-size: 14px;
    font-family: "Ionicons";
    color: inherit;
    float: right;
}

.mobilewrapper {
    max-height: 0px;
    overflow: hidden;
    opacity: 0;
    transition: all 1s ease;
}

.mobilewrapper.collapsed {
    max-height: 0px !important;
}

.mobilewrapper.expanded {
    height: auto;
    opacity: 1;
    transition: all 1s ease;
    border-top: 1px solid #ccc;
}


/*---------------------------------Font Awesome Styles-----------------------------------*/


/*Affects all icons*/

.fa {
    line-height: inherit;
    /*Use to override all icon colors for uniform look*/
    color: ;
    background: ;
    overflow: hidden;
    background-blend-mode: multiply;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: all .5s ease;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
}

/*------------------------------header search placement-------------------------*/



/*-----------Icon Shapes----------*/


/*READ ME: Font Size and Width/Height should be the same size to keep the icon centered*/


/*But you can increase or decrease the padding to get a larger radius/background */


/*Makes the icons a circle*/

.circle {
    font-size: 30px !important;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    text-align: center;
    padding: 7px;
}


/*Makes the icon a square*/

.square {
    font-size: 25px !important;
    width: 25px;
    height: 25px;
    text-align: center;
    padding: 6px;
}


/*Gives the icon a 3d bezel*/

.bezel {
    border: 2.5px solid;
    border-style: outset;
}


/*Gives the icon rounded edges*/

.rounded {
    font-size: 30px !important;
    text-align: center;
    width: 30px;
    height: 30px;
    border-radius: 15px;
    padding: 7px;
}


/*Gives the icon a drop shadow look*/

.shadow {
    text-shadow: 0px 3px 0px #b2a98f, 3px 7px 2px rgba(0, 0, 0, 0.5), 4px 10px 4px rgba(0, 0, 0, .25);
    font-size: 25px;
    padding: 11px;
    width: 25px;
    height: 25px;
}


/*------------Icon Font Colors and Background ------*/


/*Sets all of the icons to one color*/

.uniform {
    color: #000 !important;
    background-color: transparent !important;
}


/*-------------------------------Emergency System-------------------------------------------*/

#emergency-alert {
    position: relative;
    z-index: 9999;
    width: 100%;
    transition: all 1.5s ease;
    opacity: 0;
    overflow: hidden;
}

#emergencywrapper {
    background: #FFD800;
    transition: all 1.5s ease;
}

#emergencywrapper .editbox {
    margin-top: 50px;
}

#emergencywrapper .widgetitem {
    width: 94%;
    float: none;
}

#emergencywrapper .eztext_area {
    padding: 10px;
}

#emergencyin {
    position: relative;
}

#emergencyin .ion-android-alert {
    position: absolute;
    left: 0;
    top: 5px;
    font-size: 30px;
    color: white;
    text-shadow: 3px 3px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

#emergencyin .ion-ios-close-empty {
    position: absolute;
    right: 0;
    top: 0px;
    font-size: 35px;
    z-index: #999;
}

#emergencyin .ion-ios-close-empty:hover {
    cursor: pointer;
}

@media screen and (max-width:700px) {
    #emergencywrapper .eztext_area {
        padding: 10px 20px;
    }
    #emergencyin .ion-ios-close-empty {
        right: 10px;
    }
}
