*{margin:0px; padding: 0px;}
body{font-family: 'Poppins', sans-serif; background-color:#F9F4F4;}
.header{width: 100%; max-width: 1170px; box-sizing: border-box; margin: 0 auto; text-align: center; padding: 35px 15px;}
.container{width: 100%; max-width: 1170px; padding:30px; box-sizing: border-box; margin: 0 auto; background-color: #fff;}
.header h1{font-size: 32px; font-weight: 600;}
h2 {font-weight: 500; font-size: 24px;}

.logo img {
    width: 180px;
    max-width: 100%;
}


.question-box {margin: 5px 0px 20px;} 
.question-box h3.question{font-weight: normal; font-size: 18px; color: #333; margin: 0px 0px 10px; display: block; white-space: normal;
    word-break: break-word; max-width: calc(100% - 250px);
    width: 100%;}
ol.options {padding: 0px 0px 0px 0px;}
ol.options li {line-height: 35px;list-style-type:none;font-size: 16px;}  
ol.options li label{cursor: pointer;}
.question-outer {display: flex;justify-content: space-between;flex-wrap: wrap;}
span.time-lefts, span.time-icon {font-size: 16px;color: #939393;}
.timers {font-size: 24px;letter-spacing: 8px;line-height: 1;color: #000;font-family: arial;}


ol.options li span {
    display: inline-block;
    padding: 0px 5px;
}
ol.options li input {
    vertical-align: middle;
    cursor: pointer;
}

.button-wrappers {
    margin-top: -30px;
    display: flex;
    justify-content: flex-end;
    padding: 0px 0px 0px 38px;
}

button.submit {
    border: none;
    background-color: #04AA6D;
    border-radius: 30px;
    color: #fff;
    padding: 12px 28px;
    cursor: pointer;
    margin: 25px 0px 0px 30px;
}

button.submit:hover{background-color:#077c51;}

button.next {
    border: none;
    background-color: #0287FF;
    border-radius: 30px;
    color: #fff;
    padding: 12px 28px;
    cursor: pointer;
}

button.next:hover{background-color: #095da9;}
.candidate_quiz {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.candidate_quiz label{display: block; width: 100R;}

.candidate_quiz label {
    display: block;
    width: 100%;  
    font-size: 16px;
    line-height: normal;
}


.candidate_quiz .question-group label{display: inline-block; margin-right: 30px; width: auto; font-size: 18px; cursor: pointer;}
.candidate_quiz input[type="text"], .candidate_quiz input[type="password"], .candidate_quiz input[type="pasword"]{width: 100%; border: 1px solid #ccc; height:38px; border-radius: 5px; padding: 0 15px; font-size: 16px; box-sizing: border-box;}
.form-control {margin-bottom: 15px; width: 49%;}  
.candidate_quiz input:focus-visible{outline: none;}

.candidate_quiz button.submit {
    border: none;
    background-color: #04AA6D;
    border-radius: 30px;
    color: #fff;
    padding: 12px 28px;
    cursor: pointer;
}

.candidate_quiz button.submit:hover {
    background-color: #077c51;
}



.table-outer table{width: 100%;}
.table-outer table td, .table-outer table th{padding: 10px 8px; border: 1px solid #ccc; font-size: 14px; text-align: centerg5;}
.table-outer table th{font-weight: bold; background-color: #f6f6f6;}
.table-outer table input{margin: 0px; vertical-align: middle;}
.listing-tool .table-outer select{height:28px;}

.listing-tool .table-outer button {  
  background: gray;
  border: none;
  height: 28px;
  color: #fff;
  padding: 0 10px;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
}

.table-outer {
    margin-top: 30px;
    border: 1px solid #ccc;
    width: 100%;
}

table, th, td {
    border: 1px solid black;
    border-collapse: collapse;
}


.table-outer button {
    background: #04AA6D;
    border: none;
    height: 28px;
    color: #fff;
    padding: 0 10px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
}

.table-outer button.edit-button{
    background-color:#a3a1a1;
}


.table-outer button.cancel-button{
    background-color:red;
}


.quiz-outer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

}

.question-group {
    width: 100%;
    box-sizing: border-box;
    margin-bottom:20px;
    display: flex;
}


.form-outer textarea {
    width: 100%;
    resize: none;
    padding: 10px;
    box-sizing: border-box;
}

.form-outer textarea:focus{outline: none;}

.form-outer {
    width: 100%;
    margin-top: 10px;
}


.form-outer.active{display: block;}
.log_in_outer {
    margin-left: auto;
    width: 100%;
    max-width: 504px;
    padding: 60px 1rem 1.5rem;
    box-shadow: 0 4px 10px 2px rgba(216,216,221,0.5);
    position: relative;
    float: right;
    height: 100vh;
    background: #e9f0f3;
    padding: 30px 70px 100px;
    box-sizing: border-box;
}

body.login-page{
    background-image: url(../images/hero-bg.jpg);  
    background-size: cover;
}

.log_in_outer h2 {  
    font-weight: 700;
    font-size: 18px;
    font-family:Helvetica, sans-serif;
    color: #133e5e;
    margin-bottom: 20px;
}

.login-form input[type="text"], .login-form input[type="password"]{
    height: 40px;
    width: 100%;
    padding: 0px 12px;
    font-size: 14px;
    border-radius: 2px;
    border: solid 1px #2c70a2;
    background-color: #f1f9ff;
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: .1px;
    -webkit-appearance: none;
    outline: none;
    color: #133e5e;
    transition: all 100ms ease;
    box-sizing: border-box;
    font-size: 14px;
}

form.login-form .form-control{width: 100%;}


form.login-form .btn.btn-primary {
    padding: 4px 27px 5px;
    font-size: 17px;
    float: none;
    border-radius: 0px;
    border: 1px solid #133e5e;
    height: 40px;
    min-width: 152px;
    margin-top: 15px;
    font-size: 14px;
    font-weight: 600;
    background-color: transparent;
    cursor: pointer;
}

form.login-form .btn.btn-primary:hover{
    background-color: #337ab7;
    border-color: #337ab7;
    color: #fff;
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.expire_link {
    font-size: 18px;
    margin-bottom: 30px;
    color: red;
}


body.thanksbg{background: url(../images/thanks-bg.jpg); background-size: contain;}
.thanks-container {
    width: 100%;
    max-width: 1200px;
    text-align: center;
    margin: 0 auto;
    padding: 50px 0px;
}

.thanks-container h1 {
    font-size: 40px;
    letter-spacing: 5px;
}

.thanks-container p strong {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    max-width: 600px;
    text-align: center;
    display: inline-block;
}

.thanks-container p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 14px;
    margin-top: 20px;
}

.follow-us {
    margin-top: 30px;
}

.follow-us h4{font-size: 18px; color: #333;}

.follow-us ul{margin:15px 0px 0px; padding: 0px; display: flex; justify-content: center;}
.follow-us ul li{list-style: none;}

.follow-us ul li a {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border: 1px solid #133e5e;
    justify-content: center;
    align-items: center;
    margin: 0px 10px;
    border-radius: 50%;
    font-size: 16px;
    text-decoration: none;
    background-color:#337ab7;
    color: #fff;
}

.follow-us ul li a:hover{
    background-color:#133e5e;
}
@media(max-width:1279px){
    .question-group{flex-wrap: wrap;} 
    .candidate_quiz .question-group label{margin-bottom: 10px;}
    .container{max-width: calc(100% - 40px); padding: 25px;}  
}


@media(max-width:1023px){
pre {all: inherit;}
.question-box{margin-top: 10px;}
.container{position: relative;}
.timer {position: absolute;right: 30px;top: 20px;}
span.time-lefts, span.time-icon {font-size: 16px;color: #939393;}
.timers {font-size: 14px;letter-spacing: 4px;}
ol.options {padding: 0px;}
button.next{margin-left: 0px !important;}    
.question-box h3.question{max-width: inherit; width: 100%;}
}	



@media(max-width:767px){
 .form-control{width: 100%;}
 .table-outer table{width: 900px;}
 .table-outer{overflow: auto;}
 .header h1{font-size: 24px;}
 .log_in_outer {width: calc(100% - 70px);padding: 30px 30px 100px;}  

 .thanks-container {
    max-width: 1240px;
    padding: 50px 20px;
    box-sizing: border-box;
}
.thanks-container img {
    max-width: 100%;
}
.thanks-container h1 {
    font-size: 30px;
    letter-spacing: 5px;
}

.thanks-container p strong{font-size: 14px;}  

}

.admin-login-form input {height: 40px;width: 100%;padding: 4px 12px;font-size: 14px;border-radius: 2px;border: solid 1px #2c70a2;background-color: #f1f9ff;
font-weight: 400;font-style: normal;font-stretch: normal;line-height: normal;letter-spacing: .1px;-webkit-appearance: none;outline: none;color: #133e5e;transition: all 100ms ease;}
.admin-login-form .form-control{width: 100%}
.admin-login-form .btn.btn-primary {padding: 4px 27px 5px;font-size: 17px;float: none;border-radius: 0px;border: 1px solid #133e5e;height: 40px;min-width: 152px;margin-top: 15px;font-size: 14px;font-weight: 600;background-color: #337ab7;color: #fff;cursor: pointer;}
.admin-login-form .btn.btn-primary:hover {background-color: #133e5e;}
.frontend-login-form input {height: 40px;width: 100%;padding: 4px 12px;font-size: 14px;border-radius: 2px;border: solid 1px #2c70a2;background-color: #f1f9ff;
font-weight: 400;font-style: normal;font-stretch: normal;line-height: normal;letter-spacing: .1px;-webkit-appearance: none;outline: none;color: #133e5e;transition: all 100ms ease;}
.frontend-login-form .form-control{width: 100%}
.frontend-login-form .btn.btn-primary {padding: 4px 27px 5px;font-size: 17px;float: none;border-radius: 0px;border: 1px solid #133e5e;height: 40px;min-width: 152px;margin-top: 15px;font-size: 14px;font-weight: 600;background-color: #337ab7;color: #fff;cursor: pointer;}
.frontend-login-form .btn.btn-primary:hover {background-color: #133e5e;}
.candidate_quiz input[type="email"] {width: 100%;border: 1px solid #ccc;height: 38px;border-radius: 5px;padding: 0 15px;font-size: 16px;box-sizing: border-box;}
.logout-section {width: 100%;max-width: 1170px;padding: 30px 0px;box-sizing: border-box;margin: 0 auto;text-align: right;}
.logout-section a {display: inline-block;padding: 8px 15px;border-radius: 5px;background: #8d8d8dcc;text-decoration: none;color: #fff;font-size: 14px;font-weight: 600;}
.logout-section a:hover{background-color: #6e6d6dcc;}
.table-outer button{color: #fff !important;}

button.next {margin-left:0px;margin-top: 30px;}
.candidate_quiz button.submit{margin-left: 0px; margin-bottom: 20px;}
.logout-section a{margin-left: 15px;}
.quiz-outer input[type="date"], .quiz-outer input[type="submit"],
.quiz-outer input[type="text"], .quiz-outer input[type="submit"], .quiz-outer button
{border: 1px solid #ccc;height: 38px;border-radius: 5px;padding: 0 15px;font-size: 16px;box-sizing: border-box;}
.quiz-outer input[type="submit"]{cursor: pointer;}
.quiz-outer input[type="submit"]:hover{background-color: #04AA6D; color: #fff; border-color:#04AA6D;}
.quiz-outer button{cursor: pointer;}
.quiz-outer button:hover{background-color: #04AA6D; color: #fff; border-color:#04AA6D;}
.table-outer button{margin-left: 10px;}
input:focus{outline:none;}
.quiz-outer .table-outer button {width: auto;padding: 5px 12px;height: auto;line-height: normal;font-size: 12px;margin: 0px 0px 0px 10px;}
@media (max-width: 767px){
.quiz-outer input[type="date"], .quiz-outer input[type="submit"], .quiz-outer input[type="text"], .quiz-outer input[type="submit"], .quiz-outer button{width: 100%; margin-bottom: 10px;}    
.quiz-outer form {width: 100%;}
.logout-section{padding: 30px 20px;}
.quiz-outer form {width: 100%;}
}
.custom-scs-msg-1 {
    color: #fff;
    border: 1px solid;
    padding: 8px 20px;
    margin-bottom: 15px;
    background: green;
}
#custom_loader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 90%;
    height: 100%;
    /* z-index: 9999; */
    background: url('../images/loading-45.webp') 50% 50% no-repeat rgba(255,255,255,0.578);
    background-size: 72px 72px;
    z-index: 99999;
    width: 100%;
}
.delete-scs-msg-1 {
    color: #fff;
    border: 1px solid;
    padding: 8px 20px;
    margin-bottom: 15px;
    background: red;
}
.email-scs-msg-1 {
    color: #fff;
    border: 1px solid;
    padding: 8px 20px;
    margin-bottom: 15px;
    background: green;
}

/*sachin */
/* Add this CSS to your styles.css */
/* Styles for the overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    z-index: 1000; /* Ensure the overlay is on top of other content */
}

/* Styles for the popup container */
.popup {
    display: none;
    position: fixed;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    max-width: 80%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 70%; /* Set a maximum height for the popup */
    overflow-y: auto; /* Add a vertical scrollbar if content exceeds the max height */
	width: 1120px;
}


/* Styles for the close button */
.close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

/* Additional styles for the popup content */
.popup h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.popup label {
    font-weight: bold;
}

.popup input[type="text"],
.popup input[type="email"],
.popup textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.popup button {
    background-color: #007BFF;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

/* Style for the open button (you can modify this based on your design) */
#openFormButton {
    background-color: #007BFF;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

/* Style for the custom loader (loading spinner) */
#custom_loader {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Media query for responsive design (adjust breakpoints as needed) */
@media (max-width: 768px) {
    .popup {
        width: 90%; /* Adjust the width for smaller screens */
    }
}

/* Style the select dropdown */
#correctAns, #group, #timeSec {
    width: 100%; /* Make the select dropdowns full width */
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}

/* Style the submit button */
#submitFormButton {
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
}

/* Change the submit button hover effect (optional) */
#submitFormButton:hover {
    background-color: #0056b3;
}
