/*
Theme Name: Wayne Spilove 2017
Theme URI: https://waynespilove.org
Author: Active Data
Author URI: 
Description: 
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:
*/

/****************************************************
/ FONTS
/****************************************************/
@font-face {
    font-family: 'GothamMedium';
    src: url('fonts/gotham/gotham-medium-webfont.woff2') format('woff2'),
         url('fonts/gotham/gotham-medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

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


/****************************************************
/ GLOBALS
/****************************************************/
.blog-img {
    display: block;
    margin: 40px auto;
    box-sizing: border-box;
    clear: both;
    width: 100%;
    max-width: 700px;
}

* {
    margin: 0;

}

::selection {
    background: #1F1F1F;
    color: #FFFFFF;
    text-shadow: none;
}

.no-underline {text-decoration: none !important;}

html {
  	background-color: #F4F4F5 !important;
}

p {
  	font-family: 'Lora', serif;
    color: #444444;
    line-height: 1.8;
    font-size: 15px;
}

.alignleft {
  	float: left;
}

.container {
  	max-width: 1165px !important;
    margin: 0 auto;
}

.secondary-container {
    max-width: 1165px;
    margin: 0 auto;
  	background-color: #FFFFFF !important;
    border: 0.25px solid #e0e0e0;
    padding: 22px 7px;
}

.btn-primary {
    font-family: 'HoeflerText', serif;
    font-size: 14px;
    letter-spacing: .1em;
    padding: 10px 15px;
    margin-top: 15px;
    float: left;
    text-decoration: none !important;
    -webkit-transition: background-color .25s ease-in-out, border-color .25s ease-in-out;
    -moz-transition: background-color .25s ease-in-out, border-color .25s ease-in-out;
    -o-transition: background-color .25s ease-in-out, border-color .25s ease-in-out;
    transition: background-color .25s ease-in-out, border-color .25s ease-in-out;
}

.btn-primary:hover {
  	-webkit-transition: background-color .25s ease-in-out, border-color .25s ease-in-out;
    -moz-transition: background-color .25s ease-in-out, border-color .25s ease-in-out;
    -o-transition: background-color .25s ease-in-out, border-color .25s ease-in-out;
    transition: background-color .25s ease-in-out, border-color .25s ease-in-out;
}

.no-margin-top{
  	margin-top: 0px !important;
}


/****************************************************
/ HEADER
/****************************************************/
header {
  	background-color: #1F1F1F;
    height: 45px;
    width: 100%;
    top: 0;
    left: 0;  
}


/****************************************************
/ UPPER NAVIGATION
/****************************************************/
#upper-nav {
  	float: left;
    width: auto;
}

#menu-upper-nav {
  	list-style: none;
    font-family: 'GothamMedium', Helvetica, sans-serif !important;
    text-transform: uppercase;
    letter-spacing: .1em;
    padding-top: 12px;
    padding-left: 0px;    
}

#menu-upper-nav .menu-item {
  	position: relative;
    display: inline-block;
    font-size: 11px;
    margin: 0 21px;
}

#menu-item-21 { /* FAR LEFT LINK OF UPPER NAV (RITTENHOUSE MANAGEMENT CORPORATION) */ 
  	margin-left: 0px !important;
}

#menu-upper-nav .menu-item a {
		color: #FFFFFF;
  	text-decoration: none;
}


/****************************************************
/ UPPER NAVIGATION - SOCIAL MEDIA ICONS AREA
/****************************************************/
.upper-sm-icons {
    float: right;
  	height: 17px;
    width: 40px;
    margin-top: 12px;
}

.upper-sm-icons img {
  	height: 17px;
    width: auto;
}

.sm-icons-margin {
  	margin-right: 9px;
}


/****************************************************
/ TITLE & SUBTITLE
/****************************************************/

h1 {
    font-family: 'GothamMedium', serif;
    color: #1F1F1F !important;
    font-size: 24px;
    letter-spacing: -.02em;
    font-weight: 400;
    line-height: 1.5;
    margin-top: 0px;
}


#title h1 {
  	font-family: 'HoeflerText', serif;
    font-size: 60px;
    text-transform: uppercase;
    color: #1F1F1F;
    text-align: center;
    padding-top: 55px;
}

h2 {
    font-family: 'GothamMedium', serif;
    color: #1F1F1F !important;
    font-size: 20px;
    letter-spacing: -.02em;
    font-weight: 400;
    line-height: 1.5;
    margin-top: 0px;
      padding-top: 20px;
}

