html, body, h1, h2, h3, h4, h5, h6 {
font-family:AvantGardeBookBT,Helvetica,sans-serif;
}

iframe {
  height: 300px;
  width: 100%;
  resize: both;
  overflow: auto;
}

.image-block img {
  filter: grayscale(100%);
  transition: all .5s;
}

.image-block:hover img {
  filter: grayscale(0);
}



a.underline_link {
  text-decoration: none;
  display: inline-block;
  padding: 2px 5px;
  position: relative;
}
a.underline_link:after {    
  background: none repeat scroll 0 0 transparent;
  bottom: 0;
  content: "";
  display: block;
  height: 2px;
  left: 50%;
  position: absolute;
  background: #555555;
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
  width: 0;
}
a.underline_link:hover:after { 
  width: 100%; 
  left: 0; 
}

/* Filter DIV Elements */
.filterDiv {
  display: none;
}

.show {
  display: block;
}

.container {
  margin-top: 20px;
  overflow: hidden;
  display: block;
}

/* Style the buttons */
.btn {
  border: none;
  outline: none;
  padding: 12px 16px;
  background-color: #f1f1f1;
  cursor: pointer;
}

.btn:hover {
  background-color: #ddd;
}

.btn.active {
  background-color: #666;
  color: white;
}

/* Change color on hover */
.ccoh:hover {
  color: #db5c5c;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.div.wrap {
	word-wrap: break-word;
}

/* Immage description overlay */
.o_overlay {
  position: relative;
  text-align: center;
  color: rgba(0, 0, 0, 0);
  -webkit-transition: all 500ms ease-in-out;
  -moz-transition: all 500ms ease-in-out;
  -ms-transition: all 500ms ease-in-out;
  -o-transition: all 500ms ease-in-out;
  transition: all 500ms ease-in-out;
}

.o_overlay:hover {
  color: white;
  text-shadow: 0 0 3px #000000, 0 0 5px #000000;
}

.o_bottom-left {
  position: absolute;
  bottom: 8px;
  left: 16px;
}

.o_top-left {
  position: absolute;
  top: 8px;
  left: 16px;
}

.o_top-right {
  position: absolute;
  top: 8px;
  right: 16px;
}

.o_bottom-right {
  position: absolute;
  bottom: 8px;
  right: 16px;
}

.o_centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  word-wrap: break-word !important;
}

p.overlay {
	margin: 4vw 0vw; 
	white-space: normal; 
	text-align: right; 
	text-transform: uppercase; 
	font-size: 2vw; 
	font-weight: bold; 
}

.firstletter:first-letter {
  font-size: 150%;
/*  color: #444444;*/
}

/* -- Modal START -- */
* {
  box-sizing: border-box;
}

.row > .column {
  padding: 0 8px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.column {
  float: left;
  width: 25%;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #000000BB;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #555555BB;
  margin: auto;
  padding: 0;
  width: 90%;
  height: calc(95vh - 82px);
  max-width: 1200px;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  transition: 0.6s ease;
  text-decoration: none;
  cursor: pointer;
}

.mySlides {
  display: none;
}

.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  background-color: #00000055;
  font-size: 18px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

img {
  margin-bottom: -4px;
}

.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
/* -- Modal END -- */

/* The Magic Float Center Code */
.float_center {
  float: right;

  position: relative;
  left: -50%; /* or right 50% */
  text-align: left;
}
.float_center > .child {
  position: relative;
  left: 50%;
}







.design {
    animation: text-shadow 5.5s ease-in-out infinite;
}

.design:hover {
    animation-play-state: paused;
}

@keyframes text-shadow {
    0% {  
        transform: translateY(0);
        text-shadow: 
            0 0 0 #999999;
    }

    60% {  
        transform: translateY(-0.1em);
        text-shadow: 
            0 0.05em 0 #999999;
    }

    70% {  
        transform: translateY(0.1em);
        text-shadow: 
            0 -0.05em 0 #999999;
    }
    
   80% {
        transform: translateY(-0.05em);
        text-shadow: 
            0 0.1em 0 #999999;
    }

    90% {  
        transform: translateY(0);
        text-shadow: 
            0 0 0 #999999;
    }
}


