/*
Nutley War Memorial Hall
*/

@import url('https://fonts.googleapis.com/css?family=Open+Sans|Alata&display=swap');

*
{
	box-sizing: border-box;
	font-family: "Open Sans", sans-serif;
	margin: 0;
	padding: 0;
}

html,
body
{
	height: 100%;
}

body
{
	color: #222;
	font-size: 14px;
}

.screen_limit
{
	height: 100%;
	margin: 0 auto;
	max-width: 1920px;
}

.topbar
{
	background-color: #396BB7;
	overflow: auto;
	padding: 6px 0;
}

h1
{
	left: 20px;
	position: absolute;
	top: 13px;
	z-index: 2;
}

h1
{
	padding: 0 10px;
}

h1 a
{
	color: #fff;
	font-family: Alata, sans-serif;
	font-size: 1.2em;
}

.content
{
	min-height: 100%;
	overflow: hidden;
	padding-top: 20px;
}

.template9 .content
{
	padding-top: 0;
}

.cio
{
	height: 54px;
	width: 70px;
}

.content a
{
	color: #5591EB;
	display: inline-block;
}

.content a::after
{
	background: #5591EB;
	content: '';
	display: block;
	height: 1px;
	width: 100%;

	transition: .5s;
	-webkit-transition: .5s;
}

a.no_bar::after
{
	display: none;
}

.content a:hover::after
{
	background: transparent;
}

a.link_button
{
	background:#CE222A;
	border: 1px solid #888;
	border-radius: 5px;
	color: #fff;
	display: block;
	font-size: 1.3em;
	margin: 0 auto;
	padding: 5px 10px;
	text-align: center;
	max-width: 320px;

	transition: .3s;
	-webkit-transition: .3s;
}

a.link_button:hover
{
	background: #04C409;
	box-shadow: 0 0 8px rgba(0,0,0,.5);
	cursor: pointer;
}

main h2
{
	color: #396BB7;
	font-size: 1.5em;
	margin-bottom: 18px;
	text-align: center;
	text-transform: uppercase;
}

main h3
{
	color: #396BB7;
	font-size: 1.5em;
	text-transform: uppercase;
}

main h4
{
	color: #396BB7;
	font-size: 1.25em;
}

main h5
{
	color: #396BB7;
	font-size: 1.1em;
}

main ul
{
	margin: 0 0 24px 30px;
	list-style: circle;
}

main ul ul
{
	margin-top: 6px;
	list-style: disc;
}

main li
{
	margin-bottom: 6px;
}

.template9 main > img
{
	vertical-align: bottom;
}

aside
{
	background: #fff;
	font-size: .9em;
	overflow: auto;
}

main ul,
aside ul
{
	list-style: circle;
	margin: 0 0 18px 30px;
}

main li,
aside li
{
	margin-bottom: 6px;
}

aside h3,
aside h4
{
	color: #396BB7;
	font-size: 1.3em;
	padding-bottom: 5px;
	text-transform: uppercase;
}

aside h3
{
	text-align: center;
}

aside h4 span
{
	font-size: .6em;
}

aside h5
{
	color: #396BB7;
	font-size: 1.2em;
}

/**********************************
***	GENERAL CLASSES
**********************************/
section
{
	background: #fff;
	overflow: hidden;
}

.hide
{
	display: none;
	left: -9999px;
	position: absolute;
}

.label_link:hover
{
	cursor: pointer;
}

.login_status
{
	border-radius: 5px;
	max-width: 310px;
	padding: 10px 10px 10px 60px;
}

.logged_out
{
	background: #FFF1E1 url(../admin/images/alert32.png) no-repeat 10px 10px;
	border: 1px solid #ff8800;
}

.logged_in
{
	background: #E1FFE1 url(../admin/images/tick32.png) no-repeat 10px 4px;
	border: 1px solid #00ff00;
}

.thirds > div
{
	margin-bottom: 24px;
}

.wrapper
{
	max-width: 1200px;
	margin: 0 auto;
	position: relative;
}

img.autosize
{
	box-sizing: border-box;
	height: 100%;
	width: 100%;
}

a.ext,
a.extlink
{
	background-image: url(../admin/common/images/ext.gif);
	background-position: center right;
	background-repeat: no-repeat;
	margin-right: 2px;
	padding-right: 14px;
}

a.chainlink
{
	background-image: url(../admin/common/images/chainlink.png);
	background-position: center right;
	background-repeat: no-repeat;
	margin-right: 4px;
	padding-right: 18px;
}

a.emaillink
{
	background-image: url(../admin/common/images/emaillink.png);
	background-position: center right;
	background-repeat: no-repeat;
	margin-right: 4px;
	padding-right: 22px;
}

