/* Custom Fonts */
@font-face {
  font-family: 'Cardo';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/cardo-regular.eot?') format('eot'),
  url('../fonts/cardo-regular.otf') format('opentype'),
  url('../fonts/cardo-regular.woff') format('woff'),
  url('../fonts/cardo-regular.ttf') format('truetype'),
  url('../fonts/cardo-regular.svg#cardo-regular') format('svg');
}

@font-face {
  font-family: 'Cardo';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/cardo-italic.eot?') format('eot'),
  url('../fonts/cardo-italic.otf') format('opentype'),
  url('../fonts/cardo-italic.woff') format('woff'),
  url('../fonts/cardo-italic.ttf') format('truetype'),
  url('../fonts/cardo-italic.svg#cardo-italic') format('svg');
}

@font-face {
  font-family: 'Cardo';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/cardo-bold.eot?') format('eot'),
  url('../fonts/cardo-bold.otf') format('opentype'),
  url('../fonts/cardo-bold.woff') format('woff'),
  url('../fonts/cardo-bold.ttf') format('truetype'),
  url('../fonts/cardo-bold.svg#cardo-bold') format('svg');
}

/* General */
body {
  font-family: 'Cardo', serif;
  font-weight: 400;
  font-style: normal;
}

em {
  font-family: 'Cardo', serif;
  font-weight: 400;
  font-style: normal;
}

strong {
  font-family: 'Cardo', serif;
  font-weight: 700;
  font-style: normal;
}

body {
  color: #5f6168;
  font-size: 14px;
  background: #fff;
  margin: 0;
  line-height: 21px;
}

p {
  line-height: 21px;
}

h2 {
  margin-top: 0;
}

a {
  color: #a8b8b4;
  text-decoration: none;
}

a:hover, a:active, a:focus {
  color: #a8b8b4;
  text-decoration: underline;
  outline: none;
}

::selection {
  background-color: #a8b8b4;
  color: #2b6c5c;
}

.btn {
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
}

.btn:Hover {
  opacity: 1;
  border: 1px solid transparent;
}

.img-responsive-full {
  max-width: 100%;
  width: 100%;
}

.hiding {
  opacity: 0;
}

.visible {
  opacity: 1;
}

.sticky {
  position: fixed;
  top: 0;
  display: block;
  width: 100%;
  z-index: 9;
}

.navigation {
  background: #FFF;
}

.navigation-brand {
  float: none;
  text-align: center;
  display: block;
}

.navigation-brand .brand-logo {
  text-align: center;
  padding-top: 80px;
  padding-bottom: 15px;
}

.navigation-brand .brand-logo a {
  display: block;
}

.navigation-brand .brand-logo a img {
  margin: 0 auto;
}

.navigation-navbar {
  display: block;
}

.navigation-bar {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: block;
  text-align: center;
}

.navigation-bar > li {
  display: inline-block;
}

.navigation-bar > li a {
  display: inline-block;
}

.navigation-bar > li a:Hover,
.navigation-bar > li.active a {
  color: #fe4918;
  text-decoration: none;
}

/* DROP DOWNS */
.navigation-bar li {
  position: relative;
}

.navigation-bar li ul {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navigation-bar li:hover ul {
  display: block;
  margin-left: 0;
  position: absolute;
  top: 35px;
  z-index: 9999;
}

.navigation-bar li:hover li {
  float: none;
  margin: 0;
  white-space: nowrap;
  width: 100%;
  background: none;
  padding: 0;
}

.navigation-bar li:hover li a {
  background: #fff;
  color: #a8b8b4;
  display: block;
  font-size: 1.05em;
  height: auto;
  text-align: left;
  font-weight: bold;
  padding: 7px 45px 7px 15px;
  text-decoration: none;
}

.navigation-bar li:hover li a:hover {
  background: #a8b8b4;
  color: #fff;
  text-decoration: none;
}

/* End Drop Downs */

article {
  margin-bottom: 21px;
}

/* Back to top */
.back-to-top {
  border-radius: 5px;
  text-align: center;
  background: #000;
  color: #fff;
  display: none;
  width: 40px;
  height: 40px;
  line-height: 40px;
  font-size: 12px;
  position: fixed;
  right: 20px;
  bottom: 20px;
  opacity: 0.4;
  filter: alpha(opacity=40);
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  cursor: pointer;
  z-index: 9999;
}

.back-to-top:hover {
  opacity: 1;
  filter: alpha(opacity=100);
}

/* Jquery appear */
.hiding {
  opacity: 0;
}

.visible {
  opacity: 1;
}

/* Preloader */
#mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #F6F6F6;
  z-index: 10000;
  height: 100%;
}

#loader {
  width: 200px;
  height: 200px;
  position: absolute;
  left: 50%;
  top: 50%;
  background-image: url("../img/loading.gif");
  background-repeat: no-repeat;
  background-position: center;
  margin: -100px 0 0 -100px;
}

