body {font-family: 'Open sans', sans-serif;}
h1, h2, h3, h4, h5 {
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}
p {line-height:2rem;font-size:1.2rem;margin-top:1.2rem}
section {
  padding: 3.2rem 0;
}
section a {font-weight:bold}
section h2 {
  font-size: 2.2rem;
  line-height: 2rem;
  color:#222;
}

.scroll-to-top {
  z-index: 1042;
  right: 1rem;
  bottom: 1rem;
  display: none;
}

.scroll-to-top a {
  width: 3.5rem;
  height: 3.5rem;
  background-color: rgba(33, 37, 41, 0.5);
  line-height: 3.1rem;
}

#mainNav {
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}

#mainNav .navbar-brand {
  color: #fff;
}

#mainNav .navbar-nav {
  margin-top: 1rem;
  letter-spacing: 0.02rem;
}

#mainNav .navbar-nav li.nav-item a.nav-link {
  color: #fff;
  font-weight: normal;
  font-size: 1rem
}

#mainNav .navbar-nav li.nav-item a.nav-link:hover {
  color: #90b8dd;
}

#mainNav .navbar-nav li.nav-item a.nav-link:active, #mainNav .navbar-nav li.nav-item a.nav-link:focus {
  color: #336696;
}

#mainNav .navbar-nav li.nav-item a.nav-link.active {
  color:  rgb(19, 184, 129);
}

#mainNav .navbar-toggler {
  font-size: 95%;
  padding: 0.8rem;
}

header.masthead {
  padding-top: calc(3rem + 72px);
  padding-bottom: 2.8rem;
}

header.masthead h1 {
  font-size: 2.0rem;
  line-height: 2.6rem;
}

header.masthead h2 {
  font-size: 1.45rem;
  font-family: 'Open sans', sans-serif;
}

#mainNav .navbar-brand img {
  width: 350px;
}

@media (min-width: 992px) {
  section h2 {
    font-size: 2.6rem;
    line-height: 2.3rem;
  }
  #mainNav {
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
    -webkit-transition: padding-top 0.3s, padding-bottom 0.3s;
    transition: padding-top 0.3s, padding-bottom 0.3s;
  }
  #mainNav .navbar-brand {
    font-size: 2em;
    -webkit-transition: font-size 0.3s;
    transition: font-size 0.3s;
  }
  #mainNav .navbar-nav {
    margin-top: 0;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link.active {
    color: #fff;
    background: #336696;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link.active:active, #mainNav .navbar-nav > li.nav-item > a.nav-link.active:focus, #mainNav .navbar-nav > li.nav-item > a.nav-link.active:hover {
    color: #fff;
    background: #336696;
  }
  #mainNav.navbar-shrink {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  #mainNav.navbar-shrink .navbar-brand {
    font-size: 1.5em;
  }
  header.masthead {
    padding-top: calc(3rem + 104px);
    padding-bottom: 2rem;
  }
  header.masthead h1 {
    font-size: 2.0em;
    line-height: 2.4rem;
  }
  header.masthead h1 small {
    font-size: 0.82em;
  }
}

.portfolio .portfolio-item {
  position: relative;
  display: block;
  max-width: 25rem;
  margin-bottom: 15px;
}

.portfolio .portfolio-item .portfolio-item-caption {
  -webkit-transition: all ease 0.5s;
  transition: all ease 0.5s;
  opacity: 0;
  background-color: rgba(24, 188, 156, 0.9);
}

.portfolio .portfolio-item .portfolio-item-caption:hover {
  opacity: 1;
}

.portfolio .portfolio-item .portfolio-item-caption .portfolio-item-caption-content {
  font-size: 1.5rem;
}

.footer {
  padding-top: 2rem;
  padding-bottom: 2rem;
  background-color: #3C3E40;
  color: #fff;
}

