/* @override 
	https://kohderyhmapalvelu.fonecta.fi/site0113.css/fonecta.css
	https://b2bdevelopmentproject.leadcloud.fi/site0166.css/fonecta.css
*/

/*
 * Web Fonts from colophon-foundry.org
 *
 * The fonts included in this stylesheet are subject to the End User License you purchased
 * from Colophon Foundry. The fonts are protected under domestic and international trademark and 
 * copyright law. You are prohibited from modifying, reverse engineering, duplicating, or
 * distributing this font software.
 *
 * (c) 2018 Colophon Foundry
 *
 * Licenced to Olli Sirki&auml; Leadventure Oy
 */

@font-face {
    font-family: 'relative-book';
    src: url('Fonts/Relative/Book/relative-book.eot');
    src: url('Fonts/Relative/Book/relative-book.eot?#iefix') format('embedded-opentype'),
         url('Fonts/Relative/Book/relative-book.woff') format('woff'),
         url('Fonts/Relative/Book/relative-book.woff2') format('woff2'),
         url('Fonts/Relative/Book/relative-book.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}


/*
 * Web Fonts from colophon-foundry.org
 *
 * The fonts included in this stylesheet are subject to the End User License you purchased
 * from Colophon Foundry. The fonts are protected under domestic and international trademark and 
 * copyright law. You are prohibited from modifying, reverse engineering, duplicating, or
 * distributing this font software.
 *
 * (c) 2018 Colophon Foundry
 *
 * Licenced to Olli Sirki&auml; Leadventure Oy
 */

@font-face {
    font-family: 'relative-bold';
    src: url('Fonts/Relative/Bold/relative-bold.eot');
    src: url('Fonts/Relative/Bold/relative-bold.eot?#iefix') format('embedded-opentype'),
         url('Fonts/Relative/Bold/relative-bold.woff') format('woff'),
         url('Fonts/Relative/Bold/relative-bold.woff2') format('woff2'),
         url('Fonts/Relative/Bold/relative-bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

/*
 * Web Fonts from colophon-foundry.org
 *
 * The fonts included in this stylesheet are subject to the End User License you purchased
 * from Colophon Foundry. The fonts are protected under domestic and international trademark and 
 * copyright law. You are prohibited from modifying, reverse engineering, duplicating, or
 * distributing this font software.
 *
 * (c) 2018 Colophon Foundry
 *
 * Licenced to Olli Sirki&auml; Leadventure Oy
 */

@font-face {
    font-family: 'relative-faux';
    src: url('Fonts/Relative/01.Faux/relative-faux.eot');
    src: url('Fonts/Relative/01.Faux/relative-faux.eot?#iefix') format('embedded-opentype'),
         url('Fonts/Relative/01.Faux/relative-faux.woff') format('woff'),
         url('Fonts/Relative/01.Faux/relative-faux.woff2') format('woff2'),
         url('Fonts/Relative/01.Faux/relative-faux.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}



h1 {
	font: normal 38px/44px "relative-book", Helvetica, Arial, sans-serif;
}
h2 {
	color: #000;
}
h1,h2, h3 {
  font-face: "relative-book", Helvetica, Arial, sans-serif;
}
h4,h5,h6 {
  font-face: "relative-bold", Helvetica, Arial, sans-serif;
}


	
.tab-nav span {
	color: #000;
}
.tab-nav li span.notify { 
    background: #ff7b1d;
}		
html.no-touch .tab-nav .active a:hover,
.tab-nav .active span {
	background:#ececec;
}

.link-2,
.btn{
	font-size: 21px;
	line-height:24px;
	color:#fff;
	font-weight:normal;
	display:inline-block;
	vertical-align:top;
	background:#000;
	border: 1px solid #000;
	border-radius:3px;
	padding: 9px 26px 8px;
	cursor: pointer;
	font-family: "Roboto", Helvetica, Arial, sans-serif;

}

.link-3 {
	font-size: 21px;
	line-height:24px;
	color:#000;
	font-weight:bold;
	display:inline-block;
	vertical-align:top;
	background:none;
	border: 1px solid #000;
	border-radius:3px;
	padding: 9px 26px 8px;
	cursor: pointer;
	font-family: "Roboto", Helvetica, Arial, sans-serif;
}

html.no-touch .post .img-holder a:hover .btn{background:#ff7b1d;}
html.no-touch a:hover .post h1 {
	color:#ff7b1d; text-decoration: none; 
}
html.no-touch a:hover .post p {
	color:#ff7b1d; text-decoration: none; 
}
#news-menu h2 {
	font: normal 24px/24px "relative-book", Helvetica, Arial, sans-serif;
}
#news-menu td.text-holder a h3 {
	font: bold 16px/20px "relative-bold", Helvetica, Arial, sans-serif;
}


#footer {
	background: #fff;
	padding: 40px 0 35px 0;
	display: block;
	float: left;
	width: 100%;
	border-top: 1px solid #f5f5f5;
}
.align-right {
	text-align: right;
}
#footer p {
	font-size: 16px;
	color: #000;
	margin: 5px 0 5px 0;
	padding: 0;
}
#footer p a {
	font-weight: normal;
	color: #000;

}
.form input[type=submit] {
	background: #ff7b1d;
}

.filter-form{
	background:#ff7b1d;
}
.socool-form-validate .help-block {
    background-color: #ff7b1d;
    border: 1px solid #ff7b1d;
}
.socool-form-validate .help-block:after {
	border-color: #ff7b1d transparent transparent transparent;
}


.progressbar {
	width: 240px; 
	height: 30px; 
	background: #ff7b1d; 
	position: relative;
}
.progressbar .progressbar-meter {
	position: absolute; 
	z-index:40; 
	width:10%; 
	height: 30px; 
	background:#ff7b1d;
}
.progressbar .progressbar-label {
	position: absolute; 
	z-index:50; 
	top: 3px; 
	left: 6px;
	color: white;
	font-size:14px;
}

#ostaminen {
	background: #f5f5f5;
	padding: 40px 0 40px 0;
    display: block;
    float: left;
    width: 100%;
}

#campaignSaveButton {
	background: #ff7b1d;
}

