@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;700&display=swap');
.wp-admin * {
  box-sizing: border-box;
}
.wp-admin input[type=color], .wp-admin input[type=date], .wp-admin input[type=datetime-local], .wp-admin input[type=datetime], .wp-admin input[type=email], .wp-admin input[type=month], .wp-admin input[type=number], .wp-admin input[type=password], .wp-admin input[type=search], .wp-admin input[type=tel], .wp-admin input[type=text], .wp-admin input[type=time], .wp-admin input[type=url], .wp-admin input[type=week], .wp-admin select, .wp-admin textarea {
  border-radius: 0;
}
.wp-admin input:focus, .wp-admin input.form-control:focus {
  outline: none !important;
  outline-width: 0 !important;
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
}
.wp-admin #crossword_wrap {
  font-family: 'Roboto', sans-serif;
  display: flex;
  width: 100%;
  flex-direction: row-reverse;
  justify-content: flex-end;
  align-items: flex-start;
}
.wp-admin #crossword_wrap #settings {
  border-bottom: 1px solid #eee;
}
.wp-admin #crossword_wrap #setting_block {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 360px;
  min-width: 360px;
  padding: 10px 0;
  border: 1px solid black;
  margin: -1px 25px -1px 0;
  background-color: #ffffff;
}
.wp-admin #crossword_wrap #setting_block H2.trigger {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 15px 20px 15px 45px;
  border-bottom: 1px solid #eee;
}
.wp-admin #crossword_wrap #setting_block H2.trigger:after {
  content: "";
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 8 4.7' style='enable-background:new 0 0 8 4.7;' xml:space='preserve'%3e%3cpolygon points='4.7,4 8,0.7 7.3,0 4,3.3 0.7,0 0,0.7 3.3,4 4,4.7 '/%3e%3c/svg%3e");
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  left: 20px;
  top: 21px;
}
.wp-admin #crossword_wrap #setting_block #setting {
  background-color: #ffffff;
}
.wp-admin #crossword_wrap #setting_block INPUT[type=text] {
  padding: 5px 10px;
  border-radius: 0;
}
.wp-admin #crossword_wrap #setting_block INPUT[type=button] {
  padding: 11px 15px 12px 15px;
  border-radius: 0;
  border: unset;
  background-color: #56ccf2;
  color: #000000;
  transition: background-color 0.2s ease;
  cursor: pointer;
}
.wp-admin #crossword_wrap #setting_block INPUT[type=button]:hover {
  background-color: #4cbbdf;
  transition: background-color 0.2s ease;
}
.wp-admin #crossword_wrap #setting_block .size_buttons {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #eeeeee;
  padding: 10px 20px 25px 0px;
  gap: 8px;
}
.wp-admin #crossword_wrap #setting_block .size_buttons P {
  flex: 1 0 100%;
  max-width: 100%;
  padding: 0 0 10px 0;
}
.wp-admin #crossword_wrap #setting_block .size_button {
  cursor: pointer;
  max-width: 80px;
  background-color: #56ccf2;
  color: #000000;
  text-align: center;
  margin: 0;
  padding: 8px 12px;
  font-size: 13px;
  transition: background-color 0.2s ease;
}
.wp-admin #crossword_wrap #setting_block .size_button:hover {
  background-color: #4cbbdf;
  transition: background-color 0.2s ease;
}
.wp-admin #crossword_wrap #setting_block .size_generator {
  padding: 10px 20px 20px 0px;
}
.wp-admin #crossword_wrap #setting_block .size_generator P {
  padding: 0 0 0 0;
}
.wp-admin #crossword_wrap P {
  margin: 0;
}
.wp-admin .grid {
  display: grid;
  grid-template: repeat(10, 10%)/repeat(10, 10%);
  position: relative;
}
.wp-admin .grid__item {
  display: inline-flex;
  position: relative;
  width: 65px;
  max-width: 65px;
  height: 65px;
  max-height: 65px;
  align-items: center;
  justify-content: center;
  border-collapse: collapse;
  background-color: white;
  box-shadow: 0 0 0 1px black;
  padding: 2px;
  overflow-wrap: anywhere;
  flex-direction: column;
  padding: 0;
}
.wp-admin .grid__item INPUT {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 2;
  font-size: 28px;
  min-height: 100%;
  text-transform: uppercase;
  text-align: center;
  background: transparent;
}
.wp-admin .grid__item--placeholder {
  background: #e4e4e4;
}
.wp-admin .grid__item--placeholder .editable_content {
  width: 65px;
  max-width: 65px;
  word-break: break-all;
  height: 65px;
  padding: 0 5px;
  justify-content: center;
  align-items: center;
  font-size: 10px;
  text-transform: uppercase;
}
.wp-admin .grid__item--false INPUT {
  background-color: #ffe7e7;
}
/*
.wp-admin .grid__item--false-input INPUT {
  background-color: #ffe7e7;
}
*/
.wp-admin .grid__item--false-input:after {
  content: "";
  position: absolute;
  background-image: url("data:image/svg+xml,%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 64 64' style='enable-background:new 0 0 64 64;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23dd3030;%7D%0A%3C/style%3E%3Cpolygon class='st0' points='64,64 55.7,64 0,0 8.3,0 '/%3E%3Cpolygon class='st0' points='0,64 8.3,64 64,0 55.7,0 '/%3E%3C/svg%3E");
  width: 32px;
  height: 32px;
  z-index: 11;
  pointer-events: none;
}
.wp-admin .grid__item--true INPUT {
  background-color: #e7ffe9;
}
.wp-admin .grid__item--disabled {
  background: #000;
}
.wp-admin .grid__item--disabled INPUT {
  display: none;
}
.wp-admin .grid__item--default {
  background: white;
}
.wp-admin .grid__item--answer {
  background: #ffffc1;
}
.wp-admin .grid__item--answer:before {
  content: "";
  position: absolute;
  z-index: 1;
  width: 10px;
  height: 10px;
}
.wp-admin .grid__item--circle:before {
  content: "";
  background: #59ff67;
  border-radius: 50px;
  position: absolute;
  z-index: 1;
  width: 50px;
  height: 50px;
}
.wp-admin .grid__item--circle-stroke {
  background: #ffffc1;
}
.wp-admin .grid__item--circle-stroke:before {
  content: "";
  background: transparent;
  outline: 1px solid #000000;
  border-radius: 50px;
  position: absolute;
  z-index: 1;
  left: 3px;
  top: 1px;
  width: 63px;
  height: 62px;
}
.wp-admin .grid__item--circle-stroke-2 {
  background: #ffffc1;
}
.wp-admin .grid__item--circle-stroke-2:before {
  content: "";
  background: #e3e3b2;
  outline: 1px solid #000000;
  border-radius: 50px;
  position: absolute;
  z-index: 1;
  left: 3px;
  top: 1px;
  width: 63px;
  height: 62px;
}
.wp-admin .grid__item--circle-stroke-dashed:before {
  content: "";
  background: transparent;
  border: 5px dotted #59ff67;
  border-radius: 50px;
  letter-spacing: 1px;
  position: absolute;
  z-index: 1;
  width: 40px;
  height: 40px;
}
.wp-admin .grid__item--square:before {
  content: "";
  background: #59ff67;
  position: absolute;
  z-index: 1;
  width: 45px;
  height: 45px;
}
.wp-admin .grid__item--square-stroke:before {
  content: "";
  background: transparent;
  border: 5px solid #59ff67;
  position: absolute;
  z-index: 1;
  width: 40px;
  height: 40px;
}
.wp-admin .grid__item--square-dashed:before {
  content: "";
  background: transparent;
  border: 5px dotted #59ff67;
  position: absolute;
  z-index: 1;
  width: 40px;
  height: 40px;
}
.wp-admin .grid__item--top {
  display: flex;
  position: absolute;
  height: 50%;
  width: 100%;
  justify-content: center;
  align-items: center;
  top: 0;
  border-bottom: 1px solid #000;
  overflow: hidden;
  padding: 2px;
  height: unset;
  top: unset;
  position: relative;
  box-sizing: border-box;
  flex-grow: 1;
}
.wp-admin .grid__item--top P {
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  text-align: center;
  line-height: 1.2em !important;
  width: 100%;
  text-transform: uppercase;
}
.wp-admin .grid__item--bottom {
  display: flex;
  position: absolute;
  height: 50%;
  width: 100%;
  justify-content: center;
  align-items: center;
  top: 50%;
  overflow: hidden;
  padding: 2px;
  height: unset;
  top: unset;
  position: relative;
  box-sizing: border-box;
  flex-grow: 1;
}
.wp-admin .grid__item--bottom P {
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  text-align: center;
  line-height: 1.2em !important;
  width: 100%;
  text-transform: uppercase;
}
.wp-admin .grid__item--center {
  text-align: center;
}
.wp-admin .grid__item--center P {
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  line-height: 1.2em !important;
  text-transform: uppercase;
}
.grid--2 {
  position: absolute !important;
  background-color: white;
  background: #f7f7f7 url('../images/background.png');
  background-size: cover;
  border-bottom: 1px solid black;
  width: 209px;
  height: 195px;
  top: 0;
  left: 0;
}
.grid--2 .grid__item {
  box-shadow: none;
  background-color: transparent;
}
.grid--2 .grid__item--1 {
  grid-column: 4/1;
  grid-row: 1/4;
}
.trigger_content {
  float: left;
  width: 100%;
  padding: 0 20px;
  border-bottom: 1px solid #eeeeee;
}
.trigger_content.active {
  display: block;
}
.trigger_content.hidden {
  display: none;
}
.trigger_content #properties {
  margin: 10px 0 0 0;
  border: 1px solid #eee;
}
.trigger_content #properties:last-of-type {
  margin-bottom: 10px;
}
.trigger_content .switch {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  visibility: hidden;
  z-index: 1;
}
.trigger_content .switch:before {
  content: "";
  width: 100%;
  height: 100%;
  visibility: visible;
  position: absolute;
}
.trigger_content .switch:hover {
  background-color: #fafafa;
}
.trigger_content .properties__items {
  position: relative;
}
.trigger_content .properties__items.selected {
  z-index: 9;
}
.trigger_checkbox {
  float: left;
  width: 100%;
  padding: 10px 0 15px 0px;
}
.trigger_buttons {
  display: inline-flex;
  width: 100%;
  padding: 10px 5px 10px 5px;
}
.trigger_buttons BUTTON {
  flex: 1 0 50%;
  max-width: 50%;
}
#properties {
  position: relative;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
}
#properties H2 {
  float: left;
  position: relative;
  clear: both;
  margin: 0;
  cursor: pointer;
}
#properties H2.trigger {
  padding: 15px 20px 15px 45px;
  border-bottom: 1px solid #eee;
}
#properties H2.trigger:after {
  content: "";
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 8 4.7' style='enable-background:new 0 0 8 4.7;' xml:space='preserve'%3e%3cpolygon points='4.7,4 8,0.7 7.3,0 4,3.3 0.7,0 0,0.7 3.3,4 4,4.7 '/%3e%3c/svg%3e");
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  left: 20px;
  top: 21px;
}
.properties__items-wrap {
  flex: 1 0 50%;
  max-width: 50%;
}
.image-settings {
  border-bottom: 1px solid #eee;
}
.properties__items {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  padding: 10px;
  width: 100%;
  clear: both;
  margin: 0;
}
.properties__items H2 {
  font-size: 14px;
  flex: 1 0 50%;
  max-width: 50%;
  padding: 3px 0 0 0;
}
.properties__items.selected {
  background: #ebffde;
}
.properties__item {
  flex: 1 0 100%;
  max-width: 100%;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
}
.properties__item INPUT {
  right: 0;
  width: 80px;
  min-width: 80px;
  margin-right: 0;
}
.properties__item INPUT[type="text"] {
  width: 153px;
  line-height: 24px;
}
.properties__item INPUT[type="number"] {
  padding: 2px 0 3px 8px;
}
.properties__item SELECT {
  width: 80px;
  min-width: 80px;
  line-height: 24px;
  border-radius: 0;
  margin: 0;
}
.properties__item input[type="file"] {
  padding: 3px 9px;
  background-color: #ffffff;
  border: 1px solid #8c8f94;
  width: 153px;
  vertical-align: middle;
  outline: none;
}
.properties__item input[type="file"]::-webkit-file-upload-button {
  background: #485dc5;
  color: #FFFFFF;
  line-height: 21px;
  border: none;
  width: 0;
  padding: 0;
  margin: 0;
  -webkit-appearance: none;
  border: none;
}
.properties__item BUTTON.create {
  margin: 0;
}
.properties__item x::-webkit-file-upload-button, .properties__item input[type=file]:after {
  content: 'Choose File';
  display: inline-block;
  left: 100%;
  width: 100%;
  margin-left: 0px;
  position: relative;
  padding: 0px;
}
.properties__item input[type=file]:after {
  margin-left: 0px;
  background: #485dc5;
  color: #FFFFFF;
  line-height: 24px;
  border: none;
  outline: 1px solid #485dc5;
}
.properties__item--half {
  flex: 1 0 50%;
  max-width: 50%;
}
.properties__item--half:nth-child(odd) {
  padding-left: 10px;
}
.properties__item--half:nth-child(even) {
  padding-right: 10px;
}
.properties__subtitle {
  border-bottom: 1px solid #eee;
  font-weight: bold;
  padding: 10px 5px 5px 5px;
  margin-bottom: 10px !important;
}
.switch INPUT {
  display: inline-block;
  position: absolute;
  border-radius: 0;
  width: 100%;
  height: 100%;
  left: 0px;
  top: 0px;
  opacity: 0;
  cursor: pointer;
}
.switch INPUT:hover {
  background-color: red;
}
/*
 .switch {
 display: inline-block;
 position: absolute;
 float: right;
 width: 40px;
 height: 24px;
 right: 10px;
 top: 6px;
 z-index: 1;
 P {
 float: right;
 width: auto;
 min-width: 65px;
 margin-right: 40px!important;
 margin-top: 2px!important;
 }
 INPUT {
 opacity: 0;
 width: 0;
 height: 0;
 &:checked + .slider {
 background-color: #42ab42;
 }
 &:focus + .slider {
 box-shadow: 0 0 1px #42ab42;
 }
 &:checked + .slider:before {
 -webkit-transform: translateX(16px);
 -ms-transform: translateX(16px);
 transform: translateX(16px);
 }
 }
 .slider {
 position: absolute;
 cursor: pointer;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background-color: #e4e4e4;
 -webkit-transition: .4s;
 transition: .4s;
 &:before {
 position: absolute;
 content: "";
 height: 16px;
 width: 16px;
 left: 4px;
 bottom: 4px;
 background-color: white;
 -webkit-transition: .4s;
 transition: .4s;
 }
 }
 }
 */
