/*
Theme Name: 	36U
Description: 	Theme developed for the 36U website
Version: 		1
Author: 		Fancy Rhino
Author URI: 	http://fancyrhino.com
Tags:
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Focus Mode: Indent quizzes in the Lesson Content table */
.learndash-wrapper .ld-topic-list.ld-table-list .ld-table-list-item-quiz .ld-table-list-item-preview {
	padding-left: 3.375rem;
}
/* Course Page: Indent quizzes in the Course Content table */
.learndash-wrapper .ld-lesson-list .ld-topic-list.ld-table-list .ld-table-list-item-quiz .ld-table-list-item-preview {
	padding-left: 4.5rem;
}

/* Course Page: Hide "Expand All" buttom */
.learndash-wrapper .ld-item-list .ld-section-heading .ld-item-list-actions .ld-expand-button {
	display: none;
}

/* "Course Content" header text is hidden via the Design Upgrade Pro plugin, in the Customizer */

/* Course Page: Hide course status area (containing progress bar) from enrolled users. It is inserted manually as a widget. */
.learndash-wrapper .ld-course-status.ld-course-status-enrolled {
	display: none;
}


.datatables-group-quiz-attempts tfoot tr td {
  text-align: center;
}

.datatables-group-quiz-attempts tbody tr td {
  text-align: center;
}

.datatables-group-quiz-attempts tbody tr:nth-child(even) {
  background-color: #d7eaf0;
}

/*Adding drop-down menu functionality to main nav menu

.main-nav ul ul {
    display: none;
	position: absolute;
    top: 2em;
    right: -25px;
    z-index: 99999;
    width: 180px;
    background: #fff;
    box-shadow: 0px 3px 3px rgba(0,0,0,0.5);
}*/

/*this affects entire main nav menu*/
.main-nav ul {
	position: relative;
	text-align: center;
	white-space:nowrap
}

/*this targets dropdown menu main nav ie Register dropdown*/
.main-nav ul ul {
    display: none;'
	position: absolute;
	top: 2em;
    right: 110px;
    z-index: 1;
    width: 180px;
    background: #fff;
    box-shadow: 0px 3px 3px rgba(0,0,0,0.5);
}

/*when hovering over dropdown*/
.main-nav ul li:hover > ul {
	position: absolute;
	display: block;
}

/*try for free button styling*/
.menu-item-26296 a{
	background-color: #F26522;
	color: white;
	padding: 2px 8px;
	border-radius: 5px;
	display: inline-block;
}

/*changes text of "try for free" button to gray when hovering*/
.menu-item-26296 a:hover{
	color: gray;
}
/*commenting out for now 3-28 to test drop down stuff also added position absolute above
.main-nav li {
    position: relative;
}*/


/*Customizing drop-down menu functionality for "Grades" dropdown specifically*/
.main-nav #menu-groupleader ul {
    display: none;
	position: absolute;
    top: 2em;
    right: 390px;
    z-index: 1;
    width: 180px;
    background: #fff;
    box-shadow: 0px 3px 3px rgba(0,0,0,0.5);
}

/*when hovering over dropdown*/
.main-nav #menu-groupleader li:hover > ul {
	position: absolute;
	display: block;
}

/*.main-nav #menu-groupleader li:hover > ul {
	display: block;
}

.main-nav li {
    position: relative;
}*/

/* I tried two different attempts to left align rows. */

.sub-menu li {
  display: grid;
  justify-items: start;
}

pre {
	font-family: proxima-nova;
	margin: 0;
}

/* .sub-menu li {
	display: flex;
    flex-direction: column;
    align-items: left;
} */

/*Styles for 2 columns register button layout on Register subpage (home scroll)

.twocolumns {
	display: grid;
	grid-template-columns: 162px 162px;
	grid-column-gap: 75px;
	grid-row-gap: 50px;
}*/
/* Make the button container flex */
.twocolumns {
  display: flex;
  justify-content: center;
  gap: 1rem; /* spacing between buttons */
  flex-wrap: wrap; /* allows wrapping on smaller screens */
}

/* Style buttons consistently */
.twocolumns .registerbtn {
  display: inline-block;
  padding: 12px 24px;
  background: #d9521a;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  /*font-weight: 600;*/
  transition: background 0.3s ease;
}

.twocolumns .registerbtn:hover {
  background: #d9521a;
}