#footer_text .link-2 {
	background: #000;
}
.contactToolListItem a {
    background: #ff7b1d;
}

.hakuKortti h3 a {
	color: #ff7b1d;
}
.hakuKortti h3 a:hover {
	color: #ff7b1d;
}
.sivutoimipaikat span.kaupunki:hover {
	background: #29aaff;
}



/* New UI */

.new-ui {
    all: initial;
}

.new-ui * {
    font-family: "Ubuntu", "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;

    /* Pro-dark */
    color: #210262;
    font-size: 15px;
    line-height: 20px;

    margin: 0;
}

/* Fonts */
.new-ui h1, .new-ui h2, .new-ui h3, .new-ui .caption {
    font-style: normal;
    font-weight: 700;
}

.new-ui h1 {
    font-size: 48px;
    line-height: 54px;
    letter-spacing: -0.04em;
}

.new-ui h2 {
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -0.02em;
}


.new-ui h3 {
    font-size: 20px;
    line-height: 28px;
    letter-spacing: -0.01em;
}

.new-ui .caption {
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.new-ui .ingress, .new-ui span {
    font-style: normal;
    font-weight: 400;
}

.new-ui .ingress {
    font-size: 24px;
    line-height: 32px;
    letter-spacing: -0.02em;
}

.new-ui a {
    text-decoration: none;
}

.new-ui a:hover {
    text-decoration: underline !important;
}

/* buttons */
.new-ui a.primary-btn,
.new-ui a.secondary-btn,
.new-ui button.primary-btn,
.new-ui button.secondary-btn,
.new-ui input[type=submit].primary-btn,
.new-ui input[type=submit].secondary-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 16px 32px;
    gap: 10px;

    transition-duration: 300ms;
    transition-timing-function: ease-out;

    cursor: pointer;

    font-weight: 400;
    border: none;
}

.new-ui a.primary-btn,
.new-ui a.secondary-btn {
    text-decoration: none !important;
}

.new-ui a.primary-btn,
.new-ui button.primary-btn,
.new-ui input[type=submit].primary-btn {
    background: #210262;
    border-radius: 10px;

    color: #FFFFFF;
}

.new-ui a.primary-btn *,
.new-ui button.primary-btn *,
.new-ui input[type=submit].primary-btn *{
    color: #FFFFFF;
}


.new-ui a.primary-btn:hover:not(:disabled),
.new-ui button.primary-btn:hover:not(:disabled),
.new-ui input[type=submit].primary-btn:hover:not(:disabled) {
    opacity: 0.8;
}

.new-ui a.secondary-btn,
.new-ui button.secondary-btn,
.new-ui input[type=submit].secondary-btn {
    background: #FFFFFF;
    border: 2px solid #E5E5E5;
    border-radius: 10px;
}

.new-ui a.secondary-btn:hover:not(:disabled),
.new-ui button.secondary-btn:hover:not(:disabled),
.new-ui input[type=submit].secondary-btn:hover:not(:disabled) {
    border: 2px solid #210262;
}

.new-ui a.icon-btn,
.new-ui button.icon-btn {
    width: 44px;
    height: 44px;

    border: none;
    border-radius: 50%;

    background: #F5F5F5;

    cursor: pointer;
}

.new-ui a.icon-btn {
    display: block;
    text-align: center;
    height: 20px;
    padding: 12px 0;
}

.new-ui a.icon-btn:hover,
.new-ui button.icon-btn:hover {
    background: #D7E8F4;
}

.new-ui a.icon-btn > .icon,
.new-ui button.icon-btn > .icon {
    width: 20px;
    height: 20px;
}

.new-ui .primary-btn:disabled,
.new-ui .secondary-btn:disabled {
    cursor: not-allowed;
}

.new-ui .primary-btn:disabled {
    opacity: 38%;
}

.new-ui .secondary-btn:disabled {
    background-color: #F4F4F4;
}


.new-ui .primary-btn .BGdownloadProgressBarContainer,
.new-ui .secondary-btn .BGdownloadProgressBarContainer,
.new-ui .bltDotMenuItem .BGdownloadProgressBarContainer {
    height: 20px;
}

