
/* new cookie */
#sec_cookie {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    width: 100%;
    background: #fff;
    color: #000;
    box-sizing: border-box;
    padding: 20px 20px;
    border-radius: 3px;
    vertical-align: middle;
    z-index: 999;
    display: inline-block;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.text-green {
    color: #009b66 !important;
}

#sec_cookie p {
    font-size: 14px;
    line-height: 24px;
    color: #112d4b;
    font-weight: 400;
    margin-bottom: 0px;
    font-family: "Raleway";
}

#sec_cookie .row {
    margin-top: 2rem;
}

#sec_cookie .customize_cookie {
    min-width: 150px;
    min-height: 40px;
    border-radius: 0px;
    background-color: #fff;
    border: 1px solid #252f58;
    font-size: 16px;
    line-height: 24px;
    color: #222222;
    font-weight: 500;
    font-family: "Raleway";
}

#sec_cookie .customize_cookie:hover {
    background-color: #252f58;
    color: #fff;
}

#sec_cookie .accept_reject {
    display: flex;
    gap: 20px;
    justify-content: end;
}

#sec_cookie .common_cookie {
    min-width: 150px;
    min-height: 40px;
    border-radius: 0px;
    background-color: #2eb989;
    font-size: 16px;
    line-height: 24px;
    color: #000;
    font-weight: 500;
    font-family: "Raleway";
}

#sec_cookie .common_cookie:hover {
    background-color: #fff;
    border: 1px solid #2eb989;
    color: #000;
}

/* cookie modal */
.cookie_modal {
    padding-right: 0px !important;
    z-index: 99999;
}

body {
    padding-right: 0px !important;
}

.cookie_modal h5 {
    font-size: 20px;
    line-height: 30px;
    color: #112d4b;
    font-weight: 600;
    font-family: "Raleway";
}

.cookie_modal p {
    font-size: 15px;
    line-height: 28px;
    color: #112d4b;
    font-weight: 400;
    font-family: "Raleway";
    font-style: normal;
    padding: 0px;
    margin-bottom: 0px;
}

.cookie_modal .allow {
    min-width: 175px;
    min-height: 45px;
    border-radius: 0px;
    background-color: #2eb989;
    color: #fff;
    font-size: 18px;
    line-height: 30px;
    color: #ffffff;
    font-weight: 500;
    font-family: "Raleway";
}

.cookie_modal .confirm {
    min-width: 320px;
    min-height: 45px;
    border-radius: 0px;
    background-color: #2eb989;
    color: #fff;
    font-size: 18px;
    line-height: 30px;
    color: #ffffff;
    font-weight: 500;
    font-family: "Raleway";
    float: right;
}

.cookie_modal .confirm:hover, .cookie_modal .allow:hover{
    background-color: #fff;
    border:1px solid #2eb989;
    color:#222222;
}
.cookie_modal .modal-body {
    padding: 2.5rem 2rem 0rem 2rem;
}

.cookie_modal .modal-content {
    border-radius: 20px;
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.4));
    background-color: #ffffff;
    border: 3px solid #ffffff;
    padding:0px!important;
}
.cookie_modal .modal-dialog{
    top: 0;
}

.cookie_modal .btn-close {
    position: absolute;
    right: 20px;
    top: 10px;
    background: url(../../../images/cancel.png);
    width: 24px;
    height: 24px;
    border: none;
    background-repeat: no-repeat;
}
.cookie_modal .accor_section{
    position: relative;
    border-radius: 10px;
    background-color: #ffffff;
    border: 1px solid rgba(63, 153, 134, 0.23);
    margin-bottom: 10px;
}
.cookie_modal .accordion_head , .cookie_modal .accordion_headinner{
    border-radius: 10px;
    background-color: #f4f4f6;
    width: 100%;
    border: none;
    min-height: 75px;
    position: relative;
    padding-left: 65px;
    display: flex;
    align-items: center;
    margin-bottom: 0px;
}
.cookie_modal .accordion_head h6, .cookie_modal .accordion_headinner h6{
    font-size: 18px;
    line-height: 40px;
    color: #000;
    font-weight: 600;
    font-family: "Raleway";
    text-align: left;
    padding-right: 0px;
}
.cookie_modal .plusminus{
    background-image: url(../../../images/plus.png);
    width: 24px;
    height: 24px;
    position: absolute;
    top: 25px;
    left: 25px;
}

