/*
Theme Name: SmartMag Child - Production Site
Theme URI: https://smartmag.theme-sphere.com/
Description: A child theme of SmartMag
Author: ThemeSphere
Author URI: https://theme-sphere.com
Template: smart-mag
Version: 9.0.0
*/

/* child theme custom styles */

/* global styles */
.post-content .fa-ul .fa { /* line-up wraped text in lists */
  margin-left: 0px;
}

.post-content .fa-ul, .post-content .fa-ul ul { list-style-type: none; }

.center { text-align: center !important; }

/* text color */
input:focus, textarea:focus, select:focus { color: var(--c-contrast-400); }

/* fixes featured image bottom padding when using 1200x350 px image 
.media-ratio .media-ratio > img {
  height: initial !important;	
}*/

/* header banner ads */
.main-head.dark .right { text-align: right !important; }

/* sidebar width: 300px */
.main .sidebar { width: 26.6663%; }

/* header and nav styles */
#main-head { background: #fff; }

.top-bar.dark {
  background-color: #f2f2f2 !important;
  border-bottom: solid #ccc 1px !important;
}


/* post overlay category title */
.highlights .cat-title a { color: #ffffff; }

/* footer socials */
/*#footer-socials { margin-top: 30px; }*/

div.socials {
  /*background-image: url("/wp-content/uploads/2017/12/fss-icon.png");
  background-repeat: no-repeat;
  background-position: 0px -26px;*/
  width: 224px;
  height: 80px;
  float: right;
}

div.socials h3 {
  color: #1c488a;
  text-align: right;
  letter-spacing: 4px;
  text-transform: uppercase;
}

#footer-socials img {
  float: right;
  margin-left: 10px;
  width: 40px;
  height: auto;
}

/* lower footer */
.lower-foot {
  padding-top: 15px;
}

.lower-foot .textwidget { 
  width: 33%;
  float: left;
}

/* figure and figcaption tags */
figure { 
  max-width: 100%; 
  height: auto;
  text-align: center;
  font-weight: bold;
}
figcaption { 
  font-weight: bold;
  text-align: center;
}

/* copyright text */
.lower-foot .textwidget:last-child {
  width: 100%;
  margin-top: 20px;
}

.lower-foot .textwidget li.first {
  color: #fff;
  font-size: 1.6em;	
  text-transform: uppercase;	
}

/* about and base-com img - now in an li to avoid empty p tag*/
.lower-foot img.about-us, .lower-foot img.base-com {
  float: left;
  margin: 7px 20px 49px 0;
}

.lower-foot img.about-us {
  margin-top: 7px;
}

/* custom sidebar styles */
.contact { 
  background-color: #f2f2f2;
  padding: 10px;
  border-radius: 4px;
}

.contact ul.downloads-list {
  list-style-type: square;
  list-style-position: inside;
}

.contact h3 {
  text-transform: uppercase;
  letter-spacing: 4px;
  padding-bottom: 10px;
  font-weight: bolder;
  margin: 0 0 20px 5px;
  border-bottom: solid #ccc 2px;
}

/* sidebar ninja form on marketing pages */
.marketing-form-container {
  background-color: #1c488a;
  padding: 10px;
  border-radius: 4px;
}
.marketing-form-container .nf-form-title h3 {
  text-transform: uppercase;
  text-align: center;
  color: #fff;
}
.marketing-form-container .nf-form-fields-required {
  color: #fff;
  margin-bottom: 10px;
}
.marketing-form-container .ninja-forms-field {
  color: #000;
}
.marketing-form-container .nf-field-label {
  color: #ffffff;
  margin-bottom: 0 !important;
}
.marketing-form-container .ninja-forms-req-symbol {
  color: #ff3333; /* yellow */
}
.marketing-form-container .nf-error-msg {
  color: #fb7878; /* burnt orange */
}
.marketing-form-container .nf-error .ninja-forms-field {
  border: 1px solid #fb7878; /* burnt orange */
}
.marketing-form-container .nf-field-element #nf-field-49 { color: #999999; }
.marketing-form-container .nf-field-element textarea { height: 125px; }
.marketing-form-container .field-wrap input[type="button"],
.marketing-form-container .field-wrap input[type="submit"] {
  color: #ffffff;
  background-color: #16376a;  /* darker blue than bkg */
  cursor: pointer;
}
.marketing-form-container .nf-response-msg {
  color: #fff;
  font-style: italic;
}

