html {
    position: relative;
    min-height: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
}
body {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  margin: 0;
  height:auto;
  position:relative;
  font-family: "Open Sans",Helvetica,Arial,sans-serif;
}

main {
     flex: 1 0 auto;
 }

body > h1 {
  margin: 0;
  height: 40px;
  font-size: 1.5em;
  font-weight: normal;
  margin-left: 10px;
}

#editor-container {
  width: 100%;
  height: 100%;
}

#sidebar {
  display: inline-block;
  width: 180px;
  height: -moz-calc(100% - 20px);
  height: -webkit-calc(100% - 20px);
  height: calc(100% - 20px);
  float: left;
  margin: 5px;
}

#editor {
  display: inline-block;
  width: -moz-calc(100% - 200px);
  width: -webkit-calc(100% - 200px);
  width: calc(100% - 200px);
  height: 100%;
}

#create-file-button {
  text-decoration: none;
  font-weight: bold;
  float: right;
  margin: 2px 0 0 8px;
}

#file-list {
  max-height: -moz-calc(100% - 26px);
  max-height: -webkit-calc(100% - 26px);
  max-height: calc(100% - 26px);
  margin: 5px 0;
  padding: 0;
  list-style-type: none;
  overflow: auto;
}

.file a {
  text-decoration: none;
}

.file input {
    width: 154px;
}

.filename {
  display: inline-block;
  min-width: -moz-calc(100% - 64px);
  min-width: -webkit-calc(100% - 64px);
  min-width: calc(100% - 64px);
  max-width: calc(80%);
  max-width: -moz-calc(80%);
  max-width: -webkit-calc(80%);
  color: #000;
  height: 50px;
  padding-top: 2px;
  padding-left: 50px;
  overflow-x:auto;
  overflow-y:hidden;
}

.rename-file {
  padding-top: 2px;
  font-size: 1em;
}

.remove-file {
  padding-top: 2px;
  font-size: 1em;
}

.file-selected {
  font-weight: bold;
  background-color: #f5f5f5;
  border-radius:5px;
}

textarea {
        height: 6rem !important;
    }

.btn {
    text-transform: unset !important;
}


/* STYLE 1 */
.pricing.style-1 .price {
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
}
/* STYLE 2 */
.pricing.style-2 .plan-title {
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
}
/* STYLE 3 */
.pricing.style-3 .plan-title {
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    padding: 10px 0;
}
.pricing.style-3 .price {
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
}
.pricing.style-3 .plan-signup-btn {
    position: absolute;
    bottom: 80px;
    right: 20px;
}

/* COMMON STYLE */
.pricing .price {
    padding: 15px 0;
}
.pricing .price h4,
.pricing .plan-title h5{
    text-align: center;
}
.pricing .price span,
.pricing .plan-title span{
    display: inline-block;
    position: relative;
}
.pricing .plan-title span.plan{
    font-size: 25px;
    font-weight: 200;
}
.pricing .price span.amount {
    font-size: 50px;
    font-weight: 100;
}
.pricing .price span.period {
    margin-left: -10px;
}
.pricing .price span.currency {
    letter-spacing: -6px;
    top: -20px;
}
.pricing .price span.currency, .pricing .price span.period {
    font-size: 16px;
}
.pricing .collection li.collection-item:hover{
    background: #f5f5f5;
}
.dark-grey-text {
    color: #121212;
}

.tabs .tab a {
  color: #000000;
  /*Custom Text Color*/
}

.tabs .tab a:hover {
  color:#000000;
  /*Custom Color On Hover*/
}

.tabs .tab a:focus.active {
  color:#000000;
  /*Custom Text Color While Active*/
  background-color: #e0e0e0; /* grey lighten-2 */
  /*Custom Background Color While Active*/
}

.tabs .indicator {
  background-color:#e0e0e0; /* grey lighten-2 */
  /*Custom Color Of Indicator*/
}

strong {
  font-weight: bold;
}

.vl {
  border-left: 2px solid gray;
  height: 60px;
}

.collapsible .collapsible-body{
  padding-right:0px;
  padding-left:0px;
}

.dropdown-content {
    max-height: 150px !important;
    overflow-y: auto !important;
    backface-visibility: hidden !important;
}

