/*
Theme Name:     Definition Child
Theme URI:      http://example.com/
Description:    Child theme for the Definition theme
Author:         Digital Jumpstart
Author URI:     http://example.com/about/
Template:       definition
Version:        0.1.0
*/

@import url("../definition/style.css");

#header {
	background: #fff;
	border-bottom: 0;
  padding-top: 10px !important;
  min-height:144px;
}

#top ul.nav li a {
  font-size: 12px;
  border-radius: 0 !important;
  padding: .53em .53em !important;
}

ul.nav li a {
  border-radius: 0 !important;
}
#navigation{
  margin-top: 1.5em !important;
  font-size: 14px;
  clear: right !important;
  float: right !important;
}

#navigation ul.nav > li {
  margin: 0 0 0 0.53em !important;
}

#navigation ul.nav li a {
  background: #56524E !important;
  color: #fff !important;
  text-align: center;
}
#navigation ul.nav > li:hover > a {
    background: #707070 !important;
    color: #fff !important;
    border-radius: 0 !important;
}
#navigation ul.nav li.parent:hover > a {
  background: #707070 !important;
}

#navigation ul.nav li.current_page_item > a,
  #navigation ul.nav li.current_page_parent > a,
  #navigation ul.nav li.current-menu-ancestor > a,
  #navigation ul.nav li.current-cat > a,
  #navigation ul.nav li.li.current-menu-item > a {
    background: #707070 !important;
    color: #fff !important;
}
#navigation ul.nav ul {
    background: #56524E !important;
    color: #fff !important;
/*    width: 178px;*/
    width: 100%;
    border-radius: 0 !important;
    padding-top: 0 !important;
    border-top: 3px #fff solid;
}
#navigation ul.nav ul ul{
    margin-top: 0 !important;
    border-top: 0 !important;
}
#navigation ul.nav ul > li > a:hover {
    text-decoration: none;
    background: #707070 !important;
    border-radius: 0 !important;
}
#navigation ul.nav > li > a {
  padding: .75em 2.5em !important;
  width: 150px;
  border-radius: 0 !important;
}
#navigation ul.nav > li > a:hover {
	color: #fff !important;
  background: #707070 !important;
}
#navigation ul.nav > li:hover > a {
    background: #56524E !important;
    border-radius: 0 !important;
}
#navigation ul.nav > li > a:hover {
    background: #56524E !important;
}
#navigation ul.nav ul > li:hover > a {
    background: #707070 !important;
}
#header .nav-toggle:after {
  background-color: #fff !important;
  color:#888;
  background-image: none !important;
  border:0;
  border-radius:0;
}
#navigation ul.nav ul > li > a {
  font-size: 100% !important;
  padding: .75em 1em !important;
}
ul.nav li.parent > a:after {
  border-width: 5px !important;
}

/* UCSF Header *****/
#ucsf_header{
  width: 100%;
  margin: 0 -1.618em;
  padding: 0 1.618em;
  background-color: #666666;
  line-height: 30px;
  }

#ucsf_banner {
  width: 100%;
  min-height: 30px;
  background-color: #666666;
  color: white;
  max-width: 75.998em;
  margin: 0 auto;
}
#ucsf_banner img {
  float:left;
  border: 0;
  margin-right: 5px;
  max-height:30px;
  width:auto;
}
#ucsf_banner a{
  color:white !important;
  font-family: arial, sans-serif;
  font-size: 10px;
}
#ucsf_banner a:hover{
  text-decoration: none;
}

.home .breadcrumb {
  display: none;
}
#breadcrumbs {
  font-size: 11px;
}

#top {
  background: none !important;
  float: right;
  clear: right;
  padding-top: 10px;
}
#top ul.nav > li > a:hover {
  background: none !important;
  }
#top ul.nav li a {
   color: #56524E !important;
}
#top li + li:before{
    content: " | ";
    color: #56524E;
}
#top ul.nav li a {
  display: inline;
}
#top ul.nav > li > a:hover {
  background: none !important;
}
#top ul.nav > li:hover > a {
  background: none !important;
}
ul.nav li.parent > a:after { /* nav arrow */
  top: 1.2em !important;
  border: 5px solid #56524E !important;
  border-color: #56524E transparent transparent transparent!important;
}
ul.nav li.parent > a:hover:after{ 
  top: 1.2em !important;
  border: 5px solid #fff !important;
  border-color: #fff transparent transparent transparent !important;
}
ul.nav ul li.parent > a:after, ul.nav ul li.parent > a:hover:after {
  border-color: transparent transparent transparent #fff !important;
}

h1, h2, h3, h4, h5, h6 {
/*  font-family: 'Sanchez', Helvetica, serif !important;*/
}

