/*
Theme Name: Gracie's Place
Author: tdturn2
Author URI: //terryturner.org/
Description: Custom theme for Gracie's Place - original branding done by @weswilcox
Version: 1.0
*/

@font-face {
    font-family: 'whatever_it_takesregular';
    src: url('fonts/whatever_it_takes-webfont.woff') format('woff2'),
         url('fonts/whatever_it_takes-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'whatever_it_takesbold';
    src: url('fonts/whatever_it_takes_bold-webfont.woff') format('woff2'),
         url('fonts/whatever_it_takes_bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

html {
  font-family: sans-serif; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
  width: 100%;
}

body {
  margin: 0;
  font-family: 'Lato', sans-serif;
  width: 100%;
  min-width: 100%;
}

.alignright {
  float: right;
  margin-left: 15px;
  margin-bottom: 10px;
}
.alignleft {
  float:left;
  margin-right: 15px;
  margin-bottom: 15px;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}
hr {
  clear:both;
  border: 0; height: 0; border-top: 1px solid rgba(0, 0, 0, 0.1); border-bottom: 1px solid rgba(255, 255, 255, 0.3); margin: 20px 0;
}
.content h1 {
  font-size: 2.2em;
  padding-bottom: 5px;
  border-bottom: 1px dotted #5a4f52;
  font-family:'Lato',sans-serif;
}
.content h2 {
  font-size: 1.9em;
}
.content h2, h3 {
  color: #383536;
  margin-bottom: 15px;
}
.content h3 {
  color: #9d0e1c;
}
p, ul li, ol li {
  margin-bottom: 20px;
  line-height: 24px;
  color: #5a4f52;
  font-size: 16px;
}
ul li, ol li {
  margin-left: 20px;
  padding-left: 10px;
  line-height: 20px;
}
ul li {
  margin-left:50px;
}
.nomargin {
  margin: 0;
}

.no-gutter > [class*='col-'] {
  padding-right:0;
  padding-left:0;
}
.logo {
  line-height: 90px;
}
.logo img {
  vertical-align: middle;
}
span.logo-title {
  font-weight: 900;
  display: inline-block;
  margin-left: 20px;
  font-size: 25px;
  vertical-align: middle;
  display: none;
}
a .logo-title {
  color: #fff;
}
.pad {
  padding: 40px 0;
}

.book-plug {
  background-color: #b7c3af;
}
.book-plug p {
  color: #435e33;
}
.book-plug img {
  float: left;
  margin-right: 30px;
  box-shadow: 15px 15px 0 #435e33;
}
.footer {
  background: #2d2d2d;
  color: #c6c5c5;
  padding: 8px 0;
  text-transform: uppercase;
  margin-top: 10px;
}
.navbar-default {
  background-color: inherit;
  border-color: inherit;
}
.navbar {
  border: none;
  margin-bottom: 0;
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover {
  background:rgba(255, 255, 255, 0.1) none repeat scroll 0 0;
}
a.navbar-brand {
  width:335px;
  height: auto;
  bbackground-color: green;
}
.navbar-brand>img {
  display: inline-block;
}
.navbar-collapse.collapse {
    display: inline-block!important;
  }
/* ===== Top ===== */
#navigation {
  display: inline-block;
  vertical-align: top;
  width: 100%;
}
#navigation ul {
	list-style:none;
	margin:0;
	padding:0 0;
}
#navigation ul li {
	float:left;
}
/* ===== First Level ===== */				
#navigation ul li {
	position:relative;
	padding:0;
	margin:0;
	border-right:0px solid #999;
	
}
#navigation ul li:first-child {
	background: #cc99cc;
}
/*
#navigation ul li:nth-child(2) {background: #99cc66;}
#navigation ul li:nth-child(3) {background: #e4e469;}
#navigation ul li:nth-child(4) {background: #0099cc;}
#navigation ul li:nth-child(5) {background: #cc99cc;}
*/
#navigation ul li:first-child {background: #db5fa5;}
#navigation ul li:nth-child(2) {background: #68b581;}
#navigation ul li:nth-child(3) {background: #fbbb1b;}
#navigation ul li:nth-child(4) {background: #0099cb;}
#navigation ul li:nth-child(5) {background: #cc9cc6;}


