.sec-routine-list {
    height: 100vh;
}

.sec-routine-list_sec {
    height: 100%;
    margin-bottom: 32px;
}

.routine-list_header.nav-scroll {
    left: inherit !important;
    right: inherit !important;
    width: 100%;
    background-color: var(--bg-periwinkle) !important;
}

.routine-list_header {
    background-color: var(--bg-periwinkle);
}

.routine-list_header .routine-list_header_top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    background-color: var(--bg-periwinkle);
}

.routine-list_header .categories_tabs_nav-scroll_border {
    border-bottom: 4px solid #333;
}

.routine-list_header .routine-list_header_top .routine-list_header_top_list,
.routine-list_header .routine-list_header_bottom .routine-list_header_bottom_left .routine-list_header_bottom_list .routine-list_header_bottom_list_inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.routine-list_header .routine-list_header_bottom .routine-list_header_bottom_left .routine-list_header_bottom_list {
    display: flex;
    align-items: center;
    height: 100%;
}

.routine-list_header .routine-list_header_bottom .routine-list_header_bottom_left .routine-list_header_bottom_list .routine-list_header_bottom_list_inner {
   flex-wrap: wrap; 
}

.routine-list_header .routine-list_header_top .routine-list_header_top_list .routine-list_header_top_item .active {
    background-color: #d8dcff;
    border-color: var(--text-black) !important;
}

.routine-list_header .routine-list_header_top .routine-list_header_top_list .routine-list_header_top_item .active img {
    filter: brightness(0) saturate(100%) invert(50%);
}

.routine-list_header .routine-list_header_top .routine-list_header_top_list .routine-list_header_top_item .active span {
    color: #808080 !important;
}

.routine-list_header .routine-list_header_bottom .routine-list_header_bottom_left .routine-list_header_bottom_list .routine-list_header_bottom_item {
    margin-right: 14px;
}

.routine-list_header .routine-list_header_top .routine-list_header_top_list .routine-list_header_top_item .routine-list_header_top_link {
    color: var(--text-black);
    text-transform: capitalize;
    padding: 8px 6px;
    display: inline-block;
    border-radius: 10px;
    margin: 10px 0;
    border: 2px solid var(--bg-periwinkle); 
    transition: all 0.3s ease;

    width: 140px;
    text-align: center;
}

/* .routine-list_tooltip {
    position: absolute;
    width: 100%;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-white);
    background-color: var(--text-black);
    opacity: 0;
    visibility: hidden;
}

.routine-list_header_top_link:hover + .routine-list_tooltip {
    opacity: 1;
    visibility: visible;
} */

.routine-list_header .routine-list_header_top .routine-list_header_top_list .routine-list_header_top_item .routine-list_header_top_link img {
    width: 50px;
    display: block;
    margin: 0 auto 4px auto;
}

.routine-list_header .routine-list_header_top .routine-list_header_top_list .routine-list_header_top_item .routine-list_header_top_link:hover {
    color: #808080;
    background-color: #d8dcff;
}

.routine-list_header .routine-list_header_top .routine-list_header_top_list .routine-list_header_top_item .routine-list_header_top_link:hover img {
    filter: brightness(0) saturate(100%) invert(50%);
}

.routine-list_header .routine-list_header_top .routine-list_header_top_list .routine-list_header_top_item .routine-list_header_top_link span {
    font-weight: 600;
    font-size: 20px;
}

