/************************/
/*** Guild Custom CSS ***/
/************************/

/* note that this css file can't override css for admin screens,
 * a function for this is in the plug-in guild-admin.php 
 */

/************************************************************/
/* items subject to change when moving between dev and prod */
/************************************************************/

/* suppress individual page titles --  don't forget the commas! */

.post-12    .entry-title,   /* home                                                     */
.post-4551  .entry-title,   /* login                                                    */
.post-4552  .entry-title,   /* logout                                                   */
.post-4554  .entry-title,   /* lostpassword                                             */
.post-17298 .entry-title,   /* manorial & older records seminar 2015                    */
.post-17514 .entry-title,   /* cornucopia seminar 2015                                  */
.post-17531 .entry-title,   /* hatches matches & despatches seminar 2015                */
.post-17545 .entry-title,   /* medical and healthcare records seminar 2015              */
.post-17607 .entry-title,   /* one-name studies: the next stage seminar                 */
.post-17707 .entry-title,   /* medieval and early modern records seminar                */
.post-17718 .entry-title,   /* dna seminar                                              */
.post-17731 .entry-title,   /* why be a society in the 21st century? seminar            */
.post-17748 .entry-title,   /* maritime records seminar                                 */
.post-17778 .entry-title,   /* army records seminar                                     */
.post-17822 .entry-title,   /* railway records seminar                                  */
.post-17824 .entry-title,   /* art of one-name studies – alwalton                       */
.post-17855 .entry-title,   /* mining seminar                                           */
.post-17892 .entry-title,   /* rogues seminar                                           */
.post-17894 .entry-title,   /* born abroad seminar                                      */
.post-17908 .entry-title,   /* epsom computer seminar                                   */
.post-17994 .entry-title,   /* maps & mapping seminar                                   */
.post-18018 .entry-title,   /* dna developments seminar                                 */
.post-18030 .entry-title,   /* one-name sources at the national archives                */
.post-18047 .entry-title,   /* art of one-Name studies seminar - new members - amersham */
.post-18060 .entry-title,   /* non-uk sources seminar                                   */
.post-18075 .entry-title,   /* poster seminar                                           */
.post-18087 .entry-title,   /* halsted trust seminar                                    */
.post-18091 .entry-title,   /* pre-19th century sources seminar                         */
.post-18103 .entry-title,   /* data capture for one-name studies                        */
.post-18107 .entry-title,   /* midlands seminar                                         */
.post-18109 .entry-title,   /* census online seminar                                    */
.post-18116 .entry-title,   /* service records seminar                                  */
.post-18120 .entry-title,   /* dna seminar                                              */
.post-18139 .entry-title,   /* publishing your one-name study seminar                   */
.post-18141 .entry-title,   /* organising records on a computer seminar                 */
.post-18204 .entry-title,   /* art of one-name studies seminar - amersham               */
.post-18206 .entry-title,   /* one-name studies: the next generation seminar            */
.post-18470 .entry-title,   /* the 20th century is now history seminar                  */
.post-20438 .entry-title,   /* terms and conditions (of MWP)                            */
.post-20694 .entry-title,   /* autosomal dna testing                                    */
.post-22245 .entry-title,   /* creating and developing your website seminar             */
.post-22545 .entry-title,   /* dna seminar 2016                                         */
.post-23808 .entry-title,   /* care and consideration seminar                           */
.post-28368 .entry-title,   /* name of the game seminar                                 */
.post-24148 .entry-title,   /* surnames a-z                                             */
.post-24250 .entry-title,   /* change members' website record part 1                    */
.post-24254 .entry-title,   /* change members’ website record part 2                    */
.post-25041 .entry-title,   /* journal search results                                   */
.post-25392 .entry-title,   /* dna basics                                               */
.post-25406 .entry-title,   /* dna and the media                                        */
.post-25419 .entry-title,   /* recruiting basics                                        */
.post-25835 .entry-title,   /* matches with other surnames                              */
.post-27368 .entry-title,   /* the surnames handbook (for members)                      */
.post-27388 .entry-title,   /* seven pillars of wisdom (for members)                    */
.post-27406 .entry-title,   /* the surnames handbook                                    */
.post-27408 .entry-title,   /* seven pillars of wisdom                                  */
.post-27533 .entry-title    /* surnames (article library)                               */
{  
	display:none;
}

/* suppress 'default widget' when there are no widgets assigned to a sidebar */

#text-150 {
    display:none;
}

/* must specify widget ids to pinpoint some widgets */

/* must specify widget ids to pinpoint some widgets, ids may change on prod */

#text-143, #text-145, #text-163 { 
    width:48%;
	min-height:250px;       
	clear:left;          
	float:left;
}

#text-144, #text-146, #text-164 { 
    width:48%;
	min-height:250px; 
	float:right;
}

#text-161 {   
    margin-bottom:15px;
}

#text-161 .textwidget {    
    background-color:#fff;
    padding-bottom:0;
}

@media only screen and (min-width:1600px) {
    #text-143,
    #text-144,
    #text-145,
    #text-146,
    #text-163,
    #text-164 {
        height:100% !important;
    }
}

@media only screen and (max-width:650px) { 
	#text-143,#text-144,#text-145,#text-146,#text-163,#text-164 {
		width:100% !important;
		height:auto;
		min-height:auto;
		float:left;
		margin:0 0 10px 0 !important;
		font-size:95%;
	}

}

/* specific Gravity Forms, form ids may differ between dev and prod */

/* forum notifications form */

body #gform_wrapper_13 .gform_body .gform_fields .gfield .gfield_label {
font-size:20px;
padding-top:0px;
margin-top:0px;
}

/* add email alias form */

#field_26_7, #field_26_8, #field_26_10, #field_26_11, 
#field_26_13, #field_26_14, #field_26_16, #field_26_17 {
margin-top:0;
line-height:0;
}

input#input_26_4 {
padding-bottom:16px;
}

/* change study details form */

input#input_27_6, input#input_27_22, input#input_27_38 {
font-size:110%;
font-style:italic;
font-weight:bold;
}

select#input_27_15, select#input_27_31, select#input_27_47 {
width:50%;
}

/* change bequest details form */

input#input_28_6, input#input_28_22, input#input_28_38 {
font-size:110%;
font-style:italic;
font-weight:bold;
}

/* surname interest forms */

body .gform_wrapper .gform_body .gform_fields  #field_43_4.gfield .gfield_description {
margin-top:38px;
}

body .gform_wrapper .gform_body .gform_fields  #field_44_3.gfield .gfield_label {
margin-top:10px;
}

/* journal index form */ 

input#input_52_1, input#input_52_2, input#input_52_3 {
width:50%;
}

body #gform_wrapper_52 .gform_body .gform_fields .gfield_list_cell.gfield_list_6_cell1 {
    width: 5%;
}

/* membership forms */ 

li.gchoice_95_16_0,
li.gchoice_96_16_0 {
    margin-top:18px !important;
}

#input_118_7 { 
    border:0;
    padding-left:0;
}

/* global marriages forms */        

#field_147_7 div.instruction,
#field_147_9 div.instruction,
#field_147_47 div.instruction,
#field_147_48 div.instruction,
#field_147_53 div.instruction {  
    display:none;
}

#field_148_7 div.instruction,
#field_148_9 div.instruction,
#field_148_47 div.instruction,
#field_148_48 div.instruction,
#field_148_53 div.instruction {  
    display:none;
}


/*********************/
/* Site-wide styling */
/*********************/

.site-container {
	max-width:90%;
	padding:0;
	background-color:#ffffff;
}

.sidebar-primary {
	width:23%;
}

main.content,
div.content {
    width:75%;
}

