/********** DEFAULTS ************/

:root {

}

#main p {
	font-size: 14pt;
	color: #1e1e2d;
	line-height: 24px;
	font-family: "DM Sans Regular", sans-serif;
	font-weight: 400;
}

.pages.show.home .show-content {
	padding-top: 0px;
}

.pages.show.home .course-title {
    display: none;
}

.with-right-side #right-side-wrapper {
    display: none;
}

.pages.show .page-title {
	font-weight: 600;
	color: #1b75bc;
	font-size: 35pt;
	line-height: 50px;
	margin-bottom: 15pt;
	font-family: "Poppins", sans-serif;
}

.list-view a.active {
font-family: "Poppins", sans-serif;
border-left: 2px solid #2d3b45;
    border-radius: 0px;
    font-weight: bold;
    color: #2d3b45;
    padding-left: 4px;
}

#homeWrapper {

}

.ic-Layout-contentMain {
	padding: 24px 0 0 0;
}

#course_home_content h2.course-title {
	display:none;
}

#course_home_content .page-toolbar-start {
	display: none;
	}

.ic-Layout-contentMain {
	padding: 24px 0 0 0;
}

p {
	color: #1e1e2d;
}

h1 {
	font-family: "Poppins", sans-serif;
	font-size: 35pt;
	color: #1b75bc;
	font-weight: 600;
	margin-bottom: 15pt;
	line-height: 54px;
}

#content h2 {
	font-family: "Poppins", sans-serif;;
	font-size: 28pt;
	font-weight: 700;
	color: #408740;
	margin-bottom: 16px;
	line-height: 38px
}

#content h3 {
	font-family: "Poppins", sans-serif;
	font-size: 24pt;
	font-weight: 600;
	color: #408740;
	margin: 0 0 5px 0;
	padding:0;
}

#content h4 {
	font-family: "Poppins", sans-serif;
	font-size: 20pt;
	font-weight: 600;
	color: #408740;
	margin-bottom: 16px;
}

ul li {
       padding: 6px 0px;
       font-size: 16px;
	   color: #000;
	   font-family: "DM Sans Regular", sans-serif;
}

li + li {
       padding: 6px 0px;
       font-size: 16px;
	   color: #000;
	   font-family: "DM Sans Regular", sans-serif;
}

ol li {
       padding: 6px 0px;
       font-size: 16px;
	   color: #000;
	   font-family: "DM Sans Regular", sans-serif;
}


/****************** MODULE LIST ******************/

.item-group-condensed .ig-header {
    background-color: #1b75bc;
    border: 1px solid #1b75bc;
    padding: 8px 6px;
    color: #FFFFFF;
    position: relative;
    display: flex;
}

.ig-header .name {
    font-family: "Poppins", sans-serif;
    color: #FFFFFF;
    background-color: #1b75bc;
    font-size: 17px;
    text-shadow: none;
    font-weight: bold;
}

.ig-list .ig-row a.ig-title {
	font-family: "Poppins", sans-serif;
	color: #000000;
	font-size: 16px;
}

.Button--icon-action, .Button--icon-action-rev {
    transition: color .2s;
    background: transparent;
    border: none;
    border-radius: 3px;
    color: #ffffff;
    outline: none;
}

.ig-title.module-item-title.ellipsis {
	color: #CCCCCC !important;
}

.publish-icon.publish-icon-published {
	color: #1b75bc !important;
}

.context_module_item .type_icon i {
	color: #1b75bc;
}


/* ------------ NEW BUTTONS CSS ONLY ------------------- */


.mbtnWrapper {
	display: block;
	width: 800px;

}

.mbtn {
  background-color: #fff;
  border: none;
  color: #1b75bc;
  padding: 20px 0 0 0;
  text-align: center;
  font-size: 16px;
  transition: 0.3s;
  width: 180px;
  height: 80px;
  margin: 0 20px 20px 0;
  border: 5px solid #1b75bc;
  border-radius: 8px;
  line-height: 1.2;
  display: inline-block;
  text-decoration: none !important;
}

