 html { height: 98% }
  body {
    margin: 0;
   	background-color: #f6f6f6;
    	color: black;
    height: 100%;
    display: -moz-box;
    display: -webkit-box;
    display: box;
    -moz-box-orient: vertical;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    width: 100%;
  }

  iframe {
    -moz-box-flex : 1;
    -webkit-box-flex : 1;
    box-flex : 1;
    background-color: white;
    width: 100%;
    display: block;
    height: 80%;
    border: none;
  }

    footer {
        bottom: 0;
        width: 100%;
        height: 175px;
        padding-left: 40px;
        padding-right: 40px;
        padding-top: 25px;
        padding-bottom: 0px;

        background-color: #F6F6F6;
        
        font-size: 30px;
    }
    
    .footertext{
    	text-align: right;
    	font-size: 20px;
    }
    
    footer > table {
    	text-align:center;
    	margin-left:10%;
    	margin-right:10%;
    	padding-top:10px;
    	width:80%;
    	border-top: 1px solid #CCC;
        font-family: 'Ubuntu', arial, serif;
        
    }
    
        p {
        margin: 75px;
        font-size: 50px;
    }
    
       a {
        text-decoration:none;
        color:black;
    }
    
    
 #controls {
    left: 0;
    position: absolute;
    right: 0;
  }
  #controls {
    color: darkgray;
    font-family: monospace;
    height: 30px;
    line-height: 30px;
    padding: 5px;
  }
  #controls {
    bottom: 0;
    float: right;
    font-size: 13px;
    text-align: center;
  }
  #controls button[disabled] {color: lightgray;}
  button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    color: darkgray;
    padding: 0;
    font-size: 20px;
    line-height: 100%;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    position: relative;
  }
  button:hover {
    color: black;
  }
  button:active {
    top: 1px;
    left: 1px;
  }
  #slideidx {
    border: none;
    background-color: rgba(255, 255, 255, 0.2);
    color: darkgray;
    text-align: center;
  }
  #rightcontrols * { vertical-align: middle; }
  #rightcontrols {
    bottom: 4px;
    position: absolute;
    top: 4px;
    right: 10px;
  }
  #fullscreen {-moz-transform: scaleX(-1);-webkit-transform: scaleX(-1);-o-transform: scaleX(-1);-ms-transform: scaleX(-1);transform: scaleX(-1);}