hr.large {
  margin: 40px 0px;
}

.img-shadowed {
  box-shadow: 0 10px 25px 0 rgba(50, 94, 128, 0.2);
}

.text-spaced {
  line-height: 1.6em;
}

.media .social .glyphicon {
  margin-top: 7px;
}

.navbar-default .navbar-nav > li > a {
  text-transform: uppercase;
  font-weight: 400;
  font-size: 13px;
}

.navbar-default .navbar-nav > li > .btn-outline-yellow {
  border-radius: 20px;
  color: #ecb416;
  border: 1px solid #ecb416;
  margin: 14px auto;
  padding: 5px 12px;
}

.navbar-default .navbar-nav > li > .btn-outline-yellow:focus {
  color: #ecb416;
}

.navbar-default .navbar-nav > li > .btn-outline-yellow:hover {
  color: white;
  background-color: #ecb416;
}

.navbar-default .navbar-nav > li > .btn-full-yellow {
  border-radius: 20px;
  color: white;
  border: 1px solid #ecb416;
  background-color: #ecb416;
  margin: 14px auto;
  padding: 5px 12px;
}

.navbar-default .navbar-nav > li > .btn-full-yellow:focus {
  color: #ecb416;
}

.navbar-default .navbar-nav > li > .btn-full-yellow:hover {
  color: white;
  background-color: #ecb416;
}

