@font-face {
  font-family: 'Corbert';
  src: url('../fonts/corbertcondensed_regular/CorbertCondensed-Regular-webfont.eot');
	src: url('../fonts/corbertcondensed_regular/CorbertCondensed-Regular-webfont.eot?#iefix') format('embedded-opentype'),
	     url('../fonts/corbertcondensed_regular/CorbertCondensed-Regular-webfont.woff') format('woff'),
	     url('../fonts/corbertcondensed_regular/CorbertCondensed-Regular-webfont.ttf') format('truetype'),
	     url('../fonts/corbertcondensed_regular/CorbertCondensed-Regular-webfont.svg#webfont') format('svg');
}

body, html {
  height: 100%;
  margin-right: 0;
  margin-left: 0;
}

img {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;

  -webkit-user-drag: none;
  user-drag: none;
}

.image-left {
    float: left;
    margin-right: 30px;
}

.image-right {
    float: right;
    margin-left: 30px;
}

.image-center {
    text-align: center;
}

.image-center > figure {
    display: inline-block;
}

.container-fluid {
  padding-left: 0px;
  padding-right: 0px;
  margin: 0px;
}

.row {
  margin: 0;
}

.jumbotron {
  background-color: #f8f8f8;
}

.navbar-right {
  margin: 0px;
}

.menuHandle {
  position: fixed;
  top: 20px;
  right: 20px;
  color: #5D5D5D;
  z-index: 5000;
}

.menuTitle {
  position: absolute;
  top: 12px;
  right: 55px;
  font-family: 'Corbert';
  font-size: 26px;
  z-index: 10;
}

.white {
  color: white;
}

.menu-admin {
  padding-left: 15px;
  padding-right: 15px;
}

#titleContainer {
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
  height: 100%;
}

#titlePage {
  width: 100%;
  height: 100%;
  display: table;
  margin: 0;
}

.titleText {
  padding-left: 100px;
  padding-top: 120px;
  z-index: 100;
}

.slideshow,
.slideshow:after {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 0;
    list-style: none;
}

.slideshow li span {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    color: transparent;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: none;
    opacity: 0;
    z-index: 0;
    animation: imageAnimation 64s linear infinite 0s;
}

.slideshow li:nth-child(1) span {
    background-image: url(../images/background1.jpg)
}
.slideshow li:nth-child(2) span {
    background-image: url(../images/background2.jpg);
    animation-delay: 8s;
}
.slideshow li:nth-child(3) span {
    background-image: url(../images/background3.jpg);
    animation-delay: 16s;
}
.slideshow li:nth-child(4) span {
    background-image: url(../images/background4.jpg);
    animation-delay: 24s;
}
.slideshow li:nth-child(5) span {
    background-image: url(../images/background5.jpg);
    animation-delay: 32s;
}
.slideshow li:nth-child(6) span {
    background-image: url(../images/background6.jpg);
    animation-delay: 40s;
}
.slideshow li:nth-child(7) span {
    background-image: url(../images/background7.jpg);
    animation-delay: 48s;
}
.slideshow li:nth-child(8) span {
    background-image: url(../images/background8.jpg);
    animation-delay: 56s;
}

@keyframes imageAnimation {
    0% { opacity: 0; animation-timing-function: ease-in; }
    5% { opacity: 1; animation-timing-function: ease-out; }
    15% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}

.no-cssanimations .slideshow li span{
	opacity: 1;
}

.selection-modal-window .modal-dialog {
  width: 80%;
}

.wide-modal-window .modal-dialog {
  width: 80%;
}

.imageInSelection {
  position: absolute;
  top: 5px;
  left: 50%;
  height: 300px;
  z-index: 4000;
  border: solid 1px black;
}

#footer-title {
  position: relative;
  top: -40px;
}

.title {
  font-family: Corbert;
  margin: 0;
  font-size: 50pt;
  font-size: 4.2vw;
  color: white;
}

.sub-title {
  font-family: Corbert;
  margin: 0;
  font-size: 30pt;
  font-size: 2.5vw;
  color: white;
}

.sub-sub-title {
  color: white;
}

