.amgdprcookie-groups-modal .modal-inner-wrap {
/*    border-radius: 4px;*/
/*    box-shadow: 0 -2px 18px rgba(0,0,0,0.06);*/
    max-width: 740px
}
.amgdprcookie-groups-modal .modal-inner-wrap .modal-content {
    overflow: auto;
    padding-right: 0;
}

.amgdprcookie-groups-modal.-table .modal-inner-wrap {
    max-width: 1290px;
    min-width: 700px;
    overflow-x: auto
}

.amgdprcookie-groups-modal .modal-title {
    border-bottom: none;
    font-size: 20px;
    font-weight: bold
}

.amgdprcookie-groups-modal .action-close {
    display: none
}

.amgdprcookie-groups-modal .amgdprcookie-form {
    padding: 0 10px
}

.amgdprcookie-groups-modal .amgdprcookie-done {
    background-color: #273136;
    border-radius: 3px;
    box-shadow: none;
    color: #fff;
    font-weight: bold;
    letter-spacing: 1.35px;
    text-transform: uppercase;
    transition: background-color .3s ease-out;
    width: 100%
}

.amgdprcookie-groups-modal .amgdprcookie-done:hover {
    opacity: 0.8;
}

.amgdprcookie-groups-modal .amgdprcookie-done:focus {
    background-color: #1357e6;
    box-shadow: 0 0 3px 1px #00699d
}

.amgdprcookie-groups-modal:not(.-table) .modal-footer {
    padding-top: 0
}

.amgdprcookie-groups-modal .amgdprcookie-form-container,.amgdprcookie-groups-modal .amgdprcookie-tbody {
    overflow: auto;
    scrollbar-color: #e0e0e0 #fff;
    scrollbar-width: thin;
    scrollbar-face-color:#e0e0e0;scrollbar-highlight-color:#e0e0e0;scrollbar-shadow-color:#e0e0e0;scrollbar-track-color:#fff;display: block;
    max-height: 500px;
    overflow-y: auto
}

.amgdprcookie-groups-modal .amgdprcookie-form-container::-webkit-scrollbar,.amgdprcookie-groups-modal .amgdprcookie-tbody::-webkit-scrollbar {
    width: 6px
}

.amgdprcookie-groups-modal .amgdprcookie-form-container::-webkit-scrollbar-track,.amgdprcookie-groups-modal .amgdprcookie-tbody::-webkit-scrollbar-track {
    background-color: #fff;
    box-shadow: none
}

.amgdprcookie-groups-modal .amgdprcookie-form-container::-webkit-scrollbar-thumb,.amgdprcookie-groups-modal .amgdprcookie-tbody::-webkit-scrollbar-thumb {
    border-radius: 2px;
    background: #e0e0e0
}

.amgdprcookie-bar-container {
    background: #fff;
    box-shadow: 0 -2px 18px rgba(0,0,0,0.06);
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 30px 10px;
    z-index: 10
}

.amgdprcookie-bar-container .amgdprcookie-buttons-block {
    display: flex;
    flex-direction: column
}

.amgdprcookie-bar-container .amgdprcookie-policy {
    margin-bottom: 20px;
    max-height: 30vh;
    max-width: 640px;
    overflow-y: auto
}

.amgdprcookie-bar-container .amgdprcookie-button:first-child {
    margin-bottom: 10px
}

.amgdprcookie-bar-container .amgdprcookie-buttons-block .amgdprcookie-button {
    margin-bottom: 0;
    padding: 10px 30px
}
.amgdprcookie-bar-container .action-close{
    display: none;
}

.amgdprcookie-buttons-block {
    display: flex;
    flex-direction: column
}

.amgdprcookie-buttons-block.-settings {
    padding-bottom: 30px
}

.amgdprcookie-buttons-block .amgdprcookie-button {
    background: #fff;
    border: none;
    border-radius: 3px;
    box-shadow: none;
    color: #273136;
    font-weight: bold;
    letter-spacing: 1.35px;
    margin-top: 15px;
    padding: 10px 15px;
    text-transform: uppercase;
    transition: opacity .3s ease,color .3s ease-out,background-color .3s ease-out,border .3s ease-out
}

.amgdprcookie-buttons-block .amgdprcookie-button:hover {
    opacity: .9
}

.amgdprcookie-buttons-block .amgdprcookie-button:active,.amgdprcookie-buttons-block .amgdprcookie-button:focus {
    opacity: .9;
    box-shadow: 0 0 3px 1px #00699d
}