/* sidebars only */
h5.phone {
  background-image: url('/wp-content/uploads/2018/04/phone-icon.png');
  background-repeat: no-repeat;
  background-position: 0 4px;
  padding: 0 0 2px 25px;
  margin-bottom: 0;
  /*height: 25px;*/
  font-weight: bold;
  text-transform: uppercase;
}
/* global */
.phone {
  background-image: url('/wp-content/uploads/2018/04/phone-icon.png');
  background-repeat: no-repeat;
  background-position: 0 0px;
  padding: 0 0 0px 20px;
  margin-bottom: 0;
}

h5.address {
  background-image: url('/wp-content/uploads/2018/03/map-pin-small-2.png');
  background-repeat: no-repeat;
  background-position: 0 4px;
  padding: 0 0 2px 25px;
  margin-bottom: 0;
  /*height: 25px;*/
  font-weight: bold;
  text-transform: uppercase;
}
/* global */
.address {
  background-image: url('/wp-content/uploads/2018/03/map-pin-small-2.png');
  background-repeat: no-repeat;
  background-position: 0 4px;
  padding: 0 0 2px 25px;
}

/* sidebars only */
h5.hours {
  background-image: url('/wp-content/uploads/2018/03/time-icon-small.png');
  background-repeat: no-repeat;
  background-position: 0 4px;
  padding: 0 0 0 25px;
  margin-bottom: 0;
  /*height: 25px;*/
  font-weight: bold;
  text-transform: uppercase;
}
/* global */
.hours {
  background-image: url('/wp-content/uploads/2018/03/time-icon-small.png');
  background-repeat: no-repeat;
  background-position: 0 4px;
  padding: 0 0 2px 25px;
}

h5.icon-pdf { 
  background-image: url('/wp-content/uploads/2018/04/download-icon.png');
  background-repeat: no-repeat;
  background-position: 0 4px;
  padding: 0 0 3px 25px;
  margin-bottom: 0;
  font-weight: bold;
  text-transform: uppercase;
}

/* global */
.icon-download { 
  background-image: url('/wp-content/uploads/2018/04/download-icon.png');
  background-repeat: no-repeat;
  background-position: 0 4px;
  padding: 0 0 3px 25px;
  margin-bottom: 0;
  font-weight: bold;
  text-transform: uppercase;
}

/* global */
.icon-pdf { 
  background-image: url('/wp-content/uploads/2018/03/icon-pdf.png');
  background-repeat: no-repeat;
  background-position: 0 4px;
  padding: 0 0 3px 25px;
  margin-bottom: 0;
}

h5.icon-link {
  background-image: url('/wp-content/uploads/2018/03/icon-link.png');
  background-repeat: no-repeat;
  background-position: 0 4px;
  padding: 0 0 2px 25px;
  margin-bottom: 0;
  font-weight: bold;
  text-transform: uppercase;
}
/* global */
.icon-link {
  background-image: url('/wp-content/uploads/2018/03/icon-link.png');
  background-repeat: no-repeat;
  background-position: 5px 0;
  padding: 0 0 2px 25px;
  margin-bottom: 0;
}

.icon-link-list {
  list-style-image: url('http://dev.lafss.com/wp-content/uploads/2018/03/icon-link.png');
}

h5.icon-email {
  background-image: url('/wp-content/uploads/2018/04/email-icon.png');
  background-repeat: no-repeat;
  background-position: 0 4px;
  padding: 0 0 2px 25px;
  margin-bottom: 0;
  font-weight: bold;
  text-transform: uppercase;
}
/* global */
.icon-email {
  background-image: url('/wp-content/uploads/2018/04/email-icon.png');
  background-repeat: no-repeat;
  background-position: 0 5px;
  padding: 3px 0 0px 20px;
  margin-bottom: 0;
}

.icon-eventbrite {
  background-image: url('/wp-content/uploads/2023/08/icon-eventbrite-16x16-1-e1693261299368.png');
  background-repeat: no-repeat;
  background-position: 1px 0;
  padding: 0 0 0px 21px;
}
  
.contact ul {
  list-style-type: none;
  margin-left: 25px;
  margin-top: 0;
  margin-bottom: 0;
}
  
