body {
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  background-color: #f4f4f4;
}

.outer-container {
  max-width: 980px;
  background: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Align the radio button labels and input text field with consistent styling */
label {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
}

input[type="radio"] {
  margin-right: 10px;
}

.input-container {
  margin-bottom: 20px;
}

.input-container input[type="text"] {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.3s ease;
}

.input-container input[type="text"]:focus {
  border-color: #007BFF;
}

#submitBtn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#submitBtn:hover {
  background-color: #0056b3;
}

#submitBtn:focus {
  outline: none;
}



.qa-section,
.gv-edit-entry-wrapper {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  max-width: 1440px;
  margin: 20px auto;
  font-family: Arial, sans-serif;
}

.qa-section .question,
.qa-section .answer {
  margin-bottom: 15px;
  display: flex;
  align-items: baseline;
}

.qa-section h3 {
  font-size: 1.2em;
  color: #333;
  margin-right: 10px;
  /* Space between label and text */
  margin-bottom: 0;
}

.qa-section p {
  font-size: 1em;
  color: #555;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Style for the question */
.qa-section .question p {
  font-weight: bold;
}

/* Style for the answer */
.qa-section .answer p {
  font-style: italic;
}


#status-container {
  padding: 10px;
  margin: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #f9f9f9;
  width: 200px;
  /* Adjust the width as needed */
}

#status-message {
  font-size: 16px;
  color: #333;
}

.success-message {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #f0f8f7;
}

.message-box {
  padding: 20px;
  background-color: #e0ffe6;
  border: 2px solid #28a745;
  border-radius: 5px;
  font-family: Arial, sans-serif;
  color: #155724;
  text-align: center;
}

.message-box h2 {
  margin: 0;
  font-size: 24px;
}

.message-box p {
  margin: 10px 0 0;
  font-size: 16px;
}

/* Common Container Styles */
.message-container,
.error-message-container {
  display: flex;
  align-items: center;
  border-radius: 5px;
  padding: 10px;
  width: 100%;
}

/* Success Message Specific Styles */
.message-container {
  background-color: #dff0d8;
  border: 1px solid #d0e9c6;
  padding: 15px;
  /* Custom padding for success message */
}

.checkmark {
  color: #4caf50;
  font-size: 24px;
  margin-right: 10px;
}

.message-text {
  font-size: 16px;
  color: #3c763d;
}

/* Error Message Specific Styles */
.error-message-container {
  background-color: #f8d7da;
  border: 1px solid #f5c2c7;
}

.crossmaker {
  color: #dc3545;
  font-size: 20px;
  margin-right: 10px;
}

.error-message-text {
  color: #dc3545;
  font-size: 16px;
}

.cta {
  font-family: Yanone Kaffeesatz;
  display: inline-block;
  cursor: pointer;
  color: white;
  padding: 15px 10px;
  background-color: black;
  border: 2px solid black;
  text-transform: uppercase;
  text-decoration: none;
}

.cta a {
  color: white;
  text-decoration: none;
}

.cta:hover {
  background-color: white;
  color: black;
}

.cta:hover a {
  color: black;
  text-decoration: none;
}

.alert {
  padding: 15px;
  /* background-color: #f44336; */
  /* Red background */
  /* color: white; */
  /* White text */
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

.alert.hidden {
  display: none;
  /* Hide the alert by default */
}

#gv-view-62-1,
#gv-view-59-1,
#gv-view-68-1,
#gv-view-72-1 {
  max-width: 80%;
}

.gv-table-view {
  border: 1px black solid;
}

