/*
Theme Name: Twenty-Eleven-Reboot
Template: twentyeleven
Theme URI: https://wordpress.org/themes/twentyeleven/
Author: the WordPress team
Author URI: https://wordpress.org/
Description: The 2011 theme for WordPress is sophisticated, lightweight, and adaptable. Make it yours with a custom menu, header image, and background -- then go further with available theme options for light or dark color scheme, custom link colors, and three layout choices. Twenty Eleven comes equipped with a Showcase page template that transforms your front page into a showcase to show off your best content, widget support galore (sidebar, three footer areas, and a Showcase page widget area), and a custom "Ephemera" widget to display your Aside, Link, Quote, or Status posts. Included are styles for print and for the admin editor, support for featured images (as custom header images on posts and pages and as large images on featured "sticky" posts), and special styles for six different post formats.
Version: 2.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, one-column, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
Text Domain: twentyeleven
*/

/*COLORS

	color: #6e3e19; brown
	color: #1F3D5C; blue
    color: #1982d1; bright blue for links
    color: #373737; body font color (this is the default color set by theme)
    experimental:
    color: #daa520; goldenrod rgb(218, 165, 32)
    color: #b8860b; darkgoldenrod rgb(184, 134, 11)
   color: #c38419; gold used in telegraph premium lettering rgb(195, 132, 25)
   nice smokey blue for future possible use: #56789f
  color: #b3cce6 background blue
color: #56789f nice smokey blue for possible background in the future

*/

/****************
SITE TITLE & LOGO
****************/

#site-title {
	padding: 1em 0 0;
}

#site-title a {
    background: url('images/logo.jpg');
    background-repeat: no-repeat;
    display: block;
    height: 65px;
    line-height: 160px;
	width: 263px;
    margin-bottom: 30px;
	font-family: "Austin News Text Roman",Georgia,Times,serif;
	font-size: 2rem;
	text-transform: uppercase;
	color: #1F3D5C;
}

#site-description {
    margin: auto;
	font-family: "Austin News Text Roman",Georgia,Times,serif;
	font-size: 1.20rem;
    color: darkgoldenrod !important;
    background: white !important;
	font-style: italic;
    text-align: left;
}

/*MEDIA QUERY FOR SITE TITLE AND LOGO AND BORDER ON MOBILE DEVICES*/

@media screen and (max-width:480px) {
	#site-title a {
		font-size: 1rem;
	}
	#site-description {
		font-size: 1rem;
	}
	body {
		padding: 0;
	}
	
	
}

/*STYLE BREADCRUMBS*/

p#breadcrumbs {
	margin-left: 5%;
}


/*GENERAL STYLING*/
/*
body {
  background: #56789f;
}
*/
.entry-content p {
  font-size: 1rem;
  font-family: "Austin News Text Roman",Georgia,Times,serif;
  line-height: 1.5;
}

blockquote {
	padding-top: 2%;
}

blockquote p {
  font-size: 0.65em;
  /*border-top: 2px solid #1F3D5C; */
  /*border-bottom: 2px solid #1F3D5C; */
  padding-top: 2%;
  padding-bottom: 2%;
 
}

@media screen and (min-width: 480px) {
    blockquote.pull.alignleft {
    width: auto;
	margin-left: -5%;
	color: #1F3D5C;
    }
}

blockquote.pull {
  line-height: 1.15em;
}

.blue {
	color: #1F3D5C;
}

.alignright {
	text-align: right;
}

/* Optional images with no borders */
 .customImage img {
 padding: 0px;
 border: none;
 -moz-border-radius: 0px;
 -khtml-border-radius: 0px;
 -webkit-border-radius: 0px;
 border-radius: 0px;
} 

/*SIDEBAR*/

/*Style the sidebar menus*/
.widget ul li {
    color: darkgoldenrod;
	text-transform: uppercase;
	/*font: 13px "Helvetica Neue", Helvetica, Arial, sans-serif;*/
	line-height: 1.8em;
	font-weight: bold;
}

/******************************
 SEARCH BAR - REMOVE FROM MENU AND INSERT AS WIDGET INTO SIDEBAR 
*******************************/

/*to remove search bar from nav bar*/
#branding #searchform {
	display: none;
}

/*to ensure menu stretches all the way across the nav bar */

#branding .only-search + #access div {
  padding-right: 0;
}
/*to style search bar in sidebar widget*/

.widget_search #s {
	width: 77%;
	background: goldenrod;
	margin-top: 15%;
	margin-bottom: 10%;
	color: #1F3D5C;
}


/*LINKS*/

div.entry-content a {
  /*color: #1982d1;*/
  text-decoration: underline !important;
}

div.entry-content a:hover,
.widget a:hover {
  color: #b3cce6 !important;
}


/*NAVIGATION BAR*/

#access {
	margin: 0 auto;
}

