﻿
/* Global Styles */

html, body {
  /*height: 100%;*/
}

body {
  padding-top: 0px;
 /* body padding for fixed top nav */
}

h2 {
    margin: 0;
}

.img-home-portfolio,
.img-customer,
.portfolio-item {
  margin-bottom: 30px;
}

.tab-pane {
  margin-top: 15px;
}

/* Page Sections */
.section,
.section-colored {
  padding: 50px 0;
}

.section-colored {
  background-color: #e1e1e1;
 /* change this to change the background color of a colored section */
}

.sidebar {
  margin-top: 40px;
}

.sidebar ul {
  border-radius: 5px;
  padding: 5px;
  /*border: 1px solid #ffffff;*/
}
.box_sidebar {
	/*padding: 5px; */
	border: 5px solid #ffffff;
}

.adminadjust {
    margin-top: 45px;
}

.CourseMenuRight {
    min-height: 1px;
    padding-right: 0px;
    position: relative;
    z-index: 9999;
}

.textslider {
    border: 5px solid #f4f4f4;
}

.darkbg {
	background-color: #cccccc;
}

.loginbg {
	background-color:#373737;
	margin-top: 100px;
	color:#ffffff;
	border-style:solid;
	border-bottom-width:20px;
	border-color:#373737;
}
.logincenter {
	margin-left: auto;
	margin-right:auto;
}
.loginimagepos {
	margin-top: 45px;
}
.loginimagepos2 {
    margin-top: 45px;
    background-color: #ffffff;
}
.Main_text {
	background-color: #eeeeee;
	border: 10px solid #eeeeee;
	margin: 5px;
}
.InformeList {
    margin-top: 18px !important;
}

.CustomMessageStyle {
	/*/border: 1px solid #3364be !important;*/
    background: #ededed;
    margin: 1px;
    border-style:solid;
	border-width:20px;
	border-color:#ededed;
    
}

.CustomInline {
    display: inline !important;
}

.CustomTextBlue {
    color: steelblue !important;
    margin: 0 0 25px;
}

.training-title {
    display: inline-block;
}

.training-title h3 {
    font-size: 30px;
    margin: 0;
}

.training-progress .display-label {
    margin-bottom: 5px;
}

.training-progress .progresssize {
    margin: 0;
}

.MessageOffset {
    margin-top: 86px;
}

.menulocation {
    margin-left: -70px !important;
}
/* Carousel Customization */
/*.carousel {
  height: 50%;
}*/

.item,
.active,
.carousel-inner {
  height: 100%;
}

.fill {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
}

/* Social Icons Styles
.list-social-icons {
  margin-bottom: 45px;
}

.tooltip-social a {
  text-decoration: none;
  color: inherit;
}

.facebook-link a:hover {
  color: #3b5998;
}

.linkedin-link a:hover {
  color: #007fb1;
}

.twitter-link a:hover {
  color: #39a9e0;
}

.google-plus-link a:hover {
  color: #d14836;
}
 */ 
 
/* Service Page Styles */
.service-icon {
  font-size: 50px;
}

/* 404 Page Styles */
.error-404 {
  font-size: 8em;
}

/* Pricing Page Styles (There for future proofing) */
.price {
  font-size: 4em;
}

.price-cents {
  vertical-align: super;
  font-size: 50%;
}

.price-month {
  font-size: 35%;
  font-style: italic;
}
/* Custom Table Styles*/
.table th {
  /* background-color: #383838 !important;
    color: #ffffff !important; */
    text-align: left;
}
/* Footer Styles — compact row aligned with content area */
footer {
  margin: 0;
}

/* Sticky footer in normal document flow */
.xiloh-page {
  width: 100%;
  min-height: 100vh;
  height: auto;
}

.xiloh-page-layout {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  height: auto;
}

.xiloh-page-main {
  display: flex;
  flex: 1 0 auto;
  align-items: stretch;
  width: 100%;
  min-width: 0;
}

.xiloh-user-shell {
  --xiloh-sidebar-width: 200px;
  --xiloh-sidebar-collapsed-width: 50px;
}