.breadcrumb, 
.footer-widgets,
.site-footer,
.site-header .wrap,
.site-inner {
	background-image:none;
}

#wpadminbar {
    background-color:#646464 !important;
    font-style:normal;
}

p {
    margin:0 0 10px 0;
}

.site-footer p {
    margin:10px;
}

blockquote {
    color:#00338d;
}

.underline { 
	text-decoration:underline;
}

.nounderline {
    text-decoration:none;
}

.bold {
	font-weight:bold;
}

.center {
	text-align:center;
}

.justify {
	text-align:justify;
}

.font10 {
    font-size:10px;
}

.div-border {
	border:1px solid #00338d;
    border-radius:8px;
    padding:10px;
}

.nodisplay { 
    display:none;
}

.margintop0 { 
	margin-top:0 !important;
}

.margintop20 { 
	margin-top:20px;
}

.marginbot0 {  
	margin-bottom:0 !important;
}

.padtop10 {
    padding-top:10px !important;
}

h1 {
	font-size:32px;
}

h2 {
	font-size:28px;
}

h3 {
	font-size:24px;
}

h4 {
	font-size:21px;
}

h5 {
    font-size:18px;
}

h1,h2,h3,h4,h5,h6 { 
	font-family:inherit;
	font-weight:inherit;
	color:inherit;
} 

hr {
    margin:auto auto 20px auto;
}

small {
	color:#00338d;
}

body {
	font-family:'Trebuchet MS',Helvetica,sans-serif;
	font-size:16px;
	color:#00338d;
	line-height:1.6em;
	background-color:#f5f5f5;
}

input,select,textarea {
	width:auto;
	color:#000;
	box-shadow:none;
	padding:5px;
	line-height:1.5em;
}

select:focus {
    outline:#ddd;
}

figcaption {
	text-align:center;
	font-style:italic;
	padding:6px 3px 2px;
	line-height:16px;
}

img.attachment-post-image {
    max-width:150px;
    margin-right:20px;
    float:left;
}

hr {
	border:0.5px solid #ddd;
}

.entry-content .wp-caption-text {
    font-weight:normal;
}


/* links */

a {
	color:#00338d;
	text-decoration:underline;
}

a:active,a:focus { /* suppresses a dashed border that sometimes appears around links */
	outline: none;
}

a:hover {
	color:#6684ba;
}

a.post-edit-link {
	display:none;
}

a.post-edit-link {  /* will be turned on on custom post type pages */
    color:#FFF;
    background-color:#B2945F;
    border-radius:5px;
    padding:5px 10px;
	float:right;
}

a.post-edit-link:hover {
	background-color:#c1a97d;
}


/* buttons */

button,
input[type="button"], 
input[type="reset"], 
input[type="submit"],
a.button-small,
.button, .entry-content .button {
    color: #ffffff;
	background:#b2945f;
	border-radius:5px;
	text-transform:none;
	padding:10px 24px;
	margin:2px 0;
	font-weight:bold;
}

button:hover,
input:hover[type="button"], 
input:hover[type="reset"],
input:hover[type="submit"],
.button:hover,
.entry-content .button:hover {
	background:#cdb984;
}

button:focus {
	outline:none;
}

input.button-small,
a.button-small {    
	padding:5px 10px;
	font-weight:normal;
	text-decoration:none;
}

.surnames-az-button:hover { /* surnames a-z page */
	color:#00338d;
	background:#fff;
}

/* tinyMCE editor */

.wp-media-buttons .button,
.wp-core-ui .button {
	color:#555;
	background:#f5f5f5;
	border:1px solid #ccc;
	padding:0 7px 0 0;
	margin-bottom:0 !important;
	box-shadow: 0 1px 0 #ccc;
    font-weight:normal !important;
}

.wp-media-buttons .button:hover,
.wp-core-ui .button:hover {
	color:#555;
	background:#f5f5f5;
	border:1px solid #ccc;
}

.quicktags-toolbar .button-small {
    padding:0 8px 1px !important;
}

.wp-switch-editor {
	color:#555 !important;
	background:#ddd !important;
	padding-bottom:6px !important;
	border-bottom:none !important;
	border-radius:0 !important;
	font-weight:normal !important;
}

.wp-switch-editor:hover {
	color:#555;
	background:#ddd;
	border-color:none;
	box-shadow:none;
}

.html-active .switch-html, .tmce-active .switch-tmce {
 	background: #f5f5f5 !important;
    border-bottom-color: #f5f5f5;
} 


/* toggles */

.accord-hide {
	display:none !important;
}

.accord-show {
	display:block !important;
}

.accord-button {
    color:#00338d;
	background:#f5f5f5;
	width: 100%;
	font-weight:bold;
	text-align:left;
	border:1px solid #c4c4c4;
}

.accord-button:hover {
    color:#00338d;
	background:#ddd;
}


/* tables */

table {
	margin-bottom:10px;
	line-height:1.6em;
}

table th {
	text-transform:none;
	padding:5px;
}

table td {
	padding:5px;
}

table.table-border-only {
    border:1px solid #00338d;
}

table.table-border-only tbody,
table.table-border-only th,
table.table-border-only tr,
table.table-border-only td {
	border:0;
}

table.table-cell-borders {
    border:1px solid #00338d;
}

table.table-cell-borders th,
table.table-cell-borders tr,
table.table-cell-borders td {
	border:1px solid #00338d;
}

table.table-no-borders {
	border:0;
}

table.table-no-borders tbody,
table.table-no-borders th,
table.table-no-borders tr,
table.table-no-borders td {
	border:0;
}

/* register search results table */

table.memreg-table {                                
    border:2px solid #00338d;
    border-collapse:collapse;
    line-height:1.2em;
    font-size:14px;
    text-align:center;
    margin:auto;
    width:100%;
}

table.memreg-table th, table.memreg-table td {      
    padding:8px;
    border:1px solid #00338d;
}

table.memreg-table p, table.memreg-table .p {       
    margin-bottom:1.0em;
}

/* historic roll of postholders table */

table.rollpost {                                
    font-size:14px;
    line-height:1.0em;
    border:1px solid #00338d;
    border-collapse:inherit;
    border-radius:5px;
}

table.rollpost tbody,                           
table.rollpost th,
table.rollpost tr,
table.rollpost td {
	border:0;
}

/* member numbers table */

div.memno {                 /* KB 6 Jun 2020 */
    float:left;
    margin-top:20px;
    margin-right:30px;
    width:250px;
}

table.memno {                           
    padding:5px;
    border:1px solid #00338d;
    border-collapse:inherit;
    border-radius:5px;
    min-height:620px;
}

table.memno th,                     
table.memno td {
    text-align:center;
}

table.memnopad td {     /* KB 6 Jun 2020 */
    text-align:center;
    padding-right:5px;
}

/* marriage challenge table */