/* slider */
#featured {
  background: #fff !important;
}

#featured .col-full {
  max-width:75.998em !important;
}

#featured-slider {  
  background-color: none;
}
#featured-slider .entry a, .slide-content a{
  color: #fff;
}
.flex-control-nav {
  margin-top: 1em !important;
}
#featured-fade {
  padding: 0 !important;
}
#featured {
  padding: 0 !important;
  border-bottom: none !important;
}
.flex-direction-nav a {
  overflow: visible !important;
}

#content{
  padding: 1em 0 3em 0;
}

#content .type-page {
  margin:0;
}

.sixcol-two.last {
  margin-bottom:0 !important;
}

#featured-slider.flexslider .has-slide-background .slide-background {
  width: 100%;
}
#featured-slider.flexslider .has-slide-background .slide-content {
/*  background: rgba(0, 0, 0, 0.6) !important;*/
}
/* remove comments */
.comments.button {
  display: none !important;
}
.post-more-sep {
  display: none !important;
}
/* Widgets */
.home #content .widget > h2, .home #content .widget > h3, .widget > h2, .widget > h3{
  font-size: 1em !important;
  font-weight: bold !important;
}
li > ul, li > ol {
  margin: 0 !important;
}
.widget{
  padding: 10px !important;
}

.widget img {
  border-radius:0 !important;
}

.widgets_on_page ul li {
    list-style-type: none !important;
}
.widgets_on_page ul {
    margin: 0 !important;
}
/* other styling */
a.woo-sc-button {
  margin: 0 !important;
}

.wooslider .slide-content {
  float:left !important;
  background: #f5f4f0 !important;  
}

.slide-content .sixcol-two {
  margin-bottom: 0 !important;
  box-sizing: border-box !important;
  padding: 2em 1em;
}

.slide-content .sixcol-two:first-child {
  padding:0 !important;
}

.slide-content h3 {
  line-height: 130%;
}
.slide-content li {
  list-style: disc !important;
}
.post header h1 a:link, .post header h1 a:visited{
/*  font-family: 'Sanchez', Helvetica, serif !important;*/
}
#header #searchform input.s {
  border: none;
  background: #dedede;
}
::-webkit-input-placeholder { /* WebKit browsers */
    color:    #56524e;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:    #56524e;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:    #56524e;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
    color:    #56524e;
}
.post-category, .post-author {
    display: none !important;
}
.archive-header .archive-rss a {
  display: block;
  width: 25px;
  height: 40px;
  overflow: visible;
  position: relative;
  top: 6px;
}
.archive-header .archive-rss a:before {
  font-size: 25px!important;
  font-family: 'FontAwesome';
  display: inline-block;
  font-size: 100%;
  margin-right: .618em;
  font-weight: normal;
  content: '\f09e';
  color: #929190;
}
.archive-header .archive-rss a:hover:before {
  color: #7c7b7b;
}
.post header h1 a:link, .type-page header h1 a:link, .post header h1 a:visited, .type-page header h1 a:visited {
/*  color: #557fae !important;*/
  color: #455F73 !important;
}
.search .post-date {
  color: #a2a2a2 !important;
  list-style: none;
  display: inline;
}
.search .edit {
  list-style: none;
}
.search li.edit {
  display: inline !important;
}
.search li.edit a{
  color: #626262;
}
.search h1 a {
  font-weight: normal;
  font-size: 32px;
/*  color: #557fae !important;*/
  color: #455F73 !important;
}
.search h1 {
  margin-bottom: 2px !important;
  line-height: 100% !important;
}
#footer {
  background: #56524E;
}
#footer strong {
  color: #fff;
  font-size: 110%;
}
#footer p, #footer a, #footer b{
  color: #fffdfb;
}
#footer p {
  margin: 0 !important;
}
#footer a {
  text-decoration: underline;
}
#footer-widgets .widget h3{
  font-family: "Helvetica Neue", Helvetica, sans-serif !important;
  font-weight: bold;
  color: #fff;
  font-size: 18px !important;
}
#footer li {
  text-indent: -1em !important;
  margin-left: 1em !important;
  margin-bottom: 10px;
  list-style-position: inside;
}
.footer-widget-1 {
  background-color: #92918f;
  color: #121212 !important;
}
.footer-widget-1 h3, .footer-widget-1 a {
  color: #121212 !important;
}
#footer #footer-widgets a, #footer .textwidget a {
  font-size: 14px;
}
#copyright {
  margin-top: 65px;
}
#credit{
  width: 50%;
}
#credit p {
  font-size: 10px;
  line-height: 12px;
  margin-bottom: 30px !important;
}
.clearfix {
  clear: both;
}
/* Mobile Tables */
.mTableLink {
  display: none !important;
}
.mTable {
  display: inherit !important;
}