.nav > li > a:focus,
.nav > li > a:hover {
  background-color: transparent;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .active > a:hover {
  background-color: #f3f3f3;
}

.btn-default:hover {
  background-color: #f9f9f9;
}

.panel-default > .panel-heading {
  background-color: transparent;
}

.panel-default .panel-title {
  font-weight: bold;
}

.topic-display {
  display: inline-table;
  cursor: pointer;
}

.rotated {
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}

.hero {
  background: url("../img/website_3.jpg") no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  position: relative;
  height: 800px;
  color: white;
  text-align: center;
}

.hero .overlay {
  background-color: rgba(0, 0, 0, 0.5);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 56px;
}

.hero .btn.btn-primary {
  background-color: #ecb416;
  border-radius: 20px;
  border: 1px solid #ecb416;
  font-size: 18px;
  font-weight: bold;
  padding: 8px 35px;
  text-transform: uppercase;
}

div.container div {
  max-width: 1140px;
}

.steps-body {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.steps-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.step-wrapper {
  vertical-align: middle;
  text-align: center;
  display: inline-block;
  padding: 10px 10px;
  width: 100px;
  margin-left: 30px;
  margin-right: 30px;
}

.requirement-size {
  width: 240px;
}

.criteria-container {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
  flex-wrap: wrap;
}

.criteria-container p {
  font-size: 18px;
}

.secondary-color {
  color: #f6921e;
}

.newsletter-block {
  background: url('/static/img/background_colors.png') no-repeat;
  background-size: 100%;
  color: white;
}

.leaders-block,
.dialogue-block,
.news-block {
  padding-top: 12rem;
  padding-bottom: 12rem;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

h2 {
  font-weight: 100;
  font-size: 36px;
  margin-bottom: 20px;
}

.america-background-container {
  background-color: #f0f0f0;
  background-image: url("/static/img/america_video_block.png");
}

.video-block,
.blog-block {
  padding-top: 8rem;
  padding-bottom: 12rem;
}

.video-block iframe {
  max-width: 100%;
}

.dialogue-block {
  background: linear-gradient(to bottom, #f0f0f0 0%, white 100%);
}

.speakers-block,
.supporters-block,
.community-block {
  padding-top: 8rem;
  padding-bottom: 10rem;
}

.supporters-block {
  background: #fff;
}

.speakers-block .media {
  margin-bottom: 40px;
}

.speakers-block .media-body {
  padding-right: 20px;
}

.landing-text {
  color:#777;
  font-size: 18px;
  line-height: 1.8em;
}

.landing-dialog-container {
  display:flex;
  flex-direction: row;
  align-items: center;
}

.landing-dialog-text,
.landing-dialog-image {
  flex: 5;
}

.landing-container {
  height: 100%;
  flex-direction: column;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-header {
  text-align: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.orange > a {
  padding: 0;
  margin: 0;
}

.orange-button {
  background-color: #ecb416;
  border-radius: 20px;
  border: 1px solid #ecb416;
  font-size: 18px;
  font-weight: bold;
  padding: 8px 35px;
  text-transform: uppercase;
  margin-top: 2rem;
  color: white;
}

.orange-button:hover {
  color: white;
  background-color: #ecb416;
}

.community-block blockquote {
  padding: 0;
  border: none;

  font-weight: 300;
  font-size: 21px;
  line-height: 1.6em;
}

.community-block blockquote cite {
  font-style: italic;
  font-weight: 500;
  font-size: 16px;
  color: #777;
}

/* reset sticky footer */
body {
  margin-bottom: 0;
}

.footer {
  position: initial;
  height: auto;
  margin-top: 0;
}

.footer h5 {
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 20px;
}

.footer-pages h5 a {
  color: white;
}

.footer-pages {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 16px;
}

.footer-pages a {
  margin-bottom: 2px;
}

.footer-media {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}

.footer-social-icon:hover {
  opacity: 0.5;
}

.blog-content {
  display: flex;
  justify-content: center;
  align-items: center;
  word-wrap: break-word;
  color: black;
  min-height: 150px;
}

.blog-img {
  border-radius: 5px 5px 0 0 ;
  display: block;
  margin: auto;
  width: 100%;
  height: 180px;
}

.blog-title {
  color:#23699f;
  font-weight: 1000;
}

.blog-card {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  border-radius: 5px;
  background-color: #F8F8FF;
  max-width: 300px;
}

.blog-card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.supporters {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.supporters-img {
  display: flex;
  margin: 40px;
  flex-direction: column;
}

.supporter-container {
  display: flex;
  flex-direction: row;
  align-content: center;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.featured-essay-title-block {
  margin-bottom: 5px;
  border-bottom: 1px solid #F0F0F0;
  font-size: 20px;
}

.featured-essay-topic {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  margin: 5px;
  font-size: 24px;
  max-width: 90%;
}

.featured-essay-title {
  font-size: 16px;
  text-transform: uppercase;
}

.featured-essay-author {
  font-size: 14px;
}

.expenses-body {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.expense-wrapper {
  vertical-align: middle;
  text-align: center;
  display: inline-block;
  width: 210px;
  height: 200px;
  margin-left: 10px;
  margin-right: 10px;
}

.financial-support-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.testimonies-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

.testimony-wrapper {
  width: 200px;
  margin: 15px;
  text-align: center;
}

.secondary-text {
   font-size: 18px;
   line-height: 1.6em;
}

.speaker-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.speaker-image {
  border-radius: 50%;
  object-fit: cover;
}

.speakers-info {
  width: 150px;
  height: 150px;
  background: #eee;
  border-radius: 50%;
  margin: 0 auto;
}

.topics-text {
  line-height: 1.5em;
}

.triangle-mark {
  float: right;
  cursor: pointer;
}

.news-block {
  background-color: #f0f0f0;
}

/*
  Bootstrap breakpoints:
  Large:  >1200px                 (Computer)
  Medium: <=1200px and >992px
  Small:  <=992px and >767px      (Tablet)
  X-small: <=767px                (Smart Phone)
*/

@media screen and (max-width: 992px) {

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .blog-card {
    margin-bottom: 30px;
    display: inline-block;
  }

  h2 {
    font-size: 32px;
  }

  .landing-text {
    font-size: 16px;
  }

  .speakers-block .media-heading {
    font-size: 22px;
  }

  .speakers-block img {
    width: 150px;
    height: 150px;
  }

  .leaders-block,
  .dialogue-block {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .leaders-block img,
  .dialogue-block img {
    width: 80%;
  }

  .speakers-block, .supporters-block, .community-block, .video-block, .blog-block {
    padding-top: 4rem;
    padding-bottom: 5rem;
  }

  .supporter-container img {
    width: 200px;
  }

  .itba-container2 img {
    width: 340px;
    margin-top: 40px;
  }

  .itba-container3 img {
    width: 340px;
    margin-top: 20px;
  }

  .secondary-text {
    font-size: 17px;
    line-height: 1.8em;
  }
}

/*
** background-attachment: fixed is not supported on mobile devices and
** causes image to be weirdly resized. The following lines disable
** this behaviour on touchscreens.
*/
@media (hover: none) {
  .landing-front {
    background-attachment: initial;
  }
}

@media screen and (max-width: 767px) {

  h2 {
    font-size: 27px;
  }

  .landing-front {
    height: 540px;
  }

  .landing-front h1 {
    font-size: 40px;
  }

  .landing-front h2 {
    font-size: 18px;
  }

  .speakers-block img {
    width: 100px;
    height: 100px;
  }

  .blog-content {
    height: 90px;
    padding: 12px 5px 5px 2px;
  }

  .blog-content h4 {
    font-size: 16px;
   }

  .blog-img {
    height: 180px;
  }

  .criteria-container h3 {
    font-size: 18px;
  }

  .criteria-container p {
    font-size: 14px;
  }

  .supporter-container img {
    padding-top: 20px;

  }

  .community-block blockquote {
    font-size: 18px;
  }

  .vission-container h2 {
    text-align: center;
  }

  .vission-container p {
    font-size: 14px;
    line-height: 20px;
  }

  .team-container .page-header {
    text-align: center;
  }

  .itba-container1 .img-container {
    text-align: center;
    margin-top: 10px;
  }

  .itba-container3 img {
    width: 300px;
  }

  .secondary-text {
    font-size: 14px;
    line-height: 1.8em;
  }

  .jury-container {
    text-align: center;
  }

  .jury-container p {
    margin-top: 10px;
  }

  .topic-display {
    width: 280px;
  }

}

/* Override the nav-bar collapse break point */
@media (max-width: 1200px) {
  .navbar-header {
      float: none;
  }
  .navbar-left,.navbar-right {
      float: none !important;
  }
  .navbar-toggle {
      display: block;
  }
  .navbar-collapse {
      border-top: 1px solid transparent;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  }
  .navbar-fixed-top {
      top: 0;
      border-width: 0 0 1px;
  }
  .navbar-collapse.collapse {
      display: none !important;
  }
  .navbar-nav {
      float: none !important;
      margin-top: 7.5px;
  }

  .navbar-nav>li>a {
      padding-top: 6px !important;
      padding-bottom: 6px !important;
  }
  .collapse.in {
      display: block !important;
  }
}

/* Nav-bar fix for telephone resolutions */
@media (max-width: 767px) {

  .navbar-nav > li {
    text-align: center;
  }

  .navbar .btn-full-yellow {
    width: 120px;
  }

  .navbar .btn-outline-yellow {
    width: 60px;
  }
}

/* End of nav-bar mambo-jambo */

@media (max-width: 991px) {
  .footer-pages {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.center-vertically {
  display: flex;
  align-items: center;
}