html{
  margin:0;
  padding:0;
  height: 100%;
}

body{
  margin:0;
  padding:0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

#icress-down-banner {
  display: none;
  background-color: #e74c3c;
  color: #fff;
  text-align: center;
  padding: 12px 16px;
  font-size: 14px;
  font-family: Arial, sans-serif;
  position: relative;
  z-index: 9999;
}

.bannerapp {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: #2d3033;
    color: #aebdc1;
    font-size: 12px;
    width: 100%;
    padding: 0 40px;
    box-sizing: border-box;
}


.bannerappfooter {
    background-color: #2d3033;
    color: #aebdc1;
    font-size: 12px;
    width: 100%;
    text-align: center;
    padding: 20px 40px;
    box-sizing: border-box;
}

.footer-disclaimer {
    margin-bottom: 16px;
}

.footer-support {
    margin-bottom: 16px;
}

.footer-credit {
    padding-top: 10px;
    color: white;
    font-size: 14px;
    line-height: 18px;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #333;
    font-size: 15px;
    text-align: center;
}

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

.text-center {
    text-align: center;
}

.text-center .blobselect {
    margin: 0 auto;
}


#project_title {
    margin: 0;
}

footer {
    width: 100%;
}

a {
    text-decoration: none
}

.tools-panel {
    max-width: 600px;
    margin: 0 auto 30px auto;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    text-align: center;
}

.tools-export {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.tools-btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    background: #2d3033;
    border: none;
    cursor: pointer;
    flex: 1;
    max-width: 180px;
}

.tools-btn:hover {
    background: #444;
}

.tools-section-title {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 10px;
    color: #333;
}

.color-table {
    margin: 0 auto 10px;
    border-collapse: collapse;
    text-align: center;
    font-size: 13px;
}

.color-table th {
    padding: 6px 14px;
    background: #2d3033;
    color: #fff;
    font-weight: normal;
}

.color-table td {
    padding: 4px 14px;
    border-bottom: 1px solid #eee;
}

.color-table td:first-child {
    font-weight: bold;
    text-align: left;
}

.color-table input[type="color"] {
    width: 30px;
    height: 26px;
    border: 1px solid #ddd;
    padding: 0;
    cursor: pointer;
}

.tools-reset {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    color: #999;
}

.timetable {
    display: flex;
    justify-content: center;
    width: 90%;
    margin: 0 auto 30px;
    background-color: #FFFFFF;
}

.timetable aside {
    width: 8%;
}

.timetable section header li:not(:last-of-type) {
    width: 100px;
}

.resulttable table {
    border-collapse: collapse;
    width: 50%;
}

.resulttable th, .resulttable td {
    text-align: left;
    padding: 15px;
}

.resulttable tr:nth-child(even) {
    background-color: #f2f2f2
}

.resulttable th {
    background-color: #61116a;
    color: white;
}

.resulttable td {
    background-color: #FFFFFF;
}

.inputTimetable {
    margin: 30px auto;
}

.input-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 0;
}

.input-tab {
    padding: 10px 24px;
    border: 1px solid #ccc;
    border-bottom: none;
    background: #eee;
    color: #555;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    outline: none;
    border-radius: 0;
}

.input-tab.active {
    background: #f9f9f9;
    color: #333;
    border-bottom: 1px solid #f9f9f9;
    position: relative;
    z-index: 1;
}

.tab-content {
    border: 1px solid #ddd;
    border-radius: 0;
    padding: 15px 20px;
    max-width: 500px;
    margin: 0 auto;
    background: #f9f9f9;
    position: relative;
    top: -1px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

#div-faculty {
    margin-top: 10px;
}

#matric-input {
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 0;
    width: 300px;
    text-align: center;
    margin-bottom: 12px;
}

.wrapper {
    flex: 1;
    padding-bottom: 30px;
}

#select-table {
    display: none;
    width: 500px;
    margin: 0 auto 30px;
}

.newtable {
    margin: 0 auto;
    border-collapse: collapse;
    width: 100%;
}

.newtable th {
    background: #2d3033;
    color: #fff;
    font-weight: normal;
    padding: 8px 12px;
    font-size: 13px;
}

.newtable td {
    padding: 6px 8px;
    border-bottom: 1px solid #eee;
    background: #f9f9f9;
}

.newtable td select {
    width: 100%;
}

.newtable td:first-child {
    text-align: center;
    color: #999;
    font-size: 13px;
}

.newtable td:nth-child(2n+3) {
    width: 30px;
}

.newtable th:nth-child(even) {
    width: 100px;
}

.button {
  overflow: hidden;
  margin: 10px;
  padding: 12px 12px;
  cursor: pointer;
  user-select: none;
  transition: all 60ms ease-in-out;
  white-space: nowrap;
  text-decoration: none !important;
  text-transform: none;
  text-transform: capitalize;
  color: #fff;
  border: 0 none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  appearance: none;
}

.button.-sm {
  margin: 6px;
  padding: 8px 8px;
  font-size: 12px;
  font-weight: 300;
}

