/*
 Theme Name:   TORDFC
 Description:  Theme for the TORDFC website
 Author:       TORDFC
 Template:     flat-bootstrap
 Version:      1.0.0
 Text Domain:  tordfc
*/

/* font face */
@font-face {
    font-family: 'eurostile_mnbold';
    src: url('fonts/eurostile_mn_extended_bold-webfont.eot');
    src: url('fonts/eurostile_mn_extended_bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/eurostile_mn_extended_bold-webfont.woff2') format('woff2'),
         url('fonts/eurostile_mn_extended_bold-webfont.woff') format('woff'),
         url('fonts/eurostile_mn_extended_bold-webfont.ttf') format('truetype'),
         url('fonts/eurostile_mn_extended_bold-webfont.svg#eurostile_mnbold') format('svg');
    font-weight: normal;
    font-style: normal;

}

/* general styles */
body {
	font-family: "Trebuchet MS", "Arial", Sans Serif;
	color: black;
	line-height: 180%;
}

div#content {
	border-bottom: 4px solid #0A1827;
}

a {
    color: #c00;
}

a:hover,a:active,a:focus {
   color: #990000;
}

h1,h2,h3,h4,h5,h6 {
	font-family: "Trebuchet MS", "Arial", Sans Serif;
	letter-spacing: 0px;
}

h1 {

}

h1.entry-title, h3.date {
	margin-top: 0;
	margin-bottom: 10px;
}

h1.entry-title {
	font-size: 30px;
	text-transform: none;
}

h3 {
	
}

h4 {
	font-size: 22px;
	
}

/* header */
h1.site-title {
	font-size: 4.4em;
	font-weight: normal;
	text-transform: uppercase;
	font-family: "eurostile_mnbold", "Arial", sans-serif;
	text-align: center;
	margin: 25px 0;
}
	h1.site-title a {
		color: white;
	}

		h1.site-title a span {
			color: red;
		}

h1.page-title {
	font-weight: 400;
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 46px;
	color: rgb(45,45,45);
    border-bottom: 2px dashed rgb(45,45,45);
	padding-bottom: 10px;
	text-align: center;
}

h2.site-description {
	font-family: "eurostile_mnbold", "Arial", sans-serif;
	padding-bottom: 0.5em;
	color: #FF8514;
	font-size: 1.4em;
	letter-spacing: 0px;
	text-align: center;
	text-transform: uppercase;
}

div.textwidget {

}

	div.textwidget p {
		margin-bottom: 10px;
	}

h2.widget-title {
	text-transform: uppercase;
	font-weight: 600;
	font-size: 28px;
	letter-spacing: -2px;
	border-bottom: 2px solid black;
	padding-bottom: 0;
	margin-top: 0;
}

h3.sub-title {
	text-transform: uppercase;
	font-weight: 600;
	font-size: 32px;
	letter-spacing: -2px;
	border-bottom: 2px solid black;
	padding-bottom: 0;
	margin-top: 10px;
}

h3.news-title {
	font-weight: 400;
	text-transform: none;
}

p {
	margin-bottom: 20px;
	font-weight: 400;
	font-size: 16px;
}

blockquote {
	font-style: italic;
}

/* content */
header.content-header {
    padding-top: 15px;
    padding-bottom: 0px;
	min-height: auto;
	/*background-color: #D0D0D0;
    background-color: rgba(192,192,192,0.2);*/
}

#secondary aside.widget {
	margin-top: 20px;
	margin-bottom: 30px;
}

/* mobile width */
@media (max-width: 640px) {	
	h1.site-title {
		font-size: 2.4em;
	}
	h2.site-description {
		font-size: 1em;
	}
	h1.page-title {
		font-size: 35px;
	}
}


/* backgrounds */

#masthead #site-branding {
	/*background-image: url('images/header-bg.jpg');*/
	/*background-color: #110509;*/
	background-color: rgb(45,45,45);
}

div.navbar {
	border-bottom: none !important;
	background-color: black;
}

