/*
Theme Name: iCord theme
Version: 1.1
Description: Child of Cogito_wp which is a wordpress theme based on the foundation CSS.
Author: Matt Reimer @ Raised Eyebrow Web Studios. Updates by Adam Mesa (2017/18 WorkLearn)
Author URI: http://raisedeyebrow.com
Template: cogito_wp
*/
/************************************************************
Import Cogito's style.css file to get our wireframe on top
of the foundation framework
/*************************************************************/
@import url("../cogito_wp/style.css");
@import url("colours.css");
@import url('https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700&display=swap');
/*@import url("animate.css");*/

/*************************************************
  General
*************************************************/
/* @font-face {
    font-family: 'Lato', sans-serif;
    src: url('fonts/asap-fontfacekit/Asap-Regular-webfont.eot');
    src: url('fonts/asap-fontfacekit/Asap-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/asap-fontfacekit/Asap-Regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AsapBold';
    src: url('fonts/asap-fontfacekit/Asap-Bold-webfont.eot');
    src: url('fonts/asap-fontfacekit/Asap-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/asap-fontfacekit/Asap-Bold-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
} */

body {
  font-family: 'Lato', sans-serif;
  font-size: 14px; font-size: 1.4rem;
  line-height: 1.43;
  color: #666666;
}

h1, h2, h3, h4 { font-family: 'Roboto Slab', serif; font-weight: normal;}
h1 {font-size: 2.6em;} /* Changing these values? Look at bottom of style.css */
h2 {font-size: 2.2em;} /* and update the Divi style override to match! */
h3 {font-size: 1.9em;}
a { color: #1a99e0;}
aside h3 { font-size: 1.5em; } /* Override */

table { border: medium none; width: 100%!important;}

table thead tr th, table tfoot tr th, table tbody tr td, table tr td, table tfoot tr td {
  font-size: 14px; font-size: 1.4rem;
  line-height: 18px;
  text-align: left;
}

#content .entry-title, #content .page-title {
    font-size: 25px; font-size: 2.5rem;
    padding: 2px 0 5px;
    line-height: 37px;
    -moz-border-radius: 3px 3px 0 0;
    -webkit-border-radius: 3px 3px 0 0;
    border-radius: 3px 3px 0 0;
    color: white;
    padding-left: 15px;
    /* text-shadow: #444 1px 1px 1px; */
}

#main #content h1.entry-title a, #main #content h1.entry-title a:visited{
    font-size: 32px; font-size: 3.2rem;
    padding: 2px 0 5px;
    line-height: 37px;
    -moz-border-radius: 3px 3px 0 0;
    -webkit-border-radius: 3px 3px 0 0;
    border-radius: 3px 3px 0 0;
    color: white;
    /* text-shadow: #444 1px 1px 1px; */
}



body.blog #content .entry-title, #content h1.page-title{  margin-bottom: 0px; }
.blog-header{ margin-bottom: 12px;}

.page #content .page .entry-title a, .single #content .entry-title a{ color: white; }

#content .researcher-name a{
  font-family: 'Lato', sans-serif; font-weight: normal;
  font-size:18px; font-size: 1.8rem;
  color: #39a7e4;
}

body.archive #content .researcher-row{
  clear:both; margin-bottom: 30px;
}

#content #event-details {  margin: 0 0 10px; }
#content #event-details label{ font-weight: bold; }

.search-body { padding: 0 15px; }
#content .search-body .entry-content { padding: 0 0 0 0; }

.taxlabel{ font-weight: bold;}

article.post { margin-bottom: 1.5em;}

/*************************************************
  Header & Layout
*************************************************/
#header-container, #header-container #branding, #header-container #branding .row{ background: #f1592a;}

/* #header-container { z-index: 3; }
#page { z-index: 1; } */
#page {background: #eeeeee;}
#main { background: transparent; padding-top: 0; margin-bottom: 20px;}

#main #content{
  background : white;
  min-height: 250px;
  -moz-border-radius: 3px 3px 3px 3px;
  -webkit-border-radius: 3px 3px 3px 3px;
  border-radius: 3px 3px 3px 3px;
}
#main #sidebar-right{
  width: 24.1%;
  margin-left: 2%;
  -moz-border-radius: 3px 3px 3px 3px;
  -webkit-border-radius: 3px 3px 3px 3px;
  border-radius: 3px 3px 3px 3px;
}

.home #breadcrumbs{
  display: none;
}

#breadcrumbs{
  padding: 10px 0;
  margin-bottom: 18px;
  -moz-border-radius: 0 0 3px 3px;
  -webkit-border-radius: 0 0 3px 3px;
  border-radius: 0 0 3px 3px;
}
#breadcrumbs #breadcrumb-wrapper{ margin: 0 20px;}

