/*
Theme Name:     GIJC - Largo 0.5
Theme URI:      http://largoproject.org
Description:    A child theme for the Global Investigative Journalism Conference based on the Project Largo parent theme.
Author:         The INN Nerds
Author URI:     http://nerds.inn.org
Template:       largo
Version:        0.2
*/

a { color: #2a819e; }
a:hover { color: #005b7f; }

.widgettitle,
.stories h3.widgettitle,
.btn-primary,
.sticky-related,
.sticky-solo {
  background-color: #005b7f;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  color: #fff;
  padding: 2px;
}
.stories h3.widgettitle a,
h3.widgettitle a {
  color: #fff;
}
#site-footer .widgettitle {
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}
#sponsors,
#sidebar .widget {
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  border-width: 1px;
  border-style: solid;
  border-color: #ddd;
  padding: 14px;
  margin-bottom: 24px;
}
#sidebar .widget p {
  font-size: 15px;
}
.global-nav ul.lang-nav li {
  margin-right: 8px;
}
.lang-nav img {
  height: 24px;
}
.lang-nav a:hover img {
  opacity: 0.85;
}
#main-nav .navbar-inner,
#main-nav .nav .btn-navbar {
  color: #eee;
  background-color: #005b7f;
}
#main-nav .nav .active > a,
#main-nav .nav .active > a:hover,
#main-nav .nav .open > a,
#main-nav .nav>li>a,
#main-nav .nav li > a:hover,
#main-nav .nav li.dropdown .dropdown-menu li a:hover {
  color: #eee;
  text-decoration: none;
  background-color: #005b7f;
}
#main-nav .dropdown .caret,
#main-nav .dropdown .caret:before {
  border-top-color: #fff;
}
#main-nav .navbar .divider-vertical {
  height: 28px;
  width: 1px;
  margin: 0 0 0 2px;
  overflow: hidden;
  background-color: #003e67;
  border-left: 1px solid #005b7f;
}
.sticky-related,
.sticky-solo {
  background-color: #005b7f;
  border: 1px solid #eee;
}
.btn-primary:hover,
.pager a:hover,
#related-post-nav a:hover,
#related-post-nav a.selected {
  background-color: #005b7f;
}
#site-footer a,
#boilerplate a {
  color: #eee;
}
#boilerplate a:hover,
.donate-btn a:hover,
#site-footer a:hover,
#related-post-nav a:hover {
  color: #fff;
}
.view-cap,
.view-container-border {
  background-color: #fff;
}
.widget .subscribe i.icon-linkedin,
.widget .subscribe i.icon-rss,
.widget .subscribe i.icon-mail {
  color: #7d8185;
  padding: 0 4px;
}
.widget .subscribe:hover i.icon-linkedin,
.widget .subscribe:hover i.icon-rss,
.widget .subscribe:hover i.icon-mail {
  color: #222;
}
.donate-btn .icon-heart { display: none; }

#homepage-bottom {
  margin-top: 0;
}
#homepage-bottom li {
  list-style: none;
}
#homepage-bottom .widgettitle {
  border: 0;
  text-align: center;
  font-size: 17px;
  margin-bottom: 0;
  background-color: transparent;
}
#homepage-bottom .widgettitle a {
  color: #000;
}
#homepage-bottom img {
  max-width: 100%;
  margin-bottom: 8px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
