/**
 * Wall Decoration App CSS: default theme
 **/

/* Get rid of ugly grey tap highlight.*/
/* https://github.com/luster-io/luster-io.github.io/blob/master/mobile-web-checklist.md#get-rid-of-ugly-grey-tap-highlight */
* {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

*:focus {
    outline: none !important;
    box-shadow: none !important;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}

/* Global styles */

.btn {
    color: inherit;
    text-transform: uppercase;
    word-wrap: break-word;
    white-space: normal;
    padding: .84rem 2.14rem;
    font-size: .81rem;
}

.btn-air {
    color: inherit;
    text-transform: uppercase;
    word-wrap: break-word;
    white-space: normal;
    padding: .84rem 2.14rem;
    font-size: .81rem;
    margin: .375rem;
    background: rgba(255, 255 ,255, .5);
    -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
    -webkit-transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
}

.btn-air:enabled:hover,
.btn-air:focus,
.btn-air:active {
    outline: 0;
    -webkit-box-shadow: 0 5px 11px 0 rgba(0,0,0,0.18),0 4px 15px 0 rgba(0,0,0,0.15);
    box-shadow: 0 5px 11px 0 rgba(0,0,0,0.18),0 4px 15px 0 rgba(0,0,0,0.15);
}

.btn-air:disabled {
    color: #a9a9a9;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.form-control:focus {
    border: 1px solid #2e2e2e;
}

.modal-content {
    border: 0;
    border-radius: .125rem;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
    background: rgba(255,255,255,0.7);
}

textarea.air,
textarea.air:focus,
textarea.air:disabled,
textarea.air[readonly],
select.air,
select.air:focus,
select.air:disabled,
select.air[readonly] {
    background-color: #ffffff2b;
}

.selected-graphics {
  max-width: 300px;
  max-height: 30em;
}

/* Resize, rotate controls */

.resize-control-custom {
    -webkit-appearance: none;
    background-color: transparent;
    border: 0;
    outline: none;
    cursor: pointer;
    box-shadow: none;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
}

.resize-control-custom::-moz-focus-outer {
    border: 0;
}

.resize-control-custom::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid #888;
    background-color: #f0f0f0;
}

.resize-control-custom::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid #888;
    background-color: #f0f0f0;
}

.resize-control-figure,
.rotate-control-figure {
    fill: #333;
    opacity: .75;
}

.hints-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}

.hint-text {
    color: white;
}

.hint-text-large {
    font-size: 1.5em;
}

.pulse-button {
  background: #93C2F1;
  box-shadow: 0 0 0 0 rgba(147, 194, 241, 1);
  animation: pulse 4s infinite;
}

.pulse-button:hover {
  animation: none;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(147, 194, 241, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 30px rgba(147, 194, 241, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(147, 194, 241, 0);
  }
}

/* Interior */

#interior-frame {
    background-color: whitesmoke;
    border: 4px solid #555;
}

#interior-price {
    position: absolute;
    left: 100%;
    top: 100%;
    margin-left: 20px;
    margin-top: -24px;
    font-size: 18px;
    white-space: nowrap;
    color: #555;
}

/* Preview */

.btn-interior {
    padding: 3px;
}

.btn-interior-img {
    width: 90px;
}

button.btn-pressed,
button.btn-pressed:hover {
    background-color: #555;
}

.preview-interior-frame {
    overflow: hidden;
    box-shadow: -16px 11px 24px -12px rgba(0, 0, 0, 0.6);
}

.gap {
    background-color: #555;
}