/* Mobile */
@media screen and (max-width: 768px) {
    #header #logo{
      margin-right: 0 !important;
      max-width:250px;
    } 
    #navigation ul.nav > li > a {
      background-color: #56524E !important;
      color: #fff !important;
    }
    ul.nav li a {
    padding: 3px;
    }
    #featured{
      overflow: visible;
    }
    /*#top #top-nav {
    display: inline;
    }
    #top li{
      display: inline;
    }
    #top ul.nav > li > a:hover {
    text-decoration: none;
    }
    #top ul.nav > li:hover > a {
    text-decoration: none;
    }*/
    #top {
      float: none !important;
      padding-top: 0 !important;
      position: relative !important;
      top: -70px !important;
    }
    .search_main {
      position: relative !important;
      top: 18px !important;
    }
    #navigation {
      margin-top: 0 !important;
      position: relative !important;
      top: -60px !important;
      background: #56524E !important;
    }
    #navigation a {
      padding: 10px;
    }
    .sub-menu {
      padding-left: 20px;
    }
    #top select {
      margin: 0 !important;
    }
    #main-nav {
      margin-top: 0 !important;
    }
    #navigation ul.nav ul {
    border-top: 0 !important;
    }
    #ucsf_banner img{
/*      margin: 5px 3px 10px 0 !important;*/
/*      max-height:22px;*/
    }
    #ucsf_header{
      line-height: inherit !important;
    }
    #header #logo {
      height:80%;
      width: 80%;
    }
    #sidebar{
      overflow: inherit !important;
    }
    /* Mobile Tables */
     .mTableLink {
      display: inherit !important;
    }
    .mTable {
      display: none !important;
    }
    
}


/* Tablet */
 @media screen and (min-width: 769px) and (max-width: 1100px) {
    #top{
        position: relative;
/*        top: -100px;*/
    }
    #featured{
      overflow: visible;
    }
    
    #logo {
      width:250px;
    }
    .primary-link {
      font-size:.8em !important;
    }
  } 
@media screen and (min-width: 768px) {
  #header {
    padding-bottom:0 !important;
  }
  }
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation : portrait) {
  #navigation {
    top: -32px !important;
  }
  .search_main {
    top: -130px !important;
  }
  #top {
    top: -110px !important;
  }
  #ucsf_banner img {
    margin: 0 !important;
  }
  #copyright {
    width: 45% !important;
  }
}

/* misc styling addendums; June 2015 */

a button.button.button-donate {
  border-radius:0;
  border:0 !important;
  background:#92918f !important;
  font-size:1.3em;
  padding:.5em 2em;
  margin:1em 0;
}

.woo-sc-box {
  border: none !important;
  background: #f5f4f0 !important;  
}

.woo-sc-box .widget {
  background: none !important;
}

.woo-sc-box h2.widgettitle {
  font-size:1.25em !important;
}

.woo-sc-box .widget a {
  font-weight: bold;
}

.widget_text a .fa {
  color: #92918f;
  font-size: 2.5em !important;
  font-weight: normal !important;
  margin-right: .25em;
}
.widget_text a:hover .fa {
  color: #fff;
}

p#bylinecredits  {
  color:#92918f !important;
}

p#bylinecredits  a {
  color:#eee !important;
}


/* sliders */
.wooslider {
  border: 0 !important;
  box-shadow: none !important;
  background:#f5f4f0;
  border-radius: 0 !important;
}

.wooslider .woo-sc-box {
  border: none !important;
  background: #fff !important;  
}

.wooslider  .woo-sc-box .widget {
  background: none !important;
}

.wooslider ul.slides {
  margin:0 !important;
}

.wooslider .slide-content {
  margin: 0 !important;
}

.wooslider .slide-content img {
  border-radius: 0 !important;
}

.wooslider .slide-content p {
  margin: 0;
}


/* BEGIN Constant Contact newsletter signup form plugin */

.ctct-disclosure{
display: none;
}

/* END Constant Contact newsletter signup form plug */


/* homepage featurd slider */

.flex-direction-nav {
display:none !important;  
}

#featured-slider .slides .slide {
  width:100%;
}
#featured-slider .slides .slide img.slide-background {
  width:100% !important;
  height:auto !important;
  min-width:100%;
}

#featured-slider .slides .slide .slide-title {
  background:#f5f4f0;
  color:#000;
  text-align:center;
  margin:0;
  padding:1em 0 .5em 0;
  font-family: 'Muli','Sanchez', Helvetica, serif !important;
  font-size:.75em;
}

