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

/*Header*/

body{
  font-family: 'Open Sans', sans-serif;
  font-size: 13.5px;
  line-height: 170%;
  color: #333;
  overflow-x: hidden;
}

p{ margin: 0 0 10px 0; }

h1, .h1{ 
    font-size: 22px; 
    color: #FE6F34;
    text-transform: uppercase;
    text-align: left;
    font-weight: 600;
}

h2, .h2{
    font-size: 20px;
    color: #FE6F34;
    text-transform: uppercase;
    text-align: left;
    font-weight: 600;
} 

h3, .h3{ font-size: 16px; color: #000; }

h4, .h4{ font-size: 14px; color: #000; }

img{ max-width: 100%; height: auto; }

a{
  color: #078D92;
}

a:hover{
  color: #1bd3df;
}

ul.links.inline{
  padding: 0;
}

ul.links.inline li{
  list-style: none;
}

.block{
  margin-bottom: 20px;
}

.node__content h2, .block-views h2 {
    color: #FE6F34;
    text-transform: uppercase;
    text-align: left;
    font-weight: 600;
}

.node__content ul,.node__content p{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.node__content h1{
   /* width: 100%;
    height: 0;
    display: block;
    text-align: center;
    padding-bottom: 54%;*/
    padding: 15.15% 0 0;
    position: relative;
}

.node__content h1 iframe{
    position: absolute;
    width: 100%; 
    height: 100%;
    left: 0; 
    top: 0;
}


.node__content h1::after{
  content:'';
  display: block;
  width: 100%; 
  padding-bottom: 45%; 
}
.main-header{
  /*
  background: url(../images/welcome_banner_bg.jpg);
  color: #fff;
  */
  background: #000000;
  padding: 10px 0;
  margin-bottom: 20px;
  background-size: cover;
  position: relative;
}

.main-header:after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /*
  background: rgba(21, 22, 26, 0.88);
  */
  background: #666666;
}

.main-header nav{
  background: none;
  border: 0;
  margin: 0;
  position: relative;
  z-index: 2;
}


.main-header .region{
  position: relative;
  z-index: 2;
}

/*region header*/

.site-branding{
  margin: 0;
}

.brand.logo{
  margin-right: 5px;
}

.region-header .brand{
  display: inline-block;
  vertical-align: middle;
  line-height: 100%;
}

.site-name a{
  font-size: 26px;
  color: #fff;
}

/*Banner*/

.welcome-banner-text{
  text-align: center;
  line-height: 160%;
  max-width: 600px;
  padding: 90px 0;
}

.welcome-banner-text h2{
  font-size: 30px;
  font-weight: bold;
  color: #fff;
}

/*top widget*/

.topwidget{
  text-align: center;
  padding: 50px 0;
}

.topwidget .fa{
  font-size: 60px;
  background: #4D4F4A;
  width: 120px;
  height: 120px;
  padding: 32px;
  border-radius: 50%;
  color: #fff;
  margin-bottom: 20px;
}

/*footerwidget*/

.footerwidget{
  background: #2e2e2e;
  color: #D0D0D0;
  padding: 10px 0;
}

.footerwidget img.left{
  float: left;
  margin: 10px 10px 0 0;
}

.copyright{
  background: #000;
  font-size: 10px;
  color: #999;
}

.copyright p{
  margin: 13px 0;
}

.footerwidget h2,
.footerwidget .h2{
  color: #FFF;
}

/*bottom-widgets*/

.bottom-widgets{
  text-align: center;
  background: #FBFBFB;
  padding: 10px 0;
}

.bottom-widgets .region{
  padding: 10px;
  background: #DEDEDE;
}

/*Footer menu*/

.footer-menu{
  margin: 0;
  border: 0;
  background: #eee;
  color: #fff;
}

.footer-menu ul{
  margin: 10px 0;
  padding: 0;
}

.footer-menu nav li{
  display: inline-block;
}

.footer-menu nav li a{
  display: block;
  padding: 4px 20px 4px 0;
}

.google_map p,
.google_map .block{
  margin: 0;
}

.google_map iframe{
  display: block;
}

/*Credit link*/

.credit-link{
  text-align: left;
}

/*SOCIAL MEDIA*/

.social-media{
  margin: 10px 0;
  overflow: hidden;
  float: left;
}

.social-media a {
  width: 30px;
  height: 30px;
  color: #fff;
  float: left;
  margin: 0 10px 0 0;
  text-align: center;
  background: #3262b9;
  font-size: 14px;
  line-height: 220%;
}

.social-media a.google-plus{
  background: #de2020;
}

.social-media a.twitter{
  background: #29C5F6;
}

.social-media a.linkedin{
  background: #069;
}

.social-media a.pinterest{
  background: #C61118;
}

.social-media a.rss{
  background: #FF6D00;
}

.social-media a:hover{
  opacity: .6;
}

/*FORM*/

input, button, select, textarea{
  padding: 9px;
  border: 1px solid #C7C7C7;
}

.contact-message-form label{
  display: block;
}

.btn, 
input[type="submit"]{
  background: #19c2c8;
  color: #fff;
  border: 0;
  border-radius: 15px 0;
  padding: 13px;
  line-height: 100%;
  height: 42px;
  width: 120px;
}

.btn:hover, 
input[type="submit"]:hover{
  background: #13ADB3;
}

/*FRONT PAGE*/


.path-frontpage .content_layout {
  text-align: left;
}

.path-frontpage .feed-icon{
  display: none;
}


/*MENU*/

.navbar-default .navbar-toggle{
  background: #fff;
  margin-right: 0;
}


nav h2 {
  display: none;
}


nav ul {
  display: inline;
}

.menu-base-theme,
.menu-base-theme a, 
.menu-base-theme a:hover, 
.menu-base-theme a:focus, 
.menu-base-theme a:active, 
.menu-base-theme a.highlighted{
  background: none;
}

.menu-base-theme li a{
  background: #FBFBFB
}

.main-menu {
  position: relative;
  z-index: 9999;
}

.region-primary-menu{
  display: none;
  background: #fff;
  border-radius: 3px;
  width: 100%;
  margin-top: 20px;
}

.menu-base-theme a{
  border-bottom: 1px solid #EEF0F7;
}

.menu-base-theme a span.sub-arrow{
  color: #999;
  font-size: 22px;
  padding: 5px;
  border-radius: 2px;
  border: 1px solid #DCDCDC;
  background: #EFEFEF;
} 

.navbar-toggle{
  z-index: 999;
}

/*breadcrumb*/

.breadcrumb{
  background: none;
  padding: 0;
  margin: 0;
  border-bottom: 1px solid #eee;
}

.breadcrumb ul{
  padding: 0;
}

.breadcrumb ul li{
  display: inline-block;
}

/*search form*/

#search-block-form{
  display: table;
  width: 100%;
}

#search-block-form .form-item,
#search-block-form .form-actions{
  display: table-cell;
}