.contact li { padding: 2px 0px !important; }
.main .sidebar .widget li { border-bottom: none; }
/*.main .sidebar .widgettitle { margin-bottom: 0; }*/
.main .sidebar .sub-menu {
  margin-left: 20px;
  padding-top: 10px;
}
.main .sidebar .sub-menu li:before {
  content: "\00BB \0020"; /* ASCII code double right bracket */
}

.contact hr {
  height: 1px;
  margin: 0 0 15px 0;
  padding: 0;
  background: #ccc;
}

.contact p { margin-left: 25px; }

/* override chevron color/stroke */
.mobile-menu .chevron {
  color: var(--c-contrast);
  -webkit-text-stroke: 1.2px var(--c-contrast);
  text-stroke: 0px !important;
}

/* calendar container */
div#ai1ec-container {
  background-color: #f2f2f2; 
  padding: 10px 15px;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 15px;
}

/* calendar page poster-board img */
.ai1ec-posterboard-image {
  border-radius: 10px;
}

/* event pages - hide featured image thumbnail */
.ai1ec-event-avatar { display: none; }

/* nivoSlider page sliders - fixes width of imgs */
.theme-light.slider-wrapper { padding: 0 4px !important; }

/* bookmarks menu - currently only in AFRC pages */
  .bookmark-wrapper {
    padding: 10px;
    text-align: center;
    background-color: #f2f2f2;
    border-radius: 5px;
  }
  ul.bookmark {
	list-style: none;
	margin-left: 0 !important;
  }
  ul.bookmark li { display: inline-block; }
  a.top {
    display: block;
    border-bottom: solid 2px #f2f2f2;
  }

/* facebook feed layout on pages */
.facebook-feed span {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  color: #000000;
}
.facebook-feed img {
  margin-right: 10px;
  vertical-align: middle;
}

.facebook-container { margin-top: -6px !important; }

/* Custom Facebook Feed - css in plugin
.cff-wrapper {
  margin-top: 25px;
  background: #f2f2f2;
  padding: 10px;
  height: 345px;
  overflow: auto;
}*/

/*@media only screen and (max-width: 667px) {
  #cff .cff-posts-wrap, #cff .cff-masonry-posts {max-width: 290px;} 
  .cff-wrapper {max-width: 85vw;}
}*/
	
/* Custom Facebook Feed - End */

/* events header on pages next to facebook feed */
.post-content .events-header {
	text-transform: uppercase;
	margin-top: 0;
}

/* utility styles */
p:empty { display: none; } /* hides empty p tags wp auto inserts */

.note {
  color: #ff0000;
  font-style: italic;
}