.cookie_modal .plusminusinner.open{
    background-image: url(../../../images/minus.png);
    width: 24px;
    height: 24px;
    position: absolute;
    top: 25px;
    left: 25px;
}

.cookie_modal h2 {
    margin-bottom: 0px;
}


.cookie_modal .accordion_body p,.cookie_modal .accordion_bodyinner p{
    padding: 10px 20px;
    font-size: 15px;
    line-height: 30px;
    color: #333333;
    font-weight: 400;
}
.cookie_modal .modal-footer{
    padding: 30px 15px 30px 15px;
    margin-top: 70px;
    border-top: 1px solid #e5e5e5;
}
.cookie_modal .accordion_bodyinner {
    padding:25px;
}

#sec_cookie button:focus, .cookie_modal button:focus{
    outline:none !important;
    box-shadow: none;
}
.manage{
    font-size: 24px;
    line-height: 30px;
    color: #222222;
    font-weight: 700;
    font-family: "Raleway";
}

/* dinesh */
.pp-text-right{
    text-align:right;
    }
    .toggle {
    cursor: pointer;
    display: inline-block;
    width:12%;
    }
    .pve{
    display: inline-block;
    position: absolute;
    width:12%;
    font-size: 13px;
    color: #74c5af;
    right:0px;
    }
    .toggle-switch {
    display: inline-block;
    background: #e5e5e6;
    border-radius: 30px;
    width: 100px;
    height: 45px;
    position: relative;
    vertical-align: middle;
    transition: background 0.25s;
    border: 1px solid #c3c3c3;
    }
    .toggle-switch:before, .toggle-switch:after {
    content: "";
    }
    .toggle-switch:before {
    display: block;
    background: #c3c3c3;
    border-radius: 50%;
    box-shadow: none;
    width: 35px;
    height: 35px;
    position: absolute;
    top: 4px;
    left: 4px;
    transition: left 0.25s;
    }
    .toggle-checkbox:checked + .toggle-switch {
    background: #e5e5e6;
    border: 1px solid #16b98d;
    }
    .toggle-checkbox:checked + .toggle-switch:before {
    left: 60px;
    background: #16b98d;
    }
    
    .toggle-checkbox {
    position: absolute;
    visibility: hidden;
    }
    /**vendorlist-div**/
    .cookie_modal h6 {
        font-size: 16px;
        line-height: 24px;
        color: #000000;
        font-weight: 700;
    }
    .acc-label .toggle{
        position: absolute;
        top: 16px;
        right: 10px;
    }
    .cookie_modal .accordion_body a {
        text-decoration: underline !important;
    }
    #sec_cookie p a, .cookie_modal p a {
        color: #252f58;
        text-decoration: underline;
    }
    .cookie_modal p span{
        color: #0db98a;
        text-decoration: underline;
        cursor:pointer;
    }

@media (min-width:1200px) {

    .cookie_modal .modal-dialog {
        max-width: 850px;
        width: 850px;
        height:650px;
    }
    .cookie_modal .modal-body {
        min-height: 415px;
    }
}
@media(min-width:992px) and (max-width:1199px) {
      /* new cookie  */
      .cookie_modal .modal-dialog {
        max-width: 750px;
        width: 750px;
    }
    .acc-label .toggle {
        right: 22px;
    }
}

@media(min-width:768px)and (max-width:991px) {
  /* new cookie */
  .cookie_modal .modal-dialog {
    max-width: 720px;
    width: 720px;
}
}
@media(max-width:991px){
        .toggle-switch {
            width: 55px;
            height: 30px;
        }
        .toggle-switch:before {
            width: 20px;
            height: 20px;
        }
        .acc-label .toggle {
            position: absolute;
            top: 24px;
            right: 0px;
        }
        .toggle-checkbox:checked + .toggle-switch:before {
            left: 30px;
        }
}
@media (min-width: 576px) {
    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }
}
@media(max-width:767px){
  /* new cookie */
  #sec_cookie .accept_reject {
    justify-content: center;
    margin-top: 0px;
}
#sec_cookie .customize {
    display: flex;
    justify-content: center;
}

