#forum {
  font-size:1em;
  max-width:100%;
}

#forum ul.links {
  padding-left:0;
}

#forum .indent {
  margin-left:20px;
}

#forum .forum-item {
  padding:0.8em 0;
  margin-bottom:1em;
}

#forum .forum .name,
.topic-submitted-by,
.news-submitted-by,
.comment-submitted-by {
  background: none repeat scroll 0 0 #EEEEEE;
  border-bottom: 1px solid #EEEEEE;
  margin-bottom: 5px;
  padding: 6px;
  padding-left:1em;
  text-decoration: none;
}

#forum .forum .name {
  border-left: 1px solid #EC9799;
}

#forum .forum .name a,
.topic-submitted-by a,
.news-submitted-by a,
.comment-submitted-by a {
  font-weight: bold;
  color: #505050;
  text-decoration: none;
}
#forum .forum .name a:hover,
.topic-submitted-by a:hover,
.news-submitted-by a:hover,
.comment-submitted-by a:hover {
  color:#da2f33;
}

#forum .description {
  padding:0 0 0.4em;
}

.forum-details, .topic-details {
  color:#70727C;
  font-size:0.8em;
}

.forum-topic-list .topic {
  border-bottom:1px solid #BEC8CC;
  padding:1em 0;
}

.forum-topic-list .title-wrapper .title {
  background-image: url(../images/topic-icon.png);
  background-repeat: no-repeat;
  background-position: top left;
  padding-left:30px;
}

.forum-topic-list .topic .title a {
  font-weight: bold;
  color: #505050;
  text-decoration: none;
}
.forum-topic-list .topic .title a:hover {
  color:#da2f33;
}

/* Forum node. */
.topic-submitted-by,
.comment-submitted-by,
.news-submitted-by {
  width:100%;
  float:left;
  clear:both;
  margin-bottom:10px;
  padding:0;
  -webkit-border-top-left-radius: 5px;
  -moz-border-radius-topleft: 5px;
  border-top-left-radius: 5px;
}

.topic-submitted-by .picture,
.news-submitted-by .picture,
.comment-submitted-by .picture {
  float:left;
  height:40px;
  margin:4px;
  margin-left: 8px;
}

.comment-submitted-by .new {
  width:50px;
  float: right;
  padding:5px;
  font-size: 14px;
}

.comment-submitted-by .reply-to-link {
  float:left;
  clear:both;
  font-size: 13px;
  font-weight: normal;
}

.topic-submitted-by .picture img,
.news-submitted-by .picture img,
.comment-submitted-by .picture img {
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  width:40px;
}

.topic-submitted-by .picture a,
.news-submitted-by .picture a,
.comment-submitted-by .picture a {
  line-height: 0;
  border:none;
}

.topic-submitted-by .submitted,
.news-submitted-by .submitted,
.comment-submitted-by .submitted {
  float:left;
  padding-top:1em;
  padding-left:0.7em;
}

.news-submitted-by {
  margin-bottom:0;
}

#main-content .topic-forum-navigation,
#main-content .news-navigation,
#main-content .comment-navigation {
  float:right;
}

#main-content .topic-forum-navigation ul.links {
  padding-left:0;
}

#main-content .topic-forum-navigation ul.links li {
  margin-left:0.5em;
}

#main-content .topic-forum-navigation .taxonomy,
#main-content .news-navigation a,
#main-content .comment-navigation .reply-to-link {
  width:auto;
  padding:0.2em;
  border-left: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}
#main-content .news-navigation a,
#main-content .comment-navigation .reply-to-link {
  padding:0.2em 0.5em;
}

.topic-content,
.news-content {
  padding:0.5em;
}
.news-content {
  float:left;
}

.news-content .idea-image-container img {
  width:100%;
}

.forum .node-links,
.news .node-links {
  border-top: 1px solid #EEEEEE;
  padding:0.5em;
  text-align: right;
}

.news .node-links {
  float:left;
  width:97%;
}

#main-content .news .node-links ul.links {
  float:right;
  width:100%;
  margin-top:0.3em;
  margin-bottom:0.3em;
  padding-left:0;
}

.node-type-forum .node,
.node-type-news .node {
  border: 1px solid #EEEEEE;
  padding-bottom:0;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  border: 1px solid #fececf;
}

/* Comments. */

