@viewport {
    width: device-width ;
    zoom: 1.0 ;
} 

@-ms-viewport {
    width: device-width ;
} 

@media screen and (max-width: 639px) {
    .change-alignment {
        display: flex;
        flex-direction: column;
    }
    .order-content {
        display: none;
    }
}

@media screen and (min-width: 640px) {
    .change-alignment {
        display: none;
    }
    .order-content {
        display: block;
    }
}

select option[disabled] {
    display: none;
}

/* Miligram overrides */
body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
}

.top-nav-links,
.side-nav,
h1, h2, h3, h4, h5, h6 {
    font-family: "Raleway", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    color: #363637;
}

a {
    color:#2f85ae;
    -webkit-transition:all 0.2s linear;
    transition:all 0.2s linear;
}

a:hover,
a:focus,
a:active  {
    color:#2a6496;
    -webkit-transition:all 0.2s easeout;
    transition:all 0.2s ease-out;
}

.side-nav a,
.top-nav-links a,
th a,
.actions a {
    color: #606c76;
}

.side-nav a:hover,
.side-nav a:focus,
.actions a:hover,
.actions a:focus {
    color:#2f85ae;
}

/* Utility */
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Main */
body {
    background: lightgrey;
}
.content {
    padding: 2rem;
    margin-bottom: 10px;
    background: #ffffff;
    border-radius: 0.4rem;
    /* Thanks Stripe */
    box-shadow: 0 7px 14px 0 rgba(60, 66, 87, 0.1),
        0 3px 6px 0 rgba(0, 0, 0, 0.07);
}
.actions a {
    font-weight: bold;
    padding: 0 0.4rem;
}
th {
    white-space: nowrap;
}

@media screen and (min-width: 1025px) {
    .container {
        max-width: 175.0rem !important;
    }
}

/* Nav bar */
.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    padding: 2rem;
    margin: 0 auto 2rem;
    background-color: #FFFFFF;
}
.top-nav-title a {
    font-size: 2.4rem;
    color: #8C7D75;
}
.top-nav-title span {
    color: #404041;
}
.top-nav-links a {
    margin: 0 3.5rem;
}
.top-nav-title a,
.top-nav-links a {
    font-weight: bold;
}

.side-nav-item {
    display: block;
    padding: 0.5rem 0;
}

/* View action */
.view.content .text {
    margin-top: 1.2rem;
}
.related {
    margin-top: 2rem;
}

/* Flash messages */
.message {
    padding: 1rem;

    background: #eff8ff;
    color: #2779bd;

    border-color: #6cb2eb;
    border-width: 1px;
    border-style: solid;
    border-radius: 4px;
    margin-bottom: 2rem;
}
.message.hidden {
    display: none;
}
.message.success {
    background: #e3fcec;
    color: #1f9d55;
    border-color: #51d88a;
}
.message.error {
    background: #fcebea;
    color: #cc1f1a;
    border-color: #ef5753;
}

/* Forms */
.input.radio,
.input.checkbox {
    margin-bottom: 2.0rem;
}
.input.radio input,
.input.checkbox input {
    margin: 0;
}
.input.radio label,
.input.checkbox label {
    margin: 0;
    display: flex;
    align-items: center;
}
.input.radio label > input,
.input.checkbox label > input {
    margin-right: 1.0rem;
}
.input.radio label:first-of-type {
    margin-bottom: 2.0rem;
}

/* Paginator */
.paginator {
    text-align: right;
}
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}
.pagination li {
    margin: 0 0.5rem;
}
.prev.disabled a,
.next.disabled a {
    cursor: not-allowed;
    color: #606c76;
}
.asc:after {
    content: " \2193";
}
.desc:after {
    content: " \2191";
}

/* Error */
.error-container {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: center;
}

/* Login */
.login-background {
    width: 980px;
    height: 494px;
    background-image: url("/img/bg.jpg");
    background-position: center center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    width: 500px;
    height: 325px;
    background-color: #FFF;
    padding: 20px;
    border: 3px solid black;
}

.login-container label,legend,input,.message {
    font-size: 1.5rem !important;
    margin-bottom: 1.0rem !important;
}

.login-container fieldset {
    margin-bottom: 1.0rem !important;
}

.login-container input[type="submit"] {
    height: 60px !important;
    width: 450px !important;
}

/* Home */
#btn-index {
    height: 100px;
    width: 500px;
    font-size: 2.0rem;
}

#btn-index-orders {
    height: 100px;
    width: 500px;
    font-size: 2.0rem;
}

.tab {
    overflow: hidden;
    background-color: #8C7D75;
    color: #FFF;
}
  
.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
    font-size: 12px;
    font-weight: 700;
    padding: 0px 10px 0px 10px;
    margin: 0;
}

.tab button.active {
    text-decoration: underline;
}
  
