/* *:not(path):not(g) { */
/*     color:                    hsla(210, 100%, 100%, 0.9) !important; */
/*     background:               hsla(210, 100%,  50%, 0.5) !important; */
/*     outline:    solid 0.25rem hsla(210, 100%, 100%, 0.5) !important; */
/*     box-shadow: none !important; */
/* } */

/* html { */
/*     background-color: #fffdf6; */
/*     background-image: linear-gradient(315deg, #fffdf6 0%, #fddac5 74%); */
/* } */

/* body { */
/*     font-family: Verdana, sans-serif; */
/*     font-size: 1.2em; */
/* } */

/* demo */
 body {
	 font-family: 'Poppins', sans-serif;
	 display: flex;
	 flex-direction: column;
	 /* justify-content: center; */
	 align-items: center;
	 min-height: 100vh;
	 font-size: 1.5rem;
	 background-color: #222;
     /* margin: 2rem; */
}

h1 {
    font-weight: 300;
    font-size: 50px;
    letter-spacing: 10px;
}

th, td {
  padding: 10px;
  text-align: left;
}

#bolus-input-table {
    margin-bottom: 4em;
}

.delete-row-button {
    height: 30px;
    width: 30px;
    background-size: 30px 30px;
}

.delete-row-button:hover {
    background-color: #EE0000;
    border-radius: 15px;
}

#results {
    border: 1px solid #999;
    border-radius: 0.4em;
    margin-bottom: 2em;
}

#results td {
    vertical-align: top;
}

#results ul {
    list-style: none;
}

.error {
    color: red;
}

#number-of-days, #total-volume-summary {
    font-weight: bold;
}

.calculated-value {
    color: lightgray;
}

.calculated-values {
    color: lightgray;
    font-size: 1rem;
}

#add-medicine-row-button {
    font-size: 3em;
    color: white;
    background:none;
    border:none;
    margin:0;
    margin-bottom: 0.5em;
    padding:0;
    cursor: pointer;
    display: block;
}

button:focus { outline: none; }

#copy-recipe-to-clipboard {
    display: block;
}

/* Remove spin buttons from inputs */

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance:textfield;
}


/* Styled inputs */

.form__group {
	 position: relative;
	 padding: 15px 0 0;
	 margin-top: 10px;
	 width: 100%;
}
 .form__field {
	 font-family: inherit;
	 width: 100%;
	 border: 0;
	 border-bottom: 2px solid #9b9b9b;
	 outline: 0;
	 font-size: 1.3rem;
	 color: #fff;
	 padding: 7px 0;
	 background: transparent;
	 transition: border-color 0.2s;
}

 /* .form__field::placeholder { */
	 /* color: transparent; */
/* } */

 /* .form__field:placeholder-shown ~ .form__label { */
	 /* font-size: 1.3rem; */
	 /* cursor: text; */
	 /* top: 20px; */
/* } */