.new-ui .primary-btn .BGdownloadProgressBarContainer .BGdownloadProgressBarRow,
.new-ui .secondary-btn .BGdownloadProgressBarContainer .BGdownloadProgressBarRow,
.new-ui .bltDotMenuItem .BGdownloadProgressBarContainer .BGdownloadProgressBarRow {
    position: relative;
    top: unset;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.new-ui .primary-btn .BGdownloadProgressBarContainer .BGdownloadProgressBarOuter,
.new-ui .secondary-btn .BGdownloadProgressBarContainer .BGdownloadProgressBarOuter,
.new-ui .bltDotMenuItem .BGdownloadProgressBarContainer .BGdownloadProgressBarOuter {
    height: 50%;
}

/* inputs */
.new-ui input,
.new-ui textarea {
    background: #FFFFFF;
    border: 2px solid #E5E5E5;
    border-radius: 10px;
    outline: none;
}

.new-ui input:not([type=submit]):not(:disabled):hover,
.new-ui textarea:not(:disabled):hover {
    border: 2px solid #767676;
}

.new-ui input:not([type=submit]):not(:disabled):active,
.new-ui textarea:not(:disabled):active {
    border: 2px solid #210262;
}

/* New UI modal */

.backdrop {
    background: white url('/css/images/background_dots.png') no-repeat center;
    background-size: cover;

    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
}

.modal {
    position: absolute;
    left: 0;
    right: 0;
    top: 100px;
    width: 400px;
    margin: 0 auto;
    padding: 0 40px;

    background: #FFFFFF;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;

    box-shadow: 0 2px 10px rgba(33, 2, 98, 0.1);
    -webkit-box-shadow: 0 2px 10px rgba(33, 2, 98, 0.1);
    -webkit-font-smoothing: antialiased;
    border-radius: 20px;
}

@media (max-height: 900px) {
    .modal {
        top: 50px;
    }
}

@media (max-height: 800px) {
    .modal {
        top: 25px;
    }
}

@media (max-height: 700px) {
    .modal {
        top: 10px;
    }
}

.modal .logo {
    width: fit-content;
    margin: 0 auto;
    padding: 20px 0;
}

.modal .logo img {
    display: block;
    height: 36px;
}

.modal > hr {
    width: 100%;
    border: none;
    border-bottom: 1px solid #d7d7d7;
    margin: 0;
    padding: 0 40px;
}

.modal .content-wrapper {
    width: 100%;
    margin-top: 16px;
    margin-bottom: 24px;

    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal .content-wrapper>.contentarea {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
}

.modal form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal form>.contentarea {
    width: calc(100% + 10px);
}

.modal form .contentarea input {
    margin: 4px 0;
}

/* Override socool box shadow styles */
.modal form .form-input-wrap > input[type=text]:focus {
    box-shadow: none;
    -webkit-box-shadow: none;
}
.modal form input {
    box-sizing: initial;
    padding: initial;
}

.modal form input:disabled {
    background-color: rgba(239, 239, 239, 0.7) !important;
}

.modal form input:not([type=submit]) {
    height: 40px;
    padding-left: 36px;
}
.modal form>input:not([type=submit]) {
    width: calc(100% - 40px);
}
.modal form input[type=submit] {
    width: calc(100% - 64px);
}

.modal form input[name=yritys] {
    background: url(/css/icons/business-outline.svg) no-repeat scroll 8px 8px;
    background-size: 20px;
}

.modal form input[name=email],
.modal form input[name=sahkoposti] {
    background: url(/css/icons/mail-outline.svg) no-repeat scroll 8px 8px;
    background-size: 20px;
}

.modal form input[name=puhelinnumero] {
    background: url(/css/icons/call-outline.svg) no-repeat scroll 8px 8px;
    background-size: 20px;
}

.modal form input[name=laskutusosoite_postcode] {
    margin-right: 10px;
    width: 195px !important;
}

.modal form input[name=laskutusosoite_city] {
    width: 195px !important;
}

.modal .error-box {
    border-radius: .5em;
    text-align: center;
    padding: 8px 16px;
    margin: 16px 0;
    border: 1px solid red;
}

.modal .back-to-login {
    margin: 0 auto;
    display: flex;
    gap: 4px;
    justify-content: center;
    align-items: center;
}

.modal .back-to-login .icon {
    height: 16px;
}

.modal a.chrome-addon-btn {
    padding-top: 8px;
    padding-bottom: 8px;
}
.modal a.chrome-addon-btn .icon {
    height: 32px;
}

/* Override old styles */
.form input[type=submit] {
    font-size: 15px;
    line-height: 20px;
    font-weight: initial;
}
.form input[type=submit]:focus {
    border: none;
}
.tooltipster-sidetip.tooltipster-light .tooltipster-content {
    color: #210262;
}


/* Settings */
.settings-page {
    padding-left: 32px;
    display: flex;
    min-height: calc(100vh - 200px);
    background-color: #FFFFFF;
}

.settings-page .sidenav {
    position: fixed;
    padding-top: 60px;
    min-width: 300px;
}

.settings-page .mainPage {
    width: 100%;
    margin-left: 300px;
}

@media (max-width: 929px) {
    .settings-page {
        margin-left: 0;
    }
    .settings-page .sidenav {
        display: none;
    }
    .settings-page .mainPage {
        margin-left: 0;
    }

    .settings-page #LeadDeskSettingView.KPsettingsView {
        padding-top: 10px !important;
        padding-left: 30px;

        width: calc(100% - 32px);
    }
}

.settings-page .sidenav .title {
    display: flex;
    gap: 8px;
}

.settings-page .sidenav .title div {
    align-self: center;
}

.settings-page .sidenav .title .icon {
    width: 32px;
}

.settings-page .sidenav #settingsMenu {
    margin: 12px 40px 0 16px;
}