.tabcontent {
    display: none;
    -webkit-animation: fadeEffect 1s;
    animation: fadeEffect 1s;
}
  
@-webkit-keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}
  
@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}

.table-header {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

#btn-back {
    background-color: #000 !important;
}

.datepicker {
    display: flex;
}

#pickdate {
    width: 150px;
    margin-left: 10px;
}

#pickdate_cancel {
    width: 150px;
    margin-left: 10px;
}

#picklabel {
    font-size: 16px !important;
}

.order-menu {
    display: flex;
    flex-direction: column;
}

.order-menu button {
    margin-bottom: 25px;
    height: 200px;
    font-size: 2.0rem;
}

.pick-order {
    display: flex;
    flex-direction: column;
}

.pick-order button {
    margin-bottom: 15px;
    height: 60px;
    font-size: 1.5rem;
}

#btn-back-pick-order {
    background-color: #000 !important;
}

#btn-cancel-order {
    margin-left: 15px;
    background-color: #000 !important;
}

#hiddenselect {
    margin-top: 5px;
    width: 160px;
    visibility: hidden;
}


.button-background {
    position: relative;
    border: 3px solid #8C7D75;
    background-color: #8C7D75;
    width: 200px;
    height: 38px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    float: right;
}

.slider {
	transition: width 0.3s, border-radius 0.3s, height 0.3s;
	position: absolute;
	left: -10px;
	width: 100px;
	height: 100px;
	border-radius: 50%;
	display: flex;
    align-items: center;
    justify-content: center;
}

.slider .unlocked {
	transition: all 0.3s;
	width: inherit;
	left: 0 !important;
	height: inherit;
	border-radius: inherit;
}

.sliderdone {
	transition: width 0.3s, border-radius 0.3s, height 0.3s;
	position: absolute;
	left: -10px;
	width: 100px;
	height: 100px;
	border-radius: 50%;
	display: flex;
    align-items: center;
    justify-content: center;
}

.sliderdone .unlocked {
	transition: all 0.3s;
	width: inherit;
	left: 0 !important;
	height: inherit;
	border-radius: inherit;
}

.button-background-small {
    position: relative;
    border: 1px solid #8C7D75;
    background-color: #8C7D75;
    width: 160px;
    height: 30px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    float: right;
}

.slidersmall {
	transition: width 0.3s, border-radius 0.3s, height 0.3s;
	position: absolute;
	left: -10px;
	width: 70px;
	height: 70px;
	border-radius: 50%;
	display: flex;
    align-items: center;
    justify-content: center;
}

.slidersmall .unlocked {
	transition: all 0.3s;
	width: inherit;
	left: 0 !important;
	height: inherit;
	border-radius: inherit;
}

.slidersmall-multi {
	transition: width 0.3s, border-radius 0.3s, height 0.3s;
	position: absolute;
	left: -10px;
	width: 70px;
	height: 70px;
	border-radius: 50%;
	display: flex;
    align-items: center;
    justify-content: center;
}

.slidersmall-multi .unlocked {
	transition: all 0.3s;
	width: inherit;
	left: 0 !important;
	height: inherit;
	border-radius: inherit;
}

.slide-text-small {
    color: #fff;
    font-size: 9px;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    user-select: none;
    cursor: default;
    padding-top: 0px;
    padding-left: 15px;
}

.material-icons {
	color: black;
	font-size: 50px;
	user-select: none;
	cursor: default;
    height:32px;
    width:32px;
    border-radius: 40px;
    background-color:#fff;
}

.material-icons-small {
	color: black;
	font-size: 50px;
	user-select: none;
	cursor: default;
    height:30px;
    width:30px;
    border-radius: 40px;
    background-color:#fff;
}

.slide-text {
    color: #fff;
    font-size: 15px;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    user-select: none;
    cursor: default;
    padding-top: 0px;
}

.bottom {
	position: fixed;
	bottom: 0;
	font-size: 14px;
	color: white;
}

.bottom a {
    color: white;
}

@media screen and (max-width: 760px) {
    .top-nav {
        margin: 0 auto;
    }
    .side-nav {
        margin-bottom: 1rem;
    }
    .heading {
        margin-bottom: 1rem;
    }
    .side-nav-item {
        display: inline;
        margin: 0 1.5rem 0 0;
    }
    .asc:after {
        content: " \2192";
    }
    .desc:after {
        content: " \2190";
    }
    .order-table table, td, th {
        font-size: 0.8em !important;
    }
}

* {
    max-width: 100%;
}


.order-table td:last-of-type {
    max-width: 160px;
    padding-top: 22px;
}

input[type='text'] {
    text-align:center;
}

table, th, td {
    border: 1px solid black;
    border-collapse: collapse;
  }

td, th {
    text-align: center;
}