/* Mobile: stack buttons */
@media (max-width: 600px) {
  .twocolumns {
    flex-direction: column;
    align-items: center; /* center stacked buttons */
  }

  .twocolumns .registerbtn {
    width: 80%;   /* make buttons fill most of the width */
    text-align: center;
  }
}



.latex {font-size: 1.5em;}


/*Change sort ascending and descending arrows in user results tables to these arrow symbols instead of relying on font awesome plugin*/
table.dataTable thead th.sorting:after,
table.dataTable thead th.sorting_asc:after,
table.dataTable thead th.sorting_desc:after {
font-family: Arial !important;
}

table.dataTable thead th.sorting:after {
content: "►" !important;
}
table.dataTable thead th.sorting_asc:after {
content: "▼" !important;
}
table.dataTable thead th.sorting_desc:after {
content: "▲" !important;
}

/*Styling for the "Renew Now" button for non-enrolled users*/

.renew-btn{
	background-color: #F26522;
	color: white;
	padding: 15px 25px;
	border-radius: 12px;
	font-family: proxima-nova;
}

/* Hides the middle column "Price: Membership" for non-enrolled users */
.ld-course-status-segment.ld-course-status-seg-price{
display: none;
}

/*changes the wording on the "Create A Class" password protected page*/
.post-password-form p:first-child {
    visibility: hidden;
}
.post-password-form p:first-child:before {
    content: "This page is password protected and can only be accessed by our 'Unlimited Groups' plan users. Please enter the page password to continue.";
    visibility: visible;
}



/*hides the spot for a profile picture under "My Account"
.ld-profile-avatar{
	display: none;
}*/

/*hides the username that was above the profile picture under "My Account"
.ld-profile-heading{
	display: none;
}*/

/*centers the diagnostic category results table on the page
table#elc-cat-counts{
	margin-right:auto;
	margin-left:auto;
}*/

/*change diagnostic category results table font to sentinel book
table#elc-cat-counts tr{
		font-family: sentinel-book
}*/

/*Make every other row gray in Diagnostic categories results table
table#elc-cat-counts tr:nth-child(even){
	background-color:#ECECEC;
}*/

/*change diagnostic categories results table first row to orange with white font
table#elc-cat-counts tr th{
	background-color:#FFAE42!important;
	color:white;
}*/

/*To style "Recommended Action Plan" list of links
.elc-course-of-action a{
	/*background-color: #F5F5F5;
	color: darkgray;
	padding: 15px 25px;
	border-radius: 12px;*/
	/*background-color: #CCCCCC;
	padding: 15px;
	text-decoration: none;
	font-family: sentinel-book;*/
	/*width: 100%;
	display: table;
	border-collapse: collapse;
	margin-right: auto;
	margin-left: auto;
	background-color: #ECECEC;
	text-decoration: none;
	/*text-align: center;
}*/
/*
.elc-course-of-action a td{
	display: table-cell;
	padding: 25px;
}
*/

/*To style the "Recommended Action Plan" font
.elc-course-of-action p{
	font-size: 1.5em;
	font-weight: 500;
    text-transform: uppercase;
    font-family: "proxima-nova", sans-serif;
	text-align: center;
}*/

/*.learndash-wrapper .ld-course-navigation .ld-status-icon .ld-icon-quiz.quiz-failure {
border-color: #ff3c00;
}

.learndash-wrapper.ld-course-navigation.ld-status-icon.ld-quiz-incomplete.ld-icon.ld-icon-quiz{
	color:#ff3c00;
}*/

.ld-status-icon.ld-quiz-incomplete{
	color: #ff3c00;
}

.ld-status-icon.ld-quiz-failure{
	color: #ffdf00;
}

.ld-status-icon.ld-status-in-progress{
	color:#ffdf00;
}

.ld-tab-buttons{
	visibility: visible;
}

/*styling overview table on Group Leader Dashboard Enrolled Users dropdown*/
/* Base table styling */
.styled-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Header */
.styled-table thead {
    background-color: #e0e1e2;
}
.styled-table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    border-bottom: 2px solid #e5e5e5;
}