.xiloh-user-shell .xiloh-page-main > .main-sidebar {
  flex: 0 0 var(--xiloh-sidebar-width);
  position: relative;
  width: var(--xiloh-sidebar-width);
  height: auto;
  min-height: 0;
  overflow: visible;
  margin: 0;
  padding: 0;
}

.xiloh-main-area {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  grid-column: 2;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  background-color: #ecf0f5;
}

.xiloh-user-shell .xiloh-page-main {
  display: grid;
  grid-template-columns: var(--xiloh-sidebar-width) minmax(0, 1fr);
  width: 100%;
  min-width: 0;
}

.xiloh-page-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 24px;
  overflow: visible;
  background-color: #ecf0f5;
}

.xiloh-page-content .container,
.xiloh-page-content .container-fluid {
  width: 100%;
  max-width: 100%;
}

.xiloh-main-area > .main-footer {
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  margin: 28px 0 0 !important;
}

.xiloh-admin-page-main {
  flex-wrap: wrap;
}

.xiloh-admin-page-main > #tenant-img,
.xiloh-admin-page-main > #pnlMainRenderer {
  float: none;
  height: auto;
  overflow: visible;
}

/* #22642: Admin user-edit / Admin own modern profile — global sidebar not rendered */
.xiloh-admin-page-main--no-global-sidebar {
  display: block;
  width: 100%;
  max-width: 100%;
}

.xiloh-admin-page-main--no-global-sidebar > #pnlMainRenderer {
  float: none;
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
}

/* Admin sidebar card */
.xiloh-admin-page-main > .xiloh-admin-sidebar {
  padding-top: 24px;
  padding-bottom: 16px;
}

.xiloh-admin-sidebar-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.xiloh-admin-page-main .xiloh-admin-sidebar-logo.box_sidebar {
  border: 0;
  padding: 16px 16px 8px;
  background: transparent;
}

.xiloh-admin-page-main .xiloh-admin-sidebar-logo .Div_height_width,
.xiloh-admin-page-main .xiloh-admin-sidebar-logo .div-scale {
  max-width: 100%;
}

.xiloh-admin-page-main .xiloh-admin-sidebar-logo #blah {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 160px !important;
  margin: 0 auto;
  object-fit: contain;
}

.xiloh-admin-page-main .xiloh-admin-sidebar-user.box_sidebar,
.xiloh-admin-page-main .xiloh-admin-sidebar-user.darkbg {
  border: 0;
  background: #ffffff !important;
  max-width: none !important;
  min-width: 0 !important;
  width: 100%;
  margin: 0 !important;
  padding: 8px 16px 18px;
  color: #373737;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.xiloh-admin-page-main .xiloh-admin-sidebar-user p {
  margin: 14px 0 0;
}

.xiloh-admin-page-main .xiloh-admin-sidebar-user .btn-primary {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 6px;
  background-color: #ff7e00;
  padding: 10px 14px;
  font-weight: 600;
}

.xiloh-admin-page-main .xiloh-admin-sidebar-user .btn-primary:hover,
.xiloh-admin-page-main .xiloh-admin-sidebar-user .btn-primary:focus {
  background-color: #e87100;
}

/* Admin home module grid */
.xiloh-admin-home {
  float: none !important;
  width: 100%;
  max-width: 100%;
  padding-left: 8px;
  padding-right: 8px;
}

.xiloh-admin-home-title.adminadjust {
  margin-top: 12px;
  margin-bottom: 8px;
  font-weight: 700;
  color: #222;
}

.xiloh-admin-home-divider {
  margin: 0 0 20px !important;
  border: 0;
  border-top: 1px solid #ddd;
}

.xiloh-admin-modules {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  max-width: 100%;
}

.xiloh-admin-module-card {
  min-width: 0;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.xiloh-admin-module-card > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 168px;
  padding: 18px 12px 16px;
  text-decoration: none !important;
  color: #373737;
}

