
/* Mitat reunoissa */
@media (max-width: 991px) {
  #size-width-wrapper,
  #size-height-wrapper {
    display: none !important;
  }
}

#size-width-wrapper {
  display: flex;
  align-items: center;
  color: #b1b1b1;
  font-size: 80%;
  font-style: italic;
  margin-top: 8px;
}

.measure-line {
  flex: 1;
  border-top: 1px solid #d3d3d3;
}

.measure-end {
  height: 10px;
  border-left: 1px solid #d3d3d3;
}

#size-width-mitta {
  padding: 0 10px;
  white-space: nowrap;
}


#size-height-wrapper {
  position: absolute;

  left: -35px;
  top: 0;
  bottom: 0;

  display: flex;
  flex-direction: column;
  align-items: center;

  color: #b1b1b1;
  font-size: 80%;
  font-style: italic;
}

.measure-line-v {
  flex: 1;
  border-left: 1px solid #d3d3d3;
}

.measure-end-v {
  width: 10px;
  border-top: 1px solid #d3d3d3;
}

#size-height-mitta {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 10px 0;
  white-space: nowrap;
}





.kvb-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.kvb-btn {
  border: 1px solid #ccc;
  padding: 8px 14px;
  cursor: pointer;
  background: #fff;
}

.kvb-btn.active {
  border-color: #000;
  box-shadow: 0 0 0 2px #000;
}

.kvb-hidden {
  display: none !important;
}



/* Turha */
#celestial-form #datetime { 
    cursor: default;
    width: 400px;
}


#celestial-map {
  box-sizing: border-box;
}

#celestial-map canvas {
  display: block;
  margin-left: auto;
  margin-right: auto;
}


#dob { /* jsut to demonstrate that some styles will be copied from the input to the dropdowns*/
    font: 1.2em sans-serif;
    padding: 0.5em 1em;
}

/*
Unfortunately, we have to fake placeholders as they are not supported on select elements
*/
input::placeholder,
select.show-placeholder,
select option:first-child {
        color: #999;
}

select.show-placeholder option {
        color: #000;
}

/* Display the dropdowns next to each other */
#date-select-wrapper {
display: flex;
max-width: 300px; /* just for this demo */
}

#date-select-wrapper > * {
        flex-grow: 1;
        width: auto;
        margin: 0;
}



  

/* Sivun yläosan tyhjä alue */
.content-wrapper {
    margin-top: 40px !important;
    margin-bottom: 120px;
}
@media (max-width: 991px) {
    .content-wrapper {
        margin-top: 30px !important;
        margin-bottom: 60px;
    }
}

.input-group {
    display: inline-block !important;
}
.searchbar.input-group {
    width: 100%;
    display: inline-block !important;
}
.searchbar li {
    padding: 5px !important;
    margin: 0 !important;
}
.searchbar li:hover{
    background: #d4d4d4;
    border-color: #d4d4d4;
}
.searchbar.geocoder-control-selected{
    background: #d4d4d4;
    border-color: #d4d4d4;
}
.dropdown-menu {
    margin-top: 5px !important;
    margin-left: 0px !important;
}
.searchbar ul li {
    list-style-type: none;
    font-size: 16px;
}
select {
    background: transparent;
    border: none;
    border: 1px solid #555;
    color: #000;
    height: 50px;
    padding: 0px 10px 0 20px;
    width: 100%;
    font-weight: 400;
    padding-left: 10px;
}
input[type="text"], input[type="email"], input[type="password"] {
    background: transparent;
    border: none;
    border: 1px solid #555;
    color: #000;
    height: 50px;
    padding: 0px 10px 0 20px;
    width: 100%;
    font-weight: 400;
    font-size: 16px;
    background-color: white;
}

.inputReadOnly {
    background-color: #f5f5f7 !important;
    cursor: auto;
}

.woocommerce .page-content-area, .woocommerce-page .page-content-area {
    margin: 0px;
}
.leaflet-pane {
    z-index: 0 !important;
}
.box {
    position: absolute;
    /* top: 0px; */
    background: #fff;
    height: 700px; 
    width: 500px;
}




#moon-mask {
    position: absolute;
    left: 50%;
    transform: translateX(-49.8%);

    top: 69px;

    width: 405px;
    height: 404px;

    border-radius: 50%;
    box-shadow: inset 0 0 0 6px rgb(255, 255, 255);

    pointer-events: none;
    z-index: 10;
}




#skyimg {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 70px;
    width: 401.5px;
    height: 402px;
}

.reuna1 {
  position: relative;
  width: 500px;
  height: 700px;
  background: transparent;
  border: 1px solid lightgrey;
  box-sizing: border-box;
}

.border-thick {
  position: absolute;
  background: black;
  pointer-events: none;
}

.border-thick.top {
  top: 24px;
  left: 24px;
  right: 24px;
  height: 2px;
}

.border-thick.bottom {
  bottom: 24px;
  left: 24px;
  right: 24px;
  height: 2px;
}

.border-thick.left {
  top: 24px;
  bottom: 24px;
  left: 24px;
  width: 2px;
}