#sec_cookie p {
    font-size: 12px;
    line-height: 22px;
    color: #000;
}

#sec_cookie .common_cookie {
    font-size: 12px;
    line-height: 24px;
    min-width: 95px;
    min-height: 34px;
}

#sec_cookie .customize_cookie {
    min-width: 100px;
    min-height: 35px;
    font-size: 12px;
    line-height: 22px;
}
#sec_cookie .row {
    margin-top: 15px;
    display:flex;
}
#sec_cookie{
    padding: 10px 10px;
}

.cookie_modal h5 {
    font-size: 18px;
    line-height: 25px;
    padding-right: 65px;
}

.cookie_modal p {
    font-size: 16px;
    line-height: 26px;
}

.cookie_modal .allow {
    font-size: 16px;
    line-height: 24px;
}

.cookie_modal .confirm {
    min-width: 290px;
    font-size: 16px;
    line-height: 24px;
}

.cookie_modal .accordion_head h6, .cookie_modal .accordion_headinner h6 {
    font-size: 14px;
    line-height: 26px;
}
.manage{
    font-size: 20px;
    margin-bottom: 10px;
}
.acc-label .toggle {
    right: 10px;
}
.pve{
    right: 10px;
}

}

@media(min-width:360px)and (max-width:479px){
    .toggle {
        width: 15%;
        
    }
    .acc-label .toggle {
        right:10px;
    }
    .pve {
        right: 10px;
    }
}
@media(max-width:420px){
    .cookie_modal .accordion_head h6, .cookie_modal .accordion_headinner h6 {
        padding-right: 50px;
    }
}

#sec_cookie {
    left: auto;
    right: 20px;
    bottom: 20px;
    width: calc(100% - 40px);
    max-width: 1020px;
    margin: 0;
    padding: 22px 26px;
    /* dark brand background, same look as the home hero / advisor form section */
    background:
        radial-gradient(circle at 100% 0%, rgba(27, 181, 128, .28) 0, rgba(27, 181, 128, 0) 45%),
        radial-gradient(circle at 0% 100%, rgba(70, 161, 217, .22) 0, rgba(70, 161, 217, 0) 45%),
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(160deg, #152438 0%, #16324a 55%, #0f3b2e 100%);
    background-size: auto, auto, 28px 28px, 28px 28px, auto;
    background-color: #152438;
    border-radius: 12px;
    animation: secCookieSlideUp 1.6s cubic-bezier(.22, .61, .36, 1) both;
    z-index: 1111;
    border: 1px solid #000;
    box-shadow: 0px 0px 18px #000000b3;
}

.modal.fade.cookie_modal{
    z-index: 9999;
    background: #00000052;
}

@keyframes secCookieSlideUp {
    from {
        opacity: 0;
        transform: translateY(calc(100% + 40px));
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    #sec_cookie {
        animation: none;
    }
}

#sec_cookie p {
    font-size: 15px;
    line-height: 24px;
    color: #4a5560;
}

#sec_cookie p a {
    color: #159d72;
    font-weight: 600;
    text-decoration: underline;
}

#sec_cookie .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin: 18px 0 0;
}

/* Bootstrap 3 clearfix pseudo-elements would become empty flex items */
#sec_cookie .row::before,
#sec_cookie .row::after {
    display: none;
}

#sec_cookie .row > div {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    float: none;
    padding: 0;
}

#sec_cookie .customize {
    display: block;
}

#sec_cookie .accept_reject {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 0;
}

#sec_cookie .customize_cookie,
#sec_cookie .common_cookie {
    min-width: 130px;
    min-height: 34px;
    padding: 5px 16px;
    background-color: #fff;
    border: 1px solid #159d72;
    border-radius: 6px;
    color: #159d72;
    font-size: 13px;
    line-height: 20px;
    font-weight: 600;
    font-family: "Raleway";
    transition: background-color .2s ease, color .2s ease;
}

#sec_cookie .customize_cookie:hover,
#sec_cookie .common_cookie:hover {
    background-color: #159d72;
    border-color: #159d72;
    color: #fff;
}

