#nhvalink {
    position: fixed; 
    z-index: 899;
    bottom: 1px;
    height: 55px;
    width: 195px;
	right: 70px;
    border: 0px;
    border-radius: 3px 3px 0px 0px;
    /*writing-mode: vertical-lr;*/
    /*transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    -ms-transform: rotate(270deg);*/
    background-color:  #0b669e; /*#f58025;*/
    color: #fff;
    font-size: 16pt;
    font-family:  'tt-commons', 'Open Sans', sans-serif !important;
    font-style: bold !important;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    /* padding-left:15px; */
	padding-top: 15px;
	/*padding-right: 15px;*/

}

#nhvalink2 {

}

#modal {
	display: none;
	position: fixed;
	z-index: 2;
	padding-top: 200px;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.4);
}

/*

.qvTombstone {
    position: absolute;
    background-color: white;
    max-width: 500px;
	max-height: 500px;
    padding: 20px;
    border-radius: 20px;
	transform: translateY(-50%);
    top: 50%;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    z-index: 3;
	overflow: auto;
}*/




#nhvalink:hover  {
	background-color:  #d3eee7;
	color: #163159;
}


#nhvalinkside {
   	 position: fixed;
    z-index: 899;
    bottom: 200px;
    right: 0px;
    height: 195px;
    width: 39px;
    border: 0px;
    border-radius: 0px 10px 10px 0px;
    /*writing-mode: vertical-lr;*/
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    background-color:  #f58025;
    color: #fff;
    font-size: 16pt;
    font-family:  'tt-commons', 'Open Sans', sans-serif !important;
    font-style: bold !important;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    padding-left: 15px;
	padding-top: 40px;
	padding-right: 40px;
	

}
.iframeLink {
	/*writing-mode: vertical-lr;
	-ms-writing-mode: tb-rl;
	-webkit-writing-mode: vertical-rl;
	-moz-writing-mode: vertical-rl;
	-ms-writing-mode: vertical-rl;*/
	
	 /*padding: 40px;making button wider for easier clicking*/
}





.overlayVA {
    /*height: 475px;
    width: 350px;*/
	height: 650px; /*505*/
	width: 100%;
	max-height: 100%;
	*max-width: 550px /*350*/

}



.overlayside {
	height: auto;
	width: 0;
	position: fixed;
	z-index: 2147483647 !important;
	transform: translate(0%, -50%);
	top: 50%;
	right: 0;
	background-color: #0b669e;
	box-shadow: 0px 0px 25px 5px rgba(22,27,89,.05);
	overflow-x: hidden;
	transition: 0.5s;
}

.overlay {
	height: 0;
	width: 550px; /*350*/
	position: fixed;
	z-index: 2147483647 !important;
	/*transform: translate(0%, 0%);
	bottom: 0;
	right: 50px;*/
	background-color: #0b669e;
	box-shadow: 0px 0px 25px 5px rgba(22,27,89,.05);
	overflow-x: hidden;
	transition: 0.5s;
	overflow:hidden;
	 /*position: absolute; turning off ab going to fixed*/
	/*Duy Additions*/
	transform: translateY(-50%);
	top: 50%;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
	/*Duy end */
}

.overlay-content {
	position: relative;
	width: 100%;
	/*height: 100%;*/ /*commented out agent oversized in overlay*/
	text-align: right;
	margin-top: 30px;
}

.overlay a {
	padding: 8px;
	text-decoration: none;
	box-shadow: none;
	font-size: 36px;
	color: white;
	display: block;
	transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
	color: #ccc;
}

.overlay .closebtn {
	position: absolute;
	top: -4px;
	right: 0px;
	font-size: 14px; /*changing this from 16px to 14px*/

}



.overlay .closebtn: hover {
		color: #d3eee7;
	}


@media only screen and (max-width: 600px){
	.overlay {
		right: 0;

		}

}

@media only screen and (max-height: 700px){

	.overlayVA {
		height: 550px;
	}
}

@media only screen and (max-height: 650px){

	.overlayVA {
		height: 500px;
	}
}

