/*
 Theme Name:   Eduma Child
 Theme URI:    http://educationwp.thimpress.com/
 Description:  Eduma Child Theme
 Author:       ThimPress
 Author URI:   http://thimpress.com
 Template:     eduma
 Version:      1.0.0
 Text Domain:  eduma-child
*/
.home #custom_widget_course .course_search_wrap {
    display: flex;
}

.home #custom_widget_course .course_search_wrap .bootstrap-select>.dropdown-toggle {
    width: 100%;
    padding-right: 25px;
    z-index: 1;
}

.home .thim-widget-courses-searching #custom_widget_course form {
    overflow: visible!important;
}

#popup {
    display: none;
    position: fixed;
    top: 53%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    width: calc(100% - 15%);
    max-width: 850px;
    border-radius: 8px;
  }
  .courses-searching .alert-error {
    background-color: #f2dede;
    border-color: #eed3d7;
    color: #b94a48;
    position: relative;
    max-width: 510px;
    width: 100%;
    margin: 0 0 0 -15px;
}
.sticky-sidebar div#error_2 {
    width: 100%;
    margin: 0 0 20px 0;
}

.sticky-sidebar div#error_2 .alert.cs-alert.alert-error {
    width: 100%;
    padding:  0 10px;
}
  /* Flter & Popup css */
.course_search_wrap button.btn.dropdown-toggle.btn-default {
    border-radius: 0px !important;
    border: 1px solid #dedede;
    padding: 2px 20px;
    font-size: 14px !important;
    color: #000 !important;
    font-weight: 400;
}
.course_search_wrap button.btn_search_filt {
    width: 130px!important;
    line-height: 44px !important;
    border-radius: 0 !important;
    float: left !important;
    font-size: 16px !important;
    padding: 0 !important;
    border: none !important;
    background-color: #ffb606 !important;
    color: #fff !important;
    cursor: pointer !important;
}
.post-type-archive-lp_course aside#custom_html-3 {
    border: solid 1px #eee;
    padding: 20px 20px;
		    overflow: visible;
}
.post-type-archive-lp_course .btn-group.bootstrap-select.form-control.courses-state-input {
    margin-bottom: 20px;
}
.post-type-archive-lp_course .btn-group.bootstrap-select.form-control.courses-role-input {
    margin-bottom: 20px;
}
.post-type-archive-lp_course button.btn.dropdown-toggle.btn-default {
    background-color: #fff;
    height: 44px !important;
    margin-bottom: 10px !important;
    display: block !important;
    padding: 10px !important;
    font-size: 13px !important;
    line-height: 24px;
}
.post-type-archive-lp_course .wrapper_new {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.post-type-archive-lp_course .ce_requirement {
    background-color: #2a4856;
    color: #fff;
    cursor: pointer;
		border:1px solid #2a4856;
}
.post-type-archive-lp_course .ce_requirement:hover {
    background-color: #fff;
    color: #2a4856;
    cursor: pointer;
		border:1px solid #2a4856;
}
.post-type-archive-lp_course aside#custom_html-3:before {
    content: "";
    display:none;
}
.post-type-archive-lp_course .selection_wrapper span {
    font-size: 18px;
    padding: 0px 20px;
}
#popup h2 {
    margin: 0px 0px 15px;
    font-size: 24px;
    text-align: center;
}
#popup .content {
    font-size: 16px;
    margin-bottom: 10px;
}
#popup #closePopup {
    position: absolute;
    right: 0;
    top: 0;
    background-color: transparent;
    font-size: 0px;
}
#popup #closePopup:before {
    content: '';
    background-image: url(/wp-content/uploads/2024/02/close.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 20px;
    height: 20px;
    position: absolute;
    right: 10px;
    top: 13px;
}
.thim-widget-courses-searching .courses-searching input[type=text] {
    margin-bottom: 10px;
}
.course_search_wrap button.btn_search_filt span {
		display:none;
}
.post-type-archive-lp_course aside.widget_custom_html {
    overflow: visible;
}
.select2-container--open .select2-dropdown {
    top: 0px;
}
.select2-container .select2-selection--single {
    height: 44px;
    border-radius: 0px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 44px;
    text-align: left;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #2a4856;
    background-image: url(/wp-content/uploads/2024/02/searchicon.png);
    background-position: calc(100% - 5px) 7px;
    background-repeat: no-repeat;
}

