body.scw-cookie-in {
    margin-bottom: 70px!important;
}

.scw-cookie-btn,
.scw-cookie-panel-toggle,
.scw-cookie-policy,
.scw-cookie-settings,
.scw-cookie-settings .icon,
.scw-cookie-switch {
    transition: all .3s ease;
}

.icon.icon-cookie {
    background-position: 0 0;
}

.icon.icon-policy {
    background-position: -25px 0;
}

.icon.icon-settings {
    background-position: -50px 0;
}

.scw-cookie-panel-toggle {
    background: inherit;
    border-top: solid 3px #FFF;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    transform: translateY(-100%);
}

.scw-cookie-panel-toggle::before {
    background: #2D3436;
    content: 'Turn cookies on / off';
    float: left;
    height: 20px;
    line-height: 25px;
    margin-right: 0;
    opacity: 0;
    overflow: hidden;
    position: relative;
    text-align: center;
    transition: all .3s ease;
    visibility: hidden;
    width: 0
}

.scw-cookie-panel-toggle:hover::before {
    opacity: 1;
    visibility: visible;
    margin-right: 10px;
    width: 140px;
}

.scw-cookie-panel-toggle-left {
    left: 10px;
}

.scw-cookie-panel-toggle-center {
    left: calc(50% - 22.5px)
}

.scw-cookie-panel-toggle-right {
    right: 10px;
}

.scw-cookie-panel-toggle:hover {
    border-top-color: #20BF6B;
}

.scw-cookie {
    background: #2D3436;
    bottom: 0;
    color: #FFF;
    /* font-family: Arial; */
    font-size: 14px;
    left: 0;
    position: fixed;
    width: 100%;
    z-index: 9999;
}

.scw-cookie:not(.scw-cookie-out) {
    animation: slideIn .5s ease-in-out;
}

.scw-cookie.scw-cookie-out {
    transform: translateY(100%);
}

.scw-cookie.scw-cookie-slide-out {
    animation: slideOut .5s ease-in-out;
    transform: translateY(100%);
}

.scw-cookie-content {
    margin: 0 auto;
    max-width: 90%;
    padding: 20px;
    /* width: 1170px; */
}

.scw-cookie-content::after {
    clear: both;
    content: '';
    display: block;
}

.scw-cookie-message {
    float: left;
    line-height: 30px;
    width: 70%;
}

.scw-cookie-decision {
    text-align: right;
    float: left;
    width: 30%;
}

.scw-cookie-btn,
.scw-cookie-policy,
.scw-cookie-settings {
    display: inline-block;
    line-height: 30px;
    text-align: center;
}

.scw-cookie-btn {
    background: #0099cc;
    cursor: pointer;
    width: 100px;
}

.scw-cookie-btn:hover {
     background:#1e6f8b;
}

.scw-cookie-policy,
.scw-cookie-settings {
    margin-left: 13px;
    width: 20px;
}

.scw-cookie-policy .icon,
.scw-cookie-settings .icon {
    margin-top: -5px;
    opacity: .7;
    position: relative;
    top: 7px;
}

.scw-cookie-policy:hover .icon,
.scw-cookie-settings:hover .icon {
    opacity: 1
}

.scw-cookie-settings {
    cursor: pointer;
}

.scw-cookie-details {
    clear: both;
    display: none;
    padding-top: 15px;
}

/* .page-template-page_cookies_policy .scw-cookie-details {

} */

.scw-cookie-details::after {
    clear: both;
    content: '';
    display: block;
}

.scw-cookie-details-title {
    font-weight: 700;
    text-transform: uppercase;
}

.scw-cookie-name {
    cursor: pointer;
    /* float: left; */
    line-height: 23px;
    /* padding-left: 15px; */
    /* width: 80% */
    display: inline-block;
	color:#afafaf;
	font-weight:bold;
}

.scw-cookie-toggle input[type=checkbox] {
    cursor: pointer;
    /* float: right; */
    height: 25px;
    margin: 0;
    width: 20%;
}



.scw-cookie-tooltip-trigger {
    position: relative;
}

.scw-cookie-tooltip {
    animation: fadeIn .5s ease-in-out;
    background: #fff;
    border: 1px solid #000;
    color: #000;
    font-size: 11px;
    left: 50%;
    line-height: 23px;
    padding: 0 10px;
    position: absolute;
    top: 0;
    transform: translate(-50%, -100%);
    width: 100px;
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
        visibility: hidden;
    }
    to {
        opacity: 1;
        visibility: visible;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        visibility: hidden;
    }
    to {
        opacity: 1;
        visibility: visible;
    }
}

@-webkit-keyframes slideIn {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@-webkit-keyframes slideOut {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(100%);
    }
}

@keyframes slideOut {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(100%);
    }
}

.scw-cookie-switch {
    float: right;
    background: #BDB9A6;
    border-radius: 1em;
    cursor: pointer;
    display: inline-block;
    font-size: 20px;
    height: .8em;
    margin: 0;
    position: relative;
    top: 4px;
    width: 2em;
}


.scw-cookie-switch.disabled {
    cursor: not-allowed;
    opacity: .3;
}

.scw-cookie-switch input {
    position: absolute;
    opacity: 0;
}

.scw-cookie-switch div {
    background: #FFF;
    border-radius: .8em;
    box-shadow: 0 .1em .3em rgba(0, 0, 0, .3);
    height: .8em;
    width: 1em;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    transition: all .3s;
}

.scw-cookie-switch input:checked+div {
    -webkit-transform: translate3d(100%, 0, 0);
    -moz-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
}

div#cookieSettings {
    color: #0099cc;
	text-decoration:underline;
    display: inline-block;
    margin-left: 20px;
}

div#cookieSettings:hover {
    color:#1e6f8b;
    cursor: pointer;
}

.cookiesPolicy {
    color: #0099cc;
	text-decoration:underline;
}

.cookiesPolicy:hover {
    color:#1e6f8b !important;
}

.cookie-message-links {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
        -ms-flex-align: start;
            align-items: flex-start;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
    max-width: 300px;
}

.cookie-message-links > div {
    position: relative;
}

.cookie-message-links > div:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 1px;
    transition: width 0.3s ease-in; 
}

.cookie-message-links > div:hover:before,
.cookie-message-links > div:focus:before {
    width: 100%;
}
.scw-cookie-switch.checked {
	background-color:#0099cc;
}

@media screen and (max-width: 960px) {
    .scw-cookie-content {
       max-height: 600px; 
       overflow-y: auto;
    }
    
}

@media screen and (max-width: 600px) {
    .scw-cookie-message,
    .scw-cookie-decision {
        width: 100%;
    }

    .cookie-message-links {
        max-width: 60%;
        margin: 20px 0;
    }
}

@media screen and (max-width: 480px) {
    .scw-cookie-content {
        max-height: 400px;
    }

    .scw-cookie {
        padding-top: 10px;
        box-sizing: border-box;
    }

   .scw-cookie-content {
       /* overflow-y: scroll; */
       padding-top: 10px; 
   }

   .cookie-message-links {
        max-width: 100%;
        margin: 20px auto;
    }
}