@media (min-width: 1375px){
.eventcal {
  width: 397px; 
/*  background: #fff; */
  height: 494px;

/*  padding: 3px; */
  float: right;
  line-height: 24px;
  margin-top: 15px;  
  } 
}

@media (max-width: 1374px) {
  .eventcal {
    width: 92%;
   /* height: 300px; */
    margin: auto;
    background-color: #fff;
    padding: 5px 15px 15px;
  }
}

 .eventcal .time {
    font-weight: bold;
    color: #999;
    padding-left: 15px;
}
.eventcal .date {
    float: right;
    padding-right: 10px;
}


.eventheader {
  font-size: 30px;
  font-weight: 600;
/*  border-bottom: 3px #A8A8A8 solid; 
*/
}

/* div.amev-event-list{
  	height: 475px;
}

communico-front {
  height: 500px;
} */


@media (max-width: 343px) {
  .eventheader {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 10px;
  position: relative;
  color: #444;
  text-transform: uppercase
  } }

@media (min-width: 1375px) {
  .feedeventcal {
    background-color: #F2F2F2;
    padding: 10px;
    overflow-y: scroll;
    overflow-x: hidden;
    height: 385px;
  }
}

@media (max-width: 1374px) {
  .feedeventcal {
    background-color: #F2F2F2;
 	padding: 10px;
    overflow-y: scroll;
    overflow-x: hidden;
    height: 215px;
  }
}

@media (max-width: 1375px){
  .jm-module .jm-title {
    margin: 0px;
  }
}

.redirect-ltr {
  line-height: 26px;
  font-size: 30px;
}

.feed-link {
  font-size: 24px;
  font-weight: 600;
  line-height: 20px;
}

.feed-item-description {
  padding-bottom: 5px;
  border-bottom: 3px solid #f1f1f1;
  margin-bottom: 10px;
  font-size: 18px;
}

h2 {
  text-transform: uppercase;
  font-weight: 600px;
  color: #364E72;
}

h7 {
  font-size: 25px;
  font-weight: bold;
}

h8 {
  font-size: 22px;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 300i;

}

h9 {
  font-size: 24px;
  font-weight: bold;
}

strong {
  font-weight: 900;
  font-size: 18px;
}

.featuretext {
 /* text-transform: uppercase; */
  font-weight: 600;
  font-size: 20px;
}

.featuretext a:link, .featuretext a:visited {
  color: #23B2E7;
}

.featuretext a:hover, .featuretext a:active {
  text-decoration: none;
  color: #364E72;
}

div p{
 line-height: 1.4;
}

.tabs-wrapper {
  background-color: #222A36;
}

#jm-header { 
  padding: 0;
  background: #969696; /*#364E72;*/
}

@media (min-width: 1375px) {
  #jm-header-in > .jm-module {
    max-width: 980px;
    margin: 0; 
    float: left; 
    margin-top:15px;
    margin-right: 15px;
    margin-bottom: 15px;
    margin-left: 0px;
}
	}

@media (max-width: 1374px){
  #jm-header-in > .jm-module {
    float: none;
  /*	margin-right: 30px; */
    margin-top:15px;
    margin-bottom: 15px;
  }
}


@media (max-width: 991px) {
  #queryBox {
  width: 50%;
  }  }

@media (min-width: 1195px){
  .header-language-module {
  	 float: right;
 	 width: 20%;
 	 margin-bottom: 0;
  	 text-align: right;
  }}

@media (max-width: 1194px){
  .header-language-module {
  	 float: left;
 	 width: 20%;
 	 margin-bottom: 0;
  }}

@media (max-width: 1194px) {
#jm-top3 {
    padding: 10px;
  } }

@media (max-width: 788px) {
  .header-language-module {
  	 float: left;
     width: 100%;
	 margin: auto;
  }
  #queryBox {
    width: 100%; }
}

@media (min-width: 789px){
.jm-module.header-language-split.header-search-module {
  float: left;
 /* width: 80%;
  margin-bottom: 0; */
  } }

@media (max-width: 788x) {
  .jm-module.header-language-split.header-search-module {
  	 float: none;
 /*	 width: 100%;
 	 margin-bottom: 0; */
  } }

#globalSearch {
  margin-bottom: 0;
}

#restrictionDropDown {
  height: 60px;
}

