/* Copyright 2012-2016 HyperArt/studio */

.container {
  margin: 20px auto;
  max-width: 950px;
} 
.navbar {
  margin-bottom: 0px;
    background-color: #fff;
    border: none;
    margin:0px 0 0px 0;
}

.navbar-right {
  margin:110px 0px 0 0;
  float: right;
  background-color: #eee;
}

.navbar-default {
  margin: -10px 0 10px 0;
border: none;
}

.container-fluid {
  padding-right: 0px;
  padding-left: 0px;
  margin-right: -15px;
  margin-left: auto;
}

.navbar-header {
  margin: 0px 0 120px 0;
}

.navbar-toggle {
  margin: 30px 0px 0px 0;
}

.btnav {
  display: inline-block;

  margin-bottom: 0;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.42857143;
  text-align: left;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
      touch-action: manipulation;
  cursor: pointer;

}

.btn-nav {
  color: #999999;
  background-color: #f6f6f6;

}
.btn-nav:focus,
.btn-nav.focus {
  color: #666666;
  background-color: #e6e6e6;

}
.btn-nav:hover {
  color: #666666;
  background-color: #e6e6e6;

}

.btnact {
  color: #666666;
  background-color: #f6f6f6;
}

.carousel.fade {
  opacity: 1;
}
.carousel.fade .item {
  -moz-transition: opacity ease-in-out .7s;
  -o-transition: opacity ease-in-out .7s;
  -webkit-transition: opacity ease-in-out .7s;
  transition: opacity ease-in-out .7s;
  left: 0 !important;
  opacity: 0;
  top:0;
  position:absolute;
  width: 100%;
  display:block !important;
  z-index:1;
}
.carousel.fade .item:first-child {
  top:auto;
  position:relative;
}
.carousel.fade .item.active {
  opacity: 1;
  -moz-transition: opacity ease-in-out 1s;
  -o-transition: opacity ease-in-out 1s;
  -webkit-transition: opacity ease-in-out 1s;
  transition: opacity ease-in-out 1s;
  z-index:2;
}

.thumb {
    margin-bottom: 30px;
}

.page-header {
  padding-bottom: 9px;
  margin: 0px 0 10px 0;
  border-bottom: 1px solid #eee;
}

.img-thumbnail {
  display: inline-block;
  max-width: 100%;
  max-height: 600px;
  padding: 2px;
  line-height: 1.42857143;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  -webkit-transition: all .2s ease-in-out;
       -o-transition: all .2s ease-in-out;
          transition: all .2s ease-in-out;
}

.thumbnail > img,
.thumbnail a > img {
  margin-right: auto;
  margin-left: auto;
}

.thumbnail {
    border-style: none;
    margin: 10px 0 0 0;
}

.img-jn {
  max-width: 100%;
  margin: 0px 0 0 0;
}

.img-about { 
   border:1px solid #eee;
}

.row { 
   font-size: 1.1em;
}


.gap-right {
  margin: 0px 15px 0px 0px; 
}

.gap-left {
  margin: 5px 0px 0px 0px;  
}

.gap-top {
  margin:80px 0px 0px 0px;  
}
.footer {
    margin: 20px 0 0 0;
}

.modal-dialog {
    margin: 10px auto;
  }
  
.form-group {
    margin: 10px 0 0 0;
}

.error-top {
    display: none;
}

.contact-box {
    font-size: 0.97em;
}


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

.container {
  margin: 20px auto;
  max-width: 100%;
}

.nav {
  width: 100%;
  border-style: none;
   float: left;
   margin: 15px 0 0px 0;
}

.container-fluid {
  padding-right: 0px;
  padding-left: 0px;
  margin-right: auto;
  margin-left: auto;
}

.navbar-collapse {
  border-style: none;
  margin: 0px 0 0px 0;
}
.navbar-default {
  margin: 0px 0 20px 0;
border-style: none;
}

.imglogo {
margin: -20px 0 0px 0;
height: 130px; 
}

.navbar-header {
  margin: 0px 0 60px 0;
    max-width: 100%;
    border-style: none;
    border: none;
}

.page-header {
font-size: 1.2em;
  padding-bottom: 5px;
  margin: 0px 0 5px 0;
  border-bottom: 1px solid #eee;
}

.img-responsive {
  max-width: 95%;
}

.img-res {
  max-width: 100%;
}

.img-jn {
  max-width: 100%;
  margin: 5px 0 0px 0;
}

.descriptionText:not(.in) {
    min-height: 4.25em;
    height: 12em;
    display: block;
    overflow: hidden;
}

.gap-right {
  margin: 0px 0px 10px 0px;
}

.gap-left {
  margin: 0px 0px 10px 0px; 
}

.gap-top {
  margin:0px 0px 0px 0px;  
}

/* fix body.modal-open overflow:hidden */
body.modal-open {
    height: auto;
}

.error-top {
    display: block;
}

.contact-textarea {
    font-size: 0.83em;
}

}

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

.gap-top {
  margin:0px 0px 0px 0px;  
}

}