/*
Theme Name: Cheq
Description: Cheq Theme
Version: 1.0
Text Domain: cheq
*/

.header {
	--header__bottom-padding: 2.3rem 0;
}

@media screen and (min-width: 1200px) {
	.login-btn_wrap > .button { display: block; }
}

@media screen and (min-width: 992px) {
	.header .header__bottom > .container { max-width: 100%; padding: 0 30px; }
	.header .header__bottom .logo { max-width: unset; }
	.logo picture img { width: auto; max-height: 30px; }
	.login-btn_wrap { display: flex; gap: 2.85rem; }
	.login-btn_wrap .login-btn:not(:last-child) { margin-right: 0; }
}

.login-btn_wrap .button-gradient .button__content { background: transparent !important; }

.contact_form .form {flex-direction: column;}
.hero__main .section__text form {flex-wrap: wrap;}
.hero__main .section__text form .wpcf7-not-valid-tip {font-size: 0.8em;}
.hero__main .section__text form .wpcf7-response-output {width: 100%;width: 100%;margin: 0;padding: 5px 10px;font-size: 0.8em;line-height: 1.2;}
.post_meta {margin-top: 25px;display: flex;}
.post_meta p {margin-bottom: 0;line-height: 1.2;}
.post_meta .sep {margin: 0 15px;}
.post_thumbnail {margin-top: 25px;text-align: center;}
.blog-card-description p {min-height: 50px;}
.hero-demo .hero__main .form .wpcf7-not-valid-tip {font-size: 0.8em;}
.hero-demo .hero__main .form .wpcf7-response-output {width: 100%;width: 100%;margin: 0;padding: 5px 10px;font-size: 0.8em;line-height: 1.2;}
.trusted__item picture img {max-height: 9.9rem;}
.page-template-template-careers .positions .position__head h4 {font-size: 2rem;}
.page-template-template-careers .positions .position__body h2 {font-size: 2.6rem;line-height: 1.2;}
.page-template-template-careers .positions .position__footer {font-size: 1.2rem;}
.overlay {position: fixed;left: 0;top: 0;width: 100%;height: 100%;background: rgba(0,0,0,.8);z-index: 10;display: none;}
.popup_form {position: fixed;left: 50%;top: 50%;transform: translate(-50%, -50%);background: #fff;border-radius: 10px;z-index: 11;display: none;}
.popup_form_inner {padding: 20px 30px;}
.popup_form .actions {text-align: center;}
.popup_close {position: absolute;right: 1rem;top: 1rem;width: 3rem;height: 3rem;background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='40' height='40' fill='white'/%3e%3cpath d='M29.8449 9.02539L30.9761 10.1566L10.1585 30.9726L9.02734 29.8422L29.8449 9.02539Z' fill='%23A4ADBA'/%3e%3cpath d='M10.1585 9.02539L30.9761 29.8414L29.8449 30.9734L9.02734 10.1574L10.1585 9.02539Z' fill='%23A4ADBA'/%3e%3c/svg%3e ");background-repeat: no-repeat;background-position: center;background-size: contain;cursor: pointer;font-size: 0;transition: 0.3s;}
.popup_close:hover {background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='40' height='40' fill='white'/%3e%3cpath d='M29.8449 9.02539L30.9761 10.1566L10.1585 30.9726L9.02734 29.8422L29.8449 9.02539Z' fill='%233E444A'/%3e%3cpath d='M10.1585 9.02539L30.9761 29.8414L29.8449 30.9734L9.02734 10.1574L10.1585 9.02539Z' fill='%233E444A'/%3e%3c/svg%3e ");}.hero-solutions-single h1 {font-size: var(--headings-sizes-h1);}
.hero-solutions-single .hero__main {object-fit: contain;}
.fs-simple_quote-author {margin-top: 30px;}
.report-card__image picture {padding-top: 100%;}
.report-card__image picture image {padding-top: 100%;}
.blog-resources {padding: 90px 0;background: #fff;}
body.blog {padding-bottom: 0;}
.blog-page .header, .single.single-post .header {position: relative;color: var(--color-dark);}
.blog-page .header__bottom {background-color: var(--color-white);}
.blog-page .header .button__content {background: var(--color-white);color: var(--color-dark);}
[lang="ja"] .page-template-template-wa .header .button__content {background: var(--color-white);color: var(--color-dark);}
.single-post .header .button__content {background: var(--color-white);color: var(--color-dark);}
.blog-page .header a:hover .button__content {background: transparent;color: var(--color-white);}
[lang="ja"] .page-template-template-wa .header a:hover .button__content {background: transparent;color: var(--color-white);}
.single-post .header a:hover .button__content {background: transparent;color: var(--color-white);}
.blog-featured_new {background: #EEF1FA;padding: 107px 0 94px;}
.blog-featured_new h4 {font-family: "Avenir", sans-serif;font-size: 2.1rem;color: #15172C;line-height: 1.5;font-weight: 800;margin-bottom: 15px;}
.blog-featured_new .col-lg-12 h1 { font-size: 2.5em; position: relative; top: -50px; }
.f_single_post {padding-right: 50px;}
.f_single_post h2.g-txt {font-size: 2.6rem;}
.f_single_post h2:hover {--g-txt-gradient: #000;}
.fsp_image {margin-bottom: 18px;}
.fsp_image img {vertical-align: text-bottom;}
.fsp_info {font-size: 1.9rem;color: #888890;line-height: 1.5;}
.fsp_info span {margin: 0 10px;}
.f_recent_posts h4 {margin-bottom: 62px;}
.f_r_post:not(:last-child) {border-bottom: 1px solid rgba(17, 18, 34, 0.2);padding-bottom: 18px;margin-bottom: 28px;}
.f_r_post h3 {margin-bottom: 2px;}
.f_r_post h3 a {font-family: "Avenir", sans-serif;font-size: 2.4rem;color: #15172C;line-height: 1.45;font-weight: 600;text-decoration: none;display: inline-block;transition: all 0.3s ease-in-out;}
.f_r_post h3 a:hover {--g-txt-gradient: var(--gradient-main);background: var(--g-txt-gradient);-webkit-background-clip: text;-webkit-text-fill-color: transparent;}.subscribe_updates {background: #DDDAEF;padding: 70px 0;}
.su_form_wrapper {display: flex;justify-content: space-between;align-items: center;gap: 50px;}
.su_form_wrapper h3 {margin-bottom: 0;flex: 1;}
.su_form {flex: 1;}
.su_form .hs_email > label {display: none;}
.su_form .hbspt-form {max-width: 100%;}
.su_form .hs-form-field .hs-input {color: var(--color-dark);border-bottom: 1px solid #15172C;padding: 0 2px;}
.su_form .hs-form-field .hs-input:hover {border-color: linear-gradient(90deg, #9925cf 0%, #fd0173 100%);}
.su_form .hs_submit .hs-button {line-height: 1;text-transform: uppercase;position: relative;display: flex;align-items: center;align-content: center;justify-content: center;z-index: 1;transition: background 0.3s ease-in-out;height: 3.6rem;background: #DDDAEF;border-radius: 3.2rem;padding: var(--btn-pd);}
.su_form .hs_submit .hs-button:hover {background-color: transparent;color: var(--color-white) !important;}
section.blog {padding: 90px 0;background: #fff;}
section.blog .row {gap: 10rem;}
section.blog .blog-card {flex-direction: row;gap: 2.4rem;}
section.blog .press-card__image {max-width: 458px;}
section.blog .blog-card__info {width: auto;justify-content: center;}
.blog-card-description a {color: #15172C;text-decoration: none;}
.blog-card-description a:hover {--g-txt-gradient: var(--gradient-main);background: var(--g-txt-gradient);-webkit-background-clip: text;-webkit-text-fill-color: transparent;}section.blog .blog__menu ul {border-radius: 0.4rem;overflow: hidden;}
section.blog .blog__menu ul li {background: var(--gradient-main);padding: 2px 0;}
section.blog .blog__menu ul li:first-child {padding-left: 2px;}
section.blog .blog__menu ul li:last-child {padding-right: 2px;}
section.blog .blog__menu ul a {height: 36px;background: #fff;transition: background 0.3s ease-in-out, color 0.3s ease-in-out;border: 0;}
section.blog .blog__menu ul a:hover {background: transparent;}
section.blog .blog__menu ul a.active {background: var(--gradient-main);}
.single_post_new .default__head {padding: 107px 0 50px;min-height: 0;}
.single_post_info {padding-right: 20px;height: 100%;display: flex;flex-direction: column;justify-content: space-between;gap: 30px;}
.single_post_info h1 {font-size: 4.5rem;line-height: 1.3;margin-bottom: 20px;}
.socials.post_share a {background-color: var(--color-purple);color: var(--color-white);}
.socials.post_share a:hover {background-color: var(--color-white);color: var(--color-dark);}
.single_post_image {padding-left: 50px;}
.single_post_image .post_thumbnail {margin-top: 10px;}
.single_post_content {padding-bottom: 9.4rem;}
.single_post_content h2 { font-size: 2.5rem; }
.single_post_content h3 { font-size: 2.3rem; }
.single_post_content h4 { font-size: 2.0rem; }
.single_post_content a {color: #FE0072;text-decoration: none;}
.single_post_content a:hover {text-decoration: underline;}
.single_post_content strong { font-family: "Avenir Next LT Pro Bold"; font-weight: 700; }
.single_post_author {display: flex; padding-top: 7rem;}
.spa_image img {width: 300px;height: auto;border-radius: 100%;}
.spa_info {flex: 1;padding-left: 24px;}
.spa_info h4 {font-size: 26px;margin-bottom: 24px;}
.spa_info h3 {font-size: 24px;margin-bottom: 0;}
.spa_info p {line-height: 1.6;}
.spa_social.socials a {background-color: var(--color-purple);color: var(--color-white);}
.spa_social.socials a:hover {background-color: var(--color-white);color: var(--color-dark);text-decoration: none;}
.recommended_posts {padding: 9.5rem 0 17rem;}
.recommended_posts h4 {font-size: 4.5rem;margin-bottom: 18px;}
.all_recent_posts {display: flex;gap: 44px;}
.all_recent_posts .single_recent_post {flex: 1;}
.srp_image {margin-bottom: 25px;}
.srp_image img {vertical-align: top;}
.srp_read_more a {color: var(--color-dark);}
.srp_read_more .button__content {background: var(--color-purple-white);}
.hs-form legend {font-size: 1.4rem;line-height: 1.6;margin-bottom: 2rem;}
.hs-form ul.inputs-list {margin: 0;padding: 0;list-style-type: none;}
.hs-form ul.inputs-list label {color: #fff;line-height: 1.2;display: flex;align-items: flex-start;}
.hero-demo .hs-form ul.inputs-list label input, .hs-form ul.inputs-list label input {width: 18px !important;min-height: 18px !important;margin-right: 10px;}

.page-template-template-frontpage .hero-home .hero__extra { padding-bottom: 7rem; }
.page-template-template-frontpage .hero-home .hero__extra:after { height: 100%; }
.page-template-template-frontpage .hero-home .hero__extra .row { margin-bottom: 0; }

.story__pressence .text { height: 100%; display: flex; flex-direction: column; }
.story__pressence .more { margin-top: auto; }

@media (min-width: 992px) {
	.header__nav .menu .menu__item.with-child:nth-child(4) .submenu__side-left li:first-child { display: none; }
}

/* Glossary page */
.page-template-template-ensighten .login-btn_wrap .button-gradient .button__content { background: none; }

/* Sticky header */
.header { position: sticky !important; top: 0; }
.header.scrolled { background-color: #34163e; border-bottom: 1px solid #673E95; }
.default-page .wrapper, 
.glossary-page .wrapper, 
.page-template-template-bot-management .wrapper, 
.page-template-template-csp-thank .wrapper, 
.page-template-template-customers .wrapper, 
.page-template-template-service-page .wrapper, 
.page-template-template-subprogress .wrapper, 
.page-template-template-thank-fight .wrapper, 
.platform-single-page .wrapper, 
.research-page .wrapper, 
.solutions-single-page .wrapper, 
.thank-page .wrapper { /*padding-top: 80px;*/ }
.default-page .header.scrolled, 
.glossary-page .header.scrolled, 
.page-template-template-bot-management .header.scrolled, 
.page-template-template-csp-thank .header.scrolled, 
.page-template-template-customers .header.scrolled, 
.page-template-template-service-page .header.scrolled, 
.page-template-template-subprogress .header.scrolled, 
.page-template-template-thank-fight .header.scrolled, 
.page-template-template-ensighten .header.scrolled, 
.platform-single-page .header.scrolled, 
.research-page .header.scrolled, 
.solutions-single-page .header.scrolled, 
.blog-page .header.scrolled, 
.thank-page .header.scrolled { border-bottom: 1px solid #DEE3F0; }

/* Blog pages */
.blog-page .bnf_block-head, .single_post_new { margin-top: 160px; }
.bnc-on-page--search, .bnc-on-page { margin-top: 120px; }
.blog-page .header__bottom, .single-post .header__bottom { position: relative; z-index: 10; }
.blog-page .hb, .single-post .hb { position: relative; }
.blog-page .hb .hb_nav, .single-post .hb .hb_nav { align-content: flex-start; }
.blog-page .hb .hb_nav .login-btn, .single-post .hb .hb_nav .login-btn { background: #fff; color: #15172c !important; }
.blog-page .hb a.logo, .single-post .hb a.logo { display: none; }
.blog-page .hb .button .button__content, .single-post .hb .button .button__content { background: transparent; }
@media (max-width: 991px) {
	.blog-page .header, .single-post .header { display: block; }
	.blog-page .header .header__bottom, .single-post .header__bottom  { display: none; }
	.hb-menu-button.active { color: #fff; }
	.blog-page .bnf_block-head, .single_post_new, .bnc-on-page--search, .bnc-on-page { margin-top: 70px; }
	.blog-page .hb a.logo, .single-post .hb a.logo { display: block; }
}
@media (max-width: 767px) {
	.hb .container > .hb-menu-button.active { top: unset; }
}
/* Block pages */

@media screen and (max-width: 991px) {
	.default-page .wrapper, 
	.glossary-page .wrapper, 
	.page-template-template-bot-management .wrapper, 
	.page-template-template-csp-thank .wrapper, 
	.page-template-template-customers .wrapper, 
	.page-template-template-service-page .wrapper, 
	.page-template-template-subprogress .wrapper, 
	.page-template-template-thank-fight .wrapper, 
	.platform-single-page .wrapper, 
	.research-page .wrapper, 
	.solutions-single-page .wrapper, 
	.thank-page .wrapper { /*padding-top: 60px;*/ }
	
	.hb .demo-request { display: none; }
}
/* Sticky header */

/* Resources Page */
.hero_resources { padding-bottom: 5rem; }
section.blog.resources_page .row { gap: 0; }
.positions.resources_block { padding: 0; margin-bottom: -4.8rem; background: inherit; }
.positions__items.resources_items > div { margin-bottom: 4.8rem !important; }
.positions.resources_block .position { color: #15172C; background: var(--color-purple-light); }
.positions.resources_block .position__body h2 { font-family: Avenir,sans-serif; line-height: 4rem; font-weight: 400; }
.positions.resources_block .position__footer { font-family: Avenir,sans-serif; font-weight: 400; }
.blog__more.resources_more { margin-top: 5.2rem; }
.resource_item.hide { display: none; }
.resources_more.hide { display: none; }
@media screen and (max-width: 1199px) {
	.positions.resources_block .position__body h2 { font-size: 3rem; line-height: 3rem; }
}
/* Resources Page */

/* Mega menu */
.submenu-extra.submenu-extra--contacts_v2 { --img-size: 6rem; row-gap: 1.7rem; }
.submenu-extra.submenu-extra--contacts_v2 .img picture img { object-fit: contain; }
/* Mega menu */

.hero a.video-button { text-decoration: none; }

.new-tib_block .image picture img { max-width: 486px; }
.new-tib_block .sc_text-side h2 { min-width: unset; }
.new-tib_block .sc_text-side p { min-width: unset; }

@media screen and (max-width: 1199px) {
	.new-tib_block .image picture img { max-width: 100%; }
}

@media screen and (max-width: 1199px) and (min-width: 992px) {
	.new-tib_block:nth-child(odd) .image-side { padding-right: 30px; }
	.new-tib_block:nth-child(odd) .sc_text-side { padding-left: 30px; }
	.new-tib_block:nth-child(even) .image-side { padding-left: 30px; }
	.new-tib_block:nth-child(even) .sc_text-side { padding-right: 30px; }
}

@media screen and (max-width: 991px) {
	.single_post_new .default__head .row { gap: 30rem; }
	.single_post_author {padding-top: 5rem; padding-bottom: 5rem;}
	.footer__certifications {flex-wrap: nowrap;}
	
	.page-template-template-frontpage .hero-home .hero__extra .col-lg-8 { margin-top: 7rem; }
}

@media screen and (max-width: 767px) {
	.socials-side .footer__menu-wrap { margin-bottom: 6rem !important; }
	.socials-side .footer__menu-title { text-align: center; margin-bottom: 1.6rem; }
	.socials-side .socials { justify-content: center; }
	.socials-side .footer__certifications { justify-content: center; }
	.footer__top { padding-bottom: 3rem; }
	.footer__top .container:after { display: none; }
	.footer__bottom .container { flex-direction: column; gap: 2rem; }
}

.blog__menu ul li a { font-size: 1.4rem !important; line-height: 1.4rem; }

/* Notification bar */
.notification_bar { background: #E2F9DE; position: relative; }
.close_notif { position: absolute; right: 16px; top: 50%; display: flex; cursor: pointer; transform: translateY(-50%); }
.notif_block { padding: 16px 47px; display: flex; justify-content: space-between; gap: 1rem; }
.notif_block .h_desk { display: none; }
.notif_block p { line-height: 1.35; font-weight: 500; margin-bottom: 0; }

.notif_left { display: flex; align-items: center; gap: 12px; }
.notif_tag { display: flex; align-items: center; gap: 10px; padding: 3px 9px; border: 1px solid #34163E; border-radius: 6px; font-size: 14px; color: #34163E; line-height: 1.4; font-weight: 500; letter-spacing: 0.5px; white-space: nowrap; }
.notif_left p { color: #1C0624; line-height: 1.35; font-weight: 500; }
.notif_text { letter-spacing: 0.32px; }

.notif_right { display: flex; align-items: center; gap: 24px; }
.notif_datetime { font-size: 12px; color: #1C0624; font-weight: 500; line-height: 1.4; letter-spacing: 0.48px; white-space: nowrap; }
.notif_link { white-space: nowrap; }
.notif_link a { color: #1C0624; font-weight: 700; line-height: 1.35; letter-spacing: 0.32px; }
.notif_link a svg { margin-left: 8px; }

@media screen and (max-width: 1199px) {
	.notif_block { padding: 16px 0; }
	.notif_right { padding-right: 20px; }
}

@media screen and (max-width: 767px) {
	.notif_block { flex-direction: column; gap: 12px; }
	.notif_block .h_desk { display: block; }
	.notif_block .h_mob { display: none; }
	.notif_right { flex-direction: column; gap: 12px; padding-right: 0; text-align: center; }
	.notif_tag { font-size: 12px; }
	.close_notif { right: 20px; top: 16px; transform: unset; }
}
/* Notification bar */

/* Hubspot form errors */
ul.no-list.hs-error-msgs.inputs-list { position: relative; left: 0; top: 0; margin: 6px 0 0; }
ul.no-list.hs-error-msgs.inputs-list li label { position: relative; font-family: "Avenir Next LT Pro"; color: #BF1F58; line-height: 1.4; letter-spacing: 0.48px; }

.row:has(.submitted-message) { align-items: stretch !important; }
.row .hero__form:has(.submitted-message) { height: 100%; }
.row .hero__form_inner:has(.submitted-message) { height: 100%; display: flex; align-items: center; }
.hero__form .hero__form_inner .submitted-message p { color: #34163E; text-align: center; font-family: "Avenir Next LT Pro"; font-size: 28px; font-weight: 700; line-height: 1.35; letter-spacing: 0.56px; }
.hero__form .hero__form_inner .submitted-message p strong { font-style: italic; font-weight: 800; }
.hero__form .hero__form_inner .submitted-message p:before { content: url('images/check_icon.svg'); display: block; max-width: 90px; max-height: 90px; margin: 0 auto 20px; }
@media screen and (max-width: 767px) {
	.row:has(.submitted-message) { align-items: flex-start !important; }
	.hero__form .hero__form_inner .submitted-message p { font-size: 20px !important; }
	.hero__form .hero__form_inner .submitted-message p:before { content: url(images/check_icon_mob.svg); max-width: 70px; max-height: 70px; }
}