body .opacity-half {
  opacity: 0.5;
}

#reply-title { font-weight: normal; }

#content .entry-content,
#content .entry-meta,
#content .template-title,
#comments{ padding: 0 15px; }

#content #list-contents{ padding: 0 15px; }
#content #list-contents .entry-content, #content #list-contents .entry-meta{ padding: 0; }
#content .entry-date { font-weight: bold;}
#content .entry-header { margin-bottom: 10px;}
#comments { margin: 20px 0 ;}

/*************************************************
  Orbit
*************************************************/
div.orbit-wrapper { position: relative; max-width: 640px; }

div.orbit-wrapper div.slider-nav {
  display: block;
  position: absolute;
  max-width: 640px;
  top: 100%;
  height: 29px;
  background: #333;
  width: 100%;
}

div.orbit.with-bullets { margin-bottom: 29px; }

div.orbit-wrapper div.slider-nav .right, div.orbit-wrapper div.slider-nav .left{
  height: 29px; width: 30px;
  top: 0;
  position: absolute;
  margin: 0;
}
div.orbit-wrapper div.slider-nav span.left { left: 0; background: url(images/orbit-left.png); }
div.orbit-wrapper div.slider-nav span.right { right: 0; background: url(images/orbit-right.png); }

ul.orbit-bullets li { background: url(images/bullets.png) no-repeat -12px 0; width: 12px;}
ul.orbit-bullets li.active {background-position: -0px 0; }

/* Slight adjustment +0.2% to eight columns on front page */
#fp-top.row .eight.columns { width: 65.4%; }
#fp-top.row .four.columns { width: 30.14%; margin: 0 2.2%; }


/*************************************************
 Homepage
*************************************************/
#fp-top.row {
  background: #fff;
  -moz-border-radius: 0 0 3px 3px;
  -webkit-border-radius: 0 0 3px 3px;
  border-radius: 0 0 3px 3px;
}

#fp-top.row .four.columns h1{
  font-size: 36px; font-size: 3.6rem;
  color: #f1592a;
  margin-top: 10px;
}

#fp-top.row .four.columns .widget-inner { font-size: 20px; font-size: 2.0rem; line-height: 2.8rem;}

@media only screen and (min-width: 820px){ /** @Adam **/
  #fp-top .ICORD_hideondesktop {
    display: none !important;
  }
}

#fp-widgets.row { background: #eeeeee; padding: 15px 0 ;}

#fp-widgets .columns.four { width: 31.85%; margin-left: 2.2%;}
#fp-widgets .columns:first-child { margin-left: 0;}


#fp-widgets .widget { background: white; min-height: 490px;
		-moz-border-radius: 3px;
		-webkit-border-radius: 3px;
		border-radius: 3px;
		}
#fp-widgets .widget-title{
  background: #666666;
  height: 50px;
  font-size: 24px; font-size: 2.4rem;
  line-height: 2;
  text-align: center;
  color: white;
  margin-bottom: 0;
  /* text-shadow: #444 1px 1px 1px; */
	-moz-border-radius: 3px 3px 0 0;
	-webkit-border-radius: 3px 3px 0 0;
	border-radius: 3px 3px 0 0;
}

#fp-widgets .widget-title a{ color: white; }
#fp-widgets .wp-post-image { margin-bottom: 15px;}

#fp-widgets .scribe_widget .widget-title,
#fp-widgets .scribe_widget .widget-title a{ background: #007dc3;}

#fp-widgets #re-shailan-subpages-widget-2 .widget-title,
#fp-widgets #re-shailan-subpages-widget-2 .widget-title a{ background: #12a89d; }

#fp-widgets #re-shailan-subpages-widget-3 .widget-title,
#fp-widgets #re-shailan-subpages-widget-3 .widget-title a{ background: #8ac83f; }

/* ------- UPDATES --------
 *  The following 16 lines were updated on August 24, 2018 by Adam (new list styling)
 * **************************/
#fp-widgets ul, #content .entry-content ol, #fp-widgets p {  margin-left: 15px; margin-right: 15px; }
#fp-widgets li {
  list-style: none;
  font-weight: bold;
  margin-top: 0;
  padding-bottom: 5px;
  border-bottom: 1px solid #eee;
  margin-bottom: 8px;
}

#fp-widgets li:last-child { border-bottom: 0; }

.learn-more {
  text-align: right;
  width: 100%;
  border-top: 1px dotted #DDD;
  padding-top: 7px;
}

#fp-widgets .learn-more {
  position: absolute;
  bottom: 0;
  padding: 10px 0 15px;
}
#fp-widgets .learn-more a{ margin-right: 10px; }

/*************************************************
  NAV
*************************************************/

