/*
 * Author: Carlos Alvarez
 * URL: http://alvarez.is
 *
 * Project Name: STANLEY - Free Bootstrap 3 Theme
 * Version: 1.0
 * URL: http://blacktie.co
 */

@import url(http://fonts.googleapis.com/css?family=Montserrat:400,700);

body {
  background-color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #555;

  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
}

/* Titles */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #333;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  color: #333;
}

h1 {
  font-size: 35px;
  margin-top: 30px;
  margin-bottom: 30px;
}



/* Paragraph & Typographic */
p {
  line-height: 28px;
  margin-bottom: 25px;
  font-size: 16px;
}

.centered {
  text-align: center;
}

/* Links */
a {
  color: #1abc9c;
  word-wrap: break-word;

  -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
  -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
  -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
  -o-transition: color 0.1s ease-in, background 0.1s ease-in;
  transition: color 0.1s ease-in, background 0.1s ease-in;
}

a:hover,
a:focus {
  color: #7b7b7b;
  text-decoration: none;
  outline: 0;
}

a:before,
a:after {
  -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
  -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
  -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
  -o-transition: color 0.1s ease-in, background 0.1s ease-in;
  transition: color 0.1s ease-in, background 0.1s ease-in;
}

 hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}


.navbar {
  text-transform: uppercase;
  margin-bottom: 0px;
}

.navbar-inverse {
  padding-bottom: 70px;
  padding-top: 70px;
}

.navbar-inverse {
  background-color: #1abc9c;
  border-color: #16a085;
}

.navbar-inverse .navbar-nav > li > a {
  color: white;
}

.navbar-inverse .navbar-nav > li > a:hover {
  color: #222222;
}

.dropdown-menu>.active>a,
.dropdown-menu>.active>a:hover,
.dropdown-menu>.active>a:focus {
  background-color: #1abc9c;
}

.navbar-brand {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 2px;
}

.navbar-inverse .navbar-brand {
  color: white;
}

.navbar-inverse .navbar-toggle {
  border-color: transparent;
}

.progress-bar-theme {
  background-color: #1abc9c;
}

@media (max-width: 767px) {
  .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
    color: white;
  }

  .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover {
    color: #000;
  }
}

@media (min-width: 768px) {
  .navbar-inverse .navbar-nav>.active>a,
  .navbar-inverse .navbar-nav>.active>a:hover,
  .navbar-inverse .navbar-nav>.active>a:focus {
    color: #fff;
    background-color: #16a085;
  }

  .navbar-inverse .navbar-nav>.open>a,
  .navbar-inverse .navbar-nav>.open>a:hover,
  .navbar-inverse .navbar-nav>.open>a:focus {
    color: #fff;
    background-color: #16a085;
  }
}


/* Helpers */

.mt {
  margin-top: 40px;
  margin-bottom: 40px;
}

.pt {
  padding-top: 50px;
  padding-bottom: 50px;
}


/* +++++ WRAP SECTIONS +++++ */

#ww {
  padding-top: 70px;
  padding-bottom: 70px;
  background-color: #f2f2f2;
}


footer {
  background-color: #2f2f2f;
  padding-top: 50px;
  padding-bottom: 50px; 
}

footer p, footer ul {
  color: white;
}

footer h4 {
  color: white;
  text-transform: uppercase;
  padding-bottom: 20px;
}


/* +++++ Color Wraps / Blog Page +++++ */

section {
  padding-top: 60px;
  padding-bottom: 60px;
}

#blog section:nth-child(odd) {
  background-color: #f2f2f2;
}



/* Blog Date*/
time {
  font-size: 12px;
  text-transform: uppercase;
  color: #d2d2d2;
  font-weight: 700;
}

/* Blog Author*/
.author {
  font-size: 12px;
  text-transform: uppercase;
  color: #555;
  padding-left: 5px;
}

/* Blog Quote */
.bq {
  font-size: 22px;
  padding-top: 30px;
}

/* Blog Tags */
.tags {
  padding-top: 20px;
}

.tags-label {
  text-transform: uppercase;
}

/* ================== PORTFOLIO IMAGES HOVER EFFECT ================== */
/* Effects also are controled by hover.zoom.js */
.zoom { 
  display:block; 
  position:relative; 
  overflow:hidden; 
  background:transparent url(../img/loader.gif) no-repeat center;
}

.zoom img { 
  display:none;
}

.zoomOverlay {
  position:absolute;
  top:0; left:0;
  bottom:0; right:0;
  display:none;
  background-image:url(../img/zoom.png);
  background-repeat:no-repeat;
  background-position:center;
}

.zoom2 {
  opacity: 1;
}

.zoom2:hover {
  opacity: 0.5;
}

/* glyphicon Configuration */

.glyphicon {
  font-size: 40px;
  color: #1abc9c;
}


/* Hero unit */

.hero {
  padding-top: 50px;
  color: white;
  background-color: #1abc9c;
}

.hero h1 {
  color: white;
}

/* Images */

@media (min-width: 500px) {

figure.pull-right {
  margin-left: 20px;
}

}

figure.centered .thumbnail {
  display: inline-block;
  *display: inline; /* IE7 hack */
  *zoom: 1; /* IE7 hack */
}


/* Pagination adjustments */

.pager li a {
  margin-top: 10px;
}

@media (min-width: 768px) {
  .pager li a {
    max-width: 50%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 0;
  }
}

/* Remove decorations from the pager items (rounded borders, etc.)  */

.pager .previous a {
  padding-left: 0;
}

.pager .next a {
  padding-right: 0;
}

.pager li>a,
.pager li>span {
  background: none;
  border: none;
  border-radius: 0;
}

.pager li>a:hover,
.pager li>a:focus {
  background: none;
}


/* Archives */

ul.archive-list {
  list-style-type: none;
  padding: 0;
}

ul.archive-list a {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  float: left;
  margin-right: 5px;
}

ul.archive-list time {
  white-space: nowrap;
}

@media (min-width: 480px) {
  ul.archive-list li {
    font-size: 22px;
    line-height: 1.6em;
  }

  ul.archive-list time {
    display: inline-block;
    padding-left: 10px;
  }

  ul.archive-list a {
    max-width: 75%;
  }
}

ul.category-list {
  font-weight: 700;
  font-size: 22px;
}

#topics h3 {
  margin-top: 50px;
}

/* Avoid overlap in tag cloud */

.nav.tag-list>li {
  display: inline;
  float: none;
}

.nav.tag-list>li>a{
  display: inline;
}

/* Adjust custom icons a bit */

.av-icon:before {
  top: 2px;
  position: relative;
}

.link-list i {
  padding-right: 5px;
}


/* Buttons */

.btn-primary {
  color: #fff;
  background-color: #1abc9c;
  border-color: #16a085;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
  background-color: #16a085;
  border-color: #16a085;
}


/* BibTeX items */

.bibliography li {
  margin-top: 20px;
}

.bibitem-buttons {
  margin-top: 10px;
  margin-bottom: 10px;
}

.bibitem-buttons a {
  display: inline-block;
  margin-right: 20px;
}

.doi {
  display: inline-block;
}

.btn-toggle.collapsed .fa-caret-down:before {
content: "\f0da";
}


/* Disqus */

#disqus_thread {
  margin-top: 50px;
}