.xiloh-admin-module-card:hover {
  border-color: #ff7e00;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.xiloh-admin-module-icon {
  display: block;
  width: 80px;
  height: 80px;
  max-width: 100%;
  object-fit: contain;
}

.xiloh-admin-module-label {
  margin: 0;
  padding: 0 4px;
  color: #373737;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

@media (max-width: 1199px) {
  .xiloh-admin-modules {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .xiloh-admin-modules {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .xiloh-admin-modules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .xiloh-admin-module-card > a {
    min-height: 148px;
    padding: 14px 10px;
  }

  .xiloh-admin-module-icon {
    width: 68px;
    height: 68px;
  }
}

@media (max-width: 419px) {
  .xiloh-admin-modules {
    grid-template-columns: 1fr;
  }
}

.main-footer.xiloh-admin-footer {
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 75%;
  margin-left: 25%;
}

.xiloh-professor-main {
  flex: 1 0 auto;
}

.xiloh-professor-footer {
  flex: 0 0 auto;
}

@media (min-width: 768px) {
  .xiloh-user-shell.sidebar-collapse .xiloh-page-main {
    grid-template-columns: var(--xiloh-sidebar-collapsed-width) minmax(0, 1fr);
  }

  .xiloh-user-shell.sidebar-collapse .xiloh-page-main > .main-sidebar {
    flex-basis: var(--xiloh-sidebar-collapsed-width);
  }
}

.main-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
  padding: 12px 18px;
  margin: 0;
  line-height: 1.3;
  border-top: 1px solid #d2d6de;
}

.main-footer .pull-right {
  float: none;
  margin-left: auto;
  white-space: nowrap;
}

/* Powered by KPG footer logo */
.powered-by-footer {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  line-height: 1.3;
  font-weight: 700;
}

.powered-by-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  margin: 0;
  color: inherit;
}

.powered-by-link:hover,
.powered-by-link:focus {
  text-decoration: none;
  color: inherit;
}

.xiloh-powered-by-logo {
  display: inline-block;
  height: auto !important;
  width: auto !important;
  max-height: 30px !important;
  max-width: 90px !important;
  object-fit: contain;
  vertical-align: middle;
  margin: 0;
}

@media (max-width: 768px) {
  .xiloh-page-main {
    flex-wrap: wrap;
  }

  .xiloh-user-shell .xiloh-page-main > .main-sidebar {
    flex-basis: var(--xiloh-sidebar-width);
  }

  .main-footer {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 12px 14px;
  }

  .main-footer .pull-right {
    margin-left: 0;
  }

  .powered-by-footer {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .xiloh-user-shell .xiloh-page-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .xiloh-user-shell .xiloh-main-area {
    grid-column: 1;
  }
}

/* User dashboard */
.xiloh-dashboard-header {
  padding: 0;
  margin: 0 0 26px;
}

.xiloh-dashboard-header h1 {
  margin: 0;
  overflow-wrap: anywhere;
}

.xiloh-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: clamp(20px, 1.5vw, 28px);
  width: 100%;
  min-width: 0;
  margin: 0 auto;
  align-items: stretch;
}

.xiloh-dashboard-grid-group {
  display: contents;
}

.xiloh-dashboard-card {
  display: flex;
  align-items: stretch;
  float: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0;
  box-sizing: border-box;
  text-align: center;
}

.xiloh-dashboard-card > a {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  min-width: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
  text-align: center;
}

.xiloh-dashboard-card img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.xiloh-dashboard-card h3 {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 72px;
  margin: 0;
  padding: 10px 18px 14px;
  box-sizing: border-box;
  color: #fff !important;
  font-size: 20px;
  line-height: 1.2;
  text-align: center;
  background: transparent;
}

.xiloh-dashboard-card h3 span {
  display: block;
  position: static;
  width: 100%;
  max-width: none !important;
  margin: 0;
  padding: 0 !important;
  line-height: inherit;
  text-align: center;
  overflow-wrap: anywhere;
}

@media (max-width: 1199px) {
  .xiloh-dashboard-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .xiloh-dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .xiloh-page-content {
    padding: 18px;
  }

  .xiloh-main-area > .main-footer {
    margin-top: 20px !important;
  }
}

@media (max-width: 479px) {
  .xiloh-dashboard-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

@media (max-width: 991px) {
  .main-footer.xiloh-admin-footer {
    width: 100%;
    margin-left: 0;
  }
}
.mainimage {
	margin-top: -10px !important;
}

/* YouTube page content mode */
.xiloh-content-type-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
}

.xiloh-content-type-options label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-weight: 500;
  cursor: pointer;
}

