*{
transition: all .5s;
border-radius: 5px;
}
/* For webkit-based browsers */
::-webkit-scrollbar {
width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
background-color: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
background-color: #000000;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background-color: #555555;
}

body {
background-color: #f5f5f5;
font-family: Arial, sans-serif;
color: #333;
overflow: hidden;
padding: 0;
margin: 0;
}
h1 {
font-size: 1.5vw;
}

h2 {
font-size: 1vw;
}
h3 {
margin: 0.5vw 0;
}
p {
font-size: .8vw;
}
a{
color: #607D8B;
}
.header {
padding: 1vw;
display: flex;
align-items: center;
justify-content: space-between;
}
input[type="text"], select,input[type="number"],input[type="email"],input[type="date"] ,input[type="password"]{
height: 4vh;
min-height: 40px;
font-size: .9vw;
padding: 0 .5vw;
outline: none;
border: 1px solid #dddd;
margin: 1vh 0;
display: block;
color: #666;
}
.btns {
display: flex;
gap: 1vw;
margin-top: 1vw;
}
button {
display: block;
max-width: fit-content;
padding: 0.5vw 1vw;
background: #959595;
border: 1px solid #ddd;
color: #fff;
outline: none;
cursor: pointer;
font-size: 1vw;
margin: 0.5vw 0;
}
button:hover {
background: #4CAF50;
}
.logo {
max-width: 12vw;
min-width: 150px;
width: 12vw;
}

.logo img {
display: block;
filter: invert(1);
width: 100%;
}
.menu i {
font-size: 1.4vw;
color: #000;
}
.dash {
display: flex;
max-height: 100vh;
overflow: hidden;
height: 100vh;
}

.sidebar {
width: 15%;
background: #dddddd52;
padding: 3vh 1.5vw;
}

.content {
width: 100%;
padding: 0;
background: #dddddd7d;
overflow-y: scroll;
max-height: 92vh;
max-width: 100%;
margin: 0 auto;
min-height: 100vh;
}
.dash.loggedin .content{
padding: 0 .5vw 0 3vw;
}
.sidebar ul {
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
list-style: none;
}

ul.submenu {
margin-left: 1.2vw;
margin-top: 1.2vh;
}

.sidebar li a {
text-decoration: none;
color: #000;
padding: 0.5vw;
font-size: 1vw;
padding-left: 1vw;
position: relative;
display: block;
cursor: pointer;
}

.sidebar li a i {
position: relative;
left: -0.8vw;
}

.sidebar li a:hover {
background: #ddd;
color: navy;
}

ul.submenu a {
font-size: .9vw;
}

.dashboard {
display: flex;
flex-direction: column;
}
.dashboard_row {
display: flex;
gap: 0;
margin: 0;
}

.dashboard-section {
background: #ffffff94;
padding: 1vw;
width: 100%;
box-shadow: 0px 0px 3px 0px #9E9E9E;
margin: .5vw;
}
.dashboard-section a {
text-decoration: none;
background: #ddd;
padding: .5vw;
margin: 1vw 0;
display: block;
max-width: fit-content;
color: #000;
}
.dashboard-section a:hover {
background: #757474;
color: #fff;
}
#formContainer {
max-width: 100%;
margin-top: 5vh;
max-height: 50vh;
overflow-y: scroll;
}
.question input,select {
width: 100%;
}
.question {
display: flex;
width: 75%;
position: relative;
align-items: center;
gap: 0.5vw;
border-bottom: 1px solid #f7f7f7;
border-radius: 0;
background: #ddd;
}
span.removeButton {
position: absolute;
right: -12%;
top: 50%;
transform: translateY(-50%);
color: #000;
cursor: pointer;
}
span.removeButton:hover {
color: #f00;
}
label {
font-size: 1vw;
margin-top: .8vw;
}
label.options {
margin: .8vw .5vw;
display: inline-block;
}
input#question {
text-transform: capitalize;
}
.menu a {
text-transform: capitalize;
text-decoration: none;
color: #000;
}
.menu a span {
margin-right: 10px;
}
.menu ul {
list-style: none;
background: #fff;
padding: .5vw;
text-align: center;
position: absolute;
right: 0;
top: -1vw;
width: 100%;
box-shadow: 0px 0px 2px 0px #000;
z-index:-1;
opacity:0;
}
.menu ul li a {
display: block;
padding: 0px;
cursor: pointer;
}

