/*CHART MODAL*/

/* The Modal (background) */
.myModalwrap {
	visibility: hidden; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 10;    
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background: rgba(0, 0, 0);
	background: rgba(0, 0, 0, 0.7);
	transition: all 0.4s ease;
}

/* Modal Content/Box */
.sky_modal {
	visibility: hidden; /* Hidden by default */
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	min-width: 300px;
	max-width: 850px;
	/*min-height: 400px;*/
	max-height: 93vh;
	width: calc(100% - 0px);
	/*padding: 10px;*/
	padding-top: 10px;
	border-radius: 5px;
	transition: all 0.4s ease;
	z-index: 11; 
	background: #ffffff;
}

.modal{
	padding-top: 15px;
	padding-bottom: 15px;
}
.sky_modal canvas{
	padding-top: 15px;
	padding-bottom: 15px;
}

.single_chart_wrap,.sky_modal {
	text-align: center;
	font-size: 15px;
}

/*Non modal max hieght for the chart*/
.single_chart_wrap, .sky_modal iframe {
	max-height: 500px;
}


/* The Close Button */
.modalclose {
	font-weight: bold;
	position: absolute;
	display: block;
	top: 0;
	right:0;
	cursor: pointer;
	z-index: 100;
	background-color: rgba(255,255,255,1);
	width: 40px;
	height: 40px;
	border-top-right-radius: 5px;
	border-bottom-left-radius: 5px;
	box-shadow: -1px 1px 4px -2px rgba(0,0,0,0.75);
}

.modalclose:after {
	content: " + ";
	display: block;
	font-size: 35px;
	transform: rotate(45deg);
	color: #72a948;
	margin-top: -8px;
}

.modalclose:hover:after {
	color: red;
}

.modalclose:hover,
.modalclose:focus {
	color: black;
	cursor: pointer;
} 

.hide-modal-content {
	display: none;
}

@media (max-width: 1375px) {
	.sky_modal {
		overflow-y: scroll;
		overflow-x: hidden;
	}
}

@media (max-width: 950px) {
	.sky_modal {
		min-width: 250px;
		width: 100%;
		max-width: 95vw;
		min-height: 200px;	 
	}
}