table tr.c {background-color:#e7e7e7;}  
table tr.p {background-color:#ccffcc;}
table tr.r {background-color:#d8a6a6;}
table tr.s {background-color:#cccc99;}

/* publications competition table */

.pubtable tr.first  {background-color:#fdd017;font-weight:bold;}    
.pubtable tr.second {background-color:#dedede;font-weight:bold;}
.pubtable tr.third  {background-color:#d28c47;font-weight:bold;}
.pubtable tr.hcomm  {background-color:#ffe4e1;font-weight:bold;}

/* images in event photos tables */

img.album {
    padding:5px;
    border:3px double #00338d;
}

/* library catalogue table */

table.lib-table {
    border:1px solid #00338d;
    border-collapse:collapse;
    line-height:1.4em;
    font-size:14px;
}

table.lib-table td {
    width:20%; margin:10px;
    vertical-align:top; 
    padding-top:5px; 
    padding-bottom:5px;
    text-align:center; 
    border-left:1px solid #00338d;
    border-right:1px solid #00338d;
}

table.lib-table td.study { 
    border-top:1px solid #00338d; 
    border-bottom:0px; 
    font-weight:bold;
    color:#ffffff;
    background-color: #00338d;
}

table.lib-table td.image {
    border-top:0px; 
    border-bottom:0px; 
    font-weight:bold;
}

table.lib-table td.title { 
    border-top:0px;
    border-bottom:0px; 
    vertical-align:middle;
}

table.lib-table td.author { 
    border-bottom:1px solid #00338d; 
    border-top:0px;
}

table.lib-table span.note { 
    padding-top:0px; 
    margin-top:0px; 
    font-weight:normal; 
    font-size:smaller;
    background-color:#ffffff;
    border:0;
}

table.lib-table img.th { 
    margin-top:10px; 
    margin-bottom:0px; 
    border: 1px solid #00338d;
}


/* Avatars */

#wpua-preview-existing img {
    max-height:150px !important;
}

#wpua-preview-existing span,
#wpua-thumbnail-existing,
#wpua-undo-existing {
    display:none !important;
}

#wpua-add-existing,
#wpua-remove-existing {
    padding: 5px 10px !important;
    font-size:14px;
    font-weight: normal !important;
}

.post-6221 img.avatar {  /* Committee page avatars */
    height:150px;
    width:auto !important;
}


/* Google Map */

#regions_div {
    width: 700px;
    height: 470px;
    margin: 10px auto;
}

/* File Upload box */

div.wfu_container {
    border: 1px solid #00338d;
    max-width: 550px;
    padding: 10px;
    background: #eee7d2;
    margin-top: 40px;
    margin-bottom: 40px;
}

.wfu_container div.file_div_clean_responsive_container,
.wfu_container div.file_div_clean_responsive {
    line-height:2;
}

.wfu_container div.file_space_clean {
    margin-top:10px;
}

.wfu_container .file_input_button,
.wfu_container .file_input_button_hover,
.wfu_container .file_input_submit,
.wfu_container .file_input_submit_hover {
    padding:5px 10px;
	font-weight:normal;
}

/* list of letters A-Z */

.alpha-list li {
    display:inline;
    margin-right:3px;
    font-weight:bold;
}

/* post (page) view counter */

div.post-views.entry-meta {
	color:#00338d;
	font-size:12px;
}

/* front-end admin bar */  

#wp-admin-bar-pvc-post-views,
#wp-admin-bar-wfu_uploads {
    display: none;
}


/*************************************/
/* Page sections common to all pages */
/*************************************/

/* site search in nav bar */

.nav-primary .search-form {
	width:28% !important;  /* changes here */
	display:inline-block;
	vertical-align:top;
}

.nav-primary input[type="search"] {
	width:50% !important;  /* changes here */
	font-style:italic;
	padding:3px 3px 4px 10px;
	margin:2px 0 2px 0; 
	background: #ffffff;
    background-size:15px 15px;
}

.nav-primary input[type="submit"] {
	background:#b2945f;
    color:#ffffff;
	font-size:12px;
	border-radius:0;
	margin:2px 0 2px 0;
	padding:6px 3px 6px 3px;
	text-transform:none;
}


/* main nav bar */

.nav-primary {
	background-color:#ffffff;
	border-bottom:1px solid #00338d;
	font-weight:bold;
	margin-bottom:5px;
}

.nav-secondary {
	margin-bottom:0;
}

.genesis-nav-menu  {
	padding:0 20px;
}

.genesis-nav-menu li {
	display:block;
	font-size:15px;
	line-height:0;
}

.genesis-nav-menu a {
	background:#ffffff;
	color:#666666;
	text-decoration:none;
	padding-top:17px;
	padding-bottom:18px;
	padding-right:6px;
	padding-left:6px;
}

.genesis-nav-menu a:hover,
.genesis-nav-menu .sub-menu a:hover {
	background:#eee7d2;
	color:#b2945f;
}

.genesis-nav-menu .current-menu-item > a,
.genesis-nav-menu .sub-menu .current-menu-item > a,
.genesis-nav-menu .current-menu-item > a:hover,
.genesis-nav-menu .sub-menu .current-menu-item > a:hover {
	background:linear-gradient(#0255af,#00338d);
	color:#ffffff;
}

/* submenus */

.genesis-nav-menu .menu-item-has-children > a:after { /* arrows for submenus */
	content:"\f140";
	display:inline-block;
	-webkit-font-smoothing:antialiased;
	font:normal 16px/1 'dashicons';
	padding-left:3px;
	vertical-align:top;
	line-height:0;
}

.genesis-nav-menu .sub-menu .menu-item:hover > .sub-menu {
	left: auto;
	right: initial;
  	margin: initial;
}

.menu .sub-menu .menu-item > a:focus + ul.sub-menu,
.menu .sub-menu .menu-item.sfHover > ul.sub-menu {
	left: auto;
	right: initial;
  	margin: initial;
} 

.genesis-nav-menu ul.sub-menu {
	background: #fff;
	box-shadow: 0px 5px 10px #ccc, -5px 5px 10px #ccc, 5px 5px 10px #ccc; 
}

.genesis-nav-menu .sub-menu li {
	line-height:0.4em; 
}

.genesis-nav-menu .sub-menu a {
	font-size:14px;
	padding:14px 14px;
	border:none;
	white-space:nowrap;
	width:220px;
}


/* site header */

.site-header .wrap {
	background:#ffffff;
	border-bottom:1px solid #00338d;
	padding-top:0;
	padding-bottom:0;
	padding-left:2%;
	padding-right:2%;
}

.site-header {
	margin-bottom:10px;
}

/* logo */

.site-header .title-area {
	width:35%;
	float:left;
	margin-bottom:5px;
}

/* surname search */

#header_1 {
	width:35%;
	float:left;
	text-align:center;
	margin-top:5px;
}

#header_1 .widget-title {
	font-size:22px;
	color:#00338d;
	font-weight:bold;
	background-color:#ffffff;
	border:0;
	margin-top:5px;
	margin-bottom:0px;
}

#header_1 .search-form {
	float:none;
	text-align:center;
	margin-top:5px;
	margin-bottom:10px;
}

#header_1 input {
	text-align:center;
	margin-right:0;
	margin-bottom:10px;
}

#header_1 input[name="surname"] {
    border-color:#00338d;
}

.widget input[type="submit"] {
	padding:6px;
	border-radius:0;
	margin-left:0;
}

.widget input {
	text-align:center;
}


/* stats in site header */

#header_2 {
	width:25%;
	float:right;
	line-height:1.0em;
	font-size:17px;
	font-weight:bold;
	font-style:italic;
	margin-top:10px;
}

#header_2 .textwidget {
	text-align:center;
}


/* main body */

.site-inner {
	background:#ffffff;
	padding-top:10px;
	padding-bottom:10px;
	padding-left:2%;
	padding-right:2%;
	margin:0;
	border:none;
}

.site-inner ul, ol {
    margin: 0.5em 0 1.5em 1.5em;
    padding-left: 20px;
}

.cs_content {
    width: 97%;
    min-height: 150px;
    padding: 0 10px 10px 10px;
    margin: auto;
	margin-bottom:10px;
} 

.cs_bg {
    border:1px solid #00338d;
    border-radius: 8px;
}

.cs_detail {
    overflow: auto;
    padding: 15px;
    clear: both;
}

.entry {
	margin:0;
	border:none;
}

.entry-title {
	font-size:32px;
	color:#00338d;
	font-weight:inherit;
}

.entry-title a {
	color:#00338d;
	text-decoration:none;
}

.entry-title a:hover {
	color:#6684ba;
}

