.cc-overlay.default {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999992;
    background-color: rgba(0,0,0,0.6);
}

.cc-overlay.bottom {
    position: fixed;
    top: auto;
    left: 0;
    right: auto;
    bottom: 0;
    width: 100%;
    z-index: 9999992;
    background-color: #fff;
}

.cc-container a {
    text-decoration: underline;
    outline: none;
}

.cc-container.default {
    color: #000;
    display: block;
    height: 504px;
    max-width: 620px;
    position: fixed;
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    z-index: 9999993;
    width: 95%;
    background-color: #fff;
    padding: 0;
    border-radius: 4px;
}

.cc-container .scrolltext {
    padding: 20px 20px 20px 20px;
    overflow: auto;
    height: 425px;
	text-align: left;
}

.cc-container .scrolltext::-webkit-scrollbar {
    width: 8px;
}

.cc-container .scrolltext::-webkit-scrollbar-thumb {
    background: #999;
    opacity: 0.7;
}

.cc-container .scrolltext::-webkit-scrollbar-track {
    background: #DEE9EA;
}

.cc-container .cc-buttons {
    padding: 0 20px 20px 20px;
}

.cc-container.bottom {
    color: rgba(1,23,54,.8);
    display: block;
    max-height: calc(100% - 100px);
    max-width: 40%;
    top: auto;
    left: 0;
    right: auto;
    bottom: 0;
    z-index: 9999991;
    width: 95%;
    background-color: #fff;
    padding: 30px 60px;
    margin: 0 auto;
}

.cc-container h1 {
    font-size: 24px;
    color: #172983;
}

.cc-container p {
    line-height: 20px;
    font-size: 14px;
}

.cc-container .cc-buttons {
    width: 100%;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: stretch;
	box-sizing: border-box;
	background: #fff;
	border-radius: 4px;
}

.cc-container .cc-buttons button, .cc-container .cc-details button {
    cursor: pointer;
    text-align: center;
    border-radius: 4px;
    border: 1px solid;
    height: 40px;
    min-height: 40px;
    padding: 0 30px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    width: auto;
    outline: none;
}

.cc-container .cc-details button {
    display: block;
    width: 50%;
    min-width: 200px;
    margin: 40px auto 0;
}

.cc-container .cc-buttons button {
    margin-top: 0;
    width: 48%;
}

.cc-container .cc-buttons button.acceptAll, .cc-container .cc-details button.save {
    background: #172983;
    border-color: #172983;
    color: #fff;
}

.cc-container .cc-buttons button.deny {
    background: #bbb;
    border-color: #bbb;
    color: #fff;
}

.cc-container .cc-buttons button.settings {
    background-color: #172983;
    border-color: #172983;
    color: #fff;
}

.cc-container .cc-buttons button:first-of-type {
    margin-right: 20px;
}

.cc-container .cc-details {
    display: none;
    font-size: 13px;
    margin-top: 20px;
}

.cc-container .cc-details h4, .cc-container .cc-details p {
    margin: 0;
}

.cc-container .cc-details p {
    font-size: 13px;
    line-height: 20px;
}

.cc-container .cc-details h4 {
    margin-top: 20px;
}

/* nice checkboxes */
.cc-container .cc-options label {
    display: inline-block;
    position: relative;
    padding-left: 28px;
    padding-right: 27px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 15px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.cc-container .cc-options input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.cc-container .cc-options .cc-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
}

.cc-container:hover .cc-options input ~ .cc-checkmark {
    background-color: #ddd;
}

.cc-container .cc-options input:checked ~ .cc-checkmark {
    background-color: #0056a4;
}

.cc-container .cc-options input:disabled ~ .cc-checkmark {
    background-color: #bbb;
}

.cc-container .cc-options .cc-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.cc-container .cc-options input:checked ~ .cc-checkmark:after {
    display: block;
}

.cc-container .cc-options .cc-checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
/* nice checkboxes end */

.cc-blur {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999991;
    background-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

@media screen and (max-width: 870px) {
    .cc-container.bottom {
        max-width: calc(100% - 140px);
        overflow: auto;
    }

    .cc-overlay.bottom.cc-settings-open {
        height: 100%;
    }

    .cc-overlay.bottom.cc-settings-open .cc-container.bottom {
        max-height: calc(100% - 40px);
    }
}

@media screen and (max-width: 640px) {
	.cc-container .cc-buttons button:first-of-type {
		margin-right: 0px;
		margin-bottom: 15px;
	}
	
    .cc-container.default {
        width: calc(100% - 68px);
        padding: 0;
        overflow: hidden;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        flex-wrap: nowrap;
    }

    .cc-container .cc-buttons {
        position: fixed;
        bottom: 0;
        left: 0;
        top: auto;
        right: auto;
        background: #fff;
        padding: 20px 20px;
    }

    .cc-container .cc-buttons button, .cc-container .cc-details button {
        width: 100%;
        box-sizing: border-box;
    }

    .cc-container .cc-buttons button.acceptAll {
        margin-bottom: 0px;
        margin-right: 0;
    }

    .cc-container .cc-buttons button, .cc-container .cc-details button {
        padding: 0;
    }

    .cc-container .scrolltext {
        padding: 20px 20px 60px 20px;
    }
}

@media screen and (max-width: 560px) {
    .cc-container h1 {
        font-size: 18px;
    }

    .cc-container p, .cc-container .cc-buttons button, .cc-container .cc-details button {
        font-size: 13px;
    }

    .cc-container.bottom {
        max-width: calc(100% - 60px);
        padding: 20px 30px;
    }
}

@media screen and (max-width: 460px) {
    .cc-container .cc-options label {
        display: block;
    }
}

@media screen and (max-width: 390px) {
    .cc-container .cc-buttons button, .cc-container .cc-details button {
        padding: 0 10px;
    }

    .cc-container.bottom {
        max-width: calc(100% - 40px);
        padding: 10px 20px;
    }
}

@media screen and (max-height: 400px) {
    .cc-container.default {
        max-height: calc(100% - 10px);
        width: calc(100% - 48px);
        padding: 15px 20px;
        overflow: auto;
    }

    .cc-container h1 {
        font-size: 18px;
    }

    .cc-container p, .cc-container .cc-buttons button, .cc-container .cc-details button {
        font-size: 13px;
    }

    .cc-container .cc-buttons {
        margin-top: 10px;
    }
}

@media screen and (max-height: 710px) {
    .cc-container.default {
        /*overflow: auto;*/
    }
}