.btn-loader {
  position: relative;
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  overflow: hidden;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.btn-loader .loader {
  display: none;
  position: absolute;
  right: 10px;
  top: 50%;
  width: 20px;
  height: 20px;
  border: 3px solid transparent;
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translateY(-50%);
}

.btn-loader.loading .button-text {
  visibility: hidden;
}

.btn-loader.loading .loader {
  display: inline-block;
}



/* Loading spinner animation */
@keyframes spin {
  0% {
    transform: translateY(-50%) rotate(0deg);
  }

  100% {
    transform: translateY(-50%) rotate(360deg);
  }
}

/* Standard syntax */
@keyframes shake {

  10%,
  90% {
    transform: translate3d(-1px, 0, 0);
  }

  20%,
  80% {
    transform: translate3d(2px, 0, 0);
  }

  30%,
  50%,
  70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%,
  60% {
    transform: translate3d(4px, 0, 0);
  }
}

.apply-shake {
  animation: shake 0.82s cubic-bezier(.36, .07, .19, .97) both;
  margin-bottom: 20px;
}

.text-area {
  width: 100%;
  /* Adjust the width as needed */
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  font-size: 14px;
  resize: vertical;
  /* Allows vertical resizing only */
  margin-bottom: 10px;
  /* Space below the text area */
}

/* Optional: Add some focus styles */
.text-area:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* .review-success-status{
  color: #1e7e34;
}

.review-danger-status{
  color: #d39e00;
} */

/* Add your CSS code here.

For example:
.example {
    color: red;
}

For brushing up on your CSS knowledge, check out http://www.w3schools.com/css/css_syntax.asp

End of comment */

.cs-column-two .et_pb_text_inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.cs-column-two .qa-section,
.cs-column-two .gform_wrapper.gform-theme,
.cs-column-two .outer-container {
  flex: 1 1 47%;
}

.cs-column-two .qa-section {
  margin: 0px;
}

.cs-column-two .gform_wrapper.gform-theme,
.cs-column-two .outer-container {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
}

.cs-gravity-view table thead tr,
.cs-gravity-view table tfoot tr {
  /* allready used !important */
  background-color: #cb2227 !important;
}

.cs-gravity-view span.gv-field-label {
  color: #fff;
}

.cs-gravity-view .gv-table-view {
  border: 0px;
  overflow-x: auto;
  margin-top: 10px;
}

.cs-gravity-view th[data-label="Action"],
.cs-gravity-view th[data-label="Link to Edit Entry"],
.cs-gravity-view th[data-label="Link to Resubmit Entry"] {
  text-align: center;
  width: 204px;
}

.cs-gravity-view td[data-label="Action"] a,
.cs-gravity-view td[data-label="Link to Edit Entry"] a,
.cs-gravity-view td[data-label="Link to Resubmit Entry"] a {
  background-color: #047f46;
  color: #fff;
  padding: 10px;
  font-size: 14px;
  border-radius: 4px;
  display: inline-grid;
}

.cs-gravity-view td[data-label="Resubmit Entry"] a {
  background-color: #17a2b8;
  padding: 4px 8px;
  border-radius: 5px;
  color: #fff;
}

.cs-gravity-view td[data-label="Link to Resubmit Entry"] a {
  background-color: #cb2227;
}

.cs-gravity-view td[data-label="Link to Edit Entry"],
.cs-gravity-view td[data-label="Action"],
.cs-gravity-view td[data-label="Link to Resubmit Entry"] {
  text-align: center;
}

.qa-section .question,
.qa-section .answer {
  flex-wrap: wrap;
}

.cs-column-two .gform_footer .button,
.cs-gravity-view .button,
.cs-column-one .button,
.cs-column-two .gform_drop_area .button,
.cs-column-two .gfield_fileupload_progressbar_progress,
.cs-column-one .gfield_fileupload_progressbar_progress,
.cs-gravity-view .gfield_fileupload_progressbar_progress,
.cs-column-two .btn-loader,
.cs-column-one .gform_drop_area .button {
  /** remove this**/
  background-color: #cb2227 !important;
}

.cs-column-two .gform_drop_area:before,
.cs-column-one .gform_drop_area:before,
.cs-gravity-view .gform_drop_area:before {
  color: #cb2227 !important;
}

.cs-gravity-view .button,
.cs-column-two .gform_footer .button:focus,
.cs-column-two .gform_drop_area .button:focus,
.cs-column-one .gform_drop_area .button:focus,
.cs-column-one .button {
  /** remove this**/
  box-shadow: none !important;
  border: 0px !important;
}

.cs-gravity-view .gv-search {
  margin-right: 5px;
}

.cs-gravity-view .gv-table-view {
  table-layout: inherit;
}

.cs-gravity-view .gv-widget-pagination {
  margin-top: -44px;
}

.cs-gravity-view .gv-field-label .gv-sort {
  margin-left: -12px;
  color: #fff;
}

.cs-gravity-view .badge-status {
  padding: 4px 8px;
  border-radius: 5px;
}

.cs-gravity-view .badge-status.badge-Rejected {
  color: #856404;
  background-color: #fff3cd;
}
.cs-gravity-view .badge-status.badge-Pending {
  color: #564205;
  background-color: #ffc107;
}

.cs-gravity-view .badge-status.badge-Returned {
  color: #0c5460;
  background-color: #d1ecf1;
}

.cs-gravity-view .badge-status.badge-Cancelled {
  color: #721c24;
  background-color: #f8d7da;
}

.cs-gravity-view .badge-status.badge-Approved {
  background-color: #c3e6cb;
  color: #155724;
}

.cs-gravity-view .badge-status.badge-Needs-Review {
  color: #0c5460;
  background-color: #d1ecf1;
  
}
.cs-gravity-view .gv-field-1-custom .badge-status {
  white-space: nowrap;
}
.cs-gravity-view .entry-field-row,
.cs-column-two .entry-field-row,
.cs-column-one .entry-field-row {
  border-bottom: 1px solid #ccc;
  margin-bottom: 22px;
}

.cs-gravity-view .entry-field-row .question>p,
.cs-column-two .entry-field-row .question>p,
.cs-column-one .entry-field-row .question>p {
  color: #cb2227;
}

.cs-gravity-view .gfield-choice-input:before,
.cs-column-two .gfield-choice-input:before,
.cs-column-one .gfield-choice-input:before {
  background: #cb2227 !important;
}

.cs-gravity-view .gfield-choice-input:focus,
.cs-column-two .gfield-choice-input:focus,
.cs-column-one .gfield-choice-input:focus {
  box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(203, 34, 39, 0.3) 0px 0px 0px 3px;
  border-color: #cb2227 !important;
}

.cs-gravity-view .gfield-choice-input[type="checkbox"]:before,
.cs-column-two .gfield-choice-input[type="checkbox"]:before,
.cs-column-one .gfield-choice-input[type="checkbox"]:before {
  color: #fff !important;
}

.cs-gravity-view .preview-sub,
.cs-column-two .preview-sub,
.cs-column-one .preview-sub {
  margin-bottom: 14px;
}

/** style**/
.cs-gravity-view form.gv-widget-search.gv-search-horizontal {
  margin-bottom: 0px !important;
}

.cs-gravity-view form.gv-widget-search {
  flex-flow: row wrap;
  justify-content: end;
  align-items: center;
  margin: 0;
}

.cs-gravity-view .gv-left {
  padding-right: 0;
}

.cs-gravity-view .gv-widget-search .gv-search-box.gv-search-box-submit {
  width: auto;
}

.cs-gravity-view .gv-search-box input.button {
  padding: 7px;
  margin-top: 14px;
  border: none;
}

body .cs-gravity-view .gv-widget-search .gv-search-box {
  flex: none;
  margin: 0px;
}

.cs-gravity-view .gv-search-box input {
  border: 1px solid #bababa;
  padding: 8px;
  border-radius: 3px;
  width: 100%;
  cursor: pointer;
}
  /* For datepicker */
.cs-gravity-view .grant-cycle-search input {
  border: 1px solid #bababa;
  padding: 8px;
  border-radius: 3px;
  width: 100%;
  cursor: pointer;
}
/* Styling the radio buttons */
.cs-form-group input[type="radio"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid rgb(104, 110, 119);
  border-radius: 50%;
  outline: none;
  cursor: pointer;
  position: relative;
  margin-right: 10px;
}

.cs-form-group input[type="radio"]::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background-color: transparent;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: background-color 0.3s ease;
}

