/*
 Theme Name: 	Alex Stone Child Theme
 Theme URI: 	http://alex-stone.themerex.net/
 Description: 	Alex Stone Child Theme
 Author: 		Themerex
 Author URI: 	http://themerex.net/
 Template: 		alex-stone
 Version: 		1.0
 License:      	GNU General Public License v2 or later
 License URI:  	http://www.gnu.org/licenses/gpl-2.0.html 
 Tags: 			flexible-header, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, full-width-template, microformats, post-formats, theme-options, threaded-comments, translation-ready
 Text Domain: 	alex_stone
*/

@import url('./fonts/1898/1898font.css');
@import url('//fonts.googleapis.com/css?family=Open+Sans:400,400i,600,600i');

* {
  font-family: 'Open Sans', sans-serif !important;
}

h1,h2,h3,h4,h5,
#menu-main-menu *,
.breadcrumbs *,
.timely th {
  font-family: '1898 Sans', 'Open Sans', sans-serif !important;
}
.ai1ec-fa {
  font-family: Timely_FontAwesome !important;
}

h2, h3, h4, h5, h6 {
  margin-top: 0px;
}
h2 {
  font-size: 2em;
}
h3 {
  font-size: 1.5em;
}
h4 {
  font-size: 1.2em;
}
h5,h6 {
  font-size: 1em;
}

#search-bar.right .search_field {
  float: right;
  margin-right: 3em;
  height: 30px;
  font-size: 12px;
}
#search-bar.right button {
  float: right;
  width: 3em;
  height: 30px;
}

.sc_layouts_menu_nav > li ul > li > a {
  font-size: 16px !important;
}

.sub-menu:before,
.submenu:before {
  display: none !important;
}

.top_panel {
  margin-bottom: 60px;
}

.sc_layouts_title_caption {
  font-size: 32px;
}

.container.section-content h2 {
  margin-top: 0px;
  font-size: 32px;
}

#content .container {
  padding: 0px;
}


/*
 * calendar
 */