#access {
 background: #1F3D5C; 
 }

#access ul {
	vertical-align: middle !important;
}

#access a {
    color: goldenrod;
    font-size: .85rem;
}


/***MEDIA QUERIES IN NAV BAR***/

/*media query for screens bigger than 660px open*/
     /*to center the nav bar*/
@media screen and (min-width:660px) {
       #access {
	   text-align: center;
     }

     /*to make submenus shift left*/
       ul.sub-menu {
         right: 0px !important;
         left: auto !important;
     }
  
     #access ul {
	     display: inline-block;
	     margin: 0;
	     padding: 0;
     }
}
/*media query for bigger screens closed*/


/*media query for mobile devices open*/

/*@media screen and (max-width:480px) {
     /*to line up menu items on mobile devices
       #access ul {
       max-width: 250px;
     }
    /*to reduce space btwn menu items
      #access a {
	    line-height: 2em;
    }
}*/
/*media query for mobile devices closed*/


/* #access div {
margin: 0 auto;
} */


/*MAX MEGA*/

/*To disable pointer on menu items that are non clickable - you also need to enable the disable link option in the menu item setting - see menus */
.mega-disable-link > a.mega-menu-link {
  cursor: default !important;
}

/*************************
MENU
*************************/
/*.genericon {
	font-size: 25px !important;
    text-decoration: none !important;
}*/


/*THIS IS THE FOOTER - I AM TRYING TO REMOVE THE SPACING*/
#supplementary {
  border-top: none;
  padding: 0 7.6%;
  background: white;
  margin-bottom: 0;
}


/*STYLE THE HEADINGS*/

.entry-title {
    color: #1F3D5C;
    font-size: 1.25rem;
    font-weight: bold;
    font-family: "Austin News Text Roman",Georgia,Times,serif;
    text-transform: uppercase;
    letter-spacing: 1px;
	text-align: center;
	padding-left: 0;
	padding-right: 0;
}

h2 {
 background-color: #1F3D5C !important;
 color: goldenrod !important;
 text-align: center;
 padding: 5px;
 text-transform: uppercase;
 font-weight: 800;
}

h3.widget-title {
	color: white;
	text-transform: uppercase;
	font-size: 1rem;
	line-height: inherit;
	font-weight: 800;
}

.entry-content h3,
.comment-content h3 {
  color: darkgoldenrod !important; 
  background-color: inherit !important;
  font-size: 100%;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.6em !important;
  padding: 0;
  margin-bottom: 5px;
}

h4 {
  font-size: 1rem;
  font-weight: 600 !important;
  color: white;
  background: goldenrod;
  text-transform: capitalize;
  margin-bottom: 5px;
  padding: 2px 5px;
}

h5 {
  font-size: .9rem;
  font-weight: 800 !important;
  color: #1F3D5C;
  text-transform: capitalize;
  margin-bottom: 5px;
}


/********************************
CENSUS BUTTONS - mobile device by default
*********************************/

#censusbuttons {
  margin: 0;
  padding: 0;
  list-style: none;
  margin-bottom: 30px;

}

#censusbuttons li {
  width: 90%;
  margin: 2.5% 0;
  height: 100px !important;
  display: inline-block;
  padding: 5%;
  box-shadow: 0 15px 20px -12px rgba(0,0,0, .8);
  border-radius: 5px; /*ROUND THE BORDERS OF THE GALLERY*/
}

.englandflag {
  background: radial-gradient(circle, white,transparent),
  #1F3D5C url('//www.familyhistory.co.uk/wp-content/uploads/2017/10/England_flag-299x150.png') no-repeat center;
  background-size: cover;
  }
.walesflag {
  background: radial-gradient(circle, white,transparent),
  #1F3D5C url('//www.familyhistory.co.uk/wp-content/uploads/2017/10/Flag_of_Wales_2.svg_.png') no-repeat center;
  background-size: cover;
  }
.channelislandsflag {
  background: radial-gradient(circle, white,transparent),
  #1F3D5C url('//www.familyhistory.co.uk/wp-content/uploads/2017/10/Guernsey-and-Jersey-combined-256x154.jpg') no-repeat center;
  background-size: cover;
  }
.isleofmanflag {
  background: radial-gradient(circle, white,transparent),
  #1F3D5C url('//www.familyhistory.co.uk/wp-content/uploads/2017/10/isle-of-man-26904_640-214X150.png') no-repeat center;
  background-size: cover;
  }
.scotlandflag {
  background: radial-gradient(circle, white,transparent),
  #1F3D5C url('//www.familyhistory.co.uk/wp-content/uploads/2017/10/Flag_of_Scotland.svg_.png') no-repeat center;
  background-size: cover;
  }

#censusbuttons li a {
  /*text-decoration: none !important;*/
  box-shadow: none;
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  text-shadow: 0 1px 1px rgba(0,0,0, .8);
}

