/* main contains stuff for base layout around the specific page container */

body {
    background-color: #fff;
}

main > .gradient {
    height: 340px;
    background-image: linear-gradient(to bottom, #f8f8f8 50%, #fff);
}

nav {
	background-color: #fff;
	position: absolute;
	top: 40px;
	left: 0;
	width: 100%;
	padding: 25px 50px;
	box-shadow: 0 2px 4px 0 rgba(215, 215, 215, 0.5);
	z-index: 1000;
    transition: all .3s ease, top 0s;
}

nav.transparent {
	background-color: transparent;
	box-shadow: none;
}

nav.sticky {
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 4px 0 rgba(215, 215, 215, 0.5);
    position: fixed;
    top: 0;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

nav .items-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

nav ul {
	display: flex;
	align-items: center;
	gap: 72px;
}

nav .main-nav-box {
    float: right;
}

nav .main-nav .profile-wrapper {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 20px;
	border-left: 1px solid var(--darker-gray);
	padding-left: 36px;
    cursor: auto;
}

nav .main-nav .profile-wrapper .dd-toggle .notifications {
	width: 24px;
	aspect-ratio: 1;
}

nav .main-nav .profile-wrapper .dd-toggle .avatar {
	width: 36px;
	aspect-ratio: 1;
}

nav .main-nav .profile-wrapper .dd-toggle .avatar img {
	width: 100%;
	height: 100%;
	border-radius: 14px;
    object-fit: cover;
}

nav .main-nav li {
    font-family: var(--font-subtitle);
}

nav .main-nav li:last-child {
    margin-right: 0;
}

nav .main-nav li {
    cursor: pointer;
}

nav .popover {
    width: 100%;
    max-width: initial;
    position: absolute;
    top: 25px;
    border: none;
    box-shadow: 0 30px 19px 0 rgba(147, 147, 147, 0.5);
    border-radius: 0;
    padding: 40px 60px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

nav .popover img.triangle {
    position: fixed;
    top: 50px;
}

nav .popover .category li {
    margin-bottom: 2px;
    display: block;
}

nav .popover .category li.title {
    font-family: var(--font-title);
    font-size: 14px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

ul.checkmarks li {
    background-image: url(../images/icons/checkmark.svg);
    background-repeat: no-repeat;
    background-position: 0 4px;
    padding-left: 25px;
    margin-bottom: 5px;
    display: block;
}

footer {
    padding-top: 100px;
    padding-bottom: 200px;
    background-color: #fff;
}

footer li {
	display: block;
}

footer a {
	font-family: var(--font-default);
    font-size: 16px;
	line-height: 38px;
}

footer ul.thick li a {
	font-family: var(--font-bold);
}

footer div.row:first-child {
	padding: 0 20px;
}

footer .company-name {
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 900;
    line-height: 2.38;
    margin-top: 10px;
}

footer .company-phone {
    font-family: var(--font-default);
	font-size: 28px;
    margin-top: 10px;
}

footer .follow-container .social-links ul {
    display: flex;
    gap: 20px;
    align-items: center;
    height: 28px;
}

footer .follow-container .payment-methods ul {
    display: flex;
    gap: 20px;
    align-items: center;
    height: 32px;
}

footer .follow-container ul a {
    display: flex;
}

i.checkmark {
    background-image: url(../images/icons/checkmark.svg);
    background-repeat: no-repeat;
    background-position: 0 2px;
    padding-left: 25px;
}

ul.btn-checkboxes {
    display: flex;
    flex-direction: row;
    gap: 10px;
    max-width: 100%;
    overflow: auto;
}

ul.btn-checkboxes li {
    font-size: 14px;
    padding: 12px 15px;
    border-radius: 7px;
    cursor: pointer;
    font-family: var(--font-button);
    font-weight: bold;
    transition: .4s ease-in-out;
    border: solid 1px var(--primary);
    color: var(--primary) !important;
}

ul.btn-checkboxes li:hover {
    /* make the change slightly more visible */
    opacity: 0.6;
}

ul.btn-checkboxes li.active {
    background-color: var(--primary);
    background-image: none;
    border: 1px solid var(--primary);
    color: #fff !important;
}

ul.btn-checkboxes li.active:hover {
    opacity: 0.8;
}

.blog-item .category {
    font-size: 12px;
    text-transform: uppercase;
    margin-top: 10px;
}

.blog-item .title {
    font-size: 20px;
    font-family: var(--font-title);
    line-height: initial;
}

.blog-item img {
    background-color: #d8d8d8;
    aspect-ratio: 1;
    width: 100%;
    border-radius: 15px;
}

.description {
    margin-bottom: 10px;
}

.description-clamped {
    -webkit-line-clamp: 4;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.faq-categories li {
    display: block;
    text-align: left;
    cursor: pointer;
}

.faq-categories li .card {
    font-family: var(--font-title);
    font-size: 16px;
    margin: 10px 0;
    padding: 10px 20px;
}

.faq-categories .active a {
    color: var(--primary) !important;
}

.faq-categories li:not(.active) .card {
    box-shadow: none;
    background-color: transparent;
}

.faq-categories li:hover .card {
    box-shadow: 0 0 14px 0 rgba(228, 228, 228, 0.5);
}

.faq-items li {
    display: block;
    text-align: left;
}

.faq-items li .card {
    font-family: var(--font-title);
    font-size: 16px;
    margin: 10px 0;
}

.faq-items li .card:after {
    content: url("data:image/svg+xml,%3Csvg width='9' height='14' viewBox='0 0 9 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.299 7.948a1.29 1.29 0 0 1-.219.174l-5.174 5.175a1.294 1.294 0 0 1-1.83-1.83l4.457-4.455-4.479-4.48A1.293 1.293 0 0 1 2.882.704L8.08 5.9a1.274 1.274 0 0 1 .595 1.11c.006.339-.118.68-.376.937z' fill='%23292828' fill-rule='nonzero'/%3E%3C/svg%3E");
    position: absolute;
    right: 20px;
    top: calc(50% - 12px);
    width: 24px;
    height: 21px;
    transition: .4s ease-in-out;
    text-align: center;
}

.faq-items li .active .card:after {
    transform: rotate(90deg);
}

.faq-items .faq-content {
    margin: 25px;
}

.image-after-text {
    width: 250px;
    margin-left: 10px;
}

.image-after-text img {
    width: 100%;
}

.modal.custom_modal .modal-content {
    padding: 40px;
    padding-top: 30px;
}

.modal.custom_modal h3 {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

.modal.custom_modal .modal-content .btn-primary {
    margin-bottom: 0;
}

.modal.custom_modal .btn {
    width: fit-content;
    margin: 20px auto 0;
}

.modal.custom_modal .btn-primary {
    width: fit-content;
    margin: 0 auto;
    margin-top: 27px;
    margin-bottom: 27px;
}

.monthly-day-event {
    padding: 1px;
}

.monthly-day-title-wrap div {
    color: var(--dark-gray);
}

.monthly-day, .monthly-day-blank {
    box-shadow: none;
}

.monthly-day-title-wrap {
    border-top: 1px solid var(--gray);
    padding-top: 5px;
    border-bottom: none;
}

.monthly-prev {
    right: 32px;
    left: unset;
}

.monthly-prev, .monthly-next {
    opacity: 1;
    border-radius: 50%;
    border: 1px solid var(--gray);
    width: 30px;
    height: 30px;
    top: calc(50% - 15px);
}

.monthly-header-title a:hover {
    background: var(--primary);
}

.monthly-day-blank {
    background-color: #fff;
}

.monthly-prev:after, .monthly-next:after {
    border-color: var(--primary);
    top: 0;
    left: 1px;
    margin: 10px;
    width: 10px;
    height: 10px;
}

.monthly-header-title a:last-of-type {
    border-radius: 1em;
}

.monthly-reset {
    margin-left: 15px;
    border: 1px solid var(--gray) !important;
    font-family: var(--font-default);
    padding: 0 10px !important;
}

.monthly-day .monthly-event-indicator {
    background-color: transparent;
    padding: 0;
}

.monthly-day .monthly-event-indicator {
    margin-top: -10px;
}

.monthly-day-event > .monthly-indicator-wrap {
    height: 1em;
    position: absolute;
    bottom: -6px;
    width: 100%;
}

.monthly-today.monthly-day-event > .monthly-indicator-wrap {
    /*display: none;*/
}

.monthly .dot,
.calendar .dot {
    width: 4px;
    height: 4px;
    display: inline-block;
    border-radius: 50%;
    vertical-align: middle;
}

.monthly .dot.pending,
.calendar .dot.pending {
    background-color: var(--gray);
}

.monthly .dot.confirmed,
.calendar .dot.confirmed {
    background-color: var(--primary);
}

.monthly .monthly-today .dot.confirmed {
    background-color: white;
}

.monthly-next:after {
    left: -3px;
}

.monthly-header-title {
    text-align: left;
    text-transform: capitalize;
    font-family: var(--font-bolder);
    font-size: 16px;
}

.monthly-header-title-date, .monthly-header-title-date:hover {
    color: var(--blue) !important;
}

.monthly-header-title-date, .monthly-header-title-date:hover {
    background: none !important;
    border: none !important;
}

.monthly-header-title a:link, .monthly-header-title a:visited {
    padding: 0;
}

.monthly-day-event > .monthly-day-number {
    top: initial;
    left: initial;
    text-align: center;
    width: 100%;
    padding: 10px 0;
    position: relative;
    aspect-ratio: 1;
    height: auto;
}

.monthly-today .monthly-day-number {
    border-radius: 50%;
    height: 100%;
    background-color: var(--primary);
}

.name {
    font-family: var(--font-title);
    font-size: 20px;
}

.quantity-box {
    width: 100px;
    height: 38px;
    background: var(--white);
    border: 1px solid var(--gray);
    border-radius: 7px;
    padding: 0 7px;
}

.quantity-box .dec,
.quantity-box .inc {
    width: 25px;
    display: block;
    float: left;
    line-height: 38px;
    cursor: pointer;
    text-align: center;
    font-size: 18px;
    font-family: var(--font-bold);
    color: var(--primary);
    user-select: none;
}

.quantity-box:focus-within {
    border: 1px solid var(--primary);
}

.quantity-box input {
    width: 34px;
    float: left;
    height: 38px;
    padding: 0;
    text-align: center;
    font-size: 16px;
    font-family: var(--font-bolder);
    background-color: transparent;
}

.quantity-box input:focus {
    outline: none;
}

.results .card {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.results .card .subjects img {
    margin-right: 5px;
}

.results .card .content {
    flex-grow: 1;
}

.subjects {
    margin-bottom: 10px;
}

.subscribe {
    background-color: var(--secondary);
    width: 100%;
    margin-top: 20px;
    padding: 30px 80px;
    color: #fff;
    text-align: left;
}

.subscribe .fixed-container {
    background-color: transparent;
    padding-left: 60px;
    padding-right: 60px;
}

.subscribe .title {
    font-size: 24px;
    line-height: 38px;
    margin-bottom: 10px;
}

.subscribe .subscribe-row {
    display: flex;
    flex-direction: row;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
}

.subscribe input {
    border-bottom-right-radius: 0;
    width: 300px;
    border-top-right-radius: 0;
    padding-left: 15px;
}

.text-before-image {
    flex-grow: 1;
    margin-right: 10px;
}

.text-with-image {
    display: flex;
    flex-direction: row;
    text-align: left;
}

.tooltip {
    position: relative;
    opacity: 1;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    z-index: 1;
}

.tooltip-title {
    font-family: var(--font-bold);
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--pink);
}

.tooltipster-content {
    background-color: #fff;
    border: 1px solid #e6e6e6;
    color: var(--font-colour);
    box-shadow: 0 2px 4px 0 rgba(232, 232, 232, 0.5);
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 14px;
    width: fit-content;
}

.tooltipster-follower .tooltipster-box {
    background: unset;
    border: unset;
    border-radius: unset;
}

.tooltipster-follower .tooltipster-content {
    color: var(--font-colour);
    line-height: inherit;
    padding: 5px 10px;
}

.video-wrapper {
    aspect-ratio: 16 / 9;
    display: flex;
    cursor: pointer;
    background-size: cover;
}

.video-wrapper img.play {
    margin: auto;
    width: 15%;
    transition: .4s ease-in-out;
}

.video-wrapper:hover img.play {
    scale: 1.1;
}

/* NOTE: new styling from here */

.description ul li {
	display: list-item;
	padding-left: 28px;
}

.description ul li:before {
	content: '';
	display: block;
	width: 8px;
	aspect-ratio: 1;
	border-radius: 50%;
	background-image: linear-gradient(to right, var(--gradient-start) -29%, var(--gradient-center) 70%, var(--gradient-end) 183%);
	position: absolute;
	top: 10px;
	left: 10px;
}

.description.description-wrapper ul li:before {
    top: 12px;
}

.login-header {
	padding: 8px 50px;
	display: flex;
	justify-content: end;
	gap: 20px;
	background-color: var(--clay);
}

.login-header a {
	font-family: var(--font-bold);
	color: #fff;
}

small.padded {
    -webkit-transform: translateY(-8px);
    -ms-transform: translateY(-8px);
    transform: translateY(-8px);
    margin-bottom: 12px;
    display: inline-block;
}

small.offset {
    -webkit-transform: translateY(-8px);
    -ms-transform: translateY(-8px);
    transform: translateY(-8px);
    display: inline-block;
}