/* 
Theme Name: KingWilly
Theme URI: https://builtbykingwilly.com/
Version: 0.1
Author: KingWilly
Author URI: https://builtbykingwilly.com/
Description: Custom Award Winning Powerful Framework for KingWilly
Version: 0.1
Text Domain: kingwilly
*/

/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */.visuallyhidden,hr{border:0;height:1px}html{color:#222;font-size:1em;line-height:1.4}::-moz-selection{background:#b3d4fc;text-shadow:none}::selection{background:#b3d4fc;text-shadow:none}hr{display:block;border-top:1px solid #ccc;margin:1em 0;padding:0}audio,canvas,iframe,img,svg,video{vertical-align:middle}fieldset{border:0;margin:0;padding:0}textarea{resize:vertical}.browserupgrade{margin:.2em 0;background:#ccc;color:#000;padding:.2em 0}.hidden{display:none!important}.visuallyhidden{clip:rect(0 0 0 0);margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.invisible{visibility:hidden}.clearfix:after,.clearfix:before{content:" ";display:table}.clearfix:after{clear:both}@media print{blockquote,img,pre,tr{page-break-inside:avoid}*,:after,:before{background:0 0!important;color:#000!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="#"]:after,a[href^="javascript:"]:after{content:""}blockquote,pre{border:1px solid #999}thead{display:table-header-group}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}}


/* --------------------------------------------
	ID's
-------------------------------------------- */
html, body, a, .navbar .nav>li>a, .btn, .sf-button, input, button, select, textarea, .button {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	filter: progid:DXImageTransform.Microsoft.
AlphaImageLoader(src=hIEfix.png,sizingMethod=crop);
}

a:focus {
  outline: none;
}

body {
  padding-top: 50px;
}

.admin-bar .navbar-fixed-top {
	margin-top: 30px;
}

body {
   font-size: 16px;
}

/* --------------------------------------------
	NAV
-------------------------------------------- */
.navbar-nav > li.current-menu-item > a {
	background: #000;
	color: #fff;
} 

@media (min-width:768px) {
	.sub-menu {
		display: none;
		position: absolute;
		background: #222;
		padding: 10px 15px;
		width: 200px;		
	}

	li:hover .sub-menu {
		display: block;
	}
}

.sub-menu li {
	margin-bottom: 10px;
	list-style: none;
}

.sub-menu li:last-child {
	margin-bottom: 0;
}

.sub-menu a  {
	color: #999;
	text-decoration: none;
}

.sub-menu a:hover  {
	color: #fff;	
}	

.current-menu-item > a, .current-menu-parent > a {
	background: inherit;	
}
.current-menu-parent li a {
	background: inherit;
}
.current-menu-parent .current-menu-item a {
	color: #fff;
}


.dropdown-menu {
  position: absolute;
  top: 100%!important;
  left: 0!important;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 160px;
  width: 100%;
  padding: 0;
  margin: 0;
  font-size: 14px;
  text-align: left;
  list-style: none;
  background-color: #fff;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 1px solid #e7e7e7;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.dropdown-menu li a {
	padding: 14px;
}
/* --------------------------------------------
	SIDEBAR
-------------------------------------------- */
.sidebar {
	margin-top: 40px;
	color: #444;
}

.sidebar h3 {
	color: #888;
}
.sidebar img {
	max-width: 100%;
	width: 100%;
	height: auto;
}

.sidebar li {
	list-style-type: none;
}
.widget {
	margin: 10px 0px 30px 0px;
}
/* --------------------------------------------
	POSTS
-------------------------------------------- */
article.post {
	margin: 20px 0px 40px 0px;
}


/* --------------------------------------------
	PORTFOLIO
-------------------------------------------- */
.featured-image img,
.portfolio-piece img,
.portfolio-image img {
	max-width: 100%;
}

.prev-next {
	font-size: 24px;
	margin-top: 30px;
	text-align: right;
}

@media (max-width:600px) {
	.portfolio-piece h4 {
		font-size: .8em;
	}
	.prev-next {
		font-size: 18px;
	}
}


/* --------------------------------------------
	OFF CANVAS
-------------------------------------------- */
@media screen and (max-width: 767px) {
  .row-offcanvas {
    position: relative;
    -webkit-transition: all .25s ease-out;
         -o-transition: all .25s ease-out;
            transition: all .25s ease-out;
  }

  .row-offcanvas-right {
    right: 0;
  }

  .row-offcanvas-left {
    left: 0;
  }

  .row-offcanvas-right
  .sidebar-offcanvas {
    right: -50%; /* 6 columns */
  }

  .row-offcanvas-left
  .sidebar-offcanvas {
    left: -50%; /* 6 columns */
  }

  .row-offcanvas-right.active {
    right: 50%; /* 6 columns */
  }

  .row-offcanvas-left.active {
    left: 50%; /* 6 columns */
  }

  .sidebar-offcanvas {
    position: absolute;
    top: 0;
    width: 50%; /* 6 columns */
  }
}


/* --------------------------------------------
	START - ADDON CSS
-------------------------------------------- */


/* --------------------------------------------
	FULL VIEWPORT COVER
-------------------------------------------- */
html,
body {
  height: 100%;
}

/*
 * Header
 */
.masthead-brand {
  margin-top: 10px;
  margin-bottom: 10px;
}

.masthead-nav > li {
  display: inline-block;
}
.masthead-nav > li + li {
  margin-left: 20px;
}
.masthead-nav > li > a {
  padding-right: 0;
  padding-left: 0;
  font-size: 16px;
  font-weight: bold;
  color: #fff; /* IE8 proofing */
  color: rgba(255,255,255,.75);
  border-bottom: 2px solid transparent;
}
.masthead-nav > li > a:hover,
.masthead-nav > li > a:focus {
  background-color: transparent;
  border-bottom-color: #a9a9a9;
  border-bottom-color: rgba(255,255,255,.25);
}
.masthead-nav > .active > a,
.masthead-nav > .active > a:hover,
.masthead-nav > .active > a:focus {
  color: #fff;
  border-bottom-color: #fff;
}

@media (min-width: 768px) {
  .masthead-brand {
    float: left;
  }
  .masthead-nav {
    float: right;
  }
}


/* Extra markup and styles for table-esque vertical and horizontal centering */
.site-wrapper {
	display: table;
	width: 100%;
	height: 100%; /* For at least Firefox */
	min-height: 100%;
}
.site-wrapper-inner {
  display: table-cell;
  vertical-align: middle;
  background-position: center center;
  background-size: cover;
}

.cover-container {
  margin-right: auto;
  margin-left: auto;
}

/* Padding for spacing */
.inner {
  padding: 30px;
}

/*
 * Cover
 */

.cover {
  padding: 0px 20px;
}
.cover .btn-lg {
  padding: 10px 20px;
  font-weight: bold;
}

/*
 * MastFooter
 */
 
/*
 * Affix and center
 */

@media (min-width: 768px) {
	/* Pull out the header and footer */
  .masthead {
    position: fixed;
    top: 0;
  }
  .mastfoot {
    position: fixed;
    bottom: 0;
  }
  /* Start the vertical centering */
  .site-wrapper-inner {
    vertical-align: middle;
  }
  /* Handle the widths */
  .masthead,
  .mastfoot,
  .cover-container  {
    width: 100%; /* Must be percentage or pixels for horizontal alignment */
  }
}

@media (min-width: 992px) {
  .masthead,
  .mastfoot,
  .cover-container {
    width: 100%;
  }
}

/* --------------------------------------------
	NINJA FORMS
-------------------------------------------- */
.ninja-forms-form-wrap label {
	font-weight: 400 !important;
}




/* --------------------------------------------
	PADDING / MARGINS
-------------------------------------------- */
.padding-bottom0 {
	padding-bottom: 0 !important;
}
.padding-bottom30 {
	padding-bottom: 30px !important;
}
.margin-bottom20 {
	margin-bottom: 20px!important;
}


/* --------------------------------------------
	HORIZONTAL RULE
-------------------------------------------- */
hr {
	margin-top: 20px;
	margin-bottom: 20px;
	border: 0;
	border-top: 1px solid #e8e8e8;
}
hr.lg {
	margin-top: 60px;
	margin-bottom: 60px;
	border: 0;
	border-top: 1px solid #e8e8e8;
}
hr.md {
	margin-top: 30px;
	margin-bottom: 30px;
	border: 0;
	border-top: 1px solid #e8e8e8;
}
hr.blank {
	border-top: 1px solid transparent;
}
hr.padding-top50 {
	padding-top: 50%;
}

/* --------------------------------------------
	FOOTER
-------------------------------------------- */
footer p {
	font-size: 11px;
}


/* --------------------------------------------
	CENTER TEXT VERTICALLY
-------------------------------------------- */
.display-table {
	display:table !important;
	table-layout: fixed!important;
}
.display-cell {
	display:table-cell !important;
	vertical-align:middle !important;
/* 	height: 490px; */
}

/* --------------------------------------------
	END - ADDON CSS
-------------------------------------------- */




/*==================================================
=            Bootstrap 3 Media Queries             =
==================================================*/

/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */ 
@media only screen and (min-width : 320px) {
    
}

/* Extra Small Devices, Phones */ 
@media only screen and (min-width : 480px) {

}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {

}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {

}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {

}


/*==========  Non-Mobile First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {

}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {

}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {

}

/* Extra Small Devices, Phones */ 
@media only screen and (max-width : 480px) {

}

/* Custom, iPhone Retina */ 
@media only screen and (max-width : 320px) {
    
}