.border-thick.right {
  top: 24px;
  bottom: 24px;
  right: 24px;
  width: 2px;
}

.reuna3 {
  position: absolute;
  top: 28px;
  left: 28px;
  right: 28px;
  bottom: 28px;
  border: 1.5px solid black;
  box-sizing: border-box;
  pointer-events: none;
}

.reuna-logo {
  position: absolute;
  right: 32px;
  bottom: 32px;
  z-index: 5;
  max-width: 120px;
  height: auto;
}
  

.map-overlay {
    position: absolute;
    z-index: 1000;
    width: 100%;
    top: 0;
    left: 0;
    padding: 0px;
    pointer-events:none;
}
.x-overlay {
    position: absolute;
    width: 100%; 
    text-align: center;
    left: 0;
    padding: 0px;
    color: #000000 !important;
    }
.y-overlay {
    position: absolute;
    width: 100%; 
    text-align: center;
    left: 0;
    padding: 0px;
    color: #000000 !important;
}
.y-overlay .text {
    margin-left: 3px;
    letter-spacing: 3.7px;

}
.y-overlay .line {
    display: inline-block;
    background: #000000;
    height: 1px;
    width: 27px;
    vertical-align: middle;
    margin-bottom: 3px;
    margin-left: 0px;
    margin-right: 0px;
}
.z-overlay {
    position: absolute;
    width: 100%; 
    text-align: center;
    left: 0;
    padding: 0px;
    color: #000000 !important;
}
.leaflet-control-attribution {
    text-decoration: none;
    display: none;
}
.moduleCartButton .quantity {
    margin: auto;
    max-width: 50%;
    height: 30px;
}



@media only screen and (max-width: 991px) {
    .settings-buttons_bg {
        width: 60px !important;
        border-radius: 50% !important;
    }
}


.settings-buttons_bg {
    width: 130%;
    height: 60px;
    background: #ffffff !important;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: left;
    cursor: pointer;
    border-bottom-left-radius: 30px;
    border-top-left-radius: 30px;
    border: none;
    text-decoration: none;
    margin-top: 30px;
    margin-bottom: 2px;
    padding: 0px !important;
}

.settings-buttons_bg:hover{
    background: inherit;
}

.settingActive {
    background: #f5f5f7;
}

.settingActive:hover {
    background: #f5f5f7;
}

.settingActive .rounded-button {
    background: #000000;
}


.rounded-button {
    width: 60px;
    height: 60px;
    background: #666666;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    border: none;
    text-decoration: none;
    transition: background 0.2s;
    margin-top: 0px;
    margin-bottom: 0px;
}

.paikanna .valkoinen {
    width: 50px !important;
    height: 50px !important;
    background-color: #ffffff;
    border: 1px solid #252525;
    color: #252525;
    margin-top: 0px;
    margin-left: 0px;
    margin-bottom: -3px;
}
.paikanna .valkoinen i {
    padding-left: 0px !important;
}
.paikanna {
    margin-top: 0px;
    margin-left: 15px;
}

.rounded-button i {
    padding-left: 2px;
}
  
.rounded-button:hover {
    background: #000000;
}


.settings-buttons__item {
    flex-grow: 1;
    text-align: center;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.settings-buttons__item-content {
    display: flex;
    flex-direction: column;
}
.settings-buttons__item-content p {
    max-width: 60px;
    text-align: center;
    margin-bottom: 0;
}

.btn-xs {
    background-color: #fff !important;
    color: #000 !important;
}

.btn-xs:hover {
    background-color: #e4e4e4 !important;
}

.not-allowed-btn-xs:hover {
    background-color: #c52015 !important;
}
.not-allowed-btn-xs {
    background-color: #f0857d !important;
}

#valmisRB {
    background-color: white !important;
}

#valmisRB .rounded-button {
    background-color: #757d78;
}


#valmisRB:disabled  .rounded-button,
#valmisRB[disabled]  .rounded-button{
  background-color: #cccccc;
}

#valmisB {
    background-color: #757d78;
    border-radius: 50px;
    width: 100%;
}
#valmisB:disabled,
#valmisB[disabled]{
  background-color: #cccccc;
}
#valmisB:disabled:hover,
#valmisB[disabled]:hover{
  border: 2px solid #cccccc;
}

#valmisRBitem {
    display: none;
}
@media only screen and (max-width: 991px) {
    #valmisRBitem {
        display: block;
    }
}



.asetukset {
    padding-left: 25px; 
    padding-right: 25px;
    margin-top: 10px;
    background-color: #f5f5f7;
    border-radius: 30px;
    -moz-border-radius: 30px;
}



/* HIDE RADIO */
[type=radio] { 
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
  }
.style2 label {
    margin: 5px;
}
.style2 label p {
    text-align: center;
  }

  /* IMAGE STYLES */
[type=radio] + img {
    cursor: pointer;
    width: 100px;
  }
  
  /* CHECKED STYLES */
[type=radio]:checked + img {
    outline: 2px solid #000;
  }



/* pvm fontti */
#date-select-wrapper select{
    font-size: 16px !important;
    font-family: inherit !important;
}