/*
 * Handcrafted by Iva Dopudj @masquetina | 2016
 * All rights reserved
 */
#home,
#about,
#sections,
#testimonials,
#contents,
#author {
  padding-top: 140px;
  padding-bottom: 70px;
}
header {
  background-image: url(../img/buildings-blue.jpg);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  background-attachment: fixed;
  background-color: #2A5CA1;
}
#about,
#sections,
#testimonials,
#contents {
  background-color: #FFF;
}
#about,
#contents {
  box-shadow: 0 -2px 2px rgba(0,0,0,.2);
}
#sections {
  padding-top: 0;
  box-shadow: 0 2px 2px rgba(0,0,0,.2);
}
#background {
  position: relative;
  width: 100%;
  background-image: url(../img/desk.jpg);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  background-attachment: scroll;
  z-index: -1;
}
#author {
  padding-bottom: 0;
}
#testimonials {
  padding-top: 70px;
}
@media only screen and (max-width: 1023px) {
  header nav {
    background-color: #2A5CA1;
  }
  header nav ul {
    background-color: #2A5CA1;
  }
}
@media only screen and (min-width: 1024px) {
  header nav.transform-1 {
    background-color: #2A5CA1;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  }
  header nav.transform-2 {
    background-color: #FFF;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  }
  header nav.transform-1 a,
  header nav.transform-1 a:visited {
    color: #FFF;
  }
  header nav.transform-2 a,
  header nav.transform-2 a:visited {
    color: #2A5CA1
  }
  header nav.transform-1 ul li.btn a,
  header nav.transform-2 ul li.btn a {
    color: #FFF;
  }
}
header .action,
#action .action {
  width: 176px;
  margin: 24px 0;
}
header .action p,
header .action-second p,
#action p {
  font-family: 'Roboto', sans-serif;
  color: #FFF;
  font-size: 1em;
  font-weight: 900;
  text-indent: 0;
  text-align: left;
  text-transform: uppercase;
}
header .action a img,
#action a img {
  position: relative;
  width: 100%;
  border-radius: 4px;
  background-color: #FFF;
  padding: 6px 24px;
  box-shadow: 0 3px 0 #CECECE, 0 6px 4px rgba(0,0,0,.2);
}
header .action a img:hover,
#action a img:hover {
  top: 1px;
  box-shadow: 0 2px 0 #CECECE, 0 4px 4px rgba(0,0,0,.2);
}
header .action a img:active,
#action a img:active {
  top: 2px;
  box-shadow: 0 1px 0 #CECECE, 0 2px 4px rgba(0,0,0,.2);
}
header .action-second {
  width: 176px;
}
header .action-second li {
  margin: 0  0 8px 0;
}
header .action-second a {
  font-family: 'Roboto', sans-serif;
  font-size: .85em;
  text-transform: uppercase;
  font-weight: 700;
  color: #2A5CA1;
  background-color: #fbcf9d;
  /*background-color: #fff0b3;*/
  position: relative;
  display: block;
  width: 100%;
  padding: 4px 8px 4px 0;
  border-radius: 4px;
  text-align: center;
  box-shadow: 0 3px 0 #f9ab53, 0 6px 4px rgba(0,0,0,.2);
  /*box-shadow: 0 3px 0 #ffe066, 0 6px 4px rgba(0,0,0,.2);*/
  z-index: 997;
}
header .action-second i {
  padding: 4px 8px;
}
header .action-second a:hover {
  top: 1px;
  box-shadow: 0 2px 0 #f9ab53, 0 4px 4px rgba(0,0,0,.2);
  /*box-shadow: 0 2px 0 #ffe066, 0 4px 4px rgba(0,0,0,.2);*/
}
header .action-second a:active {
  top: 2px;
  box-shadow: 0 1px 0 #f9ab53, 0 2px 4px rgba(0,0,0,.2);
  /*box-shadow: 0 1px 0 #ffe066, 0 2px 4px rgba(0,0,0,.2);*/
}
header .scroll {
  position: absolute;
  bottom: 24px;
  width: 100%;
  text-align: center;
}
header .scroll a {
  position: relative;
  width: 64px;
  display: block;
  margin: 0 auto;
  padding: 8px;
  color: #FFF;
}
header .scroll a i {
  cursor: pointer;
}
#about p,
#author p {
  padding-bottom: 4px;
}
#about p.strong {
  font-weight: 400;
  text-align: right;
}
#about p.strong span {
  font-family: 'Roboto', sans-serif;
  font-size: 0.85em;
  font-weight: 300;
  text-indent: 0;
}
.well {
  border: none;
  box-shadow: 0 2px 4px rgba(0,0,0,.2);
  background-color: #F0F0F0;
  transition: all .25s ease-in-out;
}
.well:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.themes i {
  padding: 8px;
}
.themes h3 {
  font-size: 1em;
  color: #2A5CA1;
  font-weight: 900;
  text-transform: uppercase;
}
.themes p {
  font-size: 1em;
  text-align: center;
  text-indent: 0;
  line-height: 1.25em;
  padding: 0 8px;
}
img#book {
  display: block;
  margin: 0 auto;
  width: 100%;
}
#testimonials p {
  text-align: left;
  text-indent: 0;
  font-style: italic;
  padding: 0 0 16px 0;
}
#testimonials p.name {
  color: #F67800;
  font-family: 'Roboto', sans-serif;
  font-size: 0.85em;
  font-weight: 900;
  font-style: normal;
  padding: 0 0;
}
#testimonials p.position {
  font-family: 'Roboto', sans-serif;
  font-size: 0.85em;
  font-style: normal;
  padding: 0 0;
}
#testimonials i {
  color: #F67800;
  font-style: italic;
}
#testimonials img {
  position: relative;
  display: block;
  margin: 0 auto;
  width: 80px;
  border: 4px solid #FFF;
  border-radius: 4px;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}