@media (max-width: 788px) {
  #restrictionDropDown {
     height: 40px; 
     width: 100%;
  }
}

#jm-logo-nav #jm-bar-left {
  padding-top: 6px;
  padding-bottom: 0;
}

#jm-top3 {
  background-color:/* #222A36; */#364E72; /*#f6f6f6 #222A36*/ !important;
  color: #364e72 !important;
}

.newsletter_signup_table {
  margin: 0 auto;
}

#jm-maincontent {
  background-color: #fff;
  padding: 25px 35px 50px;
}

.items-leading div[class*="leading-"], .items-row {
  border: none;
  margin-bottom: 1px;
  padding-bottom: 1px;
}

a:link, a:visited {
  color: #3799BF;
}

#jm-allpage .djtabs.default-theme .djtabs-article-content a {
  color: #3799BF;
}

select, input[type="file"] {
  height: 40px;
}

.heading {
  font-size: 23px;
  color: #999;
  font-weight: bold;
  margin-bottom: 10px;
  border-bottom: 1px solid #CCC;

}

#youthmenu { 
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  
}

.contact {
  background-color: #fff;
  padding: 30px 0px;
}

.libhours {
  background-color: #fff;
  float: none;
  padding: 30px 0px;
}

.passporthours {
  background-color: #fff;
  float: none;
  padding: 30px 0px;
}

#youth-page-menu {
  text-align: center !important;
}

#youth-page-menu > .row > .span4 {
  padding: 1em;
}

.djtabs-in-border {
  background-color: #fff;
}

.calbutton {
    background-color: #364E72;
    border: none;
    color: #fff;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    border-radius: 2px;
  	margin: 
}

.calbutton:hover {
    background-color: #0E2342;
    color: white;
    border-radius: 2px;
}

.calbutton a {
  color: #fff;
  text-decoration: none;
}

.btn {
  border: none;
  margin-left: 15px;
  background-color: #364E72;
  padding: 18.5px 55px;
}

.btn:hover {
  background-color: #223A5D;
  color: white;
  border: none;
  margin-left: 15px;
}

#jm-top3 .btn:link {
  border: none;
  margin-left: 15px;
  background-color: #F2F2F2;
  text-transform: uppercase;
  padding: 19px 55px;
  border-radius: 3px;
}

#jm-top3 .btn:hover {
  border: none;
  background-color: #3799BF;
}

search_button {
  text-transform: uppercase;
}

@media (max-width: 788px) {
  #jm-top3 .btn {
    width: 99%;
    margin: 0 2px;
  }
}

#jm-allpage .jm-module.color1-ms {
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;  
}

#jm-allpage .jm-module.color1-ms:hover {
   background-color: #CE6607;
   color: white; 
}

.jm-module.color1-ms a {
  color: #fff;
  text-decoration: none;
}

#jm-allpage .jm-module.color3-ms {
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s; 
}

#jm-allpage .jm-module.color3-ms:hover {
   background-color: #D8435D;
   color: white; 
}

.jm-module.color3-ms a {
  color: #fff;
  text-decoration: none;
}

#jm-allpage .jm-module.color5-ms {
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s; 
}

#jm-allpage .jm-module.color5-ms:hover {
   background-color: #00A397;
   color: white; 
}

.jm-module.color5-ms a {
  color: #fff;
  text-decoration: none;
}

#jm-allpage .jm-module.color4-ms {
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s; 
}

#jm-allpage .jm-module.color4-ms:hover {
   background-color: #7BAC1E;
   color: white; 
}

.jm-module.color4-ms a {
  color: #fff;
  text-decoration: none;
}

.newsletterbutton {
  background-color: #364E72;
  color: #fff;
  border-radius: 2px;
  border: none;
  margin: 0px 0px 10px 0px;
}

.newsletterbutton:hover {
    background-color: #0E2342;
    color: #fff;
    border-radius: 2px;
    border:none;
    margin: 0px 0px 10px 0px;
}

.newsletterbutton a {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 541px) {
.centerbuttons {
  margin: 0 auto;
  } }

.video-responsive{
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}
.video-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}

A.alt1 {color:white;}
A.alt1:link  {text-decoration: none; color: white;}
A.alt1:visited {text-decoration: none; color: white;}
A.alt1:hover {text-decoration: underline; color: white;}
A.alt1:active {text-decoration: none; color: white;}

