.cookie {
position: fixed;
display: flex;
align-items: center;
justify-content: center;
bottom: 0;
left: 50%;
transform: translate(-50%, 0);
width: 100%;
/* max-width: 1200px; */
line-height: 1.5;
color: blue;
background-color: white;
z-index: 981;
font-size: 17px;
border: 1px solid lightgrey;
}
.cookie-body::before {
content: "";
position: fixed;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.125);
z-index: 980;
}
.cookie-block {
max-width: 1200px;
width: 100%;
display: flex;
flex-direction: column;
}
.cookie-text {
padding: 20px;
}
.cookie-text a {
color: var(--color-graphite);
}
.cookie-button  {
width: 100%;
display: flex;
align-items: center;
justify-content: space-around;
padding: 20px;
border-top: 1px solid lightgrey;
}
#btn-cookie-setting,
#btn-cookie-ok,
#btn-cookie-close,
#btn-cookie-save {
width: 240px;
height: 52px;
font-size: 17px;
background-color: white;
border-radius: 3px;
border: 1px solid var(--color-blue);
cursor: pointer;
}
#btn-cookie-ok,
#btn-cookie-save {
background-color: var(--color-blue);
color: white;
}
#btn-cookie-setting:hover,
#btn-cookie-close:hover {
background-color: var(--color-blue);
opacity: 0.9;
border: 1px solid gray;
color: white;
}
#btn-cookie-ok:hover,
#btn-cookie-save:hover {
opacity: 0.9;
border: 1px solid gray;
}
/* ------------------------------------------- */
.cookie-setting {
display: block;
visibility: hidden;
position: fixed;
top: 50%;
left: 50%;
margin-right: -50%;
transform: translate(-50%, -50%);
display: block;
height: 628px;
width: 796px;
color: var(--color-graphite);
border-radius: 3px;
background-color: white;
z-index: 998;
font-size: 17px;
border: 1px solid lightgrey;
line-height: 1.5;
}
.cookie-setting {
position: fixed;
}
.cookie-scroll {
margin: 20px 0;
overflow-y: scroll;
width: 778px;
height: 490px;
}
.cookie-title-setting {
color: var(--color-blue);
font-weight: 600;
padding: 0px 0 10px 20px;
text-align: justify;
margin-right: 200px;
text-align: justify;
}
.cookie-block-setting {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
}
.cookie-setting-text {
height: 100% !important;
padding: 10px 10px 10px 20px;
text-align: justify;
font-size: 16px;
}
.cookie-setting-text > b {
font-weight: 600;
}
.cookie-setting-block-input {
min-width: 190px;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
padding: 0 20px 10px 20px;
}
.cookie-setting-input {
width: 30px;
height: 30px;
cursor: pointer;
}
.cookie-setting-label {
cursor: pointer;
}
@media screen and (max-width: 800px) {
.cookie {
width: 100%;
font-size: 17px;
height: auto;
}
.cookie-scroll {
width: 100%;
}
.cookie-text {
padding: 8px;
}
.cookie-title-setting {
margin-right: 0;
padding-left: 8px;
padding-right: 8px;
}
.cookie-block {
display: flex;
flex-direction: column;
}
.cookie-setting {
display: block;
height: 100%;
width: 100%;
color: var(--color-graphite);
border-radius: 3px;
background-color: white;
z-index: 998;
font-size: 17px;
border: 1px solid lightgrey;
}
.cookie-scroll {
height: calc(100% - 174px);
}
.cookie-block-setting {
flex-direction: column;
align-items: center;
justify-content: center;
}
.cookie-setting-text {
padding: 10px 8px 10px 8px;
}
.cookie-button {
flex-direction: column;
align-items: center;
justify-content: space-around;
padding: 10px;
}
#btn-cookie-setting,
#btn-cookie-ok,
#btn-cookie-close,
#btn-cookie-save {
width: 240px;
margin-top: 4px;
margin-bottom: 4px;
}
.cookie-button > div:nth-child(1) {
order: 1;
}
}
