/* 
 Theme Name:     Have Sum Fun Online
 Author:         Comfusion Pty. Ltd.
 Author URI:     https://comfusion.com.au
 Template:       Divi
 Version:        1.0
 Description:   A Child Theme built using the elegantmarketplace.com Child theme maker
Developed by Andrew Palmer for Elegant Marketplace www.elegantmarketplace.com Free to use and duplicate as many times as you like
 Wordpress Version: 5.3
*/ 


/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */ 


/* Place vertical menu sub-menus inline with the main menu items */

@media only screen and (min-width: 981px) {

	.et_vertical_nav #main-header #top-menu ul.sub-menu {
		left: 0px;
		top: 0px;
		width: 161px; /* = 145px menu width + 16px "down" icon overlap */
	}
	.et_vertical_nav #main-header #top-menu li ul.sub-menu li {
		padding: 0 10px; 
	}
	.et_vertical_nav #main-header #top-menu li ul.sub-menu li a { 
		width: 100%; 
		padding: 8px 10px;
	}
	.et_vertical_nav #main-header #top-menu li:hover ul.sub-menu {
		margin-bottom: 20px;
		padding: 10px 0px;
		position: relative;
	}
}

/* General Page Background Colour */

body {
	background-color: #F8F8F8;
}

/* For Side by Side Divi Buttons */

.btn-inline .et_pb_button_module_wrapper {
    display: block;
    margin: 0 5px;
    float: right;
}

.btn-inline {
    text-align: center !important;
}

.btn-inline-middle .et_pb_button_module_wrapper {
    display: inline-block;
    margin: 0 5px;
}

.btn-inline-middle {
    text-align: center !important;
}

/* Login Popup */

div#popmake-313 {
  background-size: 50%;
}

div#popmake-313 div.pum-content.popmake-content {
  width: 50%;
  padding-right: 18px;
}

/* Menu Highlights */

ul#menu-main_menu li a {
		line-height: 14px;
	  padding: 0 !important;
}

ul#menu-main_menu li {
	margin-top: 0px !important;
	padding-top: 14px !important;
	padding-bottom: 14px !important;
}

ul#menu-main_menu li.current-menu-item {
	background-color: #ffffff !important;
}

/* WooCommerce */

.woocommerce-page div#left-area {
	width: 100% !important;
}

.woocommerce-page div.container::before {
	display: none;
}

.woocommerce button[name="update_cart"] {
	padding: 6px 32px !important;
}

nav.woocommerce-MyAccount-navigation {
	width: 100% !important;
}

nav.woocommerce-MyAccount-navigation ul {
	padding-left: 0px !important;
}

nav.woocommerce-MyAccount-navigation ul li {
	display: inline-block;
	margin-right: 22px;
}

nav.woocommerce-MyAccount-navigation ul li a:hover {
	color: #000000 !important;
}

nav.woocommerce-MyAccount-navigation ul li.is-active a {
	color: #000000 !important;
}

div.woocommerce-MyAccount-content {
	float: none !important;
	width: 100% !important;
}

/* LearnDash */

li.wpProQuiz_questionListItem label {
	background-color: #ffffff;
}

/* Space under question images */

.wpProQuiz_question_text img {
	margin-bottom: 20px;
}

/*New Css */


.schedfrm {
    margin-bottom: 30px;
}
.schedfrm .inrschedfrm {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
    align-items: flex-end;
}
.schedfrm form .form-group {
    flex: 0 0 40%;
    max-width: 40%;
    padding: 0 10px;
}
.schedfrm form .form-group:last-child {
    flex: 0 0 20%;
    max-width: 20%;
}
.schedfrm form .form-group input {
    width: 100%;
    height: 45px;
    border: 1px solid #ddd;
    padding: 0 10px;
    font-size: 15px;
}
.schedfrm label {
    font-size: 16px;
    color: #333;
    font-weight: 600;
    display: block;
}
.schedfrm input[type="submit"] {
    margin: 12px 0 0 0px;
    background-color: #f56c19;
    color: #fff;
    font-weight: 600;
    width: auto;
    padding:0px 28px;
    height: 45px;
    line-height: 45px;
    border-radius: 4px;
    border: 1px solid #f56c19;
    background-image: none;
}
.frmschdata{
	margin-top: 20px;
}
.frmschdata a{
	padding: 20px;
	border: 2px solid #e2e7ed;
    border-radius: 6px;
    margin-bottom: 12px;
    background: #fff;
    display: block;
    color: #495255;
}
.frmschdata a:hover{
    color: #00a2e8;
}
.schedfrm input::-webkit-inner-spin-button {
    display: none;
    -webkit-appearance: none;
}