/* Change appearance when radio button is checked */
.cs-form-group input[type="radio"]:checked::before {
  background-color: #cb2227;
}

.cs-form-group input[type="radio"]:focus,
.cs-column-two .text-area:focus {
  box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(203, 34, 39, 0.3) 0px 0px 0px 3px;
  border-color: #cb2227 !important;
}

.cs-form-group label {
  font-size: 14px;
  cursor: pointer;
}

#radio-button-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.cs-form-group {
  display: flex;
  align-items: center;
  flex: 1;
}
.cs-gravity-view .gv-widget-page-links .page-numbers li .page-numbers {
  border: 1px solid #cb2227 ;
}
.cs-gravity-view .gv-widget-page-links .page-numbers li a:hover{
  background-color:#cb2227;
  color:#fff;
}
.cs-gravity-view .gv-widget-page-links .page-numbers  a{
  color:#cb2227;
}

.cs-gravity-view .current{
  color: #fff;
  background-color:#cb2227;
}
.cs-gravity-view .gv-widget-page-links .page-numbers a.prev::before {
  content: "Prev";
}

.cs-gravity-view .gv-widget-page-links .page-numbers a.next::before {
  content: "Next";
}
.cs-gravity-view .gv-widget-page-links .page-numbers a.next::before,
.cs-gravity-view .gv-widget-page-links .page-numbers a.prev::before{
  color: #cb2227;
  padding-left: 4px;
}
.cs-gravity-view .gv-widget-page-links li:first-child a,
.cs-gravity-view .gv-widget-page-links li:last-child a,
.cs-gravity-view .gv-widget-page-links li:first-child a:hover,
.cs-gravity-view .gv-widget-page-links li:last-child a:hover{
  color:transparent;
}
.cs-gravity-view .gv-widget-page-links .page-numbers a.next:hover:before,
.cs-gravity-view .gv-widget-page-links .page-numbers a.prev:hover:before{
  color: #fff;
}
.progress-container {
  width: 83%;
  background-color: #f3f3f3;
  border-radius: 5px;
  height: 20px;
  overflow: hidden;
  float: left;
}
.progress-bar {
  height: 100%;
  line-height: 22px;
  color: white;
  text-align: center;
  border-radius: 15px;
  transition: width 0.4s ease;
  font-size: 10px;
}
td[data-label="Percentage Completed"]{
  text-align: center;
}
/* popup-css */
/* .popup .modal-content {
  border-radius: 2px !important;
} */
.popup .modal-content .btn.btn-secondary{
  display: none;
}
#left-area .popup ul, .entry-content .modal-content ul{
  list-style: none !important;
  line-height: 30px !important;
  padding-left: 5px;
}
.popup .modal-content .px-2 h2 {
  display: flex;
  /* justify-content: center; */
  align-items: center;
  gap: 9px;
  padding-bottom: 17px;
}
.popup .modal-content h2 svg {
  max-width: 19px;
}
.popup .modal-content .modal-header {
  border-bottom: none;
}
.do ul li ,.dont ul li {
  position: relative;
  padding-left: 30px; 
  line-height: 19px;
  padding-bottom: 16px;
  font-weight: 400;
}