h3 {
    font-family: 'GothamMedium', serif;
    color: #1F1F1F !important;
    font-size: 16px;
    letter-spacing: -.02em;
    font-weight: 400;
    line-height: 1.5;
    margin-top: 0px;
        padding-top: 20px;

}

.page-container h3{
    font-family: 'GothamMedium', serif;
    color: #1F1F1F !important;
    font-size: 16px;
    letter-spacing: -.02em;
    font-weight: 400;
    line-height: 1.5;
    margin-top: 20px;
}

#title h2 {
  	font-family: 'HoeflerText', serif;
    font-size: 14px;
    text-transform: uppercase;
  	letter-spacing: .1em;
    color: #444444;
    text-align: center;
    padding-top: 11px;
    padding-bottom: 20px;
}


/****************************************************
/ MAIN NAVIGATION
/****************************************************/
#main-nav {
    max-width: 445px;
    margin: 0 auto;
}

#menu-main-nav {
  	list-style: none;
    font-family: 'GothamMedium', Helvetica, sans-serif;
    text-transform: uppercase;
    letter-spacing: .1em;
    padding-top: 12px;
    padding-left: 0px;
    padding-bottom: 42px;
}

#menu-main-nav .menu-item {
  	position: relative;
    display: inline-block;
    font-size: 14px;
    margin: 0 30px;
}

#menu-main-nav .menu-item a {
		color: #1F1F1F;
  	text-decoration: none;
}

#menu-main-nav .current-menu-item a {
    border-bottom: 2px solid #1F1F1F;
}
#menu-main-nav .current-menu-item.menu-item-has-children ul li a {border-bottom:none}


/****************************************************
/ HERO
/****************************************************/
#hero {
  	max-width: 1165px;
    height: auto;
    margin: 0 auto;
    padding-bottom: 22px;
    position: relative;
}

#hero img {
    width: 100%;
    height: auto;
}

#caption {
    background-color: #1F1F1F; 
  	position: absolute; 
  	z-index: 999; 
  	bottom: 0;
    margin: 0 0 59px 37px;
    opacity: 0.9;
    padding: 10px; 
      width: 56%;
}

#caption-text {
  	font-family: 'Lora', serif;
    color: #FFFFFF;
    opacity: 1 !important;
    font-size: 14px;
    z-index: 888;
}

/****************************************************
/ PHILANTROPHY, POLITICAL, SOCIAL COLUMNS 
/****************************************************/
.secondary-container img {
  	width: 100%;
  	height: auto;
}

.secondary-container h3 {
  	font-family: 'GothamMedium', sans-serif;
    color: #1F1F1F !important;
    font-size: 24px;
    letter-spacing: -.02em;
    font-weight: 400;
    line-height: 1.5;
    padding: 10px 0;
}

.secondary-container p {
  	margin: 0;
}

/****************************************************
/ BLOG POST & ABOUT ME "SECONDARY FOOTER" 
/****************************************************/
#blog-about {
    background-color: #FFFFFF;
  	width: 100%;
    padding-bottom: 60px;
    margin-top: 22px;
}

#blog-about h3 {
  	font-family: 'GothamMedium', serif;
    color: #1F1F1F !important;
    font-size: 24px;
    letter-spacing: -.02em;
    font-weight: 400;
    line-height: 1.5;
    padding-bottom: 10px;
}

#blog-about h4 {
  	font-family: 'GothamMedium', Helvetica, sans-serif;
    color: #1F1F1F;
    font-size: 14px;
  	text-transform: uppercase;
    letter-spacing: .1em;
    padding: 30px 0 20px 0;
}

#blog-about p {
  	margin: 0;
}

img.alignleft {
    margin: 6px 40px 6px 0px;
}

/****************************************************
/ FOOTER
/****************************************************/
footer {
    background-color: #1F1F1F;
    height: 70px;
    width: 100%;
}

#copyright {
  	float: left;
    font-family: 'GothamMedium', Helvetica, sans-serif;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 14px;
    color: #777677;
    padding-top: 26px;
}

.menu-footer-nav-container {
  	float: left;
    width: auto;
    margin-left: 11.8%;
}

#menu-footer-nav {
  	list-style: none;
    font-family: 'GothamMedium', Helvetica, sans-serif;
    text-transform: uppercase;
    letter-spacing: .1em;
    padding-top: 26px;
    padding-left: 0px;
}

#menu-footer-nav .menu-item {
  	position: relative;
    display: inline-block;
    font-size: 14px;
    margin: 0 30px;
}

#menu-item-21 { /* FAR LEFT LINK OF UPPER NAV (RITTENHOUSE MANAGEMENT CORPORATION) */ 
  	margin-left: 0px !important;
}

