/* for Cookie Banner */
#CookieBanner .cookieBannerContainer {
    background-color: rgba(65, 64, 66, 0.8);
    bottom: 0;
    color: white;
    position: fixed;
    font-size: 14px;
    text-align: justify;
    padding: 20px;
    z-index: 20;
    width: 100%;
}

/* for Update Preferences button */
#CookiePreferenceComponent button#CookiesUpdatebtn {
    background-color: rgb(0, 112, 240);
    cursor: pointer;
    color: white;
    font-size: 16px;
    line-height: 26px;
    padding: 16px;
}

/* for agree And Close button */
#CookieBanner .agreeAndClose button {
    background-color: #E02E3F;
    color: white;
    cursor: pointer;
    font-size: 16px;
    line-height: 26px;
    padding: 12px;
    border: none;
}


/* for disable functionality  for Update Preferences button*/
button#CookiesUpdatebtn:disabled {
    background-color: gray !important;
    cursor: not-allowed !important;
}

/* for create  Cookie detail popup modal */
#CookiePreferenceComponent .cookieDetailModal {
    z-index: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 384px;
    border-radius: 8px;
    background-color: #fefefe;
    margin: auto;
    padding: 15px;
    border: 1px solid #888;
}

#CookiePreferenceComponent .modal {
    display: none;
    position: fixed;
    z-index: 2500;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.75);
    max-width: 100%;
}

/*Cookie detail popup modal title  */
#CookiePreferenceComponent .modalTitle {
    margin-bottom: 6px;
}

/* for Cookie detail popup modal description window */
#cookieModalDescription {
    overflow: auto;
    text-align: justify;
}

/* for Cookie detail popup modal close button*/
#CookiePreferenceComponent .popupCloseBtn {
    float: right;
    width: 24px;
    line-height: 24px;
    text-align: center;
    cursor: pointer;
    border-radius: 50%;
    background-color: #DBDADA;
    color: black;
    position: absolute;
    right: -5px;
    top: -10px;
    font-size: 20px
}

#CookieBanner .bannerCloseBtn {
    float: right;
    width: 24px;
    line-height: 24px;
    text-align: center;
    cursor: pointer;
    border-radius: 50%;
    background-color: #545454;
    color: white;
    position: absolute;

    right: -100px;
    top: 10px;
    font-size: 20px
}

/* Anchor link in Banner*/
#CookieBanner a {
    word-break: break-word;
    text-decoration: underline;
}

/*Anchor link in Cookie preference component*/
#CookiePreferenceComponent a {
    color: rgb(0, 112, 240);
    word-break: break-word;
    text-decoration: underline;
}

/* for On off switch in Cookie preference component*/
#CookiePreferenceComponent .switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* for On off switch in Cookie preference component*/
#CookiePreferenceComponent .switch input {
    display: none;
}

/* for On off switch in Cookie preference component*/
#CookiePreferenceComponent .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #4D4D4F;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

/* for On off switch in Cookie preference component*/
#CookiePreferenceComponent .slider::before {
    border-radius: 50%;
    position: absolute;
    height: 26px;
    width: 26px;
    content: "";
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    -webkit-transform: translateX(0px);
    -ms-transform: translateX(0px);
    transform: translateX(0px);
}

/* for On off switch in Cookie preference component*/
#CookiePreferenceComponent input:checked+.slider {
    background-color: #0B9500;
}

/* for On off switch in Cookie preference component*/
#CookiePreferenceComponent input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

/* for On off switch in Cookie preference component*/

#CookiePreferenceComponent input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

#CookiePreferenceComponent .cookieDiv {
    padding: 10px;
    margin: 10px;
    height: 50px;
}

#CookiePreferenceComponent .leftContainer {
    float: left;
    text-align: left;
}

#CookiePreferenceComponent .rightContainer {
    position: relative;
    right: 50px;
    float: right
}

#CookiePreferenceComponent .btnContainer {
    text-align: center;
}

#CookiePreferenceComponent .closeBtn {
    width: 50%
}

#CookiePreferenceComponent .onOffText {
    float: left;
    position: relative;
    right: 11px;
    top: 10px;
}

#CookiePreferenceComponent .onText {
    color: #0B9500;
}

#CookiePreferenceComponent .offText {
    color: #4D4D4F;
}

#CookiePreferenceComponent .cookiePreferencePageInfoIcon {
    display: inline-block;
    background-color: #0065A4;
    margin: 0 15px;
    border-radius: 50%;
    font-size: 12px;
}

#CookiePreferenceComponent .cookiePreferencePageInfoIcon a {
    color: white;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    text-decoration: none;
    height: 15px;
    width: 15px;
    line-height: 15px;
}

#CookiePreferenceComponent .cookiePreferencePageInfoIcon a:hover,
#CookiePreferenceComponent .cookiePreferencePageInfoIcon a:active {
    color: white;
    text-decoration: none;
}

#CookiePreferenceComponent .isRequired {
    right: 60px;
}

@media only screen and (min-width: 790px) {
    #CookieBanner .agreeAndClose {
        float: right;
    }

    #CookieBanner .cookieBannerText {
        width: 80%;
        float: left;
        font-size: 13px
    }

    #CookieBanner .cookieBannerDiv {
        width: 66.6667%;
        left: 16.6666%;
        position: relative;
    }
}

/* For Tablet View*/
@media only screen and (max-width: 1200px) {
    #CookieBanner .cookieBannerText {
        width: 70%;
    }
}

/* For Mobile View*/
@media only screen and (max-width: 790px) {
    #CookiePreferenceComponent .cookieDiv {
        padding: 5px;
    }

    #CookiePreferenceComponent {
        font-size: 15px;
    }

    #CookiePreferenceComponent .leftContainer {
        width: 150px;
    }

    #CookiePreferenceComponent .cookieDetailModal {
        width: 81%;
    }

    #CookiePreferenceComponent .rightContainer {
        right: 31px
    }

    #CookiePreferenceComponent .onOffText {
        position: relative;
        left: 60px;
    }

    #CookieBanner .agreeAndClose {
        text-align: center;
    }

    #CookieBanner .agreeAndClose button {
        margin: 10px 0;
    }

    #CookiePreferenceComponent .isRequired {
        right: -17px
    }

    #CookiePreferenceComponent .onOffText {
        left: 26px;
        right: 0;

    }

    #CookiePreferenceComponent .sliderContainer {
        position: relative;
        right: -35px;
    }

    #CookieBanner .bannerCloseBtn {
        top: 0px;
        right: 0px;
    }
}

@media only screen and (max-width: 340px) {
    #CookiePreferenceComponent .leftContainer {
        width: 50%;
    }
}