/* CSS */

/* User-defined */

/* Common */
.nobr { white-space: nowrap; }
.no-pad { padding: 0px; }
.cntblock { margin-bottom: 20px; }
.err { color: #FF0000 !important; }
.req { color: #FF0000; }
.left-align { text-align: left; }
.center-align { text-align: center; }
.right-align { text-align: right; }
.justify-align { text-align: justify; }

/* Popup, Gallery and Image styles */
  
.ig-wrapper { position: relative; overflow: hidden; margin: auto; width: auto; }
.ig-pause-old { width: 100%; height: 100%; position: absolute; top: 0px; left: 0px; background: transparent url('../i/ig_pause_icon.gif') no-repeat right bottom; z-index: 1000; display: none; }
.ig-pause { width: 100%; height: 100%; position: absolute; top: 0px; left: 0px; background: transparent url('../i/ig_enlarge.png') no-repeat right bottom; z-index: 1000; display: none; }
.ig-box { position: relative; top: 0px; left: 0px; overflow: hidden; text-align: center; }
.ig320x240 { width: 320px; height: 240px; }
.ig320 { width: 320px; }
.ig240 { width: 240px; }
.ig-box.hidden { display: none; }
.ig-prev { float: left; display: block; width: 20px; height: 20px; background: transparent url('../i/ig_prev_icon.gif') no-repeat center center; }
.ig-next { float: left; display: block; width: 20px; height: 20px; background: transparent url('../i/ig_next_icon.gif') no-repeat center center; }
.ig-close { float: right; display: block; width: 20px; height: 20px; background: transparent url('../i/ig_close_icon.gif') no-repeat center center; }
.ig-counter { float: left; display: block; width: 50px; height: 20px; text-align: center; padding-top: 2px; }
.ig-caption { float: left; display: block; height: 20px; text-align: left; padding-top: 2px; }
.ig-box IMG { display: block; margin: auto; border-width: 0px; }
.ig-box IMG.i-gallery { width: 100%; }
#ig-display-navigation * { font-family: Arial, sans-serif; font-size: 9pt; color: #405361; }
.ig-left { float: left; margin: 0px 20px 20px 0px; }
.ig-right { float: right; margin: 0px 0px 20px 20px; }
.ig-center { display: block; width: 100%; text-align: center; }

.ig-left { float: left; margin: 0px 3% 20px 0px; width: 49%;}
.ig-right { float: right; margin: 0px 0px 20px 3%; width: 49%; }
.ig-center { display: block; width: 100%; text-align: center; }
.ig-whole { display: block; width: 100%; text-align: center; }
.ig-left IMG, .ig-right IMG, .ig-whole IMG { width: 100%; }

.single-image img { width: 100% !important; margin-bottom: 20px; }

.ig-box { border: 1px solid #DDDDDD; border-radius: 4px; padding: 4px; overflow: hidden; }

.ig-box IMG { width: 100%; }
.ig-wrapper BR { height: 0px !important; display: none; }

@media (max-width: 767px)
{
  .ig-left, .ig-right, .ig-center
  {
    float: none;
    display: block;
    width: 100% !important;
    margin: 0px 0px 0px 0px !important;
  }
  
}

/* home slider + map */
#map
{
  width: 100%;
  float: left;
  height: 500px;
}

.home-slider-left H2, .home-slider-right H2, .home-slider-bottom H2
{
  font-size: 16pt;
  line-height: 24pt;
  font-weight: bold;
  padding: 0px;
  margin: 0px 0px 15px 0px;
  color: #E3D7D7;
}

@media (max-width: 767px)
{
  .home-slider-left H2, .home-slider-right H2, .home-slider-bottom H2
  {
    font-size: 12pt;
    line-height: 16pt;
  }
  .home-slider-button
  {
    font-size: 9pt;
  }
  
  #map
  {
    height: 400px;
  }

}

@media (max-width: 479px)
{
  
  #map
  {
    height: 300px;
  }

}

/* template fix */

.navbar-custom { background-color: #222; } /* initial navbar background color; default is transparent */
.navbar-brand-fix { padding: 0px 0px 0px 15px; }

H3
{
  font-size: 20px;
}
 
@media (min-width: 768px)
{
  .navbar-right
  {
    margin-right: 0px;
  }
}

.home-slider-button
{
  color: #fff;
  border-radius: 3px;
  background-color: #4090D0;
  border-color: #4090D0;
}

.white-bgr-section { background: #FFFFFF !important; }
.gray-bgr-section { background: #FAFAFA !important; }
.image-bgr-section { background-color: #FFFFFF !important; background-repeat: no-repeat; background-position: center center; background-size: cover; -webkit-background-size: cover; -moz-background-size: cover; background-size: cover; -o-background-size: cover; }

.image-bgr-section { color: #FFFFFF; }

.navbar-nav
{
  margin-top: 7px;
  letter-spacing: 0px; 
}

.navbar-custom .navbar-nav > li > A
{
  font-size: 10pt;
  padding: 8px 6px;
  letter-spacing: -0.3px;
}

div.timeline-image
{
  background-position: center center;
  background-size: cover;
}

li.timeline-pause > div
{
  position: relative;
}

li.timeline-pause > div > H4
{
  position: absolute;
  padding: 10px;
  margin: 0px !important; 
  text-align: center;
  top: 50%;
  transform: translate(0, -50%);
  width: 100%;
}

li.timeline-pause
{
  min-height: 170px;
}

@media (max-width: 767px)
{
  li.timeline-pause
  {
    min-height: 80px;
  }
}

@media (min-width: 768px) and (max-width: 991px)
{
  li.timeline-pause
  {
    min-height: 100px;
  }
  div.timeline-panel
  {
    padding-bottom: 0px !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px)
{
  li.timeline-pause
  {
    min-height: 150px;
  }
  div.timeline-panel
  {
    padding-bottom: 0px !important;
  }
}

.portfolio-inner
{
  overflow: hidden;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  max-width: 400px;
  margin: 0px auto;
}

footer ul.quicklinks > li > A:link, footer ul.quicklinks > li > A:active, footer ul.quicklinks > li > A:visited {
  text-decoration: none;
}

.portfolio-modal .modal-content H3 {
    margin: 20px 0 30px;
    font-family: "Droid Serif","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-style: italic;
    font-weight: normal;
    text-align: center;
    text-transform: none;
    font-size: 16px;
}

@media (max-width: 767px)
{
  .portfolio-modal .modal-content H2 {
    font-size: 2em;
  }
}

.language-list-block
{
  display: inline-block; 
  width: auto;
  max-width: 280px;
  text-align: left;
  margin: 40px auto;
  font-size: 14pt !important;
}