/*
Theme Name: Twenty Sixteen Child
Theme URI: https://wordpress.org/themes/twentysixteen/
Template: twentysixteen
Author: Andrzej Rodziewicz - Wimbledonvisitor.com

Notes: Some font and other page attributes are also declared in Google Fonts Plugin and on individual pages using Add Custom CSS Plugin 
Raleway (Google Font) is declared using the Google Fonts Plugin
*/

    /* 1. Adjust space above site logo  2. Adjust space below header image */

#masthead {
padding-top: 2px !important;
padding-bottom: 0px !important;
}

    /* Adjust space between main navigation and header image */
 
.header-image {
	margin-top: 10px;
}

    /* Add border above and below primary navigation */

.main-navigation {
  border-top: 1px solid #e6f2ff;
  border-bottom: 1px solid #e6f2ff;
} 


/* Add silver border to header image for slightly rounded corners - commented out because fails mobile test
 
.header-image {
    border-radius: 5px;
    border: 0.5px solid #C0C0C0;
    padding: 0px;
    width: 1200px;
    height: 300px;
    } */

    /* Adjust space under Easy Logo (Site Logo) */

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

    /* Adjust font size of primary navigation */
.main-navigation a {
font-size: 12.5px !important;
    }

   /* Adjust font weight of primary navigation */
.main-navigation a {
   font-weight:600;
   }

/* Change primary navigation font colour */
.main-navigation .primary-menu > li a{
color: #8c8c8c;
    }

.main-navigation a {
text-align: center;
}

    /* Capitalise primary navigation === Commented out ===

.main-navigation a {
text-transform: uppercase;
    } */

    /* Change primary navigation font family == Commented out ==

.main-navigation a {
    font-family: verdana, arial, helvetica, sans-serif;
    } */

    /* Adjust spacing between site logo, navigation menu and header image. Centre main navigation menu - does not centre */

@media screen and (min-width: 44.375em) {
    .site-header-main .site-branding {
        margin: 2;
    }

    .site-header-menu {
        margin: 0; auto;
    }

    .primary-menu {
        width: auto;
    }
}

    /* Adjust colour around search submit magnifying glass icon */
.search-submit {
    background: #4da6ff;
   }

    /* Adjust colour in search field input area - Commented out

.search-field {
    background-color: #ffffff !important;
    } */
   
    /* Add rounded corners to outer boundary of page */

#page {
border-radius: 25px ;
    }

    /* Declare font family of body text - also declared in Google Fonts Plugin */

.entry-content { 
font-family: 'raleway', arial, helvetica,sans-serif;
    }

    /* Adjust text font colour and font family of page titles on blog page */

.entry-title a {
    color: #595959;
    font-family: raleway, arial, helvetica, sand-serif;  
}

    /* Adjust text font family of page titles on individual post pages */

.entry-title {
    font-family: raleway, arial, helvetica, sand-serif;
}
  
/* Adjust line height of body text */

#page {
    line-height: 20px;
    }

    /* Adjust line height of H1 tag */

#page h1 {
    line-height: 15px;
        }

    /* Adjust line height of H2 tag */

#page h2 {
    line-height: 15px;
        } 

    /* Adjust line height of widget text */

.widget {
    line-height: 18px;
    }

    /* Adjust text color in widgets */

.widget {
    color: #595959;
    }

    /* Remove border above widget and adjust top and bottom margin and padding */

.widget {
    border-top: none;
    margin-bottom: 0px ;
    padding-top: 0px ;
    }

    /* Change font of image captions */

.wp-caption-text {
    font-family: arial, helvetica, sans-serif;
    }

    /* Add drop shadows, background and styling to widgets */