.amgdprcookie-buttons-block .amgdprcookie-button.-allow,.amgdprcookie-buttons-block .amgdprcookie-button.-save {
    background: #273136;
    color: #fff;
    flex-basis: 33%
}

.amgdprcookie-modal-template {
    background: #fff;
    overflow-y: auto;
    margin-left: 5px
}

.amgdprcookie-modal-template .amgdprcookie-button.-allow:not(.-save) {
    background: inherit;
    color: #273136;
    margin-bottom: 0
}

.amgdprcookie-modal-container .modal-content {
    padding: 0
}

.amgdprcookie-groups-container {
    box-shadow: 0 -2px 18px rgba(0,0,0,0.06);
    direction: rtl;
    height: 58vh;
    min-height: 170px;
    overflow-y: scroll
}

.amgdprcookie-policy-container {
    box-shadow: 0 -2px 18px rgba(0,0,0,0.06);
    padding: 24px
}

.amgdprcookie-text-container .amgdprcookie-policy {
    display: inline
}

.amgdprcookie-modal-container.modal-popup.modal-slide {
    left: 0;
    pointer-events: none;
    right: 46px
}

.amgdprcookie-modal-container .modal-inner-wrap {
    height: 100%;
    margin: 0;
    position: relative
}

.amgdprcookie-modal-container .modal-inner-wrap .modal-header {
    position: absolute;
    right: 0
}

.amgdprcookie-modal-container .modal-inner-wrap .action-close {
    margin: 5px;
    padding: 0
}

.amgdprcookie-modal-container .modal-inner-wrap .action-close:before {
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iOC41IiBjeT0iOC41IiByPSI4IiBzdHJva2U9IiNDQUNBQ0EiLz48cGF0aCBkPSJNNS4yNSA1LjI1bDYuNSA2LjVtMC02LjVsLTYuNSA2LjUiIHN0cm9rZT0iI0NBQ0FDQSIvPjwvc3ZnPg==') no-repeat center;
    content: '';
    height: 25px;
    width: 25px
}

.amgdprcookie-modal-container .modal-inner-wrap .action-close:focus {
    box-shadow: 0 0 3px 1px #00699d
}

.amgdprcookie-modal-container .modal-inner-wrap .amgdprcookie-groups-container {
    overflow: auto;
    scrollbar-color: #e8e8e8 #fff;
    scrollbar-width: thin;
    scrollbar-face-color:#e8e8e8;scrollbar-highlight-color:#e8e8e8;scrollbar-shadow-color:#e8e8e8;scrollbar-track-color:#fff}

.amgdprcookie-modal-container .modal-inner-wrap .amgdprcookie-groups-container::-webkit-scrollbar {
    width: 4px
}

.amgdprcookie-modal-container .modal-inner-wrap .amgdprcookie-groups-container::-webkit-scrollbar-track {
    background-color: #fff;
    box-shadow: none
}

.amgdprcookie-modal-container .modal-inner-wrap .amgdprcookie-groups-container::-webkit-scrollbar-thumb {
    border-radius: 2px;
    background: #e8e8e8
}

.amgdprcookie-settings-form .amgdprcookie-toggle-cookie .amgdprcookie-input.disabled+.amgdprcookie-label {
    background: #e8e8e8
}

.amgdprcookie-groups-modal .amgdprcookie-table .amgdprcookie-row,.amgdprcookie-groups-modal .amgdprcookie-table thead tr,.amgdprcookie-groups-modal .amgdprcookie-table thead {
    display: table;
    table-layout: fixed;
    width: 100%
}

.amgdprcookie-groups-modal .amgdprcookie-cell.-name {
    word-wrap: break-word
}

.amgdprcookie-modal-container .amgdprcookie-modal-template {
    width: 20%;
    min-width: 400px;
    margin-left: 0;
    height: 100%;
    pointer-events: auto;
    z-index: 900;
    position: relative
}

.ammodals-overlay {
    background-color: rgba(51,51,51,0.55);
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 899
}

.am-recaptcha-container .messages-container {
    margin-top: 15px
}

.am-recaptcha-container .hidden {
    position: absolute;
    left: -10000px;
    visibility: hidden
}

.amgdprcookie-cookie-container {
    margin-bottom: 20px;
}

@media (max-width: 922px){
    .modal-popup._show {
        width: 80%;
    }
}

@media (max-width: 420px){
    .modal-popup._show {
        width: 90%;
        padding: 20px;
    }
}