.icon-notification {
    width:35px;
    height:35px;
    left:-10px;
    bottom:-10px;
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:50%;
    border:none;
    outline:none;
    color:#333333;
    background:#dddddd;
}

.badge-notification {
    position:absolute;
    display:flex;
    top:-7px;
    right:-20px;
    width:25px;
    align-items:center!important;
    height:25px;
    justify-content:center!important;
    color:#ffffff;
    background:#ff9e80;
    border-radius:50%;
}

i.icon-green {
    color: green;
}

i.icon-red {
    color: red;
}

i.icon-blue {
    color: #2979ff;
}

i.icon-grey {
    color: grey;
}

i.icon-white {
    color: white;
}


i.icon-cyan {
    color: #4dd0e1;
}

i.icon-folder {
    color: #00b0ff;
}

i.icon-orange {
    color: ffbf00;
}

i.icon-logo-color {
    color: #1e293b!important;
}

.colCustom {
    display: flex;
    justify-content: center;
    align-items: center;
}

.full-screen-editor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

/* Common style for modals and elements based on screen width */
@media screen and (min-width: 820px) {
    #modal_grade_assignment.modal,
    #share-compile-credit.modal,
    #compile-credit-verification-code.modal,
    #modal_join_classroom.modal,
    #change_password.modal,
    #modal-rename.modal,
    div[id^="modal-payment-"].modal,
    #modal_create_organisation.modal,
    #invite-member-to-join-org.modal,
    #modal-confirm-org-deletion.modal,
    #modal_select_file,
    #name_info,
    #account_info,
    #modal_create_classroom.modal,
    #create_topic_main_modal.modal {
        width: 20%;
    }
}

@media screen and (max-width: 820px) {
    #modal_grade_assignment.modal,
    #share-compile-credit.modal,
    #compile-credit-verification-code.modal,
    #modal_join_classroom.modal,
    #change_password.modal,
    #modal-rename.modal,
    div[id^="modal-payment-"].modal,
    #modal_create_organisation.modal,
    #invite-member-to-join-org.modal,
    #modal-confirm-org-deletion.modal,
    #modal_select_file,
    #name_info,
    #account_info,
    #modal_create_classroom.modal,
    #create_topic_main_modal.modal {
        width: 90%;
    }
}

@media screen and (min-width: 820px) {
    #name_info,
    #account_info,
    div[id^="modal_delete_"].modal,
    #add_students,
    div[id^="modal_confirm_remove_"].modal,
    div[id^="modal-org-update-"].modal,
    div[id^="modal_rename_"].modal,
    div[id^="modal-confirm-org-deletion_v2-"].modal,
    div[id^="deleteConfirmationModal_"].modal,
    #profile_info {
        width: 30%;
    }
}

@media screen and (max-width: 820px) {
    #name_info,
    #account_info,
    div[id^="modal_delete_"].modal,
    #add_students,
    div[id^="modal_confirm_remove_"].modal,
    div[id^="modal-org-update-"].modal,
    div[id^="modal_rename_"].modal,
    div[id^="modal-confirm-org-deletion_v2-"].modal,
    div[id^="deleteConfirmationModal_"].modal,
    #profile_info {
        width: 90%;
    }
}

@media screen and (max-width: 820px) {
    #modal_return_assignment.modal { /* assignment modal width */
        width: 100%;
    }
}

@media screen and (max-width: 820px) {
    #create_assignment.modal { /* assignment modal width */
        width: 95%;
    }
}


/* Styling for specific elements */
#show_submissions.dropdown-content {
    max-height: 250px!important;
}

.with-height-65 {
    height: 65px!important;
}

.with-height-600px {
    height: 600px!important;
}

.with-padding-top {
    padding-top: 75px!important;
}

.with-padding-top-50 {
    padding-top: 50px!important;
}

.with-padding-bottom-50 {
    padding-bottom: 50px!important;
}

.with-padding-0px {
    padding: 0px!important;
}

.with-margin-top-20px {
    margin-top: 20px!important;
}

.with-margin-top-30px {
    margin-top: 30px!important;
}

.with-margin-bottom-20px {
    margin-bottom: 20px!important;
}

