/* SWEET SWAL STYELS BEGIN */
.wpProQuiz_certificate a.btn-blue span.ld-icon{display: inline-block;margin: 0 5px 0 0;}
.swal2-modal{
    padding: 0 !important
}

.wpProQuiz_certificate {
    margin: 0px !important;
}
.swal2-header{
    background: #074b79;
    padding: 30px 0 !important;  
}
.swal2-actions{
    padding-bottom: 20px !important;
}
.swal2-select{
	border:0;	
	border-bottom:2px solid #000;
	border-radius:0 !important;
	text-align:start !important;
	position:relative;
	cursor:pointer;
	 -webkit-appearance: none;
    -ms-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.swal2-select:after { 
  content: " ";
  display: inline-block;
  width: 24px; height: 24px;
  background: blue;
}
select,select:focus{
	box-shadow:none !important;
}
/* SWEET SWAL STYELS END */
/* DOWNLOAD CERTIFICATE BEGIN */
.download-certificate-list svg{
    font-size:30px;
    color: #074b79;
}
.download-certificate-list .certificate-name{
    font-size: 15px;
    font-weight: 500;
   color: #000;
}
.download-certificate-list a.download-certifcate{
    font-size: 15px;
    font-weight: 400;
    color: #000;
    cursor: pointer;
}
.download-certificate-list .download-certifcate svg{
    font-size: 15px;
    color: #000;
    margin:0 5px;
}
.swal2-popup{
    width: 40em !important;
}
/* DOWNLOAD CERTIFICATE END */
/* Loader */

#ajax_loader_spinner {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    opacity: .5;
    z-index: 999999;
    background: #ffffff;
}

#ajax_loader_spinner > p > img {
    width: 50px;
}

/**SPINNER START**/
.ajax_spinner {
    position: absolute;
    left: 45%;
    top: 50%;
    height: 100px;
    width: 100px;
    margin: 0px auto;
    -webkit-animation: rotation .6s infinite linear;
    -moz-animation: rotation .6s infinite linear;
    -o-animation: rotation .6s infinite linear;
    animation: rotation .6s infinite linear;
    border-left: 6px solid rgba(0, 174, 239, .15);
    border-right: 6px solid rgba(0, 174, 239, .15);
    border-bottom: 6px solid rgba(0, 115, 170, .8);
    border-top: 6px solid rgba(0, 174, 239, .8);
    border-radius: 100%;
}

@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(359deg);
    }
}

@-moz-keyframes rotation {
    from {
        -moz-transform: rotate(0deg);
    }
    to {
        -moz-transform: rotate(359deg);
    }
}

@-o-keyframes rotation {
    from {
        -o-transform: rotate(0deg);
    }
    to {
        -o-transform: rotate(359deg);
    }
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}

/**SPINNER END**/


/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */ 
 .swal2-title{
	position:relative;
	color: #fff !important;
    padding-bottom: 20px;
    margin-bottom: 0px !important;
}
.swal2-select{
	width:80%;
	 border-radius:5px;
	padding:10px !important;
	font-size:15px !important;
	text-align:center; 
	margin-top:20px !important;
	display:block; 
	font-weight:500 !important;
}
.swal2-styled.swal2-confirm{
	background: #074b79 !important;
        box-shadow: none !important;
} 


.ldmc_overlay {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 99999999;
  background: #222;
  opacity: 0.9;
}

.ldmc_overlay__inner {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  position: absolute;
}

.ldmc_overlay__content {
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.ldmc_spinner {
  width: 75px;
  height: 75px;
  display: inline-block;
  border-width: 2px;
  border-color: rgba(255, 255, 255, 0.05);
  border-top-color: #fff;
  animation: spin 1s infinite linear;
  border-radius: 100%;
  border-style: solid;
}

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


.swal2-container div[aria-labelledby="swal2-title"]{
    border-radius: 10px;
    overflow: hidden;
}

.swal2-container div[aria-labelledby="swal2-title"] .swal2-content{
    margin-top: 40px;
}

.download-certificate-list td, 
.download-certificate-list th{
        border-color: #eee;
}

.swal2-image{
    margin-top: 0px;
}
.swal2-styled.swal2-confirm:hover{
    opacity: .9;
}
.download-certificate-list a.download-certifcate svg{
    margin-left: 10px;
}


.learndash-wrapper .wpProQuiz_content .wpProQuiz_certificate a.btn-blue.ldmc_download_multiple_certificates, 
.learndash-wrapper .wpProQuiz_content .wpProQuiz_certificate a.btn-blue.ldmc_select_certificate{
    background: #074b79;
    font-weight: 400;
    padding: 0px 20px;
    transition: .3s;
}
.learndash-wrapper .wpProQuiz_content .wpProQuiz_certificate a.btn-blue.ldmc_download_multiple_certificates:hover, 
.learndash-wrapper .wpProQuiz_content .wpProQuiz_certificate a.btn-blue.ldmc_select_certificate:hover{
    opacity: .9;
}

#ld-profile .ld-item-list-items .ld-icon-certificate::before{
    color: #074b79;
        display: inline-block;
    font-size: 25px;
}

.ld-alert.ld-alert-success.ld-alert-certificate, .ld-item-details > .ld-certificate-link {
    display: none;
}

.ld-alert.ld-alert-success.ld-alert-certificate > .ld-button.ld-mc-cert-btn, .ld-item-details > .ld-certificate-link.ld-mc-cert-a {
    display: block;
}

.ldmc_quiz_download_multiple_certificates .btn-blue, 
.ld-cvss-btn-blue, 
.wpProQuiz_certificate .btn-blue {
    position: relative;
    display: inline-block;
    height: 31px;
    padding: 0px 20px 0px 30px; /* Adjust padding as needed */
    margin: 0;
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    line-height: 30px;
    color: #ffffff;
    border-radius: 40px;
    background-color: #074b79;
    white-space: nowrap; /* Prevents text from wrapping */
}
/* Tooltip container */
.custom-tooltip {
  position: relative;
  display: inline-block;
}

/* Tooltip text */
.custom-tooltip .tooltip-text {
  visibility: hidden;
  width: max-content;
  max-width: 200px;
  background-color: #074b79;
  color: #fff;
  text-align: center;
  padding: 6px 10px;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
  bottom: 125%; /* Position the tooltip above the icon */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 14px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Tooltip arrow */
.custom-tooltip .tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%; /* At the bottom of the tooltip */
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #074b79 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.custom-tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/*Responsive Starts*/


@media(max-width: 575px){
.swal2-container div[aria-labelledby="swal2-title"] .swal2-content{
    padding: 0 10px;
}
.swal2-title{
    font-size: 22px !important;
} 
.swal2-image{
    width: 60px;
    height: fit-content !important;
    margin-top: 0px !important;
}
.swal2-container div[aria-labelledby="swal2-title"] .swal2-content{
    margin-top: 20px;
}
.download-certificate-list tbody tr td:nth-child(2), 
.download-certificate-list tbody tr td:nth-child(5){
    display: none;
}
.download-certificate-list .certificate-name{
    font-size: 13px;
}
.download-certificate-list a.download-certifcate{
    font-size: 13px;
    cursor: pointer;
}
.download-certificate-list tr td:first-child svg{
    width: 18px;
}
.ajax_spinner{
    width: 50px;
    height: 50px;
    left: 42%;
}
}