#homepage-bottom a:hover img {
  opacity: 0.9;
}
#homepage-bottom .widget p {
  padding: 0;
  font-size: 15px;
  margin-bottom: 0;
}
#homepage-bottom .widget {
  width: 27%;
  margin-left: 2% !important;
  margin-bottom: 18px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  background-color: #e9ebf0;
}
.page-id-28 #homepage-bottom .widget {
  width: 26.5%;
}
#homepage-bottom .widget:hover {
  background-color: #88aec0;
}
#homepage-bottom .widget.even,
#homepage-bottom .widget.odd {
  float: left;
  clear: none;
}
@media (min-width: 979px) {
  #homepage-bottom .widget:nth-child(3n+1) {
    clear: both;
    margin-left: 0 !important;
  }
}
#partners {
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  clear:both;
  box-sizing: border-box;
}
#partners img {
  max-width: 45%;
}
#partners .row {
  margin: 0 auto;
  text-align: center;
}
#sponsors {
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  max-width:97.5%;
  clear: both;
}
#sponsors h4 {
  text-align: center;
  font-size: 24px;
  text-transform: uppercase;
  margin-bottom: 6px;
  margin-top: 24px;
  padding: 5px 0;
  border-top: 3px solid #333;
  border-bottom: 1px solid #333;
}
#sponsors .row {
  clear: both;
  text-align: center;
  margin: 12px auto;
}
#sponsors .row1 img,
#sponsors .row2 img,
#sponsors .row6 img  {
  margin: 10px 20px;
  /*border: 1px solid #ccc;*/
}
#sponsors .row2 img {
  max-width: 40%;
}
#sponsors .row2.lg img {
  max-width: 45%;
}
#sponsors .row9 img {
  margin: 0 10px 20px;
}
#page-id-140 p {
  display: block;
  width: 990px;

}
#sched-container {
  margin: 0 auto;
  width: 990px;
}
@media (min-width: 769px) and (max-width: 979px) {
  #homepage-bottom .widget {
  	width: 43% !important;
  	margin-left: 0 !important;
  }
  .page-id-28 #homepage-bottom .widget {
    width: 42.5%;
  }
  #homepage-bottom .widget:nth-child(odd) {
    clear: both;
  }
  #homepage-bottom .widget:nth-child(even) {
    clear: none;
    margin-left: 3% !important;
  }
  #sponsors .row9 img {
    max-width: 20%;
    width: 20%;
    margin: 0 2.5% 15px;
  }
}
@media (max-width: 768px) {
  #site-footer .widget,
  #site-footer .widget-area,
  #site-footer ul.menu {
    margin-bottom: 0;
  }
  #site-footer #nav_menu-3 {
    margin-bottom: 24px;
  }
  ul.menu li:last-child { border-bottom: none !important; }
  #site-footer .widget-3 { border-bottom: 1px solid #555555; }
  ul#ft-social { margin-top: 24px; }
  #gijc-content {
    width: 100%;
  }
  #homepage-bottom .widget {
    clear: both;
    float: none;
    width: 40%;
    margin: 0 0 18px;
  }
  .page-id-28 #homepage-bottom .widget {
    width: 95%;
    margin: 0 0 10px !important;
  }
  #homepage-bottom .widget:nth-child(odd),
  .page-id-28 #homepage-bottom .widget:nth-child(odd) {
    clear: both;
    margin-left: 0 !important;
    width: 40%;
  }
  #homepage-bottom .widget:nth-child(even),
  .page-id-28 #homepage-bottom .widget:nth-child(even) {
    clear: none;
    width: 40%;
  }
  #sponsors .row9 img {
    max-width: 20%;
    width: 20%;
    margin: 0 2.5% 15px;
  }
  #sponsors .row1 img,
  #sponsors .row2 img {
    max-width: 95%;
    margin-bottom: 8px;
  }
  #sponsors .row.row1,
  #sponsors .row.row2 {
    margin-bottom: 0;
  }
  .global-nav ul {
    display: block;
  }
  .global-nav .nav-right {
    width: 50%;
  }
  .global-nav .nav-right .donate-btn {
    float: right;
    margin-left: 0;
  }
  .global-nav .nav-right .org-logo {
    float: left;
  }

}
@media (max-width: 480px) {
  #homepage-bottom {
    margin-top: 10px;
  }
  .page-id-28 #homepage-bottom .widget {
    width: 94%;
  }
  #sponsors .row {
    margin-top: 0;
    margin-bottom: 15px;
  }
  #sponsors .row .row9 {
  	margin-bottom: 0;
  }
  #sponsors .row9 img {
    max-width: 30%;
    width: 29%;
    margin: 0 2.5% 15px;
  }
  #homepage-bottom .widget,
  #homepage-bottom .widget:nth-child(odd),
  #homepage-bottom .widget:nth-child(even) {
    clear: both;
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0;
    box-sizing: border-box;
  }
}

