/* 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;
}

/* Start CSS */

body {
    background-color: white;
}

#parent {
    background-color: rgb(247, 247, 247);
    box-shadow: 0px 6px 9px rgba(0, 0, 0, 0.4);
    border-radius: 1em;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    width: 800px;
    height: auto;
    padding: 60px;
    margin: 40px auto;
}

#col1 {
    grid-column: 1/2;
    grid-row: 1/2;
    position: relative;
    display: flex;
    flex-direction: column;
}

h1 {
    text-align: left;
    font-family: SF Pro Display, SF Pro Icons, Helvetica Nueue, Helvetica, Arial, sans-serif;
    font-size: 48px;
    margin: 20px auto;
    width: 100%;
    letter-spacing: 1px;
    font-weight: 600;
}

h2 {
    text-align: left;
    font-family: SF Pro Display, SF Pro Icons, Helvetica Nueue, Helvetica, Arial, sans-serif;
    font-size: 24px;
    margin: 10px auto;
    width: 100%;
    letter-spacing: 1px;
    font-weight: 600;
}

p {
    text-align: left;
    font-family: SF Pro Display, SF Pro Icons, Helvetica Nueue, Helvetica, Arial, sans-serif;
    font-size: 20px;
    margin: 10px 0;
    width: 100%;
    letter-spacing: 1px;
    font-weight: 400;
}

.vertical {
    display: flex;
    flex-direction: column;
    margin: 3px 0;
}

._2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    margin: 3px 0;
}

#zipLabel {
    grid-column: 1/2;
    grid-row: 1/2;
}

#zip {
    grid-column: 1/2;
    grid-row: 2/3;
    margin-right: 5px;
}

#locationLabel {
    grid-column: 2/3;
    grid-row: 1/2;
    margin-left: 5px;
}

#location {
    grid-column: 2/3;
    grid-row: 2/3;
    margin-left: 5px;
}

#cvcLabel {
    grid-column: 1/2;
    grid-row: 1/2;
}

#cvc {
    grid-column: 1/2;
    grid-row: 2/3;
    margin-right: 5px;
}

#dateLabel {
    grid-column: 2/3;
    grid-row: 1/2;
    margin-left: 5px;
}

#date {
    grid-column: 2/3;
    grid-row: 2/3;
    margin-left: 5px;
}

label {
    font-size: 20px;
    font-weight: 400;
    margin: 10px 0;
    font-family: SF Pro Display, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif;
}

input {
    border: solid 1px;
    background-color: rgb(244, 244, 244);
    border-color: #86868b;
    border-radius: 0.5em;
    height: 25px;
    padding: 5px;
    font-size: 16px;
}

select {
    border: solid 1px;
    background-color: rgb(244, 244, 244);
    border-color: #86868b;
    border-radius: 0.5em;
    height: 39px;
    padding: 5px;
    font-size: 16px;
}

#submit {
    height: 56px;
    border: none;
    text-align: center;
    color: white;
    margin: 10px 0;
    background-color: #0071E3;
    transition: 150ms;
}

#submit:hover {
    background-color: #4da6ff;
}

#col2 {
    grid-column: 2/3;
    grid-row: 1/2;
    position: relative;
    display: block;
    padding: 30px;
    padding-top: 108px;
}

#col3 {
    grid-column: 1/3;
    grid-row: 1/2;
    position: relative;
    display: flex;
    flex-direction: column;
}

.item {
    height: 27px;
    width: 27px;
    border: solid 1px;
    background-color: rgb(244, 244, 244);
    border-color: #86868b;
    border-radius: 0.5em;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
}

.item h3 {
    margin: auto;
    text-align: center;
}

.selected {
    background-color: green !important;
}

#col2div {
    display: flex;
    flex-direction: row;
    margin: 0 50px;
}

#col2div label {
    height: 37px;
    margin: 20px 10px;
    line-height: 27px;
}