/*---------------------------------------------------------------------------------
Description: CSS Related to Modal popup window
Author: Arif
*/

.divBeta{
	font-size: 12px;
	position: absolute;
	top: 10px;
	left: calc(50% - 50px);
}

.divBeta a {
  color: #188ecd;
	text-decoration: underline;
}

.divBeta a:hover{
  color: #188ecd;
	text-decoration: underline;
}

.beta-spin-div {
  display:inline-flex;
	visibility: hidden;
  margin-left: 3px;
}

.beta-spinner-modal {
  height: 14px;
  width: 14px;
  /* animation: rotate 0.8s infinite linear; */
  border: 4px solid #188ecd;
  border-right-color: transparent;
  border-radius: 50%;
}

.btn-mobile-block-review {
	display: block;
	width: 100%;
	padding-right: 0;
	padding-left: 0;
	margin-top: 15px;
	background-color:white !important;
}

.btn-mobile-block-review:hover {
	background: #188ecd !important;
	border-color: #188ecd !important;
}

.section-fav-review{
	padding-top: 25px;
	transition-duration: 0.5s;
}

.mejs-volume-button{
	display: none;
}

.divReviewFaq{
  display:block;
}

#lnkReview:after{
	content: ' Review This Audio';
}
#lnkFAQ:after{
	content: ' Frequent Questions';
}
#lnkHomeScreen:after{
	content: ' Add App to Home Screen';
}

/* Short Height Mobile Phone - Portrait */
@media screen and (max-width: 440px) and (max-height: 670px) {
	.cue-player{
		position: relative;
		min-height: 82vh;
	}
	.section-fav-review{
		padding-top: unset;
		position: absolute;
		width: 100%;
		bottom: 0;
	}
	.divReviewFaq{
	  display:flex;
	  column-gap:10px;
	}
	.label-audio{
		margin: 10px 0 10px;
	}
	.crossButton{
		margin: 10px 0 10px;
	}
	#lnkReview:after{
	  content: ' Review';
	}
	#lnkFAQ:after{
	  content: ' FAQs';
	}
}


/* Submit Review button */
.gform_button {
		background-color: black;
		color: white;
}
.gform_button:hover {
		background-color: gray;
}

.player-modal-content{
	width:100%;
	height:100%;
	background: #fafafa;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#188ecd",GradientType=1);
	background-image: url('/wp-content/uploads/trianglify-player-gray.svg');
	background-size: 100% 100%;
}

.iframe-player{
	width: 100%;
	height: 100%;
}

.modal-backdrop{
    opacity:0.5 !important;
}

.modal-lg {
	height: 670px;
	width: 375px;
	margin: 30px auto 0;
}

/* Tablet */
@media screen and (min-width: 768px) {
	.modal-lg {
		height: 670px;
		width: 375px;
		margin: 30px auto 0;
		overflow: hidden;
	}
}

/* Mobile Phone */
@media screen and (max-width: 440px) {
	.modal-lg {
	  width: 100%;
		height: 100%;
		overflow: hidden;
		margin: 0px;
		padding: 0px;
	}
}


/* Mobile Phone - Landscape mode */
@media screen and (max-height: 440px) and (orientation:landscape) {
	.modal-lg {
	  width: 100%;
		height: 100%;
		overflow: hidden;
		margin: 0px;
		padding: 0px;
	}
	.label-audio{
		margin: 10px 0 10px;
	}
	.crossButton{
		margin: 10px 0 10px;
	}
	.section-fav-review{
		position: absolute;
		padding: unset;
		width: auto;
		bottom: calc(35vh);
		left: calc(85vh);
		right: 0;
		display: flex;
		flex-direction: column;
    align-items: center;
		transition-duration: 0.5s;
	}
	.myfav-favorite-button{
		width: 70%;
	}
	.btn-mobile-block-review{
		width: 70%
	}
	.cue-playlist {
		width: calc(75vh);
	}
	.mejs-time{
		margin: 0 0 20px;
	}
	.mejs-player-settings{
		font-size: unset;
		margin: 0 0 15px;
		visibility: hidden;
	}
	.mejs-play button{
		margin: 16px 0px 0px 27px !important;
	}
	.mejs-pause button{
		margin: 16px 0px 0px 21px !important;
	}
	.mejs-playpause-button{
		margin-top: -50px !important;
	}
	.loader{
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 2s linear infinite;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -55px;
    margin-left: -40px;
	}
	.loaderText {
		left: 50%;
    top: 40%;
    margin-top: -55px;
    margin-left: -25px;
    font-family: sans-serif;
    font-size: 1.2em;
    position: absolute;
	}
}




