
.cc--oldeng {
    --cc-font-family: OpenSansReg;
    --cc-btn-primary-bg: #02254d;
    --cc-btn-primary-color: #fff;
    --cc-btn-primary-hover-bg: #3b3742;
    --cc-btn-primary-hover-color: #fff;
    --cc-footer-bg: #02254d;
    --cc-footer-color: #fff;

    #cc-main {
        * {
            border-radius: 0 !important;
        }

        .cm, .pm {
            border: 1px solid #51426D;
            box-shadow: 0 .625em 1.875em #51426D58;
        }
        
        .cm {
            --cc-btn-secondary-bg: #67829f;
            --cc-btn-secondary-color: #fff;
        }

        .pm__service-icon {
            background-color: currentColor;
        }

        .cm__title {
            font-family: ProximaNovaReg;
            text-transform: uppercase;
            margin-top: .5em;
        }

        .cm__footer {
            --cc-primary-color: #fff;

            a {
                font-weight: 400;
            }
        }

        .cm__btns, .pm__footer {
            --cc-btn-border-radius: 0;
        }

        .cm__btn, .pm__btn {
            text-transform: uppercase;
        }
        
        .cm--bar.cm--inline {
            .cm__btns {
                flex-direction: row;
                /* align-items: center; */
                max-width: none;
                gap: .5em;
                
                .cm__btn-group {
                    margin: 0;
                    &:first-child {
                        display: flex;
                        flex-direction: column;
                        align-items: stretch;   
                        justify-content: space-between;
                    }
                    
                    &:last-child {
                        @media (min-width: 641px) {
                            --cc-btn-secondary-bg: transparent;
                            --cc-btn-secondary-border-color: transparent;
                            --cc-btn-secondary-hover-bg: transparent;
                            --cc-btn-secondary-hover-border-color: transparent;
                            --cc-btn-secondary-hover-color: #ffffff8a;

                            position: absolute;
                            top: 100%;
                            margin-top: 5px;
                            
                            .cm__btn {
                                padding: 0;
                                min-height: 0;
                                line-height: 0;
                            }
                        }
                    }
                }
                
                .cm__btn {
                    margin: 0!important;
                    min-width: 0;
                }
            }
        }

        @media (max-width: 640px) {
            .cm__desc {
                text-align: center;
                padding: 0;
            }
        }
    }
}

#cc-main {
    .show-d {
        display: block;
    }
}

@media (min-width: 641px) {
    .show-m {
        display: none !important;
    }
}

@media (max-width: 640px) {
    #cc-main {
        .show-d {
            display: none !important;
        }

        .cm__title, .cm__footer {
            display: none;
        }

        .cm__desc {
            margin: 0 !important;
        }

        .cm__btns {
            flex-direction: row !important;
            gap: 0.5em;
            .cm__btn-group {
                flex: auto;
                border-radius: var(--cc-btn-border-radius) !important;
                overflow: hidden;
                &, .cm__btn {
                    flex-direction: row !important;
                    min-width: auto !important;
                    margin: 0 !important;
                    padding: 0 !important;
                    border-radius: 0;
                }

                + & > .cm__btn {
                    width: 0;
                }
            }
        }
    }
}