.entry-content ol,
.entry-content p, 
.entry-content ul, 
.quote-caption {
    margin-bottom: 20px;
}

.entry-content ol ol,
.entry-content ul ul {  
	margin-bottom: 5px;
}


/* site footer */

.site-footer {
	background:#ffffff;
	background-color:#00338d;
	padding:0;
}

footer.site-footer {
	background:#00338d;
	color:#ffffff;
	font-size:10px;
	font-style:italic;
}

footer a {
	color:#ffffff;
}


/***************************/
/* Specific types of pages */
/***************************/


/* Page type: Home */
/* most of the Home page formatting is in the widgets section later on */

.home .sidebar-primary {  /* override just for home page */
	width:27%;
}

.home main.content {
	width:70%;
}

.home div.post-views.entry-meta {
	display:none;
}

#page_content_1 img.centered,
#page_content_1 .aligncenter {  
    margin:0 auto 0;
}


/* home page headline message */

#front_page_message1, 
#front_page_message2 {  
    text-align:center;
	font-style:italic;
}

/* Page type: 404 (not found) errors */

.error404 aside {  /* suppress sidebar */
	display: none; 
}

.error404 article {
	text-align:center;
}

/* Page type: Search */

.search-results aside { /* suppress sidebar */
	display:none;
}

.search-results article.entry {
	margin-bottom:10px;
	border-bottom:1px solid #ddd;
}

	
/* Page type: Posts including Blog Page ('News') and category pages */

.more-link {
	font-size: 14px;
   	font-style: italic;
   	font-weight: bold;
   	text-decoration: none;
}

.type-post .entry-title,
.type-service_story .entry-title { 
	font-size:28px;
	margin-bottom:0;
}

.type-post .entry-meta,
.type-service_story .entry-meta {
	font-style:italic;
	font-size:12px;
	color:#aab7bc;
	margin-bottom:10px;
}

.type-post .entry-time,
.type-service_story .entry-time {
	text-transform:none;
	font-style:italic;
	font-weight:normal;
	color:#aab7bc;
}

article.type-post.entry {
	margin-bottom:10px;
	border-bottom:1px solid #ddd;
}

#reply-title {
	font-size:16px;
	padding:5px;
	margin-top:20px;
	margin-bottom:10px;
	background-color:#eee7d2;
}

.logged-in-as {
	display:none;
}

.comment-notes {
	font-size:12px;
}

.comment-respond label {
	color:#00338d;
	font-size:14px;
	font-style:italic;
	font-weight:bold;
}

#commentform .submit {
	background:#b2945f;
	padding:8px;
	text-transform:none;
}

.comment-reply {
    display:none;
}

.says {
    font-family:inherit;
}


/* archived post listings */

.archive article.entry {
	margin-bottom:10px;
	border-bottom:1px solid #ddd;
}

.archive-title {
	font-size:32px;
	margin-bottom:0;
}

.archive-description {
    border-bottom:0;
    margin-bottom:0;
}

.archive-pagination li a,
.archive-pagination li.active a {
	background-color:#b2945f;
	font-weight:bold;
	text-decoration:none;
	line-height:1.4em;
}

.archive-pagination li a:hover {
	background-color:#c1a97d;
}


/* Page Type: Theme My Login pages */
/* moved from theme-my-login.css when this plug-in was re-architected */

.tml {
    background-color: #fff;
    border: 1px solid #2853BB;
    border-radius: 10px;
    font-size: 1.1em;
    padding: 20px 20px 5px 20px;
    margin:auto;
    max-width: 450px;
}

.tml br {
    display: none;
}

.tml p  {
    margin-bottom: 1em;
    margin: 0 auto 1em;
}

.tml p.description  {
    width: auto;
    text-align: center;
    font-size: 80%;
}

.tml p.submit, .tml p.forgetmenot  {
    text-align: center;
}

.tml li.tml-error {
    padding: 5px;
    border: 1px solid #c00;
    background-color: #ffebe8;
    color: #333;
}

.tml li.tml-message {
    text-align:center;
    padding: 5px;
    border: 1px solid #00338d;
    background-color: #ddd;
    color: #00338d;
    margin-bottom: 15px;
}

.tml .tml-label {
    width: 35%;  
    display: inline-block;
}

.tml .tml-field {
    width:60%;
}

.tml-action-confirmaction .success,
.tml-error,
.tml-message,
.tml-success {
    border-left:1px;
    box-shadow:none;
}

.tml-login-link {
    display:none;
}

.tml #lostpasswordform p  {
    width: 350px;
}

.tml #lostpasswordform label {
    width: 150px;
}

#lostpasswordform + ul {
    display: none;
}

.tml form p.forgetmenot label {
    display: inline;
}

.tml form p.forgetmenot label,
.tml form p.forgetmenot input {
    margin: 4px;
    vertical-align: top;
}

.tml input {
    margin: 5px 0;
}

.tml ul {
    margin: 0;
    padding: 0;
    text-align: center;
}

.tml ul li {
    list-style-type: none !important;
}

.tml ul li a {
    text-decoration: none;
}

.tml-user-avatar {
    float:right;
    margin:10px;
}

.profile .screen-reader-text,
.profile .screen-reader-text span {
    height: 1px;
    left: -1000em;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

.mu_register .hint {
    font-size: 12px;
    margin-bottom: 10px;
    display: block;
}

.mu_register label.checkbox {
    display: inline;
}

#pass-strength-result {
    border-style: solid;
    border-width: 1px;
    margin: 12px auto 1px;
    padding: 3px 5px;
    text-align: center;
    width: 200px;
}

#pass-strength-result.strong,
#pass-strength-result.short {
    font-weight: bold;
}

#pass-strength-result {
    background-color: #eee;
    border-color: #ddd !important;
}

#pass-strength-result.bad {
    background-color: #ffb78c;
    border-color: #ff853c !important;
}

#pass-strength-result.good {
    background-color: #ffec8b;
    border-color: #fc0 !important;
}

#pass-strength-result.short {
    background-color: #ffa0a0;
    border-color: #f04040 !important;
}

#pass-strength-result.strong {
    background-color: #c3ff88;
    border-color: #8dff1c !important;
}

#resetpasswordform + .tml-action-links {
	display: none;
}

#pass1,
#pass1-text {
	width: 60%;
}

#pass1-text,
.show-password #pass1 {
	display: none;
}

.show-password #pass1-text
{
	display: inline-block;
}


/* Custom Page Templates: Profiles, Regions, Service Stories */

.custom-page {
	margin:auto;
	float:none;
	border:1px solid #00338d;
    border-radius:8px;
    padding:10px;
}

.cs_detail_header {
    min-height: 160px;
}

.cs_detail_content {
    text-align:justify;
}

.page-template-names a.post-edit-link,
.single-name_profile a.post-edit-link,
.single-region a.post-edit-link,
.single-service_story a.post-edit-link {     /* show the edit button to those authorised */
	display:unset;
}

.profile-header {
    margin-bottom:10px;
}

.profile-title {    /* used when profile is accessed by direct URL */
	font-size:32px;
	color:#00338d;
	text-align:center;
	padding-top:30px;
	padding-bottom:20px;
}

h2.profile-title {  /* used in surname search */
    font-size:28px;
	clear:none;
	padding-top:0;
	padding-bottom:0;
}

.profile-image {
	float:left;
}

.profile-image img {
	border-radius:5px;
	padding-right:20px;
}

.page-template-names input[name="surname"] {  /* surname search box at bottom of profile page */
    text-align:center;
}

.page-template-names input[type="submit"] {  
    padding:6px 6px 6px 6px;
    margin:10px 0 0 0; 
    border-radius:0;
}

.responsive-margin {  /* for general search results */
	margin-left:20px;
}

