/*
 Theme Name:   inHope Subsite Child Theme
 Theme URI:    https://wordpress.com/themes/colinear/
 Description:  Colinear Child Theme
 Author:       Craig Tommola / based on Colinear by Automattic
 Author URI:   http://facebook.com/craigtommola
 Template:     colinear
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags: black, blue, white, one-column, two-columns, three-columns, left-sidebar, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-images, flexible-header, rtl-language-support, sticky-post, theme-options, translation-ready, light
 Text Domain:  colinear-child
*/

/* Customizations to the Colinear base style for Hope College branding */

body, #page {
  background-color: #f8f7f4;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
  color: #585552 !important;
  font-family: "ff-tisa-web-pro", "TisaPro-Regular", Georgia, serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.site-title {
  font-family:"Verlag A","Verlag B","Verlag-Book",Helvetica,Arial,sans-serif;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/

/* Menu Toggle */

.menu-toggle.toggled, button.menu-toggle {
  background: #002244;
  color: #ffffff !important;
}
.toggled .menu-toggle:active,
.toggled .menu-toggle:focus,
.toggled .menu-toggle:hover {
  background: #002244;
}

.main-navigation ul {
  background: #002244;
}
.main-navigation li {
  border-bottom: 0;
}

.main-navigation ul ul {
  border-top: 0;
  color: #fff;
  background: #002244;
}


/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
  color: #002244;
  font-weight: normal;
  text-decoration: underline;
}
a:visited {
  font-weight: normal;
}
a:hover,
a:focus,
a:active {
  text-decoration: underline;
}
a:focus {
  outline: thin dotted;
}
a:hover,
a:active {
  outline: 0;
}

.entry-footer a:active, .entry-footer a:focus, .entry-footer a:hover {
  color: #002244;
}

/*--------------------------------------------------------------
## Main Navigation
--------------------------------------------------------------*/

.main-navigation{
  margin:0 auto;
  border: none;
}

nav#site-navigation.main-navigation {
  background-color: #002244;
  padding: 0;
}

nav#site-navigation.main-navigation a {
  color: #ffffff;
  font-family:"Verlag A","Verlag B","Verlag-Book",Helvetica,Arial,sans-serif;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  font-size: 13px;
  cursor: pointer;
}

.main-navigation .current_page_item > a, .main-navigation .current-menu-item > a, .main-navigation .current_page_ancestor > a, .main-navigation a:active, .main-navigation a:focus, .main-navigation a:hover, .main-navigation li:hover > a {
  background-color: #ffffff !important;
  color: #002244 !important;
}

.menu.nav-menu ul {
  height: 40px;
}
.menu.nav-menu li {
  height: 40px;
  line-height: 28px;
  background: #002244;
  border: none;
}

.site-branding {
  float: left;
  width: 100% !important;
  padding: 24px 0 0 0;
  text-align: center;
}

/*--------------------------------------------------------------
## Footer
--------------------------------------------------------------*/
.site-footer {
  border-top: 1px solid #c6c6c4;
  color: #585552;
  font-size: 13px;
  line-height: 1.3847;
  padding: 12px 0;
}
.site-footer a {
  color: inherit;
}
.site-footer a:active,
.site-footer a:active,
.site-footer a:hover {
  color: #5482ab;
}
.site-footer .sep {
  line-height: 1.125;
}

.footer-logo {
  width: 240px;
  margin-bottom: 18px;
  margin-top: 6px;
}

/*--------------------------------------------------------------
## Posts & Pages
--------------------------------------------------------------*/

.sticky {
  background: #f2f2ef;
  border:1px solid #d8d8d6;
  border-top: 3px solid #585552;
  border-bottom-color: #c6c6c4;
  box-shadow: 0 1px 2px 0 rgba(0,0,0,0.06);
}

.entry-title a,
.page-title a {
  font-family:"Verlag A","Verlag B","Verlag-Book",Helvetica,Arial,sans-serif;
}

.entry-title a, .entry-title a, .entry-title a, .page-title a, .page-title a, .page-title a {
  color: #002244;
}
.entry-title a:active, .entry-title a:focus, .entry-title a:hover, .page-title a:active, .page-title a:focus, .page-title a:hover {
  color: #002244;
  text-decoration: underline;
}

/* Entry Header */
.page-header {
  border-bottom: 1px solid #d8d8d6;
  border-top: 3px solid #585552;
}

article.post {
    border-top: 1px solid #d8d8d6;
    padding-top: 36px;
}