.forum #comments .comment ul.links {
  padding:0;
  margin:0;
}

#main-content .forum .node-links ul.links,
.node-type-forum #comments .comment-links ul.links,
.node-type-news #comments .comment-links ul.links {
  padding-left:0;
}

.node-type-forum #comments .comment-links,
.node-type-news #comments .comment-links {
  border-top: 1px solid #EEEEEE;
  padding:0.5em;
  text-align: right;
}

.node-type-forum #comments .comment-links ul.links,
.node-type-news #comments .comment-links ul.links {
  margin:0;
}

.comment-submitted-by {
  border-left:none;
}

.node-type-forum #comments .comment,
.node-type-news #comments .comment {
  border: 1px solid #EEEEEE;
  margin-bottom:1em;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

.node-type-forum #comments .comment .content,
.node-type-news #comments .comment .content {
  padding:0.5em;
}

/* Views fluid grid. */
#main-content .news-grid ul.views-fluid-grid-list {
  padding-left:0;
}

#main-content .news-grid li.views-fluid-grid-item {
  background-color: transparent;
  border:0;
  box-shadow: 0;
}

#main-content .news-grid li.views-fluid-grid-item .views-field-teaser,
#main-content .news-grid li.views-fluid-grid-item .views-field-teaser p,
#main-content .news-grid li.views-fluid-grid-item .views-field-teaser a {
  font-size: 13px;
  margin-bottom:0;
}

#main-content .news-grid ul.views-fluid-grid-list {
  margin-left: -3%;
}

/* Views pager. */
#main-content .news-grid ul.pager {
  padding-left:0;
}

#main-content .news-grid ul.pager li {
  margin-left: 0;
  padding-left: 0.4em;
  padding-right: 0.4em;
}

#main-content .news-grid ul.pager .pager-item a,
#main-content .news-grid ul.pager .pager-next a,
#main-content .news-grid ul.pager .pager-last a,
#main-content .news-grid ul.pager .pager-previous a,
#main-content .news-grid ul.pager .pager-first a {
  display:inline-block;
  padding: 4px 9px;
  border: 1px solid #ccc;
  border-radius:5px;
}
/* Views fluid grid customizations. */

#main-content .news-grid li.views-fluid-grid-inline {
  width:46.5%;
  padding: 0.7em 0;
  margin-left: 3%;
}

#main-content .news-grid li.views-fluid-grid-inline .views-field-field-link-url a {
  /* Appearance. */
  color: #3d3d3d;
  font-family: Georgia,serif;
  line-height: 1.3em;
  text-align: left;
  font-size: 18px;
  letter-spacing: 0.2px;
  font-weight: bold;
}

#main-content .news-grid li.views-fluid-grid-inline .views-field-field-link-url a:hover {
  color:blue;
}

#main-content .news-grid li.views-fluid-grid-inline .views-field-comment-count a {
  color: #b3b3b3;
  font-size: .9em;
}

#main-content .news-grid li.views-fluid-grid-inline img.imagecache-news-grid-thumbnail,
#main-content .news-grid li.views-fluid-grid-inline span.imagecache-news-frontpage-thumbnail > img {
  width:100%;
  height:auto;
}

#main-content .news-grid li.views-fluid-grid-item-fill-width {
  width:96.6%;
  padding: 1em 0;
}

#main-content .news-grid li.views-fluid-grid-item-fill-width .views-field-field-image-fid {
  float:left;
  width:56%;
}

#main-content .news-grid li.views-fluid-grid-item-fill-width .views-field-field-link-url {
  clear:right;
  float:right;
  width:40%;
}

#main-content .news-grid li.views-fluid-grid-item-fill-width .views-field-field-link-url a {
  font-size: 25px;
}

#main-content .news-grid li.views-fluid-grid-item-fill-width .views-field-teaser {
  clear:right;
  float:right;
  width:40%;
}

#main-content .news-grid li.views-fluid-grid-item-fill-width .views-field-comment-count {
  clear:right;
  float:right;
  width:40%;
}

/* Image hover effect. */

/* The code below is for disabling hover effect. */
/*.latest-ideas-block .views-field-field-image-fid a .hover-overlay,*/
/*.latest-ideas-block .views-field-field-image-fid a .hover-overlay:before,*/
/*.news-grid .views-field-field-image-fid a .hover-overlay,*/
/*.news-grid .views-field-field-image-fid a .hover-overlay:before,*/
/*.node .idea-image-container a .hover-overlay,*/
/*.node .idea-image-container a .hover-overlay:before {*/
  /*display:none;*/