#testimonials .fadeslider .slide {
  position: absolute;
  top:0;
  display:none;
}
#testimonials .fadeslider .slide:nth-child(1) {
  display:block;
}
#contents {
  position: relative;
}
#contents li {
  font-family: 'Roboto', sans-serif;
  font-size: 1.25em;
  padding: 0 8px 32px 8px;
  text-align: left;
  text-indent: 0;
  font-weight: 900;
  text-transform: uppercase;
  color: #2A5CA1;
  cursor: default;
  transition: color .25s ease-in-out;
}
#contents li:hover {
  color: #487AB5;
}
#contents span {
  display: block;
  font-weight: 700;
  text-transform: none;
}
#contents #table {
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: #2A5CA1;
}
#contents #table a {
  font-size: 1em;
  color: #FFCC00;
  font-weight: 900;
  transition: all .15s ease-in-out;
  padding: 24px;
}

#contents #table a:hover {
  padding-right: 16px;
}
#contents #table i {
  padding-left: 8px;
  cursor: pointer;
}
#author img {
  position: relative;
  display: block;
  width: 136px;
  border: 4px solid #FFF;
  border-radius: 4px;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}
#author h3.author {
  text-indent: 0;
  margin: 0;
  padding: 0;
}
#author h3.author {
  font-size: 2em;
  font-weight: 900;
  color: #F67800;
}
#author p.author {
  font-family: 'Roboto', sans-serif;
  font-size: 1em;
  padding: 8px 0;
}
#author .social {
  margin: 16px 0;
}
#author h3.author,
#author p.author,
#author .social {
  text-align: left;
}
#author p.quote {
  font-style: italic;
  text-indent: 0;
  padding: 24px 0;
}
#author p.quote i {
  color: #F67800;
  font-style: italic;
}
#author .social ul li {
  display: inline-block;
}
#author .social ul li {
  width: 42px;
  height: 42px;
  padding: 4px;
  text-align: center;
  border: 2px solid #F67800;
  cursor: pointer;
  transition: all .15s ease-in-out;
}
#author .social ul li:hover {
  background-color: #F67800;
  border: 2px solid transparent;
}
#author .social ul li a i {
  color: #F67800;
  cursor: pointer;
}
#author .social ul li:hover a i {
  color: #FFF;
}
#action {
  background-color: #F67800;
}
#action .action {
  margin: 0 auto;
  padding: 24px 0;
}
footer {
  background-color: #2A5CA1;
}
footer .social ul li:hover a i {
  color: #2A5CA1;
}
@media screen and (min-width: 0px) {
  .themes {
    float: none;
    margin: 0 auto;
  }
  img#book {
    padding: 70px 0 0 0;
  }
  #background {
    height: 320px;
  }
  #testimonials .fadeslider {
    position: relative;
    padding-bottom: 280px;
  }
  #contents .left {
    border-right: none;
  }
  #contents .left li {
    text-align: left;
  }
  #testimonials img,
  #author img {
    display: none;
  }
}
@media screen and (min-width: 768px) {
  .themes {
    width: 80%;
  }
  .themes .well {
    min-height: 260px;
  }
}
@media screen and (min-width: 992px) {
  #contents .left {
    border-right: 2px solid #2A5CA1;
  }
  #contents .left li {
    text-align: right;
  }
  img#book {
    padding: 24px 0 0 0;
  }
}
@media screen and (min-width: 1024px) {
  .themes {
    float: left;
    width: 100%;
  }
  #testimonials .fadeslider {
    position: relative;
    padding-bottom: 210px;
  }
}
@media screen and (min-width: 1200px) {
  #testimonials img,
  #author img {
    display: block;
    float: right;
  }
}
@media screen and (min-width: 1366px) {
  #background {
    height: 480px;
  }
}