#access {
  background: #ef815f;
  font-family: 'Lato', sans-serif;
  font-weight: bold;
  font-size: 14px; font-size: 1.4rem;
  text-transform: uppercase;
  padding-left: 5px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  color: #2e3192;
		-moz-border-radius: 3px 3px 0 0;
		-webkit-border-radius: 3px 3px 0 0;
		border-radius: 3px 3px 0 0;
    height: 37px;
}
#access ul ul { top: 30px; }

#access a{
  color: #fff;
  display: block;
  line-height: 30px;
  padding: 0 1em 0 1em;
  margin: 0 2px;
    -moz-border-radius: 3px 3px 0 0;
    -webkit-border-radius: 3px 3px 0 0;
    border-radius: 3px 3px 0 0;
}

#access .current-menu-item > a {
  color: #666;
}

#access .arrow a { padding-right: 2em; }

#access ul ul a{
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
}

#access li{margin-top: 7px;}
#access ul ul li{margin-top: 0px;}
#access .current-menu-item a, #access li:hover a{ background: white; }

#access .current-menu-item a:before,
#access .current-menu-item a:after {
  position: absolute;
  bottom: -1px;
  width: 6px;
  height: 6px;
  content: ' ';
}

#access .current-menu-item:not(:first-child) a:before {
  left: -3px;
  border-bottom-right-radius: 6px;
  border-width: 0 1px 1px 0;
  box-shadow: 2px 2px 0 #fff;
}
#access .current-menu-item:not(:first-child) a:after {
  right: -3px;
  border-bottom-left-radius: 6px;
  border-width: 0 0 1px 1px;
  box-shadow: -2px 2px 0 #fff;
}

#access .arrow-img {
  width: 12px;
  top: 40%;
  right: 10px;
}

#access .sub-menu .arrow-img, #access li:hover .arrow-img,
#access li.current-menu-item .arrow-img {
  background: transparent url(images/menu-arrow.gif) top left no-repeat;
  top: 30%;
}

/*************************************************
  Widgets
*************************************************/
#sidebar-right .widget{
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    padding: 10px;
}

#sidebar-right .widget:not(:last-child) {
  margin-bottom: 20px;
}

#sidebar-right .widget-contents{
  background: white;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    padding: 10px;
}

/* --------- UPDATES -----------
 * The following 12 lines are changes made by Adam on August 24, 2018
 * ****/
#sidebar-right .widget-contents li {
	border-bottom: 1px solid #eee;
	margin-bottom: 5px;
	padding-bottom: 5px;
}

#sidebar-right .widget-contents li:last-child { border-bottom: 0 }
#sidebar-right .widget-contents ul { margin-left: 0; margin-bottom: 0; }

/*#sidebar-right .widget-contents ul{ margin-left: 20px; }
#sidebar-right .widget-contents li{list-style: disc; margin-bottom: 4px; }*/
#sidebar-right .widget h3, #sidebar-right .widget h3 a{ color: white; }

#searchform { margin-top: 60px;}

#searchform #s{
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: 0;
  background: rgb(253, 230, 223);
  border-color: rgb(253, 230, 223);
  transition: 0.2s linear all;
}

#searchform #s:hover, #searchform #s:active, #searchform #s:focus {
  background: #fff;
  border-color: #fff;
}


#searchform .small.button{
  border: medium none;
  height: 31px;
  text-transform: uppercase;
  line-height: 16px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  transition: all 0.2s linear;
  color: transparent;
  background: #ef815f url('/wp-content/uploads/2017/09/magnify.png') center center no-repeat;
  background-size: 24px;
  padding-left: 0;
  padding-right: 0;
}

#searchform .small.button:hover {
  box-shadow: 0 0 4px rgba(0,0,0,0.25);
  background-color: #fb997a;
}

.shailan_SubpagesWidget ul {
  font-weight: bold;
  margin-bottom: 50px;
}

#sidebar-right .widget_recent_entries img{ display: none; }
#sidebar-right .widget_recent_entries ul{ margin-left: 0; }
#sidebar-right .widget_recent_entries li {list-style: none; }

@media only screen and (max-width: 767px) {
  #searchform { margin-top: 10px;}
  #searchform #s{
    width: 67%;
    max-width: 68%;
  }
  #searchform .small.button{
    width: 27%;
    max-width: 28%;
  }
    #branding img {
    vertical-align: top;
    width: 100px;
  }
}

@media only screen and (min-width: 415px) and (max-width: 767px) {
  #searchform #s {
    width: 70%;
    max-width: 70%;
  }
}


/*************************************************
  Footer
*************************************************/

#footer-container {background: white;}

#footer {
  border-top: medium none;
  padding: 15px 0 40px;
}
#footer .widget { margin: 0 15px; }

#ultimate-follow-me{
  text-align: right;
}

