@charset "utf-8";
/* CSS Document */

html, body {
 /* background-color: #cccdce;*/
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0; 
  
 /* background-image: url("images/grayBG.jpg");*/
	background-repeat: no-repeat;
    background-size:100% auto;
	background-position: center center; 
	/*display: block; this was working, new now nav is in center*/
	position: relative;
}

.header {
 /* background-color: #fff;*/
  height: 140px;
  text-align: center;
}

.header h1 {
  color: #31363d;
  font-size: 32px;
  margin: 0 auto;
  position: relative;
  padding-bottom: 10px;
  text-transform: uppercase;
  top: 44px;
}

h2 {
  color: #31363d;
  font-size: 26px;
  margin: 0 auto;
  position: relative;
  padding-top: 13px;
  padding-bottom: 10px;
  text-transform: uppercase;

}

.nav {
	 height: 50px;
/* background-color: white;*/
 margin-bottom: 0px;
 font-family: arial, Serif;

 width: 100%;
 left: 0;
}

.nav li {
float: left;
list-style-type: none;
width: 32.333333%;
line-height: 50px;
text-align: center;

 }

 .nav a {
 text-decoration: none;
 display: block;
 color: #474747;
 font-size: 16px;
 }

 .nav a:hover {
 /*background-color: #cccdce orange;*/
 color: orange;
 text-decoration:none;
 }
 
 #nelogo {
    width: 125px;
    margin-top: 45px;
        margin-bottom: 80px;
        padding-bottom: 30px;
}

/*.nav ul {
  margin: 0 0 30px;
  text-align: center;
}

.nav li {
  -webkit-transition:color 0.25s;
  transition:color 0.25s;
  display: inline;
  text-transform: uppercase;
  padding: 0 10px;
}

.nav li:hover {
  color: #31363d;
  cursor: pointer; 
  -webkit-transition: color 1s;
  transition: color 1s;
}
*/

/*2nd try 7-8-23
#container {
    position:relative;
}

#img2 {
    position: absolute;
    left: 50px;
    top: 50px;
}*/

.party {
        /*width: 130px;
        height: 195px;*/
        /*it was this before trying new 7-8-23
        position: relative;
        display: inline-block;*/
        /*trying 2nd new trick 7-8-23 turned below off*/
        position: relative;
        float: left;
    }
.party .img-top {
        /*it was this before trying new 7-8-23
        display: none;
        position: absolute;
        top: 0;
        left: 0;*/
        /*trying 2nd new trick 7-8-23 turned below off*/
        position: absolute;
        left: 0;
        top: 0;
        display: none;
        /*not ever used: z-index: 99;*/
    }
.party:hover .img-top {
        /*it was this before trying new 7-8-23
        display: inline;*/
        /*trying 2nd new trick 7-8-23 turned below off*/
        display: block;
    }
.box{
    position: relative;
    overflow: hidden;
}

.box img{
    width: 100%;
    transition: all linear 0.7s;
}

img.hover-img{
    position: absolute;
    top:0;
    left:0;
    opacity: 0;
}

.box:hover img{
    opacity: 0;
}

.box:hover img.hover-img{
    opacity: 1;
}

#homecontact {

background: white;
margin-top:30px;
margin-bottom:180px;
font-family: Roboto, sans-serif;
display: block;
padding-bottom: 50px;
padding-right: 20px;
padding-left: 20px;

}

#card {
    margin-top:30px;
}


.row {
/*  margin-top: 30px;*/
}

/* footer */

.footer {
    margin-top: 100px;
  /*color: #31363d;*/
  font-size: 10px;
  height: 70px;
  line-height: 70px;
  padding-right: 40px;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 100px;
}

@media (max-width: 500px) {
  .row {
    margin-top: 0;
  }
  
  .img-responsive {
    margin-bottom: 20px;
  }
  
  img {
      margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .row {
    margin-top: 0;
  }
    img {
      margin-bottom: 20px;
  }
  
  .img-responsive {
    margin-bottom: 20px;
  }
}