.settings-page .sidenav #settingsMenu ul {
    margin: 0;
    padding: 0;
}

.settings-page .sidenav #settingsMenu ul li {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding-left: 12px;
    cursor: pointer;
    margin-bottom: .41em;
    border-radius: 0.6em;
}

.settings-page .sidenav #settingsMenu ul li:hover {
    background-color: #f5f5f5;
}

.settings-page .sidenav #settingsMenu ul li span {
    font-weight: 400;
    text-transform: initial;
    font-size: 1em;

    display: inline-block;
    padding: 8px 4px 8px 12px;
    line-height: 1.7;
}

.settings-page .sidenav #settingsMenu ul li.selected {
    background-color: #E9EBF1;
}

.settings-page .sidenav #settingsMenu ul li.selected span {
    font-weight: 600;
}

@media (min-width: 930px) {
    #UserInformationSettingView .KPSVtitleColElem,
    #SubscriptionStatusSettingView .KPSVtitleColElem,
    #ExportOrderSettingView .KPSVtitleColElem {
        display: none;
    }

    .KPsettingsView {
        border-bottom: none;
        display: flex;
        flex-direction: column;
    }

    #UserInformationSettingView,
    #SubscriptionStatusSettingView,
    #ExportOrderSettingView {
        flex-direction: column-reverse;
    }

    .settings-page .hidden {
        display: none;
    }

    .KPSVtitleCol {
        min-height: 50px;
    }

    /* h3 style */
    .KPSVtitleColElem {
        font-size: 20px;
        line-height: 28px;
        letter-spacing: -0.01em;
        font-weight: 700;
        font-style: normal;
    }

    .KPsettingsView#LeadDeskSettingView {
        max-width: 530px;
    }
}

@media (max-width: 360px) {
    .UserInfoSettingElement input,
    .UserInfoSettingElement .KPSVinfoField,
    .UISemailConfirmationButton,
    .UISpasswordConfirmationButton {
        width: 100%;
    }

    .UserInfoSettingElement .KPSVinputLabel,
    .UserInfoSettingElement .KPSVinfoText {
        margin-left: 0;
    }

    .UserInfoSettingElement .SoCoolFancyTextInputContainer {
        float: unset;
        align-self: unset;
    }

    .KPSVcontentCol {
        width: calc(100% - 10px);
    }

    .KPSVcontentCol input {
        width: 100%;
    }
}

.settings-page .KPSVkeyRow {
    margin-bottom: 8px;
}

.settings-page .KPSVkeyRow span {
    margin-right: 4px;
}

.settings-page .LDEKSVbuttonContainer,
.settings-page .MDbuttonContainer {
    display: flex;
    flex-direction: row-reverse;
    gap: 4px;

    width: fit-content;

    /* Reset olds */
    float: unset;
}

.LDEKSVdeleteKeyButton,
.LDEKSVinfoButton,
.MDdeleteKeyButton,
.MDinfoButton,
#PASVdeleteKeyButton,
#PASVcopyKeyButton {
    /* Reset olds */
    position: unset;
    top: unset;
    left: unset;
}

.settings-page .KPSVsmallButton {
    width: 20px;
    height: 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.settings-page .KPSVsmallButton {
    border: 2px solid #E5E5E5;
    border-radius: 4px;

    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
}

.settings-page .KPSVsmallButton:hover {
    border: 2px solid #767676;
}

.settings-page .KPSVsmallButton:active {
    border: 2px solid #210262;
}

.settings-page #PublicAPIkeySettingView .settingsPageButton {
    float: left;
    margin-top: 8px;
    margin-right: 8px;
}

.settings-page .EOSVremoveAllButton {
    background-color: #210252;

    color: #FFFFFF;
}

.settings-page .KPsettingsView#LeadDeskSettingView.hidden {
    display: none;
}

.settings-page .KPsettingsView#LeadDeskSettingView {
    display: flex;
    flex-direction: column;
    gap: 16px;

    padding-top: 0;
}

.settings-page .KPsettingsView#LDuploadKeySettingView .KPSVtitleColElem h4 {
    padding: 16px 0;
}

.settings-page .leaddesk-apikey-import {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
}

.settings-page .leaddesk-apikey-import input {
    flex-grow: 8;
}

.settings-page ul.apikey-list {
    padding-left: 0;
}

.settings-page .apikey-list li {
    border: 2px solid #210262;
    border-radius: 20px;
    padding: 4px 4px 4px 16px;
    margin: 4px;
    display: inline-block;
}

.settings-page .apikey-list .remove {
    border: none;
    background: none;
    padding: 0 8px;
}


/* campaign-page */
.campaign-page {
    display: flex;
    flex-direction: column;
    align-items: center;

    min-height: calc(100vh - 220px);

    background-color: #F4F5F8;
}

.campaign-page .campaign-container {
    max-width: 1120px;
    min-width: 790px;
    width: 90%;
    padding: 48px 0;
}

.campaign-page .campaign-header {
    position: relative;
}

.campaign-page .campaign-header>div {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;

    padding: 0 16px;
}

.campaign-page .campaign-header:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -9999px;
    right: 0;
    box-shadow: 9999px 0 0 #210262;
    background-color: #210262;
}

