/* plugin courses list */
.auto_width {
	width: auto;
}

#course-search {
    font-size: 18px;
    max-width: 300px;
    border: 1px solid #ccc;
    background-color: #f2f2f2;
	  padding: 3px 7px;
}

.tags-container {
    margin-bottom: 20px;
}

.tags-toggle {
    background: #f5f5f5;
    border: 1px solid #ddd;
    padding: 8px 16px;
    cursor: pointer;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tags-content {
    padding: 15px;
    border: 1px solid #ddd;
    border-top: none;
}

.tag-button {
    background: #f5f5f5;
    border: 1px solid #ddd;
    padding: 5px 10px;
    margin: 5px;
    cursor: pointer;
    border-radius: 3px;
}

.tag-button.active {
    background: #2ea3f2;
    color: white;
    border-color: #2ea3f2;
}

.tag-button:hover {
    background: #e5e5e5;
}

.tag-button.active:hover {
    background: #1e8fe2;
}

.guaranteed-tag {
    background-color: #6eb738;
    color: white;
}

#guaranteed-courses-container {
    display: none;
    margin-bottom: 30px;
    border: 1px solid #ddd;
    padding: 20px;
}

button.tags-toggle {
	font-weight: 700;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

#course-search {
    width: 100%;
    padding-right: 30px; /* Make room for the clear button */
}

.clear-search {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    font-size: 18px;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    border-radius: 50%;
}

.clear-search:hover {
    background: #f0f0f0;
}

.load-more-btn {
    background-color: #2ea3f2;
    color: #fff;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px;
}

.load-more-btn:hover {
    background-color: #2264ad;
}

.guaranteed-btn {
    background-color: #6eb738;
    color: black;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 5px;
    border: none;
    border-radius: 3px;
    cursor: default;
}

/* ensure the line height in mobile is not double the size*/
@media (max-width: 980px) {
    .et_pb_column {
        width: 100%;
        margin-bottom: inherit;
    }
}

/* course list table */
.et_pb_row_1.et_pb_row, .et_pb_row_8.et_pb_row, .et_pb_row_17.et_pb_row {
    padding-top: 3px !important;
    padding-bottom: 3px !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

.et_pb_row_1, .et_pb_row_8, .et_pb_row_17 {
    border-bottom-width: 1px !important;
}

.et_pb_row_2.et_pb_row, .et_pb_row_3.et_pb_row, .et_pb_row_4.et_pb_row, .et_pb_row_5.et_pb_row, .et_pb_row_6.et_pb_row, .et_pb_row_9.et_pb_row, .et_pb_row_10.et_pb_row, .et_pb_row_11.et_pb_row, .et_pb_row_12.et_pb_row, .et_pb_row_13.et_pb_row, .et_pb_row_14.et_pb_row, .et_pb_row_15.et_pb_row, .et_pb_row_18.et_pb_row {
    padding-top: 3px !important;
    padding-bottom: 3px !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

.et_pb_row_2, .et_pb_row_9, .et_pb_row_10, .et_pb_row_11, .et_pb_row_12, .et_pb_row_13, .et_pb_row_14, .et_pb_row_15, .et_pb_row_18 {
    border-bottom-width: 1px !important;
    border-bottom-style: dotted !important;
    border-color: #ccc !important;
}

@media only screen and (min-width: 1350px) {
    .et_pb_row {
        padding: 27px 0;
    }
}


@media (min-width: 981px) {
    .et_pb_row {
        padding: 2% 0;
    }
}

.et_pb_column, .et_pb_row, .et_pb_row_inner {
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
}


.et_pb_row { 
  /* width: 100% !important; */ 
}

.et_pb_with_border {
    position: relative;
    border: 0 solid #333;
}

.et_pb_text_1, .et_pb_text_2, .et_pb_text_3, .et_pb_text_4, .et_pb_text_26, .et_pb_text_27, .et_pb_text_28, .et_pb_text_29, .et_pb_text_59, .et_pb_text_60, .et_pb_text_61, .et_pb_text_62 {
    font-weight: 700;
}

/* Hide elements on iPad Air (and smaller) devices */
@media only screen and (max-width: 1024px) {
  .hide-ipad {
    display: none !important;
  }
}