.widget {
	background: #F8F8F8;
	background: rgba(248, 248, 248, 0.4);
	border: 0px single #F8F8F8;
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
	-o-border-radius: 7px;
	border-radius: 7px;
	padding: 2px;
	-webkit-box-shadow: 7px 7px 6px rgba(64, 31, 31, 0.5);
	-moz-box-shadow: 7px 7px 6px rgba(64, 31, 31, 0.5);
	box-shadow: 7px 7px 6px rgba(64, 31, 31, 0.5);
	list-style-type: none;
     } 

    /* Adjust spacing around widgets */

.widget-area .widget {
    margin-bottom: 1px;
    margin-bottom: 1rem;
    margin-top: 0px;
    margin-top: 0rem;
}

    /* Reduce the white space which follows the page area to reduce space above footer widget (.entry-content) */
 
.site-main {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 20px;
    }

    /* Hide horizontal grid lines in table - Careful = sitewide */

.entry-content table {
  border: none;
}
.entry-content table td {
  border: none;
}

    /* On blog placeholder page adjust post title font weight, colour, size, line height, margin above & below */

.entry-header .entry-title {
font-weight: bold;
color: #666666;
font-size: 14px;
font-size: 0.875rem;
line-height: 1.85714286;
margin-top: -2px;
margin-bottom: 20px;
   }

    /* Adjust space under individual posts on blog placeholder page and under separate posts */

.site-content article {
margin-bottom: 80px;
    }

    /* Change footer Previous Post, Next Post font color, size and font family on individual post page */

.post-navigation a {
    color: color: #595959;
    display: block;
    padding: 12px !important;
    margin-left: 20px;
    }
.post-navigation * {
    font-size: 18px !important;
    color: #595959 !important;
}

    /* Change footer Previous Post, Next Post border color in individual post page */

.post-navigation {
border-top: 2px solid #595959;
border-bottom: 2px solid #595959;

}
.post-navigation div + div {
border-top: 2px solid #595959 !important;
}

    /* Hide wide screen navigation from search results page to stop unwanted menu items showing */

.search #site-navigation {
display: none;
}

    /* Hide wide screen navigation on search results page to stop unwanted menu items showing */

.search #site-navigation {
    display: none;
    }

/* Hide mobile navigation button on search results page to stop unwanted menu items showing */

.search #menu-toggle {
    display: none;
    }

    /* Hide lower mobile navigation button on search results page to stop unwanted menu items showing - workaround - removes colophon */

.search #colophon {
    display: none;
    }

    /* Hide wide screen navigation on author archive page to stop unwanted menu items showing */

.author #site-navigation {
    display: none;
    }

/* Hide mobile navigation button on author archive page to stop unwanted menu items showing */

.author #menu-toggle {
    display: none;
    }

    /* Hide lower mobile navigation button on author archive page to stop unwanted menu items showing - workaround - removes colophon */

.author #colophon {
    display: none;
    }

   
/* Hide navigation on news archive page to stop unwanted menu items showing */

.category-news #site-navigation {
    display: none;
    }

/* Hide navigation on business archive page to stop unwanted menu items showing */

.category-business #site-navigation {
    display: none;
    }

    /* Remove widget sidebar styling on lower navigation (Footer Navigation Content Area 1) - Lower sidebar 1 */

#wysiwyg_widgets_widget-91 {
background: #FFFFFF;
	border: 0px double #FFFFFF;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	-o-border-radius: 0px;
	border-radius: 0px;
	padding: 0px;
	-webkit-box-shadow: 0px 0px 0px rgba(64, 31, 31, 0.5);
	-moz-box-shadow: 0px 0px 0px rgba(64, 31, 31, 0.5);
	box-shadow: 0px 0px 0px rgba(64, 31, 31, 0.5);
	list-style-type: none;
}

    /* Remove widget sidebar styling on Affiliate Disclosure (Footer Navigation Content Area 2) - Lower sidebar 2 */