.popup .modal-content .icon-flex ,.popup .modal-content .dont{
  flex: 100px;
}
.popup .modal-content .check-box {
  position: relative;
  margin-left: 35px !important;
}
.check-box input{
  position: absolute; 
  top: 7px;
  left: -10px;
}

.popup .modal-content
.modal-header .close:focus {
  outline: none;
}
.do ul li::before {
  content: '\2713'; 
  color: #04d279; 
  font-size: 18px;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 13px;
  transform: translateY(-50%);
}
.popup .modal-content .check-box{
  font-weight: 400;
}
.popup .modal-content .check-box  label {
  cursor: pointer;
}
.popup .modal-content .alert-danger {
  font-weight: 400;
  margin-right: 12px;
  margin-left: 12px;
}
  /*  move abackward go to top button for popup */
span.et_pb_scroll_top.et-pb-icon.et-visible {
  z-index: 1;
}
.dont ul li::before {
  content: '\274C'; 
  color: #cc2227; 
  font-size: 12px;
  font-weight: bold;
  position: absolute;
  left: 0;
  /* top: 50%; */
  /* transform: translateY(-50%); */
}
.modal-dialog.modal-dialog-centered {
  max-width: 600px;
}
#myModal .modal-footer #submitButton{
  background-color: #cc2227;
  border-color: #cb2227;
}
#myModal .modal-content #errorMessage{
  display:none;
}
.check-box input[type="checkbox"] {
  transform: scale(1.4);
  margin-left: -3px;
  accent-color: #cb2227;
}
.check-box input[type="checkbox"]:before {
  background: #cb2227 !important;
}