#search-block-form input{
  width: 100%;
}

/*Demo typography*/

.bd-example {
  position: relative;
  padding: 20px;
  border: 2px solid #f7f7f9;
}

.highlight{
  padding: 20px;
  background-color: #f7f7f9;
}

.highlight pre{
  border: 0;
  background: none;
}

.bd-example-type .table tr:first-child td {
  border-top: 0;
}

.bd-example-type h1, 
.bd-example-type h2, 
.bd-example-type h3, 
.bd-example-type h4, 
.bd-example-type h5, 
.bd-example-type h6 {
  margin: 0;
}

.bd-example-type .table td {
  padding: 15px 0;
  border-color: #eee;
}

/*Contact form*/

.path-contact{}

.contact-message-feedback-form{
  max-width: 650px;
  margin: 0 auto;
  border: 1px solid #D8D8D8;
  padding: 10px 30px;
  background: #F5F5F4;
}

.contact-message-feedback-form .form-text,
.contact-message-feedback-form .form-email,
.contact-message-feedback-form .form-textarea{
  width: 100%;
}

/*user-login-form*/

.user-login-form,
.user-form,
.user-pass{
  max-width: 650px;
  margin: 40px auto;
  border: 1px solid #ddd;
  padding: 10px 30px;
  background: #FBFBFB;
}

.user-login-form .form-text,
.user-login-form .form-email,
.user-form .form-text,
.user-form .form-email,
.user-pass .form-text{
  width: 100%;
}

.form-composite > .fieldset-wrapper > .description, 
.form-item .description {
  font-size: 11px;
  color: #999;
  font-style: italic;
}

/*Maintainance*/

.maintenance-page{
  background: url(../images/maintenance-bg.png) #66CBFF center no-repeat;
  color: #fff;
  text-align: center;
  padding-top: 220px;
  padding-bottom: 100px;
  font-size: 18px;
  color: #000;
}

.maintenance-msg {
  margin: 20px 0;
  background: rgba(242, 244, 207, 0.88);
  padding: 20px 30px;
  display: inline-block;
  color: #404040;
  border: 1px solid #fff;
  box-shadow: 5px 5px 0px #FFFFFF;
  font-size: 14px;
}

.maintenance-msg h1{
  text-transform: uppercase;
  font-weight: bold;
}

.maintenance-page .brand,
.maintenance-page .name-and-slogan{
  display: inline-block;
  vertical-align: middle;
}

.maintenance-page .site-name a{
  color: #404040;
}

.maintenance-page .site-slogan,
.maintenance-page .name-and-slogan{
  display: none;
}


/*Comment*/

.comment-wrap{
  overflow: hidden;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #F5F5F5;
}