.youtube-content-mode {
  min-width: 0;
  padding-top: 8px;
}

.youtube-content-mode h4 {
  margin-top: 0;
  margin-bottom: 16px;
}

.youtube-validation-message {
  min-height: 20px;
  margin-top: 6px;
}

.youtube-preview-group {
  width: 100%;
  min-width: 0;
  margin-top: 16px;
}

.youtube-preview {
  position: relative;
  width: 100%;
  max-width: 760px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
  background: #111;
}

.youtube-preview iframe,
#item-content iframe[src^="https://www.youtube.com/embed/"],
#item-content iframe[src^="https://youtube.com/embed/"],
#item-content iframe[src^="https://www.youtube-nocookie.com/embed/"],
#item-content iframe[src^="https://youtube-nocookie.com/embed/"] {
  display: block;
  width: 100% !important;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto !important;
  border: 0;
}

.youtube-preview iframe {
  height: 100% !important;
}

@media (max-width: 479px) {
  .xiloh-content-type-options {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}


/* Custom Responsive Styles */
@media (max-width: 767px) {

    .carousel {
        height: 100px !important;
        /* increases the carousel height so it looks good on phones */
    }

    .loginbg {
        margin-top: 0px;
    }
}


.content {
    margin-top: 45px;
}

.titleMargin {
    margin-top: 0px;
}
/*Exam View*/
#timer {
    font-size:20px;
    font-weight:bold;
}
.answers {
   margin-left:30px !important;

}

.unread {
    font-weight: bold;
    color: #428bca;
}

/*Exam Result View*/
.centralize {
    text-align: center;
}

.separator {
    margin: 0 50px;
}

.disable-text {
    color: grey;
}

/*Admin Certificate Index View*/
.bottom-space {
    margin-bottom: 20px;
}