main#main.site-main article:first-child {
    border-top: 0;
}

.entry-footer {
    padding-bottom: 24px;
}

.entry-content img {
    padding-top: 24px;
}
/*--------------------------------------------------------------
## Site Logo
--------------------------------------------------------------*/
.site-logo-link:active,
.site-logo-link:focus,
.site-logo-link:hover {
  opacity: 1.0;
}

/*--------------------------------------------------------------
## Widgets
--------------------------------------------------------------*/
.widget {
  border-top: 0;
}

/* Recent Posts & RSS */
.widget_recent_entries .post-date,
.widget_rss cite,
.widget_rss .rss-date {
  color: #585552;
  display: block;
  font-weight: normal;
}

h2.widget-title {
  color: #ffffff;
  background-color: #002244;
  padding: 4px 0 4px 8px;
  letter-spacing: 1px;
}

/*--------------------------------------------------------------
## Header
--------------------------------------------------------------*/

.site-title a:active,
.site-title a:focus,
.site-title a:hover {
  color: #5482ab;
}

/* Additional Customizations to base content styles */

h1.site-title, p.site-title, h2.widget-title {
  font-family:"Verlag A","Verlag B","Verlag-Book",Helvetica,Arial,sans-serif;
}
body {
  font-family: "ff-tisa-web-pro", "TisaPro-Regular", Georgia, serif;
}
aside.widget_rss a {
  color:#5482ab;
}
.hentry {
  margin-bottom: 0;
}

input.button {
    background: #002244;
    border: 1px solid #d35f36;
    border-radius: 1px;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.25);
    display: inline-block;
    color: rgba(255,255,255,0.9) !important;
    letter-spacing: 1px;
    line-height: 1.2em;
    padding: 1.166666667em;
    text-align: center;
    text-shadow: none;
    text-transform: uppercase;
    font-family: "Verlag A","Verlag B","Verlag-Book",Helvetica,Arial,sans-serif;
    -webkit-font-smoothing: subpixel-antialiased;
    font-size: 11px;
    font-weight: normal;
    float: right;
}

input.button:hover, .close-info:hover {
    color: #ffffff !important;
    text-decoration: none;
    background-color: #f57a37;
    border-color: #d35f36;
}

/* Customizations for Calls to Action / Promos */

.cta h2.widget-title {
  display: none;
}

aside.cta.widget, aside.cta>div.textwidget {
  border-top: 0;
  margin-bottom: 0;
}

.cta a, a.cta {
  background: #4d4f53;
  border-bottom: 2px solid #343639;
  border-top: none;
  color: rgba(255,255,255,0.85);
  display: block;
  line-height: 1.5em;
  margin-bottom: .75em;
  padding: 18px 22px;
  cursor: pointer;
  font-family: "ff-tisa-web-pro","TisaPro-Regular",Georgia,serif;
  font-size: 16px;
  font-size: 1rem;
  line-height: 30px;
  line-height: 1.875rem;
  font-weight: normal !important;
  -webkit-font-smoothing: antialiased;
  color: #ffffff;
  text-decoration: none;
  box-shadow: none;
  cursor: pointer;
}

.cta a:hover, a.cta:hover {
  color: rgba(255,255,255,0.85);
    text-decoration: none;
    box-shadow: none;
    -webkit-transition: all 0.25s ease-out;
    -moz-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;
}