.events-front .ai1ec-agenda-view .ai1ec-date-title {
  background: #e87722;
  color: #fff;
}
.ai1ec-agenda-view .ai1ec-event {
  padding-top: 0px;
  margin: 8px 0;
}
.events-front .ai1ec-agenda-view .ai1ec-event .ai1ec-event-title,
.events-front .ai1ec-agenda-view .ai1ec-event .ai1ec-event-header {
  color: #383838;
  font-weight: 600;
  font-size: 15.6px;
  line-height: 21px;
}
.events-front .ai1ec-read-more {background: #555;}
.events-front .ai1ec-read-more:hover {background: #b31b1b;}
.events-front .entry-content .timely .ai1ec-btn-default,
.events-front .entry-content .timely .ai1ec-btn-default:hover {
  color: #fff !important;
}
.ai1ec-event-toggle *,
.ai1ec-btn-group.ai1ec-actions i {
  font-family: Timely_FontAwesome !important;
}
.ai1ec-month-view * {
  font-size: 13px;
  line-height: 16px;
}
.ai1ec-month-view .ai1ec-date,
.ai1ec-month-view .ai1ec-event {
  height: 17px;
  line-height: 16px;
}


/*
 * Front column icons
 */
@font-face {
  font-family: 'icomoon';
  src:url('./fonts/icomoon.eot?lo1xg5');
  src:url('./fonts/icomoon.eot?#iefixlo1xg5') format('embedded-opentype'),
    url('./fonts/icomoon.ttf?lo1xg5') format('truetype'),
    url('./fonts/icomoon.woff?lo1xg5') format('woff'),
    url('./fonts/icomoon.svg?lo1xg5#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}

[class^="fa-"], [class*=" fa-"] {
  font-family: 'icomoon';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.front-columns h2 {
  font-size: 32px;
  margin-left: 1em;
}
.column-news h2:before {content: "\f1ea"; position: absolute; left: 0px; font-family: icomoon;}
.column-events h2:before {content: "\f073"; position: absolute; left: 0px; font-family: icomoon;}
.column-research h2:before {content: "\f02d"; position: absolute; left: 0px; font-family: icomoon;}


/*
 * EventOn
 */

.ajde_evcal_calendar .calendar_header p {
  font-size: 24px;
}
.eventon_events_list .eventon_list_event .evcal_desc span.evcal_desc2, 
.evo_pop_body .evcal_desc span.evcal_desc2,
.latest-posts > li .latest-posts-content h4 {
  font-size: 17px;
  text-transform: uppercase;
  font-weight: bold;
}
.latest-posts-item .post-meta-data,
.latest-posts-item .excerpt {
  font-size: 14px;
}

.events-front .eventon_events_list .eventon_list_event .desc_trig,
.events-front .eventon_events_list .eventon_list_event .desc_trig:hover {
  background-color: transparent;
}
.events-front #evcal_list .eventon_list_event .evcal_desc span.evcal_event_title, 
.events-front .evo_popup .eventon_events_list .eventon_list_event .evcal_desc span.evcal_event_title {
  color: #fff;
  line-height: 22px !important;
}
.events-front #evcal_list {
  border: none;
  border-radius: 0px;
}
.events-front .eventon_events_list .eventon_list_event .ev_ftImg {
  margin-right: 10px !important;
}
.events-front .eventon_events_list .eventon_list_event .evcal_desc span.evcal_desc2, 
.events-front .evo_pop_body .evcal_desc span.evcal_desc2 {
  font-size: 18px !important;
  letter-spacing: 2px;
}
.events-front .eventon_events_list .eventon_list_event .no_val.hasFtIMG .evcal_desc {
  padding-left: 95px !important;
}
.news-front .latest-posts > li .image {
  margin-right: 15px;
}


/*
 * News
 */

.nav-links-single .nav-links {
  display: block;
}

.blog_style_excerpt .post_layout_excerpt .post_title {
  font-size: 21px !important;
}


/*
 * People
 */

.portfolio-item h3 {
  margin-top: 10px;
  font-size: 18px;
  text-transform: none;
}

@media (max-width: 1500px) {
  .portfolio-item .image {
    xheight: 220px;
  }
  .portfolio-item .image img {
    xmin-height: 220px;
  }
}

.portfolio-tabs ul li.sort-item a {
  font-size: 14px;
}
.portfolio-tabs ul li.sort-item a:hover {
  color: #e87722 !important;
}

.people .info .techniques {
  text-align: left;
  font-size: 11px;
}
.people .info .techniques h3 {
  text-align: left;
  font-size: 13px;
}


/*
 * Research
 */

.research-grid h3 {
  margin-top: 15px;
  font-size: 20px;
}

@media (max-width: 780px) {
  .research-grid h3 {
    font-size: 16px;
  }

  .vc_row-fluid.research-grid,
  .vc_row-fluid.research-grid .vc_clearfix:after, 
  .vc_row-fluid.research-grid .vc_column-inner::after, 
  .vc_row-fluid.research-grid .vc_el-clearfix, 
  .vc_row-fluid.research-grid:after,
  .research-grid .wpb_column.vc_column_container {
    display: inline !important;
    clear: none !important;
  }

  .research-grid .vc_col-sm-4 {
    float: left !important;
    width: 50%;
    display: inline-block !important;
    box-sizing: border-box !important;
    min-height: 280px;
  }
}

@media (max-width: 500px) {
  .research-grid .vc_col-sm-4 {
    width: 100%;
  }
}


/*
 * Labs
 */
.portfolio-search .element-wrap {
  float: left;
  text-align: left;
  display: inline-block;
  width: 41%;
  box-sizing: border-box;
  padding: 10px;
  padding-left: 0px;
}
.portfolio-search, .portfolio-search .element-wrap {
  vertical-align: bottom;
  padding-bottom: 0px;
}

.portfolio-search label {
  font-weight: 600;
  font-size: 15px;
  line-height: 18px;
}
.portfolio-search .select_container {
  height: 52px;
  font-size: 14px;
  line-height: 17px;
}

.portfolio-search .element-wrap.button {
  width: 18%;
  padding-right: 0px;
  padding-top: 17px;
}
.portfolio-search .element-wrap #searchsubmit {
  font-size: 14px;
  line-height: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.portfolio-search {
  margin-bottom: 20px;
}

@media (max-width: 800px) {
  .portfolio-search .element-wrap {
    float: none;
    width: 100%;
    display: block;
    padding: 5px 0px;
  }
  .portfolio-search .element-wrap.button {
    width: 100%;
  }
  .portfolio-search {
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
  }
}

.portfolio .item-block {
  float: left;
  display: block;
  width: 46%;
  height: 340px;
  box-sizing: border-box;
  padding: 15px;
  margin: 1%;
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
  box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
}
.portfolio .item-block .image {
  float: right;
  margin: 0 0 10px 15px;
}
.portfolio .item-block img {
  margin: 0px;
}
.portfolio .item-block h3 {
  margin-top: 0px;
  font-size: 18px;
}
@media (max-width: 800px) {
  .portfolio .item-block {
    width: 100%;
    height: auto;
    padding: 0px 15px;
    margin: 0px
    margin-bottom: 20px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
  }
}


/*
 * footer
 */

.wpb_column .widget_contacts .contacts_info * {
  word-wrap: normal;
}
.wpb_column .widget_contacts .contacts_info .contacts_label {
  padding-right: 10px;
}


/*
 * table
 */
table th, 
.sc_table table tr:first-child th {
  font-size: 16px !important;
  xpadding: 5px 10px !important;
  color: #fff !important;
  font-weight: 400 !important;
}
.column-1,
.column-2,
.column-3,
.column-4,
.column-5,
.column-6 {
  width: 16% !important;
}
.scheme_default table > tbody > tr:nth-child(2n+1) > td {
  background: #f9f9f9;
}
.scheme_default table > tbody > tr:nth-child(2n) > td {
  background: #fff;
}