div.tables table {
    width:200px;
    display: inline-block;
    vertical-align:top;
}
div.tables {
    width:700px;
 	text-align: center;
}

@media (min-width: 1375px) {
  .diglib {
    max-width: ;
}
	}

@media (max-width: 1049px){
  .diglib {
    float: ;
  }
}

@media (max-width: 699px){
  .diglib {
    float: ;
  }
}

.diglib {
  display: inline-block;
  text-align: center;
  max-height: ;
}

.diglibsize{
  size: ;
}

.button1 {
  background-color: #EF4440;
  color: #fff;
  border-radius: 2px;
  border: none;
  padding: 16px 32px;
  text-align: center;
  margin: 0px 0px 10px 0px;
}

.button1:hover {
    background-color: #C24440;
    color: #fff;
    border-radius: 2px;
    border:none;
    margin: 0px 0px 10px 0px; }

.button1 a {
  color: #fff;
  text-decoration: none;}
  
/* .dj-megamenu-override a:hover {
  color: #fff;
  background-color: #3699BF; 
} */

/* STORYTIMES WIDGET */

.storyList .clearfix {
    clear: both;
}
.storyList .width {
    width: 300px;
}
.storyList .heading {
    font-size: 18px;
    color: #999;
    font-weight: bold;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #CCC;
}
.storyList {
    font-size: 20px;
    color: #666;
    clear: both;
  	width: 500px;
  	height: 600px;
  	overflow: scroll;
  	border-left-style: solid;
 	border-color: #80CDEA;
 	background: #d7ecf4;
  	padding: 15px;
}

@media screen and (max-width: 600px) {
  .storyList {
   		width: 95%; 
  }
}
.storyList.heading {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin: 0 0 10px 0;
    padding-top: 10px;
}
.storyList .item {
    background-color: #f9f9f9;
    margin-bottom: 10px;
    padding: 5px;
    border: 1px solid #EEE;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

.storyList .title, .storyList .feed-link a {
    font-size: 22px;
    font-weight: bold;
    color: #3699bf;
    text-decoration: none;
}

.storyList a {
    font-size: 18px;
    font-weight: bold;
    color: #3699bf;
    text-decoration: none;
}
.storyList a:hover {
    text-decoration: underline;
}
.storyList .time {
    font-weight: bold;
    color: #999;
    padding-left: 15px;
}
.storyList .date {
    float: right;
    padding-right: 10px;
}
.storyList img {
    width: 100%;
    height: auto;
}
.storyList .image {
    float: left;
    max-width: 80px;
    height: auto;
    margin: 5px 10px 5px 0;
    overflow: hidden;
    border: 1px solid #CCC;
    box-shadow: 1px 1px 1px rgba(40, 51, 51, .2);
}
.storyList .description {
    font-size: 12px;
    margin-bottom: 7px;
}

.storyList .feed-item-description {
  border-bottom: 3px solid #3699bf;
}

.storyList .location {
    font-size: 12px;
    margin-bottom: 7px;
}
.storyList .branch {
    font-size: 12px;
    margin-bottom: 7px;
}
.storyList hr {}



/*
.accordionor {
  background-color: #3899BF;
  color: #FFF;
  cursor: pointer;
  padding: 18px;
  width: 95%;
  border: solid;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
}

.accordionor.active, .accordionor:hover {
  background-color: #354E72;
}

.accordionor:after {
  content: '\002B';
  color: #777;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.accordionor.active:after {
  content: "\2212";
}

.panelor {
  padding: 0 18px;
  width: 92%;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}
*/

.accordionor {
  background-color: #3899BF;
  color: #FFF;
  cursor: pointer;
  padding: 18px;
  width: 95%;
  border: solid;
  text-align: left;
  outline: none;
  font-size: 20px;
  font-weight: bold;
  transition: 0.4s;
}

.active, .accordionor:hover {
  background-color: #354E72;
}

.accordionor:after {
  content: '\002B';
  color: #FFF;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.accordionor.active:after {
  content: "\2212";
}

.panelor {
  display: none;
  padding: 0 18px;
  width: 92%;
  background-color: white;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.or-dropdown-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 80%;
}

@media screen and (max-width: 1037px) {
  .or-dropdown-container {
    width: 100%;
  }
}

.or-page {
    background-color: #368AAF;
    color: #FFF;
    cursor: pointer;
    display: block;
    padding: 15px 20px;
    margin: auto;
    border: none;
    outline: none;
    transition: 0.4s;
  border: solid;
/*    overflow: hidden; */
}

.or-body {
   margin: auto;
   text-align: left;
   padding: 50px;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active,
.or-page:hover {
    background-color: #354E72;
}

/* Style the faq-page panel. Note: hidden by default */
.or-body {
    padding: 0px 30px 20px 30px;
    background-color: white;
    display: none;
    overflow: hidden;
}

.or-page:after {
    content: '+';
    /* Unicode character for "plus" sign (+) \02795 */
    /* font-size: 13px; */
    color: #FFF;
    float: right;
    /* margin-left: 5px; */
}
.or-page.active:after {
    content: "—";
    /* Unicode character for "minus" sign (-) \2796 */
      color: #FFF;
}

.lotstyle {
  width: 40%;
  display: inline-block; 
  padding: 20px; 
  vertical-align: top;
}

.lotstyle {
  width: 40%;
  display: inline-block; 
  padding: 20px; 
  vertical-align: top;
  }

@media (max-width: 541px) {
.lotstyle {
  width: 98%;
  padding: 20px; 
  vertical-align: top;
  } }

@media (min-width: 542px) {
.lotstyle {
  width: 40%;
  display: inline-block; 
  padding: 20px; 
  vertical-align: top;
  } }

#ysrc {
  border-collapse: collapse;
  width: 100%;
}

#ysrc td, #ysrc th {
  border: 2px solid #ddd;
  padding: 8px;
}