.slectcompform select.selcom {
    height: 45px;
    font-size: 15px;
    width: 100%;
    max-width: 480px;
    border: 1px solid #d4d4d4;
    padding: 10px;
}
.slctcompdata table {
    border: 1px solid #ddd;
    margin-top: 20px;
}
.slctcompdata table tr:nth-child(odd) {
    background: #efefef;
}
.slctcompdata table tr,
.slctcompdata table th,
.slctcompdata table td{
    padding: 8px !important;
}
.slctcompdata table td{
    font-size: 16px;
}
.slctcompdata table th {
    font-size: 17px;
    padding: 10px !important;
    background: #e8e8e8;
}
.slectcompform h2 {
    margin-bottom: 15px;
}
.compfrmnote {
    margin-top: 20px;
    font-size: 18px;
}

#pracquiz input[type=button] {
	color: #ffffff;
	background-color: rgb(245, 108, 25);
	border: none;
	border-radius: 14px;
	font-family: 'Karla',Helvetica,Arial,Lucida,sans-serif;
	padding: 12px 20px;
	font-size: 20px;
	font-weight: 700;
}

#pracquiz div.quiz_continue_link {
	display: none;
}

/* Divi Vertical Tabs 2 */

.vertical-tabs2 {
    border: none;
}

.vertical-tabs2 ul.et_pb_tabs_controls {
    float: left;
    width: 20%;
    background: transparent;
}

.vertical-tabs2 ul.et_pb_tabs_controls:after {
    content: none;
}

.vertical-tabs2 .et_pb_tabs_controls li {
    width: 100%;
    border-right: none;
    border: 2px solid transparent;
    background: #f4f4f4;
}

.vertical-tabs2 .et_pb_tabs_controls li.et_pb_tab_active {
    border: 2px solid rgb(248, 105, 25);
    background: rgb(248, 105, 25);
}

//*.vertical-tabs2 .et_pb_tabs_controls li.et_pb_tab_active:after {
    top: 50%;
    right: -42px;
    border: solid transparent;
    content: " ";
    position: absolute;
    border-color: transparent;
    border-left-color: rgb(248, 105, 25);
    border-width: 20px;
    margin-top: -20px;
}**/

.vertical-tabs2 .et_pb_tabs_controls li a {
    padding: 24px;
}

.vertical-tabs2 .et_pb_tabs_controls li.et_pb_tab_active a {
    color: #ffffff !important;
}

.vertical-tabs2 .et_pb_tab {
    padding: 0;
}

.vertical-tabs2 .et_pb_tab_content {
    display: flex;
    flex-wrap: wrap;
	padding-left: 30px;
	padding-right: 22px;
}

.vertical-tabs2 table {
	table-layout: fixed;
}

@media(max-width:767px) {    
    .vertical-tabs2 ul.et_pb_tabs_controls {
        width: 100%;
        margin-bottom: 30px;
        margin-right: 0;
    }
    
    .vertical-tabs2 .et_pb_tabs_controls li {
        border-bottom: none;
    }
    
    .vertical-tabs2 .et_pb_tab {
        padding: 0;
    }
  
    .vertical-tabs2 .et_pb_tab_content {
        display: block;
    }    
}

/* Certificates */

div.quiz_continue_link a#quiz_continue_link {
	line-height: normal;
}

.learndash-wrapper .ld-alert .ld-alert-icon {
	top: 20px;
}

.learndash-wrapper .ld-alert .ld-button {
	max-width: 205px;
}

