/*
Theme Name: AJH DVPS
Theme URI: http://anthonyjhodge.com/
Author: Anthony Hodge
Author URI: http://anthonjhodge.com/
Description: Responsive Bootstrap theme for CNI Diamond Valley Photographic Society
License: GNU General Public License v3.0 /
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/


/*
 * Typography
 */

h1 {
	color: #03A2D9;
	font-family: 'Raleway', sans-serif;
	font-weight: 700;
	font-size: 2rem;
	margin-bottom: 2rem !important;
}

h2 {
	color: #03A2D9;
	font-family: 'Raleway', sans-serif;
	font-weight: 600;
	font-size: 1.8rem;
	margin-bottom: 1.2rem;
}

h4 {
	color: #03A2D9;
	font-family: 'Raleway', sans-serif;
	font-weight: 600;
	font-size: 1.4rem;
}

a, a:hover {
	color: #03A2D9;
}

/*
 * Navigation
 */

nav.navbar {
	padding: 1rem;
}

nav .navbar-holder {
	position: relative;
}

nav a.navbar-brand {
	height: 50px;
	width: 121px;
	margin: 0;
	padding: 0;
	background: url(images/logo-xs.png) no-repeat;
}

.navbar-toggler {
	z-index: 99;
}

.navbar-light .navbar-toggler {
    border-color: #03A2D9;
}
.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(3, 162, 217, 1.0)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-light .navbar-nav .nav-link {
    color: #000000;
	font-family: 'Raleway', sans-serif;
	font-weight: 700;
}

.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
    color: #03A2D9;
}

#navbar-member-login {
	position: absolute;
	top: 3px;
	right: 70px;
	width: 7rem;
	text-align: center;
	line-height: 1.2;
}

#navbar-member-login a {
	padding-right: 1rem;
	font-family: 'Raleway', sans-serif;
	font-weight: 700;
    color: #03A2D9;
}

/*
 * General layout
 */

#hero {
	position: relative;
	width: 100%;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	height: 200px;
}

.hero-slider {
	position: relative;
	width: 100%;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	height: 200px;
}

#main {
	padding-top: 30px;
}

.gallery-thumb-holder {
	width: 50%;
}

.gallery-thumb {
	height: 160px;
	margin-bottom: 30px;
	background-position: center center !important;
	background-size: cover !important;
	background-repeat: no-repeat !important;
}

.gallery-thumb a {
	display: block;
	width: 100%;
	height: 100%;
}

.fancybox-title-inside {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.table .thead-dark th {
    color: #fff;
    background-color: #03A2D9;
    border-color: #03A2D9;
}

.validation_message {
	color: #ff0000;
}

/*
 * Homepage
 */
 

/*
 * Competition Page
 */
 
#competition-login label {
	display: block;
}

#competition-form h3 {
	font-weight: 600;
	color: #03A2D9;
	padding-top: 2rem;
	border-bottom: solid 1px #03A2D9;
}

#competition-form h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #03A2D9;
}

#competition-form img.entry-image {
    display: inline;
	padding: 1px;
    border: solid 1px #000000;
}

#competition-form li {
	margin-bottom: 1rem;
}

#competition-form li.more-spacing {
	margin-bottom: 3rem;
}

#competition-form label {
	font-size: 1.1rem;
	font-weight: 600;
	color: #03A2D9;
}

#competition-form input[type=text] {
	width: 100%;
}

#competition-add-form #new_competition_number {
	width: 40px;
}

#competition-add-form #new_competition_name {
	width: 260px;
}

#competition-add-form #new_competition_due_date {
	width: 120px;
}

#competition-add-form #new_competition_results_date {
	width: 120px;
}

#competition-update-form #competition_name {
	width: 260px;
}

#competition-update-form #competition_due_date {
	width: 120px;
}

#competition-update-form #competition_results_date {
	width: 120px;
}

.form-column-half-width {
	width: 100%;
}

ul.form_fields {
	list-style: none;
	padding: 0;
	-webkit-padding-start: 0;
}

/*
 * Footer
 */

#footer {
	background-color: #f3f3f3;
	padding: 10px 0 15px 0;
}

.footer-links {
	list-style: none;
	text-align: center;
	margin-bottom: 0;
}
 
@media all and (min-width:576px) {
	nav a.navbar-brand {
		height: 50px;
		width: 121px;
		background: url(images/logo-sm.png) no-repeat;
	}

	#hero {
		height: 250px;
	}
}

@media all and (min-width:768px) {
	nav a.navbar-brand {
		height: 50px;
		width: 121px;
		background: url(images/logo-md.png) no-repeat;
	}

	#hero {
		height: 280px;
	}

	#gallery img {
		margin-bottom: 0px;
	}

	.form-column-half-width {
		float: left;
		width: 50%;
		padding-right: 6%;
	}

	#footer {
		margin-top: 30px;
	}
}

@media all and (min-width:992px) {

	nav.navbar {
	}

	nav .navbar-holder {
		padding: 0;
	}

	nav a.navbar-brand {
		height: 71px;
		width: 170px;
		background: url(images/logo-lg.png) no-repeat;
	}

	.navbar-expand-lg .navbar-nav .nav-link {
	    padding-right: 1rem;
	    padding-left: 1rem;
	}

	#navbar-member-login {
		width: auto;
		top: 0;
		right: 0;
	}

	#main-menu {
		padding-bottom: 0px;
	}

	#hero {
		height: 300px;
	}

	.footer-links li {
		display: inline-block;
	}

	.footer-links li:not(:last-child):after {
		content: '|';
		padding-left: 10px;
		padding-right: 10px;
	}
}

@media all and (min-width:1200px) {
	nav a.navbar-brand {
		height: 117px;
		width: 281px;
		background: url(images/logo-xl.png) no-repeat;
	}

	#main-menu {
		padding-bottom: 13px;
	}

	#hero {
		height: 396px;
	}
}
