/*style for button*/
.cc-btn {
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 2px;
    height: var(--nkn-form-element-height);
    outline: none;
    transition: box-shadow 0.2s;
    min-width: 88px;
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
    font-size: 14px;
    font-weight: 500;
}

/* Overlay */
.cc-btn:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgb(255, 255, 255);
    opacity: 0;
    transition: opacity 0.2s;
}

/* Ripple */
.cc-btn:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    padding: 50%;
    width: 32px; 
    height: 32px;
    background-color: rgb(255, 255, 255);
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
    transition: opacity 1s, transform 0.25s;
}

/* Hover, Focus */
.cc-btn:hover,
.cc-btn:focus {
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);
    background-color: var(--primary-color);
}

.cc-btn:hover::before {
    opacity: 0.08;
}

.cc-btn:focus::before {
    opacity: 0.24;
}

.cc-btn:focus::before {
    opacity: 0.3;
}

/* Active */
.cc-btn:active {
    box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
}

.cc-btn:active::after {
    opacity: 0.32;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0s;
}
/*End style for button*/

.support-channels-item {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.support-channels-item:not(:first-child) {
    margin-top: 2.5rem;
}

.icon-support-channel {
    width: 15%;
    height: 15%;
}

.support-channels {
    padding-left: .5rem;
    padding-right: .5rem;
}

.support-channels svg {
    color: var(--primary-color);
}

div.cc-resource-detail {
    bottom: 0;
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
}

.btn-primary {
    display: inline-block;
    width: 160px;
    background-color: var(--primary-color);
    color: var(--secondary-text-color);
}

.footer {
    position: relative;
    height: 80px;
    padding: 0 .5em;
    background-color: #2a2a2a;
    color: var(--secondary-text-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer p {
    margin: .5rem;
}
.footer a {
    color: #676767;
}

@media (min-width: 769px) {
    .icon-support-channel {
        width: 40%;
        height: 40%;
    }
    .support-channels-item:not(:first-child) {
        margin-top: 1rem;
    } 
    .support-channels-item p {
        margin-right: 2.5rem;
        margin-left: 2.5rem;
        height: 84px;
        display: flex;
        align-items: center;
        justify-content: center;
    } 
    .footer {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: var(--cc-bottom-controls-height);
    } 
    .footer p {
        margin: 1.035rem;
    }
}