/* ----- modals ----- */
body.modal-open,
.modal-open .navbar-fixed-top,
.modal-open .navbar-fixed-bottom {
	padding-right: 0;
	margin-right: 0;
}
.modal-open .modal {
	padding-right: 0 !important;
}

.modal-backdrop.in {
	opacity: .8;
}

.modal-content {
	border: none;
	border-radius: 0;
}
.modal-header {
	position: relative;
	padding: 20px 50px 20px 30px;
	background: #fff;
	border-bottom: 1px solid #ccc;
}
.modal-header .modal-title {
	font-size: 1.8em;
	color: #333;
	margin: 0;
}
.modal-header .close {
	position: absolute;
	top: 8px;
	right: 20px;
	font-family: Helvetica Neue, sans-serif;
	font-size: 3.2em;
	font-weight: 300;
	line-height: 1;
	margin: 0;
	color: #000;
	text-shadow: none;
	outline: none;
	padding: unset !important;
}
.modal-header .close:hover {
	background: none;
}
.modal-body {
	padding: 30px;
}
.modal-body.body-no-padding {
	padding: 0;
}
.modal-body .table {
	table-layout: fixed;
}
.modal-body .table th,
.modal-body .table td {
	padding: 8px 20px;
}

.modal textarea {
	height: 100px;
}
.modal-footer {
	background: #eee;
	padding: 15px 20px;
	margin-top: 0;
	text-align: left;
}
.modal-footer .btn {
	margin: 0 5px 0 0;
}

.modal-dialog {
	pointer-events: unset;
}

/* play modals */
.modal.modal-play .modal-dialog {
	width: 1000px;
	padding: 40px 0 0;
}
.modal.modal-play .modal-content {
	background: none;
	border: none;
	box-shadow: 0 0 0 10px rgba(255, 255, 255, .15);
}
.modal.modal-play .close {
	position: absolute;
	top: -60px;
	right: 0;
	color: #fff;
	opacity: 1.0;
	font-family: NHaasGroteskDSPro-35XLt;
	font-size: .9em;
	text-shadow: none;
}
.modal.modal-play .close .close-x {
	display: inline-block;
	font-size: 4em;
	font-weight: 100;
	margin: -4px 0 0 5px;
	vertical-align: middle;
}
.modal.modal-play .close:hover {
	color: #999;
}
.modal.modal-play .modal-body {
	padding: 0;
}

/* wide modals */
.modal-wide .modal-dialog {
	width: 900px;
}

.spin-div {
  width: 100%;
  height: 100%;
  display:flex;
  align-items:center;
  justify-content:center;
}

.spinner-modal {
margin: 50px;
height: 28px;
width: 28px;
animation: rotate 0.8s infinite linear;
border: 8px solid #188ecd;
border-right-color: transparent;
border-radius: 50%;
}

.spin-div-saveaudio {
  width: 100% !important;
  height: 100% !important;
  display:flex;
  align-items:center;
  justify-content:center;
	display:none;
}

.spinner-saveaudio {
height: 20px !important;
width: 20px !important;
animation: rotate 0.8s infinite linear;
border: 5px solid #7ac7ef;
border-right-color: transparent;
border-radius: 50%;
}

@keyframes rotate {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}

.preload-spinner {
	width:100px;
  height: 100px;
}
