/* Custom Stylesheet */
body, html {
      margin: 0;
      -webkit-font-smoothing: antialiased;
      background:#fff;
      text-align: center;
      -webkit-transition: opacity 400ms;
      -moz-transition: opacity 400ms;
      transition: opacity 400ms;
}

body .header{
  color: #000;
}
html {
min-height: 100%;
    }
body {
  padding: 0;
  position: relative;
  margin: 0;
  min-height: 100%;
}
.main  {
  margin: 25px auto;
  max-width: 980px;
}
.main p {
  color: #000;
  text-align: left;
  font-size: 18px;
  line-height: 180%;
  font-weight: 100;
}

.nav-top a {
  color: #000;
}

/* ALL DEMO */
.demo5 body {
    position: absolute;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}
.demo2 .bg {
  width: 800px;
  height: 500px;
  margin: auto;
}

.demo3 .bg {
  width: 800px;
  height: 500px;
  margin: auto;
}

.demo4 .container {
  text-align: center;
}

.demo4 .bg {
  width: 400px;
  height: 400px;
  display: inline-block;
}

.demo1 .bg {
  width: 800px;
  height: 500px;
  margin: auto;
}

.bg {
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 0;
}

.demo5 .nav-top, .demo5 .header, .demo5 .menu {
  position: relative;
}
.demo5 .header {
  color: white;
}
.demo5 .ibg-bg {
  position: absolute;
}


		#background {
		    position: absolute;
		    top: 0;
		    right: 0;
		    bottom: 0;
		    left: 0;
		    widht: 100%;
		    height: 100%;
		    z-index: 1;
	    	background: url(photo1.jpg) no-repeat center center fixed;
	    	-webkit-background-size: cover;
    		-moz-background-size: cover;
    		-o-background-size: cover;
	     	background-size: cover;
  		  transition: background .5s ease-in-out;
	    	-moz-transition: background .5s ease-in-out;
	    	-webkit-transition: background .5s ease-in-out;

		}



  		#outer:hover ~ #background {
  		background: url(photo2.jpg) no-repeat center center fixed;
  		-webkit-background-size: cover;
  		-moz-background-size: cover;
  		-o-background-size: cover;
  		background-size: cover;
  		transition: background .5s ease-in-out;
  		-moz-transition: background .5s ease-in-out;
  		-webkit-transition: background .5s ease-in-out;
  		}





      #outer {
          display: table;
          position: absolute;
          height: 100%;
          width: 100%;
          z-index: 999;
      }

      #middle {
          display: table-cell;
          vertical-align: middle;
      }

      #inner {
        margin-left: auto;
    margin-right: auto;
    width: 500px;
    background-color: black;
      height: 585px;
      z-index: 99999;

      }


		@media screen and (min-width: 0px) and (max-width: 767px) {      #inner {
        margin-left: auto;
    margin-right: auto;
    width: auto;
    background-color: black;
    height: auto;
      }
    }

    a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

a:active {
    text-decoration: none;
}

/* This stylesheet generated by Transfonter (http://transfonter.org) on December 12, 2016 9:09 AM */

@font-face {
	font-family: 'Charter';
	src: url('Charter-Roman.eot');
	src: url('Charter-Roman.eot?#iefix') format('embedded-opentype'),
		url('Charter-Roman.woff') format('woff'),
		url('Charter-Roman.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

p {
  font-family: 'Charter';
}

.frame {
    height: 53px;      /* equals max image height */
    width: 160px;
    white-space: nowrap;

    text-align: center; margin: 1em 0;
}

.helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

img {

    vertical-align: middle;

}