footer {
  font-size: 7px;
  padding: 0px 80px;
  text-align: center;
  font-weight: 700;
}

/* LAYOUT */
.main {
  padding-top: 30px;
}

.mainsample {
  padding-top: 10px;
}

.heading {
  text-align: center;
}

.heading img {
  margin: 0 auto;
}

/* HOMEPAGE */
#homepage {
  background-image: url('../img/background/homepage-marble.jpg');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: right center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

#homepage .home-content {
  text-align: center;
  position: absolute;
  top: 40%;
  right: 0;
  margin-right: 15px;
  margin-left: 15px;
}

/* WORDS */
#words .author {
  text-transform: uppercase;
  font-weight: 700;
  padding-top: 10px;
  font-size: 13px;
  line-height: 110%;
}

#words .author small {
  font-size: 11px;
  display: block;
}

#words .author smalli {
  font-size: 11px;
  display: block;
  font-style: italic
}

#words .words-center {
  text-align: center;
  padding-left: 20px;
  padding-right: 20px;
  float: left;
  width: 54%;
}

#words .words-centeri {
  text-align: center;
  padding-left: 20px;
  padding-right: 20px;
  float: left;
  width: 54%;
  font-style: italic;
}

#words .words-center article {
  padding-left: 10px;
  padding-right: 10px;
  position: relative;
}

#words .words-center articlei {
  padding-left: 10px;
  padding-right: 10px;
  position: relative;
  font-style: italic;
}

#words .words-center article p {
  z-index: 2;
  position: relative;
  top: 20px;
  font-size: 18px;
  line-height: 29px;
  color: #53545a;
  font-weight: 700;
  width: 85%;
  margin: 0 auto;
}

#words .words-center article p:before {
  content: '';
  display: inline-block;
  position: relative;
  width: 40px;
}

#words .words-center article img.a-embed {
  position: absolute;
  top: -58px;
  left: 0;
  z-index: 1;
}

#words .words-center article p img {
  position: relative;
  top: -7px;
}

#words .words-left,
#words .words-right {
  width: 23%;
  padding-left: 20px;
  padding-right: 20px;
  color: #889491;
}

#words .words-left {
  text-align: right;
  float: left;
  border-right: 3px solid #aabab6;
}

#words .words-right {
  text-align: left;
  float: right;
  border-left: 3px solid #aabab6;
}

/* RE-JB */
#rejb .embed {
  position: absolute;
  right: 12%;
  top: 14%;
}

#rejb article {
  color: #918b78;
}

#rejb article li {
  margin-bottom: 23px;
  font-size: 15px;
}

#rejb article li strong {
  color: #5f6168;
  font-size: 20px;
  font-weight: 300;
}

#rejb .row section:first-child {
  margin-bottom: 30px;
}

.accents-title {
  margin-top: 60px;
  margin-bottom: 40px;
}

.accents-bottom {
  margin-top: 20px;
  margin-bottom: 56px;
}

#rejb .wrapper-info {
  margin-right: 77px;
  margin-top: 40px;
  margin-bottom: 40px;
}

#rejb .wrapper-info h3 {
  margin-top: 0;
  color: #5f6168;
  font-size: 19px;
}

#rejb .section-left {
  text-align: right;
}

#rejb .section-right {
  border-left: 3px solid #aabab6;
}

/*#rejb .section-left p, #rejb .section-right p { color: #889491; }*/

/* WORKS */
.works-thumbnail {
  text-align: center;
}

.works-thumbnail ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 570px;
}

.works-thumbnail ul li {
  display: inline-block;
  position: relative;
  margin: 5px 4px;
}

.works-thumbnail ul li .hover {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  opacity: 0;
  -webkit-transition: opacity ease .3s;
  -moz-transition: opacity ease .3s;
  transition: opacity ease .3s;
}

.works-thumbnail ul li .hoveroriginal {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  opacity: 0;
  -webkit-transition: opacity ease .3s;
  -moz-transition: opacity ease .3s;
  transition: opacity ease .3s;
}

.works-thumbnail ul li:Hover .hover {
  opacity: 1;
}

.slider-wrapper {
  max-width: 896px;
  margin: 0 auto;
}

.slider-wrapper .flexslider {
  background: transparent;
  border: none;
  -webkit-box-shadow: 0 0 0 transparent;
  -moz-box-shadow: 0 0 0 transparent;
  -o-box-shadow: 0 0 0 transparent;
  box-shadow: 0 0 0 transparent;
  margin: 0 0 20px;
}

.slider-wrapper .flex-direction-nav .flex-prev,
.slider-wrapper .flex-direction-nav .flex-next {
  width: 28px;
  height: 55px;
  text-indent: 9999px;
  overflow: hidden;
}

.slider-wrapper .flex-direction-nav .flex-prev:before,
.slider-wrapper .flex-direction-nav .flex-next:before {
  display: none;
}

.slider-wrapper .flex-direction-nav .flex-prev:after,
.slider-wrapper .flex-direction-nav .flex-next:after {
  position: absolute;
  content: '';
  top: 0;
  width: 28px;
  height: 55px;
}