/*}*/

.latest-ideas-block .views-field-field-image-fid a .hover-overlay,
.news-grid .views-field-field-image-fid a .hover-overlay,
.node .idea-image-container a .hover-overlay {
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: background-color 0.3s ease 0s;
  display:block;
}

.latest-ideas-block .views-field-field-image-fid a,
.news-grid .views-field-field-image-fid a,
.node .idea-image-container a {
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  display: block;
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.2s ease 0s;
  /*z-index: 2;*/
  line-height: 0;
}

.latest-ideas-block .views-field-field-image-fid a .hover-overlay:before,
.news-grid .views-field-field-image-fid a .hover-overlay:before,
.node .idea-image-container a .hover-overlay:before {
  background: none repeat scroll 0 0 rgba(250, 250, 250, 0.95);
}

.latest-ideas-block .views-field-field-image-fid a .hover-overlay:before,
.news-grid .views-field-field-image-fid a .hover-overlay:before,
.node .idea-image-container a .hover-overlay:before {
  background: none repeat scroll 0 0 #FFFFFF;
  border-radius: 50%;
  /*color: #2C2C2C;*/
  color:#DA2F33;
  display: block;
  font: 14px/46px 'FontAwesome';
  height: 46px;
  left: 50%;
  margin: -22px 0 0 -25px;
  opacity: 0;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: scale(0.8);
  transition: transform 0.3s ease 0s, opacity 0.3s ease 0s;
  width: 46px;
}

.latest-ideas-block .views-field-field-image-fid a:hover .hover-overlay:before,
.news-grid .views-field-field-image-fid a:hover .hover-overlay:before,
.node .idea-image-container a:hover .hover-overlay:before {
  opacity:1;
  transform:scale(1);
}

.latest-ideas-block .views-field-field-image-fid a:hover .hover-overlay,
.news-grid .views-field-field-image-fid a:hover .hover-overlay,
.node .idea-image-container a:hover .hover-overlay {
  /*background: none repeat scroll 0 0 rgba(20, 22, 23, 0.6);*/
  background: none repeat scroll 0 0 rgba(217, 133, 135, 0.6);
}

/* Media queries. */

@media all and (max-width: 535px) {
  #main-content .news-grid li.views-fluid-grid-inline {
    width:100%;
    margin-left:0;
  }

  #main-content .news-grid li.views-fluid-grid-item-fill-width {
    width:100%;
    padding: 0.7em 0;
  }

  #main-content .news-grid li.views-fluid-grid-item-fill-width .views-field-field-image-fid,
  #main-content .news-grid li.views-fluid-grid-item-fill-width .views-field-field-link-url,
  #main-content .news-grid li.views-fluid-grid-item-fill-width .views-field-teaser,
  #main-content .news-grid li.views-fluid-grid-item-fill-width .views-field-comment-count {
    float:none;
    width:auto;
  }
  #main-content .news-grid ul.views-fluid-grid-list {
    margin-left: 0;
  }

  #main-content .news-grid ul.pager li {
    display:none;
  }
  #main-content .news-grid ul.pager .pager-item,
  #main-content .news-grid ul.pager .pager-first,
  #main-content .news-grid ul.pager .pager-last {
    display:none;
  }

  #main-content .news-grid ul.pager .pager-previous,
  #main-content .news-grid ul.pager .pager-next {
    display:inline;
  }

  #main-content .news-grid ul.pager li {
    padding-left: 0.3em;
    padding-right: 0.3em;
  }

  /* Improve idea/topic title on mobiles */
  .news-submitted-by .submitted a {
    display:block;
  }
  .news-submitted-by .submitted {
    padding-top: 0.3em;
  }
}

@media all and (min-width: 1161px) {
  #main-and-sidebar-wrap .content-full-width .news-grid li.views-fluid-grid-inline {
    width:30%;
  }

  #main-and-sidebar-wrap .content-full-width .news-grid li.views-fluid-grid-item-fill-width {
    width:96.7%;
    padding: 1em 0;
  }
}

/* ~Views fluid grid customizations. */