.navbar-default .navbar-toggle {
	border: none;
}

.navbar-toggle {
	margin-top: 10px;
	margin-left: 5px;
	margin-right: 5px;
}

#content {
	background-image: url('images/body-bg.png');
	background-color: white;
}

input[type=file] {
	width: 230px;
}

.navbar-nav a {
	color: white !important;
	font-weight: 600;
}

.navbar-nav a:hover, .current_page_item a, .open a, .current-menu-parent a {
	color: red !important;
}

.current_page_item a, .open a, .current-menu-parent a {
	background-color: white !important;
}

.dropdown-menu {
	border: none;
}

.dropdown-menu a {
	color: red !important;
	padding: 7px 20px !important;
}

.dropdown-menu a.hover {
	background-color: #c00 !important;
}

.dropdown-menu>.active>a, .dropdown-menu>.active>a:hover, .dropdown-menu>.active>a:focus {
    color: white !important;
    background-color: #c00 !important;
}

div.wpcf7-response-output {
	padding: 15px;
	border-radius: 10px;
	background: white;
}

/* guests */
div.guests-small {
	clear: both;
	overflow: hidden;
	margin-bottom: 30px;
}
	div.guests-small div.guest {
		position: relative;
		height: 12em;
		background-size: cover;
		background-position: center;
		padding: 0;
	}

		div.guests-small div.guest p {
			position: relative;
			display: block;
			width: 100%;
			height: 100%;
			color: white;
			font-size: 22px;
			padding-right: 5px;
			color: white;
			text-shadow: 1px 1px #000000;
			font-weight: bold;
			text-transform: uppercase;
		}

			div.guests-small div.guest p span {
				display: block;
				position: absolute;
				bottom: 5px;
				left: 10px;
			}

div.gallery {
	clear: both;
	overflow: hidden;
}

	div.gallery div.gallery-image {
		position: relative;
		height: 14em;
		background-size: cover;
		background-position: center;
		padding: 0;
	}

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

div.site-logo {
	float: right;
	width: 170px;
}

/* buttons */

button, input[type="button"], input[type="submit"]{
    border: none;
	color:white;
	background-color: #c00;
	border-radius: 3px;
	padding: 10px 20px;
	width: 98%;
	margin-top: 10px;
}

button:hover, button:focus, html input[type="button"]:hover, html input[type="button"]:focus, input[type="submit"]:hover, input[type="submit"]:focus {
    background-color: #990000;
}

/* hidden-sm hidden-xs */


/* Format Jetpack contact form with Bootstrap's form-control tag. */
form.contact-form input[type='text'], 
form.contact-form input[type='email'], 
form.contact-form textarea {
    display: block;
    width: 98%;
    height: 36px;
    padding: 6px 12px;
    font-size: 16px;
    line-height: 1.428571429;
    color: #a1a1a1;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s
}
form.contact-form input[type='text']:focus, 
form.contact-form input[type='email']:focus, 
form.contact-form textarea:focus {
    color: #555;
}

form.contact-form textarea {
	height: 100px;
}

div.countdown {
	text-align: center;
	color: #cc0000;
	font-weight: normal;
	font-size: 22px;
	margin-bottom: 15px;
}

.ninja-forms-field {
    padding: 5px;
	height: 40px;
}

form.contact-form span.asterisk {
	color: red;
	margin-left: 5px;
}


/* TEAM */
div.team-members {

}

	div.team-members div.team-member {
		background-color: #fcf9f9;
	}
	
	div.team-members div.team-member:nth-child(odd) {
		background-color: white;
	}


/* MEMBERS */
div.members-subnav {
	margin-bottom: 3rem;
	
	
}
	
	div.members-subnav a {
		text-transform: uppercase;
		display: block;
		text-align: center;
		background-color: #fcf9f9;
		padding: 1rem 0;
		border: 1px solid rgb(45,45,45);
		
	}

	div.members-subnav a:nth-child(odd) {
		background-color: white;
	}