/* Body rows */
.styled-table td {
    padding: 12px 15px;
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

/* Alternating rows */
.styled-table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

/* Hover effect */
.styled-table tbody tr:hover {
    background-color: #f0f7ff;
    transition: background-color 0.2s ease-in-out;
}

/* Status colors */
.status-completed {
    background-color: #d4edda;
    color: #155724;
    /*font-weight: bold;*/
}

.status-in-progress {
    background-color: #fff3cd;
    color: #856404;
    /*font-weight: bold;*/
}

.status-not-started {
    background-color: #f8d7da;
    color: #721c24;
    /*font-weight: bold;*/
}

/*scroll behavior - scroll bar for lists longer than 10 students in group leader overview table */
.table-scroll-container {
    max-height: 400px; /* adjust height to fit ~10 rows */
    overflow-y: auto;
    border: 1px solid #ddd; /* matches table border for clean look */
}

/* Optional: make the scrollbar look nicer (WebKit browsers) */
.table-scroll-container::-webkit-scrollbar {
    width: 8px;
}
.table-scroll-container::-webkit-scrollbar-thumb {
    background-color: #bbb;
    border-radius: 4px;
}
.table-scroll-container::-webkit-scrollbar-thumb:hover {
    background-color: #999;
}

@media (max-width: 768px) {
    /* Prevent horizontal overflow */
    .table-scroll-container {
        overflow-x: hidden !important;
        max-width: 100% !important;
    }

    /* Ensure all table elements fit screen */
    .styled-table,
    .styled-table thead,
    .styled-table tbody,
    .styled-table th,
    .styled-table td,
    .styled-table tr {
        display: block;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .styled-table thead {
        display: none;
    }

    .styled-table tr {
        background: #fff;
        border: 1px solid #ccc;
        border-radius: 10px;
        margin-bottom: 15px;
        padding: 10px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        overflow-wrap: break-word; /* Wrap long text inside card */
    }

    .styled-table td {
        border: none;
        padding: 8px 5px;
        text-align: left;
        position: relative;
        white-space: normal;
        word-break: break-word;
        max-width: 100%;
    }

    /* Mobile labels above text */
    .styled-table td::before {
        display: block;
        margin-bottom: 4px;
        font-weight: bold;
        color: #333;
        white-space: normal;
    }

    .styled-table td:nth-of-type(1)::before { content: "Student Name"; }
    .styled-table td:nth-of-type(2)::before { content: "Email"; }
    .styled-table td:nth-of-type(3)::before { content: "Status"; }

    /* Status pill badges */
    .status-completed,
    .status-in-progress,
    .status-not-started {
        display: inline-block;
        padding: 4px 8px;
        border-radius: 5px;
        font-weight: bold;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/*trying to make group-leader page full width*/
/* Stretch the results table wrapper full width */
.page-id-10512 .table-wrapper {
  width: 100% !important;
  max-width: 100% !important;
}

/* Make sure the table itself also stretches */
.page-id-10512 .table-wrapper table {
  width: 100% !important;
  table-layout: auto;
}

/* If parent container is floating/narrow, reset it */
.page-id-10512 .entry-content,
.page-id-10512 .content-area,
.page-id-10512 .hentry {
  max-width: none !important;
  width: 100% !important;
  float: none !important;
}

/*Leave us a review on Facebook button styling*/
.review-container {
  background-color: #f2f2f2;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  max-width: 600px;
  margin: 40px auto;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.review-text {
  font-size: 18px;
  color: #333333;
  margin-bottom: 20px;
  line-height: 1.5;
}

.review-button {
  display: inline-flex;            /* inline makes it hug content */
  flex-direction: column;          /* stack text + stars */
  align-items: center;
  justify-content: center;
  background-color: #4267B2;
  color: #ffffff;
  padding: 10px 16px;              /* tighter padding */
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  line-height: 1.2;
  transition: transform 0.15s ease, background-color 0.2s ease;
}

.review-button:hover {
  background-color: #365899;
  transform: scale(1.02);
}

.stars {
  font-size: 26px;   /* larger stars */
  color: gold;
  margin-top: 2px;   /* keep them close to text */
  letter-spacing: 2px;
}

/*styling More Student Successes button*/
.successes-button-wrapper {
  text-align: center; /* centers the button */
  margin: 20px 0;
}

.successes-button {
  display: inline-block;
  background-color: #F26522; /* Customize to match your brand palette */
  color: #ffffff;
  padding: 12px 24px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.2s, transform 0.1s;
  margin: 20px 0; /* Adds breathing room from above/below content */
}

.successes-button:hover {
  background-color: #e76e3c;
  transform: translateY(-2px);
}

/*trying to put gray background on testimonial page
.testimonial-page {
  background-color: #f9f9f9;
  padding: 40px 20px;
}*/

/*attempting to make testimonial cards pop */
.testimonial-card {
  background-color: #ffffff;   /* card background */
  border-radius: 12px;         /* rounded corners */
  box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* subtle shadow */
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.testimonial-card img {
  display: block;
  width: 100%;                 /* make image fill card */
  height: auto;
  border-radius: 12px;         /* match card rounding */
  transition: transform 0.2s;
}

.testimonial-card:hover {
  transform: translateY(-4px);  /* slight lift on hover */
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/*trying to put the plan pic behind the method section*/

.our-approach {
  background-image: url('https://staging2.36university.com/wp-content/uploads/2025/08/The-plan-30p-transparency.png');
  background-size: cover;        /* makes the image fill the section */
  background-position: center;   /* centers the image */
  background-repeat: no-repeat;  /* prevents tiling */
  padding: 50px 20px;            /* ensures content has space */
}

/*and putting a semi transparent box around the text on method section because now I can't read it*/
.method-section{
		  display: flex;
  justify-content: center;  /* horizontally center the container */
  align-items: center;      /* vertically center the container */
}
.method-text-container {
  background-color: rgba(255, 255, 255, 0.75); /* white with slight transparency */
  padding: 30px 40px;
  border-radius: 12px;
  max-width: 700px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* optional subtle shadow */

}

/*styling Try for Free button on program pricing page*/
a.try-for-free {
  background-color: #F26522 !important;       /* orange background */
  color: #fff !important;                     /* force white text */
  padding: 6px 24px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 1.1rem;
  text-align: center;
  display: inline-block;
  text-decoration: none !important;           /* remove underline */
  box-shadow: 0 2px 5px rgba(242, 101, 34, 0.1);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  max-width: 240px;
  margin: 0 auto;
  border: none;
  font-family: inherit;
	margin-left: 10px; 
	  position: relative;  /* creates a new stacking context */
  z-index: 10;         /* ensures it's above overlapping elements */
}

a.try-for-free:hover,
a.try-for-free:focus {
  background-color: #d9521a !important;      /* darker orange on hover */
  box-shadow: 0 4px 12px rgba(217, 82, 26, 0.6);
  outline: none;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .try-for-free {
    display: block;
    width: calc(100% - 32px); /* full width minus horizontal margin */
    max-width: none; /* remove max-width limit */
    margin: 0 16px 1rem 16px; /* horizontal margin to keep spacing from edges */
    box-sizing: border-box; /* include padding/border in width */
    white-space: normal; /* allow text to wrap */
  }
}

/*styling the money-back-guarantee and note-taking guides link in the Register section of the homepage*/
a.styled-link {
  color: #F26522;             /* match your brand color */
  text-decoration: none;
  position: relative;
  font-weight: 700;
}

a.styled-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -3px;
  background-color: #F26522;
  transition: width 0.3s ease;
}

a.styled-link:hover::after {
  width: 100%;
}

/*fixing how the image moves in the Register section of the homepage on smaller screens*/
/* Default: float right on large screens */
.alignright {
  float: right;
  margin-left: 20px;
  margin-bottom: 20px;
  max-width: 100%; /* prevent overflow */
  height: auto;
}

/* Mobile: remove float and center image */
@media (max-width: 768px) {
  .alignright {
    float: none;
    display: block;
    margin: 20px auto; /* centers the image */
  }
}

/*styling for getting started page links*/
.resources-section {
  margin-bottom: 2.5rem;
}

.resources-section h3 {
  font-size: 1.4rem;
  color: #333;
  border-bottom: 2px solid #f26522;
  padding-bottom: 0.3rem;
  margin-bottom: 1rem;
}

.resource-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.resource-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fafafa;
}

.resource-card span {
  flex: 1;
  font-size: 1rem;
  color: #333;
}

.download-btn {
  background: #f26522;
  color: #fff !important;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s ease;
}

.download-btn:hover {
  background: #d95214;
}

.link-list {
  margin-bottom: 1rem;
  padding-left: 1rem;
}

.link-list li {
  margin-bottom: 0.3rem;
}

.link-list a {
  color: #f26522;
  text-decoration: underline;
  font-weight: 500;
}

.note {
  font-size: 0.9rem;
  color: #666;
  margin-top: 1rem;
}