#menu-footer-nav .menu-item a {
		color: #FFFFFF;
  	text-decoration: none;
}

.lower-sm-icons {
    float: right;
  	height: 17px;
    width: 40px;
    margin-top: 26px;
}

.lower-sm-icons img {
  	height: 17px;
    width: auto;
}


/****************************************************
/ BIO
/****************************************************/
.page-container {
    max-width: 1165px;
    margin: 0 auto;
  	background-color: #FFFFFF !important;
    border: 0.25px solid #e0e0e0;
    padding: 30px 15px;
    margin-bottom: 42px;
}

.page-container p {
  	display: block;
    margin: 14px 0;
}

a {text-decoration: none;}

.page-container a {
    font-family: 'Lora', serif;
		color: #1F1F1F;
    font-weight: 600;
    text-decoration: underline;
}

.page-container a:hover, a:visited {
  	color: #000000;
    text-decoration: underline; 
}

.page-container ul li {
  	font-family: 'Lora', serif;
    color: #444444;
    line-height: 1.8;
    font-size: 15px;
    margin: 14px 0;
}

#bio-hero img {
  	width: 100%;
    height: auto;
}

.sidebar {
    border: 0.25px solid #e0e0e0;
    padding: 30px;
    float: left;
}

.sidebar-top-margin {
  	margin-top: 30px;
}

.page-container .sidebar h4 {
  	font-family: 'GothamMedium', Helvetica, sans-serif;
    color: #1F1F1F;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .1em;
}


/****************************************************
/ BLOG
/****************************************************/
.blog-featured-img img {
    height: auto;
  width: 100%;
    margin-bottom: 10px;
    margin-top: 30px;
}

.blog-featured-img {
    max-width: 400px;
}

.blog-post-border {
  	border-bottom: 0.25px solid #e0e0e0;
    margin-bottom: 45px;
    padding-bottom: 45px;
    float: left;
}

.page-container .blog-title {
  	margin-top: 0px;
}

.sidebar-bottom-margin {
  	margin-bottom: 30px;
}

.sidebar-image {
  	width: 100%;
    height: auto;
    margin-bottom: 20px;
}




/****************************************************
/ WIDGET CSS
/****************************************************/
.instagram-pics {
  	padding: 0px !important;
}

.instagram-pics li {
  	list-style-type: none;
    display: inline-block;
}

.sidebar .instagram-pics li {
    width: 50%;
}

.instagram-image {
  	width: 100%;
    height: auto;
}

.instagram-li {
  	margin-bottom: 0px !important;
}


/****************************************************
/ MOBILE MENU
/****************************************************/
.centered-navigation {
    background-color: #1F1F1F;
    min-height: 60px;
    z-index: 9999; 
    text-align: center;
    display: none;
}

.centered-navigation .centered-navigation-mobile-menu {
    color: #fff;
    line-height: 60px;
    margin: 0;
    text-decoration: none;
    display: none;
    font-family: 'GothamMedium', Helvetica, sans-serif;
    letter-spacing: .1em;
    font-size: 14px;
}  
     
.centered-navigation .centered-navigation-wrapper:after {
    content: "";
    display: table;
    clear: both; 
}

.centered-navigation ul.centered-navigation-menu {
    -webkit-transform-style: preserve-3d;
    clear: both;
    display: none;
    margin: 0 auto;
    overflow: visible;
    padding: 0;
    width: 100%;
    z-index: 99999;
    font-family: 'GothamMedium', Helvetica, sans-serif;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
}


.centered-navigation ul li.nav-link {
    background: rgb(50,50,50);
    display: block;
    line-height: 60px;
    overflow: hidden;
    text-align: center;
    width: 100%;
    z-index: 9999;
    border-bottom: 1px solid #666;
}
  
.centered-navigation ul li.nav-link a {
    color: #fff;
    display: block;
    outline: none;
    text-decoration: none; 
}

.centered-navigation ul li.nav-link a:focus, 
.centered-navigation ul li.nav-link a:hover {
    background-color: #1F1F1F;
}
  
.centered-navigation li.logo.nav-link {
    display: none;
    line-height: 0; 
}

/****************************************************
/ NEW Home Page
/****************************************************/
.page-container-home {
    max-width: 1165px;
    margin: 0 auto;
    padding: 0px;
    margin-bottom: 42px;
}