.slider-wrapper .flex-direction-nav .flex-prev:after {
  background: url('../img/navigation/slider/arrow-left.png') no-repeat;
  right: 0;
}

.slider-wrapper .flex-direction-nav .flex-next:after {
  background: url('../img/navigation/slider/arrow-right.png') no-repeat;
  left: 0;
}

.slider-wrapper .flex-direction-nav .flex-prev {
  opacity: 0.7;
  left: -50px;
}

.slider-wrapper .flex-direction-nav .flex-next {
  opacity: 0.7;
  right: -50px;
  text-align: right;
}

.slider-wrapper .flexslider:hover .flex-prev {
  opacity: 0.7;
  left: -50px;
}

.slider-wrapper .flexslider:hover .flex-next {
  opacity: 0.7;
  right: -50px;
}

.slider-wrapper .flexslider:hover .flex-next:hover,
.slider-wrapper .flexslider:hover .flex-prev:hover {
  opacity: 1;
}

/*#slider ul.slides > li { height: 674px; overflow: hidden; position: relative; }*/
/*#slider ul.slides > li > img { position: absolute; bottom: 0; left: 0; right: 0; margin: 0 auto; height: 100%; width: auto; }*/

/* Slider Seperation */
#thumbnail {
  max-width: 816px;
  margin: 0 auto;
}

#thumbnail ul.slides > li {
  margin: 0 15px 0 0;
}

#thumbnail ul.slides > li.flex-active-slide {
  opacity: .8;
}

#thumbnail ul.slides > li:hover {
  cursor: pointer;
  opacity: .8;
}

#thumbnail .flex-direction-nav {
  display: none;
}

.social-media {
  text-align: right;
  padding: 20px 0 0;
  max-width: 816px;
  margin: 0 auto;
}

.social-media a {
  display: inline-block;
}

.social-media a + a {
  margin-left: 5px;
}

#goto {
  position: relative;
  right: 10px;
  top: 3px;
}

/* Mobile device */
@media (max-width: 1499px) {
  #rejb article li {
    margin-bottom: 12px;
  }

  .accents-title {
    margin-top: 14px;
    margin-bottom: 20px;
  }

  .accents-bottom {
    margin-top: 10px;
    margin-bottom: 30px;
  }
}

@media (max-width: 992px) {
  .slider-wrapper .flex-direction-nav .flex-prev {
    left: 10px;
  }

  .slider-wrapper .flex-direction-nav .flex-next {
    right: 10px;
  }

  .slider-wrapper .flexslider:hover .flex-prev {
    left: 10px;
  }

  .slider-wrapper .flexslider:hover .flex-next {
    right: 10px;
  }

  .slider-wrapper .flex-direction-nav .flex-prev,
  .slider-wrapper .flex-direction-nav .flex-next {
    width: 55px;
    height: 55px;
    background: #fff;
    border-radius: 50%;
  }

  .slider-wrapper .flex-direction-nav .flex-prev:after {
    right: 15px;
  }

  .slider-wrapper .flex-direction-nav .flex-next:after {
    left: 15px;
  }
}

@media (max-width: 767px) {
  .navigation-header .navigation-navbar {
    margin: 0 -15px;
  }

  #words .words-left,
  #words .words-right {
    border: 0;
  }

  #words .words-center {
    border: 0;
  }

  #words .words-center,
  #words .words-left,
  #words .words-right {
    width: 100%;
  }

  #words .words-left,
  #words .words-right {
    text-align: left;
  }

  #rejb .section-right {
    border-left: 0;
  }

  #rejb .section-left {
    text-align: left;
  }

  #thumbnail ul.slides > li {
    width: 140px !important;
  }

  .home-page .list-inline > li {
    padding-left: 0;
    padding-right: 0;
  }

}

/* Custom mobile */
@media (max-width: 480px) {
  #rejb .embed {
    right: 6%;
  }
}

/* Tablet device */
@media (min-width: 768px) {
  #words .words-left,
  #words .words-right {
    margin-bottom: 50px;
  }

  #words .words-left article:first-child,
  #words .words-right article:first-child {
    margin-top: -5px;
  }

  #rejb .row section.photo-wrapper {
    padding-right: 45px;
  }

  #rejb .section-left {
    padding-right: 30px;
  }

  #rejb .section-right {
    padding-left: 30px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  #thumbnail ul.slides > li {
    width: 132px !important;
  }
}

/* Desktop small screen */
@media (min-width: 992px) {

}

/* Desktop large screen */
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}

@media (min-width: 1500px) {
  .container {
    width: 1430px;
  }
}

/* nyasro */
.ny-slider #slider {
  margin-bottom: 0;
}

.ny-slider {
  margin-bottom: 20px;
}

#thumbnail .flex-viewport{
  margin-bottom: 50px;
}

.ny-slider .social-media{
  text-align: center;
}

img{
  max-width: 100%;
}
