/*
Theme Name: Five Star Pork
Theme URI: http://underscores.me/
Author: David Dumolo
Author URI: http:/redlinetech.co.nz
Description: A custom WordPress theme using Bootstrap
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: fivestarpork
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Five Star Pork is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/


/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}




/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  background: url('/wp-content/themes/fivestarpork/assets/img/body-bg.jpg') center top no-repeat #f3f3f3;
  padding-bottom: 40px;
  color: #5a5a5a;
}

.logged-in .navbar-fixed-top {
    top: 32px;
}

h3 {
    font-size: 30px;
    line-height: 1.8em;
    color: #000;
    letter-spacing: -1px;
    background: url('/wp-content/themes/fivestarpork/assets/img/border-bot.gif') 0 bottom repeat-x;
    margin-bottom: 8px;
    font-weight: bolder;
}

h5 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #38383b;
    font-weight: normal;
    color: #000;
}

h6 {
    color: #b61f24;
    font-weight: normal;
    font-size: 18px
}

.red {
    color: #b61f24;
    font-weight: bold;
}

p {
    margin-bottom: 10px;
    color: #000;
    font-size: 15px;
}



/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */

.navbar-brand > img { 
    
    max-height: 100px;
    max-width: 300%; 
    overflow: visible;
    padding: 0;
    
}



/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;

    
}

/* Flip around the padding for proper display in narrow viewports */
.navbar-wrapper > .container {
  padding-right: 0;
  padding-left: 0;
    
}
.navbar-wrapper .navbar {
  padding-right: 15px;
  padding-left: 15px;
}
.navbar-wrapper .navbar .container {
  width: auto;
  background: url('/wp-content/themes/fivestarpork/assets/img/border-bot.gif') 0 bottom repeat-x;
    margin-bottom: 1%;
    padding-bottom: 30px;
}

.navbar-brand {
        vertical-align: top;
      
}



#social-icons a {
    display: inline-block;
    height: 23px;
    float: right;
    margin-bottom: 1%;
  
}


.icon-2 {
    margin: 0 0 0 -20px;
    background: url('/wp-content/themes/fivestarpork/assets/img/icon-2.png') 0 0 no-repeat;
}

.icon-1 {
    margin: 0 -20px 0 0;
    background: url('/wp-content/themes/fivestarpork/assets/img/icon-1.png') 0 0 no-repeat;
}

.navbar a {
    display: inline-block;
    font-size: 18px;
    line-height: 20px;
    padding: 3px 40px;
}

.navbar-default .navbar-nav > li > a {
    color: #000;
    margin: 20px 10px;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    background-color: #AA0000;
    color: #FFF;
}

.menu {
    margin: 50px 2px 0;
}



.navbar-default .navbar-toggle {
    border-color: #AA0000;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: #AA0000;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #000;
}

.navbar-default .navbar-nav > .active {
   /* color: #FFF; */
    /* background: #AA0000; */
    
}

.navbar-default .navbar-nav > .active > a, 
.navbar-default .navbar-nav > .active > a:hover, 
.navbar-default .navbar-nav > .active > a:focus {
      color: #FFF;
      background: #AA0000;
      padding: 15px 30px;
    
 }

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

.cover {
    clear: both;
    
}

#footer {
    clear: both;
}

#main-nav	{
	height: 30px; /* set to the height you want your menu to be */
	margin: 0 0 10px; /* just to give some spacing */
}
#main-nav ul	{
	margin: 0; padding: 0; /* only needed if you have not done a CSS reset */
}
#main-nav li	{
	display: block;
	float: left;
	line-height: 30px; /* this should be the same as your #main-nav height */
	height: 30px; /* this should be the same as your #main-nav height */
	margin: 0; padding: 0; /* only needed if you don't have a reset */
	position: relative; /* this is needed in order to position sub menus */
}
#main-nav li a	{
	display: block;
	height: 30px;
	line-height: 30px;
	padding: 0 15px;
    color: #000;
    margin: 0 10px;
    text-decoration: none;
}

#main-nav .current-menu-item a, #main-nav .current_page_item a, #main-nav a:hover, #main-nav a:focus {
	color: #FFF;
    background: #AA0000;
    
}



/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
    margin-top: 10%;
    height: 500px;
    margin-bottom: 60px;
    padding: 0 10%;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
    position: relative;
    top: 500px;
    left: auto;
    right: auto;
    color: #000;
}