input:focus::placeholder {
  color: transparent;
}

 .form__label {
	 position: absolute;
	 top: 0;
	 display: block;
	 transition: 0.2s;
	 font-size: 1rem;
	 color: #9b9b9b;
}
 .form__field:focus {
	 padding-bottom: 6px;
	 font-weight: 700;
	 border-width: 3px;
	 border-image: linear-gradient(to right, #11998e, #38ef7d);
	 border-image-slice: 1;
}
 .form__field:focus ~ .form__label {
	 position: absolute;
	 top: 0;
	 display: block;
	 transition: 0.2s;
	 font-size: 1rem;
	 color: #11998e;
	 font-weight: 700;
}
/* reset input */
 .form__field:required, .form__field:invalid {
	 box-shadow: none;
}
 

/* class applies to select element itself, not a wrapper element */
.select-css {
    /* display: block; */
    font-size: 16px;
    font-family: sans-serif;
    font-weight: 700;
    color: lightgray;
    line-height: 1.3;
    padding: .6em 2.4em .5em .8em;
    /* width: 100%; */
    width: 100%; /* useful when width is set to anything other than 100% */
    box-sizing: border-box;
    margin: 0;
    border: 1px solid #aaa;
    box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
    border-radius: .5em;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 1000 1000' enable-background='new 0 0 1000 1000' xml:space='preserve'%3E%3Cmetadata%3E Svg Vector Icons : http://www.onlinewebfonts.com/icon %3C/metadata%3E%3Cg%3E%3Cpath d='M500,775.4L10,287.2l64.4-62.6L500,650.2l425.6-425.6l64.4,62.6L500,775.4z'/%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(to bottom, #555 0%,#222 100%);
    background-repeat: no-repeat, repeat;
    /* arrow icon position (1em from the right, 50% vertical) , then gradient position*/
    background-position: right .7em top 50%, 0 0;
    /* icon size, then gradient */
    background-size: 1.2em auto, 100%;
}

/* Hide arrow icon in IE browsers */
.select-css::-ms-expand {
    display: none;
}
/* Hover style */
.select-css:hover {
    border-color: #888;
}
/* Focus style */
.select-css:focus {
    outline: none;
}

/* Set options to normal weight */
.select-css option {
    font-weight:normal;
}

/* Support for rtl text, explicit support for Arabic and Hebrew */
*[dir="rtl"] .select-css, :root:lang(ar) .select-css, :root:lang(iw) .select-css {
    background-position: left .7em top 50%, 0 0;
    padding: .6em .8em .5em 1.4em;
}

/* Disabled styles */
.select-css:disabled, .select-css[aria-disabled=true] {
    color: graytext;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22graytext%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'),
      linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%);
}

.select-css:disabled:hover, .select-css[aria-disabled=true] {
    border-color: #aaa;
}


/* Styled buttons */