.comment-wrap .author-details{
  float: left;
  width: 20%;
}

.comment-wrap .author-comments{
  padding-left: 5px;
  float: left;
  width: 80%;
}

.comment-submitted{
  padding: 5px 10px;
  border: 1px solid #eee;
  font-size: 12px;
  margin-bottom: 5px;
  display: block;
}

.comment-wrap .author-comments h3{
  margin-top: 10px;
}

.comment-wrap .author-comments p{
  margin-bottom: 10px;
}

/*links inline*/

ul.links.inline li{
  display: inline-block;
  padding-right: 10px;
}

/*profile*/

.profile > div{
  padding-right: 5px;
  display: inline-block;
  vertical-align: top;
}

.profile h4.label{
  color: #333;
  display: block;
  text-align: left;
  margin-bottom: 5px;
}

.views-field-field-slider-image {
  float: left; margin: 6px 2px;

}





.jcarousel-container-horizontal{
    width:1220px;
}


.jcarousel-clip-horizontal{
    width:1200px;
    height:500px;
}

.jcarousel-item {
    width:440px;
    height:400px;
}


.jcarousel-skin-default .jcarousel-item-horizontal img {
    width: 1200px;
}


.jcarousel-wrapper.jcarousel-skin-default.jcarousel-visible-1{
    width: 1200px;
}

.jcarousel-skin-default .jcarousel li{
   width: 1200px;
   height: 500px;
}


.views-field views-field-field-slider-image{
  width: 1400px;
  height:400px;
}

.jcarousel-wrapper.jcarousel-skin-default {/*box container*/
  height: 530px;
}

#block-views-block-news-block-block-1 .jcarousel-wrapper.jcarousel-skin-default{
    height: 640px;
}





.timeline-TweetList{
    padding: 50;
}


/*timelinejs publications*/
#timelinejs-highlighted-papers-block-1 .tl-timenav{
  display: none;
  height: 0px;
}

#timelinejs-highlighted-papers-block-1 .tl-menubar{
  display: none;
  height: 0px;
}

#timelinejs-highlighted-papers-block-1 .tl-timeline.tl-layout-landscape{
  height: 500px;

}


/*timelinejs news*/
#timelinejs-news-page-1 .tl-timenav{
  display: none;
  height: 0px;
}

#timelinejs-news-page-1 .tl-menubar{
  display: none;
  height: 0px;
}

#timelinejs-news-page-1 .tl-timeline.tl-layout-landscape{
  height: 500px;

}


/*timelinejs research areas*/
#timelinejs-research-areas-carousel-block-1 .tl-timenav{
  display: none;
  height: 0px;
}

#timelinejs-research-areas-carousel-block-1 .tl-menubar{
  display: none;
  height: 0px;
}

#timelinejs-research-areas-carousel-block-1 .tl-timeline.tl-layout-landscape{
  height: 500px;

}

/*timelinejs faculty*/
#timelinejs-faculty-block-1 .tl-timenav{
  display: none;
  height: 0px;
}

#timelinejs-faculty-block-1 .tl-menubar{
  display: none;
  height: 0px;
}

#timelinejs-faculty-block-1 .tl-timeline.tl-layout-landscape{
  height: 500px;

}


/*adapting the gallery to be more similar than facebook gallery*/
#block-views-block-photo-gallery-block-1 .views-view-grid .views-col {
    margin-bottom: 10px;
    padding: 0px;
    padding-left: 39px;
    background: none repeat scroll 0 0 #ffffff;
    display: inline-block;
    outline: medium none;
    position: relative;
    vertical-align: bottom;
}

/*adapting the gallery videos*/
.views-view-grid .views-col {
    margin-bottom: 10px;
    padding: 0px;
    padding-left: 39px;
    background: none repeat scroll 0 0 #ffffff;
    display: inline-block;
    outline: medium none;
    position: relative;
    vertical-align: bottom;
}


/**/

.icon-custom-block--platforms {
  padding-left: 0;
}

.icon-custom-block--platforms.horizontal li {
  display: inline-block;
  text-align: center;
  padding: .2em .35em;
}

.icon-custom-block--platforms.vertical li {
  list-style-type: none;
  margin: 0 0 .5em 0
}

.icon-custom-block--platforms.vertical li a img {
  vertical-align: middle;
  margin-right: .5em;
}


#navbar-header col-md-3 .col-md-3{
  width: 100%;
}


/*RIT LOGO*/

#metanav a:link, #metanav a:visited {
    color: #FFF;
    background-color: transparent;
    text-decoration: none;
}


#metanav {
    margin: 0;
    height: 41px;
    font-family: Helvetica, Arial, sans-serif;
    color: #FFF;
    background: #F36E21;
    position: relative;
    font-size: 85%;
}


#metanav ul li {
    float: left;
    list-style-type: none;
    padding: 0 0 0 30px;
    border: 0;
}

