.dah-consent-manager-overlay{
    box-sizing: border-box;
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100vh; 
    height: auto;
    z-index: 999999;
    background-color: rgba(0,0,0,0.5);
    /*background-color: white;*/
    -webkit-box-shadow: 0px -4px 8px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px -4px 8px 0px rgba(0,0,0,0.5);
    box-shadow: 0px -4px 8px 0px rgba(0,0,0,0.5);
    transition: 0.7s all;

}

.dah-consent-manager{
    background: #ffffff;
    position: fixed;
    top: 85px;
    /*bottom: 0;*/
  left: 50%;
    z-index: 9999999;
    transform: translate(-50%);
    margin: 0 auto;
    width: 100%;
    max-width: 900px;
   /* max-width: 1200px;*/
    padding: 30px;
    overflow: auto;
    max-height: 85vh;
}

.dah-consent-manager-inner{
    font-size: 1.4rem !important;
}

.dah-consent-manager-inner > h2{
    margin-top: 0 !important;
    text-align: center;
    font-size: 30px !important; /* Fix for old version of HP */
}

.buttonView {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 30px;
}

.checkBoxes {
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 20px;
    width: 100%;
}
.checkBoxes > div{
    margin-bottom: 3.4rem;
    margin-left: 3rem;
}

.dah-primary-button {
    font-family: Roboto,sans-serif;
    font-weight: 500 !important;
    background-color: #3498DB;
    color: white;
    width: auto;
    min-width: 350px;
    display: block;
    transition: background-color .2s;
    border-radius: 7px;
    text-align: center;
    font-size: 2rem;
    padding: 10px;
    border: 1px solid #aab0b3;
    text-decoration: none!important;
    cursor: pointer;
}

.dah-primary-button:hover{
    background-color: #217dbb;
    border-color: #3498DB;
}

.dah-secondary-button {
    font-family: Roboto,sans-serif;
    font-weight: 500 !important;
    border-color: #3498DB !important;
    background-color: #FFFFFF;
    color: #3498DB;
    width: auto;
    display: block;
    transition: background-color .2s;
    border-radius: 7px;
    text-align: center;
    font-size: 1.7rem;
    padding: 10px;
    border: 1px solid #005082;
    text-decoration: none!important;
    cursor: pointer;
}

.dah-secondary-button:hover{
    color: white;
    background-color: #217dbb;
}

.checkBoxOption {
    min-width: 150px;
    min-height: 30px;
    margin: 10px 0;
    width: 25%;
}

.layout-row {
    display: flex;
    flex-direction: row;
    margin: 0;
    margin-bottom: 5rem;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    font-size: 14px;
}



.container {
    display: block;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.descContent{
    list-style-type: none;
    margin: 0;
}

.descContent > li > h4{
    margin: 0;
    font-size: 14px;
    line-height: 18px;
    font-weight: 700;
}



.dah-consent-manager .checkBoxes > div > input[type=checkbox]+label {
    position: relative;
    padding: 5px 5px 5px 25px;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}

.dah-consent-manager .checkBoxes > div > label{
    font-size: 1.7rem;
}

.disabled{
    color: #999999 !important;
    cursor: default!important
}

button.disable{
    cursor: not-allowed;
}

#necessary-warning{
    display: block;
    width: 100%;
    padding: 10px;
    border: 1px solid gray;
    background-color: #f1f1f1;
    margin-bottom: 20px;
    text-align: center;
    border-radius: 7px;
}

.dah-consent-manager input[type="checkbox"]
{
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance:none;
    border: 0;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}


.dah-consent-manager .checkBoxes > div > input[type=checkbox]+label {
    position: relative;
    padding: 5px 5px 5px 25px;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}


.dah-consent-manager input[type=checkbox]+label:before{
    box-sizing: content-box;
    content: '';
    border-radius: 3px;
    position: absolute;
    top: 50%;
    left: 0;
    width: 14px;
    height: 14px;
    margin-top: -9px;
    border: 2px solid #888e94;
    text-align: center;
}

.dah-consent-manager input[type=checkbox]:checked+label:after {
    content: '';
    transition: transform .2s ease-out,-webkit-transform .2s ease-out;
    -webkit-transform: rotate(-45deg) scale(1);
    transform: rotate(-45deg) scale(1);
}

.dah-consent-manager input[type=checkbox]+label:after {
    box-sizing: content-box;
    content: '';
    position: absolute;
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transform-origin: 50%;
    transform-origin: 50%;
    transition: transform .2s ease-out;
    transition: none,_;
    background-color: transparent;
    top: 50%;
    left: 4px;
    width: 8px;
    height: 3px;
    margin-top: -4px;
    border-style: solid;
    border-color: #49c0ff;
    border-width: 0 0 3px 3px;
    -o-border-image: none;
    border-image: none;
    -webkit-transform: rotate(-45deg) scale(0);
    transform: rotate(-45deg) scale(0);
}

.hide{
    display: none !important;
}


/* Cookie Consent Extend for old Version of Homepage */
.layout-row > p{
    font-size: 14px !important;
}

.layout-row > p > a {
    color: #3498DB !important;
    /* font-weight: 400; */
}


@media (max-width: 990px){
    .dah-consent-manager{
        padding: 8px !important;
        position: fixed;
        background: #ffffff;
       /* top: 5%;*/
        top: 1.6rem;
        left: 50%;
        z-index: 9999999;
        transform: translate(-50%);
        /*height: 90%;*/
        height: 92%;
        /*width: 95%;*/
        width: 100%;
        max-width: 767px;
        overflow-y: scroll;
        overflow-x: hidden;
        padding-top: 20px;
    }
    
    
    .dah-consent-manager-inner > h2{
        font-size: 24px !important;
    }

    .dah-consent-manager-inner {
        overflow-y: scroll !important;
        height: calc(100% - 17rem);
    }
    
    .dah-primary-button{
            min-width: 280px;
    }

    .buttonView {
        position: fixed !important;
        bottom: 0!important;
        left: 0!important;
        width: 100%!important;
        display: flex!important;
        justify-content: center!important;
        background-color: #fff;
        padding-bottom: 4rem;

    }

    .buttonView > button{
        padding: 0.8rem;
        margin: 5px;
        margin-bottom: 2rem;
        margin-top:2rem;
        font-size: 1.7rem;
        box-sizing: border-box;
    }

    .buttonView > button .buttonView > button{
        min-width: 270px;
    }

    .checkBoxes{
        display: block;
    }
}