.routine-list_header .routine-list_header_bottom {
    /* display: flex;
    align-items: center;
    justify-content: space-between; */


    display: grid;
    grid-template-columns: 1fr 430px;
    margin: 20px 100px;
    padding: 4px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 15px 12px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.routine-list_header .routine-list_header_bottom .routine-list_header_bottom_left .routine-list_header_bottom_list .routine-list_header_bottom_item .routine-list_header_bottom_link {
    color: var(--text-white);
    background-color: var(--text-black);
    padding: 4px 20px;
    padding: 4px 16px;
    display: inline-block;
    border-radius: 8px;
    margin: 10px 0;
    transition: all 0.3s ease;
    text-transform: capitalize;
    font-weight: 600;
}

.routine-list_header .routine-list_header_bottom .routine-list_header_bottom_left .routine-list_header_bottom_list .routine-list_header_bottom_item .active {
    transform: scale(1.1);
    color: var(--text-black);
    background-color: var(--bg-periwinkle);
    margin: 0 !important;
}

.routine-list_header .routine-list_header_bottom .routine-list_header_bottom_left .routine-list_header_bottom_list .routine-list_header_bottom_item {
    transition: all 0.3s ease;
    display: inline;
}

.routine-list_header .routine-list_header_bottom .routine-list_header_bottom_left .routine-list_header_bottom_list .routine-list_header_bottom_item:hover .routine-list_header_bottom_link {
    transform: scale(1.1);
    margin: 0 4px;
}

.routine-list_header .routine-list_header_bottom .routine-list_header_bottom_left .routine-list_header_bottom_list .routine-list_header_bottom_title {
    margin-right: 15px;
}

.routine-list_header .routine-list_header_bottom .routine-list_header_bottom_left .routine-list_header_bottom_list .routine-list_header_bottom_title,
.routine-list_header .routine-list_header_bottom .routine-list_header_bottom_right .routine-list_header_bottom_title {
    padding: 0;
    color: var(--text-black);
    font-weight: 600;
    font-size: 28px;
}

.routine-list_header .routine-list_header_bottom .routine-list_header_bottom_right {
    display: flex;
    align-items: center;
}

.routine-list_header .routine-list_header_bottom .routine-list_header_bottom_right .routine-list_header_bottom_title {
    margin-right: 15px;
}

.routine-list_header_bottom_right_desktop {
    margin-right: 16px;
    font-size: 20px;
    font-weight: 700;
}

.routine-list_inner {
    position: relative;
    padding: 0px 0 32px 0;
    z-index: 0;
}

.routine-list_inner .routine-list_swiper {
    margin: 0 100px;
}

.routine-list_inner .routine-list_swiper .swiper-wrapper {
    align-items: flex-start !important;
    transform: none;
}

.routine-list_inner .routine-list_swiper .swiper-wrapper .swiper-slide img {
    width: 100%;
    border-radius: 16px 16px;
    cursor: pointer;
}

.routine-list_inner .routine-list_swiper .swiper-wrapper .swiper-slide .play_icon {
    background-color: rgb(215 207 203 / 80%);
    border-radius: 50%;
    padding: 10px 16px;
    border: 1px solid var(--text-black);
    color: #89817e;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    cursor: pointer;
}

.routine-list_inner .routine-list_swiper .swiper-wrapper .swiper-slide .easy {
    color: #2b833b;
    font-weight: 700;
    font-size: 20px;
}

.routine-list_inner .routine-list_swiper .swiper-wrapper .swiper-slide .min {
    color: var(--text-white);
    font-weight: 700;
    font-size: 20px;
}

.routine-list_inner .routine-list_swiper .swiper-wrapper .swiper-slide .routine-list_swiper_inner {
    position: relative;
    padding-top: 2px;
}

.routine-list_inner .routine-list_swiper .swiper-wrapper .swiper-slide .routine-list_swiper_inner .routine-list_swiper_inner_title {
    margin-bottom: 8px;
    font-weight: 700;
    margin-top: 12px;
    font-size: 24px;
    color: var(--text-black);
}

.routine-list_inner .routine-list_swiper .swiper-wrapper .swiper-slide .routine-list_swiper_inner .routine-list_swiper_inner_content {
    line-height: 1.2;
}

.routine-list_header_top_list-wrapper {
    overflow: hidden;
    height: auto;
    transition: height 0.3s ease;
}

.routine-list_header_top_left {
    position: relative;
    width: 100%;
}

.routine-readmore-btn {
    position: absolute;
    bottom: -15px;
    right: 50%;
    transform: translateX(-50%);
    color: var(--text-white);
    background-color: var(--text-black);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.routine-list_header_top_right .routine-readmore-link {
    position: relative;
    display: inline-block;
    background-color: transparent;
    border: 0;
    width: 90px;
    padding: 0;
    color: #0f10a1;
    margin-top: 44px;
    font-weight: 700;
    text-align: center;
}

.routine-list_header_top_right .routine-readmore-link::after {
    content: '';
    position: absolute;
    width: 60px;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    border-bottom: 4px solid #3a3f94;
    border-radius: 4px;
}

.routine-list_swiper_inner_d-flex {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 8px;
    border-radius: 10px;
    background-color: var(--text-black);
    /* background-color: #ccc; */
    margin-top: 8px;
}

/* .routine-list_swiper_inner_d-flex::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgb(0, 0, 0, 0.5);
    z-index: 1;
    border-radius: 10px;
}

.routine-list_swiper_inner_d-flex .easy,
.routine-list_swiper_inner_d-flex .min {
    z-index: 2;
} */

.routine-list_swiper_inner-read-more p {
    display: inline-block;
    font-size: 20px;
    font-weight: 600;
}

.read-more-btn {
    display: inline-block;
    margin-left: 4px;
    color: var(--link-color);
    cursor: pointer;
    font-weight: bold;
    text-decoration: underline;
}

/* .routine-list_swiper_inner_tooltip {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
}

.routine-list_swiper_inner_tooltip .fa-info {
    cursor: pointer;
    color: var(--text-white);
    background-color: #16a34a;
    border-radius: 50%;
    font-size: 14px;
    padding: 5px 9px;
}

.routine-list_swiper_inner_tooltip_inner {
    position: absolute;
    top: 0;
    right: 30px;
    color: var(--text-white);
    background: #333;
    padding: 5px 10px;
    border-radius: 4px;
    z-index: 10;
    white-space: nowrap;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.routine-list_swiper_inner_tooltip_inner::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-top: solid transparent 5px;
    border-right: solid transparent 5px;
    border-bottom: solid transparent 5px;
    border-left: solid #333 5px;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
}

.routine-list_swiper_inner_tooltip .fa-info:hover + .routine-list_swiper_inner_tooltip_inner {
    opacity: 1;
    visibility: visible;
} */

.routine-list_inner  .routine-list_video .swiper-button-next,
.routine-list_inner  .routine-list_video .swiper-button-prev {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: none;
    background-color: transparent !important;
    z-index: 1 !important;
    border-radius: 50%;
}

.routine-list_inner .routine-list_video .swiper-button-next:hover,
.routine-list_inner .routine-list_video .swiper-button-prev:hover {
    padding: 0;
}

.routine-list_inner .routine-list_video .swiper-button-next:after,
.routine-list_inner .routine-list_video .swiper-button-prev:after {
    width: 100%;
    height: 100%;
    font-size: 20px;
    color: var(--text-white);
    background-color: var(--text-black);
    font-weight: bolder;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
} 

.routine-list_inner .routine-list_video .swiper-button-next {
    right: 82px;
} 

.routine-list_inner .routine-list_video .swiper-button-prev {
    left: 82px;
}

.routine-list_inner .routine-list_swiper .swiper-wrapper .row .swiper-slide {
    border-radius: 16px;
    padding: 15px 15px;
    box-shadow: 0 10px 15px 12px rgb(0 0 0 / 0.1), 0 4px 6px -10px rgb(0 0 0 / 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    border: 1px solid var(--text-white);
}

.routine-list_inner .routine-list_swiper .swiper-wrapper .row .swiper-slide:hover {
    cursor: pointer;
    border-color: #ccc;
    box-shadow: 0px 4px 8px rgba(38, 38, 38, 0.2);
}

.routine-list_inner .routine-list_swiper .swiper-wrapper .row .swiper-slide img {
    transition: transform 0.5s ease;
}

.more_btn,
.less_btn {
    text-align: center;
}

.more_btn .down-arrow,
.less_btn .up-arrow {
    cursor: pointer;
    text-align: center;
    background-color: var(--bg-periwinkle);
    padding: 10px 40px;
    border-radius: 50px;
    display: inline-block;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid var(--bg-periwinkle);
}

.more_btn .down-arrow:hover, 
.less_btn .up-arrow:hover {
    color: var(--text-black);
    background-color: var(--text-white);
    border-color: var(--text-black);
    box-shadow: 0 0 0.5em 0em #5e5e5e;
}

.hidden-slide {
    display: none;
}

.custom-container {
    width: 100%;
    max-width: 1500px;
}

.routine-list_header .categories_tabs_nav-scroll_border .custom-container {
    max-width: 1300px;
}

.routine-list_header_top_left .routine-swiper {
    z-index: 0;
}

.routine-list_header_top_left .routine-swiper .swiper-wrapper .swiper-slide {
    width: 140px !important;
}

.routine-list_header_top_left .routine-swiper .swiper-wrapper .swiper-slide .routine-list_header_top_link {
    color: var(--text-black);
    text-transform: capitalize;
    padding: 8px 6px 0 6px;
    display: inline-block;
    border-radius: 10px;
    margin: 2px 0;
    border: 2px solid var(--bg-periwinkle);
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.routine-list_header_top_left .routine-swiper .swiper-wrapper .swiper-slide .routine-list_header_top_link img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
    margin: 0 auto 4px auto;
}

.routine-list_header_top_left .routine-swiper .swiper-wrapper .swiper-slide .routine-list_header_top_link span {
    font-size: 16px;
    font-weight: 600;
    overflow-wrap: break-word;
    word-break: break-word;
    line-height: 1;
    display: inline-block;
}

.routine-list_header_top_left .routine-swiper .swiper-wrapper .swiper-slide .routine-list_header_top_link:hover {
    color: #808080;
    background-color: #d8dcff;
}

.routine-list_header_top_left .routine-swiper .swiper-wrapper .swiper-slide .routine-list_header_top_link:hover img {
    filter: brightness(0) saturate(100%) invert(50%);
}

.routine-list_header_top_left .routine-swiper .swiper-wrapper .swiper-slide .active {
    color: #808080;
    background-color: #d8dcff;
    border-color: var(--text-black) !important;
}

.routine-list_header_top_left .routine-swiper .swiper-wrapper .swiper-slide .active img {
    filter: brightness(0) saturate(100%) invert(50%);
}

.routine-list_header_top_left .swiper-button-prev {
    left: -12px;
}

.routine-list_header_top_left .swiper-button-next {
    right: 0;
}

.routine-list_header_top_left .swiper-button-prev,
.routine-list_header_top_left .swiper-button-next {
    box-shadow: none;
    width: 32px;
    height: 32px;
    background-color: var(--text-black) !important;
    border-radius: 50%;
    z-index: 5;
}

.routine-list_header_top_left .swiper-button-prev:after,
.routine-list_header_top_left .swiper-button-next::after {
    font-size: 16px;
    font-weight: 700;
}

.routine-list_card {
	position: relative;
	display: inline-block;
	-webkit-transition: 0.6s;
	transition: 0.6s;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	width: 100%;
	height: 90px;
}

.routine-list_card .front, 
.routine-list_card .backside {
	height: inherit;
	width: inherit;
	overflow: hidden;
	position: absolute;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	width: 100%;
	height: 100%;
	border-radius: 2px;
}

.routine-list_card .front .flipButton, 
.routine-list_card .backside .flipButton {
	cursor: pointer;
	display: block;
	text-align: center;
}

.routine-list_card .front {
    color:#000;
	z-index: 2;
}

.routine-list_card .backside {
	-webkit-transform: rotateY(180deg);
	transform: rotateY(180deg);
    color: #000;
    overflow-y: scroll;
}

.routine-list_card.flip {
	-webkit-transform: rotateY(180deg);
	transform: rotateY(180deg);
}

.routine-list_card .front .front-text, 
.routine-list_card .backside .back-text {
    font-size: 18px;
    font-weight: 700;
}

.routine-list_card .front .flipButton, 
.routine-list_card .backside .flipButton {
    cursor: pointer;
    color: var(--link-color);
    font-weight: 700;
    text-decoration: underline;
    display: inline-block;
    margin-left: 2px;
}

.play_button_video {
    position: relative;
    cursor: pointer;
}

.play_button_video::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgb(0, 0, 0, 0.5);
    border-radius: 16px;
    transition: transform 0.5s ease;
    opacity: 0;
    visibility: hidden;
}

.play_button_video:hover::after {
    opacity: 1;
    visibility: visible;
}

.play_button_video .play_icon {
    padding: 0 !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.play_button_video:hover .play_icon {
    padding: 10px 16px !important;
    opacity: 1;
    visibility: visible;
}

.sec-routine-list .routine-list .nav-scroll-transtion {
    transition: inherit;
}

.routine-list_inner .routine-list_video .routine-list_swiper .swiper-wrapper .swiper-slide_new {
    border-radius: 0;
    box-shadow: none;
    border: 0;
    padding: 0;
    cursor: default;
}

.routine-list_inner .routine-list_video .routine-list_swiper .swiper-wrapper .swiper-slide_new:hover {
    box-shadow: none;
}

.routine-list_inner .routine-list_video .routine-list_swiper .swiper-wrapper .swiper-slide .routine-list_card_new {
    height: 100%;
    margin-bottom: 20px;
    border-radius: 16px;
    padding: 15px 14px;
    box-shadow: 0 10px 15px 12px rgb(0 0 0 / 0.1), 0 4px 6px -10px rgb(0 0 0 / 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    border: 1px solid var(--text-white);
    transition: box-shadow 0.3s ease, transform 0.6s ease;
    cursor: default;
}

.routine-list_inner .routine-list_video .routine-list_swiper .swiper-wrapper .swiper-slide .routine-list_card_new:hover {
    border-color: #ccc;
    box-shadow: 0px 4px 8px rgba(38, 38, 38, 0.2);
}

.routine-list_inner .routine-list_video .routine-list_swiper .swiper-wrapper .swiper-slide .routine-list_card .backside {
    overflow: auto;
    padding-right: 4px;
}

.routine-list_inner .routine-list_video .routine-list_swiper .swiper-wrapper .swiper-slide_new .routine-list_card .front, 
.routine-list_inner .routine-list_video .routine-list_swiper .swiper-wrapper .swiper-slide_new .routine-list_card .backside {
    position: relative;
    cursor: default;
}

.routine-list_inner .routine-list_video .routine-list_swiper .swiper-wrapper .swiper-slide_new .routine-list_card .backside {
    position: absolute;
    top: 15px;
    bottom: 15px;
    width: 92%;
    height: 92%;
}

.nav-scroll .routine-list_header_bottom {
    margin: 20px 100px 0 100px;
}

.routine-list_inner .routine-list_video .routine-list_swiper .swiper-wrapper .video_list_div_cls {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
}

.toggle-medallions-btn {
    display: none;
}

@media (min-width: 1521px) and (max-width: 1560px) {
    .mail_video_modal_class_redesign.modal {
        margin-top: -2px !important;
    }
}

@media (min-width: 993px) and (max-width: 1560px) {
    .mail_video_modal_class_redesign .video-body_redesign {
        height: calc(100vh - 145px) !important;
    }
}

@media (min-width: 993px) and (max-width: 1520px) {
    .mail_video_modal_class_redesign.modal {
        margin-top: -3px !important;
    }
}

@media (min-width: 992px) and (max-width: 1460px) {
    .routine-list_header .routine-list_header_bottom {
        margin: 12px 0px 20px 0;
    }

    .routine-list_inner .routine-list_swiper {
        margin: 0;
    }
}

@media (min-width: 1200px) and (max-width: 1460px) {
    .routine-list_header .routine-list_header_bottom .routine-list_header_bottom_left .routine-list_header_bottom_list .routine-list_header_bottom_item .routine-list_header_bottom_link {
        margin: 4px 0;
    }

    .routine-list_inner .routine-list_swiper .swiper-wrapper .swiper-slide .routine-list_swiper_inner .routine-list_swiper_inner_title {
        margin: 8px 0;
    }
}

@media (min-width: 1366px) and (max-width: 1460px) {
    .custom-container {
        max-width: 1150px !important;
    }

    .routine-list_header .categories_tabs_nav-scroll_border .custom-container {
        max-width: 1160px !important;
    }

    .routine-list_header_top_left .routine-swiper .swiper-wrapper .swiper-slide {
        width: 125px !important;
    }

    .routine-list_header_top_left .routine-swiper .swiper-wrapper .swiper-slide .routine-list_header_top_link span {
        font-size: 15px;
    }

    .routine-list_header_top_left .routine-swiper .swiper-wrapper .swiper-slide .routine-list_header_top_link {
        padding: 2px 2px 0 2px;
    }

    .routine-list_inner .routine-list_video .routine-list_swiper .swiper-wrapper .swiper-slide_new .routine-list_card .front .routine-list_swiper_inner .routine-list_swiper_inner_d-flex>span  {
        font-size: 17px;
    }

    .routine-list_header_top_left .routine-swiper .swiper-wrapper .swiper-slide .routine-list_header_top_link img {
        width: 40px;
    }

    /* .routine-list_header_bottom_right_desktop {
        font-size: 18px;
        margin-right: 8px;
    } */
}

@media (min-width: 1200px) and (max-width: 1365px) {
    .custom-container {
        max-width: 1000px !important;
    }

    .routine-list_header .categories_tabs_nav-scroll_border .custom-container {
        max-width: 1004px !important;
    }

    .routine-list_header_top_left .routine-swiper .swiper-wrapper .swiper-slide {
        width: 120px !important;
    }

    .routine-list_header_top_left .routine-swiper .swiper-wrapper .swiper-slide .routine-list_header_top_link span {
        font-size: 14px;
    }

    .routine-list_header_top_left .routine-swiper .swiper-wrapper .swiper-slide .routine-list_header_top_link {
        padding: 8px 2px 0 2px;
    }

    .routine-list_header_top_left .routine-swiper .swiper-wrapper .swiper-slide .routine-list_header_top_link img {
        width: 40px;
    }

    .routine-list_inner .routine-list_video .routine-list_swiper .swiper-wrapper .swiper-slide_new .routine-list_card .front .routine-list_swiper_inner .routine-list_swiper_inner_d-flex>span  {
        font-size: 14px;
    }

    .routine-list_inner .routine-list_swiper .swiper-wrapper .swiper-slide .routine-list_swiper_inner .routine-list_swiper_inner_title {
        font-size: 22px;
    }

    .routine-list_header .routine-list_header_bottom .routine-list_header_bottom_left .routine-list_header_bottom_list .routine-list_header_bottom_title, .routine-list_header .routine-list_header_bottom .routine-list_header_bottom_right .routine-list_header_bottom_title {
        font-size: 22px;
    }

    .routine-list_header_bottom_right_desktop {
        width: 96px;
    }
}

@media (min-width: 993px) and (max-width: 1056px) {
    /* .sec-routine-list_sec .routine-list .nav-scroll {
        top: -42px !important;
    } */

    .sec-routine-list_sec .nav-scroll_login.nav-scroll {
        top: -42px !important;
    }
}

@media (min-width: 992px) and (max-width: 1365px) {
    .routine-list_header_bottom_right_desktop .routine-list_header_bottom_right_desktop_span {
        display: none;
    }

    .routine-list_header .routine-list_header_bottom {
        grid-template-columns: 1fr 350px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .routine-list_header .categories_tabs_nav-scroll_border .custom-container {
        max-width: 840px !important;
    }

    .routine-list_header_top_left .routine-swiper .swiper-wrapper .swiper-slide .routine-list_header_top_link {
        padding: 8px 4px 0 4px;
    }

    .routine-list_header_top_left .routine-swiper .swiper-wrapper .swiper-slide .routine-list_header_top_link span {
        font-size: 15px;
    }

    .routine-list_header_top_left .routine-swiper .swiper-wrapper .swiper-slide {
        width: 132px !important;
    }

    .routine-list_header_bottom_right_desktop {
        /* margin-right: 8px;
        font-size: 14px; */
    }

    .routine-list_header .routine-list_header_bottom .routine-list_header_bottom_right {
        display: flex;
        align-items: center !important;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .routine-list_card .front .front-text, .routine-list_card .backside .back-text {
        font-size: 16px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .routine-list_header .routine-list_header_bottom .routine-list_header_bottom_left .routine-list_header_bottom_list
    /* .routine-list_header .routine-list_header_bottom .routine-list_header_bottom_right  */
    {
        display: block;
    }

    .routine-list_header .routine-list_header_bottom .routine-list_header_bottom_right {
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }

    .routine-list_header .routine-list_header_bottom .routine-list_header_bottom_right .routine-list_header_bottom_title {
        margin-bottom: 4px;
    }

    .routine-list_header .routine-list_header_bottom .routine-list_header_bottom_left .routine-list_header_bottom_list .routine-list_header_bottom_title, 
    .routine-list_header .routine-list_header_bottom .routine-list_header_bottom_right .routine-list_header_bottom_title {
        margin-right: 0;
        text-align: center;
        font-size: 20px;
    }

    .routine-list_header .routine-list_header_bottom .routine-list_header_bottom_left .routine-list_header_bottom_list .routine-list_header_bottom_item .routine-list_header_bottom_link {
        margin: 4px 0;
        font-size: 14px;
        padding: 2px 14px;
    }

    .custom-select,
    .custom-options {
        font-size: 14px;
    }

    .routine-list_inner .routine-list_swiper .swiper-wrapper .swiper-slide .routine-list_swiper_inner .routine-list_swiper_inner_title {
        font-size: 20px;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .mail_video_modal_class_redesign.modal {
        margin-top: -18px !important;
    }

    .mail_video_modal_class_redesign .video-body_redesign {
        height: calc(100vh - 130px) !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .routine-list_header .categories_tabs_nav-scroll_border .custom-container {
        max-width: 542px !important;
    }
    
    .routine-list_header .routine-list_header_bottom {
        margin: 32px 0px 20px 0px;
    }

    .routine-list_inner .routine-list_swiper {
        margin: 0px;
    }

    .routine-list_header_top_left .routine-swiper .swiper-wrapper .swiper-slide .routine-list_header_top_link {
        padding: 8px 4px 0 4px;
    }

    .routine-list_header_top_left .routine-swiper .swiper-wrapper .swiper-slide .routine-list_header_top_link span {
        font-size: 15px;
    }

    .routine-list_header_top_left .routine-swiper .swiper-wrapper .swiper-slide {
        width: 128px !important;
    }

    .routine-list_header_top_left .routine-swiper .swiper-wrapper .swiper-slide .routine-list_header_top_link img {
        width: 40px;
    }

    .routine-list_header .routine-list_header_bottom .routine-list_header_bottom_left .routine-list_header_bottom_list .routine-list_header_bottom_item {
        margin-right: 6px;
    }

    .routine-list_header .routine-list_header_bottom .routine-list_header_bottom_left .routine-list_header_bottom_list .routine-list_header_bottom_item .routine-list_header_bottom_link {
        margin: 3px 0;
    }

    .routine-list_header .routine-list_header_bottom .routine-list_header_bottom_left {
        margin-bottom: 8px;
    }

    .routine-list_inner .routine-list_video .routine-list_swiper .swiper-wrapper .swiper-slide_new .routine-list_card .front .routine-list_swiper_inner .routine-list_swiper_inner_d-flex>span  {
        font-size: 16px;
    }

    .routine-list_inner .routine-list_swiper .swiper-wrapper .swiper-slide .routine-list_swiper_inner .routine-list_swiper_inner_title {
        font-size: 24px;
    }

    .routine-list_header_bottom .routine-list_header_bottom_right .intensity-drpdown_cls .custom-select-wrapper {
        margin: 0 auto;
    }

    .custom-select-wrapper {
        margin: 0 auto;
    }

    .routine-list_header .routine-list_header_bottom .routine-list_header_bottom_left .routine-list_header_bottom_list .routine-list_header_bottom_list_inner {
        justify-content: center;
    }

    .routine-list_header .routine-list_header_bottom {
        margin: 12px 0px 20px 0;
    }

    .routine-list_header_top_right .routine-readmore-link {
        margin-top: 34px;
        margin-left: 20px;
    }

    .routine-list_header_top_left .swiper-button-next {
        right: -12px;
    }
}

@media (min-width: 568px) and (max-width: 992px) {
    .fam_word_title {
        display: none;
    }
}

@media (min-width: 568px) and (max-width: 767px) {
    .routine-list_header .categories_tabs_nav-scroll_border .custom-container {
        /* max-width: 420px !important; */
        max-width: 100% !important;
    }

    .routine-list_header_top_left .routine-swiper .swiper-wrapper .swiper-slide .routine-list_header_top_link {
        /* padding: 2px 2px 0 2px; */
        padding: 2px 6px;
        margin: 2px 0;
    }

    .routine-list_header_top_left .routine-swiper .swiper-wrapper .swiper-slide .routine-list_header_top_link img {
        width: 32px;
        margin: 0 auto;
    }

    .routine-list_header_top_left .routine-swiper .swiper-wrapper .swiper-slide .routine-list_header_top_link span {
        font-size: 16px;
    }

    .routine-list_header_top_left .routine-swiper .swiper-wrapper .swiper-slide {
        /* width: 124px !important; */
        width: auto !important;
    }

    .routine-list_header_top_right .routine-readmore-link {
        margin-top: 20px;
    }

    .routine-list_header_top_left .swiper-button-next,
    .routine-list_header_top_left .swiper-button-prev {
        top: 42px;
    }

    .routine-list_header .routine-list_header_bottom {
        margin: 32px 0px 20px 0px;
    }

    .routine-list_inner .routine-list_swiper {
        margin: 0px;
    }

    .routine-list_inner .routine-list_video .routine-list_swiper .swiper-wrapper .swiper-slide {
        width: 100% !important;
    }

    .routine-list_inner .routine-list_swiper .swiper-wrapper .col-small {
        width: 50%;
    }

    .routine-list_inner .routine-list_video .routine-list_swiper .swiper-wrapper .swiper-slide_new .routine-list_card .front .routine-list_swiper_inner .routine-list_swiper_inner_d-flex>span  {
        font-size: 16px;
    }

    .routine-list_inner .routine-list_swiper .swiper-wrapper .swiper-slide .routine-list_swiper_inner .routine-list_swiper_inner_title {
        font-size: 20px;
    }

    .mail_video_modal_class_redesign.modal {
        margin-top: 0px !important;
    }

    .routine-list_header,
    .routine-list_header.nav-scroll {
        padding-top: 44px;
    }
}

@media (min-width: 1561px) {
    .mail_video_modal_class_redesign.modal {
        margin-top: -1px !important;
    }
}

@media (min-width: 768px) {
    .routine-list_accordion {
        display: none;
    }
}

@media (max-width: 991px) {
    .routine-list_header .routine-list_header_bottom {
        display: block;
    }
}

@media (max-width: 767px) {
    .routine-list_swiper_inner_d-flex {
        display: block;
    }

    .routine-list_inner .routine-list_video .routine-list_swiper .swiper-wrapper .swiper-slide_new .routine-list_card .front .routine-list_swiper_inner .routine-list_swiper_inner_d-flex>span {
        display: block;
    }

    .routine-list_header_top_left .routine-swiper .swiper-wrapper .swiper-slide .routine-list_header_top_link img,
    .routine-list_header_top_left .swiper-button-next, 
    .routine-list_header_top_left .swiper-button-prev {
        display: none;
    }

    .routine-list_header_top_right {
        position: absolute;
        top: 0;
        left: 15px;
    }

    .routine-list_accordion {
        display: flex;
        align-items: center;
        justify-content: space-between;
        /* margin-bottom: 6px; */
    }

    .routine-list_accordion .routine-list_header_bottom_title_inner {
        /* font-size: 20px; */
        font-size: 15px;
        font-weight: 700;
    }

    .routine-list_accordion .routine-list_header_bottom_title_down-arrow {
        /* font-size: 18px; */
        font-size: 15px;
    }

    .routine-list_accordion_inner {
        margin-top: 6px;
    }

    .routine-list_header
    /* .routine-list_header.nav-scroll  */
    {
        position: relative;
        background-color: transparent !important;
    }

    .routine-list_header.nav-scroll {
        background-color: var(--text-white) !important;
    }

    .routine-list_header .categories_tabs_nav-scroll_border {
        border-bottom: 0;
    }

    .routine-list_header_top_left,
    .routine-list_header .routine-list_header_bottom .routine-list_header_bottom_left,
    .routine-list_header .routine-list_header_bottom .routine-list_header_bottom_right {
        /* padding: 15px 15px; */
        /* padding: 10px 10px; */
        padding: 6px 6px;
        border: 2px solid var(--text-black);
        border-radius: 12px;
    }

    .routine-list_header .routine-list_header_top {
        border-radius: 12px;
    }

    .routine-list_header .routine-list_header_bottom .routine-list_header_bottom_left .routine-list_header_bottom_list,
    .routine-list_header .routine-list_header_bottom .routine-list_header_bottom_right {
        display: block;
    }

    .routine-list_header .routine-list_header_bottom {
        padding: 0;
        box-shadow: none;
        margin: 15px 0;
    }

    .routine-list_header .routine-list_header_bottom .routine-list_header_bottom_left,
    .routine-list_header .routine-list_header_bottom .routine-list_header_bottom_right {
        /* padding: 15px 15px;
        border: 2px solid var(--text-black);
        border-radius: 12px; */
        margin-bottom: 15px;
    }

    .routine-list_header_top_left .routine-swiper .swiper-wrapper {
        overflow-x: auto;
    }

    .routine-list_header_top_left .routine-swiper .swiper-wrapper::-webkit-scrollbar {
        height: 0px;
    }

    /* .routine-list_header_top_left .routine-swiper .swiper-wrapper::-webkit-scrollbar-track {
        background-color: var(--text-white);
    }

    .routine-list_header_top_left .routine-swiper .swiper-wrapper::-webkit-scrollbar-thumb {
        background-color: var(--bg-scrollbar);
    } */

    /* .routine-list_header .routine-list_header_bottom .routine-list_header_bottom_left .routine-list_header_bottom_list .routine-list_header_bottom_item .active:nth-child(1) {
        margin: 0 0 0 6px !important;
    } */

    .routine-list_header_top_left .routine-swiper .swiper-wrapper .swiper-slide .routine-list_header_top_link {
        border-color: var(--text-black);
    }

    .routine-list_header_top_left .routine-swiper .swiper-wrapper .swiper-slide {
        margin-right: 8px;
    }

    .routine-list_header_top_left .routine-swiper .swiper-wrapper .swiper-slide .routine-list_header_top_link,
    .routine-list_header .routine-list_header_bottom .routine-list_header_bottom_left .routine-list_header_bottom_list .routine-list_header_bottom_item .routine-list_header_bottom_link {
        border-radius: 6px;
    }

    .routine-list_header .routine-list_header_bottom .routine-list_header_bottom_left .routine-list_header_bottom_list .routine-list_header_bottom_list_inner {
        justify-content: center;
    }

    .routine-list_header .routine-list_header_bottom .routine-list_header_bottom_left .routine-list_header_bottom_list .routine-list_header_bottom_item .routine-list_header_bottom_link {
        margin: 4px 0;
    }

    .routine-list_header .routine-list_header_bottom .routine-list_header_bottom_left .routine-list_header_bottom_list .routine-list_header_bottom_item .routine-list_header_bottom_link {
        font-size: 16px;
        padding: 1px 8px;
    }

    .routine-list_header .routine-list_header_bottom .routine-list_header_bottom_left .routine-list_header_bottom_list .routine-list_header_bottom_title,
    .routine-list_header .routine-list_header_bottom .routine-list_header_bottom_right .routine-list_header_bottom_title {
        margin-right: 0px;
    }

    .routine-list_header_top_left .routine-swiper .swiper-wrapper .swiper-slide .routine-list_header_top_link span,
    .routine-list_header .routine-list_header_bottom .routine-list_header_bottom_left .routine-list_header_bottom_list .routine-list_header_bottom_item .routine-list_header_bottom_link,
    .custom-select,
    .custom-options {
        /* font-size: 16px; */
        font-size: 14px;
    }

    .routine-list_header.nav-scroll .routine-list_accordion_inner {
        display: none;
    }

    .routine-list_header.nav-scroll .routine-list_accordion .routine-list_header_bottom_title_down-arrow {
        transform: rotate(180deg);
    }

    .routine-list_header.nav-scroll .routine-list_header_bottom .routine-list_header_bottom_left .routine-list_header_bottom_list .routine-list_header_bottom_list_inner.routine-list_accordion_inner {
        display: none;
    }

    .routine-list_header_bottom_right_desktop {
        display: none;
    }

    .routine-list_header_top_right .routine-readmore-link {
        margin-top: 8px;
    }
}

@media (max-width: 567px) {
    /* .sec-routine-list_sec {
        padding-top: 32px;
    } */


    
    .custom-container {
        width: 100% !important;
        max-width: 100% !important;
    }

    .routine-list_header .routine-list_header_top {
        display: block;
    }

    .routine-list_header_top_right {
        text-align: center;
    }

    .routine-list_header_top_right .routine-readmore-link {
        margin: 0;
    }

    .routine-list_header_top_left .routine-swiper .swiper-wrapper .swiper-slide {
        /* width: 145px !important; */
        width: auto !important;
    }

    .routine-list_header_top_left .routine-swiper .swiper-wrapper .swiper-slide .routine-list_header_top_link {
        /* padding: 2px 2px 0 2px; */
        padding: 1px 4px;
    }

    .routine-list_header_top_left .routine-swiper .swiper-wrapper .swiper-slide .routine-list_header_top_link img {
        width: 32px;
        margin: 0 auto;
    }

    .routine-list_header_top_left .swiper-button-next {
        right: -12px;
    }

    .routine-list_header .routine-list_header_bottom {
        margin: 32px 0px 20px 0px;
    }

    .routine-list_inner .routine-list_swiper {
        margin: 0;
    }

    .routine-list_header .routine-list_header_bottom {
        /* margin: 16px 0px 0px 0px;
        padding: 8px 12px; */

        margin: 0px;
        padding: 8px 0px;
    }

    .routine-list_header .routine-list_header_bottom .routine-list_header_bottom_left {
        margin-bottom: 8px;
    }

    .routine-list_header .routine-list_header_bottom .routine-list_header_bottom_left .routine-list_header_bottom_list .routine-list_header_bottom_title {
        width: 100%;
        text-align: center;
        margin-right: 0;
    }

    .routine-list_header .routine-list_header_bottom .routine-list_header_bottom_left .routine-list_header_bottom_list .routine-list_header_bottom_item {
        margin-right: 6px;
    }

    .routine-list_header .routine-list_header_bottom .routine-list_header_bottom_left .routine-list_header_bottom_list .routine-list_header_bottom_item .routine-list_header_bottom_link {
        margin: 3px 0;
        padding: 4px 12px;
    }

    .routine-list_header .routine-list_header_bottom .routine-list_header_bottom_right {
        display: block;
    }

    .routine-list_header .routine-list_header_bottom .routine-list_header_bottom_right .routine-list_header_bottom_title {
        margin-right: 0;
        text-align: center;
    }

    .routine-list_header .routine-list_header_bottom .routine-list_header_bottom_right .custom-select-wrapper {
        margin: 0 auto;
    }

    .routine-list_inner .routine-list_video .routine-list_swiper .swiper-wrapper .swiper-slide {
        width: 100% !important;
    }

    .routine-list_inner .routine-list_video .routine-list_swiper .swiper-wrapper .swiper-slide_new .routine-list_card .front .routine-list_swiper_inner .routine-list_swiper_inner_d-flex>span  {
        font-size: 16px;
    }

    .routine-list_inner .routine-list_swiper .swiper-wrapper .swiper-slide .routine-list_swiper_inner .routine-list_swiper_inner_title {
        font-size: 18px;
    }

    .routine-list_header,
    .routine-list_header.nav-scroll {
        padding-top: 40px;
    }

    .routine-list_inner .routine-list_video .routine-list_swiper .swiper-wrapper .video_list_div_cls .col-small_img {
        width: 100%;
    }

    .routine_list_div_height {
        display: none;
    }
}