#featured-slider .slides .slide .slide-title h1 {
  font-family: 'Muli','Sanchez', Helvetica, serif !important;
  font-weight:normal !important;
  color:#746F69  !important;
}

@media only screen and (max-width: 768px) {
  #featured-slider .slides .slide .slide-title {
    font-size:.5em;
  }
  
  #featured-slider .slide-content img.alignleft,
  #featured-slider .slide-content img.alignright,
  #featured-slider .slide-content img.aligncenter {
    float:none;
    text-align:none;
    margin:0 auto;
  }  
}

#featured-slider .slides .slide .slide-title a, 
#featured-slider .slides .slide .slide-title a:hover {
  color:#746F69  !important;
  text-decoration:none;
  font-family: 'Muli', 'Sanchez', Helvetica, serif !important;
  font-weight:normal !important;
}

@media only screen and (min-width: 320px) {
  #featured-slider .slide-content {
/*    top:0 !important;*/
    bottom:3.5em !important;
    left:0 !important;
    background: none !important;
    width:100% !important;
    padding:0 15px !important; 
    position: absolute !important; 
  }    
}

@media only screen and (min-width: 768px) {
  #featured-slider .slide-content {
/*    top:0 !important;*/
    bottom:5.25em !important;
  }    
}


/* front page */
.col-frontpage {
  width:100% !important;
  box-sizing: border-box !important;  
}

.col-frontpage .front-page-half-col {
  box-sizing: border-box !important;
  width: 48% !important;
  float: left !important;
  clear: none !important;
/*  margin-right:2em !important;*/
}

/* widgets on frontpage */

.frontpage-col {
  box-sizing:border-box;  
}

.primary-link {
  position:absolute;
  bottom:-5px;
  width:100%;
}


.frontpage-col .primary-link a {
  color:#FAA90C !important;  
  font-weight:bold;
}

.frontpage-col .left-col{
/*  background:#f5f4f0;*/
  box-sizing:border-box;
  float:left;
  width:50%;
  padding:0 1em 0 0;
}

.frontpage-col .right-col{
/*  background:#f5f4f0;*/
/*  padding:1em;*/
  box-sizing:border-box;  
  float:right;
  width:50%;
  
}

.frontpage-col .full-col{
  box-sizing:border-box;  
  float:left;
  width:100%;
}

.frontpage-col .frontpage-widget {
  background:#f5f4f0;
  padding:1em;
  min-height:245px;
  margin-bottom:1em;
  position: relative;
  padding-bottom:4em;
}

.frontpage-col .frontpage-widget h2 {
  font-size:1.75em;  
}

.frontpage-col .frontpage-widget header {
  background:#EFEDE8 !important;
  margin:-1em -1em 1em -1em;
  padding:1em 1em 0 1em;
  width:100%;
  float:left;
}

.frontpage-col .frontpage-widget header h2{
  float:left;
  width:50%;
}

.frontpage-col .frontpage-widget header form{
  float:right;
  width:50% !important;
}


.resources-col {
  width:100%;
  float:left;
  background:#f5f4f0;
/*  padding:1em;*/
  box-sizing:border-box;
}

.resources-col  .header-col {
  padding:0 2em;  
}
.resources-col  .header-col h2{
  padding:.5em 0 0 0;
  font-size:1.75em;
}

.resources-col  .left-col {
  float:left;
  width:50%;
  padding:0 2em;
  box-sizing:border-box;
}

.resources-col  .right-col {
  float:right;
  width:50%;
  box-sizing:border-box;
}

.resources-col .right-col li {
  list-style:none;
}

.resources-col .right-col a[href^="http"]:after {
  font-family: FontAwesome;
  content: " \f08e"; 
  color: #aaa;
}

#header .nav-toggle:after {
  border:0 !important;
  box-shadow:none !important;
}

/* homepage modules */

.homepage-modules {
  float:left;
  width:100%;
  margin:0 0 1em 0;
}

.homepage-modules .module-container img.module-image {
  border-radius:0px !important;
  -webkit-border-radius:0px !important;
}

.homepage-modules .module-container {
  background:#f5f4f0;  
  min-height:375px;
  min-height:360px;
/*  max-height:375px;*/
  position:relative;
}

.homepage-modules .module-container h3 a{
  font-weight:bold;
  color:#3E3E3E !important;
}

.homepage-modules .module-container .fa {
  color:#fff;
  background:#aaa;
  border-radius:100px;
  padding:5px;
  text-align:center;
  width:12px;
  height:12px;
}

