@import url('https://fonts.googleapis.com/css?family=Lato');

*{
	font-family:'Lato',arial, sans-serif;
}

html{
	height:100%;
	overflow-x:hidden;
}

body{
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

html, body{
	margin:0;
	width:100%;
}

.navbar.site-navbar{
	background-color: #e4d297;
	--bs-navbar-color: #fff;
	--bs-navbar-hover-color: #fff;
	--bs-navbar-active-color: #fff;
}

.site-title{
	margin-left: -20px;
	padding-left: 30px;
}

.site-nav-item{
	background-color: #CAAF60;
	border-color: #C1A657 !important;
}

.site-nav-item > .nav-link:focus,
.site-nav-item > .nav-link:hover,
.site-nav-item.show > .nav-link{
	background-color: #dcc375;
	color: #fff;
}

.footer{
	background-color: #2f2e2b;
	color:#ddd;
	margin-top: auto;
	padding: 10px 0;
	width: 100%;
}

.footer a span{
	color:#CCC;
}
.footer a span:hover{
	color: #FFF;
}

/*noinspection ALL*/
.footer a span.active, .footer a span.active:hover{
	color:#E4D4A0;
}

.thumb-no-outline{
	border:0;
}

a:focus, a:hover, a:active{
	text-decoration: none;
}

.row p{
	font-size:1.1em;
	line-height:25px;
}

.container-fluid.body-content{
	padding-right:30px;
	padding-left:30px;
	padding-bottom:45px;
}

.site-navbar .dropdown-item:hover,
.site-navbar .dropdown-item:focus{
	background-color: #A9955C;
	color: #fff;
}

.page-title{
	margin-bottom:20px;
	text-align:center;
}

p.title-mini{
	font-size:1.2em;
}

.parish-link-btn{
	border-radius: 3px;
	border: 1px solid #BBB;
	box-shadow: 0 2px 5px #CCC;
	width: 200px;
	height: 40px;
	font-size: 1.2em;
}

.parishes-map-table{
	margin: 0 auto;
}

.parishes-map-table td, .parishes-map-table th{
	padding:4px;
	border-bottom: 1px solid #F9F9F9;
	text-align: center;
	width:100px;
	cursor:default;
}

table.parishes-map-table tr th{
	background-color: #6A9CC3;
	color:#FDFDFD;
	font-size:1.2em;
}

.parishes-map-table td:nth-child(odd){
	width:75px;
	background-color:#E6EEF4;
}
.parishes-map-table td:nth-child(even){
	width:175px;
	background-color:#D4E7F6;
}

.parishes-map-table tr:hover td{
	background-color:#29669A;
	color:#FFF;
}

body#modern-parishes .parishes-map-table.modern-parishes-table tr td:nth-child(1), body#modern-parishes .parishes-map-table.modern-parishes-table tr td:nth-child(3){
	width:150px;
}

body#modern-parishes .parishes-map-table.modern-parishes-table tr td:nth-child(2){
	width:250px;
}

body#addresses .addresses-table th{
	font-size: 1.2em;
	background-color: #6a9cc3;
	color: #fff;
	padding: 10px 20px;
	cursor:default;
}

body#addresses .addresses-table tr{
	border-bottom:1px solid #dbe6ef;
	background-color:#E6EEF4;
}
body#addresses .addresses-table tr:hover{
	background-color:#6c8aa2;
	color:#fff;
}

body#addresses .addresses-table tr:nth-child(even){
	background-color:#E6EEF4;
}
body#addresses .addresses-table tr:nth-child(even):hover{
	background-color:#6c8aa2;
}

body#addresses .addresses-table tr:nth-child(even) a, body#addresses .addresses-table tr a{
	color:#005298;
	transition:0.1s;
}

body#addresses .addresses-table tr:nth-child(even):hover a, body#addresses .addresses-table tr:hover a{
	color: #ffffff;
}

body#addresses .addresses-table tr td{
	padding: 5px 10px;
	font-size:1.1em;
	cursor:default;
}

body#transcripts .thumb-text-box{
	padding: 10px 20px 0 20px;
}

body#transcripts #transcript-product-table th{
	font-size:1.2em;
}

body#transcripts #transcript-product-table td:nth-child(3), body#transcripts #transcript-product-table th:nth-child(3){
	border-left:2px solid #EEE;
}

body#transcripts #transcript-product-table td:nth-child(1), body#transcripts #transcript-product-table th:nth-child(1){
	border-left:2px solid #EEE;
}
body#transcripts #transcript-product-table td:nth-child(4), body#transcripts #transcript-product-table th:nth-child(4){
	border-right:2px solid #EEE;
}

body#transcripts #transcript-product-table{
	border: 2px solid #eee;
}

body#error-page .content-container{
	font-size:1.2em;
}

body#error-page .homepage-btn{
	font-size:1.1em;
}













@media(min-width:1200px){
	.container-fluid.body-content{
		padding-right:5px;
		padding-left:5px;
	}
}

@media(max-width: 767px) {
	html, body {
		overflow-x: hidden;
	}
	.table-responsive>.table>tbody>tr>td, .table-responsive>.table>tbody>tr>th, .table-responsive>.table>tfoot>tr>td, .table-responsive>.table>tfoot>tr>th, .table-responsive>.table>thead>tr>td, .table-responsive>.table>thead>tr>th {
		white-space: initial;
	}
}

@media(max-width:580px){
	.foot-item-split{
		display:none;
	}
	.footer a{
		display: block;
	}
}