a.filelink
{
	background-image: url(../admin/common/images/filelink.png);
	background-position: center right;
	background-repeat: no-repeat;
	margin-right: 4px;
	padding-right: 20px;
}

a.phonelink
{
	background-image: url(../admin/common/images/mobilelink.png);
	background-position: center right;
	background-repeat: no-repeat;
	margin-right: 4px;
	padding-right: 20px;
}

/**********************************
***	ARTICLES
**********************************/
.article_item
{
	margin-bottom: 20px;
	overflow: hidden;
	position: relative;
}

.article_item .see_more
{
	background: #396BB7;
	border: 1px solid #888;
	border-radius: 5px;
	color: #fff;
	font-size: .9em;
	display: block;
	float: right;
	margin: 0 20px 20px 0;
	padding: 5px 0;
	text-align: center;
	width: 100px;

	transition: .3s;
	-webkit-transition: .3s;
}

.article_item .see_more:hover
{
	background: #5591EB;
	box-shadow: 0 0 8px rgba(0,0,0,.5);
	cursor: pointer;
}

.article_item .see_more::after
{
	display: none;
}

.revealed_article
{
	clear: both;
	max-height: 0;
	opacity: 0;
	visibility: hidden;

	transition: .5s;
	-webkit-transition: .5s;
}

.revealed_article div
{
	margin-bottom: 30px;
}

.hide:checked + label + .revealed_article
{
	max-height: 1600px;
	opacity: 1;
	visibility: visible;
}

