@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond&display=swap');

html body {
	font-family: 'Roboto', sans-serif;
	font-size: 12px;
	background: url('background.jpg') center center no-repeat #fff fixed;
	background-size: cover;
}

table {
	 width: 75%;
	text-align: center;
}

hr {
	width: 100%;
}

input[type=checkbox]{
	margin: 0 5px 2px;
	transform: translate(0, 2px);
}

input[type=number], input[type=text], input[type=password], select, select option {
	box-sizing: border-box;
	width: 100%;
	margin: 5px 0;
	padding: 1%;
	text-align: left;
}

select[name=expenses_length] {
	width: inherit;
}

input[type=radio] {
	margin: 0 -27px 2px 50%;
	transform: translate(-33px, 2px);
}

input[type=file] {
	max-width: 75%;
}

.x {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

table.custom tr {
	position: relative;
}

table.custom tr td a.delete {
	position: absolute;
	top: 50%;
	transform: translate(-80px,-50%);
}

table tr td {
	background: #fff;
	color: #000;
}

table tr td.paid {
	background: #000;
	color: #fff;
}

table thead, table:not(#expenses) th {
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#fceabb+0,fccd4d+50,f8b500+51,fbdf93+100;Orange+3D+%235 */
	background: #fceabb; /* Old browsers */
	background: -moz-linear-gradient(top,  #fceabb 0%, #fccd4d 50%, #f8b500 51%, #fbdf93 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #fceabb 0%,#fccd4d 50%,#f8b500 51%,#fbdf93 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #fceabb 0%,#fccd4d 50%,#f8b500 51%,#fbdf93 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fceabb', endColorstr='#fbdf93',GradientType=0 ); /* IE6-9 */
	color: #000;
	text-shadow: 1px 1px 0 #F8B500;
	font-size: 18px;
}

table#expenses th {
	padding: 0;
}

table#expenses thead strong {
    width: 100%;
    line-height: 50px;
    display: block;
}

table#expenses th strong:hover {
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#fbdf93+0,f8b500+49,fccd4d+50,fceabb+100 */
	background: #fbdf93; /* Old browsers */
	background: -moz-linear-gradient(top,  #fbdf93 0%, #f8b500 49%, #fccd4d 50%, #fceabb 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #fbdf93 0%,#f8b500 49%,#fccd4d 50%,#fceabb 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #fbdf93 0%,#f8b500 49%,#fccd4d 50%,#fceabb 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fbdf93', endColorstr='#fceabb',GradientType=0 ); /* IE6-9 */
}

div.wrapper {
	text-align: center;
	margin: 0 auto;
}

header a span {
	width: 50vw;
	font-size: 24px;
	font-family: 'Cormorant Garamond', serif;
    letter-spacing: 8px;
    text-transform: uppercase;
	font-weight: bold;
}

#expenses_wrapper {
	width: 75%;
	margin: 0 auto;
}

#add td, #edit td, table.custom td {
	background: none;
}

h1, p {
	text-align: center;
}

h1 span {
	font-size: 48px;	
	font-family: 'Cormorant Garamond', serif;
    letter-spacing: 24px;
    text-transform: uppercase;
	font-weight: bold;
}

footer {
	font-size: 28px;	
	font-family: 'Cormorant Garamond', serif;
    letter-spacing: 14px;
    text-transform: uppercase;
	font-weight: bold;
	color: #000;
}

body .nav-pills .nav-link.active, body .nav-pills .show>.nav-link {
	color: #000;
	background: #fceabb; /* Old browsers */
	background: -moz-linear-gradient(top,  #fceabb 0%, #fccd4d 50%, #f8b500 51%, #fbdf93 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #fceabb 0%,#fccd4d 50%,#f8b500 51%,#fbdf93 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #fceabb 0%,#fccd4d 50%,#f8b500 51%,#fbdf93 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fceabb', endColorstr='#fbdf93',GradientType=0 ); /* IE6-9 */
	font-weight: bold;
    text-shadow: 1px 1px 0 #f8b500;
	border: 1px solid #f8b500;
}

body .nav a {
	color: #000;
	margin: 0 2px;
}

body .nav a:hover {
	color: #000;
	background: #fceabb; /* Old browsers */
	background: -moz-linear-gradient(top,  #fceabb 0%, #fccd4d 50%, #f8b500 51%, #fbdf93 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #fceabb 0%,#fccd4d 50%,#f8b500 51%,#fbdf93 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #fceabb 0%,#fccd4d 50%,#f8b500 51%,#fbdf93 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fceabb', endColorstr='#fbdf93',GradientType=0 ); /* IE6-9 */
    text-shadow: 1px 1px 0 #f8b500;
	border: 1px solid #f8b500;
	margin: 0 1px;
	font-weight: bold;
}

.wrapper{ width: 360px; padding: 20px; }

.dialog{ width: 100%; padding: 20px; text-align: center; }
.dialog input { display: block; width: 360px; margin: 0 auto; }

@media screen and (max-width:927px) {
	header a span {
		text-align: center;
	}
}