body{
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100vw;
}
nav {
	position: fixed;
	top: 0;
	left: 0;
  width: 100vw;
  min-height: 80px;
  max-height: 160px;
}
main {
  width: 100vw;
}
footer{
  flex-grow: 0;
  width: 100vw;
  user-select: none;
}

.cstm-primary{
  color: #24AAE1;
}

.cstm-primary-dark{
  color: #1C94D2;
}

.cstm-success{
  color: #B4D781;
}

.cstm-success-dark{
  color: #8BC141;
}

.cstm-danger{
  color: #C93D3D;
}

.cstm-danger-dark{
  color: #AC2626;
}

.cstm-lightgray{
  color: #EDEDED;
}

.cstm-middlegray{
  color: #AAAAAA;
}

.cstm-darkgray{
  color: #555555;
}

nav {
  z-index: 31;
}

nav a:hover {
  color: #24AAE1;
  text-decoration: underline;
}

.activity_link a:hover {
  font-weight: bold;
  text-decoration: underline;
}

.footer_link a:hover {
  color: #000000 ;
  text-decoration: underline;
}

nav .cstm-button {
  border: 1px solid #EDEDED;
  color:#EDEDED;
  text-align: center;
  display: inline-block;
  cursor: pointer;
}

nav .cstm-button:hover {
  border: 1px solid #555555;
  color:#555555;
}

.bg-cstm-primary {
  background-color: #24AAE1;
}

.bg-cstm-button-primary {
  background-color: #24AAE1 !important;
}

.bg-cstm-button-primary:hover {
  background-color: #1C94D2 !important;
}

.bg-cstm-success {
  background-color: #B4D781 !important;
}

.bg-cstm-success:hover {
  background-color: #8BC141 !important;
}

.bg-cstm-light-gray {
  background-color: #EDEDED;
}

.bg-cstm-middle-gray {
  background-color: #AAAAAA;
}

.border-cstm-primary {
  border-color: #24AAE1;
}

.border-cstm-middle-gray {
  border-color: #AAAAAA;
}

.border-cstm-dark-gray {
  border-color: #555555;
}

.border-cstm-danger {
  border-color: #C93D3D;
}

.hrnavbar{
  border-top: 1px solid #EDEDED;
  padding: 0;
  width: 30%;
  margin: auto;
}

.hrfooter {
  border-top: 15px solid #24AAE1;
  padding: 0;
}

.hiddenNavbar {
  transition: max-height 1s !important;
  background: #e5feff;
  overflow: hidden;
  max-height: 0 !important;
}

.carousel-item {
  max-height: 100%;
  min-height: 100%;
  min-width: 100%;
  max-width: 100%;
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  object-fit: cover !important;
  background-position: 50% 50%;
}

.carousel-container {
min-height: calc(100vh - 160px);
max-height: calc(100vh - 160px);
}

.thumbnail {
  border:none !important;
  padding:0 !important;
  position: relative;
  background: #000;
  margin: 5px;
}

.thumbnail:hover img {
  opacity: 0.5;
}

.thumbnail:hover .uptext {
  visibility: visible;
  opacity: 1;
}

.thumbnail:hover .downtext {
  visibility: visible;
  opacity: 1;
}

.thumbnail img {
  height: 40vh;
  min-width: 100%;
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  object-fit: cover !important;
  background-position: 50% 50%;
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}

.thumbnail .uptext {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top:10%;
  -webkit-transition: .8s ease-in-out;
  transition: .8s ease-in-out;
}

.thumbnail .downtext {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  bottom:10%;
  -webkit-transition: .8s ease-in-out;
  transition: .8s ease-in-out;
}

.thumbnail-news {
  border:none !important;
  padding:0 !important;
  position: relative;
  background: #000;
  margin: 5px;
}

.thumbnail-news img {
  opacity: 0.6;
  height: 40vh;
  min-width: 100%;
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  object-fit: cover !important;
  background-position: 50% 50%;
}

.thumbnail-news .uptext {
  visibility: visible;
  opacity: 1;
  position: absolute;
  top:10%;
  -webkit-transition: .8s ease-in-out;
  transition: .8s ease-in-out;
}

.thumbnail-news .downtext {
  visibility: visible;
  opacity: 1;
  position: absolute;
  bottom:10%;
  -webkit-transition: .8s ease-in-out;
  transition: .8s ease-in-out;
}

.button-success {
  background-color: #4CAF50;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}

.home-img img {
  height: 35vh;
  min-width: 100%;
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  object-fit: cover !important;
  background-position: 50% 50%;
  border-radius: 10px;
}

.ref-img img {
  height: 50vh;
  min-width: 100%;
  background: no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  object-fit: cover !important;
  background-position: 50% 50%;
  border-radius: 10px;
}

.real-link {
 color: #24AAE1;
}

.real-link:hover {
  color: #1C94D2;
  text-decoration: underline;
 }