/**********************************
***	FONTAWESOME
**********************************/
.feature,
.contact_box
{
	background: linear-gradient(#FDFDFD, #eee);
	border: 1px solid #aaa;
	border-radius: 5px;
	font-size: .9em;
	margin-bottom: 15px;
	min-height: 60px;
	padding: 10px 10px 10px 60px;
	position: relative;
}

.icon-box
{
	align-items: center;
	border: 3px solid #396BB7;
	border-radius:  50%;
	display: flex;
	height: 40px;
	left: 10px;
	justify-content: center;
	position: absolute;
	top: 10px;
	width: 40px;
}

.icon-box .fa
{
	color: #396BB7;
	font-size: 20px;
	transition: .5s;
	-webkit-transition: .5s;
}

/**********************************
***	SLIDESHOW
**********************************/
#static_text_area a
{
	background: radial-gradient(#04C409, #026C05);
	background: rgba(224, 185, 10, 1);

	border: 1px solid #fff;
	border-radius: 5px;
	box-shadow: 0 0 12px #000;
	color: #fff;
	display: block;
	font-size: 1.3em;
	font-weight: bold;
	letter-spacing: 1px;
	padding: 5px 10px;
	text-align: center;
	text-transform: uppercase;

	transition: .3s;
	-webkit-transition: .3s;
}

#static_text_area a:hover
{
	background: rgba(4, 196, 9, 1);
}

/**********************************
***	CALC_FEE
**********************************/
.calc_fee_box
{
	background-color: #396BB7;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-size: 1.1em;
	margin-bottom: 6px;
	padding: 9px 0 4px 0;
	text-align: center;
}

/**********************************
***	GENERAL FORM
**********************************/
.general_form
{
	background: linear-gradient(#85B8EF, #386EB8);
	border: 2px solid #396BB7;
	border-radius: 10px;
	color: #fff;
	padding: 20px;
}

.general_form h4,
.general_form p a
{
	color: #fff;
}

.general_form p
{
	margin-bottom: 8px;
}

.general_form p a:after
{
	background:#fff;
}

.general_form label
{
	display: inline-block;
	margin-bottom: 4px;
}

.general_form select,
.general_form textarea,
.general_form input
{
	margin-bottom: 15px;
}

.general_form select,
.general_form textarea,
.general_form input[type="tel"],
.general_form input[type="email"],
.general_form input[type="text"],
.general_form input[type="password"],
.general_form input[type="submit"]
{
	width: 100%;
}

.general_form input[type="submit"]
{
	margin: 30px 0 0 0;
}

/**********************************
***	FOOTER
********************************/
footer
{
	background: #444;
	background: linear-gradient(to bottom right, #444, #222);
	color: #777;
	clear: both;
	margin: 100px auto 0 auto;
}

footer .wrapper
{
	max-width: 700px;
	padding: 100px 10px;
	position: relative;
}

footer h3
{
	font-size: 1.4em;
	font-variant: small-caps;
}

footer h3,
footer p
{
	margin-bottom: 10px;
}

footer a
{
	color: #aaa;
	position: relative;

	transition: .5s;
	-webkit-transition: .5s;
}

footer a:hover
{
	color: #fff;
}

footer a::after
{
	background: transparent;
	bottom: 0;
	content: '';
	height: 1px;
	left: 0;
	position: absolute;
	width: 100%;

	transition: .5s;
	-webkit-transition: .5s;
}

footer a:hover::after
{
	background: #eee;
}

/**********************************
***	MEDIA
**********************************/

/********** max 749 - mobiles**********/
@media screen and (max-width: 749px)
{

	aside
	{
		margin-top: 30px;
		padding: 20px;
	}

	main section
	{
		padding: 20px;
	}

}

/********** min 550 **********/
@media screen and (min-width: 550px)
{

	.cio
	{
		height: 108px;
		width: 140px;
	}

	.halves
	{
		float: left;
		width: 47%;
	}

	.halves:nth-of-type(2)
	{
		float: right;
	}

	/**********************************
	***	FONTAWESOME
	**********************************/
	.feature
	{
		float: left;
		width: 48%;
	}

	.feature:nth-of-type(odd)
	{
		clear: both;
	}

	.feature:nth-of-type(even)
	{
		float: right;
	}

	.thirds > div:nth-of-type(2)
	{
		float: left;
		margin: 0;
		width: 48%;
	}

	.thirds > div:nth-of-type(3)
	{
		float: right;
		margin: 0;
		width: 48%;
	}

}

/********** min 750 **********/
@media screen and (min-width: 750px)
{

	body
	{
		background: #5B8BCD url(../files/general/bg_full.jpg) no-repeat center center;
		background-attachment: fixed;
		background-size: cover;
	}

	.content
	{
		padding-top: 50px !important;
	}

	h1
	{
		font-size: 1.4em;
	}

	aside,
	main section
	{
		border-radius: 5px;
		box-shadow: 3px 3px 12px #555;;
		font-size: .9em;
		padding: 30px 10px;
	}

	aside
	{
		clear: right;
		float: right;
		margin: 30px 10px 0 0;
		width: 35%;
	}

	aside.article_box
	{
		padding-bottom: 0;
	}

	main section.slideshow_box
	{
		padding-bottom: 10px;
		padding-top: 10px;
	}

	.template2 main,
	.template4 main,
	.template6 main,
	.template9 main
	{
		float: left;
		width: 62%;
	}

	.template9 main
	{
		padding-top: 30px;
	}

	main section
	{
		margin: 30px 10px;
	}

	.template9 main section
	{
		margin: 0 0 30px 10px;
	}

	.narrow_display_only
	{
		display: none;
	}

	.content main .thirds > div
	{
		float: left;
		width: 32%;
	}

	.content main .thirds > div:nth-of-type(2)
	{
		margin-left: 10px;
	}

	.content main .thirds > div:nth-of-type(3)
	{
		float: right;
	}

}

/********** min 1200 **********/
@media screen and (min-width: 1200px)
{

	body
	{
		font-size: 16px;
	}

	main section
	{
		padding: 30px;
	}

	main section.slideshow_box
	{
		padding: 10px;
	}

	.template2 main,
	.template4 main,
	.template6 main,
	.template9 main
	{
		margin-left: 0;
		width: 62%;
	}

	main h2
	{
		font-size: 1.75em;
	}

	aside
	{
		margin-right: 0;
	}

	.content main .thirds > div
	{
		width: 32.5%;
	}

	.content main .thirds > div:nth-of-type(3) table
	{
		width: 100%;
	}

	#pageid_booking_request main section
	{
		background: #fff url(../files/general/bg_booking.jpg) no-repeat bottom right;
	}

	#pageid_booking_request main section .usertable
	{
		background: transparent;
	}

	/**********************************
	***	FADERS
	**********************************/
	.fader
	{
		opacity: 1;
		position: relative;
		top: 0;

		transition: 2s;
		-webkit-transition: 2s;
	}

	.fade_delay_075
	{
		transition-delay: .75s;
		-webkit-transition-delay: .75s;
	}

	.fade_delay_100
	{
		transition-delay: 1s;
		-webkit-transition-delay: 1s;
	}

	.fade_delay_150
	{
		transition-delay: 1.5s;
		-webkit-transition-delay: 1.5s;
	}

	.fade_delay_180
	{
		transition-delay: 1.8s;
		-webkit-transition-delay: 1.8s;
	}

	.fade_delay_225
	{
		transition-delay: 2.25s;
		-webkit-transition-delay: 2.25s;
	}

	.fade_in
	{
		opacity: 0;
		top: 30px;

		transition: none;
		-webkit-transition: none;
	}

}