.mbtn:focus {
  background-color: #1b75bc;
  color: white;
}

.mbtn:hover {
  background-color: #1b75bc;
  color: white;
}

a.mbtn.off { color: #ddd; border: 5px solid #ddd; }
a.mbtn.off:hover {color: #ddd; background-color: #fff; cursor: default !important;}


/* ------------ NEW LONG BUTTONS ----------------- */


* {
  box-sizing: border-box;
}

.btStrand {
  float: left;
  margin: 0 20px 0 0;
}

.rowTitle {
  content: "";
  display: table;
  clear: both;
  background-color: #FFFFFF;
  border-style: solid;
  color: #1b75bc;
  padding: 10px 3px 3px 3px;
  width: 375px;
  text-align: center;
  display: inline-block;
  font-size: 28px;
  margin: 4px 2px 0px;
  border-radius: 8px;
}

.btRow:after {
  content: "";
  display: table;
  clear: both;
}
 
.lbutton {
  background-color: #1b75bc; /* Blue */
  border: none;
  color: white;
  padding: 15px 32px;
  width: 375px;
  height: 90px;
  text-align: center;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px 15px;
  cursor: pointer;
  -webkit-transition-duration: 0.4s; /* Safari */
  transition-duration: 0.4s;
  border-radius: 8px;
  line-height: 1.2;
  text-decoration: none !important;
}

.lbutton:focus {
 background-color: white;
  color: #1b75bc;
}2.7 4.5

.lbutton:hover {
  background-color: white;
  color: #1b75bc;
}

.lbutton1 {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}


/* ------------ END NEW LONG BUTTONS ----------------- */


/************* FLIP CARDS **********************/

.flip-card {
  background-color: transparent;
  width: 300px;
  height: 350px;
  perspective: 1000px;
  float: left;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  border-radius: 12px;
  transition: transform 0.5s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.flip-card-inner:focus,
.flip-card-inner:active,
.flip-card:focus-within {
    outline: none; /* Remove default outline */
    box-shadow: 0 0 8px rgba(60, 54, 117, 0.5); /* Add a custom focus indicator */
}

.flip-card:hover .flip-card-inner, 
.flip-card:focus-within .flip-card-inner {
  transform: rotateY(180deg);
  outline: solid;
  color: #1b75bc;
  box-shadow: 0 0 0 3px hsla(220, 100%, 50%, 80%);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-card-front {
  background-color: #DCEAF8;
  color: black;
  border-radius: 12px;
}

.fliptitle {
  width: 360px;
  height: 314px;
  background: #1b75bc;
  padding: 20px;
  margin: 18px 15px 15px 20px;
  border-radius: 12px;
}

.flip-card-back {
  background-color: #DCEAF8;
  border-radius: 12px;
  transform: rotateY(180deg);
}

/* NEW CODE TO FIX THE RIGHT CUT-OFF ISSUE */
.cardcontainer {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Space between the cards */
    justify-content: space-between; /* Ensures cards distribute evenly */
    padding: 20px; /* Adds padding inside the container */
    box-sizing: border-box; /* Includes padding in width calculation */
    max-width: 100%; /* Prevents container from exceeding screen width */
    overflow: visible; /* Prevents cards from being clipped */
}

.flip-card {
    width: calc(50% - 20px); /* Two cards per row with spacing */
    max-width: 100%; /* Prevents overflow */
    height: 350px;
    perspective: 1000px;
    box-sizing: border-box; /* Ensures padding and borders are included */
    margin: 0 auto; /* Centers the cards */
}

@media (max-width: 768px) {
    .flip-card {
        width: 100%; /* Stacks cards vertically on smaller screens */
        max-width: 100%;
    }
}



/* FILE PREVIEW */

.ef-file-preview-header-filename {
    font-size: 18px;
    font-size: 1.125rem;
    padding: 0;
    padding-left: 24px;
    margin: 0;
    flex: 1 0 264px;
    height: 9vh;
    display: flex;
    align-items: center;
    color: #FFFFFF;
    border-bottom: 1px solid #8c8c8c;
}