@media (max-width: 767px) {
    #sec_cookie {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
        padding: 16px;
        border-radius: 10px;
    }

    #sec_cookie p {
        font-size: 13px;
        line-height: 21px;
        color: #4a5560;
    }

    #sec_cookie .row {
        margin-top: 14px;
        gap: 10px;
    }

    #sec_cookie .row > div {
        width: 100%;
    }

    #sec_cookie .accept_reject {
        gap: 10px;
    }

    #sec_cookie .customize_cookie,
    #sec_cookie .common_cookie {
        flex: 1 1 0;
        width: 100%;
        min-width: 0;
        min-height: 34px;
        font-size: 10px;
        line-height: 18px;
    }
}

/* text and buttons on the dark banner */
#sec_cookie .text-green {
    color: #3ddc97 !important;
}

#sec_cookie p {
    color: #d5dde6;
}

#sec_cookie p a {
    color: #3ddc97;
}

#sec_cookie .customize_cookie,
#sec_cookie .common_cookie {
    background-color: transparent;
    border-color: rgba(255, 255, 255, .65);
    color: #fff;
}

#sec_cookie .customize_cookie:hover,
#sec_cookie .common_cookie:hover {
    background-color: #1bb580;
    border-color: #1bb580;
    color: #fff;
}

#cookies_modal .modal-dialog {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 580px;
    height: 100%;
    min-height: 100%;
    margin: 0;
    display: flex;
    align-items: stretch;
}

#cookies_modal.fade .modal-dialog {
    transform: translateX(100%);
    transition: transform .45s cubic-bezier(.22, .61, .36, 1);
}

#cookies_modal.in .modal-dialog,
#cookies_modal.show .modal-dialog {
    transform: none;
}

#cookies_modal .modal-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
    filter: none;
    box-shadow: -10px 0 40px -12px rgba(16, 30, 54, .35);
}

#cookies_modal .modal-body {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 0 20px 20px;
}

#cookies_modal h5 {
    margin: 0 -20px 16px;
    padding: 18px 56px 16px 20px;
    border-bottom: 1px solid #e5e8ec;
    font-size: 19px;
    line-height: 26px;
    font-weight: 700;
    color: #152438;
}

#cookies_modal .btn-close {
    top: 20px;
    right: 18px;
    width: 20px;
    height: 20px;
    padding: 0;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 2l12 12M14 2L2 14' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
    opacity: 1;
    z-index: 2;
}

#cookies_modal .btn-close:hover {
    opacity: 1;
}

#cookies_modal .modal-body > p {
    font-size: 14px;
    line-height: 22px;
    color: #4a5560;
    font-family: "Raleway";
    font-style: normal;
    padding: 0;
}

#cookies_modal p a {
    color: #159d72;
    font-weight: 600;
}

#cookies_modal .allow {
    min-width: 130px;
    min-height: 34px;
    padding: 5px 16px;
    background-color: #fff;
    border: 1px solid #159d72;
    border-radius: 6px;
    color: #159d72;
    font-size: 13px;
    line-height: 20px;
    font-weight: 600;
    transition: background-color .2s ease, color .2s ease;
}

#cookies_modal .allow:hover {
    background-color: #159d72;
    color: #fff;
}

#cookies_modal .manage {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    color: #152438;
}

#cookies_modal .accor_section {
    margin-bottom: 10px;
    border: 1px solid #d9dee3;
    border-radius: 8px;
    background-color: #fff;
    overflow: hidden;
}

#cookies_modal .accordion_head,
#cookies_modal .accordion_headinner {
    min-height: 50px;
    padding: 0 110px 0 46px;
    border-radius: 0;
    background-color: #f8f9fa;
    cursor: pointer;
}

#cookies_modal .accordion_head h6,
#cookies_modal .accordion_headinner h6 {
    margin: 0;
    font-size: 15px;
    line-height: 22px;
    font-weight: 600;
    color: #152438;
}

#cookies_modal .plusminus,
#cookies_modal .plusminusinner {
    top: 50%;
    left: 18px;
    width: 10px;
    height: 10px;
    background-image: none !important;
    transform: translateY(-50%);
}