h1, h2, h3, h4, h5, h6, p, ul, li {
  font-family: Corbert;
  color: #5D5D5D;
}

p {
  font-size: 14pt;
}

td {
  font-family: Corbert;
  padding: 5px;
}

footer p {
  font-size: 10pt;
  color: white;
}

h2 {
  margin-top: 0px;
}

.admin h1, .admin h2, .admin h3, .admin h4 {
  font-family: 'Helvetica Neue';
}

h3 {
  line-height: 180%;
}

.vertical-align {
  display: table;
  height: 100%;
  width: 100%;
}

.vertical-align > [class^="col-"],
.vertical-align > [class*=" col-"] {
  display: table-cell;
  vertical-align: middle;
  float: none;
}

.section {
  padding-top: 70px;
  padding-bottom: 70px;
  margin: 0px;
}

.section h1 {
  padding-bottom: 20px;
}


.mainNav {
  position: fixed;
  top: 0px;
  right: 0px;
  height: 100%;
  width: 320px;
  padding-top: 10px;
  background-color: #5D5D5D;
  z-index: 4000;
}

.mainNav.ng-hide {
  right: -320px;
}

.mainNav.ng-hide-add, .mainNav.ng-hide-remove {
  -webkit-transition :all 0.5s ease;
  -moz-transition :all 0.5s ease;
  -o-transition :all 0.5s ease;
  transition :all 0.5s ease;
}

.mainNav ul {
  list-style-type: none;
  padding-right: 15px;
}

.mainNav a {
  color: white;
}

.mainNav ul li h2 {
  margin-top: 10px;
  padding-bottom: 5px;
  color: white;
}

.tooltipClass {
  font-size: 12pt;
}

.chevronDown {
  display: inline-block;
  position: relative;
  top: 0px;
  height: 24px;
  width: 70px;
  background: url('../icons/chevron-down.svg') no-repeat;
  -webkit-transition: top 0.1s ease;
  -moz-transition: top 0.1s ease;
  -o-transition: top 0.1s ease;
  transition: top 0.1s ease;
}

.chevronDown:hover {
  top: 4px;
}

.jumbotron em {
  font-size: 14px;
}

.jumbotron h2 {
  font-size: 25px;
}

.jumbotron p {
  font-size: 18px;
}

footer {
  background-color: #5D5D5D;
  color: white;
  padding-top: 30px;
  padding-bottom: 30px;
}

footer a {
  text-decoration: none;
  color: inherit;
}

/*.footer-row {
  margin-left: 0px;
  margin-right: 0px;
}*/

/*#newsCarousel .col-img {
  padding-top: 25px;
}*/

.showSearchResult .thumbnail, .selection .thumbnail {
  background-color: inherit;
  border: 1px solid white;
}

.showSearchResult .thumbnail .linkImg, .selection .thumbnail .linkImg{
    display: block;
    /* 4:3 aspect ratio */
    padding-top: 67%;
    /* center align pt. 1 */
    position: relative;
    background-color: inherit;
}

