﻿/* Put your custom styles here. Do not edit other css. */
body{
	background-image: url("../pics/swirl_pattern.png");
} 
#main-nav{
	background: #662485 none repeat scroll 0 0;
	border-top: 2px solid #ccc;
	border-color: #662485 #ccc #ccc;
	bottom: 0;
	height: 50px;
	left: 0;
	position: relative;
	width: 100%;
	z-index: 14;
	display:none;
}
#main-nav ul li{
	list-style-type: none;
	float:left;
	margin-left:10px;
}
#main-nav h2{
	    font-size: 18px;
    color: #fff;
    float: left;
    margin-top: 13px;
    margin-left: 10px;
}
#thumb-panel{
	background: #fff none repeat scroll 0 0;
	border: 1px solid #cccccc;
	height: 7%;
	left: 0;
	top:1%;
	position: absolute;
	width: 250px;
	height:91%;
	z-index: 15;
	margin-left:10px;
	display:none;
}

#thumb-panel ul li{
	list-style-type: none;
	float:left;
	padding-bottom:5px;
}
#thumb-panel ul li img{
	border: 1px solid #007b85
}
#thumb-panel ul li span{
	float:left;
	padding-top:10px;
}


.magazine-viewport .container{
	top: 50%;
}

.thumbnails .thumb-hover span{
	position:absolute;
	bottom:-30px;
	left:0;
	z-index:2;
	width:100%;
	height:30px;
	font:bold 15px arial;
	line-height:30px;
	color:#666;
	display:block;
	cursor:default;
}

#thumb-bar{
	height:40px;
	margin-top: 0px;
	border-bottom: 1px solid #ccc;
}

#thumb-bar #thumb-icon{
	float:left;
	margin-left: 8px;
    margin-top: 16px;
}

#thumb-bar h3{
	font-family: 'Ubuntu', sans-serif;
	color:#666666;
	margin-left:32px;
	font-size:14px;
	padding-top: 14px;
	font-weight:500;
}

#close-btn{
	float:right;
	margin-right: 8px;
    margin-top: -30px;
}

#thumb-holder {
	height: 90%;
    overflow-x: hidden;
    overflow-y: scroll;
}
#thumb-panel{
	 overflow: hidden;
}

#main-nav div {
	display: table;
    float: none;
    margin: 13px auto 0;
    position: relative;
    width: auto;
}
button::-moz-focus-inner {
    padding: 0;
    border: 0
}

#main-nav div > button{
	float:left;
	height:28px;
	margin-right:75px;
	color:#fff;
	font-size:0.8em;
}

[data-tooltip] {
  position: relative;
  z-index: 2;
  cursor: pointer;
}

#icon-bg{
	width:50px;
	height:50px;
	background:#662485;
	position:absolute;
	top:10px;
	right:10px;
	opacity: 0.8;
    filter: alpha(opacity=80);
	z-index:1000;
	cursor: pointer;
}

/* Hide the tooltip content by default */
[data-tooltip]:before,
[data-tooltip]:after {
  visibility: hidden;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  pointer-events: none;
}

/* Position tooltip above the element */
[data-tooltip]:before {
  position: absolute;
  bottom: 150%;
  left: 50%;
  margin-bottom: 5px;
  margin-left: -80px;
  padding: 7px;
  width: 160px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  background-color: #000;
  background-color: hsla(0, 0%, 20%, 0.9);
  color: #fff;
  content: attr(data-tooltip);
  text-align: center;
  font-size: 14px;
  line-height: 1.2;
}

/* Triangle hack to make tooltip look like a speech bubble */
[data-tooltip]:after {
  position: absolute;
  bottom: 150%;
  left: 50%;
  margin-left: -5px;
  width: 0;
  border-top: 5px solid #000;
  border-top: 5px solid hsla(0, 0%, 20%, 0.9);
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  content: " ";
  font-size: 0;
  line-height: 0;
}

/* Show tooltip content on hover */
[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
  visibility: visible;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.show-thumbs img{
	margin-top:3px;
}

.magazine-viewport .magazine{
	z-index:12;
}

#main-nav a{
	margin-top:11px;
	margin-left:0.8%;
	float:left;
	display:block;
	position:absolute;
}

/* nav btns */

.show-thumbs{
	position:relative;
	background-image:url('../pics/nav-icon/nav-icons.png');
	background-repeat:no-repeat;
    width: 24px;
    height: 24px;
	background-color:#662485;
	background-position: 4px 0px;
}

.go-prev{
	position:relative;
	background-image:url('../pics/nav-icon/nav-icons.png');
	background-repeat:no-repeat;
    width: 24px;
    height: 24px;
	background-color:#662485;
	background-position: -32px 2px;
}

.go-next{
	position:relative;
	background-image:url('../pics/nav-icon/nav-icons.png');
	background-repeat:no-repeat;
    width: 24px;
    height: 24px;
	background-color:#662485;
	background-position: -66px 2px;
}

