/* Degriz_OrderLibrary - ported from the Magento 1 degriz2 theme (membership, checklist, progress bar) */
/* membership */

.cwrap { position: relative; }
.cwrap .lnotice { display: block; text-decoration: none; position: absolute; z-index: 2; left: 50%; top: 40px; transform: translateX(-50%); max-width: 100%; width: 640px; text-align: center; font-size: 17px; line-height: 1.5em; background: url(../images/premium.jpg) no-repeat bottom center #fff; border: 5px solid #111; -webkit-border-radius: 15px; -moz-border-radius: 15px; border-radius: 15px; padding: 40px 40px 105px 40px; box-shadow: rgba(0, 0, 0, 0.3) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 11px 10px; }
.cwrap .lnotice p { margin-bottom: 10px; } 
.cwrap .lnotice .title { position: relative; font-family: 'DM Serif Text'; letter-spacing: .01em; font-size: 34px; margin: 0 0 30px; line-height: 1em; font-weight: bold; }
.cwrap .lnotice .title:before { content:''; z-index:1; display: block; height: 1px; width: 100%; background: #ccc; position: absolute; top: 50%; left: 0; right: 0; }
.cwrap .lnotice .title span { z-index: 2; background: #fff; padding: 0 15px; position: relative; display: inline-block; }

.cwrap .lnotice .more { margin-top: 140px; display: inline-block; padding: 10px 40px; background: #db5518; background: -moz-linear-gradient(0deg,rgba(219,85,24,1) 0%,rgba(242,99,34,1) 100%); background: -webkit-linear-gradient(0deg,rgba(219,85,24,1) 0%,rgba(242,99,34,1) 100%); background: linear-gradient(0deg,rgba(219,85,24,1) 0%,rgba(242,99,34,1) 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#db5518",endColorstr="#f26322",GradientType=1); color: #fff; font-weight: 700; font-size: 19px; line-height: 1.5em; text-decoration: none; -webkit-border-radius: 55px; -moz-border-radius: 55px; border-radius: 55px; box-shadow: 0 5px 12px 0 rgb(0 0 0/27%),0 10px 30px 0 rgb(0 0 0/29%); }
.cwrap .lnotice:hover { box-shadow: rgba(0, 0, 0, 0.5) 0px 19px 38px, rgba(0, 0, 0, 0.42) 0px 15px 12px; }
.cwrap .lnotice .more:hover { box-shadow: 0 5px 12px 0 rgb(0 0 0/47%),0 10px 30px 0 rgb(0 0 0/49%); }



.premium { position: absolute; top: 10px; right: 10px; content: ''; display: block; height: 32px; width: 32px; background-image: url(../images/premium.svg); background-size: contain; }

/* PAID NAV */

.memnav { position: relative; max-width: 1200px; margin: 0 auto; padding: 12px 10px 10px 10px; border: 1px solid #000; background: rgb(255,255,255); background: linear-gradient(90deg, rgba(255,255,255,1) 30%, rgba(0,0,0,1) 100%); color: #000; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; box-shadow: rgba(60, 64, 67, .2) 0px 1px 2px 0px, rgba(60, 64, 67, .1) 0px 2px 3px 2px; }
.memnav .contain { position: relative; display: flex; align-items: center; flex-direction: row; justify-content: space-between; gap: 15px; padding-left: 45px; }
.memnav .contain > * { flex: 0 1 auto; display: flex; gap: 10px;}
.memnav .contain > .setup {  margin-left: auto; }
.memnav .contain .premium { top: 50%; transform: translateY(-50%); right: unset; left: 0; }

.memnav label {  font-size: 14px; font-weight: 600; color: #fff; line-height: 30px; }
.memnav #rating-form label,
.memnav #checked label { display: none; color: #333; }
.memnav #todo label { color: #333; }

.memnav #wrap { display: flex; gap: 5px; }
.memnav #wrap > * { flex: 1; }


.memnav.fixed { position: fixed; z-index: 3; bottom: 0; left: 0; right: 0; -webkit-border-bottom-right-radius: 0; -webkit-border-bottom-left-radius: 0; -moz-border-radius-bottomright: 0; -moz-border-radius-bottomleft: 0; border-bottom-right-radius: 0; border-bottom-left-radius: 0; }

/* view switch */
.status button { cursor: pointer; position:relative; width: 60px; height: 30px; border: 0px; background: #f7f7f7; box-shadow: rgba(0, 0, 0, 0.1) 3px 3px 6px 0px inset, rgba(255, 255, 255, 0.5) -3px -3px 6px 1px inset; -webkit-border-radius: 30px; -moz-border-radius: 30px; border-radius: 30px; }
.status button:before { content: ''; display: block; position: absolute; z-index: 1; top: 8px; right: 8px; bottom: 8px; left: 8px; background: #8d8d8d; box-shadow: rgba(0, 0, 0, 0.1) 3px 3px 3px 0px inset, rgba(0, 0, 0, 0.05) -3px -3px 3px 1px inset; -webkit-border-radius: 30px; -moz-border-radius: 30px; border-radius: 30px; } 
.status button span { display: block; width: 50%; position: absolute; z-index: 2; top: 4px; bottom: 4px; left: 4px; background: rgb(236,236,236); background: linear-gradient(0deg, rgba(236,236,236,1) 0%, rgba(255,255,255,1) 100%); -webkit-border-radius: 30px; -moz-border-radius: 30px; border-radius: 30px; box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px; }
.status button span:before { content: ''; display: block; margin: 2px auto; height: 18px; width: 18px; background-size: contain; background-repeat: no-repeat; background-position: center; }
#checked-status.status button span:before { background-image: url(../images/eye-closed.svg); }
.status button span span { display: none; }

.status button.checked:before { background: #f96322; }
.status button.checked span { left: unset; right: 4px; }
#checked-status.status button.checked span:before { background-image: url(../images/eye.svg); }

/* values */
.value.line > div { position:relative; width: 100%; height: 28px; line-height: 30px; padding: 0 15px 0 50px; color: #fff; background: #8d8d8d; font-size: 13px; border: 0px; background: #f7f7f7; box-shadow: rgba(0, 0, 0, 0.1) 3px 3px 6px 0px inset, rgba(255, 255, 255, 0.1) -3px -3px 6px 1px inset; -webkit-border-radius: 30px; -moz-border-radius: 30px; border-radius: 30px; }
.value.line > div:before { content: ''; font-weight: bold; color: #000; text-align: center; display: inline-block; line-height: 24px; width: 38px; position: absolute; z-index: 2; top: 4px; bottom: 4px; left: 4px; background: rgb(236,236,236); background: linear-gradient(0deg, rgba(236,236,236,1) 0%, rgba(255,255,255,1) 100%); -webkit-border-radius: 30px; -moz-border-radius: 30px; border-radius: 30px; box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px; }
.value.line > div.data46:before,
.value.line > div.data51:before { content: '1/5'; } 
.value.line > div.data47:before,
.value.line > div.data52:before { content: '2/5'; } 
.value.line > div.data48:before,
.value.line > div.data53:before { content: '3/5'; } 
.value.line > div.data49:before,
.value.line > div.data54:before { content: '4/5'; } 
.value.line > div.data50:before,
.value.line > div.data55:before { content: '5/5'; } 
.value.line > div.data46,
.value.line > div.data51 { background: #fa6648; } 
.value.line > div.data47,
.value.line > div.data52 { background: #ffae00; } 
.value.line > div.data48,
.value.line > div.data53 { background: #c1c712; } 
.value.line > div.data49,
.value.line > div.data54 { background: #8bb600; } 
.value.line > div.data50,
.value.line > div.data55 { background: #359e00; } 

/* effect rating select (native, coloured by the selected option) */
#rating-form { display: flex; gap: 10px; align-items: center; }
body #rating { width: 130px; height: 30px; padding: 0 10px; font-size: 14px; line-height: 30px; color: #fff; background-color: #999; border: 0; border-radius: 30px; cursor: pointer; }
body #rating option { color: #fff; }

/* the markup is cache-neutral; the script shows the member parts for logged in customers */
.ol-root [hidden], .ol-guest[hidden] { display: none !important; }
.ol-locked .category-description { filter: blur(4px); opacity: .5; user-select: none; }
.todolist .section-head { display: block; width: 100%; clear: both; background: #f3f3f3; border-top: 2px solid #0066cc; padding: 8px 12px; margin: 14px 0 4px; box-sizing: border-box; }
.todolist .section-head .section-title { margin: 0; padding: 0; color: #0066cc; font-size: 15px; font-weight: 700; }

/* to do list */

.todolist .itm { display: flex; gap: 10px; align-items: center; text-decoration: none; text-align: left; }
.todolist .itm > *  { padding: 5px 10px; flex: 1; }
.todolist .itm.odd  { background: rgba(0,0,0,0.05); }
.todolist .itm .name { flex: 7; order: 2; }
.todolist .itm div.name { font-weight: bold; font-size: 17px; }
.todolist .itm .value { flex: 1; }
.todolist .itm .value.line { flex: 2; order: 3; }
.todolist .itm .value label { display: none; }

/* Mobile styles */
@media (max-width: 768px) {
  .todolist .itm { padding: 10px; gap: 5px 10px; }
  .todolist .itm.head { display: none; }
  .todolist .itm > *  { padding: 0; }
  .todolist .itm .value label { display: inline-block; font-size: 14px; color: #999; flex: 1; }
  .todolist .itm { flex-wrap: wrap; gap: 0; }
  .todolist .itm .name { flex: 1 1 100%; order: 0; padding: 5px; }
  .todolist .itm .value { display: flex; gap: 10px; align-items: center; }
  .todolist .itm .value.line { flex: 1 1 65%;}
  .todolist .itm .value { flex: 1 1 35%; padding: 5px;  }
  .todolist .itm .value.line.setup { order: 2; }
  .todolist .itm .value#todo { order: 3; }
  .value.line>div { flex: 2; }
}
@media (max-width: 520px) {
  .todolist .itm .value.line.setup { order: 3; }
  .todolist .itm .value#todo { order: 2; }
  .todolist .itm .value.line { flex: 1 1 100%;}
  .todolist .itm .value { flex: 1 1 50%; }
}

/* hidden */
.guest-info { background: #f5f5f5; padding: 15px 20px 25px 20px; border-radius: 5px; max-width: 1200px; margin: 0 auto; }
.guest-message { text-align: center; }
.guest-message p { margin: 0 0 10px 0; color: #333; }
.register-button { background: #f96322; color: white; padding: 8px 16px;  text-decoration: none; border-radius: 4px; font-weight: bold; }
.register-button:hover { background: #d1460a; text-decoration: none; color: white; }
