/* 
Theme Name: B'nai Mitzvah Revolution
Theme URI: 
Author: CBGraphics
Author URI: http://cbgraphics.net
Description: Custom theme developed for B'nai Mitzvah Revolution
Version: 1.0
License: This theme is the property of B'nai Mitzvah Revolution (c) 2016
License URI: 
Tags: responsive layout, black, white, light, custom menu, featured images, post formats, bootstrap
Text Domain: B'nai Mitzvah Revolution

 */


/* ----------Table of Contents----------
1.0 Global
2.0 Navigation
3.0 Resources Layout


-------------------------------------- */

/* -----------1.0 Global---------- */

@import url('bootstrap/css/bootstrap.css'); 
@import url('bootstrap/css/bootstrap-responsive.css'); 


body {
	padding-bottom: 70px;
	min-height:calc(100vh);
}

img {
	max-width: 100%;
	height: auto;
}

img.main-background {
  /* Set rules to fill background */
  min-height: 100%;
  min-width: 1024px;
	
  /* Set up proportionate scaling */
  width: 100%;
  height: auto;
	
  /* Set up positioning */
  position: fixed;
  top: 0;
  left: 0;
}

@media screen and (max-width: 1024px) { /* Specific to this particular image */
  img.bg {
    left: 50%;
    margin-left: -512px;   /* 50% */
  }
}

.website-name {
    display:block;
    color: #fddfc6;
}

@media screen and (min-width: 768px) { 
  .website-name {
    display:none;
  }
}

.clearfix {
	clear: both;
}

/* Extra Large devices (1500px and up) */
@media (min-width: 1500px)  { 
	.container {
		width: 1450px;
	}
}

/* Primary Container */

.container {
	margin-top: 25px;
	margin-bottom: 50px;
}

@media (max-width: 992px) {
	.container {
		margin-top: 0;
	}
}

/* Typography */
@font-face {
    font-family: 'gnuolane_rgregular';
    src: url('fonts/gnuolane_rg-webfont.eot');
    src: url('fonts/gnuolane_rg-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/gnuolane_rg-webfont.woff2') format('woff2'),
         url('fonts/gnuolane_rg-webfont.woff') format('woff'),
         url('fonts/gnuolane_rg-webfont.ttf') format('truetype'),
         url('fonts/gnuolane_rg-webfont.svg#gnuolane_rgregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

p, li {
	font-size: 13px;
	line-height: 16px;
}

h1 {
	font-family: 'gnuolane_rgregular';
	color: #4a260e;
	font-size: 26px;
	line-height: 28px;
	margin-bottom: 12px;
	letter-spacing: 1px;
}

h2 {
	font-family: 'gnuolane_rgregular';
	color: #4a260e;
	font-size: 23px;
	line-height: 25px;
	margin-bottom: 12px;
	letter-spacing: 1px;
}

h3 {
	font-family: 'gnuolane_rgregular';
	color: #4a260e;
	font-size: 18px;
	line-height: 20px;
	margin-bottom: 12px;
	letter-spacing: 1px;
}

.two-columns {
	-webkit-column-count: 2; /* Chrome, Safari, Opera */
    -moz-column-count: 2; /* Firefox */
    column-count: 2;
}

@media (max-width: 500px) {
	.two-columns {
	-webkit-column-count: 1; /* Chrome, Safari, Opera */
    -moz-column-count: 1; /* Firefox */
    column-count: 1;
}
}



/* -----------2.0 Navigation---------- */


.navbar {
	font-size: 12px;
	text-align: bottom;
	min-height: 65px;
}

@media (max-width: 500px) {
	.navbar {
		min-height: 100px;
	}
}

.nav-container {
	padding-right: 15px;
	padding-left: 15px;
	margin-right: auto;
	margin-left: auto;
}

.navbar-header {
	padding-left: 15px;
	padding-top: 14px;
	padding-right: 15px;
}

.navbar-header a, .navbar-header a:link, .navbar-header a:visited {
	color: #fddfc6;
	padding-left: 15px;
	position: relative;
	top: 23px;
}
.navbar-header a:hover {
	color: #ffffff;
	text-decoration: none;
}



#navbar {
	padding-top: 35px;
}

.navbar-default {
	background-color: #0e4c7d;
	border: none;
}

ul#menu-main-menu > li.menu-item {
	display: block;
	float: left;
	padding-right: 15px;
}

ul#menu-main-menu > li.menu-item > a, ul#menu-main-menu > li.menu-item > a:link, ul#menu-main-menu > li.menu-item > a:visited {
	color: #fddfc6;
    padding: 0px;
    display: block;
    float: right;
}