.single-region table td {
	font-size:14px;
}

.region-title {
	font-size:32px;
	color:#00338d;
	font-weight:inherit;
	clear:left;
}

.region-title h1 {
	clear:left;
}

/* service stories */

.single-service_story .profile-image {
    max-width:150px;
}

.service-table-td {
	width:18%;
	text-align:right;
	vertical-align:top;
	font-weight:bold;
}

.archive article.service_story img {
    width:110px;
    height:auto;
    float:left;
    margin:7px 20px 20px 0;
}


/* Page type: Column page */

.first {
	clear:unset;
}

.cpheight550 {
	min-height:550px;
}

.cpheight500 {
	min-height:500px;
}

.cpheight450 {
	min-height:450px;
}

.cpheight400 {
	min-height:400px;
}

.cpheight350 {
	min-height:350px;
}

.cpheight300 {
	min-height:300px;
}

.colpage .one-third {
	width:32%;
	background-color:#eee7d2;
	margin:7px;
	padding-left:0;
}

.colpage .one-fourth {
	width:24%;
	background-color:#eee7d2;
	margin:5px;
	padding-left:0;
}

.colpage h3 {
	background-color:#b2945f;
	color:#fff;
	font-size:16px;
	font-weight:bold;
	padding:5px;
	margin:0;
	text-align:center;
}

.colpage p {
	color:#00338d;
	font-size:14px;
	padding:0 10px;
	line-height:1.6em;
	text-align:justify;
}

.colpage .colpage_img {
	margin:0 0 10px 0;
	padding:0;
}

.colpage ul > li {
    font-size:14px;
}


/* Page type: Journal pages */

div.journal-container {
	border:1px solid #00338d;
	border-radius:5px;
	padding: 15px 15px 0 15px;
	margin-bottom:5px;
}

div.journal-container ul {
	font-size:15px;
}
	
td.journal-img {
	border:0;
	width:20%;
	vertical-align:top;
	padding-top:20px;
}


/* Page type: WooCommerce */

.woocommerce #respond input#submit, 
.woocommerce a.button, 
.woocommerce button.button, 
.woocommerce input.button,
.woocommerce #respond input#submit.alt, 
.woocommerce a.button.alt, 
.woocommerce button.button.alt, 
.woocommerce input.button.alt {
    color:#ffffff;
	background:#b2945f;
	border-radius:5px;
	text-transform:none;
	padding:10px 10px 10px 10px;
	margin:2px 0 20px 0;
	font-weight:bold;
    -webkit-font-smoothing: antialiased;
}

.woocommerce #respond input#submit:hover, 
.woocommerce a.button:hover, 
.woocommerce button.button:hover, 
.woocommerce input.button:hover,
.woocommerce #respond input#submit.alt:hover, 
.woocommerce a.button.alt:hover, 
.woocommerce button.button.alt:hover, 
.woocommerce input.button.alt:hover {
	color:#ffffff;
	background-color:#cdb984;
	border-radius:5px;
}


.woocommerce #respond input#submit.disabled, 
.woocommerce #respond input#submit:disabled, 
.woocommerce #respond input#submit:disabled[disabled], 
.woocommerce a.button.disabled, 
.woocommerce a.button:disabled, 
.woocommerce a.button:disabled[disabled], 
.woocommerce button.button.disabled, 
.woocommerce button.button:disabled, 
.woocommerce button.button:disabled[disabled], 
.woocommerce input.button.disabled, 
.woocommerce input.button:disabled, 
.woocommerce input.button:disabled[disabled] {
	color:#ffffff;
}

.woocommerce .woocommerce-MyAccount-content {
	float:left;
	width:100%;
} 

.woocommerce .woocommerce-MyAccount-navigation {
	display:none;
}

.woocommerce div.product div.summary,
.woocommerce-page #content div.product div.summary,
.woocommerce-page div.product div.summary {
    float: right;
    width: 65%;
    margin-bottom:0;
    clear: none;
}
	
.woocommerce-account .addresses .title .edit {
	float:left;
	margin-left:20px;
}

.woocommerce #content div.product div.images,
.woocommerce div.product div.images,
.woocommerce-page #content div.product div.images,
.woocommerce-page div.product div.images {
    width: 30%;
}

.woocommerce .entry-meta,
.woocommerce .woocommerce-ordering,
.woocommerce .woocommerce-result-count,
.woocommerce .related.products {
	display:none;
}

.woocommerce .woocommerce-error,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message {
	background-color:#eee7d2;
	border-top-color:#b2945f;
	padding: 1em 2em 1em 1.5em;
}

.woocommerce-error::before,
.woocommerce-info::before,
.woocommerce-message::before {
	display:inline;
	position:relative;
	top:unset;
	left:unset;
	padding-right:0.5em;
}

.woocommerce-error li,
.woocommerce-info li,
.woocommerce-message li {
	display:inline;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price {
	color:#00338d;
}

.woocommerce .quantity input {
	padding:7px;
}

.woocommerce div.product .stock {
    color:#00338d;
}

.woocommerce mark {
	background:#eee7d2;
}

.woocommerce .woocommerce-product-gallery__trigger {
	display:none;
}

.woocommerce form .form-row .required {
	text-decoration:none;
}

.woocommerce a.added_to_cart.wc-forward {
	text-decoration:underline !important;
}

#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
	background:#eee7d2;
}

.woocommerce li.wc_payment_method {
	list-style-type:none;
}

.woocommerce .sku_wrapper,
.woocommerce .posted_in {   /* might want to show these on product pages */
	display:none;
}

.woocommerce ins {
    text-decoration:none;
}

.woocommerce-loop-product__title {
    font-weight:bold;
}

#order_comments {
    min-height:200px;
}

p.first-payment-date small {  
    font-size:14px;
    font-weight:bold;
}

div.woocommerce-order ul > li {
    list-style-type:none;
}

section.woocommerce-order-details ul > li {
    list-style-type:none;
}
.woocommerce table.variations tbody {
    border-bottom:0;
}

.woocommerce-variation-price { 
    margin-bottom:30px;
}

div.product-type-variable a.reset_variations,
div.product-type-variable-subscription a.reset_variations {
    display:none;
    visibility:hidden !important;
}

div.product-type-variable p.price,
div.product-type-variable-subscription p.price {
    display:none;
}

div.product_cat-membership ul.wc-tabs,   
div.product_cat-tickets-seminar ul.wc-tabs {
    display:none;
}

body.single-product div.product_cat-tickets-seminar div.quantity { 
    display:none !important;
}

body.single-product div.product_cat-tickets-seminar p.price { 
    display:none;
}

.woocommerce table.shop_table td.remove_item a {
    display:none;
}

.woocommerce input#coupon_code.input-text {
    width:100px;
}

div.coupon:not(.under-proceed) {  
    display: none !important; 
}

div.woocommerce-form-coupon-toggle {
    display: none;
}

.woocommerce article.product-type-grouped .group_table td:first-child {
    width:0;
    display:none;
}

.woocommerce article.product-type-grouped button.single_add_to_cart_button {
    display:none;
}

.woocommerce-cart dl.variation,
.woocommerce-checkout dl.variation {
    display:none;
}

.woocommerce .edit_price_in_cart_text {  
    display:none;
}

.woocommerce tr.shipping.recurring-total {
    display:none;
}

.woocommerce-terms-and-conditions-checkbox-text {
    font-weight:bold;
}

.woocommerce table.my_account_orders .button {
    margin: 5px;
}

.woocommerce-button.cancel {
    display:none;
}

a.woocommerce-button.button.cancel {
    display:none;
}

.woocommerce ul.columns-4 li.product_cat-dna-kits {  
    margin-bottom:0;
}

.woocommerce p.order-again { 
    display:none;
}

