@font-face {
  font-family:"Corporate A Regular";
  src:url("/fonts/ufonts_com_corporate_a_regular_1_.woff") format("woff"),
      url("/fonts/ufonts_com_corporate_a_regular_1_.ttf") format("truetype");
  font-weight:normal;
  font-style:normal;
}

body {
  padding-top: 56px;
  position: relative;
  font-family: "Corporate A Regular";  
}

html {
  scroll-behavior: smooth;
}

#back-to-top {
  display:none;
  position:fixed;
  bottom:10px;
  right:10px;
  padding:0.5rem 0.75rem;
  cursor:pointer;
  z-index:2;
}

.bg-dark {
    background-color: #0056b3!important;
}

.navbar-dark .navbar-nav .nav-link {
    color: #fff;
}

#back-to-top.visible {
  display:block;
}

.navbar-nav .nav-link {
  text-align:center;
}

.navbar-nav .nav-link:hover {
  text-decoration:underline;
}

@media (min-width: 992px) {
  .navbar-nav .nav-link {
    text-align:left;
  }
}

@media (max-width: 992px) {
  nav .container {
    width:100%;
  }  
}

nav .navbar-brand {
  text-transform: uppercase;
  font-size:1rem;
  line-height:1.9rem;
}

nav .navbar-brand img {
  max-width:100%
}

nav .navbar-toggler {
  align-self: inherit;
  position: initial;
  font-size:1rem;
  margin-right:0;
}
  
nav .navbar-collapse {
  width:auto!important;
  margin-left: auto!important;    
}

a.anchor {
  display: block;
  position: relative;
  top: -60px;
  visibility: hidden;
}

h1,h2,h3,h4,h5,h6 {
  font-weight: 400;
}

h2,
h3 {
  padding:1rem 0;
  margin-bottom:0;
} 

.jumbotron {
  padding-left:0;
  padding-right:0;
}

@media (min-width: 992px) {

  .jumbotron {
    padding-left:1rem;
    padding-right:1rem;
  }
  
}

.jumbotron h1 {
    margin-bottom: 1rem;
}

.jumbotron p {
    font-size: 1.1rem;
    /*margin-bottom:0;*/
}

.following-two-up + * {
  -webkit-columns: 1;
  -moz-columns: 1;
  columns: 1;
  -webkit-column-gap: 3em;
  -moz-column-gap: 3em;
  column-gap: 3em;
}

@media (min-width: 992px) {

  .following-two-up + * {
    -webkit-columns: 2;
    -moz-columns: 2;
    columns: 2;
  }

}

a {
  text-decoration: none;
}  

a:hover {
  text-decoration: underline;
}  

img {
  max-width:100%;
}

#sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

#sidebar ul {
  padding-left:0;
}

#sidebar ul li {
  list-style-type: none;
}

#sidebar ul li a {
  font-weight:500;
}

#sidebar ul li a.active {
  color:red;
}

#sidebar ul li a:hover {
  text-decoration: underline;
}

#sidebar ul .nav-link {
  padding:0;
}

footer {
  padding: 1.125rem 0;
  background-color: #000;
  color: #fff;
}

footer p {
  margin: 0;
}


.gallery .card {
  float: left;
  padding: .75rem;
  margin-bottom: 0.5rem;
  border: 0;
  background-color:inherit;
}

.gallery .card > img {
  margin-bottom: .75rem;
}

.gallery .card-text {
  font-size: 85%;
  text-align:center;
}

.card-block p:last-child { margin-bottom: 0 }

.following-two-up + * {
  -webkit-columns: 1;
  -moz-columns: 1;
  columns: 1;
  -webkit-column-gap: 3em;
  -moz-column-gap: 3em;
  column-gap: 3em;
}

@media (min-width: 992px) {

  .following-two-up + * {
    -webkit-columns: 2;
    -moz-columns: 2;
    columns: 2;
  }

}

@media (max-width: 767px) { 
	
	.card-deck-wrapper {margin-right:0;margin-left:0;}
	.card-deck {
	    display: block;
	    width: 100%;
	    margin-bottom: .75rem;
	    table-layout: fixed;
	    border-spacing: 1.25rem 0;
	}
	.card-deck .card {
	    display: block;
	    margin-bottom: .75rem;
	    vertical-align: top;
	}
  
  .card-deck .card:not(:first-child) {
    margin-left: 0px;
}
  
}

.image-container {
    display: inline-block;
    position: relative;
    width: 100%;
    margin-bottom: 0.75rem;
    border:1px solid #ccc;
    background-color: #fff;
    border-radius:10px;
    cursor:pointer;
}

.image-container:hover {
    border:2px solid #aaa;
}

.image-container:hover .image-element {
    margin:16px;
}

.image-dummy {
    margin-top: 100%;
}

.image-element {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-size: contain;
    background-repeat:no-repeat;
    background-position:center center;
    margin:15px;
}

#image-fullsize {
  z-index:2000;
  display:none;
  position: fixed; 
  top: 0; 
  left: 0; 
  right: 0; 
  bottom: 0; 
  background-repeat: no-repeat;
  background-position: center center; 
  background-size: contain;  
  background-color:#000;
  
 -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;  
}

body.image-viewer {
  overflow:hidden;
    height: '100%';
}
body.image-viewer #image-fullsize {
  display:block;
}

.btn-round {
  border-radius: 100%;
  padding: 2px;
  display:none;
}

.btn-round i {
	width: 2em;
	height: 2em;
	line-height: 2em;
}

#image-fullsize.buttons-visible .btn-round {
  display:block;
}

#btn-close {
  position:fixed;
  top:20px;
  right:20px;
  cursor:pointer;
}

#btn-prev {
  left:20px;
  cursor:pointer;
  
  position: fixed;
  top: 50%;
  transform: perspective(1px) translateY(-50%);  
}

#btn-prev i {
  margin-left:-2px;
  margin-right:2px
}

#btn-next {
  right:20px;
  cursor:pointer;
  
  position: fixed;
  top: 50%;
  transform: perspective(1px) translateY(-50%);   
}

#btn-next {
  margin-left:1px;
  margin-right:-1px
}

section {
  padding: 3rem 0;  
}

section.jumbotron {
  margin:0;
  text-align:center;
}

section.jumbotron h2 {
  font-size: 3rem;
  font-weight: bold;
  text-transform: uppercase;
  color:#0056b3;
  border-top:2px solid #0056b3;
  border-bottom:2px solid #0056b3;
  margin-bottom:2rem;
  padding-top:1.2rem;
}

@media (min-width: 992px) {

  section.jumbotron h2 {
    font-size: 4rem;
  }

}

.center {
  text-align:center;
}


.two-up .description {
  -webkit-columns: 1;
  -moz-columns: 1;
  columns: 1;
  -webkit-column-gap: 3em;
  -moz-column-gap: 3em;
  column-gap: 3em;
}

@media (min-width: 992px) {

  .two-up .description {
    -webkit-columns: 2;
    -moz-columns: 2;
    columns: 2;
  }

}

.dark-grey {
  background-color: #eceeef;  
}

.light-grey {
  background-color:#f7f7f7;
}
section[id] {
  scroll-margin-top: 56px;
}