ul#menu-main-menu > li.menu-item > a:hover {
	color: #ffffff;
}

ul#menu-main-menu > li.menu-item:before {
	content: "|";
	padding-right: 15px;
	color: #fddfc6;
}

ul#menu-main-menu > li.menu-item:first {
	padding-left: 15px;
}

ul#menu-main-menu > li.menu-item:first-of-type::before {
	padding-left: 15px;
	content: "";
}


ul#menu-main-menu > li.current_page_item > a {
	color: #ffffff !important;
}

/* -----------3.0 Index.php layout---------- */

.index-page {
	background-image: url("imgs/repeatable-parchment.jpg");
	min-height: calc(80vh);
	padding: 35px;
	opacity: .95;
}

.index-page .index-page-header {
	margin-bottom: 35px;
}

.index-page .col-sm-12 img {
	margin: 0 auto;
	display: block;
}

.index-page .page-title {
	text-align: center;
}

/* -----------3.0 Resources Layout---------- */

.branding-header {
	background-image:
    linear-gradient(to right, rgba(38,66,99,1), rgba(38,66,99,1), rgba(38,66,99,1) );
    padding: 20px;
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 25px;
    background-blend-mode: multiply;
}

.branding-header p {
	color: #b6a37f;
}

.branding-header img {
	padding-bottom: 25px;
}

.branding-header > div > a > img:first-of-type:hover {
	opacity: 0.5;
}


.resource-logos {
	display: block;
	float: left;
}

.resource-logos img{
	margin: 0 5px 8px;
	opacity: 0.8;
	max-height: 60px;
	width: auto;
}

.resource-logos > a {
	padding-left: 0 !important;
	position: inherit !important;
}

.resource-logos img:hover {
	opacity:0.6;
}


/* --- Category Buttons --- */

ul.category-buttons > li {
	display: table;
	float: left;
	background-color: rgba(139,59,20,.90);
	width: 45%;
	margin: 10px;
	text-align: center;
	padding: 0 15px;
	border-radius: 10px;
	height: 145px;
}

ul.category-buttons > li > a, ul.category-buttons > li > a:link, ul.category-buttons > li > a:visited {
	color: #fddfc6;
	text-transform: uppercase;
	font-size: 20px;
	line-height: 20px;
	font-weight: bold;
	display: table-cell;
	vertical-align: middle;
	min-height: 145px;
}

ul.category-buttons > li > a:hover {
	color: rgba(255,255,255,0.5);
	text-decoration: none;
}

li.current-page-ancestor, .front-page .category-buttons li:first-of-type {
	background-color: rgba(22,98,137,.90) !important;
}

ul.category-buttons {
	position: relative;
	left: -10px;
}

@media (max-width: 500px) { 
	ul.category-buttons {
		margin: 0;
		padding: 0;
		position: relative;
		left: 0;
	}

	ul.category-buttons > li {
		display: table;
		float: left;
		background-color: rgba(139,59,20,.90);
		width: 100%;
		margin: 5px 0;
		text-align: center;
		padding: 0 15px;
		border-radius: 10px;
		height: 55px;
	}

	ul.category-buttons > li > a, ul.category-buttons > li > a:link, ul.category-buttons > li > a:visited {
		color: #fddfc6;
		text-transform: uppercase;
		font-size: 16px;
		line-height: 20px;
		font-weight: bold;
		display: table-cell;
		vertical-align: middle;
		min-height: 145px;
	}
}


/* ---- Category Menus ---- */

div.category-menu {
	left: -40px;
    position: relative;
}

div.category-menu > ul > li {
	display: block;
	background-color: #4a260e;
	padding: 5px 15px;
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
	font-family: 'Arial Narrow', Helvetica, Arial, sans-serif;
}

div.category-menu > ul > li > a:hover {
	color: rgba(255,255,255,0.5);
}

div.category-menu a, div.category-menu a:link, div.category-menu a:visited {
	color: #ffffff;
}

div.category-menu a:hover {
	text-decoration: none;
}

div.category-menu > ul> li.current_page_item, .front-page .category-menu li:first-of-type {
	background-color: #485c67 !important;
}


/* ----- Snapshot ---- */

.snapshot-content {
	background-image: url("imgs/repeatable-parchment.jpg");
	min-height: 750px;
	padding: 25px;
	opacity: .95;
}

.snapshot-content > div.row > div.col-md-5 ul {
	margin-top: -10px;
	padding-left: 20px;
}

.snapshot-content > div.row > div.col-md-5 li {
	list-style: outside none none;
	font-size: 13px;
	line-height: 16px;
}