/* gravity form product add-ons */

div.product-addon abbr.required {
    display:none;
}

div.product-addon h3.addon-name {
    font-size:20px;
    margin-bottom:5px;
}

div.addon-description p {
    font-size:15px;
}

table.subscription_details a.button.cancel {
    display:none;
}

.woocommerce .gform_wrapper { 
    margin:16px 0 0 0;
}


/* Page type: Wiki pages */

h3.incsub_wiki_header {
	padding-top:20px;
}

.incsub_wiki p.entry-meta {
	display:none;
}

textarea#wikicontent {
box-sizing:border-box;
height:300px;
}

.incsub_wiki textarea {
	color:#000;
}

#wiki-taxonomies tbody,
#wiki-taxonomies td {
	border:none;
}

td#wiki-tags-label {
	width:5%;
	padding:0 10px 0 30px;
}


/* Page type: Calendar Events */
/* need to reconcile with the css in my-calendar-custom.css */

.mc-main {
	margin-bottom:20px;
}

.mc-main li.my-calendar-next {
	float:right;
	padding-top:5px;
	font-weight:bold;
}

.mc-main li.my-calendar-prev {
	float:left;
	padding-top:5px;
	font-weight:bold;
}

.mc-main table.my-calendar-table caption.my-calendar-month {
	margin-top:-25px;
	width:260px;
	height:16px;
	margin-left:auto;
	margin-right:auto;
}

.mc-main h2.my-calendar-month {
    	text-align:center;
    	font-size: 26px;
		padding-bottom:10px;
}

.mc-main .details {
	background:#eee7d2;
	border:1px solid #00338d;
}

.mc-main .mc_edit_links,
.mc-main .details .mc_edit_links {
    font-size:12px;
    background:none;
    border-radius:0;
    border:0;
    border-top:1px solid #ddd;
}

.mc-main .mc_edit_links a,
.mc-main .details .mc_edit_links a {
    color:#00338d;
}

.mc-main .mc_agm--conference .event-title,
.mc-main .mc_regional-events .event-title,
.mc-main .mc_web-hangouts .event-title,
.mc-main .mc_guild-seminars .event-title,
.mc-main .mc_family-history-fairs .event-title,
.mc-main .mc_meetings .event-title,
.mc-main .mc_marketing-mat-meetings .event-title,
.mc-main .mc_webinars .event-title,
.mc-main .mc_education .event-title,
.mc-main .mc_administration .event-title {
	font-size:20px;line-height:1.5em;font-weight:bold;text-align:left;
}

.mc-main .mc_agm--conference h3.event-title.summary a,
.mc-main .mc_regional-events h3.event-title.summary a,
.mc-main .mc_web-hangouts h3.event-title.summary a,
.mc-main .mc_guild-seminars h3.event-title.summary a,
.mc-main .mc_family-history-fairs h3.event-title.summary a,
.mc-main .mc_meetings h3.event-title.summary a,
.mc-main .mc_marketing-mat-meetings h3.event-title.summary a,
.mc-main .mc_webinars h3.event-title.summary a,
.mc-main .mc_education h3.event-title.summary a,
.mc-main .mc_administration h3.event-title.summary a {
    text-decoration:underline;
    background: none !important;
}

.mc-main .calendar-event .event-time, .mc-main .list-event .event-time {
    height:auto;
}

.mc-main .list-event h3,
.mc-main h3.event-title.summary {
    background:none !important;
}

.mc-main h2.event-title.summary {
    font-size:20px;
}

.mc-main .list-event h3,
h3.event-title a {
    font-size:20px;line-height:1.5em;font-weight:bold;text-align:left;
}

span.mc-list-details.event-count {
    display:none;
}

.future-event,.past-event {
	font-size:100%;
}

.my-calendar-date-switcher form {
	clear:both;
	padding-top:5px;
}

.mc-main .my-calendar-date-switcher label {
	font-weight:bold;
}

.mc-main .my-calendar-date-switcher .button {
	padding:4px !important;
}

.mc-main img {
    margin:0 20px 10px 0;
}

/* Page type: Forums */
/* need to reconcile with bbpress.css */

#bbpress-forums div.bbp-forum-author,
#bbpress-forums div.bbp-topic-author,
#bbpress-forums div.bbp-reply-author {
	font-size:inherit;
}

.type-forum .entry-meta,
.type-topic .entry-meta {
	display:none;
}

#bbpress-forums div.bbp-topic-content a,
#bbpress-forums div.bbp-reply-content a {
	font-weight:inherit;
}

#bbpress-forums button {
	font-weight:bold;
}

span.bbp-user-edit-link {
	display:none; 
}

span.bbp-user-profile-link {
    display:none;
}

#user_switching_switch_to {
    display:none;
}

span#subscription-toggle {
	font-weight:bold;
	padding-right:10px;
}

div.bbp-template-notice {
	display:none;
}

#bbpress-forums div.bbp-author-name,
#bbpress-forums div.bbp-reply-author {
	font-size:12px;
}

#bbpress-forums div.bbp-author-role,
#bbpress-forums div.bbp-reply-ip {  
    display:none;
}

#bbpress-forums fieldset.bbp-form legend {
	font-weight:bold;
	background:#B2945F;
	color:#FFF;
}

#bbpress-forums fieldset.bbp-form label {
	font-weight:bold;
}

#bbpress-forums #bbp-single-user-details #bbp-user-navigation li.current a {
    background:none;
    opacity:none;
}

#bbpress-forums p.bbp-topic-meta img.avatar { 
	display:none;
}

#bbpress-forums span.bbp-topic-freshness-author img {
	display:none;
}

.bbpress header.post-header.fix h1.posttitle {
	margin-top:20px;
	margin-bottom:15px;
}

span.bbp-admin-links a {
	color: #757575;
}

body.forum-search section.widget_calendar,
body.forum-search section.widget_text {         /* KB 9 May 2020 */
    display: none;
}

/* the following is to deal with a theme-bbpress conflict */

.bbpress #front_page_message1,
.bbpress #front_page_message2, 
.bbpress #page_content_1,
.bbpress #page_content_2,
.bbpress #page_content_3,
.bbpress .archive-pagination,
.bbp-search .bbp-breadcrumb,
.bbpress .site-container > .breadcrumb {
    display: none;
} 

/* the following deal with unacceptable changes from a bbpress update not later than 19 Dec 2019, KB 1 Jan 2020 */

#bbpress-forums {
    font-size: 14px;
    line-height: inherit;
}

#bbpress-forums .bbp-forum-info .bbp-forum-content, 
#bbpress-forums p.bbp-topic-meta {
    font-size: 13px;
}

div.bbp-breadcrumb, 
div.bbp-topic-tags {
    font-size: 13px;
}

#bbpress-forums ul.bbp-forums, 
#bbpress-forums ul.bbp-lead-topic, 
#bbpress-forums ul.bbp-replies, #bbpress-forums ul.bbp-search-results, 
#bbpress-forums ul.bbp-topics {
    font-size: 14px;
    line-height: inherit;
}

#bbpress-forums ul.status-closed, 
#bbpress-forums ul.status-closed a {
    color: #00338d;
}

#bbp-user-wrapper h2.entry-title {
    display:none;
}


/* Page type: Gravity Forms */

.gform_wrapper .top_label input.medium {
padding: 2px 5px;
font-size: 16px;
font-weight: normal;
}

.gform_footer + p, .gform_wrapper form + p, .gform_wrapper + p {
display:none;
}

.gform_wrapper h2.gsection_title,.gform_wrapper .gsection_description,.gform_wrapper h3.gform_title {
display:none;
}

.gform_wrapper .left_label .gfield_label {
display:inline;
}