.learndash-wrapper .ld-course-status .ld-status {
	line-height: 1.8;
}

/* Team License Table */

.team-table {
	display: table;
	width: 100%;
	font-size: 15px;
}

.team-table-header {
	display: table-header-group;
	font-weight: 700;
}

.team-table-rows {
	display: table-row-group;
}

.team-table-row {
	display: table-row;
}

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

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

/* UTR */

.utr-select {
	display: block;
	margin-bottom: 8px;
}

/* Question CSS */

.wpProQuiz_cloze {
	background-color: #ffffff !important;
	border: 1px solid #F56C19 !important;
}

.wpProQuiz_question_text, .wpProQuiz_questionList {
	color: #000000 !important;
}

/* Spinner */

.lds-ring {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid #f56c19;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #f56c19 transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.spinner-content {
	position: absolute;
	left: 50%;
	margin-left: -40px;
	top: 50%;
	margin-top: -40px;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 3; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 8px solid #f56c19;
  width: 360px; /* Could be more or less, depending on screen size */
}

/* license table */

.licenseTable {
	display: table;
	width: 100%;
	max-width: 800px;
	border: 1px solid black;
	margin-bottom: 28px;
}

.licenseTableHeaderRow {
	display: table-header-group;
	background-color: #fff;
	font-weight: bold;
	font-size: 18px;
}

.licenseTableHeaderCell {
	display: table-cell;
	padding: 10px;
	text-align: justify;
	border-bottom: 1px solid black;
}

.licenseTableBody {
	display: table-row-group;
}

.licenseTableRow {
	display: table-row;
	background-color: #fff;
}

.licenseTableCell {
	display: table-cell;
	padding: 10px;
	font-size: 18px;
}

/* team table */

.teamTable {
	display: table;
	width: 100%;
	max-width: 800px;
	border: 1px solid black;
	margin-bottom: 28px;
}

.teamTableHeaderRow {
	display: table-header-group;
	background-color: #fff;
	font-weight: bold;
	font-size: 18px;
}

.teamTableHeaderCell {
	display: table-cell;
	padding: 10px;
	text-align: justify;
	border-bottom: 1px solid black;
}

.teamTableBody {
	display: table-row-group;
}

.teamTableRow {
	display: table-row;
	background-color: #fff;
}

.teamTableCell {
	display: table-cell;
	padding: 10px;
	font-size: 18px;
}

.teamTableLH {
	line-height: 42px;
}

/* Toggled license table */

.licenseTableToggle {
	display: none;
}

/* License Manager layout and fonts */

#licenseManager, #licenseManagerAlerts {
	max-width: 800px;
	margin: 0 auto;
}

#licenseManager p, #licenseManagerAlerts p {
	font-size: 16px;
}

#licenseManager button, #licenseManagerAlerts button {
	float: right;
	margin-left: 14px;
	padding: 6px 12px;
	background-color: #f56c19;
	color: #fff;
	border-style: none;
	border-radius: 4px;
	font-size: 16px;
	font-family: Karla, Helvetica, Arial, Lucida, sans-serif;
}

#licenseManager button.btnMargin, #licenseManagerAlerts button.btnMargin {
	margin-bottom: 14px;
}

#licenseManager h5, #licenseManagerAlerts h5 {
	margin-top: 8px;
	margin-bottom: 8px;
}

#licenseManager .modal-content input[type="text"], #licenseManagerAlerts .modal-content input[type="text"] {
	display: block;
	width: 100%;
	height: 32px;
	font-size: 20px;
	padding-left: 8px;
}

#licenseManager .modal-content input[type="button"], #licenseManager .modal-content input[type="submit"], #licenseManagerAlerts .modal-content input[type="button"], #licenseManagerAlerts .modal-content input[type="submit"] {
	margin: 18px 6px;
	padding: 6px 12px;
	background-color: #f56c19;
	color: #fff;
	border-style: none;
	border-radius: 4px;
	font-size: 16px;
}

#licenseManager .modal-content input[type="submit"] {
	margin-left: 0px;
	margin-right: 8px;
}

