@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
html, body {
	font-family: 'Open Sans', sans-serif;
	color: #5c5c5c;
    font-size: 22px;
}

@media only screen and (max-width: 600px){
    html, body {
		font-size: 18px;
    }
}

body {
	margin: 0;
	background: #f5f5f5;
}

.app-title {
    text-transform: uppercase;
    font-weight: 700;
}
.app-title .part-1 { color: #595959 }
.app-title .part-2 { color: blue; }

.main-color-bg,
input[type="checkbox"]:checked {
    background-color: #3B429F;
}
.main-color-text,
a {
    color: #3B429F;
}
svg g {
	fill: #3B429F;
}


main {
/*    padding-top: 85px;*/
}

nav.ambusign-header {
    background: #FFF;
    color: #5f5f5f;
    max-height: 80px;
	font-size: 22px;
/*
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    vertical-align: middle;
    height: 52px;
	display: flex;
	justify-content: center;
	align-content: center;
	align-items: center;
	flex-direction: column;
*/
}
@media only screen and (max-width: 767px){
    nav.ambusign-header {
        max-height: none;
		font-size: 12px;
    }
}

.nav-logo {
    vertical-align: middle;
    height: 50px;
}
@media only screen and (max-width: 600px){
    .nav-logo {
        height: 33px;
		margin-left: 10%;
    }
}

.nav-name {
    font-weight: bold;
}

.nav-svg {
    height: 40px;
}
@media only screen and (max-width: 600px){
    .nav-svg {
        height: 33px;
		margin-left: 10%;
    }
}

h1 {
    text-align: center;
    margin: 10px 0 40px 0;
    font-size: 200%;
}
@media only screen and (max-width: 600px){
    h1 {
        font-size: 160%;
		margin: 0 0 20px 0;
    }
}

.big-button {
    display: block;
    color: #FFF;
    font-size: 120%;
    font-weight: bold;
    padding: 15px 30px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    width: 80%;
    text-decoration: none;
    margin: 10px auto;
    text-align: center;
}

table.ambusign-table {
	border-collapse: collapse;
}

form.ambusign-form {
    background: white;
    box-shadow: 0px 0px 10px rgb(0 0 0 / 20%);
    padding: 30px;
}
@media only screen and (max-width: 600px){
    form.ambusign-form {
        font-size: 100%;
		padding: 20px;
    }
}


label.ambusign-labels {
    display: inline-block;
    margin: 0 0 10px -5px;
    font-size: 120%;
}

.submit-button {
    color: #FFF;
    font-size: 120%;
    font-weight: bold;
    padding: 15px 30px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
    margin: 40px auto 0;
    display: block;
    border: none;
}
@media only screen and (max-width: 600px){
    .submit-button {
        font-size: 70%;
    }
}

input[type="text"] {
    padding: 8px;
    font-size: 80%;
    border-color: #e0e0e0;
    border-style: solid;
    border-width: 1px;
    background-color: #f5f5f5;
}

select {
    padding: 8px;
    font-size: 80%;
    border-color: #e0e0e0;
    border-style: solid;
    border-width: 1px;
    background-color: #f5f5f5;
    width: 100%;
    margin: 12px auto;
}

.meds {
    margin-left: -5px;
    width: 100%;
}

.med-item {
    vertical-align: middle;
}

.text-center {
    font-size: 75%;
}

td {
    padding-left: 5px;
	vertical-align: middle;
}

th {
    font-size: 120%;
    font-weight: normal;
    text-align: left;
    padding-bottom: 0px;
	vertical-align: middle;
}

.meds th:nth-child(1) {
    width: 60%;
}

.meds th:nth-child(2),
.meds td:nth-child(2),
.bag-check-table td:nth-child(2),
.bag-check-table td:nth-child(3),
.bag-check-table td:nth-child(4),
.bag-check-table th:nth-child(2),
.bag-check-table th:nth-child(3),
.bag-check-table th:nth-child(4) {
    text-align: center;
}

.med-amount {
    padding: 8px;
    font-size: 80%;
    border-color: #e0e0e0;
    border-style: solid;
    border-width: 1px;
    background-color: #f5f5f5;
    border-radius: 45px;
    margin: 0 auto;
    display: inline-block;
}

.med-amount button {
    color: #FFF;
    border: 0;
    border-radius: 100%;
    font-weight: bold;
/*    font-size: 207%;*/
    width: 40px;
    height: 40px;
    vertical-align: middle;
    line-height: 40px;
}

@media only screen and (max-width: 600px){
    .med-amount button {
    }
}

.med-amount button:nth-of-type(1) {
    background-color: #cccccc;
/*    font-size: 250%;*/
}

.med-amount input[type="text"] {
    font-size: 100%;
    border: none;
    background-color: transparent;
    display: inline-block;
    text-align: center;
    width: 72px;
    padding: 3px 0;
}
@media only screen and (max-width: 600px){
    .med-amount input[type="text"] {
		width: 25px;
    }
    .med-amount {
		width: 135px;
    }
    .padded {
		padding: 5px 20px;
    }
}

hr {
    margin: 23px -30px;
    border-color: rgb(0 0 0 / 20%);
    border-style: dotted;
    border-width: 1px;
}

@media only screen and (max-width: 600px){
    hr {
        margin: 23px -20px;
    }
}

.table-add-row {
    font-size: 80%;
    padding-left: 10px;
}

::placeholder {
  color: #cccccc;
  opacity: 1;
}

:-ms-input-placeholder {
  color: #cccccc;
}

::-ms-input-placeholder {
  color: #cccccc;
}

.bag-check-table {
    font-size: 80%;
    width: 100%;
}
@media only screen and (max-width: 600px){
	.bag-check-table {
		font-size: 60%;
	}
	.busy {
		padding: 0 0 10px 0 !important;
	}
}

.bag-check-form {
/*
    padding: 0;
    width: 86%;
*/
    margin-bottom: 8%;
}

.bag-check-form th,
.bag-check-form td {
    padding: 10px;
}

.bag-check-table tr:nth-child(1) th {
    font-weight: bold;
}

.bag-check-table tr:nth-child(odd) {
    background: #f5f5f5;
}

.bag-check-table tr:nth-child(1) {
    border-color: rgb(0 0 0 / 20%);
    border-style: dotted;
    border-width: 0 0 1px 0;
    background: #3b429f;
    color: #fff;
}

input[type="checkbox"] {
    -webkit-appearance: none;
    width: 40px;
    height: 40px;
    margin: 2px;
    border-color: #e0e0e0;
    border-style: solid;
    border-width: 1px;
    background-color: #f5f5f5;

}

input[type="checkbox"]:checked {
    border-color: transparent;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

input[type="checkbox"]:checked:before {
    content: '';
    width: 40px;
    height: 40px;
    position: absolute;
	background-image: url(/images/check.png);
    background-position: center;
    background-size: 40px;
}

.bag-check.submit-button {
    display: inline-block;
	margin: 0 25px;
}

.bag-check.submit-button.cancel {
    background: #cccccc;
}

.bag-check-form .form-section {
    margin: 40px auto 0;
    width: 100%;
    text-align: center;
    padding-bottom: 40px;
}