.copyright {background-color: #1a252f;}

a {color: #336696;}
a:focus, a:hover, a:active {color: #1d4b60;}

.btn {border-width: 2px;}

.bg-primary {
  background-color: #eaeaeb !important;
}

.bg-secondary {
  background-color: #1f507e !important;
}

.text-primary {
  color: rgb(19, 184, 129) !important;
}

.text-secondary {
  color: #2C3E50 !important;
}

.btn-primary {
  background-color: rgb(19, 184, 129);
  border-color: rgb(19, 184, 129);
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background-color: #128f76;
  border-color: #128f76;
}

.btn-secondary {
  background-color: #2C3E50;
  border-color: #2C3E50;
}

.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active {
  background-color: #1a252f;
  border-color: #1a252f;
}
small.copy {color:#a8a8a8}

.portfolio h3 {font-size:1.7rem;color:#336696;border-bottom:4px solid #cceff5;padding-bottom:12px}

.photos-mt-4 {margin-top:2rem}
.navbar-brand span {color:#88b8cc}

.pl-lg-3, .px-lg-3 {padding-left: 0.6rem !important;}
.pr-lg-3, .px-lg-3 {padding-right: 0.6rem !important;}

.section-left-img {max-width:280px;margin-right:25px}
.section-right-img {max-width:280px;margin-left:25px}

.table-bordered thead td, .table-bordered thead th {
    text-align: center;
    vertical-align: middle;
    padding: 8px 0 8px 0;
    background-color: #f0f0f0
}

.map-responsive {
    overflow:hidden;
    padding-bottom:40%;
    position:relative;
    height:0;
}
.map-responsive iframe {
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}

#lang {position:fixed;top:12px;right:10px;z-index:1100}
#lang a {margin-right:4px}
#lang a img {border:1px solid #5a82aa}
#lang a.active img {opacity:0.4}

.squf {color:#2d538d;font-size:1.4rem;margin-right:5px}

.blink {
  animation: blinker 0.6s linear infinite;
}
@keyframes blinker {
  50% {
    opacity: 0;
  }
}
.blink-one {
  animation: blinker-one 1s linear infinite;
}
@keyframes blinker-one {
  0% {
    opacity: 0;
  }
}
.blink-two {
  animation: blinker-two 1.4s linear infinite;
}
@keyframes blinker-two {
  100% {
    opacity: 0;
  }
}
.mobile-show {display: none}

@media (max-width: 576px) {
  #lang {position:fixed;top:82px;right:13px;z-index:1100}
  section {padding:1.5rem 0}
  section#galery a img {padding-bottom:0.7rem !important;padding-left:10px}
  .portfolio .portfolio-item {
    margin-bottom: 30px;
  }
  header.masthead {
    padding-top: calc(2rem + 72px);
    padding-bottom: 1.8rem;
  }
  section.portfolio {
    padding: 2rem 0 2.2rem 0;
  }
  section p, p {font-size:0.95rem;line-height:1.5rem}
  header.masthead h2 {
    line-height:1.5rem;
    font-size: 1.1rem
  }
  #mainNav .navbar-brand img {
    width: 200px;
    position:relative;
    top:0;
    left:-4px    
  }
  small {font-size: 1.3rem;}
  small.copy {font-size: 0.85rem;}
  .mobile-show {display: inline}
  .mobile-hidden {display: none}
  .intels img {max-width: 120px !important}
  .intels img.intel-5 {max-width: 260px !important}
  header.masthead h1 {line-height: 2.0rem;}
  .footer {
    padding-top: 1.4rem;
    padding-bottom: 0;
  }
  p.mobile-margin-top {margin-top:0;position:relative;left:0;top:-14px}
  .squf {color:#2d538d;font-size:1.2rem;margin-right:5px}  
  section h2 {
    font-size: 1.6rem;
    line-height: 1.5rem;
  }
  .section-left-img {max-width:100%;margin-right:0;margin-bottom:20px;float:none !important}
  .section-right-img {max-width:100%;margin-left:0;margin-bottom:20px;float:none !important}
  .table-bordered thead td, .table-bordered thead th, .table-bordered tbody td {
     font-size:0.85rem    
  }
  .map-responsive {
    padding-bottom:60%;
  }
}
