/* fonts */

@font-face {
    font-family: "NexaThin";
    src: url("../fonts/3000D5_0_0.eot?#iefix") format("embedded-opentype"), url("../fonts/3000D5_0_0.woff2") format("woff2"), url("../fonts/3000D5_0_0.woff") format("woff"), url("../fonts/3000D5_0_0.ttf") format("truetype");
    font-style: normal;
}
@font-face {
    font-family: "NexaThinItalic";
    src: url("../fonts/3000D5_5_0.eot?#iefix") format("embedded-opentype"), url("../fonts/3000D5_5_0.woff2") format("woff2"), url("../fonts/3000D5_5_0.woff") format("woff"), url("../fonts/3000D5_5_0.ttf") format("truetype");
    font-style: italic;
}
@font-face {
    font-family: "Nexa";
    font-style: normal;
    font-weight: normal;
    src: url("../fonts/3000D5_4_0.eot?#iefix") format("embedded-opentype"), url("../fonts/3000D5_4_0.woff2") format("woff2"), url("../fonts/3000D5_4_0.woff") format("woff"), url("../fonts/3000D5_4_0.ttf") format("truetype");
}
@font-face {
    font-family: "Nexa";
    font-style: italic;
    font-weight: normal;
    src: url("../fonts/3000D5_3_0.eot?#iefix") format("embedded-opentype"), url("../fonts/3000D5_3_0.woff2") format("woff2"), url("../fonts/3000D5_3_0.woff") format("woff"), url("../fonts/3000D5_3_0.ttf") format("truetype");
}
@font-face {
    font-family: "Nexa";
    font-style: normal;
    font-weight: bold;
    src: url("../fonts/3000D5_2_0.eot?#iefix") format("embedded-opentype"), url("../fonts/3000D5_2_0.woff2") format("woff2"), url("../fonts/3000D5_2_0.woff") format("woff"), url("../fonts/3000D5_2_0.ttf") format("truetype");
}
@font-face {
    font-family: "Nexa";
    font-style: italic;
    font-weight: bold;
    src: url("../fonts/3000D5_1_0.eot?#iefix") format("embedded-opentype"), url("../fonts/3000D5_1_0.woff2") format("woff2"), url("../fonts/3000D5_1_0.woff") format("woff"), url("../fonts/3000D5_1_0.ttf") format("truetype");
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */


body {
  font-family: 'Nexa';
  font-size: 16px;
/*  Gap for navbar*/
  margin-top: 50px;
}

@media only screen and (min-width:768px) {
  
  body {
    margin-top: 90px;
  }
}


.navbar {
  margin-bottom:0;
  border-radius:0;
  border:0 none;
}

.navbar-brand {
  margin:0;
}

.navbar-brand .brand-tag {
  font-family: 'NexaThin';
  text-transform: none;
}

.navbar-inverse .navbar-brand {
  color:#FFF;
  font-size: 26px;
  text-transform: uppercase;
}

.navbar-brand a, .navbar-brand a:visited, .navbar-brand a:active {
  color: #FFF;
  text-decoration: none;
}

.navbar-default .navbar-brand:hover {
    color:#777;
}

.jumbotron {
  padding-top:20px;
  background-image: url("https://www.eiara.nz/images/hero.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right bottom;
}

@media only screen and (max-width:768px) {
  .jumbotron {
    background-size: cover;
    background-position: 75% 0%;
  }
  
  .jumbotron-inner-box {
    padding: 15px;
  }
  
  .jumbotron-inner-box *:first-child {
    margin-top: 0;
  }
}

@media only screen and (max-width:500px) {
  .jumbotron {
    background-position: right bottom;
    padding: 0;
    display: flex;
    align-items: stretch;
  }
  
  .jumbotron .container {
    display: flex;
    align-items: stretch;
    margin: 0;
    padding: 0;
    width: 100%;
  }
  
  .jumbotron .container .row {
    display: flex;
    align-items: stretch;
    width: 100%;
    margin: 0;
  }
  
  .jumbotron-inner-box {
    padding: 15px;
    border-radius: 0 !important;
    width: 100%;
  }
  
  .jumbotron-inner-box *:first-child {
    margin-top: 0;
    margin-bottom: 12px;
  }
  .jumbotron-inner-box p {
    margin-bottom: 0;
  }
}

.jumbotron-inner-box {
  background: rgba(50,50,50,0.7);
  color: #ffffff;
  border-radius: 5px;
}

.jumbotron-inner-box p {
  font-family: 'NexaThin';
}

.jumbotron-inner-box a, .jumbotron-inner-box a:visited {
  color: #ffffff;
}

.jumbotron h2 {
  font-size:36px;
  margin-bottom:20px;
  font-family: 'NexaThin';
}

.highlight {
  color: #603A17;
}

a, a:visited, a:active {
  color: #603A17;
}

a:hover {
  color: #626E33;
}

.btn-primary {
  color: #fff;
  background-color: #626E33;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:active,
.btn-primary.active,
a.btn-primary,
a:hover.btn-primary {
  color: #fff;
}

.btn-primary {
  background-image: -webkit-linear-gradient(top,  #626e33 0%, #5b6d12 100%);
  background-image:      -o-linear-gradient(top, #626e33 0%, #5b6d12 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#626e33), to(#5b6d12));
  background-image:         linear-gradient(to bottom, #626e33 0%, #5b6d12 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#626e33', endColorstr='#5b6d12', GradientType=0);
  border-color: #576B00;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus {
  background-color: #5b6d12;
}
.btn-primary:active,
.btn-primary.active {
  background-color: #5b6d12;
  border-color: #576B00;
}
.btn-primary:disabled,
.btn-primary[disabled] {
  background-color: #60683E;
}

.ss-question-list {
  padding-left: 0;
}

footer {
  margin-top: 150px;
  margin-bottom: 15px;
}

#devops-101 ul li,
#next-level ul li{
  margin-bottom: 10px;
}

.row-image {
  max-height: 180px;
}

@media only screen and (min-width:992px) {
  .info-items {
    width: 60%;
    float: left;
  }
  .articles {
    width: calc(40% - 20px);
    margin-left: 20px;
    float: left;
  }
  .articles-hr {
    display: none;
  }
  .articles .row-image {
    display: none;
  }
}

@media only screen and (min-width:768px) {
  .navbar-nav li:first-child > a {
    padding-left: 1px;
  }
  .navbar-nav li > a {
    padding-top: 5px;
  }
  
  #navbar {
    clear: both;
  }
}
.post-snippet:last-child hr {
  display: none;
}

#training a {
  margin-top: 15px;
}

.pagination a {
  display: inline-block;
}