.with-margin-0px {
    margin: 0px!important;
}

.dropdown-logging-page {
    margin-top: -10px!important;
    margin-bottom: -12px!important;
}

.with-margin-top-neg-10 {
    margin-top: -10px!important;
}

.with-margin-bottom-neg-10 {
    margin-bottom: -10px!important;
}

.with-margin-bottom-neg-5 {
    margin-bottom: -5px!important;
}

.with-margin-top-neg-20 {
    margin-top: -20px!important;
}

.with-border-radius-5 {
    border-radius: 5px!important;
}

.with-border-radius-3 {
    border-radius: 3px!important;
}

.with-margin-top-5 {
    margin-top: 5px!important;
}

.with-margin-bottom-5 {
    margin-bottom: 5px!important;
}

.with-padding-top-5 {
    padding-top: 5px!important;
}

.with-padding-top-15px {
    padding-top: 15px!important;
}

.with-padding-top-0 {
    padding-top: 0px!important;
}

.with-padding-bottom-5 {
    padding-bottom: 5px!important;
}

.with-padding-bottom-0 {
    padding-bottom: 0px!important;
}

.with-margin-top-10 {
    margin-top: 10px!important;
}

.with-margin-top-0 {
    margin-top: 0px!important;
}

.with-border-and-margin-0 {

    margin: 0px!important;
}

.with-border-0px {
    border: 0px!important;
}

.with-padding-right-0 {
    padding-right: 0px!important;
}

.with-padding-right-10 {
    padding-right: 10px!important;
}

.with-padding-left-0 {
    padding-left: 0px!important;
}

.with-margin-bottom-0 {
    margin-bottom: 0px!important;
}

.with-margin-top-10rm {
    margin-top: 10rem!important;
}

.with-margin-bottom-10 {
    margin-bottom: 10px!important;
}

.subscription-card {
    border-top-left-radius:5px;
    border-top-right-radius:5px
}

.profile-logo {
    vertical-align:middle;
    padding-left:5%!important;
    margin-top:5px!important;
}

.profile-picture {
    height:150px!important;
}

.row-table-formatting {
    display:table;
    width:100%
}

.display-table-cell {
    display: table-cell;
}

.unset-text-transform {
    text-transform: unset !important;
}

.with-none-display {
    display: none;
}

.with-block-display {
    display: block;
}

.with-100-percent-width {
    width: 100%;
}

.with-max-width-100-percent {
    max-width: 100%!important;
}

.with-50-percent-width {
    width: 50%;
}

.with-max-height-600px {
    max-height: 600px;
}

.with-overflow-auto {
    overflow-y:auto;
}

.classroom-user-list {
    border-top: 0px!important;
    border-right: 0px!important;
    border-left: 0px!important;
}

.with-border-color-grey {
    border-color: grey;
}

.with-font-style-bold {
    font-weight: bold;
}

.with-padding-left-20px {
    padding-left: 20px!important;
}

.with-padding-left-10px {
    padding-left: 10px!important;
}

.with-cursor-pointer {
    cursor: pointer;
}

.with-brand-logo {
    vertical-align: middle!important;
    padding-left: 5px!important;
    margin-top: 5px!important;
}

.with-editor-background {
    background-color: #1e293b!important;
}

.with-border-bottom-color {
    border-bottom-color: #006064!important;
}

.with-logo-color-text {
    color: #1e293b!important;
}

.with-no-border-bottom {
    border-bottom: none!important;
}

/* custom-styles.css */
.custom-label {
    font-size: 13px!important; /* Change the font size to your desired value */
    color: grey; /* Change the text color if needed */
}

.custom-datepicker-modal {
    width: 80% !important;

}

.alert-image {
    width:24px;
    height:24px;
    position: absolute;
    right: 10px;
    top: 10px;
    color: black;
}

.with-avatar-circle {
    height: 35px!important;
    margin-top: 27%!important;
    margin-right: 35%!important;
}

.visibility-hidden {
    visibility:hidden
}

.visibility-visible {
    visibility:visible
}

.editor-compiler-name {
    padding-right: 2px!important;
    padding-left: 2px!important;
    padding-top: 2px!important;
    padding-bottom: 2px!important;
}