/* mmm */
.modal-content.modal-css {
  padding: 20px;
  line-height: 20px;
}
.gv-left .btn-danger {  
  background-color: #047f46;
  border-color: #047f46;
}
.gv-left .btn-danger:hover {
  color: #fff;
  background-color: #047f46;
  border-color: #047f46;
}

.modal-css .modal-title {
  line-height: 54px;
  font-size: 22px;
  font-weight: 600;
}
.modal-css .modal-header .email {
  display: none;
}
button.close {
  font-size: 30px;
  font-weight: 500;
  padding: 6px 10px !important;
}

.modal-css .btn-size{
  width: 100%;
  max-width: 110px;
}
.btn-line button:focus-visible {
  outline: none;
}
.cs-section-gv {
  padding-top: 0 !important;
}

.gfield-choice-input ,input,.gfield_select,.textarea,.button:focus {
  outline: none !important;
}
.cs-column-one .ginput_container_select select {
  border-color: #000 ;
}
.modal-footer button.btn-danger:focus {
  box-shadow: none !important;
}

/* mmm */


/*  make awarded checkbox to switch */
/* Style the checkbox container */
.gravity-switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 16px;
}

/* Hide the default checkbox */
.gravity-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* Style the slider (the switch itself) */
.gravity-switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

/* The circle inside the switch */
.gravity-switch .slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  border-radius: 50%;
  left: 1px;
  /* bottom: 4px; */
  background-color: white;
  transition: .4s;
}

/* When the checkbox is checked, change the background to green and move the circle */
.gravity-switch input:checked + .slider {
  background-color: #4CAF50;
}

.gravity-switch input:checked + .slider:before {
  transform: translateX(18px);
}
/* style end */
@media screen and (max-width:767px) {
  .cs-column-two .et_pb_text_inner {
    display: block;
  }

  .cs-column-two .gform-theme--orbital,
  .cs-column-two .outer-container {
    margin-top: 20px;
  }

  .cs-column-two .qa-section {
    margin-top: 20px;
  }

  .cs-gravity-view .gv-grid-col-1-2 {
    width: 100%;
  }

  .cs-gravity-view .gv-widget-pagination {
    text-align: center;
  }

  .cs-gravity-view .gv-widget-pagination {
    margin-top: 0px;
  }

  .cs-gravity-view form.gv-widget-search,
  .cs-gravity-view form.gv-widget-search {
    position: static;
    justify-content: center;
    flex-wrap: nowrap;
  }
}

@media screen and (max-width: 575.98px) {

  .cs-column-two .gv-table-view tr td:before,
  .cs-gravity-view .gv-table-view tr td:before {
    padding: 16px;
    text-align: left;
  }

  .cs-gravity-view td[data-label="Link to Edit Entry"],
  .cs-gravity-view td[data-label="Action"] {
    text-align: center;
    display: flex;
  }

  .cs-gravity-view td[data-label="Action"] a,
  .cs-gravity-view td[data-label="Link to Edit Entry"] a {
    line-height: 30px;
  }

  body .cs-gravity-view .gv-widget-search .gv-search-box {
    max-width: 300px;
  }
  .popup .modal-body {
    flex-direction: column;
  }
}

.grant-form .gform_save_link, .grant-form .gform_save_link:before, .grant-form .button.gform_button_select_files{
  color: #fff !important;
}