.campaign-page .purchase-limit,
.campaign-page .order-info {
    display: flex;
    flex-direction: row;
    align-items: center;

    gap: 16px;
}

.campaign-page .purchase-limit-icon {
    width: fit-content;
    min-width: 32px;
    background: url('icons/Euro_symbol_white.svg') no-repeat;
    background-position: 47% 45%;
    background-size: 35% 35%;
}

.campaign-page .purchase-limit-icon svg {
    transform: rotate(-90deg);
}

.campaign-page .purchase-limit-icon circle {
    stroke-width: 4;
    stroke: #D77557;
    fill: none;
}

.campaign-page .purchase-limit-icon text {
    font-size: 2em;
    fill: #FFFFFF;
    transform: translateX(100%) rotate(90deg);
}

.campaign-page .purchase-limit-text,
.campaign-page .purchase-limit-big-text,
.campaign-page .order-info-text,
.campaign-page .order-info-big-text {
    color: #FFFFFF;
}

.campaign-page .purchase-limit-big-text,
.campaign-page .order-info-big-text {
    line-height: 1em;
}

.campaign-page .purchase-limit-big-text,
.campaign-page .order-info-big-text {
    font-size: 2.5em;
}

.campaign-page .order-info-icon {
    width: 72px;
    height: 72px;
    text-align: center;
}

.campaign-page .order-info-icon .calendar-month {
    background-color: #D77557;
    color: #FFFFFF;
    height: 32px;
    line-height: 32px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.campaign-page .order-info-icon .calendar-date {
    background-color: #FFFFFF;
    color: #D77557;
    height: 40px;
    line-height: 40px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    font-weight: bold;
    font-size: 2em;
}

.campaign-page .order-info .secondary-btn {
    margin-top: 10px;
}

.campaign-page .campaign-list {
    display: flex;
    flex-direction: column;
}

.campaign-page .tab-nav-wrap {
    width: fit-content;
    margin: 0 auto;
}

.campaign-page .tab-nav-wrap ul li span {
    background: unset;
    font-size: 1em;
}

.campaign-page .campaign-page-tab-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.campaign-page .campaign-page-container-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.campaign-page .campaign-page-search-container {
    position: relative;
}
.blacklist-tab-search-container {
    position: absolute;
    bottom: 0.65em;
    right: 0;
}

.campaign-page .campaign-page-search-icon,
#blacklistTitleArea .blacklist-tab-search-icon {
    position: absolute;
    right: 0;
    padding: 8px 16px;
    height: calc(100% - 16px);
}

.campaign-page .campaign-page-search-input,
#filterArea #blacklistTitleArea .blacklist-tab-search-input {
    background-color: #E5E5E5;
    border-radius: 40px;
    padding-left: 16px;
    padding-right: 40px;
}
#filterArea #blacklistTitleArea .blacklist-tab-search-input {
    outline: none;
}
#filterArea #blacklistTitleArea .blacklist-tab-search-input:hover {
    border: 2px solid #767676;
}
#filterArea #blacklistTitleArea .blacklist-tab-search-input:focus {
    border: 2px solid #210362;
}