.editor-compiler-name-collection {
    margin-top: 7px!important;
    margin-bottom: 0px!important;
}

.code-snippet {
    margin-bottom: 0px!important;
    padding-top: 0px!important;
    padding-left: 3px!important;
    padding-bottom: 0px!important;
}

.with-overflow-visible {
    overflow: visible!important;
}

.with-overflow-auto {
    overflow: auto!important;
}

.editor-dropdown {
    margin-left: 5px!important;
    border-radius: 50px!important;
}

.with-text-transform {
    text-transform: none!important;
}

.with-program-input {
    min-height: 20em!important;
    max-height: 20em!important;
    height: 20em!important;
}

.height-program-output {
    height: 25em!important;
}

.overflow-y-auto {
    overflow-y: auto!important;
}

.white-space-pre-wrap {
    white-space: pre-wrap!important;
}

.font-size-22px {
    font-size:22px!important;
}

.font-size-24px {
    font-size: 24px!important;
}

.font-size-28px {
    font-size: 28px!important;
}

.font-size-20px {
    font-size: 20px!important;
}

.font-size-18px {
    font-size: 18px!important;
}

.font-size-16px {
    font-size: 16px!important;
}

.font-size-15px {
    font-size: 15px!important;
}

.font-size-13px {
    font-size: 13px!important;
}

.custom-button {
    @extend .yellow-text!important;
    color: yellow;
    font-size: 18px!important;
    background-color: #1e293b!important;
}

.with-no-box-shadow-and-webkit-box-shadow {
    box-shadow: none!important;
    -webkit-box-shadow: none!important
}

.admin-dashboard-card {
    height: 600px!important;
    overflow-x: hidden!important;
    overflow-y: scroll!important;
}

.admin-message-collapsible {
    width: 100%!important;
    padding-bottom: 0px!important;
     border-radius: 5px!important;
}

.with-width-100-percent {
    width: 100%!important;
}

.admin-message-body {
    max-height: 400px!important;
    overflow-y: scroll!important;
}

.with-padding-left {
    padding-left: 5%!important;
}

.with-vertical-align-middle {
    vertical-align: middle!important;
}

.oops-header {
    padding-top: 15%!important;
    padding-bottom-25%!important;
}

.brand-logo-large-screen {
    vertical-align: middle!important;
    padding-left: 5%!important;
    margin-top: 5px!important;
}

.faq-content {
    border: none!important;
    padding-bottom: 0px!important;
    padding-top: 0px!important;
}

.landing-page {
    max-height: 470px!important;
    webkit-box-shadow: 0px!important;
    box-shadow: none!important;
    margin-top: 0px!important;
}

.landing-page-section {
    padding: none!important;
    webkit-box-shadow: 0px!important;
    box-shadow: none!important;
    margin-top: 0px!important;
}

.with-height-200px {
    height: 200px!important;
}

.with-height-300px {
    height: 300px!important;
}

.with-height-450px {
    height: 450px!important;
}

.with-editor-files-li {
    padding:10px!important;
    border-bottom:none!important;
}

.with-object-fit-contain {
    object-fit: contain!important
}

.with-img-width {
    width: 90%!important;
}

.with-img-width-20-percent {
    width: 20%!important
}

.compiler-badge {
    background-color: #ffbf00; /* Added missing '#' for the hex code */
    height: 30px;
    width: 30px;
    border-radius: 50%;
    padding-left: 10px;
    padding-top: 5px;
    line-height: 20px; /* Adjust line height to center the text vertically if needed */
}

.compiler-description {
    padding-left: 5px;
}

.organisation-user-role {
    border-radius:15px;
    background:none;
    border:solid;
    border-width:1px;
    box-shadow:none;
}

.ticket-collection-item {
    border-right-width: 1px!important;
    border-right-style: solid!important;
    border-right-color: #e0e0e0;
    border-bottom-right-radius:5px;
}

.ticket-collection-item-image-section {
    border-bottom-width: 0px;
    border-right-width: 1px;
    border-right-style: solid;
    border-right-color: #e0e0e0;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: #e0e0e0;
    border-bottom-right-radius: 5px;
}