#widget_custom_filter .select2-container {
    margin-bottom: 10px;
}

.post-type-archive-lp_course .ce_requirement #showPopup {
    padding: 10px 30px;
}
#popup .modal-header {
    padding: 5px 15px;
    border-bottom: 1px solid #eee;
}
#popup .modal-body {
    position: relative;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
    max-height: calc(100vh - 260px);
    overflow-y: auto;
}#popup{
    box-shadow: 0 0 0 50vmax rgb(0 0 0 / 47%);
}
#message-credit-help .modal-body {
    max-height: 296px;
}
h4#credit-dialog-title {
    margin: 5px 5px;
}
#credit-help-body {
    padding: 0 20px 20px 20px;
    margin-bottom: 5px;
}
#credit-help-body {
    padding: 20px 20px 20px 20px;
}
.post-type-archive-lp_course .footer-bottom {
    z-index: -1;
}
@media (min-width:769px) {
    .select2-container {
        max-width: 250px;
    }
    .select2-container {
        margin-right: 10px;
    }
    #widget_custom_filter .select2-container {
        margin-bottom: 10px;
    }
}
@media (max-width:768px) {
.post-type-archive-lp_course .wrapper_new {
    flex-direction: column;
    gap: 15px;
}
.home #custom_widget_course .course_search_wrap {
    display: flex;
    flex-direction: column;
    gap: 15px;
}		
.course_search_wrap button.btn_search_filt {
    width: 100%!important;	
}
.course_search_wrap button.btn_search_filt span {
    margin-left: 10px;
		display:inline-block;
}		
#popup {
    top: 160px;
    transform: translate(-50%, 0%);
}

.learn-press-courses{
    min-height: 100px !important;
    text-align: center;
    font-size:19px;
}
.inner-wrapper {
    width: 100%!important;
}
.buttonsWrap {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
    flex-wrap: wrap;
}	
.course-card {
    height: auto !important;
    flex-direction: column !important;
}
.course-left {
    width: 100% !important;
}	
.course-right {
    width: 100% !important;
	padding: 20px 10px !important;
}	
.course-author {
	display: block !important;
	margin: -25px auto 0px;
	width: auto;
	position: relative;
	text-align: center;
}
.author-avatar img.avatar {
    border-radius: 50%;
    border: 2px solid #fff;
}	
a.butnowbtn {
    padding: 8px 10px !important;
    font-size: 12px;
    line-height: 14px;
	margin: 0px !important;
}	
.desktop-none {
    display: none!important;
}	
.courseBoxFooter {
	margin-top: 10px !important;
	border-top: 1px solid #ccc;
	justify-content: space-between !important;
	padding-top: 10px;
	gap: 10px;
}
.courseBoxFooter .mobile-wrap {
    margin: 0px !important;
	display: flex !important;
}
.mobile-wrap .course-lesson {
    display: flex;
    align-items: center;
    gap: 4px;
}	
.course-students {
    display: flex;
    align-items: center;
    gap: 4px;
}	
.rightwrpper-inner {
    align-items: stretch;
    padding: 20px 0px 0px !important;
}

	
}



.learn-press-courses{
    text-align: center;
}
.modal-content {
    border-radius: 8px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  
}
p.message.message-error {
    font-size: 19px;
    justify-content: center;
    align-items: center;
    display: flex;
}

.error-fields{ 
    color: #b94a48!important;
    background-color: #f2dede!important;
    border: 1px solid red!important;
}

#error_2{
    box-sizing: border-box;
    width: 50%;
    margin: 0 auto;
}