.showSearchResult .thumbnail a img, .selection .thumbnail a img {
    /* fit within container */
    max-width: 100%;
    max-height: 100%;
    /* center align pt. 2 */
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.showSearchResult {
  padding-top: 40px;
  padding-bottom: 20px;
  margin-top: 10px;
  margin-left: 0;
  margin-right: 0;
  background-color: #5D5D5D;
  -moz-box-shadow:    inset 0 0 10px #000000;
  -webkit-box-shadow: inset 0 0 10px #000000;
  box-shadow:         inset 0 0 10px #000000;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.selectFromSearchResult {
  position: relative;
  top: -22px;
}

.searchSection {
  margin: 0;
}

.searchSection input, .searchSection button {
  margin-top: 20px;
}

.arrow-prev, .arrow-next {
  position: relative;
  display: inline-block;
  height: 86px;
  width: 23px;
  cursor: pointer;
}

.arrow-hide {
  visibility: hidden;
}

.arrow-prev {
  -webkit-transition: right 0.2s ease;
  -moz-transition: right 0.2s ease;
  -o-transition: right 0.2s ease;
  transition: right 0.2s ease;
  right: 0px;
  background: url('../icons/chevron-left.svg') no-repeat;
}


.arrow-prev:hover {
  right: 5px;
}

.arrow-next {
  -webkit-transition: left 0.2s ease;
  -moz-transition: left 0.2s ease;
  -o-transition: left 0.2s ease;
  transition: left 0.2s ease;
  left: 0px;
  background: url('../icons/chevron-right.svg') no-repeat;
}

.arrow-next:hover {
  left: 5px;
}

.dragHandle {
  cursor: move;
}

.rowImgArrows {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.searchDisplayedImg {
  display: block;
}

.nextImg {
  position: relative;
  display: inline-block;
  cursor: pointer;
  background: url('../icons/chevron-right-img.svg') no-repeat;
  height: 50px;
  width: 18px;
  right: 7px;
}

.prevImg {
  position: relative;
  display: inline-block;
  cursor: pointer;
  background: url('../icons/chevron-left-img.svg') no-repeat;
  height: 50px;
  width: 18px;
  left: 7px;
}


.manageImages {
  padding-top: 20px;
}

.manageImages .thumbnail .linkImg {
    display: block;
    /* 4:3 aspect ratio */
    padding-top: 67%;
    /* center align pt. 1 */
    position: relative;
}

.manageImages .thumbnail a img {
    /* fit within container */
    max-width: 100%;
    max-height: 100%;
    /* center align pt. 2 */
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.manageImages p {
  margin-bottom: 2px;
  padding-left: 2px;
}

.manageImages i {
  margin-top: 4px;
}

.selectCheckbox {
  position: absolute;
  top: 0px;
  left: 20px;
}

.createGallery .thumbnail .linkImg {
    display: block;
    /* 4:3 aspect ratio */
    padding-top: 67%;
    /* center align pt. 1 */
    position: relative;
}

.createGallery .thumbnail a img {
  /* fit within container */
  max-width: 100%;
  max-height: 100%;
  /* center align pt. 2 */
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.manageGallery .thumbnail .linkImg {
    display: block;
    /* 4:3 aspect ratio */
    padding-top: 67%;
    /* center align pt. 1 */
    position: relative;
}

.manageGallery .thumbnail a img {
  /* fit within container */
  max-width: 100%;
  max-height: 100%;
  /* center align pt. 2 */
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.gallery {
  width: 100%;
  margin-top: 30px;
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  justify-content: center;
  -webkit-justify-content: center;
}

.galleryName {
  font-size: 16px;
  padding-top: 6px;
  margin-bottom: 22px;
}

.galleryTitle {
  font-family: Corbert;
  font-size: 18pt;
  position: absolute;
  top : 5%;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
}

.thumbGallery {
  width: 25%;
  padding-left: 20px;
  padding-right: 20px;
}

.imgLinkGallery {
  width: 100%;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 6000;
  /*background-color: #5D5D5D;*/
  background-color: white;
}

.gallery-content {
  position: fixed;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  z-index: 7000;
  text-align: center;
}

.gallery-content .loading {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-10px, -10px);
  -moz-transform: translate(-10px, -10px);
  -o-transform: translate(-10px, -10px);
  transform: translate(-10px, -10px);
}

.gallery-content > a > div.closeButton {
  background: url('../icons/close.svg') no-repeat;
  width: 25px;
  height: 25px;
  float: right;
  margin: 15px 15px 0 0;
  position: absolute;
  top: 0;
  right: 0;
}


.imgInGallery {
  position: absolute;
  display: block;
  top: 50%;
  left: 50%;
  height: 70%;
  max-height: 1280px;
  /*image-rendering: -webkit-optimize-contrast;*/
  -webkit-transform: translate(-50%, -60%) scale(0.9);
  -moz-transform: translate(-50%, -60%) scale(0.9);
  -o-transform: translate(-50%, -60%) scale(0.9);
}


.animate-hide {
  transition: all linear 1s;
  opacity: 1;
}

.animate-hide.ng-hide {
  opacity: 0;
}

.imgInGallery.ng-enter, .imgInGallery.ng-leave {
  -webkit-transition :all 1.5s linear;
  -moz-transition :opacity 1.5s ease-in-out;
  -o-transition :opacity 1.5s ease-in-out;
  /*transition :opacity 1.5s ease-in-out;*/
}

.stretch {
  height: 70%;
  -webkit-transform: scale(1) translate(-50%, -50%);
  -moz-transform: scale(1) translate(-50%, -50%);
  -o-transform: scale(1) translate(-50%, -50%);
}

.stretch-add, .stretch-remove {
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  transition: all 0.5s linear;
}

.gallery-content .thumbnails-wrapper {
  max-width: 90%;
  height: 60px;
  position: fixed;
  bottom: 20px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
}

.gallery-content .thumbnails-wrapper-hide {
  bottom: -60px;
}

.gallery-content .thumbnails-wrapper-hide-add, .gallery-content .thumbnails-wrapper-hide-remove {
  -webkit-transition:bottom 0.5s linear;
  -moz-transition:bottom 0.5s linear;
  -o-transition:bottom 0.5s linear;
  transition :bottom 0.5s linear;
}

.gallery-content .thumbnails-wrapper .thumbnails {
  display: flex;
  max-width: 100%;
  overflow: hidden;
}

.gallery-content .thumbnails-wrapper .thumbnails > a > img {
/*.gallery-thumbnails > img {*/
  height: 60px;
}

.darken {
  margin-right: 5px;
  margin-left: 5px;
  flex-shrink: 0;
  -webkit-flex-shrink: 0;
}

.gallery-content .thumbnails-wrapper .thumbnails > a > img:hover {
  opacity: 1;
}

.gallery-content .thumbnails-wrapper .thumbnails > a > img.active {
  opacity: 1;
}


.noScroll {
  overflow: hidden;
}

.nav-left, .nav-right, .nav-play, .nav-pause, .nav-fullScreen, .displayNumImg {
  position: absolute;
  top: 76%;
}

.nav-left {
  background: url('../icons/chevron-left-small.svg') no-repeat;
  width: 15px;
  height: 23px;
  display: inline-block;
  -webkit-transform: translateX(-40px);
  -moz-transform: translateX(-40px);
  -o-transform: translateX(-40px);
  transform: translateX(-40px);
}

.nav-right {
  background: url('../icons/chevron-right-small.svg') no-repeat;
  width: 15px;
  height: 23px;
  display: inline-block;
  -webkit-transform: translateX(36px);
  -moz-transform: translateX(36px);
  -o-transform: translateX(36px);
  transform: translateX(36px);

}

.nav-play {
  background: url('../icons/play.svg') no-repeat;
  width: 15px;
  height: 23px;
  display: inline-block;
}

.nav-pause {
  background: url('../icons/pause.svg') no-repeat;
  width: 17px;
  height: 22px;
  display: inline-block;
  -webkit-transform: translateX(-2px);
  -moz-transform: translateX(-2px);
  -o-transform: translateX(-2px);
  transform: translateX(-2px);
}

.nav-fullScreen {
  background: url('../icons/fullScreen.svg') no-repeat;
  width: 26px;
  height: 19px;
  display: inline-block;
  -webkit-transform: translate(-100px, 2px);
  -moz-transform: translate(-100px, 2px);
  -o-transform: translate(-100px, 2px);
  transform: translate(-100px, 2px);
}

.displayNumImg {
  font-size: 12pt;
  display: inline-block;
  -webkit-transform: translateX(90px);
  -moz-transform: translateX(90px);
  -o-transform: translateX(90px);
  transform: translateX(90px);
}

.nav-down {
  top: 95%;
}

.nav-down-add, .nav-down-remove {
  -webkit-transition:all 0.5s linear;
  -moz-transition:all 0.5s linear;
  -o-transition:all 0.5s linear;
  transition :all 0.5s linear;
}

.buttons-list {
  display: flex;
  width: 70%;
  justify-content: space-around;
}

.news {
  margin-bottom: 10px;
}

.img-caption {
  margin-top: 10px;
}

.img-caption p {
  font-size: 12pt;
}