.download-pdf{
	position:relative;
	background-image:url('../pics/nav-icon/nav-icons.png');
	background-repeat:no-repeat;
    width: 24px;
    height: 24px;
	background-color:#662485;
	background-position: -138px 3px;
}

.share-this{
	position:relative;
	background-image:url('../pics/nav-icon/nav-icons.png');
	background-repeat:no-repeat;
    width: 24px;
    height: 24px;
	background-color:#662485;
	background-position: -103px 3px;
}

.fullscreen{
	position:relative;
	background-image:url('../pics/nav-icon/nav-icons.png');
	background-repeat:no-repeat;
    width: 24px;
    height: 24px;
	background-color:#662485;
	background-position: -174px 3px;
}
.zoom-thumb{
	position:relative;
	background-image:url('../pics/nav-icon/nav-icons.png');
	background-repeat:no-repeat;
    width: 24px;
    height: 24px;
	background-color:#662485;
	background-position: -230px 3px;
}

.page-zoom-in{
	position:relative;
	background-image:url('../pics/nav-icon/nav-icons.png');
	background-repeat:no-repeat;
    width: 24px;
    height: 24px;
	background-color:#662485;
	background-position: -257px 3px;
}
.main-nav{
	border: medium none;
	margin:0px 5px 0px 5px;
	cursor: pointer;
}
.main-nav:hover{
	background-color:#571d73;
	border-radius: 3px;
}

#pages{
	float:right;
	margin-left:10px;
	margin-top:3px;
	font-size:12px;
	font-family: 'Ubuntu', sans-serif;
	/*color:#ba982d;*/
	color:#fff;
	position:relative;
	display:block;
	z-index:100;
}
#main-nav div > button span{
	display:block;
	width:100px;
	text-align:left;
	margin-left:20px;
	margin-bottom:8px;
}


#main-nav div > button.show-thumbs {
	margin-right: 70px;
}
#main-nav div > button.go-prev{
	margin-right: 55px;
}
#main-nav div > button.go-next{
	margin-right: 40px;
}
#main-nav div > button.download-pdf{
	margin-right: 70px;
}
#main-nav div > button.fullscreen{
	margin-right: 70px;
}
#main-nav div > button.zoom-thumb{
	margin-right: 45px;
}

/* Portrait tablet to Landscape (ipad Portrait)*/
@media only screen and (min-device-width : 0px) and (max-device-width : 768px)and (orientation : portrait){
/*@media only screen and (min-device-width : 0px) and (max-device-width : 768px){*/

	#main-nav{
		display:block;
	}
	
	#main-nav div > button {
		float: left;
		height: 28px;
		margin-right: 20px;
	}
	
	.magazine-viewport .container{
		top:50%;
	}
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) { 

	#main-nav{
		display:block;
	}
	
	#main-nav div > button {
		float: left;
		height: 28px;
		margin-right: 20px;
	}
}

@media only screen and (min-device-width : 0px) and (max-device-width : 375px) and (orientation : portrait) { 

#main-nav{
		display:none;
	}
}


#fancybox-close{
	background:url("../fancybox/fancy_close.png");
	width:40px;
	height:40px;
}

/* ------ instructions-modal ---- */

.addthis-smartlayers{
	z-index:2;
	position:relative;
}
.modal.fade {
  z-index: 10000000 !important;
}

.modal-backdrop {
   /*background-color: #007b85;*/
   background-color: #fff;
   opacity: 1;
}
.modal-backdrop.show {
    opacity: 0.7;
}
#ebook-instructions-modal .container-fluid img{
	display:block;
	position:relative;
	float:left;
	width:100%;
	height:auto;
}
#ebook-instructions-modal .modal-content{
	border-radius:0 !important;
}
#ebook-inst-img-wrapper{
	padding-left: 0;
}
#ebook-inst-txt-wrapper{
	padding-right:0 !important;
}
#ebook-inst-txt-wrapper h6{
	margin-bottom:2px;	
}
#ebook-instructions-close{
	margin-top: -15px;
    margin-right: -10px;
}
#ebook-instructions-modal h3{
	color:#005941;
	font-weight:bold;
	margin-bottom:15px;
}
.ebook-icons{
	padding-right:0 !important;
}

#ebook-inst-des{
	margin:0;
	font-size:14px;
	color:#333;
	line-height:1.3;
	margin-bottom:10px;
}
.ebook-icons img{
	width:22px !important;
	display:block;
	position:relative;
	margin-top:8px;
}
.ebook-insts{
	padding-left:5px !important;
}
.ebook-insts label{
	font-size:12px;
	color:#333;
	font-weight:bold;
	margin:0;
}
.ebook-insts p{
	font-size:12px;
	color:#333;
	line-height:1.3;
	margin-bottom:8px;
}

@media (min-width: 992px){
	.modal-lg {
		max-width: 966px;
	}
}

















