body {
  margin: 0;
  padding: 0; }

h1, h2, h3, h3 {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.4em;
  padding: 0px 0px 10px; }

.viewer-stage {
  background: rgba(0, 0, 0, 0.6);
  display: none;
  height: 100%;
  opacity: 0;
  position: fixed;
  text-align: center;
  width: 100%;
  z-index: 1000; }
  
.no-cssgradients .viewer-stage {
	background:transparent;
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#60000000,endColorstr=#60000000); 
    zoom: 1;
}

.no-cssgradients .viewer {
	border: 12px solid #333;
}

.viewer {
  background: #b9b8b7;
  border: 20px solid rgba(0, 0, 0, 0.7);
  border-width: 15px 15px;
  border-radius: 6px 6px 6px 6px;
  display: inline-block;
  font-family: tahoma, verdana, arial;
  margin: 50px auto 20px;
  z-index: 1001; }
  .viewer header {
    position: relative;
    text-align: left; }
    .viewer header button {
      float: right;
      margin: 5px;
      position: relative;
      right: 0;
      top: 0; }
    .viewer header nav {
      background: rgb(248,247,246); /* Old browsers */
	  background: -moz-linear-gradient(top, rgba(248,247,246,1) 0%, rgba(211,210,209,1) 100%); /* FF3.6+ */
	  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(248,247,246,1)), color-stop(100%,rgba(211,210,209,1))); /* Chrome,Safari4+ */
	  background: -webkit-linear-gradient(top, rgba(248,247,246,1) 0%,rgba(211,210,209,1) 100%); /* Chrome10+,Safari5.1+ */
	  background: -o-linear-gradient(top, rgba(248,247,246,1) 0%,rgba(211,210,209,1) 100%); /* Opera 11.10+ */
	  background: -ms-linear-gradient(top, rgba(248,247,246,1) 0%,rgba(211,210,209,1) 100%); /* IE10+ */
	  background: linear-gradient(to bottom, rgba(248,247,246,1) 0%,rgba(211,210,209,1) 100%); /* W3C */
	  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8f7f6', endColorstr='#d3d2d1',GradientType=0 ); /* IE6-9 */
      border-bottom: 1px solid;
      box-shadow: 0 1px 2px #666666;
      display: block;
      height: 40px; }
      .viewer header nav .download-pdf {
      	background: dad5ce; /* Old browsers */
		background: -moz-linear-gradient(top, rgba(249,248,246,1) 0%, rgba(228,225,219,1) 50%, rgba(218,213,206,1) 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(249,248,246,1)), color-stop(50%,rgba(228,225,219,1)), color-stop(100%,rgba(218,213,206,1))); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top, rgba(249,248,246,1) 0%,rgba(228,225,219,1) 50%,rgba(218,213,206,1) 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top, rgba(249,248,246,1) 0%,rgba(228,225,219,1) 50%,rgba(218,213,206,1) 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top, rgba(249,248,246,1) 0%,rgba(228,225,219,1) 50%,rgba(218,213,206,1) 100%); /* IE10+ */
		background: linear-gradient(to bottom, rgba(249,248,246,1) 0%,rgba(228,225,219,1) 50%,rgba(218,213,206,1) 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9f8f6', endColorstr='#dad5ce',GradientType=0 ); /* IE6-9 */
        border: 1px solid;
	    border-radius: 4px;
	    box-shadow: 1px 1px 0 0 #969696;
	    color: #333333;
	    font-family: verdana;
	    font-size: 14px;
	    height: 32px;
	    margin: 0 13px;
	    padding: 6px;
	    position: relative;
	    text-decoration: none;
	    top: -6px;}
	    .viewer header nav .download-pdf:hover {
		background: f5f5f3; /* Old browsers */
		background: -moz-linear-gradient(top, rgba(249,248,246,1) 0%, rgba(228,225,219,1) 50%, rgba(245,245,243,1) 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(249,248,246,1)), color-stop(50%,rgba(228,225,219,1)), color-stop(100%,rgba(245,245,243,1))); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top, rgba(249,248,246,1) 0%,rgba(228,225,219,1) 50%,rgba(245,245,243,1) 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top, rgba(249,248,246,1) 0%,rgba(228,225,219,1) 50%,rgba(245,245,243,1) 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top, rgba(249,248,246,1) 0%,rgba(228,225,219,1) 50%,rgba(245,245,243,1) 100%); /* IE10+ */
		background: linear-gradient(to bottom, rgba(249,248,246,1) 0%,rgba(228,225,219,1) 50%,rgba(245,245,243,1) 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9f8f6', endColorstr='#f5f5f3',GradientType=0 ); /* IE6-9 */
		}
        .viewer header nav .download-pdf img {
          left: -3px;
          position: relative;
          top: 10px; }
  .viewer .content {
    background: #fff;
    min-height: 200px;
    min-width: 750px;
    margin: 0px auto; }
  .viewer .viewer-content {
    max-height: 600px;
    min-height: 400px;
    overflow-x: hidden;
    overflow-y: scroll;
    padding: 0px 12px; }
    .viewer .viewer-content footer {
      height: 12px; }
  .viewer .page {
    /*box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.5);*/
    position: relative; }
    .viewer .page img {
      border: 1px solid #666666; }
  .viewer .page-number {
    color: white;
    font-weight: bold;
    margin: 8px 0px;
    text-align: center;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.8); 
 	filter: progid:DXImageTransform.Microsoft.Shadow(color=#666666,direction=135); }
  .viewer .wait-animation {
    left: 30px;
    position: absolute;
    top: 30px;
    height: 30px;
    width: 30px;
    display: block; }
    
    button {
    	cursor: pointer;
    }

/*
.viewer-custom {
    border: 1px solid rgba(250, 250, 250, 0.7);
    box-shadow: 0px 0px 0px 15px rgba(50, 50, 50, 0.7);

    .viewer-content {
        background: #474645;
        
        padding: 40px 12px 12px;

        img {
            border: 5px solid #d8d7d6;
        }
    }
}
*/