.cta a:after, a.cta:after  {
    background: url(https://in.hope.edu/wp-content/themes/inhope/img/icn-sprite.svg) -697px -301px no-repeat !important;
    background-size: auto;
    content: '';
    display: inline-block;
    height: 16px;
    margin-left: .3em;
    opacity: .75;
    position: relative;
    top: 4px;
    width: 18px;
}

.cta {
    padding-top: 0;
    border-top: none;
    margin-bottom: 1.5em;
}

.cta.academics a, a.cta.academics {
  background: #002244;
  border-bottom-color: #003c77;
}
.cta.academics a:hover, a.cta.academics:hover {
  background: #00152b;
}

.cta.admissions a, a.cta.admissions {
  background: #008296;
  border-bottom-color: #6eadb7;
}
.cta.admissions a:hover, a.cta.admissions:hover {
  background: #006c7d;
}

.cta.research a, a.cta.research {
  background: #00685b;
  border-bottom-color: #004f45;
}
.cta.research a:hover, a.cta.research:hover {
  background: #004f45;
}

.cta.arts a, a.cta.arts {
  background: #9A6E00;
  border-bottom-color: #815c00;
}
.cta.arts a:hover, a.cta.arts:hover {
  background: #815c00;
}

.cta.campus-life a, a.cta.campus-life {
  background: #4F7AA1;
  border-bottom-color: #476d90;
}
.cta.campus-life a:hover, a.cta.campus-life:hover {
  background: #476d90;
}

.cta.athletics a, a.cta.athletics {
  background: #C45114;
  border-bottom-color: #62290a;
}
.cta.athletics a:hover, a.cta.athletics:hover  {
  background: #62290a;
}

.cta.giving a, a.cta.giving {
  background: #91420e;
  border-bottom-color: #622d0a;
}
.cta.giving a:hover, a.cta.giving:hover {
  background: #7a370c;
}

.noTopBorderWidget {
  border-top: none;
}

.noBottomBorderWidget {
  border-bottom: none;
}

.noNameWidget .widget-title {
  display: none;
}

.noNameWidget {
  padding-top: 0px;
}

.shortBottomMargin {
margin-bottom: 1.5em;
}

.shortTopPad {
padding-top: .5em !important;
}

h2.subcat-hdr, h3.subcat-hdr {
  text-transform: uppercase;
  font-weight: 800;
  margin-top: 2em;
  letter-spacing: 2px;
}
div.housing-roommate-listings {
  margin-top:1em;
  margin-bottom:1em;
  padding-left: .75em;
}
div.housing-roommate-listings h2.subcat-hdr, div.housing-roommate-listings h3.subcat-hdr {
  color: #f8f7f4;
  padding: 9px 18px;
  background-color: #585552;
}
div.housing-roommate-listings h2.subcat-hdr{
  background-color: #002244;
}
div.housing-roommate-listings h3.subcat-hdr {
  background-color: #4d657c;
}
div.housing-roommate-listings article.post {
  border-top: 0;
}
span.cat-links, span.tags-links {
  display: none;
}

.housing-subnav {
    width: 100%;
    background: #757572;
    /*margin-top: -1.5em !important;*/
    margin-bottom: 1.5em;
}
 
.housing-subnav ul {
    overflow: hidden;
    margin: 0;
    padding: 0;
}
 
.housing-subnav ul li {
    list-style: none;
    float: left;
    text-align: center;
    border-left: 1px solid #424240;
  border-bottom: 2px solid #424240;
    width: 25%; /* fallback for non-calc() browsers */
    width: calc(100% / 4);
    box-sizing: border-box;
}
 
.housing-subnav ul li:first-child {
    border-left: none;
}
 
.housing-subnav ul li a {
    display: block;
    text-decoration: none;
    color: #ffffff;
    padding: 16px 0;
  font-family:"Verlag A","Verlag B","Verlag-Book",Helvetica,Arial,sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.housing-subnav ul li a:hover {
    background: #424240;
}

h2 a.heading-anchor, h3 a.heading-anchor {
    display: block;
    position: relative;
    top: -9em;
}

h3.ui-accordion-header {
    border-bottom: 1px solid #cdcccb;
    line-height: 65px;
    margin-bottom: 0;
    padding-left: 18px;
}
span.ui-accordion-header-icon {
display: inline-block;
    background-image: url(https://hope.edu/_resources/img/icn-close-black.svg);
    background-size: contain;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    height: 10px;
    width: 10px;
    line-height: 20px;
    left: 95%;
    opacity: .5;
    position: relative;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: -webkit-transform .25s ease-out;
    -moz-transition: -moz-transform .25s ease-out;
    transition: transform .25s ease-out;
    /*border: 1px solid red;*/
}
h3.ui-accordion-header-active > span.ui-accordion-header-icon {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
}
span.ui-accordion-header-icon:hover {
  opacity: 1.0;
}
h3.ui-accordion-header-active {
  border-bottom: 0;
}

.ui-accordion-content-active {
  border-bottom: 1px solid #cdcccb;
}

.ui-accordion-content {
  padding-left: 24px;
  padding-top: 24px;
}

.ui-accordion-content footer.entry-footer:before {
  background: transparent;
}

@media screen and (max-width: 864px) {
  /* Main Navigation */
  .main-navigation {
    margin-top:124px;
    margin-bottom: 24px;
  }
}
@media screen and (min-width: 865px) {
  /* Main Navigation */
  .main-navigation {
    margin-top:148px;
  }
}
@media screen and (max-width: 450px) {
  /* Main Navigation */
  .main-navigation {
    margin-top:100px;
    margin-bottom: 24px;
  }
}