.nocomments{display: none;}

footer{clear: both;}

.addthis_toolbox{ margin-top: 30px; margin-left: 15px; }

/*************************************************
  Mobile nav
*************************************************/

  #mobile-nav-trigger {
    background-color: #000;
    position: relative;
    height: 50px;
  }
  #mobile-nav-trigger a {
    color: white;
    /* margin: 13px 20px; */ /* Commented out on May 29th for Responsive Menu */
    text-decoration: none;
  }
  #mobile-nav-trigger {
    color: white;
  }
  #mobile-nav-trigger #menu-link {
    font-size: 20px;
    line-height: 50px;
    padding: 15px 0;
  }
  #mobile-nav-trigger #menu-link:before {
    content: "≡ ";
    font-size: 20px;
    line-height: 50px;
    font-weight: normal;
  }
  #mobile-nav-trigger .donate{
    position: absolute;
    font-size: 20px;
    background: #ed008c;
    top: 0;
    right: 0;
    margin: 0;
    height: 50px;
    line-height: 50px;
    padding: 0px 20px;
    -moz-border-radius: 1000px 0 0 1000px;
    -webkit-border-radius: 1000px 0 0 1000px;
    border-radius: 1000px 0 0 1000px;
  }

#mobile-nav {
    left: 10%;
    background-image: none;
    background-color: transparent;
    top: 20px!important;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    padding: 0;
  }
  #mobile-nav li a {
    background-color: #f1592a;
    display: block;
    color: white;
    font-size: 28px;
    font-weight: normal;
    border: 1px solid #d1390a;
    line-height: 1;
    padding: 10px;
    -webkit-box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.8);
    -moz-box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.8);
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.8);
  }
  .reveal-modal-bg {
    background: white;
  }

/*************
 * Mobile nav dimmer
 *************/
body::after {
  content: ' ';
  background:#000;
  opacity:0;
  position:fixed; /* important to use fixed, not absolute */
  top:0;
  left:0;
  width:100%;
  height:100%;
  z-index: -5;
}
.responsive-menu-open body::after {
  transition: 0.1s all linear;
  opacity: 0.5;
  z-index:99; /* may not be necessary */
}

/*
 * Sidebar on mobile padding fix
 */

@media only screen and (max-width: 767px) {
  #main #sidebar-right {
    margin-left: 0;
    margin-top: 2%;
  }
}

/*************
 * Divi builder styling: Helps fix various conflicts between divi, the theme,
 * and other plugins
 *************/

/* Jetpack stats not verified */
.et-fb #wp-admin-bar-stats {
  display: none;
}

/* Divi builder was changing the font sizes on smaller columns... this fixes that */
.et-db #et-boc .et_pb_column_1_3 h1,.et-db #et-boc .et_pb_column_1_4 h1,.et-db #et-boc .et_pb_column_1_5 h1,.et-db #et-boc .et_pb_column_1_6 h1,.et-db #et-boc .et_pb_column_2_5 h1 {
    font-size: 2.6em;
}

.et-db #et-boc .et_pb_column_1_3 h2,.et-db #et-boc .et_pb_column_1_4 h2,.et-db #et-boc .et_pb_column_1_5 h2,.et-db #et-boc .et_pb_column_1_6 h2,.et-db #et-boc .et_pb_column_2_5 h2 {
    font-size: 2.2em;
}

.et-db #et-boc .et_pb_column_1_3 h3,.et-db #et-boc .et_pb_column_1_4 h3,.et-db #et-boc .et_pb_column_1_5 h3,.et-db #et-boc .et_pb_column_1_6 h3,.et-db #et-boc .et_pb_column_2_5 h3 {
    font-size: 1.9em;
}

.et-db #et-boc .et_pb_column_1_3 h4,.et-db #et-boc .et_pb_column_1_4 h4,.et-db #et-boc .et_pb_column_1_5 h4,.et-db #et-boc .et_pb_column_1_6 h4,.et-db #et-boc .et_pb_column_2_5 h4 {
    font-size: 2.1rem;
}

.et-db #et-boc .et_pb_column_1_3 h5,.et-db #et-boc .et_pb_column_1_4 h5,.et-db #et-boc .et_pb_column_1_5 h5,.et-db #et-boc .et_pb_column_1_6 h5,.et-db #et-boc .et_pb_column_2_5 h5 {
    font-size: 1.8rem;
}

.et-db #et-boc .et_pb_column_1_3 h6,.et-db #et-boc .et_pb_column_1_4 h6,.et-db #et-boc .et_pb_column_1_5 h6,.et-db #et-boc .et_pb_column_1_6 h6,.et-db #et-boc .et_pb_column_2_5 h6 {
    font-size: 1.5rem;
}