.homepage-modules .module-container .primary-link a {
  color:#FAA90C !important;  
  font-weight:bold;
}


.homepage-modules .module-container .module-text{
  padding:1em;
  word-wrap: break-word !important;
}

/* primary home module; float left, make larger */
.homepage-modules .primary-module{
 float:left;
 width:30%; 
 box-sizing:border-box;
}

.homepage-modules .primary-module h3{
  padding:.5em 1em;
  background:#EFEDE8 !important;
  margin:0;
}

.homepage-modules .primary-module .module-container {
/*  min-height:764px;*/
  min-height:734px;
}

.homepage-modules .additional-modules {
  float:right;
  width:100%;
  box-sizing:border-box;
}

.homepage-modules .additional-modules .module {
  float:left;
  width:33.3%;
  padding:0 0.5em 1em 0.5em;
  box-sizing:border-box;
  overflow:hidden;
/*  max-height:500px;*/
}

/* responsive adjustments on homepage stuff */
@media screen and (max-width:800px) {
  
  .primary-link {
    position:relative !important;
    width:auto;
    font-size:.8em;
  }
  
  .homepage-modules .primary-module .module-container {
    min-height:inherit;
    min-height:640px;
  }
  
  
  .homepage-modules .primary-module{
    float:none;
    width:auto ;
    padding:0 0 1em 0;
  }
  .homepage-modules .additional-modules {
    width:auto;
  }
  .homepage-modules .additional-modules .module {
    float:none;
    width:auto;
    padding:0 0 1em 0;
  }
  
  .frontpage-col .right-col, 
  .frontpage-col .left-col{
    width:100% !important;
/*    width:100%;*/
/*    float:none;*/
    padding:0;
  }
  
  .resources-col .right-col, 
  .resources-col .left-col {
    width: auto;
    padding:1em;
    font-size:1em;
    float:none !important;
    padding:0 2em !important;
    
  } 
}

.news-list {
  list-style:none !important;
  padding:0;
  margin:0;
}

.news-list li {
  margin:1em 0  !important;
  line-height:1.25em  !important;
}

.news-list li a { 
  font-weight:bold  !important;
}

.news-list li date {
  color:#888  !important;
  font-size:1em  !important;
}

input.s {
  border-radius:0 !important;
  border:0 !important;
  box-shadow:none !important;
}

form.searchform {
  border-radius:0 !important;
  border:0 !important;
}


/* mobile select menu */
select#mobileMenu_top-nav.mobileMenu {
  -webkit-appearance: none	;
  background:#fff;
  border:1px #aaa solid;
  padding:4px 1em;
  border-radius:0;
  color:#888;
  background:no-repeat url(images/down-arrow_2x.png) right 1em center;
  background-size:auto 45%;
}

/* hard rest on border radius for images set in parent theme */
.post img, .type-page img, .post img.thumbnail, .type-page img.thumbnail {
  border-radius:0;
}


/**
* Simple Banner Tweaks
**/

#simple-banner {
  /* background-image:url(images/exclamation-circle.svg); */
  background-repeat: no-repeat;  
  background-size: auto 50%;
  background-position: 25px 50%;  
  box-sizing:border-box;
  width:100vw;
  text-align:left;  
  font-size: 100%;  
  line-height:1.25;
}

#simple-banner .simple-banner-text {
  font-weight:normal !important;
  margin:0 auto;  
  /* max-width:75.998em !important; */
  max-width:68.998em !important;
}

#simple-banner .simple-banner-text:before {
  font-family: FontAwesome;
  content: "\f06a";
  margin-right:1em;
  font-size: 1.5em;;
  vertical-align: sub;
}

#simple-banner a {
  text-decoration: underline;
  font-weight:bold;
}

@media screen and (max-width: 768px) {
  #simple-banner {
    background-size: 25px;
    background-position: 10px 50%;
    padding-left:30px;
  }
}

#nccc-secondary-banner {
  /* background:#333; */
  /* color:#fff; */
  border:1px #FAA90C solid;
  border-left-width: 8px;
  padding:2em;
  margin:0 0 1em 0;
  font-size:18px;
}

#nccc-secondary-banner h2 {
  font-size:1.8em;
}

/* #nccc-secondary-banner:before {
  content:" ";
  border-top:1px #aaa solid;
  margin:1em 0;
  display:block;
} */

#nccc-secondary-banner hr {
  display:none;
}

#nccc-secondary-banner a {
  color:#FAA90C !important;
  font-weight: bold;
  text-decoration: underline;
}

#nccc-secondary-banner p,
#nccc-secondary-banner h2 {
  /* color:#fff !important; */
}

.toggle-trigger {
  font-weight: bold;
}