/*

Name        : Newsletter Change Settings Form
Description : Change newsletter preferences for Twinkle, MarketingTribune and CustomerFirst => Copernica
Version     : 1.0.0, January 2023
*/

.form-settings {

    font-family: 'Poppins', sans-serif;
    width: 100%;
    max-width: 24rem;
    margin: 0 auto;
    font-size: 16px;
    float: left;
    --primary-color:blue;
    --secondary-color:red;
    --input-padding-x: 1rem;
    --input-padding-y: 0.5rem;
}

/* Twinkle */
#tw {
    
    --primary-color:#db2f4d;
    --secondary-color:#000;
}
/* MarketingTribune */
#mt {
    --primary-color:#ff0000;
    --secondary-color:#424242;
}
/* CustomerFirst */
#cf {
    --primary-color:#00adee;
    --secondary-color:#08347a;
}
/* Marketingfacts */
#mf {
    --primary-color:#63a95b;
    --secondary-color:#357cae;
}

.bootstrap5 .form-header {margin-bottom:2rem;}
.bootstrap5 .form-header-image {width:100%;margin-bottom: 0.5rem;}
.bootstrap5 .form-title {font-size: 2rem;}
.bootstrap5 .form-subtitle {font-size: 1.1rem;font-weight: 600;}

.bootstrap5 label {

    font-weight: normal;
    font-size: 1rem;
    margin: 0;
    line-height: 2rem;
}
.bootstrap5 .form-label-group {

    position: relative;
    margin-bottom: 1.2rem;
}

.bootstrap5 .form-label-group > input,
.bootstrap5 .form-label-group > label {
    
    padding: var(--input-padding-y) var(--input-padding-x);
}

/* .bootstrap5 .form-label-group > label {

    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    margin-bottom: 0;  Override default `<label>` margin 
    line-height: 1.6;
    color: #495057;
    border: 1px solid transparent;
    border-radius: .25rem;
    transition: all .1s ease-in-out;
} */

/* .bootstrap5 .form-label-group input::-webkit-input-placeholder {

    color: transparent;
}

.bootstrap5 .form-label-group input:-ms-input-placeholder {

    color: transparent;
}

.bootstrap5 .form-label-group input::-ms-input-placeholder {

    color: transparent;
}

.bootstrap5 .form-label-group input::-moz-placeholder {

    color: transparent;
}

.bootstrap5 .form-label-group input::placeholder {

    color: transparent;
} */

/* .bootstrap5 .form-label-group input:not(:placeholder-shown) {

    padding-top: calc(var(--input-padding-y) + var(--input-padding-y) * (2 / 3));
    padding-bottom: calc(var(--input-padding-y) / 3);
}

.bootstrap5 .form-label-group input:not(:placeholder-shown) ~ label {

    padding-top: calc(var(--input-padding-y) / 3);
    padding-bottom: calc(var(--input-padding-y) / 3);
    font-size: 12px;
    color: #777;
} */

.bootstrap5 .form-control {

    padding-top: 1.5rem;
    height: auto;
    font-size: inherit;
    font-weight: inherit;
    box-shadow: none;
    border-radius: 0;
    line-height: 1.42857;
}

.bootstrap5 .form-control:focus {

    border-color: transparent;
    box-shadow: #ced4da 0px 0px 0px 2px;
}

/*----------- checkbox ---------------*/

.bootstrap5 .form-check-input {

    width: 1.5rem;
    height: 1.5rem;
}

.bootstrap5 .form-check-input[type="checkbox"] {
    
    border-radius: 0;
}
.bootstrap5 .form-check-input:checked {

    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.bootstrap5 .setting-checkbox {

    display: block;
    position: relative;
    padding-left: var(--input-padding-x);
    cursor: pointer;
}

/*--------------- button ----------------------*/

.bootstrap5 .btn-signup {

    color: #fff;
    background-color: var(--primary-color)!important;
    border: 0;
    outline: 0;
    border-radius: 0;
    padding: 0.5rem 1rem;
    font-size: 1rem;
}

.bootstrap5 .btn-signup:hover {

    color: #fff;
    background-color: var(--secondary-color)!important;
    box-shadow: unset;
}

.bootstrap5 .btn-signup:active {

    background-color: var(--secondary-color)!important;
    box-shadow: unset;
}

.bootstrap5 .btn-signup:focus {

    box-shadow: white 0px 0px 0px 2px, var(--primary-color) 0px 0px 0px 4px;
}


/*
https://www.florin-pop.com/blog/2019/05/pure-css-tooltip/
----------------------------------------------------------*/

/* The parent .hint styling */
.hint {
    background-color: #888;
    border-radius: 50%;
    padding: 3px 8px;
    position: relative;
    font-weight: normal;
    font-size: 0.76rem;
    color: #fff;
}

/* The message box */
.hint::after {
    background-color: #333;
    border-radius: 5px;
    color: #fff;
    display: none;
    padding: 0.6rem;
    position: absolute;
    text-align: center;
    z-index: 999;
    font-weight: 400;
    font-size: 0.76rem;
    line-height: 1.5;
}

.mt.hint.daily::after {
    content: 'Iedere werkdag rond de lunch het laatste marketingnieuws';
    top: 0;
    left: 50%;
    transform: translate(-50%, calc(-100% - 10px));
    min-width: 160px;
}

.mt.hint.weekly::after {
    content: 'Je wekelijkse contentmarketing update';
    top: 0;
    left: 50%;
    transform: translate(-50%, calc(-100% - 10px));
    min-width: 150px;
}

.tw.hint.daily::after {
    content: 'Iedere werkdag rond de lunch het laatste nieuws';
    top: 0;
    left: 50%;
    transform: translate(-50%, calc(-100% - 10px));
    min-width: 160px;
}

.tw.hint.weekly::after {
    content: 'Ontvang op vrijdagmiddag het weekoverzicht';
    top: 0;
    left: 50%;
    transform: translate(-50%, calc(-100% - 10px));
    min-width: 150px;
}

.cf.hint.weekly::after {
    content: 'Iedere woensdag het laatste klantcontact nieuws';
    top: 0;
    left: 50%;
    transform: translate(-50%, calc(-100% - 10px));
    min-width: 150px;
}

.cf.hint.partner::after,
.mt.hint.partner::after,
.tw.hint.partner::after {
    content: 'Nieuws en exclusieve aanbiedingen van zorgvuldig geselecteerde partners';
    top: 0;
    left: 50%;
    transform: translate(-50%, calc(-100% - 10px));
    min-width: 160px;
}

.mf.hint.daily::after {
    content: 'De laatste artikelen dagelijks in je inbox';
    top: 0;
    left: 50%;
    transform: translate(-50%, calc(-100% - 10px));
    min-width: 160px;
}
.mf.hint.weekly::after {
    content: 'De best gelezen artikelen van afgelopen week in je inbox';
    top: 0;
    left: 50%;
    transform: translate(-50%, calc(-100% - 10px));
    min-width: 150px;
}

.hint:hover::after {
    display: block;
}

/* The arrow */

.hint::before {
    background-color: #333;
    content: ' ';
    display: none;
    position: absolute;
    width: 15px;
    height: 15px;
    z-index: 999;
}

.hint:hover::before {
    display: block;
}

.hint.daily::before,
.hint.weekly::before,
.hint.partner::before {
    top: 0;
    left: 50%;
    transform: translate(-50%, calc(-100% - 5px)) rotate(45deg);
}

/*-----------------------------------------------*/