.menu {
position: relative;
}
.menu:hover ul{
z-index:99;
opacity:1;
}
.account {
margin: 0 auto;
max-width: 17vw;
transform: translateY(-50%);
margin-top: 40vh;
width: 100%;
}
.account input {
width: -webkit-fill-available;
}

.frm_buttons {
display: flex;
justify-content: space-around;
align-items: center;
}
.frm_buttons button {
max-width: 100%;
width: 100%;
}
.account h2 {
text-align: center;
text-transform: uppercase;
margin-bottom: 2vh;
font-weight: 100;
font-size: 1.3vw;
}
.register_item {
display: none;
}
.item {
display: flex;
flex-direction: column;
}
ul#formlist li {
width: 14vw;
height: 12vw;
background: #fff;
list-style: none;
overflow: hidden;
cursor: pointer;
box-shadow: 0px 0px 5px 2px #727272;
padding: 1vw;
word-wrap: break-word;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5vw;
position: relative;
text-transform: uppercase;
}
.disable {
position: relative;
z-index: -1;
}
ul#formlist {
display: flex;
gap: 1vw;
flex-wrap: wrap;
}
span.remove {
position: absolute;
bottom: 1vw;
right: 1vw;
font-size: 1.2vw;
}
.e_form{
display: none;
}
ul.submenu {

}
.sidebar>ul li:hover ul, .sidebar>ul li.active ul{
display: block;
}
div#viewform {
max-width: 45%;
display: flex;
flex-direction: column;
width: 100%;
padding: 2.5vw;
margin: 0 auto;
min-height: fit-content;
border: 1px solid #d3d3d3;
background: #fff;
margin-top: 5vh;
}
button#frm_submit {
margin-top: 2vh;
}
.frm_question {
display: flex;
flex-direction: column;
width: 100%;
flex-wrap: wrap;
}
button#frm_submit i {
margin-left: 0.5vw;
}
.frm_question h2 {
text-transform: capitalize;
font-weight: 400;
}

/*Form style*/
div#viewform input[type="text"], div#viewform select, div#viewform input[type="number"], div#viewform input[type="email"], div#viewform input[type="date"], div#viewform input[type="password"] {
border: none;
border-bottom: 1px dotted #ddd;
border-radius: 0;
min-height: 35px;
margin: 5px 10px;
height: auto;

}

.intermid {
bottom: 0;
text-align: center;
left: 0;
right: 0;
background: #e9e9e9;
padding: 5px 0;
}

.intermid h3,.intermid a {
font-size: .8vw;
color: #000;
}

div#attrbutes ul {
list-style: none;
display: flex;
padding: 0;
}

div#attrbutes li input {
margin-left: .5vw;
border-radius: 50%;
width: 1vw;
height: 1vw;
vertical-align: middle;
position: relative;
top: -2px;
cursor: pointer;
}
ul#formlist li a {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
text-decoration: none;
}
.form_actions {
display: flex;
gap: 1vw;
align-items: center;
justify-content: center;
position: absolute;
right: 10px;
bottom: 10px;
}

.form_actions span:hover {
color: #2196F3;
}

.frm_question label {
margin: 1vh 0;
text-transform: capitalize;
}

.error input, .error select {
border-bottom: 1px dotted#ff0000b5 !important;
}

/*custon radio*/
.custom-checkbox {
position: relative;
top: 0px;
padding-left: 2vw;
margin-bottom: 10px;
cursor: pointer;
}

.custom-checkbox .custom-checkmark {
position: absolute;
top: 0;
left: 0;
height: 20px;
width: 20px;
border: 1px solid #ccc;
border-radius: 3px;
line-height: 18px;
text-align: center;
font-size: 14px;
font-size: 0;
display: flex;
align-items: center;
justify-content: center;
}

.custom-checkbox input[type="checkbox"] {
display: none;
}

.custom-checkbox input[type="checkbox"]:checked + .custom-checkmark {
background-color: #007bff;
color: #fff;
border-color: #007bff;
font-size: .7vw;
}

.custom-radio {
position: relative;
top: -1px;
padding-left: 2vw;
margin-bottom: 10px;
cursor: pointer;
}