.campaign-page .empty-campaign-list {
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.campaign-page .campaign-page-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.campaign-page .campaign-page-list-item {
    background: #FFFFFF;
    box-shadow: 0px 2px 20px rgba(33, 2, 98, 0.05);
    border-radius: 20px;
}

.campaign-page .campaign-page-list-item-header {
    height: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;

    padding: 24px;

    cursor: pointer;
}

.campaign-page .campaign-page-list-item-header button {
    min-width: 200px;
}
@media only screen and (max-width: 1200px) {
    .campaign-page .campaign-page-list-item-header button {
        min-width: 160px;
    }
}

.campaign-page .campaign-page-list-item-expand-icon {
    width: 20px;
    transition: all .3s ease-in;
}

.campaign-page .open .campaign-page-list-item-expand-icon {
    transform: rotate(-180deg);
}

.campaign-page .campaign-page-list-item-name {
    flex-grow: 1;
    overflow-wrap: anywhere;
}

.campaign-page .campaign-page-list-item-expired-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.campaign-page .campaign-page-list-item-count {
    background: #7FA4B0;
    border-radius: 30px;
    padding: 6px 12px;
    min-width: 120px;
    text-align: center;
    color: #FFFFFF;
}

.campaign-page .bltDotMenuContainer {
    text-align: left;
}

.campaign-page .bltDotMenuItem {
    padding: 0;
}

.campaign-page .bltDotMenuContainer a {
    display: block;
    padding: 0.3em 1.6em 0.3em 1.6em;
}

.campaign-page .campaign-page-list-item.expired .campaign-page-list-item-name,
.campaign-page .campaign-page-list-item.expired .campaign-page-list-item-expired-info span,
.campaign-page .campaign-page-list-item.expired .campaign-page-list-item-created {
    color: #D77557;
}

.campaign-page .campaign-page-list-item.expired .campaign-page-list-item-count,
.campaign-page .campaign-page-list-item.expired button {
    color: #FFFFFF;
    background: #D77557;
}

.campaign-page .campaign-page-list-item-content {
    overflow: hidden;
    transition: all .4s ease-out;
}

.campaign-page .closed .campaign-page-list-item-content {
    max-height: 0;
    opacity: 0;
    padding: 0 24px;
}
.campaign-page .open .campaign-page-list-item-content {
    max-height: 580px;
    opacity: 1;
    padding: 0 24px;
}

.campaign-page .campaign-page-list-item-content>div {
    border-top: 1px solid #E5E5E5;
    padding: 36px 24px;
}

.campaign-page .campaign-page-list-item-content .campaign-result-counts {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.campaign-page .campaign-page-list-item-content .campaign-result-counts .result-count-wrapper {
    display: flex;
    flex-direction: row;
    gap: 4px;
}

.campaign-page .campaign-page-list-item-content .campaign-result-counts .result-count-wrapper img {
    min-width: 56px;
}

.campaign-page .campaign-page-list-item-content .campaign-result-bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
}

.campaign-page .campaign-page-list-item-content .campaign-result-bottom>div {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.campaign-page .campaign-page-list-item-content .campaign-result-bottom textarea {
    background: #F5F5F5;
    width: 100%;
    height: 102px;
}

.campaign-page .campaign-page-list-item-content .campaign-result-bottom .export-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.campaign-page .campaign-page-list-item-content .campaign-result-bottom .export-buttons>* {
    flex: 0 0 30%;
    text-align: center;
}

.campaign-page .campaign-page-list-item-content .campaign-result-bottom .export-buttons button {
    width: 100%;
}

.campaign-page .campaign-page-list-item-content .campaign-result-bottom .trackChanges {
    display: flex;
    flex-direction: row;
    gap: 16px;
}

.campaign-page .campaign-page-list-item-content .campaign-result-bottom .trackChangesOption {
    display: flex;
    align-items: center;
}

.campaign-page .campaign-page-list-item-content .campaign-result-bottom .trackChanges label {
    padding: 0 0 0 8px;
    display: inline;
}


.profiling-page {
    display: flex;
    flex-direction: column;
    align-items: center;

    background-color: #F4F5F8;
}

.profiling-page .profiling-header {
    position: relative;

    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 32px;

    /* TODO: change top padding to same than bottom? this is just hotfix because header styles doesn't working properly */
    padding: 69px 0 48px;
}

.profiling-page .profiling-header:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -9999px;
    right: 0;
    box-shadow: 9999px 0 0 #210262;
    background-color: #210262;
}

.profiling-page .profiling-list-card {
    position: relative;

    display: flex;
    flex-direction: column;
    gap: 8px;
}
.profiling-page .profiling-list-card .profiling-list-details {
    min-height: 20px;
}

.profiling-page .profiling-list-card h3,
.profiling-page .profiling-list-card p,
.profiling-page .profiling-list-card .profiling-list-details>span {
    color: #FFFFFF;
}

.profiling-page .profiling-list-card h3 {
    vertical-align: middle;
}
.profiling-page .profiling-list-card .profiling-color-sample-circle {
    display: inline-block;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    border: 2px solid white;
    margin-right: 0.5em;
}
#profiling-sample-circle-valittuLista {
    /* The important specifier below is required for the PDF report rendering by headless Chrome */
    background-color: #210262 !important;
}
#profiling-sample-circle-vertailuAineisto {
    /* The important specifier below is required for the PDF report rendering by headless Chrome */
    background-color: #D77557 !important;
}

.profiling-page .profiling-container {
    width: 960px;
}

.profiling-page .profiling-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profiling-page .profiling-content-header {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 8px;

    padding: 16px 0;
}

.profiling-page .profiling-content-header .ingress {
    flex-grow: 1;
}

.profiling-page .profiling-content-header .button-tooltip-wrapper {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.profiling-page .profiling-content-header .tooltip-container {
    position: absolute;

    border: 1px solid #eeeeee;
    background: white;
    padding: 24px;

    min-height: 50px;
    border-radius: 10px;

    -webkit-box-shadow: 3px 4px 36px -8px rgba(0,0,0,0.54);
    -moz-box-shadow: 3px 4px 36px -8px rgba(0,0,0,0.54);
    box-shadow: 3px 4px 36px -8px rgba(0,0,0,0.54);

    -webkit-transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
    transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;

    display: flex;
    flex-direction: column;
    gap: 16px;
}

.profiling-page .profiling-settings-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.profiling-page .profiling-content-header .tooltip-container#profilointiInstructions {
    min-width: 395px;
    left: -100px;
    top: 30px;
}

.profiling-page .profiling-content-header .tooltip-container#profilointiSettings {
    right: 10px;
    top: 30px;
    min-width: 240px;
}

.profiling-page .profiling-card-container {
    width: 960px;
    min-height: 660px;
}

.profiling-page .profiling-result-card {
    box-shadow: 0 4px 14px rgba(33, 2, 98, 0.06);
    border-radius: 20px;
}

.profiling-page .profiling-result-card > div {
    padding: 0 16px;
}

.profiling-page .profiling-result-card > div:last-child {
    text-align: center;
}

/* Salesforce header - old styles */
#header.lower-normal-header {
	top: 56px;
}

.lower-w1 {
	padding-top: 138px;
}

.salesforce-header {
	position: fixed;
	display: flex;
	width: 100%;

    background-color: #210262;
    color: #FFFFFF;

	z-index: 1999;
}

.salesforce-header>div {
	padding: 16px 32px;
}

.salesforce-header>div {
	border-left: 2px solid #e8e9ed;
}

.salesforce-header>div:first-child {
	border-left: none;
}