.certificate-page-content {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.certificate-page-row,
.certificate-page-inner {
    width: 100%;
    min-width: 0;
}

.certificate-config-layout {
    width: auto;
    max-width: 1500px;
}

.certificate-config-content,
.certificate-config-left,
.certificate-config-right,
.certificate-config-actions {
    min-width: 0;
}

.certificate-config-item {
    min-width: 0;
    margin-bottom: 18px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.certificate-config-item label {
    display: block;
    margin-bottom: 6px;
}

.certificate-preview-box {
    max-width: 100%;
    margin-top: 8px;
    margin-bottom: 16px;
    padding: 4px 0;
    overflow: hidden;
}

.certificate-preview-box img {
    display: block;
}

.certificate-config-layout .certificate-logo-preview {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 180px !important;
    max-height: 110px !important;
    object-fit: contain;
}

.certificate-config-layout .certificate-signature-preview {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 140px !important;
    max-height: 60px !important;
    object-fit: contain;
}

.certificate-config-layout .certificate-background-preview {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 180px !important;
    max-height: 120px !important;
    object-fit: contain;
}

.certificate-config-actions {
    padding-top: 45px;
}

.certificate-config-actions .cert-btn {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    float: none;
    width: 100%;
    margin: 0 0 24px;
    white-space: normal;
}

.certificate-config-actions .cert-btn .fa {
    float: none !important;
    flex: 0 0 auto;
    margin-right: 12px;
    padding: 3px;
}

@media (max-width: 991px) {
    .certificate-config-actions {
        clear: both;
        padding-top: 12px;
    }
}

.carousel-indicators li {
    background-color: #000; 
}

/*Training Course Page*/
nav.navbar.navbar-inverse.navbar-fixed-top {
    z-index: 99999;
}

.checkmark {
    margin-right: 5px;
}

.green {
    color: green;
}

.CourseMenuRight .panel-group {
    margin: 0;
}

/* Upload mask */

.upload-mask {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: black;
    opacity: .85;
    z-index: 100000;
}

.progress-middle {
    width: 600px;
    margin: 300px auto;
    height: 30px;
    background-color: whitesmoke;
    border-radius: 5px;
}

.progress-holder {
     width: 100%;
     height: 100%;
}

.progress-middle .progress-bar {
    border-radius: 5px;
}

.percent {
    color: white;
    float: left;
}

.finish-message {
    float:left;
    margin-left:10px;
    color:white;
    display:none;
}

/* Audiovisual Edit Modal */
#editAudiovisualModal {
    z-index: 99999;
}

.bootbox.modal {
    margin-top: 25px;
}

.display-none {
    /*Used on CrearAdiestramiento and EditarAdiestramiento for Administration and Professor*/
    display: none;
}

/*Course Metadata Styles*/

h4.list-group-item-heading {
    font-size: 28px;
    color: rgb(70, 70, 70);
}

h4.list-group-item-heading.instructions,
h4.list-group-item-heading.author,
h4.list-group-item-heading.watch,
h4.list-group-item-heading.date,
h4.list-group-item-heading.value {
    font-size: 20px;
}

p.list-group-item-text {
    margin-left: 10px;
}

h4.list-group-item-heading.value {
    display: inline-block;
}

p.list-group-item-text.value {
    display: inline-block;
    font-size: 20px;
    font-weight: bold;
}

/* New play button in course menu */
.modules, .pages, .attachments, .tasks {
    width: 80%!important;
    height: 20px;
    overflow: hidden;
    display: inline-flex;
}

.red {
    color: red;
}

.modules {
    font-weight: bolder;
}

span.space {
    width: 13px;
    height: 20px;
    display: inline-flex;
}

.yellow {
    color: rgb(255, 153, 0);
}

/* _CourseMenu.css */

#_CourseMenu ul {
    list-style: none;
}

#_CourseMenu #menu2 ul {
    padding-left: 0px;
}

#_CourseMenu #menu2 a {
    line-height: 25px;
    margin-bottom: 5px;
    text-decoration: none;
}

#_CourseMenu #menu2 span.fa.plus-minus {
    margin-top: 5px;
}

#_CourseMenu .status > span {
    width: 9%;
    text-align: right;
}

#menu2 {
    width: 100%;
}


/* CSS for bootstrap modals */
    #createevent, #eventModalEdit, #editModuleModal, #editPageModal, #editAudiovisualModal, 
    #editAttachmentModal, #sendNotificationModal, #deleteTrainingModal, #changeimage,
    #createTaskModal, #addSubGroupModal, #editGroupNameModal, #ExamReportModal, 
    #TrainingProgressReportModal, #UserExamReportModal, #editexam, #createquestion,
    #editquestion, #createanswer, #aditanswer, #deactivatequestion, #createexam,
    #unregisterMsgModal {
    margin-top: 56px;
}

/*CSS for top nav bar*/
#top-nav > li > a, #top-nav > li > span {
    display: block;
    margin-top: 3px;
    padding-top: 15px;
    padding-bottom: 15px;
    line-height: 20px;
}

.cui-ctl.cui-fa-sm.cui-toolbar-button-right {
    display: none !important;
}
.input-validation-error {
     border-color: red;
     border-width: 1px;
}

@media(max-width:992px) {
    .cert-btn {
        position: relative;
        bottom: 0;
    }
}
.timepick, .datepick, .timepicker, .datepicker {
    cursor:pointer !important;
    background-color:white !important;
}
div#UpdateTenant:hover {
    cursor: pointer;
    text-decoration:underline;

}
img.removeAdmin {
    cursor: pointer;
}
input.remove {
    cursor: pointer;
}
.extraForm .form-inline h4 {
    display: none;
}
.extraForm .form-inline label {
    visibility: hidden;
}