.ticket-collection-header-section {
    padding-bottom:0px!important;
    min-height:50px!important;
    border-right-width: 1px!important;
    border-right-style: solid!important;
    border-right-color: #e0e0e0!important;
    border-top-right-radius:5px!important;
    border-top-width: 1px!important;
    border-top-color: #e0e0e0!important;
    border-top-style: solid!important;
}

.ticket-comment-place-holder {
    border-right-width: 0px!important;
    border-bottom-width: 0px!important;
}

#bottom-div{
    position: absolute;
    bottom: 125px;
    left: 0;
}

#logo-div{
    position: absolute;
    bottom: 75px;
    left: 1px;
}

#editor {
        margin: 0;
        width: 100%;
        min-height: 450px;
        max-height: calc(45%);
        margin-top: 2px;
        font-size: 14px;
        }

#asseditor {
        margin: 0;
        width: 100%;
        min-height: 450px;
        max-height: calc(45%);
        margin-top: 2px;
        font-size: 14px;
    };


#file-list .collection-item.avatar:not(.circle-clipper) > .circle, .collection .collection-item.avatar :not(.circle-clipper) > .circle {
	position: absolute;
	width: 25px;
	height: 25px;
	overflow: hidden;
	left: 15px;
	display: inline-block;
	vertical-align: middle;
}

.collapsible-custom {
  color: #212121;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
}

.content {
  padding: 0 0px;
  display: none;
  overflow-y: auto;
  background-color: #f1f1f1;
  max-height: 450px;
  border:1px solid #40c4ff;
  border-radius: 5px;
}

@media screen and (min-width: 600px){
    .content {
  padding: 0 0px;
  display: block;
  overflow-y: auto;
  background-color: #f1f1f1;
  max-height: 450px;
  border:1px solid #40c4ff;
  border-radius: 5px;
}
}

/* Video display on landing page */
.video_preview::-webkit-media-controls-mute-button {
    display: none;
}
.video_preview::-webkit-media-controls-volume-slider {
    display: none;
}
.video_preview::-webkit-media-controls-current-time-display{
    display: none;
}
.video_preview::-webkit-media-controls-time-remaining-display {
    display: none;
}



.valign-wrapper-editor {
    display: flex;
    align-items: center;  /* This keeps items vertically centered */
    justify-content: start; /* Aligns items horizontally to the start */
}

.file {
    width: 100%; /* Ensure the file class takes the full width of its container */
}

.filename, .remove-file, .rename-file {
   flex: 1; /* Allow these elements to expand and occupy equal space */
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .video-row {
        flex-direction: column;
        align-items: center;
    }

    .video-thumbnail, .video-info {
        flex: 1 1 100%;
    }
}


/* Base Styles */
.row-background {
    background-image: url('/static/images/zihne_background_image_v2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    responsive-img: true;
     /*padding: 2rem; Using rem for scalable padding */
    position: relative;
    /* Ensure height adjusts based on content */
    /* min-height: 300px!important;  Set a minimum height for better visuals on larger screens */
    height:100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white; /* Ensures text is readable */
    text-align: center; /* Centers text */
}

/* Overlay for Improved Readability */
.row-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

/* Ensure content is above the overlay */
.row-background > * {
    position: relative;
    z-index: 1;
}

/* Media Queries */

/* Tablets and small desktops */
@media (max-width: 1024px) {
    .row-background {
        padding: 1.5rem;
        min-height: 250px;
    }

    .row-background h1 {
        font-size: 2rem;
    }

    .row-background p {
        font-size: 1rem;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .row-background {
        padding: 1rem;
        min-height: 200px;
    }

    .row-background h1 {
        font-size: 1.5rem;
    }

    .row-background p {
        font-size: 0.9rem;
    }
}

/* Extra small devices (e.g., large phones) */
@media (max-width: 480px) {
    .row-background {
        padding: 0.75rem;
        min-height: 180px;
    }

    .row-background h1 {
        font-size: 1.2rem;
    }

    .row-background p {
        font-size: 0.8rem;
    }
}


/* Admin dashboard user metrics */
.metric-card {
    padding: 20px;
    margin: 20px 0;
}
.metric-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.metric-value {
    font-size: 2rem;
    font-weight: bold;
}
