 /* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
  /*.landing-subpage-container > div, .landing-subpage-container .background-holder{ padding: 20px 20px 20px 50px; background-position: -70px top;}*/
  .landing-subpage-container div.grey-bg{ padding: 31px 20px 20px 131px; background-position: -70px top;}
  .image-holder.subpage{ margin-bottom: 10px;}
  .resource-title, .subpage-title{ padding: 0px; margin-bottom: 20px; margin-top: 20px;}
  .hidden-xs li a, li.hidden-xs a{ font-size: .7em;}
  .cart-sidebar .quick-links li{ margin: 10px 30px;}
  .background-holder-newsletter { height: 66% !important;    font-size: 14px; }
  .landing-subpage-container { font-size: 14px; }
  .grey-bg {font-size: 14px;}
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
  .image-container { background: #bbb; }    
  .event-list .col-md-8 { padding-right: 0px; padding: 0px 30px; }
  .event-list .col-xs-12 { height: 250px; }
  .event-list h3 { max-height: 55px; }
  .hidden-xs li, li.hidden-xs { display: none !important; }
  .article h3 { font-size: 150%; }
  .article { padding-top: 30px; padding-bottom: 10px; }
  .landing-subpage-container > div, .landing-subpage-container .background-holder { padding: 0px; }
  .landing-subpage-container .background-holder { width: 100%; display: block; height: 200px; background-color: #ccc; text-align: center; position: inherit; }
  .landing-subpage-container p { display: block; padding: 0px 20px; }
  .landing-subpage-container h4 { padding: 10px 20px 0; }
  .landing-subpage-container a.btn { margin: 0 auto; text-align: center; bottom: 0; }
  .cart-sidebar { font-size: .85em; }
  .cart-sidebar .quick-links li { margin: 10px 15px; }
  .a2a_kit a { padding: 0px !important; }
  .sharing-btns { padding-left: 0px; text-align: center; }
  .sharing-btns span.fl { display: block; width: 100%; text-align: center; margin-bottom: 10px; }
  .page-template-page-subpage .sharing-btns { padding-left: 0px; text-align: center; border: none; }
  .page-template-page-subpage .sharing-btns span.fl { display: block; width: 100%; text-align: center; margin-bottom: 10px; }
  .newsletter-title { padding-top: 25px !important; }
  .event-list .btn-events-left { left: 30px; }
  .event-list .btn-events-right { right: 30px; }
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
h2{ line-height: inherit;}

.menu-button-box span{ display: none; }
.toggle-button{ padding: 9px; display: block;}
#header-logo a{ border-radius: 0 0 30px 30px; padding: 20px;}
.list-inline {text-align: center;}

.search-holder h1{font-size: 225%; margin-bottom: 10px;}
.search-holder{ border-radius: 30px 30px 0 0;}
.search-holder form, .subpage-search-holder form{ padding: 10px;}
#searchform{ display: flex;}
#searchsubmit{ padding: 10px; margin-left: 0px;}
.form-control{ width: 100%!important; height: 46px; display: inline-block;}
span.algolia-autocomplete{ width: 100%; }
.container-video video, .container-video .vzaar-video-player{ height: 400px;}

#flexible-content h2 a{font-size: .8em; line-height: 1em;}
#flexible-content [class^="col-"]:first-child{ padding: 20px;}

.image-holder.subpage .subapge-title-container{ top:180px;}
.subapge-title-container h1{ font-size: 250%;}
.pre-footer.taxonomy-nav li{ width: 25%;}

#menu-pre-footer{ display: flex; flex-flow: row wrap; }
.pre-footer li{ width: 50%;}
.pre-footer li a{ width: 98%;}

.resource-title, .subpage-title{ font-size: 2em;}
.post-meta .sharing-btns, .sharing-btns{ border:none; display: block; padding-top: 10px; margin-top: 5px;}
.post-meta .addtoany_shortcode{}

.photo-container{ display: block; width: 100%; height: 175px; min-height: inherit; overflow: hidden; margin-bottom: 10px; background-color: #ccc; }
.photo-container a{ display: block; text-align: center;}
.photo-container img{}
.job-title, .staff-title{ max-width: 100%;}
.staff-title{ margin: 50px 0; padding-bottom:20px; }

form.cart {width: 100%;}

.woocommerce-breadcrumb {margin-top: 10px;}
.event-details {overflow: auto;}
.text{ padding: 1% 10px; }
.list-resources .fa-3x {font-size: 2em;}
#event-description {overflow: auto;}
.list-item {width: 98%;}
#event-past-events {overflow: auto; margin-top: 20px;}

.issuuembed, iframe {max-width: 100% !important;}

.container a {
/* These are technically the same, but use both */
  overflow-wrap: break-word;
  word-wrap: break-word;

  -ms-word-break: break-all;
  /* Instead use this non-standard one: */
  word-break: break-word;

  /* Adds a hyphen where the word breaks, if supported (No Blink) */
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;}
  
.container a.btn, .more-subscriptions a, #explore a {overflow-wrap: normal !important;
  word-wrap: normal !important;

  -ms-word-break: normal !important;
  /* Instead use this non-standard one: */
  word-break: normal !important;}
  
.line-hdr {line-height: 1.4em;}
table {max-width: 100% !important;}

}
/* Small Devices, Tablets */
@media only screen and (min-width : 768px) { 
	
form.cart {width: 100%;}

/* Event Single */
.woocommerce-breadcrumb {margin-top: 10px;}
.event-details {overflow: auto;}
.text{ padding: 1% 10px; }
.list-resources .fa-3x {font-size: 2em;}
#event-description {overflow: auto;}
.list-item {width: 98%;}
#event-past-events {overflow: auto; margin-top: 20px;}
}
/* iPhone landscape stuff */ 
@media only screen and (max-width : 736px) and (min-width : 480px) {
.nav-container .col-xs-10{ width: 57%; }
.nav-container .col-xs-12{ width: 25%; }
#google_translate_element{ margin-left: -15px;}
.container-video video, .container-video .vzaar-video-player{ height: 400px;}
.flex-pattern img, .flex-pattern span {display: none !important;}
.subpage-search-holder{}
#searchsubmit{ padding: 10px; margin-left: 0px;}
.form-control{ width: 100%!important; height: 46px; display: inline-block;}
.image-holder.subpage .subapge-title-container{ top: 130px;}
.image-holder.subpage{ min-height: 280px; margin-bottom: 0px; }
.post-meta{ border-bottom: 1px solid #f3f3f1; border-top: 1px solid #f3f3f1;}
.single-staff .staff-photo {float: none; width: 100%;}
.single-staff .staff-photo img {margin: 10px auto 0 auto; display: block;}
.tax-resource_center_categories .landing-subpage-container:first-child {margin-bottom: 40px;}
.event-list .sub-heading { margin-top: 10px; line-height: 28px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }
.event-list h3 {line-height: 1.13em;}
.event-list .col-md-8 {height: 310px; padding-right: 30px;}
}

/* Extra Small Devices, Phones */ 
@media only screen and (max-width : 480px) {
  .more-subscriptions { columns: 1; -webkit-columns: 1; -moz-columns: 1; }
  .tax-resource_center_categories .landing-subpage-container:first-child { margin-bottom: 40px; }
  .list-inline li { padding: 0px; }
  .list-inline li a { padding: 10px; vertical-align: middle; display: inline-block; background-color: #0b3151; text-align: center; }
  .container-video video, .container-video .vzaar-video-player { height: 500px; }
  #subscriptions [class$="pattern-bg"] { padding: 5px 10px 20px; text-align: center; }
  #subscriptions .button, #flexible-content .btn { width: 100%; text-align: center; }
  #subscriptions .background-holder { display: none; }
  .share-btn { width: 100%; }
  .share-btn a { float: inherit; width: 100%; text-align: center; background-color: #3f6ed2; display: inline-block; max-height: 45px; }
  .landing-subpage-container a.btn { width: 100%; margin-bottom: 10px; }
  .flex-pattern img, .flex-pattern span { display: none !important; }
  #flexible-content h4 { margin-bottom: 0px; font-size: 125%; }
  .pre-footer li, .pre-footer li a { width: 100%; }
  .pre-footer li a { margin: 0px; padding: 15px; }
  .footer-nav { margin: 20px 0px 10px; border: 1px solid #455f76; border-left: none; border-right: none; padding: 10px 0px 0px; }
  .footer { padding-top: 10px; }
  .footer img { text-align: center; margin: 0 auto; }
  .subapge-title-container h1 { font-size: 200%; }
  .subpage-search-holder { }
  .image-holder.subpage { min-height: 350px; margin-bottom: 0px; }
  .resource-title, .subpage-title { font-size: 1.75em; line-height: 1.25em; }
  .menu-main-nav-container > ul > li > a { font-size: 16px; }
  .menu-main-nav-container ul.sub-menu { font-size: .9em; }
  .menu-main-nav-container ul.sub-menu { padding: 5px; }
  #searchsubmit { padding: 10px; margin-left: 0px; }
  .background-border { margin-bottom: 5px; }
  .background-border span { padding: 0px 5px; }
  .background-border::before { border-top: none; }
  .cart-sidebar .quick-links li { margin: 10px 20px; }
  .staff-list:first-of-type { margin-top: 0px; }
  .pre-footer.taxonomy-nav li { width: 33%; }
  .woocommerce div.product .woocommerce-tabs ul.tabs, .woocommerce div.product .woocommerce-tabs .panel { width: 100%; }
  .woocommerce .woocommerce-breadcrumb { margin: 20px; line-height: normal; }
  .post-meta { }
  .post-meta .sharing-btns, .sharing-btns { padding-left: 0px; border-bottom: 1px solid #f3f3f1; border-top: 1px solid #f3f3f1; }
  .post-meta .sharing-btns span.fl, .sharing-btns span.fl { display: inherit; width: inherit; }
  .powerpress_player { width: 100%; }
  .woocommerce a.remove { text-align: left; }
  .woocommerce a.remove:hover { background: none; color: red !important; }
  .coupon .button { font-size: 0.8em; }
  #billing_email_field, #billing_phone_field { width: 100%; }
  #ship-to-different-address { font-size: 120%; }
  .single-staff .staff-photo { float: none; width: 100%; }
  .single-staff .staff-photo img { margin: 10px auto 0 auto; display: block; }
  .event-intro .alignleft, .event-intro .alignright { display: block; float: none; margin: 0 auto; }
  .event-list .col-md-8 { height: 320px !important; padding-right: 30px !important; }
  .event-list .btn-events-right { bottom: 72px; width: 85%; right: 0px; left: 0px; margin: 0 auto; }
  .event-list .btn-events-left { width: 85%; right: 0px; left: 0px; margin: 0 auto; margin-bottom: 8px; }
  .event-list h3 { max-height: 55px !important; }
}

/* Custom, iPhone Retina */ 
@media only screen and (max-width : 320px) {

#header-logo a{ padding: 10px;}
#header-logo a img{ width: 96%; height: auto;}
.goog-te-gadget-simple .goog-te-menu-value::after{ margin-left: 5px;}
#flexible-content .col-xs-11{ width:100%; }
#flexible-content .col-xs-1{ display: none; }
.form-control{/*width: 80%!important;*/}
}

@media print {
  .cart-sidebar, .image-holder, .top-nav, #searchform, .menu-button-box, .sharing-btns, .pre-footer, .footer, .addtoany_share_save_container, .background-border:before, .background-border:after { display: none; }
  .image-holder.subpage .subapge-title-container { top:0px !important;}
  .image-holder.subpage {min-height: 0px; margin-bottom: 0px;}
}