#navigation ul ul li {
	border:none;
	background: #bf1f2f;
	margin: 0;
	
}
	#navigation ul li a {
	display:block;
	font-family: 'Lato', sans-serif;
	text-decoration:none;
	font-size:15px;
	text-transform: uppercase;
	color: #fff;
	padding:0 30px;
	line-height:150px;
	margin-top: -1px;
}
	#navigation ul li:hover a {
	position:relative;
	background:rgba(255, 255, 255, 0.2) none repeat scroll 0 0;
	color:#fff;
}
#navigation ul ul,	#navigation ul li:hover ul ul {
	position:absolute;
	display:none;
}
#navigation ul ul li:hover ul,#navigation ul li:hover ul li:hover ul {
	display:block;
	top:0px;
	left: 100%;
}
/* ===== Second and Third Level ===== */
#navigation ul li:hover ul {
	display:block;
	position:absolute;
	left:0;
	top:100%;
	width:auto;
	height:auto;
	margin:0;
	padding:0;
	box-shadow: 0 4px 0 rgba(0, 0, 0, 0.2), 0 1px 0 rgba(255, 255, 255, 0.15) inset;
}
#navigation ul ul {
	background:#777;
}
#navigation ul ul ul {
	background:#e4e4e4 !important;
	border-color:#e4e4e4 !important;
	margin-left:-14px;
}
#navigation ul ul li a {
	float:none;
	width:180px;
	line-height:40px;
	font-variant:normal;
	font-weight:normal;
	font-size:14px;
	color:#fff;
	text-transform:none;
	padding:6px 10px;
	background:none !important;
}
#navigation ul ul li a:hover {
	background:rgba(255, 255, 255, 0.2) none repeat scroll 0 0 !important;
}
#navigation ul ul ul li a {
	color:#fff;
	font-weight:bold;
}
#navigation ul ul li:hover&gt;a {
	background:#fff !important;
	color:#999 !important;
}
#navigation ul ul ul li:hover&gt;a {
	background:#eee !important;
	color: #777 !important;
}
.nav-container {
  background-color: #2d2d2d;
  background-color: #fff;
}
.content {
  width: 1000px;
  margin: 0 auto;
}
.page-header {
  height: 350px;
  background: url('../../uploads/gp-room-empty-header.jpg') no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-color: #ccc;
  text-align: center;
  color: #fff;
  vertical-align: middle;
  padding-top: 200px;
  text-shadow: 1px 1px 1px #000;
}

.home .page-header {
  height: 550px;
  bbackground: linear-gradient(rgba(38,45,48, 0.9), rgba(38,45,48, 0.7)), url('../../uploads/home2.jpg') no-repeat center center;
  background: url('../../uploads/gp-room2-header.jpg') no-repeat center center;
   bbackground: linear-gradient(rgba(255,228,230, 0.25), rgba(51,39,53, 0.9)), url('../../uploads/home2.jpg') no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-color: #ccc;
  text-align: center;
  color: #fff;
  vertical-align: middle;
  padding-top: 270px;
  text-shadow: 1px 1px 1px #000;
}

.home .page-header h2 {font-family:'whatever_it_takesregular',sans-serif; font-size: 46px; }

.page-about .page-header {
  background:url('../../uploads/gracie-reading.jpg') no-repeat center center;
   -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.page-donate .page-header {
  background:url('../../uploads/donation-header.jpg') no-repeat center center;
   -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.page-contact .page-header {
  background:url('../../uploads/contact-header.jpg') no-repeat center center;
   -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.page-books p, .page-books h2 {
  max-width: 750px;

}

#navigation .container-fluid {
  height: 80px;
  width: inherit;
}

a.navbar-brand {
	padding: 5px 0;
}

.home .content ul li {margin-bottom: 15px;}

div.mini-about {}
div.survey {display: inline-block; float:right; width: 250px; background-color:#0099cb; padding: 15px; margin: 40px 0 10px 20px; text-align: center;}
div.survey h3 {font-size: 20px; color: #fff; line-height: 26px; font-weight: 700;}
div.survey p {font-size: 14px; color: #fff;}
div.survey a.button {display:inline-block; background-color: #fff; padding: 15px; font-size: 24px; color: #5a4f52; text-align: center; text-transform: uppercase; }
div.survey a.button:hover {text-decoration: none;background-color:#eee; cursor: hand;}
.paypal{width:200px; float:right; margin-left: 10px;}

.promo-video {width: 600px; display: inline-block;}
.promo-video iframe {width:600px; height: 337px;}

.donate-button {display: inline-block; background-color: #68b581; color: #fff; padding: 10px 30px;}
a.donate-button:hover {text-decoration: none; color: #fff;}

.facebook{width:250px; float:right; clear:both;}

@media all and (max-width: 1024px) {

 bbody {
      width: 1024px;
      min-width: 1024px;
  }
  .llogo {
    margin-left:20px;
    }
 .content {
   width: 100%;
   margin: 0;
 }
}

@media (max-width: 1000px) {
  .navbar-header {
      float: none;
  }
  .navbar-left,.navbar-right {
      float: none !important;
  }
  .navbar-toggle {
      display: block;
  }
  .navbar-collapse {
      border-top: 1px solid transparent;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  }
  .navbar-fixed-top {
      top: 0;
      border-width: 0 0 1px;
  }
  .navbar-collapse.collapse {
      display: none!important;
  }
  .navbar-nav {
      float: none!important;
      margin-top: 7.5px;
  }
  .navbar-nav>li {
      float: none;
  }
  .navbar-nav>li>a {
      padding-top: 10px;
      padding-bottom: 10px;
  }
  .collapse.in{
      display:block !important;
  }
  #navigation {
    width: 100%;
  }
  #navigation .container-fluid {
    height: auto;
  }
  .navbar-toggle {
    margin-top: 30px;
  }
}
@media (min-width: 768px) {
  .navbar-collapse.collapse {
    ddisplay: inline-block!important;
  }
}

@media all and (max-width: 475px) {

  body {
    width: 475px;
  }
  a.navbar-brand {
    width: 375px;

  }
 
  span.logo-title {
    margin-left: 8px;
  }
  iframe {
    max-width: 400px;
  }
  .book-plug img {
    float: none;
    display: block;
    margin: 0 30px 30px 0;
    box-shadow: 15px 15px 0 #435e33;
  }
  .page-header {
    height: 137px;
    background: url('https://gracies-place.org/wp-content/uploads/winfield-bevins-banner.jpg') no-repeat center center;
    background-size: contain;
  }
}