.buttontext {
  margin-bottom: 0;
}

.buttontextreduce {
  font-size: .75rem;
}

@media screen and (min-width: 480px) {
  #censusbuttons li {
  		width: 30%;
          margin: 2.5%;
		float: left;
	}
}

@media screen and (min-width: 660px) {
	#censusbuttons li { 
  		width: 20%;
       margin: 1.666%;
	}

}



/*SPACING ISSUES*/

/*Create space between lists*/
.paddedlist li {
padding-bottom: 7px;
}

.thirdofwidth {
   width: 50%;
}

/*CLEARING*/

/*standard clearfix code*/

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

/*to clear the area below floated links in Census pages - consider changing to clearfix code - see above*/
.clear {
	clear: both;
	padding-top: 20px;
}


/***********************
BULLET POINTS
************************/

/*OLD BULLET STYLE*******
 
.liststyle {
	color: #b8860b !important;
}


.liststyle span {
    color: #373737;
    font-size: 1rem;
    font-family: "Austin News Text Roman",Georgia,Times,serif;
    line-height: 1.5;
}
*/

/*NEW BULLET STYLE*/

ul {list-style: none;}

li::before {
    content: " \25AA ";
    color: #b8860b;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

li {
    color: #373737;
    font-size: 1rem;
    font-family: "Austin News Text Roman",Georgia,Times,serif;
    line-height: 1.5;
}

/****************************
SOURCES i.e. REFERENCES AT BASE OF PAGES - REDUCE FONT SIZE
*****************************/

.reducedfont p {
	font-size: 75%;
}


/***************************
BORDERS
***************************/

.border-boxes {
	border: 1px solid #1F3D5C;
	padding: 15px;
	color: #1F3D5C;
	font-family: inherit;
	font-size: inherit;
	background: oldlace;
	margin-bottom: 5%;
	box-shadow: 0 15px 20px -12px rgba(0,0,0, .8);
}

@media screen and (min-width: 660px) {
	.reduced-width-border-boxes { 
  	width: 30%;
	display: inline-block;
    /**margin: 1.666%; **/
	text-align: right;
	padding-right: 0;
	}
}


/*PICTURES ON NATIONAL REG PAGE*/

@media screen and (min-width:480px) and (max-width: 660px) {
     /*to stack pictures on screens larger than a mobile*/
	.regcardwidth {
	width: 30%;
	float: left;
	display: inline-block;
	}
}


/*REMOVE BACKGROUND FROM GOOGLE ADS*/
ins.adsbygoogle { background: transparent !important; }


/***************************
ABBREVIATION TABLES
***************************/


.table-general {
	table-layout: auto;
	width: 100%;
}


.table-general td,
.table-general th {
	padding: 5px;
	border: 1px solid #ddd;
	vertical-align: middle;
}

.table-general tfoot tr td,
.table-general thead tr th {
	font-style: italic;
	background: #DBEBFC;
	line-height: inherit;
}

.table-general tfoot ul {
	margin-left: 1em;
}

.table-caption {
	background: #1F3D5C;
	color: goldenrod;
	text-align: center;
	font-size: 1rem;
	font-weight: bold;
}

@media screen and (max-width:660px) {
	.table-abbrev th:nth-child(2)::after {	
		content: "abbr.";
	}
}

@media screen and (min-width:661px) {
	.table-abbrev th:nth-child(2)::after {	
		content: "abbreviations";
	}
}

/***************************
 POPULATION TABLES
**************************/
.population td:nth-child(n+2) {
    text-align: right;
}


/**********************
 GENERAL CLASSES TO UNDERLINE TEXT
**********************/
.single-ul {
	border-bottom: solid 1px; 
}

.double-ul {
	border-bottom: double;
}

.insetbox {
	width: 50%;
	background: darkgoldenrod;
	color: white;
}

/*STYLING TO MIMIC TAGS - USE ON 'RELATED PAGES' OR 'FURTHER READING' OR 'WHERE NEXT' ETC.*/

.tagmimic a {
	color: white !important;
	background: darkgoldenrod;
	padding: 1%;
	display: inline-block;
	/*margin-right: 1%;*/
	margin-bottom: 2%;
	border-radius: 5%;
	width: 45%;
}

.tagmimic {
	text-align: center;	
}

.tagmimic a:nth-child(odd) {
    margin-right: 1%;
}

details {
    border: 1px solid #aaa;
    border-radius: 4px;
    padding: .5em .5em 0;
	margin-bottom: .5em;
}

summary {
    /*font-weight: bold;*/
    margin: -.5em -.5em 0;
    padding: .5em;
	cursor: pointer;
    font-family: "Austin News Text Roman",Georgia,Times,serif;
    font-size: 1rem;
}

details[open] {
    padding: .5em;
}

details[open] summary {
    border-bottom: 1px solid #aaa;

}