<style>
.container {
  position: relative;
  width: 50%;
}

.image {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
}

.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

.container:hover .image {
  opacity: 0.3;
}

.container:hover .middle {
  opacity: 1;
}

.text {
  background-color: #4CAF50;
  color: white;
  font-size: 16px;
  padding: 16px 32px;
}
#myBtn {                                        
  display: none;                                
  position: fixed;                              
  bottom: 20px;                                 
  right: 30px;                                  
  z-index: 99;                                  
  font-size: 18px;                              
  border: none;                                 
  outline: none;                                
  background-color: red;                        
  color: white;                                 
  cursor: pointer;                              
  padding: 15px;                                
  border-radius: 4px;                           
}                                               
                                                
#myBtn:hover {                                  
  background-color: #555;                       
}
figure {
  width: 33%;
  margin: 0;
  float: left;
  padding: 10px;
  position: relative;
  cursor: pointer;
}
figure:before,
figure:after {
  position: absolute;
}
figure:before {
  top: 40px;
  left: 50%;
  margin-left: -25px;
  border: 3px solid rgba(255, 255, 255, 0.7);
  border-radius: 25px;
/*  background-color: rgba(204, 209, 217, 0.3);*/
  font-family: 'Ionicons';
  content: '\f215';
  text-align: center;
  line-height: 20px;
  font-size: 19px;
  color: #F5F7FA;
}
figure:after {
  content: 'gif';
  position: absolute;
  display: inline-block;
  text-align: center;
  top: 40px;
  right: 20px;
  font-size: 11px;
  font-weight: 600;
  padding: 5px;
  border-radius: 3px;
  color: #656D78;
/*  background-color: rgba(170, 178, 189, 0.1);*/
  text-transform: uppercase;
}
figure.play:before {
  display: none;
}
figure.play:after {
  color: #fff;
  background-color: #8CC152;
}
figcaption {
  padding-top: 15px;
  font-size: 14px;
  color: #8d9bad;
}
figcaption a {
  color: #59687b;
  text-decoration: none;
}
.demo-content {
  width: 100%;
  height: auto;
  padding: 0;
  margin: 0;
  -webkit-transition: opacity 350ms;
          transition: opacity 350ms;
}
 /*   .headline {
  	font-size: 160%;
    line-height: 160%;
  	text-align: center;
}
  .person {
      border: 10px solid transparent;
      margin-bottom: 25px;
      width: 80%;
      height: 80%;
      opacity: 0.7;
  }
  .person:hover {
      border-color: #f1f1f1;
  }
  .carousel-inner img {
       /* -webkit-filter: grayscale(90%);
       filter: grayscale(90%);  make all photos black and white  
      width: auto; /* Set width to auto 
      max-height: 600px;
      margin: auto;
      margin-top: 60px;
  }
  .carousel-caption h3 {
      color: #2A425A !important;
  }
  @media (max-width: 600px) {
    .carousel-caption {
      display: none; /* Hide the carousel text when the screen is less than 600 pixels wide 
    }
  }
  .bg-1 {
      background: #2d2d30;
      color: #bdbdbd;
  }
  .bg-1 h3 {color: #fff;}
  .bg-1 p {font-style: italic;}
  .list-group-item:first-child {
      border-top-right-radius: 0;
      border-top-left-radius: 0;
  }
  .list-group-item:last-child {
      border-bottom-right-radius: 0;
      border-bottom-left-radius: 0;
  }
  .thumbnail {
      padding: 0 0 15px 0;
      border: none;
      border-radius: 6px;
      background-color: #BEBFCF;
  }
  .thumbnail p {
      margin-top: 15px;
      color: #555;
      font-style: normal;
      font-size: 95%;
      padding: 0 10px;
  }
  .btn {
      background-color: #2A425A;
      color: #c9c9c9;
      border-radius: 5px;
      transition: .2s;
  }	                                                
  #circle3 {
      border-radius: 50%;                            
    	border: solid 1px #ccc;
    	width: 60px;                                
    	height: 60px;                                                         
    	margin-left: 20px;                           
    	font-size: 30px;
      padding-top: 10px;
    	color: #fff;
      background-color: #2A425A;
  }                                        
  #circle3:hover, #circle3 i:hover {
      color: #fff;
    	background-color: #417dae;
  }                                        
  #circle3:hover, #circle3 i:hover {
      color: #fff;
    	background-color: #417dae;
  }	      
  .contact_bg {
      background: url(../images/profile.png) no-repeat top center;
      -webkit-filter: grayscale(90%);
      filter: grayscale(90%);  /* make all photos black and white 
      background-size: cover;
      background-color: #fff;
      padding: 100px 0;
  }
  .btn:hover, .btn:focus {
      border: 1px solid #333;
      background-color: #315E83;
      color: #fff;
  }
  .modal-header, h4, .close {
      background-color: #333;
      color: #fff !important;
      text-align: center;
      font-size: 25px;
  }
  .modal-header, .modal-body {
      padding: 15px 20px;
  }
  .nav-tabs li a {
      color: #777;
  }  
  .navbar {
      font-family: Montserrat, sans-serif;
      margin-bottom: 0;
      background-color: #2A425A;
      border: 0;
      font-size: 11px !important;
      letter-spacing: 4px;
      opacity: 0.9;
      position: fixed;
      box-shadow: 0 2px 5px #888;
  }
  .navbar li a, .navbar .navbar-brand { 
      color: #d5d5d5 !important;
  }
  .navbar-nav li a:hover {
      color: #fff !important;
  }
  .navbar-nav li.active a {
      color: #fff !important;
      background-color: #29292c !important;
  }
  .navbar-default .navbar-toggle {
      border-color: transparent;
  }
  .open .dropdown-toggle {
      color: #fff;
      background-color: #555 !important;
  }
  .dropdown-menu li a {
      color: #000 !important;
  }
  .dropdown-menu li a:hover {
      background-color: red !important;
  }
  footer {
      background-color: #2d2d30;
      color: #f5f5f5;
      padding: 32px;
  }
  footer a {
      color: #f5f5f5;
  }
  footer a:hover {
      color: #777;
      text-
      coration: none;
  }  
  .form-control {
      border-radius: 0;
  }
  textarea {
      resize: none;
  }*/
</style>