/* Mixins */
 #copy-recipe-to-clipboard {
	 display: inline-block;
	 margin: 1em 0;
	 padding: 1em 2em;
	 background: transparent;
	 border-radius: 6px;
	 font-weight: 400;
     font-size: 1rem;
	 text-align: center;
     cursor: pointer;
}
 .green span {
	 background: -webkit-linear-gradient(left, #add356, #00dfa6);
	 -webkit-background-clip: text;
	 -webkit-text-fill-color: transparent;
}
 .orange span {
	 background: -webkit-linear-gradient(left, #ffcb52, #ff451f);
	 -webkit-background-clip: text;
	 -webkit-text-fill-color: transparent;
}
 .blue span {
	 background: -webkit-linear-gradient(left, #3dade9, #bf2fcb);
	 -webkit-background-clip: text;
	 -webkit-text-fill-color: transparent;
}
 .blue {
	 padding: 0.75em;
	 font-size: 3em;
	 font-weight: 100;
	 line-height: 1;
	 letter-spacing: 1px;
}

/* Gradient & Border Technique */
 button.green {
	 border-left: 2px solid #add356;
	 border-right: 2px solid #00dfa6;
	 background-image: -webkit-linear-gradient(left, #add356, #00dfa6), -webkit-linear-gradient(left, #add356, #00dfa6);
	 background-size: 100% 2px;
	 background-position: 0 100%, 0 0;
	 background-repeat: no-repeat;
	 background-clip: border-box;
}

button.orange {
	 border-left: 2px solid #ffcb52;
	 border-right: 2px solid #ff451f;
	 background-image: -webkit-linear-gradient(left, #ffcb52, #ff451f), -webkit-linear-gradient(left, #ffcb52, #ff451f);
	 background-size: 100% 2px;
	 background-position: 0 100%, 0 0;
	 background-repeat: no-repeat;
	 background-clip: border-box;
}

button.blue {
	 border-left: 2px solid #3dade9;
	 border-right: 2px solid #bf2fcb;
	 background-image: -webkit-linear-gradient(left, #3dade9, #bf2fcb), -webkit-linear-gradient(left, #3dade9, #bf2fcb);
	 background-size: 100% 2px;
	 background-position: 0 100%, 0 0;
	 background-repeat: no-repeat;
	 background-clip: border-box;
}
/* Stage Styles */
 /* body { */
	 /* font: normal 1em 'Helvetica Neue', Roboto, 'Open Sans', Helvetica, Arial, sans-serif; */
	 /* background: #1d2025; */
	 /* margin-top: 2em; */
	 /* -webkit-font-smoothing: antialiased; */
	 /* text-rendering: optimizeLegibility; */
/* } */
 .container {
	 display: flex;
	 flex-direction: row;
	 flex-wrap: wrap;
	 align-items: center;
	 justify-content: space-around;
}
 .buttons {
	 display: flex;
	 flex: 1 0 1;
	 flex-wrap: wrap;
	 flex-direction: column;
	 padding: 1em;
}
 p {
	 color: white;
	 text-align: center;
	 text-shadow: 0 0 10px rgba(61, 173, 233, .5);
}
 .btn {
	 align-self: center;
}
 .btn.blue {
	 align-self: stretch;
}
 a {
	 color: inherit;
	 text-decoration: none;
}
 html {
	 box-sizing: border-box;
}
 *, *::before, *::after {
	 box-sizing: inherit;
}
 

/* Select styling */

.select {
  position: relative;
  overflow: hidden;
  display: block;
  margin: auto;
  width: 330px;
  height: 100%;
  border-bottom: 0px;
  border-radius: 3px;
  font-size: 12px;
  box-shadow: 0px 1em 2em -1.5em rgba(0, 0, 0, 0.5);
}
.select > i.toggle {
  position: absolute;
  z-index: 4;
  right: 1.5em;
  top: 1.6em;
  color: #ccc;
}
.select .title,
.select .placeholder {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 1.5em 2em;
  background: white;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  cursor: pointer;
}
.select > input {
  position: absolute;
  left: 0px;
  top: 0px;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  cursor: pointer;
}
.select > input:checked ~ i.toggle.icon-arrow-down {
  display: none;
}
.select > input:checked ~ i.toggle.icon-arrow-up {
  display: block;
}
.select > input:checked div.options label.option .title {
  display: none !important;
}
.select > input:not(:checked) {
  z-index: 4;
}
.select > input:not(:checked) ~ label.option > span.title {
  display: none;
}
.select > input:not(:checked) ~ i.toggle.icon-arrow-up {
  display: none;
}
.select > input:not(:checked) ~ i.toggle.icon-arrow-down {
  display: block;
}
.select > input:disabled {
  cursor: no-drop;
}
.select > span.placeholder {
  position: relative;
  z-index: 0;
  display: inline-block;
  width: 100%;
  color: #999;
  border-top: 0px;
}
.select label.option {
  display: block;
  overflow: hidden;
  z-index: 1;
  width: 100%;
  transition: all 1s ease-out;
}
.select label.option span.title {
  position: relative;
  z-index: 2;
  transition: background 0.3s ease-out;
}
.select label.option span.title i.icon {
  padding-right: 8px;
  color: #92a8d1;
}
.select label.option span.title:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.3);
  box-shadow: inset 0px 1px 0px rgba(0, 0, 0, 0.1);
}
.select label.option input {
  display: none;
}
.select label.option input:checked ~ span.title {
  position: absolute;
  display: block;
  z-index: 3;
  top: 0px;
  font-size: 12px;
  background: #fff;
  border-top: 0px;
  box-shadow: none;
  color: inherit;
  width: 100%;
}
.select label.option input:disabled ~ span.title {
  background: #f9f9f9 !important;
  color: #aaa;
}
.select label.option input:disabled ~ span.title:hover {
  color: #aaa;
  background: none;
  cursor: no-drop;
}
