/*
Theme Name: Knockout Webbyrå
Author: Knockout Webbyrå
Author URI: https://www.knockoutweb.se
Description: Knockout Webbyrå
Version: 1.1
*/

/* Page */
html {
    overflow-x: hidden;
}

.hide {
    display: none
}

.page-wrapper {
    padding-bottom: 4rem; /* Footer height */
}

/*--- Typsnitt och stilar ---*/
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-family: 'Open Sans', sans-serif;
    text-transform: initial;
    color: #000;
}

h2 {
    font-size: 1.375rem;
    font-weight: 900;
}

h4 {
    font-size: 1rem;
    font-weight: 900;
}

/* Fonts */
p, a {
    font-family: 'Open Sans', sans-serif;
}

/* Header */
header {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Body */
body {
    font-family: 'Open Sans', sans-serif;
    color: #5d5d5d;
    overflow-x: hidden;
}

/* Buttons */
button {
    outline:none;
}

.button {
    width: 12.0625rem;
    height: 3.25rem;
    background-color: #D8E562;
    color: #191818;
    font-weight: 900;
    font-size: 0.875rem;
    border-radius: 2rem;
}

.cursor:hover {
    cursor: pointer;
}

.start-button {
    margin-top: 3rem;
}

.quantity-button {
    width: 2rem;
    height: 2rem;
    border: 1px solid black;
    touch-action: manipulation;
}

.choose-pizza-button {
    margin-top: 2rem;
}

/* Slides */
.order-times,
.order-pizza,
.order-details,
.order-control,
.order-end {
    display: none;
}

button#responsive-menu-button.responsive-menu-button.responsive-menu-boring.responsive-menu-accessible {
    display: none;
}

.slide-header {
    background-color: #ECECEC;
    padding: 0.5rem;
    margin-bottom: 1rem;
}

.slide-header p, h4 {
    margin: 0;
    padding: 0;
}

/* Choose pizza slide */
.pizza-text {
    font-size: 0.8125rem;
    padding: 0.5rem;
}

.quantity-control {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.quantity-number {
    margin: 0;
    padding: 0;
    width: 3rem;
}

.pizza-price {
    font-weight: normal;
}

/* Time selection slide */
.time-scroller {
    margin-top: 1rem;
}

.slick-slide {
    font-family: 'Open Sans', sans-serif;
    font-size: 2rem;
    color: #363636;
    font-weight: 900;
    opacity: 0.26;
    text-align: center;
    background: transparent;
    outline: none;
}

.slick-slide {
    transition: opacity 0.3s;
}

.slick-active {
    opacity: 1;
    background: transparent;
}

.unavailable {
    text-decoration: line-through;
}

/* Order control and summary */
.order-summary {
    margin-bottom: 1rem;
}

.control-time-slot {
    font-size: 1rem;
    color: #2D2D2C;
    font-weight: 900;
    margin: 0;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

table.control {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

table.control tbody tr:nth-child(odd) {
    background-color: #ECECEC;
}

table.control thead {
    font-size: 0.75rem;
    color: #9B9B9B;
}

table.control tbody {
    font-size: 1rem;
    color: #2D2D2C;
}

table.control thead tr {
    padding: 0.25rem;
}

table.control tbody tr {
    padding: 0.5rem;
}

table.control thead th,
table.control tbody td {
    padding: 0.5rem;
}

table.control .row-title {
    font-weight: 900;
}

/* Form */
form.pizza-form input, textarea {
    text-align: left;
}

form.pizza-form ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #1E1E1E;
    opacity: 1; /* Firefox */
    font-weight: 900;
}
  
form.pizza-form :-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #1E1E1E;
    font-weight: 900;
}
  
form.pizza-form ::-ms-input-placeholder { /* Microsoft Edge */
    color: #1E1E1E;
    font-weight: 900;
}

form.pizza-form textarea {
    min-height: 3rem;
}

.label {
    font-weight: 700;
}

/* End */
.finished-image-container {
    width: 100%;
}

.finished-image {
    width:100%;
    height:100%;
    object-fit: cover;
}

.finished-message {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Footer */
.footer-container {
    width: 100%;
    height: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    left: 0;
    bottom: 0;
    background-color: #ECECEC;
}

footer a {
    color: #6B6B6B
}