.salesforce-header .salesforce-info {
	display: flex;
	justify-content: space-between;
	align-items: center;

	flex: 1;
	gap: 16px;
}

.salesforce-header .salesforce-info>div {
	display: flex;
	text-align: center;
	gap: 8px;
}

.salesforce-header .salesforce-info img {
	width: 24px;
}

.salesforce-header a {
	color: #FFFFFF;
}

.salesforce-header a:hover {
	text-decoration: underline !important;
}

@media (max-width: 1300px) {
	.salesforce-header>div {
		padding: 16px 16px;
	}
}

@media (max-width: 1239px) {
	.salesforce-header .salesforce-info {
		padding: 0 16px;
	}
}

.new-ui .notice-buy-limit-exceeded-content p {
    margin-bottom: 16px;
}

.ConfirmDialogSWC {
    background: rgba(255,255,255,1.0);
    border-radius: 1em;
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
    font-family: "Ubuntu", "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    color: #210262;
    text-align: center;
    -webkit-box-shadow: 0 4px 33px 4px rgba(0,0,0,0.33);
    box-shadow: 0 4px 33px 4px rgba(0,0,0,0.33);
    border: none;
}

.ConfirmDialogSWC .ConfirmDialogSWC_buttonContainer.SWCcontainer {
    display: flex;
    justify-content: center;
}

.ConfirmDialogSWC button.SWCbutton_Style_Yes {
    padding: 16px 32px;

    background: #210262;
    border-radius: 10px;

    color: #FFFFFF;
}

.ConfirmDialogSWC button.SWCbutton_Style_No {
    padding: 16px 32px;

    background: #FFFFFF;

    border: 2px solid #E5E5E5;
    border-radius: 10px;

    color: #210262;
}

.ConfirmDialogSWC button.SWCbutton_Style_Yes:hover {
    opacity: 0.8;
}

.ConfirmDialogSWC button.SWCbutton_Style_No:hover {
    border: 2px solid #767676;
}

.ConfirmDialogSWC button.SWCbutton_Style_No:active,
.ConfirmDialogSWC button.SWCbutton_Style_No:focus {
    border: 2px solid #210262;
}

html .ConfirmDialogSWC a:hover {
    text-decoration: underline;
}

.new-ui .roundLoader {
    margin: 0 auto;
    border-top: 20px solid #210262;
}

.payment-modal {
    min-width: fit-content;
    overflow: auto;
}

.payment-modal .close {
    position: absolute;
    right: 5px;
    padding: 5px;
}

.payment-modal .payment-details {
    display: flex;
    flex-direction: row;
    gap: 32px;

    margin: 0 -40px;
    padding: 40px 48px 20px;
}

.payment-modal .payment-details img {
    width: 96px;
    filter: brightness(0) saturate(100%) invert(11%) sepia(90%) saturate(7436%) hue-rotate(265deg) brightness(46%) contrast(108%); /* #2b0474 */
}

.payment-modal .payment-details-product-info {
    margin-bottom: 24px;
}

.payment-modal .payment-details-prices {
    width: 360px;
}

.payment-modal .payment-details-prices > div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.payment-modal .payment-options {
    display: flex;
    flex-direction: row;
    gap: 16px;

    background-color: #F8F8F8;
    margin: 0 -40px;
    padding: 20px;

    border-top: 2px solid #e5e5e5;
    transition:all 0.25s linear;
}

.payment-modal .payment-options.disabled {
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.3;
    transition:all 0.25s linear;
}

.payment-modal .payment-option {
    width: 400px;
}

.payment-modal .payment-option-card {
    display: flex;
    flex-direction: column;
    gap: 8px;

    padding: 40px 20px;

    background-color: #FFFFFF;
    box-shadow: 0px 4px 14px rgba(33, 2, 98, 0.06);
    border-radius: 20px;
}

.payment-modal .payment-option-card-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.payment-modal #leadcloudBillingConfirmButton {
    margin-top: 32px;
}

.payment-modal .payment-option-card-form {
    display: flex;
    flex-direction: column;
}

.payment-modal input {
    border-radius: 0;
}

.payment-modal .stripe-card-input {
    border: 2px solid #E5E5E5;
    padding: 0 8px;
}

.payment-modal .stripe-card-input:hover {
    border: 2px solid #767676;
}

.payment-modal .payment-option-card-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.payment-modal .product-related-additional-content {
    padding-left: 48px;
}


.campaign-page-list-item-header .bltDotMenuContainer:hover .bltDotMenu {
    right: 0px;
    left: unset;
}


.payment-product-related-details {
    display: none;
}
.longProductDescriptionParagraph {
    max-width: 40em;
}

#ECD-PDFproductLongDescription {
    padding-top: 0.5em;
}
#ECD-PDFproductExtraDetails {
    padding-top: 0.3em;
}
#ECD-PDFproductExtraDetails.form .checkbox-option label span {
    text-decoration: none !important;
}
#ECD-PDFproductExtraDetails.form .checkbox-option label span a {
    line-height: 15px;
}
#ECD-PDFproductExtraDetails.form .checkbox-option input[type=checkbox]:checked+label::before {
    background-color: #7536FA;
}
#ECD-PDFproductExtraDetails a {
    color: #4fADAD;
}