.admin_footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 5px;
  padding: 15px 15px 0 15px;
}
.toggle_first, .toggle_second, .toggle_third, .toggle_fourth, .toggle_fifth {
  cursor: pointer;
}
.admin_button {
  display: inline-flex;
  justify-content: center;
  text-align: center;
  flex: 1 0 45%;
  max-width: 100%;
  border: none;
  margin: 5px;
  padding: 10px 20px;
  cursor: pointer;
}
BUTTON.create {
  background-color: #56ccf2;
  color: #000000;
}
BUTTON.erase {
  background-color: #dd3030;
  color: #ffffff;
}
BUTTON.draft {
  background-color: #ffd747;
  color: #000000;
}
BUTTON.save {
  background-color: #219653;
  color: #ffffff;
}
/* Autocomplete */
.ui-autocomplete-input {
  width: 65px;
  height: 65px;
  display: table-cell;
  text-align: center;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  background-color: transparent;
  font-size: 10px;
  line-height: 1.2em;
  border: unset;
  text-transform: uppercase;
  resize: none;
  /*remove the resize handle on the bottom right*/
}
.backup{
  border-bottom: 1px solid #eeeeee;
}
.backup .admin_button{
  flex: 1 0 25%;
  padding: 10px;
  font-weight: 600;
  font-size: 18px;
}

