.has-it-cc:before {
    -webkit-animation: fadeIn 320ms ease;
    animation: fadeIn 320ms ease;
    -webkit-transition: opacity ease 320ms;
    transition: opacity ease 320ms;
    background-color: rgba(0, 0, 0, 0.5);
}

.it-cc {
    -webkit-transition: all ease 0.01s;
    transition: all ease 0.01s;
    font-size: 18px;
}

.it-cc__body {
    text-align: left;
    color: #000000;
}

.it-cc-dialog.it-cc--reveal {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
}

.it-cc__dialog {
    -webkit-transition: all ease 320ms;
    transition: all ease 320ms;
    position: relative;
    display: inline-block;
    width: 90%;
    max-width: 900px;
    background: #fff;
    padding: 40px;
}

.it-cc__header {
    margin-bottom: 23px;
}

.it-cc__title {
    font-size: 29px;
    line-height: 38px;
    margin-bottom: 14px;
}

.it-cc__intro {
    font-size: 18px;
    line-height: 27px;
    margin-bottom: 40px;
}

.it-cc__intro p {
    margin-bottom: 25px;
}

.it-cc__content {
    margin-bottom: 20px;
}

.it-cc__content a {
    color: #0096b9;
    text-decoration: none;
}

/* details collapse */
.it-cc__details-button {
    padding: 0;
    margin-bottom: 20px;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: transparent;
    color: #0096b9;
}

.it-cc__details-button:hover,
.it-cc__details-button:focus {
    text-decoration: none;
    outline: none;
}

.it-cc__details-button:hover span,
.it-cc__details-button:focus span {
    text-decoration: underline;
}

.it-cc__details-content {
    display: block;
    transition: all ease 0.25s;
    font-size: 14px;
    line-height: 23px;
}

.it-cc__details-content p {
    margin-bottom: 12px;
}

.it-cc__details-headline {
    font-size: 18px;
    line-height: 23px;
    margin-bottom: 3px;
}

.it-cc__details-content--collapse {
    display: none;
}

.it-cc__details-button .it-cc__details-hide {
    display: none;
}

.it-cc__details-button--clicked .it-cc__details-show {
    display: none;
}

.it-cc__details-button--clicked .it-cc__details-hide {
    display: inline;
}

/* .it-cc__details-button:focus {
    outline: none;
} */

.it-cc__details-icon {
    margin-right: 10px;
}

.it-cc__details-icon::before {
    display: inline-block;
    position: relative;
    content: '';
    width: 10px;
    height: 10px;
    border-bottom: 2px solid;
    border-right: 2px solid;
    border-color: #0096b9;
    transform: rotate(45deg);
    bottom: 3px;
    left: 4px;
}

.it-cc__details-button--clicked .it-cc__details-icon::before {
    transform: rotate(45deg) scale(-1);
    bottom: -2px;
}

/* checkboxes and labels */
.it-cc__checkboxes {
    margin-bottom: 15px;
}

@media screen and (min-width:768px) {
    .it-cc__checkbox-group {
        display: inline-block;
        margin-right: 40px;
    }
}

.it-cc__checkbox {
    position: absolute;
    z-index: -1;
    opacity: 0;
    background: transparent;
    border: inherit;
    width: auto;
}

.it-cc__pseudo-checkbox {
    position: absolute;
    display: inline-block;
    vertical-align: middle;
    width: 18px;
    height: 18px;
    border: 2px solid #000000;
    border-radius: 3px;
    margin-top: 2px;
}

.it-cc__checkbox:checked + .it-cc__pseudo-checkbox {
    background-color: #000000;
    border-color: #000000;
}

.it-cc__checkbox:disabled + .it-cc__pseudo-checkbox {
    border-color: #888888;
}

.it-cc__checkbox:checked:disabled + .it-cc__pseudo-checkbox {
    background-color: #888888;
}

.it-cc__checkbox:checked + .it-cc__pseudo-checkbox::after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-bottom: 2px solid #FFFFFF;
    border-right: 2px solid #FFFFFF;
    content: "";
    width: 6px;
    height: 11px;
    transform: translateX(4px) rotate(45deg);
    text-align: center;
    line-height: 1;
}

.it-cc__checkbox:checked:disabled + .it-cc__pseudo-checkbox::after {
    border-bottom-color: #CCCCCC;
    border-right-color: #CCCCCC;
}

.it-cc__checkbox-label {
    position: relative;
    z-index: 1;
    padding-left: 30px;
}

.it-cc__checkbox:not(:disabled) + .it-cc__pseudo-checkbox + .it-cc__checkbox-label {
    cursor: pointer;
}

.it-cc__checkbox:disabled + .it-cc__pseudo-checkbox + .it-cc__checkbox-label {
    color: #999999;
}

.it-cc__checkbox:focus + .it-cc__pseudo-checkbox {
    border: 2px solid #0096b9;
}

.it-cc__checkbox:focus + .it-cc__pseudo-checkbox + .it-cc__checkbox-label {
    color: #0096b9;
}

/* footer */
.it-cc__footer {
    display: flex;
    flex-direction: column;
}

@media screen and (min-width:768px) {
    .it-cc__footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.it-cc__button {
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    white-space: normal;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    padding: 14px 25px;
    font-size: 18px;
    line-height: 20px;
    height: auto;
    min-height: 50px;
    border-radius: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

@media screen and (min-width:768px) {
    .it-cc__button:not(:last-child) {
        margin-bottom: 0;
        margin-right: 20px;
    }
}

.it-cc__button-accept {
    color: #fff;
    background-color: #00adcc;
    border-color: #00adcc;
}

.it-cc__button-accept:hover,
.it-cc__button-accept:focus {
    background-color: #008299;
    border-color: #00798f;
}

.it-cc__button-decline {
    color: #fff;
    background-color: #5a5a5a;
    border-color: #5a5a5a;
}

.it-cc__button-decline:hover,
.it-cc__button-decline:focus {
    background-color: #414141;
    border-color: #3b3b3b;
}

/* accessibility: keyboard navigation styles */
.it-cc__button-accept:not(.nofocus):focus,
.it-cc__button-decline:not(.nofocus):focus {
    border: none;
    outline-offset: -2px;
    outline: 2px solid #000000;
}

.it-cc__footer-links {
    display: flex;
    flex-direction: column;
}

.it-cc__footer-links {
    margin-bottom: 15px;
}

@media screen and (min-width:768px) {
    .it-cc__footer-links {
        margin-bottom: 0;
        margin-right: 20px;
    }
}

@media screen and (max-width:767px) {
    .it-cc__footer-controls {
        order: 1;
        margin-bottom: 20px;
        display: flex;
        flex-direction: column-reverse;
    }

    .it-cc__button:last-child {
        margin-bottom: 20px;
    }

    .it-cc__footer-links {
        order: 2;
    }
}

.it-cc__footer-link {
    font-size: 18px;
    line-height: 27px;
    color: #000000;
    text-decoration: underline;
}

.it-cc__footer-link:hover {
    color: #0096b9;
}

.it-cc__footer-link:not(:last-child) {
    margin-bottom: 5px;
}