.button:hover {
  -webkit-transition: all 60ms ease;
  transition: all 60ms ease;
  opacity: .85;
}
.button:active {
  -webkit-transition: all 60ms ease;
  transition: all 60ms ease;
  opacity: .75;
}
.button:focus {
  outline: 1px dotted #959595;
  outline-offset: -4px;
}
.button.-dark {
  color: #FFFFFF;
  background: #333030;
}
.button.-dark:focus {
  outline: 1px dotted white;
  outline-offset: -4px;
}

.button.-purple {
  color: #FFFFFF;
  background: purple;
}
.button.-purple:focus {
  outline: 1px dotted white;
  outline-offset: -4px;
}

.button.-green {
  color: #FFFFFF;
  background: #008000;
}
.button.-green:focus {
  outline: 1px dotted white;
  outline-offset: -4px;
}

.button-delete {
    background: none;
    border: none;
    color: #ccc;
    font-size: 0;
    cursor: pointer;
    width: 28px;
    height: 28px;
    position: relative;
}

.button-delete::after {
    content: '\00d7';
    font-size: 20px;
    color: #bbb;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.button-delete:hover::after {
    color: #e74c3c;
}

.upload-btn-wrapper {
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.btn {
  border: 2px solid gray;
  color: gray;
  background-color: white;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
}

.upload-btn-wrapper:hover button {
  color: white;
  background-color: #008000;
}

.upload-btn-wrapper input[type=file] {
  font-size: 100px;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
}

select {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  flex-wrap:wrap;
  width:100%;
  max-width:300px;
  min-height:40px;
  padding:10px;
  border:1px solid #ccc;
  outline:none;
  color:#555;
  background-color:#fff;
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Oxygen-Sans',Ubuntu,Cantarell,'Helvetica Neue',sans-serif;
  font-size:1rem;
  font-weight:400;
  font-style:normal;
  font-variant:normal;
  text-transform:none;
  line-height:1.25;
  cursor:pointer;
  transition:background .3s ease,color .3s ease,border .3s ease;
}

@media print {
    .noprint {
        display: none;
    }

    body {
        background: #FFFFFF;
    }
}

.timetable section {
    width: auto;
}

.popup {
    width: 300px;
    height: 200px;
    position: absolute;
    color: #000000;
    background-color: #e1e1e1;
    /* To align popup window at the center of screen*/
    top: 50%;
    left: 50%;
    margin-top: -100px;
    margin-left: -150px;
}

.se-pre-con {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url(../img/rolling.svg) center no-repeat rgba(255,255,255,.6);
}

@-webkit-keyframes sk-foldCubeAngle {
    0%, 10% {
        -webkit-transform: perspective(140px) rotateX(-180deg);
        transform: perspective(140px) rotateX(-180deg);
        opacity: 0;
    }
    25%, 75% {
        -webkit-transform: perspective(140px) rotateX(0deg);
        transform: perspective(140px) rotateX(0deg);
        opacity: 1;
    }
    90%, 100% {
        -webkit-transform: perspective(140px) rotateY(180deg);
        transform: perspective(140px) rotateY(180deg);
        opacity: 0;
    }
}

@keyframes sk-foldCubeAngle {
    0%, 10% {
        -webkit-transform: perspective(140px) rotateX(-180deg);
        transform: perspective(140px) rotateX(-180deg);
        opacity: 0;
    }
    25%, 75% {
        -webkit-transform: perspective(140px) rotateX(0deg);
        transform: perspective(140px) rotateX(0deg);
        opacity: 1;
    }
    90%, 100% {
        -webkit-transform: perspective(140px) rotateY(180deg);
        transform: perspective(140px) rotateY(180deg);
        opacity: 0;
    }
}

.timetable aside li, .timetable time li {
    height: 95px;
}

.timetable .time-entry,
.timetable ul.room-timeline li:first-child .time-entry {
    height: 95px;
}

.room-timeline h5 {
    margin-top: 13px;
    margin-bottom: 0;
}

.room-timeline small {
    margin-bottom: 0;
}

.room-timeline p {
    font-size: 13px;
    margin-bottom: 0;
    margin-top: 0;
}

.center {
    text-align: center;
}

#deslogouitm {
	padding: 10px;
	flex-shrink: 0;
}

#destitle {
	padding: 10px;
	text-align: center;
	flex-shrink: 0;
}

.anniversary {
	color: #aebdc1;
	font-size: 12px;
}

#desgithub {
	border: 1px solid #aebdc1;
	border-radius: 20px;
	color: white;
	display: inline-block;
	font-size: 13px;
	text-align: center;
	text-decoration: none;
	padding: 8px 20px;
	text-transform: uppercase;
}

#desgithub img {
	vertical-align: middle;
	margin-right: 6px;
}

/*little update by afif
css for mobile view*/
@media screen and (max-width: 600px) {
    .wrapper {
        padding-left: 12px;
        padding-right: 12px;
    }
    .bannerapp {
        justify-content: center;
        padding: 10px;
    }
    #deslogouitm {
        display: none;
    }
    #destitle {
        text-align: center;
    }
    select {
        width: 100%;
    }
    #select-table {
        width: 100%;
    }
    .tab-content {
        max-width: 100%;
    }
    .input-tabs {
        width: 100%;
    }
    .input-tab {
        flex: 1;
        font-size: 13px;
        padding: 10px 8px;
    }
    .tools-panel {
        margin-left: 0;
        margin-right: 0;
    }
}
