html
{
  position: relative;
  min-height: 100%;
  min-width: 320px;
}

body
{
	/* Background pattern from Toptal Subtle Patterns */
	background-image: url("img/country-quilt.png");
	color: #595959;
    font-family: 'Roboto', sans-serif;
	font-size: 17px;
	text-align: center;
	margin-bottom: 60px;
}


#title
{
	font-size: 3em;
	font-weight: 400;
}

#logo
{
	color: #943c6c;
	font-family: 'Fredoka One', cursive;
}

#subtitle
{
	font-weight: 400;
	letter-spacing: 3px;
}

p
{
	margin: 0px;
	font-weight: 700;
	letter-spacing: 1px;
}

.square
{
	text-align: center;
	background-color: rgba(166, 166, 166, 0.6);
	-webkit-box-shadow: -1px 9px 11px -8px rgba(107,108,110,1);
	-moz-box-shadow: -1px 9px 11px -8px rgba(107,108,110,1);
	box-shadow: -1px 9px 11px -8px rgba(107,108,110,1);
}

.tile
{
	height: 100%;
	font-size: 0.95em;
	background-color: #943c6c;
	border-radius: 10px;
	line-height: 1;
	-webkit-box-shadow: 9px 9px 11px -8px rgba(107,108,110,1);
	moz-box-shadow: 9px 9px 11px -8px rgba(107,108,110,1);
	box-shadow: 9px 9px 11px -8px rgba(107,108,110,1);
}

.tile:hover
{
	background-color: #943c6c;
	color: white;
}

.bigIcon
{
	font-size: 3.5em;
	color: white;
}

figcaption
{
	margin-top: 10px;
	font-weight: 500;
	font-family: 'Baloo Paaji 2', cursive;
}

.option
{
	border-radius: 10px;
	line-height: 1.3;
	font-size: 1.1em;
	background-color: rgba(255, 255, 255, 0.3);
	-webkit-box-shadow: 9px 9px 11px -8px rgba(107,108,110,1);
	moz-box-shadow: 9px 9px 11px -8px rgba(107,108,110,1);
	box-shadow: 9px 9px 11px -8px rgba(107,108,110,1);
}

.signButton
{
	background-color: #7c142b;
	border-radius: 15px;
	color: white;
	letter-spacing: 1px;
	-webkit-box-shadow: 9px 9px 11px -8px rgba(107,108,110,1);
	moz-box-shadow: 9px 9px 11px -8px rgba(107,108,110,1);
	box-shadow: 9px 9px 11px -8px rgba(107,108,110,1);
	border-style: none;
}

.signButton:hover
{
	color: white;
	background-color: #7c142b;
}

.footer
{
	font-size: 0.9em;
	position: absolute;
	bottom: 0;
}

#homeButton
{
	text-decoration: none;
	color: #595959;
}

form
{
	background-color: rgba(255, 255, 255, 0.3);
	border-radius: 20px;
}

.userInput
{
	font-size: 1.2em;
	background-color: white;
	color: #666666;
	border: 2px solid #cccccc;
	border-radius: 5px;
	box-sizing: border-box;
}

.userInput:focus
{
	-webkit-box-shadow: 0px 0px 7px 0px #943c6c;
	-moz-box-shadow: 0px 0px 7px 0px #943c6c;
	box-shadow: 0px 0px 7px 0px #943c6c;
	box-shadow: 0x 0px 10px 2px #943c6c;
}

.inputIcon
{
	font-size: 1.2em;
	color: #666666;
	border: 2px solid #cccccc;
	border-radius: 5px;
}


a.nav-link,
a.dropdown-item,
.dateButton > button
{
	color: #595959 !important;
	font-size: 1.05em !important;
	line-height: 150% !important;
}

ul
{
	width: 100%;
}

ul > li,
.dateButton > button
{
	background-color: rgba(255, 255, 255, 0.3);
	border: 1px solid #bfbfbf;
	border-radius: 10px;
}

.dateButton > button:hover,
ul > li:hover
{
	background-color: #943c6c;
	-webkit-box-shadow: 0px 0px 11px 2px rgba(255,255,255,1);
	-moz-box-shadow: 0px 0px 11px 2px rgba(255,255,255,1);
	box-shadow: 0px 0px 11px 2px rgba(255,255,255,1);
}

ul > li.disabled
{
	background-color: #943c6c;
	font-weight: 700;
	pointer-events: none;
}

a.nav-link:hover
{
	color: #404040 !important;
}

h6,
a.dropdown-item
{
	background-color: rgba(255, 255, 255, 0.9);
	border: 1px solid #bfbfbf;
	border-radius: 10px;
}

a.dropdown-item:hover
{
	background-color: #943c6c;
}

.navbar-nav li:hover>.dropdown-menu
{
	display: block;
	min-width: 100%;
	text-align: center;
}

.img-fluid
{
	width: 30%;
}

.labeledInput
{
	font-size: 15px;
	color: #666666;
	resize: none;
}

table
{
	background-color: rgba(255, 255, 255, 0.7);
	border: 2px solid #b3b3b3;
	border-radius: 10px;
	border-collapse:separate; 
	border-spacing: 0 8px;
}

caption
{
	text-align: center;
	caption-side: top;
	background-color: rgba(255, 255, 255, 0.3);
	border: 2px solid #b3b3b3;
	border-radius: 10px;
	color: #943c6c;
	font-size: 1.3em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
}

th
{
	text-align: left;
	color: #943c6c;
	font-size: 1.1em;
	overflow: hidden;
	overflow-wrap: normal;
	border-bottom: 2px solid #b3b3b3;
}

td.amount,
td.sum,
td.date
{
	white-space: nowrap;
}


td
{
	text-align: left;
	font-size: 0.85em;
	border-right: 1px dotted black;
}

td.comment
{
	border: none;
}

tr.summary > td
{
	font-size: 0.95em;
	font-weight: 700;
	border: none;
}

.amount,
td.sum
{
	text-align: right;
}

tr:last-child
{
	color: #7c142b;
}

.box
{
	text-align: center;
	background-color: rgba(255, 255, 255, 0.7);
	border: 2px solid #b3b3b3;
	border-radius: 10px;
}

#balance,
#result
{
	font-size: 1.4em;
	font-weight: 700;
	letter-spacing: 1px;
}

.timePeriod
{
	position: relative;
	background-color: rgba(255, 255, 255, 0.2);
}

.dateButton > button:focus
{
	box-shadow: none;
}

.modal
{
	min-width: 300px;
	overflow:  auto;
}

@media (min-width: 992px) and (max-width: 1199px)
{
	ul > li
	{
		display: flex;
		flex-direction: row;
		align-items: center;
	}
}

@media (max-width: 767px)
{
	#title
	{
		font-size: 2.5em;
	}
}

@media (min-width: 767px)
{
	.dateButton
	{
		position: absolute;
		top: 0;
		right: 0;
	}
}