body .gform_wrapper .gform_body .gform_fields .gfield .gfield_label {
color: #00338d;
}

.gform_wrapper .field_description_below .gfield_description {
padding-top:8px !important;
line-height:1.4em;
font-size:0.8em; 
}

.gform_wrapper div.charleft {
color: #555;
}

.gform_wrapper div.charleft.ginput_counter {
margin-left:0;
clear:both;
}

div.product_totals .ginput_container { 
margin:8px 0 20px 0;
color:#00338d;
font-weight:bold;
}

.gform_wrapper span.ginput_total { 
    color:#00338d;
}

div#wrapper.fix {
margin-bottom: 10px;
}

.gform_confirmation_message {
margin-top: 20px;
color: #B2945F;
font-weight: 700;
}

.gform_wrapper.gravity-theme .gfield_checkbox label, 
.gform_wrapper.gravity-theme .gfield_radio label {
    font-size:0.9em;
}

label.gfield_label {
color: #00338d;
font-weight:bold;
}

select#form_switcher {
font-size:14px;
}

.gform_wrapper .readonly input {
border:0;
}

.gform_wrapper div.validation_error {
    font-size:.9em;
}

.gform_wrapper li.hidden_label input {
    margin-top: 0;
}


/* Page Type: Modern British Surnames */