/* --- UI scalability start --- */
.campaign-page .campaign-page-list-item.expired .campaign-page-list-item-header .primary-btn {
    min-width: 135px;
}
.campaign-page-list-item-expired-info .filterTooltipIcon {
    float: none !important;
}
.campaign-page-list-item-expired-info {
    min-width: 145px;
}

@media only screen and (max-width: 1240px) {
    #kampanjat.new-ui h2 {
        font-size: 28px;
        line-height: 30px;
    }
}
@media only screen and (max-width: 1120px) {
    #kampanjat.new-ui h2 {
        font-size: 24px;
        line-height: 26px;
    }
    .campaign-page .campaign-page-list-item-content .campaign-result-counts .result-count-wrapper img {
        min-width: 50px;
    }
    #kampanjat.new-ui .matchLimitDesc {
        font-size: 13px;
    }
    .campaign-page .campaign-page-list-item.expired .campaign-page-list-item-header .primary-btn {
        min-width: 115px;
    }
    .campaign-page .campaign-page-list-item-count {
        min-width: 90px;
    }
    .campaign-page-list-item-expired-info {
        width: 90px;
        min-width: 90px;
    }
    .campaign-page-list-item-expired-info span {
        font-size: 12px;
    }
}
@media only screen and (max-width: 1024px) {
    .campaign-page .campaign-page-list-item-content .campaign-result-counts .result-count-wrapper img {
        min-width: 40px;
    }
    #kampanjat.new-ui h2 {
        font-size: 22px;
        line-height: 24px;
    }
    #kampanjat.new-ui h3 {
        font-size: 18px;
        line-height: 24px;
    }
    .campaign-page .order-info-icon {
        height: 50px;
        width: 50px;
    }
    .campaign-page .order-info-icon .calendar-month {
        height: 26px;
        line-height: 26px;
    }
    .campaign-page .order-info-icon .calendar-date {
        height: 30px;
        line-height: 30px;
        font-size: 18px;
    }
    .campaign-page .purchase-limit-big-text,
    .campaign-page .order-info-big-text {
        font-size: 2em;
    }
    .campaign-page-list-item-created {
        font-size: 13px;
    }
    .campaign-page-list-item-count {
        font-size: 13px;
    }
    .campaign-page .campaign-page-list-item-header .primary-btn {
        font-size: 13px;
    }
}
@media only screen and (max-width: 980px) {
    #kampanjat.new-ui .bltDotMenu * {
        font-size: 14px;
    }
    #campaign-page-nav * {
        font-size: 14px;
    }
    #kampanjat.new-ui h2 {
        font-size: 20px;
        line-height: 22px;
    }
    #kampanjat.new-ui .trackChangesOption p {
        font-size: 14px;
    }
    #kampanjat.new-ui .caption {
        font-size: 13px;
        line-height: 15px;
    }
    #kampanjat.new-ui .campaignBlacklistInfo * {
        font-size: 14px;
    }
    #kampanjat.new-ui .campaignDescriptionContainer textarea {
        font-size: 14px;
    }
}
@media only screen and (max-width: 990px) {
    #profilointiMainArea {
        width: 98%;
    }
    #profilointiCardAreaContainer {
        width: 900px;
    }
    .profilointiResultCard {
        width: 441px; /* must be 0.49 times the width of #profilointiCardAreaContainer */
    }
}
@media only screen and (max-width: 965px) {
    #profilointiCardAreaContainer {
        width: 800px;
    }
    .profilointiResultCard {
        width: 392px; /* must be 0.49 times the width of #profilointiCardAreaContainer */
    }
    .profilointiResultCard .bar1,
    .profilointiResultCard .bar2,
    .profilointiResultCard .barind {
        font-size: 12px;
    }
    .new-ui .profilointiResultCard h3 {
        font-size: 17px;
        line-height: 25px;
    }
    .new-ui .profilointiResultCard .barLabel {
        font-size: 14px;
    }
}
@media only screen and (max-width: 936px) {
    #kampanjat.new-ui .matchLimitDesc {
        font-size: 12px;
    }
    #kampanjat.new-ui h5 {
        font-size: 14px;
        line-height: 16px;
    }
    #kampanjat.new-ui .trackChangesOption p {
        font-size: 13px;
    }
    #kampanjat.new-ui .caption {
        font-size: 12px;
        line-height: 14px;
    }
    #kampanjat.new-ui .campaignBlacklistInfo * {
        font-size: 13px;
    }
    #kampanjat.new-ui .campaignDescriptionContainer textarea {
        font-size: 13px;
    }
    .campaign-page .campaign-page-list-item.expired .campaign-page-list-item-header .primary-btn {
        min-width: 80px;
        max-width: 80px;
        padding-top: 8px;
        padding-bottom: 8px;
    }
    #kampanjat.new-ui .campaign-page-list-item.expired h3 {
        font-size: 16px;
        line-height: 22px;
    }
    .campaign-page-list-item-expired-info {
        width: 70px;
        min-width: 70px;
    }
}
@media only screen and (max-width: 900px) {
    #kampanjat.new-ui .campaign-page-list-item.expired h3 {
        font-size: 14px;
        line-height: 16px;
    }
    #kampanjat.new-ui .trackChangesOption p {
        font-size: 12px;
    }
    .campaign-page-list-item-expired-info {
        width: 60px;
        min-width: 60px;
    }
}
/* --- UI scalability end --- */