#cookies_modal .plusminus::before,
#cookies_modal .plusminusinner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    border-right: 2px solid #152438;
    border-bottom: 2px solid #152438;
    transform: rotate(45deg);
    transition: transform .25s ease;
}

#cookies_modal .plusminus[style*="minus"]::before,
#cookies_modal .plusminusinner[style*="minus"]::before,
#cookies_modal .plusminusinner.open:not([style*="plus"])::before {
    top: 4px;
    transform: rotate(-135deg);
}

#cookies_modal .accordion_body p,
#cookies_modal .accordion_bodyinner p {
    padding: 12px 16px;
    font-size: 14px;
    line-height: 22px;
    color: #4a5560;
    border-top: 1px solid #e5e8ec;
    font-family: "Raleway";
    font-style: normal;
}

#cookies_modal .pve {
    top: 50%;
    right: 16px;
    width: auto;
    margin: 0;
    transform: translateY(-50%);
    font-size: 12px;
    font-weight: 600;
    color: #159d72;
}

#cookies_modal .acc-label .toggle {
    position: absolute;
    top: 14px;
    right: 16px;
    width: auto;
    margin: 0;
}

#cookies_modal .toggle-switch {
    width: 40px;
    height: 22px;
    border: 1px solid #c3c8ce;
    background: #e5e8ec;
}

#cookies_modal .toggle-switch:before {
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}

#cookies_modal .toggle-checkbox:checked + .toggle-switch {
    border-color: #159d72;
    background: #159d72;
}

#cookies_modal .toggle-checkbox:checked + .toggle-switch:before {
    left: 20px;
    background: #fff;
}

/* "View Details" screens */

#cookies_modal .accordion_bodyinner {
    padding: 12px;
    border-top: 1px solid #e5e8ec;
    background: #fff;
}

#cookies_modal .cookie-details {
    max-height: 320px;
    overflow-y: auto;
    padding: 0 12px 12px;
}

#cookies_modal .cookie-details-title {
    display: none;
}

#cookies_modal .cookie-details .table-responsive {
    margin: 0 0 10px;
    padding: 10px 14px;
    background-color: #eceef1;
    border: 0;
    border-radius: 10px;
    overflow: visible;
}

#cookies_modal .cookie-details .table-responsive:last-child {
    margin-bottom: 0;
}

#cookies_modal .cookie-details .table {
    width: 100%;
    margin: 0;
    background-color: transparent;
    border: 0;
}

#cookies_modal .cookie-details .table tr {
    display: flex;
    gap: 4px;
    background-color: transparent;
}

#cookies_modal .cookie-details .table tr td {
    display: block;
    padding: 1px 0;
    border: 0;
    box-shadow: none;
    background-color: transparent;
    font-size: 13px;
    line-height: 19px;
    font-weight: 400;
    color: #333;
}

#cookies_modal .cookie-details .table tr td:first-child {
    flex: 0 0 auto;
    width: auto;
    font-weight: 600;
    color: #152438;
}

#cookies_modal .cookie-details .table tr td:first-child::after {
    content: " :";
}

#cookies_modal .cookie-details .table tr td:last-child {
    flex: 1 1 auto;
    min-width: 0;
}

#cookies_modal .modal-footer {
    flex-shrink: 0;
    margin: 0;
    padding: 12px 16px;
    border-top: 1px solid #e5e8ec;
    background: #fff;
}

#cookies_modal .pp-text-right {
    width: 100%;
    margin: 0;
}

#cookies_modal .confirm {
    float: none;
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 8px 16px;
    background-color: #fff;
    border: 1px solid #159d72;
    border-radius: 6px;
    color: #159d72;
    font-size: 14px;
    line-height: 22px;
    font-weight: 600;
    transition: background-color .2s ease, color .2s ease;
}

#cookies_modal .confirm:hover {
    background-color: #159d72;
    color: #fff;
}

@media (max-width: 575px) {
    #cookies_modal .modal-dialog {
        max-width: 100%;
    }

    #cookies_modal h5 {
        font-size: 17px;
        line-height: 24px;
    }

    #cookies_modal .accordion_head h6,
    #cookies_modal .accordion_headinner h6 {
        font-size: 14px;
        padding: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    #cookies_modal.fade .modal-dialog {
        transition: none;
    }
}