.mbspage p.green { color: #006600; }
.mbspage p.blue  { color: #0000ff; }
.mbspage p.grey  { color: #666666; }
.mbspage p.white { color: #ffffff; }
.mbspage p.quote { color: #009999; }

.mbspage span.grey  { color:#666666 }
.mbspage span.black { color:#000000 }
.mbspage span.red   { color:#ff0000 }
.mbspage span.title { font-style:italic }

.mbspage div.quote {
    width:80%;
    margin:auto;
}

.mbspage table.tabulate {
	text-align: left;
	font-size: 13px;
	color: #000000;
	background-color: #ffffff;
	border-collapse: separate;
	border-spacing: 2px;
	width:auto;
	}

.mbspage table.tabulate td {
	font-size: 13px;
	color: #000000;
    padding: 4px;
	background-color: #e6ebf4;
    border:0px solid gray;
    }

.mbspage table.tabulate th {
	font-size: 13px;
	color: #000000;
    padding: 4px;
	background-color: #e6ebf4;
    border:0px solid gray;
    }
    

/* Page Type: Theme My Login */
/* refer to /theme/wp-content/themes/focus-pro/theme-my-login.css */


/* Page type: Benefits page */

.benefit { 
margin-right: 10px;
margin-bottom: 5px;
}

.benefit img.benefit_sm { 
width: 143px;
height: 110px;
}

.benefit img.benefit_lg { 
 width: 219px;
 height: 110px;
}

.benefit img.benefit_more {
width: 143px;
margin-left: 300px;
}


/* Page Type: Speakers page */

.spk_leftpic {
	width: 200px;
	float: left;
	padding-right: 31px;
	padding-bottom: 12px;
	}

.spk_rightpic {
        width: 200px;
	float: left;
	}


/* Page type: Faux Certificates */

.fclabel {
    display:inline-block;
    width:140px;
    margin-top:10px;
    font-size:15px;
    color:#00338d;
} 


/***************/
/*   Widgets   */
/***************/

.widget {
	margin-bottom:20px;
}

.widgettitle {
	background-color:#b2945f;
	color:#ffffff;
	font-size:15px;
	font-family:inherit;
	font-weight:bold;
	margin:0;
	padding:5px;
	text-align:center;
}

.textwidget {
	text-align:justify;
}

.textwidget ul {
    text-align:left;
}

.sidebar {
	font-size:13px;
}

.sidebar .widget ul {
	margin:10px 0 10px 0;
}

.sidebar .widget ul > li {
	list-style:disc;    
	padding:0;
	margin:10px 10px 0 0;
	border:none;
	line-height:1.3em; 
}

.sidebar .widget ul > li::before {
	content:none;
}

.sidebar .textwidget,
.widget_nav_menu,
.widget_recent_entries,
.widget_display_search,
.widget_display_topics,
.widget_display_replies,
.widget_tag_cloud,
.widget_my_calendar_upcoming_widget,
.widget_calendar,
.widget_incsub_wiki,
.widget_incsub_search_wikis,
.widget_incsub_wiki_tag_cloud,
.widget_product_search,
.widget_products,
.widget_wmc_widget,
.widget_guild_mbs_menu_widget,
.widget_guild_wiki_menu_widget {    /* KB 4 Jun 2020 */
	background-color:#eee7d2;
	line-height:1.6em;
	padding-bottom:10px;
}

.widget_incsub_search_wikis {
    padding-bottom:0;
}

.sidebar .textwidget p {
	padding-left:10px;
	padding-right:10px; 
}

.sidebar .textwidget .widget_img {
	padding:0 0 10px 0;
	margin:0;
}

.widget #searchform,
.widget #bbp-search-form {
    padding:5px;
}

#bbp-search-form label,
.widget_incsub_search_wikis label {
    display:none;
}

.widget input[type="submit"],
.widget button[type="submit"] {
    padding:6px 10px 6px 10px;
    margin:10px 0 0 5px;
}

div#guild-vision { 
    text-align:center; 
    font-size:14px;
    padding:15px;
    margin:0 10px 0 10px;
    color:#fff;
    background:linear-gradient(#0255af,#00338d);
	background-color:transparent;
}

p.topic-tag-cloud,
p.incsub_wiki_tag-cloud,
div.tagcloud {
    padding:10px;
}

p.topic-tag-cloud a,
p.incsub_wiki_tag-cloud a,
div.tagcloud a {
    text-decoration:none;
}

.widget_calendar a {
	background-color:#ddd;
}

.widget_incsub_wiki a.current {
    color:#00338d;
}

.widget_incsub_wiki_tag_cloud ul {
	padding:0 10px;
}

.woocommerce ul.product_list_widget li {
	padding-bottom:10px !important;
}

.sidebar .widget_products ul > li {
	list-style:none;    
	padding:0 10px 0 20px;
	margin:5px;
	margin-bottom:0;
	border:none;
}

section.widget-woocommerce-currency-switcher,
div.widget-woocommerce-currency-switcher {
    border:5px double #483d8b;
}

span.woocommerce-currency-switcher {
    width:100%;
    color:#00338d;
    background-color:#eee7d2;
    font-weight:bold;
}

span.woocommerce-currency-switcher .dropdown-content {  
    background-color:#eee7d2;
}

div.woocommerce-multi-currency,
form.woocommerce-product-search {
    padding-top:10px;
	text-align:center;
	line-height:.8em;
} 


/* modern british surnames & wiki */

.widget_guild_mbs_menu_widget ul > li,
.widget_guild_wiki_menu_widget ul > li {        /* KB 4 Jun 2020 */
    line-height:1em;    
}

.widget_guild_mbs_menu_widget .widgettitle {
    display:none;
}


/* wiki table of contents - widget displayed in body of page */

.amr_widget {               
    background-color:#fff;
}

.amr_widget .widgettitle {  
    display:none;
}

.amr_widget ul  {
    margin:0;
}

.amr_widget ol > li {       
    padding-left:0;
}


/* Home page widgets */

.home .content .widgettitle {
	font-size:20px;
	color:#fff;
	background:linear-gradient(#0255af,#00338d);
}

.home .content .textwidget {
	background-color:#fff;
	font-size:16px;
}

.home .content .textwidget a {
	color:#ab8b52;
}

.home .content .textwidget a:hover {
	color:#d2c0a1;
}

.home .content .textwidget p {
	color:#00338d;
	font-size:16px;
	text-align:justify; 
	padding:0 0 10px 0; 
	margin-bottom:0;
}

#front_page_message1 .textwidget { 
	border:1px solid #00338d;
	margin-bottom:10px;
	padding:5px;
	font-size:20px;
}

#front_page_message2 .textwidget { 
	margin-bottom:10px;
	font-size:20px;
}

#front_page_message1 .textwidget p {
    text-align:center;
    font-size:18px;
}

#front_page_message2 .textwidget p { 
	text-align:center;
	font-size:20px;
}


/* footer widgets */

.footer-widgets {
    background:linear-gradient(#0255af,#00338d);
	color:#ffffff;
	font-size:13px;
	padding:10px;
	margin:auto;
	margin-bottom:0;
	clear:both;
}

.footer-widgets .widget ul > li {
	border:none;
}

.footer-widgets .widget-title {
	font-size:18px;
	background-color:transparent;
	padding:10px;
	text-align:center;
	margin-bottom:5px;
}

.footer-widgets div {
	text-align:center;
}

.footer-widgets .widget_text p {
	text-align:center;
	line-height:1.4em;
}

.footer-widgets .widget ul > li::before {
	content:none;
}

.footer-widgets li {
	line-height:1.2em;
	font-size:14px;
	text-align:center;
}

.footer-widgets a {
	color:#ffffff;
	text-decoration:underline;
}

.footer-widgets a:hover {
	color:#c2c2c2;
}


.footer-widgets-1,  
.footer-widgets-2,
.footer-widgets-3 {
	width:31%;
}

.footer-widgets-1 a {
	margin-left:-25px; 
}

.footer-widgets-1 div.textwidget {
    padding-top:5px;
}


/**********************/
/*   Media settings   */
/**********************/


/* Internet Explorer 10+ adjustments */
/* -ms-high-contrast is only recognised by IE */

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	
	.nav-primary input[type='search'] {
		padding-bottom:9px;
	}
	
	input[name='surname'] {
		padding-bottom:10px;
	}

}


/* responsiveness adjustments */

@media only screen and (max-width:1160px) {	
	
	main.content,
	.home main.content {
		width:70%;
	}
		
	.sidebar-primary,
	.home .sidebar-primary {
		width:25%;
	}
	
	.colpage .one-third {
		width:30%;
	}
	
	.colpage .one-fourth {
		width:22%;
	}
	
}

@media only screen and (max-width:1023px) {
    
    .site-container {
    	max-width:100%;
    }
	
	.colpage .one-third,
	.colpage .one-fourth {
		width:47.5%;
	}
}

@media only screen and (max-width:767px) {
    
	main.content,
	.home main.content,
	.single-region div.content,
	.sidebar-primary,
	.one-half,
    .woocommerce div.product div.summary,
    .woocommerce-page #content div.product div.summary,
    .woocommerce-page div.product div.summary {
		width:100% !important;
		height:auto;
		float:left;
		margin:0 !important;
		font-size:95%;
	}
	
	.woocommerce-tabs {
	    font-size:95%;
	}
	
	.woocommerce #content div.product div.images,
    .woocommerce div.product div.images,
    .woocommerce-page #content div.product div.images,
    .woocommerce-page div.product div.images {
        width: 60%;
        margin:auto;
        margin-bottom:20px;
    }
	
	.sidebar-primary .widget{ 
		width:65% !important;
		margin:auto;
		margin-bottom:15px !important;
	}

	.widget_media_image img {
	    width:100%;
	}
	
	.site-header .header-2 {
		display:none;
		padding:0;
		margin:0;
	}
	
	.site-header .title-area,
	.site-header .header-1 {
		width:45% !important;
	}
	
	.site-header .header-1 {
		float:right !important;
	}
	
	.footer-widgets-1,
	.footer-widgets-2,
	.footer-widgets-3 {
		width:100% !important;
		float:left;
		margin:auto;
	}
	
	.cs_detail_content {
		width:100%;
		float:left;
	}

	.profile-title {
		width:100%;
		float:left;
	}

	.responsive-margin { /* for general search results in surname search */
		margin-left:0;
	}

	ul.cs_detail_content.guild_index {
		margin-left:0 !important;
	}
	
	.journal-img {
		display:none;
	}
	
}

@media only screen and (max-width:650px) { 
	.one-third,
	.one-fourth,
	.sidebar-primary .widget {
		width:100% !important;
		height:auto;
		min-height:auto;
		float:left;
		margin:0 0 15px 0 !important;
		font-size:95%;
	}

}

@media only screen and (max-width:480px) {
	.site-header .title-area,
	.site-header .header-1 {
		width:100% !important;
		float:left !important;
	}
	
	.content input, select, textarea {
	    width:100%;
	    max-width:100%;
	    float:left;
	    margin-left:0;
	    margin-right:0;
	}
	
	.custom-page,
	.div-border,
	div.journal-container {
		border:0;
		padding-left:0;
		padding-right:0;
	}
	
	.mobile-hide {
		display:none !important;
	}
	
	div.mobile,
	span.mobile,
	table.mobile,
	td.mobile,
	.ww1_detail,
	.ww1_detail_header,
	.ww1_detail_content {
		width:100% !important;
		max-width:100% !important;
		float:left !important;
		margin-left:0 !important;
		margin-right:0 !important;
	}
	
	.woocommerce #content div.product div.images,
    .woocommerce div.product div.images,
    .woocommerce-page #content div.product div.images,
    .woocommerce-page div.product div.images,
    .woocommerce ul.products[class*=columns-] li.product,
    .woocommerce-page ul.products[class*=columns-] li.product {
        width: 100%;
        float:left;
        margin-left:0;
		margin-right:0;
    }
    
	.profile-image {
		float:none;
		text-align:center;
	}
	
}


/* media settings for nav bar */

.responsive-menu-icon::before {
	font-size: 20px;
	font-size: 2rem;
}

@media only screen and (max-width:1300px) {
	.nav-primary .search-form {
		width:22% !important;  /* changes here */
		margin-left:0;
	}
	
	.nav-primary input[type="search"] {
		width:60% !important;  /* changes here */
		margin-left:0;
	} 
}

@media only screen and (max-width:1200px) {
	
	.nav-primary .search-form {
		display:block;  /* changes here */
		margin-left:15px;
		text-align:left;
	} 

	.nav-primary .search-form {
		width:30% !important;  /* changes here */
		margin-left:0;
	} 

	.genesis-nav-menu li {
		float:left;
	}
	
}

@media only screen and (max-width:900px) {
	.genesis-nav-menu a {
		padding-right:3px;
		padding-left:3px;
		font-size:90%;
	}
}

@media only screen and (max-width:767px) {
	
	.genesis-nav-menu {
		max-width:300px !important;
	}

	.genesis-nav-menu ul {
		background:none;
	}

	.genesis-nav-menu li {
		float:left;
		width:100%;
	}

	.genesis-nav-menu li a {
		color:#00338d;
		padding-top:6px !important;
		padding-bottom:6px !important;
	}

	.genesis-nav-menu .menu-item-has-children > a:after { 
		display:none;
	}

	.genesis-nav-menu .sub-menu a {
		color:#00338d;
	}

	.genesis-nav-menu li.current-menu-item > a,
	.genesis-nav-menu .sub-menu li.current-menu-item > a {
		color:#00338d;
		text-decoration:underline;
	}

	.genesis-nav-menu .current-menu-item > a:hover,
	.genesis-nav-menu .sub-menu .current-menu-item > a:hover {
		background:#ffffff;
		color:#b2945f;
	}

	.genesis-nav-menu ul.sub-menu {
		background:none;
		box-shadow:none;
	}

	.genesis-nav-menu .sub-menu span {
		margin-left:40px;
	} 

	.nav-primary .search-form {
		width:100% !important;
		display:inline-block;
	}
	
}
