@font-face {
  font-family: alice;
  src: url(../alice/Alice-Regular.ttf);
}

.searchdiv img {
  width: 15px;
}

.searchdiv {
  /*margin-left: 40px;*/
}

h1 {}

nav ul li a:hover {
  /*text-decoration: underline;*/
  background-color: white;
  color: black;
  padding: 10px;

}
nav ul li a{
  color: white;
  padding:10px;
  border-radius: 15px;
}

nav ul li {
  font-size: 16px;
  list-style-type: none;
  display: inline;
  font-family: alice, sans-serif, garamond;
  padding-left: 5px;
}

nav ul {
  float: right;
  width: 1000px;
}



a:link {
  text-decoration: none;
}

a:visited {
  color: none;
}

#logo {
  width: 200px;
  float: right;
  padding: 10px;
}

.indextext {
  margin-right: 25%;
  margin-left: 25%;
}

#mainimage {
  background-image: url(../images/studentcert_2.jpg);
  height: 802px;
  padding: 15px;
  /*background-color: white;*/

  background-attachment: fixed; /* NOTE: This is parralax */
  background-position: center;
  background-repeat: no-repeat;
  background-size:cover;
}
#midbodyimage{
  background-image: url(../images/lighthouse.jpg);
  height: 500px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

h2 {}

#indexPhoto {
  width: 100%;
}

body {
  background-color: #f9f9f9;
  font-family: alice;
  color: #4d4d4d;
}

#logo {
  width: 150px;
  float: left;
}

footer {
  background-color: black;
  height: 300px;
  font-size: 0.9em;
}

#footerParaLeft {
  color: white;
  width: 33%;
  height: 100%;
  padding: 10px;
  display: inline;
  position: relative;
  float: left;
}
.socialmedialogos {
  border: 1px solid white;
}

.socialmedialogos img {
  width: 40px;
  padding: 4px;
}

#footerParaMiddle {
  color: white;
  width: 27%;
  height: 100%;
  padding: 10px;
  position: relative;
  float: left;
  margin-left: 8px;
  margin-right: 8px;
}

#footerParaRight {
  color: white;
  width: 33%;
  padding: 10px;
  height: 100%;
  position: relative;
  float: left;
}

#avatar{
  width:30px;
}

#loginform{
  margin-left: 60px;
}
.logininput{
  padding: 10px;
}
.loginbuttons{
  padding: 5px;
  margin-left:10px
}
.photodivs {
    position: relative;
    width: 10%;
}
/*image overlay*/
#trinners {
  opacity: 1;
  display: block;
  width: 5%;
  /*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%)
}

.photodivs:hover #trinners {
  opacity: 0.3;
}

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

.text {
  /*background-color: #4CAF50;*/
  color: white;
  font-size: 16px;
  /*padding: 16px 32px;*/
}
/*image overlay*/
.photodivs img {

  padding:20px;

/*image overlay effect below*/
  opacity: 1;
  /*display: block;*/
  width: 40%;
  /*height: auto;*/
  transition: .5s ease;
  backface-visibility: hidden;

}
.photodivs{
  /*width:50px;*/
}





















/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 1000px; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    padding-top: 200px;
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 5px auto; /* 15% from the top and centered */
    padding:10px;
    border: 1px solid #888;
    border-radius: 10px;
    width: 40%; /* Could be more or less, depending on screen size */
    height: 250px;
}

/* The Close Button */
.close {
    /* Position it in the top right corner outside of the modal */
    position: absolute;
    right: 25px;
    top: 0;
    color: #000;
    font-size: 35px;
    font-weight: bold;
}

/* Close button on hover */
.close:hover,
.close:focus {
    color: red;
    cursor: pointer;
}

/* Add Zoom Animation */
.animate {
    -webkit-animation: animatezoom 0.6s;
    animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
    from {-webkit-transform: scale(0)}
    to {-webkit-transform: scale(1)}
}

@keyframes animatezoom {
    from {transform: scale(0)}
    to {transform: scale(1)}
}