.custom-radio .custom-radio-mark {
position: absolute;
top: 0;
left: 0;
height: 20px;
width: 20px;
border: 1px solid #ccc;
border-radius: 50%;
line-height: normal;
text-align: center;
font-size: 14px;
font-size: 0;
display: flex;
align-items: center;
justify-content: center;
}

.custom-radio input[type="radio"] {
display: none;
}

.custom-radio input[type="radio"]:checked + .custom-radio-mark {
background-color: #007bff;
color: #fff;
border-color: #007bff;
font-size: .7vw;
}
span.required {
color: #F44336;
}

button.section-nav {
position: absolute;
right: 0;
bottom: -6.5vh;
}
form#i_form {
position: relative;
}
form#i_form section {
display: none;
}
section.active {
display: block !important;
}
.hidden{
position:relative;
opacity: 0 !important;
z-index: -1 !important;
}
/*Form style*/

.sidebar.icononly a {
font-size: 0;
padding: 0;
}
.sidebar.icononly i {
font-size: 1.5vw;
left: 0;
}
.sidebar.icononly {
width: fit-content;
}

.sidebar.icononly ul {
text-align: center;
display: flex;
align-items: center;
justify-content: center;
}

.sidebar.icononly li {
margin-bottom: 1vw;
}

.sidebar.icononly li:hover i {
color: #3F51B5;
background:transparent;
}

.info_from {
display: flex;
flex-direction: column;
max-width: 90%;
}
textarea {
border: none;
padding: 1vw;
min-height: 35vh;
font-size: .9vw;
max-width: 100%;
min-width: -webkit-fill-available;
}
span.tox-statusbar__branding {
display: none !important;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loader {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #3498db;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  position: fixed;
  margin: 0 auto;
  transform: translate(-50%);
  top: 50%;
  left: 0;
  right: 0;
  z-index: 99;
  display:none;
}

@media  screen and (max-width:991px){
.sidebar.active {
left: 0;
z-index: 99;
}
.info_from {
max-width: 100%;
}
label {
margin-top: 10px;
}
button {
margin: 10px 0;
}
textarea {
border: none;
padding: 10px;
min-height: 35vh;
font-size: 14px;
}
.menu:hover ul {
display: none;
}
.form_actions {
gap: 15px;
position: relative;
transform: translateY(50%);
}

.intermid {
position: fixed;
}
button.section-nav {
bottom: -8vh;
}
.custom-radio input[type="radio"]:checked + .custom-radio-mark ,.custom-checkbox input[type="checkbox"]:checked + .custom-checkmark{
font-size: 12px;
}
.custom-radio,.custom-checkbox {
top: -3px;
padding-left: 35px;
}
.frm_question label {
margin: 5px 0;
}
div#viewform {
max-width: 80%;
padding: 15px 20px;
}
.intermid h3, .intermid a {
font-size: 12px;
}

.intermid {
padding: 0 15px;
}
.intermid p {
font-size: 12px;
}
ul#formlist li {
width: 100%;
font-size: 16px;
height: auto;
padding: 10px 0px;
margin-bottom: 10px;
}

ul#formlist {
margin: 0 auto;
align-items: center;
justify-content: center;
padding: 0px 25px;
}

span.remove {
font-size: 18px;
top: 50%;
transform: translateY(-50%);
bottom: auto;
right: 15px;
}
.menu a span {
display: none;
}
.account {
max-width: 80%;
}
.frm_buttons {
flex-direction: column;
}
.account h2 {
font-size: 16px;
}
label{
font-size: 16px;
}
input[type="text"], select, input[type="number"], input[type="email"], input[type="date"], input[type="password"]{
font-size: 14px;
padding: 0 10px;
}

button {
padding: 10px 15px;
font-size: 16px;
}
.sidebar li a {
color: #fff;
font-size: 16px;
padding: 10px;
}

.sidebar {
padding: 30px 15px;
position: absolute;
left: -100vw;
width: 50%;
background: #777;
height: 100%;
}
ul.submenu {
margin-left: 18px;
}

.content {
width: 100%;
padding: 0px 10px;
}

.dashboard-section {
padding: 10px;
}

h1 {
font-size: 20px;
margin: 3vh 0 15px 0;
text-align: center;
}
h2 {
font-size: 16px;
}
p {
font-size: 14px;
}
.menu a i, .menu a {
font-size: 20px;
}
.header {
padding: 15px;
}

}