/* shortcode and link buttons */
.sc-button { background-color: #1c488a; }

.indent25 { margin-left: 25px; }
.indent15 { margin-left: 15px; }

/* event tables */
th { text-transform: uppercase; }
th { text-transform: uppercase; }
.op-table { margin: 10px 0 !important; }
.op-table th { 
  text-transform: inherit;
  font-weight: normal;
  background: transparent;
}
.op-table th,td {
  border: 0;
}
.op-cell-description { padding-top: 10px; }

/* apply to anchor link to display long urls */
.break-word-out {	 	 
 /* first two are technically the same, but use both */	 	 
 overflow-wrap: break-word;	 	 
 word-wrap: break-word;	 	 
 -webkit-hyphens: auto; /*safari*/	 	 
 word-break: break-word; /* IE */	 	 
}

/* tabs margin top */
.post-content .sc-tabs-panes { margin-top: 0; }
.page-id-2313 .sc-tabs { display: block !important; }

/* boiler plate wrapper */
.boiler {
  padding: 15px;
  background-color: #f2f2f2;
  border-radius: 6px;
  list-style-position: inside;
  list-style-type: square;
}
.boiler hr {
  margin:15px auto;
}

/* facebook icon, directory page etc. */
.fb-icon {
  background-image: url('/wp-content/uploads/2017/12/facebook-icon.png');
  background-repeat: no-repeat;
  background-position: 0 0;
  padding-left: 23px;
}

/* custom header widget area styles */
.header-banner {
  font-size: 20px;
  font-weight: bold;
  padding: 10px 0;
  text-align: center;
  background-color: yellow;
}
.header-banner a { display: block; } /* extend clickable area */

/* Ditty News Scroller plugin
 * Currently on Fort Mac Pool page & Fitness Center page
 * Custom css is in the plugin
*/

/* page custom styles */

/* subscribe page */
.mc4wp-alert.mc4wp-success {
	color: #ffffff;
	text-align: left;
}

/* magazine page */
.page-id-2387 h3.issue-title {
  margin-top: 0;
  font-size: 1.4em;
}
.page-id-2387 ul.mag-links li:last-child { 
  list-style-type: none;
  margin-left: -17px;
}
.page-id-2387 ul li span.page-num {
  margin-right: 10px;
  font-weight: bold;
  color: #ff0000;
}
.page-id-2387 div.tbl-contents-row {
  width: 100% !important;
  padding-left: 20% !important;
}
.page-id-2387 figure { margin-bottom: 10px !important; }

/* Fort Mac Pool */
.page-id-102 h3.add-title {margin-top:6px;}
.page-id-102 .pool-notice strong {color:#000;}
.page-id-102 .pool-notice {
  font-weight: bold;
  color: #696969;
  background-color: #f2f2f2;
  padding: 10px;
  border-radius: 10px;
  margin-top: 6px;
}
.page-id-102 .mtphr-dnt-tick h2.pool-notice { margin-top: 20px; }

/* CYES page */
.page-id-337 ul.icon-link-list {
  list-style-position: inside;
  list-style-image: url('http://dev.lafss.com/wp-content/uploads/2018/03/icon-link.png');
}

/* SLO covid updates parents */
.postid-10765 .school-dist { width: 100%; }
.postid-10765 .school-dist td:first-child { font-weight: bold; }
.postid-10765 .school-dist tfoot td { font-style: italic; font-weight: normal !important; }

/* community center */
.page-id-2384 .services { height: 250px !important; }
.page-id-2384 .services .col-4 { float: left !important; }
.page-id-2384 .services .col-8 { float: right !important; }

/* fitness page (removed) sidebar nav, and ODR & harborview contact page 
 * remove bottom margin to add extra button
 */
#better-section-nav-2 { margin-bottom: 0; } /* odr */
#better-section-nav-4 { margin-bottom: 0; } /* r4r */
#better-section-nav-6 { margin-bottom: 0; } /* fitness */
#better-section-nav-7 { margin-bottom: 0; } /* HV event ctr */
#better-section-nav-13 { margin-bottom: 0; } /* HV event ctr catering */

/* la star awards order forms title */
.page-id-93 .block-head { margin-bottom: 0px; }

/* mfrc sidebar hrs */
.page-id-81 .op-table .op-cell-heading {
	padding: 5px !important;
}


/* media queries - responsive.css */

/* Phones and smaller tablets - fluid */ 
@media only screen and (max-width: 667px) {
  	
  /* header banner ads */
  .main-head .right {
    line-height: 130px;
	text-align: left;
	float: left;
    margin-left: 0;
  }
  
  /* calendar page title */
  .post-2693 header.post-header { margin-left: 15px; }

  /* LA Star Awards */
  .page-id-93 #post-93 .page-excerpt ul li img {
    margin: 10px auto !important;
    width: 100% !important;
  }
	
  /* magazine page */
  .page-id-2387 figure { margin-bottom: 20px !important; text-align: center; }
  .page-id-2387 h3.issue-title {
    margin-top: 0;
    font-size: 1.4em;
  }
  .page-id-2387 ul.mag-links li:last-child {
	list-style-type: none;
	margin-left: -17px;
  }
  .page-id-2387 .column.cover-page.half {
	display: contents !important;
  }


  /* harborview event center */
  .page-id-7233 .location-wrapper { padding-right: 25px !important; }
  .page-id-7233 .iframe-wrapper { padding-left: 25px !important; }

  /* fss closures update */
  .postid-10685 table td { font-size: small; }

  /* covid-19 updates for parents */
  .postid-10765 .post-content .sc-tabs, .postid-10765 .post-content .sc-tabs-panes {
	font-size: small !important;
	padding: 0px !important;
  }

  /* .boiler plate ul mobile
   * reduce left margin
   * currently on posts: fss-closure-update,
   * and covid-19-updates-resources-for-parents
   */
  div.boiler ul { margin-left: 15px; }

}
/* end of media queries */