#ysrc th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  font-weight: 400;
}

.RefFAQ .djtabs-title {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 20px;
  font-weight: 600;
  text-align: left;
  padding-left: 10px;
}
.RefFAQ .djtabs-accordion {
  height: auto;
  width: 85%;
  margin: 5px 0;
  padding: 10px 5px;
}

.RefFAQ .djtabs-article-content {
  font-size: 17px;
  width: 80%;
  padding: 15px;
}

@media screen and (max-width: 1061px) {
  .RefFAQ .djtabs-accordion {
    width: 100%;
  }
  .RefFAQ .djtabs-article-content {
    width: 100%;
  }
}

.refcalc {
  width: 70%;
  height: 520px;
  padding: 20px;
  border: 3px solid #374E72;
}

@media screen and (max-width: 1061px) {
  .refcalc {
    width: 100%;
    overflow: hidden;
  }
}

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

.accordionreffaq {
  background-color: #3899BF;
  color: #FFF;
  cursor: pointer;
  padding: 18px;
  width: 95%;
  border: solid;
  text-align: left;
  outline: none;
  font-weight: bold;
  transition: 0.4s;
}

.active, .accordionreffaq:hover {
  background-color: #354E72;
}

.accordionreffaq:after {
  content: '\002B';
  color: #FFF;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.accordionreffaq.active:after {
  content: "\2212";
}

.panelreffaq {
  display: none;
  padding: 0 18px;
  width: 92%;
  background-color: white;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.reffaq-dropdown-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 70%;
}

@media screen and (max-width: 1037px) {
  .reffaq-dropdown-container {
    width: 100%;
  }
}

.reffaq-page {
    background-color: #374E72;
    color: #FFF;
    cursor: pointer;
    display: block;
    padding: 8px 20px;
    margin: auto;
    border: none;
    outline: none;
    transition: 0.4s;
  	border: solid;
    font-size: 20px;
    font-weight: 600;
  font-kerning: none;
/*  overflow: hidden; */
}

.reffaq-body {
   margin: auto;
   text-align: left;
   padding: 50px;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
/* .active, */
.reffaq-page:hover {
    background-color: #444444;
}

/* Style the faq-page panel. Note: hidden by default */
.reffaq-body {
    padding: 0px 30px 20px 30px;
    background-color: white;
    display: none;
    overflow: hidden;
}

.reffaq-page:after {
    content: '+';
    /* Unicode character for "plus" sign (+) \02795 */
    /* font-size: 13px; */
    color: #FFF;
    float: right;
    /* margin-left: 5px; */
}
.reffaq-page.active:after {
    content: "−";
    /* Unicode character for "minus" sign (-) \2796 */
      color: #FFF;
}