#wysiwyg_widgets_widget-92 {
background: #FFFFFF;
	border: 0px double #FFFFFF;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	-o-border-radius: 0px;
	border-radius: 0px;
	padding: 0px;
	-webkit-box-shadow: 0px 0px 0px rgba(64, 31, 31, 0.5);
	-moz-box-shadow: 0px 0px 0px rgba(64, 31, 31, 0.5);
	box-shadow: 0px 0px 0px rgba(64, 31, 31, 0.5);
	list-style-type: none;
}

/* Make Content Bottom 1 Widget Area Full Width - This allows the Bottom Content 1 widget area take up the space that was reserved for Bottom Content 2 */

.content-bottom-widgets .widget-area:first-of-type {
    width: 100% !important;
}

/*
* JetPack Social Buttons
*/div.sharedaddy div.sd-block {
border-top: 0px solid rgba(0,0,0,0.13);
border-top-width: 0px;
border-top-style: solid;
border-top-color: rgba(0,0,0,0.13);
padding: 0;
}.single-format-quote div.sharedaddy div.sd-block {
display: none;
}div.sharedaddy .sd-content {
text-align: center;
margin-top: 10px;
margin-top: 1rem;
}

div.sharedaddy a.sd-button {
border: none !important;
box-shadow: none;
}

.sd-social-icon-text a.sd-button > span, a.sd-button > span {
opacity: 1;
padding: 1px 10px;
padding: .4rem 1rem;
}
li.share-linkedin a.sd-button > span,
li.share-email a.sd-button > span,
li.share-facebook a.sd-button > span,
li.share-google-plus-1 a.sd-button > span,
li.share-tumblr a.sd-button > span,
li.share-pinterest a.sd-button > span,
li.share-twitter a.sd-button > span,
li.share-pocket a.sd-button > span {
border: none;
color: #fff;
font-family: ‘verdana’, arial;
font-size: 11px;
font-weight: 300;
letter-spacing: 0;
text-transform: uppercase;
}
li.share-email a.sd-button > span {
background: #000;
}

li.share-email a.sd-button:hover > span {
background: #999999;
}
li.share-linkedin a.sd-button > span {
background: #007bb6;
}
li.share-linkedin a.sd-button:hover > span {
background: #003b57;
}
li.share-facebook a.sd-button > span {
background: #4965a0;
}

li.share-facebook a.sd-button:hover > span {
background: #1e73be;
}

li.share-twitter a.sd-button > span {
background: #55ACEE;
}

li.share-twitter a.sd-button:hover > span {
background: #1e73be;
}

li.share-google-plus-1 a.sd-button > span {
background: #dd4b39;
}

li.share-google-plus-1 a.sd-button:hover > span {
background: #a30000;
} 

li.share-tumblr a.sd-button > span {
background: #35465D;
}

li.share-tumblr a.sd-button:hover > span {
background: #1e73be;
}

li.share-pocket a.sd-button > span {
background: #F15367;
}

li.share-pocket a.sd-button:hover > span {
background: #a21b2e;
}

li.share-pinterest a.sd-button > span {
background: #D5222A;
}

li.share-pinterest a.sd-button:hover > span {
background: #1e73be;
}

.sd-button span.share-count {
display: none;
}

div.sharedaddy h3 {
font-size: 12px !important;
font-family: ‘Helvetica Neue’, Helvetica, Arial, sans-serif;
text-transform: none;
letter-spacing: 0;
line-height: 1;
font-weight: bold;
}

.social-text .sd-content ul li a.sd-button:active,
.sd-social-text .sd-content ul li a.sd-button, .sd-content ul li a.sd-button,{
box-shadow: none;
background: none !important;
}
.sd-social-text .sd-content ul li a.sd-button, .sd-content ul li a.sd-button, .sd-content ul li a.sd-button:hover, .sd-social-text .sd-content ul li a.sd-button:hover{
background: none;
box-shadow: none;
border-radius: 0;
padding: 0;
}

    /* Overrule text colour (Share this page) of Jetpack Social Share Buttons - Sharedaddy */

.sd-title {
    color: #666666 !important; 
    }