#licenseManager .modal-content label {
	font-size: 16px;
	font-weight: 600;
}

#licenseManagerAlerts .lm-alert {
	position: fixed; /* Stay in place */
	z-index: 3; /* Sit on top */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

#licenseManagerAlerts .lm-alert-message {
	width: 400px;
	text-align: center;
	background-color: #f56c19;
	color: #fff;
	font-size: 22px;
	padding: 12px 18px;
	position: fixed;
	top: 50%;
	margin-top: -42;
	left: 50%;
	margin-left: -200px;
}

#lm-message.lm-alert {
	position: fixed; /* Stay in place */
	z-index: 3; /* Sit on top */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

#lm-message .lm-alert-message {
	width: 400px;
	text-align: center;
	background-color: #f56c19;
	color: #fff;
	font-size: 22px;
	padding: 12px 18px;
	position: fixed;
	top: 50%;
	margin-top: -42;
	left: 50%;
	margin-left: -200px;
}

.teamNameDiv {
	margin-bottom: 16px;
}

#licenseManager .fas {
	vertical-align: middle;
}

.error {
	color: red;
	display: block;
}

/* Force all pages to fill the screen */
#page-container {
  display: flex;
  flex-flow: column;
  
  
}
#et-main-area {
  display:flex;
  min-height: calc( 100vh - 154px );
  flex-flow: column;
}
#et-main-area, #main-content  {
  flex: 1 0 auto;
}

/* v3 template */

body.learndash-template-ld30 div#main-content {
	background-color: #F8F8F8;
}

.wpProQuiz_content .wpProQuiz_reviewQuestion {
	overflow-y: auto;
}

.wpProQuiz_content {
	
}

.wpProQuiz_quiz {
	background-color: #ffffff;
	padding: 10px;
	border: 1px solid #F56C19;
	border-radius: 6px;
}

.learndash-wrapper .wpProQuiz_content .wpProQuiz_reviewDiv {
	padding-bottom: 10px;
	margin-bottom: 20px;
	background-color: #E2E7ED;
    border-radius: 6px;
    padding: 10px;
}

.learndash-wrapper .wpProQuiz_content .wpProQuiz_reviewDiv .wpProQuiz_reviewQuestion {
	background-color: #E2E7ED;
}

.learndash-wrapper .wpProQuiz_content .wpProQuiz_reviewDiv li {
	margin-bottom: 0px;
}



.learndash-wrapper .wpProQuiz_content .wpProQuiz_reviewDiv li.wpProQuiz_reviewQuestionTarget {
	border-color: #F7843E;
	color: #F7843E;
	outline-color: #F7843E;
	background-color: #ffffff !important;
}

.learndash-wrapper .wpProQuiz_content .wpProQuiz_reviewDiv li.wpProQuiz_reviewQuestionTarget.wpProQuiz_reviewQuestionReview {
	background-color: #FFD900 !important;
}

.learndash-wrapper .wpProQuiz_content .wpProQuiz_reviewDiv li.wpProQuiz_reviewQuestionReview {
	color: #7a7a7a;
}

.learndash-wrapper .wpProQuiz_content .wpProQuiz_reviewLegend span.wpProQuiz_reviewQuestion_Target {
	color: #F7843E;
	outline-color: #F7843E;
}

div.wpProQuiz_reviewLegend ol li:last-child {
	display: none;
}

div.laq_advanced_calculated_questions input.laq_advanced_calculated_selection {
	border: 1px solid #f56c19;
	border-radius: 6px;
	height: 32px;
	margin-left: 12px;
	padding: 1px 10px 1px 10px;
	font-size: 20px;
}

.learndash-wrapper .wpProQuiz_content div.wpProQuiz_reviewDiv .wpProQuiz_button2 {
	padding: 6px 12px 6px 12px;
	font-size: 14px;
}

li.wpProQuiz_questionListItem span.wpProQuiz_cloze input[type=text] {
	font-size: 20px;
}

body.woocommerce-account div#main-content {
	background-color: #F8F8F8;
}