#CompleteMsg {
  color: darkred;
  background-color: white;
  padding: 5px;
  text-align: center;
  cursor: pointer;
  position: absolute;
  left: 0px;
  right: 0px;
  margin: auto;
  /*margin-top: -23px;*/
  top: 50%;
  /*transform: translateY(-50%);*/
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  border: 1px solid #aaa;
  width: 350px;
  height: 440px;
  inset: 0;
}
#CompleteMsg.completemsg-centered {
  height: 400px;
  padding-bottom: 40px;
}
#CompleteMsg.completemsg-centered.completemsg-withsent {
  height: 440px;
}
#CompleteMsg.completemsg-centered img {
  margin-top: 100px;
}
#CompleteMsg.completemsg-centered .CompleteMsg-sent-msg {
  font-weight: 500;
  font-size: 20px;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
#CompleteMsg.completemsg-centered .CompleteMsg-sent-msg strong {
  font-size: 22px;
  margin-top: 10px;
}
#CompleteMsg.completemsg-withsent img {
  margin-top: 30px;
}
#CompleteMsg .title {
  font-size: 33px;
  font-weight: bolder;
  line-height: 1;
  margin-bottom: 26px;
  margin-top: 10px;
}
#CompleteMsg .title.nomar {
  margin-bottom: 0;
}
#CompleteMsg div.inner-form-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 280px;
  margin: 0 auto 20px;
}
#CompleteMsg div.inner-form-container span {
  color: #000;
  text-align: start;
  margin: 0 0 5px;
  font-size: 14px;
}
#CompleteMsg input {
  margin: 5px 0;
  border: 1px solid #aaa;
  font-family: 'Roboto', sans-serif;
  border-radius: 0;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  padding: 0 3px;
  color: #000000;
}
#CompleteMsg button {
  cursor: pointer;
  margin: 25px 0 0 0;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  padding: 2px 3px;
  color: #000000;
  border: 1px solid #bbb;
  background-color: #fff;
  height: 30px;
}
#CompleteMsg .CompleteMsg-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 20px;
  height: 20px;
  cursor: pointer;
  opacity: 1;
  transition: all 0.2s linear;
  background-color: #fff;
}
#CompleteMsg .CompleteMsg-close:hover {
  opacity: 0.5;
}
#CompleteMsg .CompleteMsg-close::before {
  content: "";
  width: 15px;
  height: 1px;
  transform: translate(-50%, -50%) rotate(45deg);
  display: block;
  background-color: #000;
  position: absolute;
  top: 50%;
  left: 50%;
}
#CompleteMsg .CompleteMsg-close::after {
  content: "";
  width: 15px;
  height: 1px;
  transform: translate(-50%, -50%) rotate(-45deg);
  display: block;
  background-color: #000;
  position: absolute;
  top: 50%;
  left: 50%;
}
#CompleteMsg .CompleteMsg-sent-msg {
  color: #000;
  font-size: 14px;
  height: 129px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-weight: bold;
}
.wp-admin #crossword_wrap {
  position: relative;
}
body.single-ristsona div#desktop-container {
  max-width: unset;
}
body.single-ristsona div#desktop-container #share-buttons {
  max-width: 1170px;
}
body.single-ristsona div#desktop-container div#footer {
  max-width: 1250px;
  margin-left: auto;
  margin-right: auto;
}
body.single-ristsona div#desktop-container div#desktop-bar {
  max-width: 1250px;
  margin-left: auto;
  margin-right: auto;
}
#crossword_error_message {
  width: fit-content;
  margin: 20px auto;
}
.CompleteMsg-condition {
  text-align: start;
  font-size: 12px;
  color: #000000;
  display: flex;
  align-items: center;
}
#CompleteMsg label.CompleteMsg-condition span {
    font-size: 12px;
    margin: 0;
    margin-left: 5px;
}
.CompleteMsg-condition a {
  color: #666;
}
.CompleteMsg-condition a:hover {
  color: #000;
}
#CompleteMsg button:disabled {
  cursor: not-allowed;
  background-color: #eee;
  border: 1px solid #ddd;
}
#CompleteMsg button:hover {
  background-color: #eee;
  border: 1px solid #ddd;
}
#CompleteMsg #solver_email {
  height: 24px;
  margin-bottom: 10px;
  padding: 0 5px;
}
#CompleteMsg div span.crossword-form-description {
  font-size: 16px;
}
#CompleteMsg #solver_name {
  height: 24px;
  margin-top: 10px;
  padding: 0 5px;
}