/* Declare heights because of positioning of img element */
.carousel .item {
  height: 500px;
  background-color: #777;
}
.carousel-inner > .item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 500px;
}

.carousel-inner{
overflow: visible;
}

.glyphicon {
    color: #AA0000;
 
}

 /* Bump up size of carousel content */
  .carousel-caption h1 {
    margin-bottom: 20px;
    font-style: italic;
    color: #000;
      
      
    font-size: 21px;
    line-height: 1.4;
  }

/* Box Text */
.block-1 {
    padding: 10px 10px 20px 10px;
}

.box-shadow {
    box-shadow: 0px 0px 5px #dbdbdb;
    background: #fff;
}

.img-indent {
    display: block;
    float: left;
    margin: 0px 8px 0px 0;
}

.marketing {
    background: url('/wp-content/themes/fivestarpork/assets/img/marketing.png') top left no-repeat;
    background-size: cover;
}

.block-1 p {
    margin-bottom: 10px;
    color: #4c4c4c;
    font-size: 15px;
}

.block-1 h5 {
    margin-bottom: 10px;
    color: #4c4c4c;
}

.img-indentright {
    display: block;
    float: right;
    margin: 0px 0px 0px 5px;
}

.prev-indent-bot {
    margin-bottom: 10px;
}

.block-1 {
    margin-top: 2%;
}

/* CONTACT FORM */

.form-group {
    margin-bottom: 27px;
}


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 768px) {
  /* Navbar positioning foo */
  .navbar-wrapper {
    margin-top: 20px;
  }
  .navbar-wrapper .container {
    padding-right: 15px;
    padding-left: 15px;
  }
  .navbar-wrapper .navbar {
    padding-right: 0;
    padding-left: 0;
  }

  /* The navbar becomes detached from the top, so we round the corners */
  .navbar-wrapper .navbar {
    border-radius: 4px;
  }

 

  .featurette-heading {
    font-size: 50px;
  }


@media (min-width: 992px) {
  .featurette-heading {
    margin-top: 120px;
  }
}

/* FOOTER */
footer {
    display: block;
    margin-top: 3%;
    background: url('/wp-content/themes/fivestarpork/assets/img/border-bot.gif') 0 top repeat-x;
    margin-bottom: 8px;
    
}
    
.foot-text {
    font-family: 'Oleo Script Swash Caps', cursive;
    color: red;
}

.p3 {
    margin: 10% 10% 0 0;
}

.p3 p {
      color: #4c4c4c;
}

.indent-left a {
    color: #AA0000;
    outline: none;
}

.indent-left {
    margin: 5% auto;
    padding-left: 50%;
}

.indent-left p {
    font-size: 1em;
}

/* ABOUT */

.indent-bot2 {
    margin-bottom: 25px;
}

.wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.text-2 {
    display: block;
    color: #929292;
}

.p1 {
    margin-bottom: 4px;
}

h4 {
    font-size: 17px;
    line-height: 1.2em;
    color: #b61f24;
    text-transform: uppercase;
}

.indent-topbot {
    margin-top: 62px;
    margin-bottom: 25px;
}

#content {
  position: relative;
    top: 150px;
    left: 50px;
    margin-bottom: 17%;
    
} 
    


/* ==== MEDIA QUERIES ==== */

@media screen and ( max-width : 991px ) {
    #instructor .container {
        background: rgba(255,255,255,0.8);
        padding: 20px;
    }
}

/* Fix the top margin when logged in */
@media screen and (max-width: 782px) {
    .logged-in .navbar-fixed-top {
        top: 46px;
    }
    
}

@media screen and ( max-width : 768px ) {
    .logo {
        width: 50%;
    }
    
    #optin p {
        margin: 0 0 10px;
    }
    
    #featurette iframe {
        height: 240px;
    }
    
    .resource {
        width: 48%;
        margin-right: 2%;
        min-height: 800px;
    }
}

/* Fix the top margin when logged in */
@media screen and (max-width: 600px) {
    .logged-in .navbar-fixed-top {
        top: 42px;
    }
    
}
    
    @media screen and ( max-width : 568px ) {
        #instructor .num {
            height: 100px;
            width: 100px;
            font-size: 22px;
        }
        
        #instrucor .num span {
            font-size: 16px;
        }
        
        .resource {
            width: 100%;
            margin-right: 0;
            min-height: 0;
        }
    }

    