.alert-error {
    background-color: #f2dede;
    border-color: #eed3d7;
    color: #b94a48;
    position: relative;
    width: 61%;
    margin: 0 auto;
}


/*****************course template css***************************/
.mobile-wrap {
    display: none !important;
}
.buttonsWrap {
    margin-top: 50px;
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
	position: relative;
}
.buttonsWrap .button {
    background-color: #333333;
    color: #fff;
    padding: 6px 15px;
    border-radius: 5px;
}
.buttonsWrap .button a {
	color: #fff;
}
.buttonsWrap .button:hover a {
	color: #fff;
}

.faq-item h4 {
    padding: 12px 25px 12px 24px;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #eee;
	position: relative;
	    margin: 0px;
}
.faq-item h4:before {
    content: "\f0d7";
    transform: rotate(0deg);
    top: 12px !important;
    right: 10px !important;
    position: absolute;
    font-family: "Font Awesome 5 Free";
    font-size: 15px;
}
.faq-item h4.collapsed:before {
    content: "\f0d7";
    color: var(--thim-font-title-color);
    font-size: 15px;
    font-family: "Font Awesome 5 Free";
    line-height: 30px;
    height: 30px;
    float: right;
    top: 12px;
    position: absolute;
    right: 10px;
    font-weight: 900;
	    transform: rotate(-90deg);
}
.faq-item div {
    padding: 5px 25px;
}
.buttonsWrap:after {
    content: '';
    background-image: url('https://expertce.com/wp-content/uploads/2025/07/border1.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto;
    width: 100%;
    position: absolute;
    bottom: -23px;
    left: 0;
    height: 10px;
}
.inner-wrapper {
    width: 75%;
}
.course-right h3 {
    font-family: "Urbanist", Sans-serif;
    line-height: 1.25em;
    color: #1C1C1B;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
    font-size: 18px;
    max-width: 80%;
    margin: 0px auto 10px!important;
}
.course-right .d-flex {
    display: flex;
    gap: 12px;
    margin: 10px auto;
    max-width: 80%;
}
.course-right .d-flex p {
    font-family: "Urbanist", Sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5em;
}
.course-card {
    height: 230px;
}
.course-left a img.wp-post-image {
    object-fit: cover !important;
    height: 100% !important;
}
.course-right {
    font-family: "Urbanist", Sans-serif;
}
.rightwrpper-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 20px 10px;
}
section#ce-requirement {
    padding-top: 150px;
    position: relative;
}
section#ce-requirement:before {
    content: '';
    background-image: url('https://expertce.com/wp-content/uploads/2025/07/shape2.png');
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 100%;
    width: 100%;
    height: 84px;
    position: absolute;
    top: 66px;
    left: 0;
}
.certificate-image {
    margin: 0 auto;
    display: block;
    text-align: center;
}
.faq-item h4.collapsed {
    margin: 0px;
}
section#faq {
    padding-top: 150px;
    position: relative;
}
section#faq:before {
    content: '';
    background-image: url('https://expertce.com/wp-content/uploads/2025/07/shape2.png');
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 100%;
    width: 100%;
    height: 84px;
    position: absolute;
    top: 66px;
    left: 0;
}
section#sample-certificate {
    margin-bottom: 60px;
	    padding-top: 150px;
    position: relative;
}
section#sample-certificate:before {
    content: '';
    background-image: url('https://expertce.com/wp-content/uploads/2025/07/shape2.png');
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 100%;
    width: 100%;
    height: 84px;
    position: absolute;
    top: 66px;
    left: 0;
}
section#sample-certificate h2 {
    font-family: "Helvetica", Sans-serif;
}
a.scrolltop {
    width: 120px;
    display: block;
    text-align: center;
    margin: 30px 0px;
    color: #fff;
    background-color: #f0ad4e;
    border-color: #eea236;
	padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
    margin-left: auto;
	box-shadow: none;
    text-decoration: none;
}
a.scrolltop:hover {
	background-color: #FFFFB3;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
	color: #333;
    text-decoration: none;
}
.course-author {
    display: none;
}

