/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* End of reset */

/* Main Styles */

html,
body {
  min-height: 100%;
  height: 100%;
}

body {
  font-family: "Roboto", sans-serif;
}

h1 {
  font-size: 1.4rem;
  font-weight: 600;
}

h2 {
  font-size: 1.2rem;
  font-weight: 600;
}

nav {
  display: flex;
  justify-content: space-between;
  padding: 24px;
  box-shadow: 0px 2px 10px 4px rgb(0 0 0 / 20%);
  align-items: center;
}

#logo {
  font-size: 2.4em;
  font-family: "Paytone One", sans-serif;
  font-family: "Syncopate", sans-serif;
  font-weight: 700;
}

button {
  border: none;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 1em;
  cursor: pointer;
  transition: 0.2s all ease-in-out;
}

button span {
  font-size: 1.2em;
  margin-left: 2px;
}

button:hover {
  background: #45ada8;
  border-color: #45ada8;
  color: #fff;
}

.primary-cta {
  background: #000;
  border: 1px solid #000;
  color: #fff;
}

.secondary-cta {
  background: none;
  border: 1px solid #000;
  color: #000;
}

button.remove-btn.destructive-cta {
  border: 1px solid #d40202;
  background: none;
  color: #d40202;
  font-size: 0.9em;
  font-weight: 400;
  padding: 8px 16px;
  transition: 0.2s all ease-in-out;
}

button.remove-btn.destructive-cta:hover {
  border: 1px solid #d40202;
  background: #d40202;
  color: #fff;
}

main {
  padding: 24px;
}

table#book-list {
  width: 100%;
  margin-top: 16px;
  /* border: 1px solid lightgray; */
}

#book-list tr th,
#book-list tr td {
  padding: 16px 24px;
  box-sizing: border-box;
  text-align: left;
  border-bottom: 1px solid lightgray;
  vertical-align: middle;
  position: relative;
}

#book-list tr td {
  font-weight: 400;
}

#book-list tr th:first-child,
#book-list tr td:first-child {
  padding-left: 0;
}

#book-list tr td:last-child {
  padding-right: 0px;
}

.remove-btn {
  float: right;
}

.popover {
  display: none !important;
  position: absolute;
  background: #fff;
  padding: 24px 24px;
  box-shadow: 0px 2px 10px 4px rgb(0 0 0 / 15%);
  min-width: 250px;
  z-index: 1;
  border-radius: 8px;
  transition: 0.2s all ease-in-out;
}

.popover div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 16px 0 24px;
}

.popover button {
  width: 100%;
}

.popover header {
  display: flex;
  justify-content: space-between;
  font-size: 2em;
  font-weight: 100;
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 1px solid lightgray;
  padding-bottom: 12px;
}

.show {
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
}

.show-block {
  display: block !important;
}

table#book-list thead {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.75em;
  letter-spacing: 3px;
}

/* Form Styles */

#form-display {
  display: none;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.3);
  width: 100%;
  height: 100vh;
  position: absolute;
  z-index: 1;
}

#bookInput {
  max-width: 800px;
  background: #fff;
  margin: auto;
  box-shadow: 0px 2px 10px 4px rgb(0 0 0 / 20%);
  padding: 50px 36px 80px;
  box-sizing: border-box;
  position: absolute;
  left: 0;
  right: 0;
  top: 30px;
  border-radius: 8px;
  z-index: 1;
}

#bookInput header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid lightgray;
  margin-bottom: 36px;
  padding-bottom: 24px;
}

#bookInput label {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.75em;
  letter-spacing: 3px;
  min-width: 100px;
  /* margin-bottom: 8px; */
}

#bookInput input {
  /* margin-top: 12px; */
  width: 100%;
  padding: 12px 16px;
  box-sizing: border-box;
  /* border-color: lightgray; */
  border: 1px solid lightgray;
  border-radius: 8px;
  font-size: 1em;
  font-weight: 400;
}

form#bookInput div {
  padding-bottom: 30px;
  display: flex;
  align-items: center;
}

.read-section {
  /* display: block !important; */
  margin: 24px auto;
  border-bottom: 1px solid lightgray;
}

.read-section input {
  width: auto !important;
  margin-left: 24px;
}

.read-section label {
  text-transform: none !important;
  font-size: 1em !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

input[type="checkbox"] {
  transform: scale(2);
  border: 1px solid lightgray !important;
  cursor: pointer;
}

p.close-btn-main,
p.close-btn-pop {
  font-size: 2rem;
  cursor: pointer;
  font-weight: 500;
}

a.edit-link {
  font-size: 0.75em;
  margin-left: 4px;
}

table#book-list tbody tr.initial-entry td {
  padding: 108px 0;
  font-size: 2rem;
  font-weight: 300;
  border-bottom: none;
}