/*  
                       _ _                               _                         _       
                      | (_)                             (_)                       | |      
    _ __ ___   ___  __| |_  __ _    __ _ _   _  ___ _ __ _  ___  ___    ___  _ __ | |_   _ 
   | '_ ` _ \ / _ \/ _` | |/ _` |  / _` | | | |/ _ \ '__| |/ _ \/ __|  / _ \| '_ \| | | | |
   | | | | | |  __/ (_| | | (_| | | (_| | |_| |  __/ |  | |  __/\__ \ | (_) | | | | | |_| |
   |_| |_| |_|\___|\__,_|_|\__,_|  \__, |\__,_|\___|_|  |_|\___||___/  \___/|_| |_|_|\__, |
                                      | |                                             __/ |
                                      |_|                                            |___/ 
*/

/****************************************************
/ 1000
/****************************************************/
@media (max-width: 1200px) {
  .mobile-pad-lr {
    	padding: 0 15px;
  }
  
  #upper-header {
    	padding: 0 15px;
  }
}


/****************************************************
/ 1000
/****************************************************/
@media (max-width: 1000px) {
  .menu-footer-nav-container {
    	margin-left: 5%;
  }
}


/****************************************************
/ 768 -- TABLET
/****************************************************/
@media (max-width: 768px) {
  #upper-nav {
    	display: none;
  }
  
  .blog-featured-img {
    max-width: 100%;
}
  
  .upper-sm-icons {
    	display: none;
  }
  
  #main-nav {
    	display: none;
  }
  
  .centered-navigation {
    	display: block;
  }
  
  .centered-navigation .centered-navigation-mobile-menu {
    	display: block;
  }
  
  #title h1 {
    	font-size: 36px;
      padding-top: 45px
  }
  
  header {
  		height: 60px;
      display: none !important;
  }
  
  footer {
    	height: auto;
  }
  
  .menu-footer-nav-container {
    	margin: 0px;
      clear: both;
  }
  
  #menu-footer-nav .menu-item {
    	display: block;
    	margin: 10px 0 0 0;
  }
  
  .lower-sm-icons {
    	float: left;
      clear: both;
      margin-top: 36px;
      margin-bottom: 26px;
  }
  
  .lower-sm-icons img {
    	float: left;
  }
  
  .mobile-pad {
    	padding-bottom: 22px;
  }
  
  #upper-header {
    	padding: 0px;
  }
  
  #caption {
    	display: none;
  }
}


/****************************************************
/ 320 -- MOBILE
/****************************************************/
@media (max-width: 320px) {
  #title h1 {
    	font-size: 26px;
      padding-top: 40px;
  }
  
  #hero {
    	padding-top: 20px;	
  }
  
  .sidebar {
    border: 0.75px solid #e0e0e0;
	}
  
}

/* CUSTOM - SA */
#title h1,
#title h2{line-height:1}
#title h1,
#title h2{margin-bottom:3rem;}
#title h2{padding-bottom:0;padding-top:0;}
#main-nav{margin-left:auto;margin-right:auto;margin-bottom:0;max-width:75%;padding-bottom:0}
#menu-main-nav{display:block;line-height:45px;height:45px;text-align:center;padding-top:0;padding-bottom:0;width:100%}
#menu-main-nav li{display:inline-block;}
li.menu-item-has-children,
#menu-main-nav li a{text-align:left}
#menu-main-nav li a:hover{opacity:0.7}
li.menu-item-has-children{padding-bottom:2rem;position: relative;display: inline-block; z-index: 10;}
li.menu-item-has-children:hover ul.sub-menu{display:block;padding-left:0;}
li.menu-item-has-children ul.sub-menu {background:#F4F4F5; border:none;border-radius:0 0 10px 10px;box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);display: none;position: absolute;min-width: 300px;z-index: 10;}
li.menu-item-has-children:hover ul.sub-menu li{background:transparent;display:block;text-align:left;width:100%}
#menu-main-nav li.menu-item-has-children:hover ul.sub-menu li.menu-item,
#menu-main-nav li.menu-item-has-children ul.sub-menu li.menu-item,
#menu-main-nav .sub-menu li.menu-item,
.sub-menu li.menu-item{margin-left:0;}

.sub-menu li.menu-item a{background:#F4F4F5;display:block;min-width:100%;padding:.75rem;width:100%}
.sub-menu li.current-menu-item a{border-bottom:none;padding-bottom:0;}
.sub-menu li.menu-item a:hover{background:#1F1F1F;color:#fff!important;opacity:1.0!important}
.sub-menu li.menu-item:last-child a{border-radius:0 0 10px 10px}
#menu-main-nav .sub-menu li.menu-item{padding:0}
#hero{margin-top:3rem;z-index:1}