#metanav ul, #metanav li {
    height: 22px;
    margin-bottom: 0;
}

#metaritsearch, #metaritdirectories {
    display: block;
}

#metaritsearchbox.faded {
    color: #AAA;
}


#metasearchform input, #metasearchform button {
    border: none;
    float: left;
}

#metaritsearchbox {
    color: #000;
    width: 111px;
    height: 14px;
    padding: 0;
    margin: 0;
    border: none;
    background: #FFF;
    outline: 0;
}

.image_caption{
    width: 70%;
}

.more-link{
  clear: left;
}

.views-exposed-form {
  display: inline-block;
}

.blue-back-ground, .orange-back-ground, .green-back-ground { 
  width: 48%;
  max-width: 100%;
  padding: 10px;
  margin: 15px;
  border-radius:10px;
}
.blue-back-ground {
  background-color: rgba(30, 144, 255, 0.1);
  float: left;
  margin-left: 0;
}

.orange-back-ground {
  background-color: rgba(255, 97, 0, 0.1);
  float: right;
}

.green-back-ground {
  background-color: rgba(0, 100, 0,  0.1);
  float: right;
}

.text-thin {
  margin: auto;
}

.album-wrapper{
  color: white;
  background: #19c2c8;
}

.album-thumb, .photo-thumb{
  padding: 0px;
}

.album-text {
  margin-bottom: 5px!important;
}

.clear, .block-views {
  clear:both;
}

/* css for career */
.career-cats {
  display: block;
  height: 300px;
  width: 300px;
  float: left;
  margin: 10px 40px;
  background: #19c2c8;
}

.career-cats a{
  display: block;
  width: 100%;
  text-align: center;
  position: relative;
  top: 73%;
  font-size: 18px;
  color: white;
  font-weight: 600;
  background: rgba(100, 100, 100,  0.5);
  line-height: 2;
}

.career-faculty {
  background: url(../images/faculty.png) no-repeat;
}

.career-student {
  background: url(../images/student.png) no-repeat;
}

.career-postdoc {
  background: url(../images/postdoc.png) no-repeat;
}

.career-staff {
  background: url(../images/staff.png) no-repeat;
}

.career-research-affiliate {
  background: url(../images/research-affiliate.png) no-repeat;
}

.career-visiting-scholar {
  background: url(../images/visiting-scholar.png) no-repeat;
}

.field-label .label,
.form-required {
  color: #3675E9;
}

.form-item .description{ 
  color: #555;
}

@media only screen and (max-width: 767px) {
  .contact-us-page .contact-person {
    width:100%;
  }
  .node__content .ccrg-map{
    width: 100%
  } 
  .contact-us-page .contact-info {
    bottom: 0!important; 
  }
  .contact-info div {
     padding: 10px 10px!important;
  }  
}
@media only screen and (max-width: 480px) {
  .contact-us-page .contact-person {
    width:100%;
  }
  .node__content .ccrg-map{
    width: 100%
  }
  .contact-us-page .contact-info {
    bottom: 0!important; 
  }
  .contact-info div {
     padding: 0px 0px!important;
     line-height: 1.3!important;
  }

  .contact-info div h3 {
     font-size: 16px;
  }
  .album-thumb i{
    max-width: 100%;
  }
  .album-thumb{
    max-width: 100%;
  }
  .album-wrapper, .photo-wrapper{
    margin-left: 0;
    margin-right: 0;
    max-width: 100%
  }
  .container {
    padding-left: 5px;
    padding-right: 5px;
  }
}


@media only screen and (min-width: 768px) {
  .node__content .text-thin{
    width: 90%;
  }  
  .contact-us-page .contact-person {
    width: 100%;
  }
  .node__content .ccrg-map{
    width: 80%
  }
}
@media only screen and (min-width: 992px) {
  .node__content .text-thin {
    width: 85%;
  }
  .contact-us-page .contact-person {
    width: 45%;
  }
  .node__content .ccrg-map{
    width: 80%
  }
}


@media only screen and (min-width: 1200px) {
  .node__content .text-thin{
    width: 70%;
  }
  .contact-us-page .contact-person {
    width: 45%;
  }
  .node__content .ccrg-map{
    width: 70%
  }
}



/**
 * Implements theme_menu_item_link()
 */
function yourtheme_menu_item_link($link) {
  // Allows for images as menu items. Just supply the path to the image as the title
  if (strpos($link['title'], '.png') !== false || strpos($link['title'], '.jpg') !== false || strpos($link['title'], '.gif') !== false) {
    $link['title'] = '<img alt="'. $link['description'] .'" title="'. $link['description'] .'" src="'. url($link['title']) .'" />';
    $link['localized_options']['html'] = TRUE;
  }
  return zen_menu_item_link($link); // Let Zen take over from here.
}
