/*
Theme Name: MT THEME - CSS Grid Version
Theme URI: https://midwiferytoday.com
Author: Tom Chamberlain	
Author URI: https://midwiferytoday.com/
Description: Custom Theme for Midwifery Today
Version: 4.0.5
License: GNU General Public License
License URI: https://www.gnu.org/licenses/gpl.html
Tags: one-column, two-columns, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Text Domain: mt_theme_grid

*/


/* =Reset
-------------------------------------------------------------- */

* {
margin: 0px;
padding: 0;
box-sizing: border-box;
-webkit-tap-highlight-color: transparent
}

html {
	scroll-behavior:smooth;
		scroll-padding: 100px 0 0 0!important; 
		font-size:19px;

overflow-y: scroll;
/* Keeps page centred in all browsers regardless of content height */
-webkit-text-size-adjust: 100%;
/* Prevents iOS text size adjust after orientation change, without disabling user zoom */
-ms-text-size-adjust: 100%;
/* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, section, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
box-sizing: border-box;
}

body {
line-height: 1;
-webkit-hyphens: none;
    -moz-hyphens:    none;
    -ms-hyphens:     none;
    hyphens:         none;
}


ol,
ul {
list-style: none;
}
ul li ul {
list-style-type: circle;
}

p.nomargin, .issuebox p{
	margin:0!important;
}
blockquote:before, blockquote:after{
content: '';
content: none;
}

q, em{
display: inline;
font-style: italic;
}

q:before {
content: '“';
font-style: normal;
}

q:after {
content: '”';
font-style: normal;
}

textarea,
input[type="text"],
input[type="button"],
input[type="submit"],
input[type="reset"],
input[type="search"],
input[type="password"] {
-webkit-appearance: none;
appearance: none;
border-radius: 0;
}

table {
border-collapse: collapse;
border-spacing: 0;
}

th,
td {
padding: 2px;
}


table td, table th{
	
	border: 1px solid #3f3f3f;
	padding: 2px;

}

big {
font-size: 120%;
}

small {
font-size: 80%;
}

dd {
margin-left: 1.250em;
}

kbd, tt {
font-family: courier;
font-size: .8rem;

}

ins {
text-decoration: underline
}

del, strike, s {
text-decoration: line-through
}

dt {
font-weight: bold
}

address, cite, var {
font-style: italic
}

.clear {
	clear:both;
}

.sticky {}

.bypostauthor {}

.wp-caption {
height: auto;
max-width: 100%;
outline: 1px solid #d0d0d0;
padding: 8px;
margin: 0 1em 1em 1em;
text-align:center;
font-family: 'Lato', sans-serif;
}

.wp-caption-text {}

.gallery-caption {}


.screen-reader-text {
clip: rect(1px, 1px, 1px, 1px);
position: absolute !important
}


body {
background: #fff;
}
article header{
position: relative;

}
article, section, details, figcaption, figure, footer, header, hgroup, nav, section {
display: block;
}

table {
/* tables still need 'cellspacing="0"' in the markup */
border-collapse: separate;
border-spacing: 0;
}

caption, th, td {
font-weight: normal;
text-align: left;
}



a:focus {
outline: dotted;
}

a:hover,
a:active {
/* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */
outline: 0;
}

a img {
border: 0;
}

img {
height: auto;
max-width: 100%;
}

.member-logged-in .hideinmbr, .logged-in .hideloggedin, .term-midwiferytodaymagazine .woocommerce-products-header h1.woocommerce-products-header__title{
	display:none;
}

.logged-in.role-administrator .hideloggedin {
	display:inline-block;
}

.sidebarforty {
	float:right;
	width:38%;
	margin-left:10px;
}

h3.wpmtst-testimonial-heading {
	display:none;
	}

.page-id-132 .grecaptcha-badge, .page-id-10 .grecaptcha-badge ,.page-id-652 .grecaptcha-badge ,page-id-142 .grecaptcha-badge { visibility: visible; }


.grecaptcha-badge { visibility: hidden; }
span.onsale {
	line-height:1.3;
}

/* =Global
----------------------------------------------- */

.fullwidth {
	width:100vw;
	height:auto;
}
.login ,.myaccount {
font-weight:bold;
}

.logged-in .login {
display:none;
}
.logged-out .myaccount {
display:none;
}

.logged-out.myaccount {
display:none;
}

.home_banner {
margin: 0;
padding: 0;
overflow: hidden;
}

body,
button,
input,
select,
textarea {
color: #404040;
font-family: 'Lato', sans-serif;
font-size: 1rem;
line-height: 1.25;
font-weight: 400;
}
.red {
	color:red;
}
.lorafont {
	font-family: 'Lora', serif;
}
.latofont {
font-family: 'Lato', sans-serif;
}

.bold {
font-weight:700;
}

p, li, code, dt {
font-size:1rem;

}
/* Headings */

h1 {
font-size: 2rem;
margin: 0.750em 0;
}

h2 {
font-size: 1.61rem;
margin: 0.750em 0;
}

h3 {
font-size: 1.5rem;
}
h3.widget-title {
font-size: 1.4rem;
margin: 0.750em 0;
}
h4 {
font-size: 1.35rem;
}

h5 {
font-size: 1.35rem;

}
.xoxo section h2 {
	font-size: 1.61rem;
	line-height:1.25;
	
}
.xoxo section h3 {
	font-size: 1.5rem;
	line-height:1.25;
}
.single-mt-magazine h4 {
	font-family:  'Lato', sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
clear: both;
font-family: 'Lora', serif;
font-weight: 700;
margin: 0.750em 0;
}
.author-description{
	font-family: 'Lora', serif;
	font-size:.9rem;

}
.author-description > p {
	font-size:.95rem;
}

.issuebox .twogrid {
	grid-gap: 20px;
align-content: center;
justify-content: center;
grid-auto-flow: column;
padding: 0px 10px;
}
.issuebox .twogrid div{
	display:grid;
	align-content:center;
	
}
hr {
background-color: #ccc;
border: 0;
height: 1px;
margin-bottom: 1.5em;
}
#subscribe-email input {
	max-width:250px!important;
}
h1.product_title {
font-size: 1.3rem;
font-weight: 900;
}



.onsale {
	line-height:1.5!important;
}
/* CSS GRID TABLE */

.articletablewrap h3 {
	font-size:.9rem;
}
.articletablewrap {
	width:95%;
	margin:18px auto;
	
}

.articletabletwo >*, .articletablethree >* {
border: 1px solid #333;
padding: 4px;
}
.articletablewrap {
display:grid;
}
.articletabletwo {
display: grid;
grid-template-columns: 1fr 1fr;
grid-gap: 2px;
margin: 1px 0;

}
.articletablethree {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-gap: 2px;
margin: 1px 0;

}
.articletablecontent {
}
.articletablecontent{

}
.articletablesubtitlethree {
text-align: center;
  grid-column-start: 1;
  grid-column-end: 4;
  background-color:#d3d3d3;
  
}
.articletablesubtitletwo {
text-align: center;
  grid-column-start: 1;
  grid-column-end: 3;
  background-color:#d3d3d3;
  
}
.articletabletoptitle {
text-align:center;
font-weight:bold;
background-color:#333333;
color:#fff;
font-size: 1.563rem;


}
.articletablesubtitle {
display:grid;
grid-template-columns: 1fr 1fr;
background-color:#6d6d6d;
color:#fff;
text-align:center;
}
/* END CSS GRID TABLE*/

.borderstyle {
border: 1px solid #eee;
}
/* Text elements */
.single-mt-magazine .entry-title::before {
	 content: "Midwifery Today, ";
	 font-style:italic;
	
}
.jp-relatedposts-post-title a {
    font-size: .9rem!important;
 }
/*.post-118 .entry-title {
	position: absolute !important;
top: -9999px !important;
left: -9999px !important;
	
}*/
p {
margin-bottom: 1.5em;
line-height: 1.45;
}
p.sectionheader {
padding: 0;
margin: 0 0 10px 0;
font-size: 1.313rem;
font-family: 'Lora', serif;
font-style: italic;
font-weight: 700;
}

.sectionheader.colorone {
border-bottom: 3px solid #C13D88;
}

.sectionheader.colortwo {
border-bottom: 3px solid #6C4C8F;
}
.sectionheader.colorthree {
border-bottom: 3px solid #01729E;
}
.sectionheader.colorfour {
border-bottom: 3px solid #CCE4E6;
}
.homegrid .woocommerce-loop-product__title,
 .secondary-widget-area .woocommerce-loop-product__title {
font-size: 1rem!important;
line-height: 1;
}

.woocommerce .woocommerce-result-count {
	margin: 0 0 3em;
}
.post-8634 .wc-memberships-restriction-message {display:none;}

article.type-speakers h1.entry-title{
	margin:10px 0 20px 0!important;
}
.type-conference .attachment-post-thumbnail {
	display:none;
}
.issuebox .twogrid .btn {
	font-weight:400;
}
.nav-links {
display: grid;
grid-gap: .5em; 
grid-template-columns: 1fr 1fr;
margin:1.75em 0;
}
.nav-previous {
	
text-align: left;
}
.nav-next {
text-align: right;
}

ul.special {
list-style-type: none;
}
ul.special ul{
list-style-type: circle;
}

ul.special li::before {
  content: "✤ ";
}

/*
ul.special ul li::before {
  content: "";
}*/
.oxox {

font-size: .9rem;

}


ul,
ol {
margin: 0 0 1.5em 3em;
}

ul {
list-style: disc;
}

ol {
list-style: decimal;
}

ul ul,
ol ol,
ul ol,
ol ul {
margin-bottom: 0;
margin-left: 1.5em;
}

dt {
font-weight: bold;
}

dd {
margin: 0 1.5em 1.5em;
}

b,
strong {
font-weight: bold;
}

dfn,
cite,
em,
i {
font-style: italic;
}

blockquote {
margin: 0 1.5em;
}

address {
margin: 0 0 1.5em;
}

pre {
background: #eee;
font-family: "Courier 10 Pitch", Courier, monospace;
font-size: .9rem;

line-height: 1.5;
margin-bottom: 1.6em;
padding: 1.6em;
overflow: auto;
max-width: 100%;
}

code,
kbd,
tt,
var {
font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
border-bottom: 1px dotted #666;
cursor: help;
}

mark,
ins {
background: #fff9c0;
text-decoration: none;
}

sup,
sub {
font-size: 75%;
height: 0;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
vertical-align: super;
bottom: 1ex;
}

sub {
vertical-align: sub;
top: .5ex;
}

figure {
margin: 0;
}

table {
margin: 0 0 1.5em;
width: 100%;
}

th {
font-weight: bold;
}

button,
input,
select,
textarea {
font-size: 100%;
/* Corrects font size not being inherited in all browsers */
margin: 0;
/* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
vertical-align: baseline;
/* Improves appearance and consistency in all browsers */
*vertical-align: middle;
/* Improves appearance and consistency in all browsers */
}

button,
input {
line-height: normal;
/* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
*overflow: visible;
/* Corrects inner spacing displayed oddly in IE6/7 */
}

.su-spoiler-style-default > .su-spoiler-title {
    padding-left: 27px;
    padding-right: 0;
    font-size: 1.1rem;

}

.woocommerce div.product form.cart .button {
vertical-align: middle;
float: left;
}

.woocommerce #respond input#submit.alt.disabled, .woocommerce #respond input#submit.alt.disabled:hover, .woocommerce #respond input#submit.alt:disabled, .woocommerce #respond input#submit.alt:disabled:hover, .woocommerce #respond input#submit.alt:disabled[disabled], .woocommerce #respond input#submit.alt:disabled[disabled]:hover, .woocommerce a.button.alt.disabled, .woocommerce a.button.alt.disabled:hover, .woocommerce a.button.alt:disabled, .woocommerce a.button.alt:disabled:hover, .woocommerce a.button.alt:disabled[disabled], .woocommerce a.button.alt:disabled[disabled]:hover, .woocommerce button.button.alt.disabled, .woocommerce button.button.alt.disabled:hover, .woocommerce button.button.alt:disabled, .woocommerce button.button.alt:disabled:hover, .woocommerce button.button.alt:disabled[disabled], .woocommerce button.button.alt:disabled[disabled]:hover, .woocommerce input.button.alt.disabled, .woocommerce input.button.alt.disabled:hover, .woocommerce input.button.alt:disabled, .woocommerce input.button.alt:disabled:hover, .woocommerce input.button.alt:disabled[disabled], .woocommerce input.button.alt:disabled[disabled]:hover,.woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
border: 1px solid #ccc;
border-color: #ccc #ccc #bbb #ccc;
border-radius: 5px;
background: #00729C;
color: rgba(255, 255, 255, 1);
cursor: pointer;
-webkit-appearance: button;
font-size: .9rem;

line-height: 16px;
text-transform: uppercase;
-webkit-transition: all 500ms ease-in-out;
-moz-transition: all 500ms ease-in-out;
-ms-transition: all 500ms ease-in-out;
-o-transition: all 500ms ease-in-out;
transition: all 500ms ease-in-out;
padding: 10px;
}

.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover ,button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
border-color: #ccc #bbb #aaa #bbb;
background: #C9DDE0;
}

button:focus,
html input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
html input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
border-color: #aaa #bbb #bbb #bbb;
}

input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box;
/* Addresses box sizing set to content-box in IE8/9 */
padding: 0;
/* Addresses excess padding in IE8/9 */
}

input[type="search"] {
-webkit-appearance: textfield;
/* Addresses appearance set to searchfield in S5, Chrome */
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box;
/* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
box-sizing: content-box;
}

input[type="search"]::-webkit-search-decoration {
/* Corrects inner padding displayed oddly in S5, Chrome on OSX */
-webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
/* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
border: 0;
padding: 0;
}

input[type=text],
input[type=email],
textarea {
color: #666;
border: 1px solid #ccc;
border-radius: 3px;
}

input[type=text]:focus,
input[type=email]:focus,
textarea:focus {
color: #111;
}

input[type=text],
input[type=email] {
padding: 3px;
}

textarea {
overflow: auto;
/* Removes default vertical scrollbar in IE6/7/8/9 */
padding-left: 3px;
vertical-align: top;
/* Improves readability and alignment in all browsers */
width: 98%;
}
a {word-wrap: break-word;
overflow-wrap: break-word;
-ms-hyphens: auto;
-moz-hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto;}
.break, p , ol, ul, li{
/* These are technically the same, but use both */
overflow-wrap: anywhere;


}
.breakword {
word-break: break-all!important;}

/* Adds a hyphen where the word breaks, if supported (No Blink) */
-ms-hyphens: auto;
-moz-hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto;
}

img.alignright,
.alignright {
float: right;
margin: 0 0 8px 12px!important;
}

img.alignleft,
.alignleft {
float: left;
margin: 0 12px 8px 0!important;
}

img.aligncenter,
.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}

a img.alignright,
.alignright {
float: right;
margin: 0 0 1rem 1.5em;
}

a img.alignleft,
.alignleft {
float: left;
margin: 0 1.5em 1rem 0;
}

a img.aligncenter,
.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}


/*** ##SOCIAL ****/

ul.socialicons {

list-style-type:none;
}
ul.socialicons li {
	display: inline;
      list-style: none;
}
.socialicons a img {
max-width: 30px;
height: auto;
}
.socialicons a img  {
-webkit-filter: grayscale(0%);
filter: grayscale(0%);
transition: .2s ease-in;
}
.socialicons a img:hover {
-webkit-filter: grayscale(100%);
filter: grayscale(100%);
}




a.cart-contents:before {
/** content: '\f447';
font: normal 18px/1 'Genericons'; **/
display: inline-block;
color: #00729C;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
vertical-align: top;
}

a.cart-contents:hover {
text-decoration: none;
}

.cart-contents-count {}

.woocommerce-store-notice,
p.demo_store {
    z-index: 999999;
    /* max-width: 1000px; */
    margin: 0 auto;
    font-weight: 100;
    line-height: 1;
}

.search-form button {
-moz-transform: translateX(0px) translateY(-3px);
-webkit-transform: translateX(0px) translateY(-3px);
-o-transform: translateX(0px) translateY(-3px);
-ms-transform: translateX(0px) translateY(-3px);
transform: translateX(0px) translateY(-3px);
}

.cartsearch #search {
text-align: right;
/* text-align: right; */
margin-top: -21px;
/* margin-right: 0; */
/* align-items: flex-end; */
float: right;
}

input.search-field {
height: 32px;
-webkit-border-radius: 5px;
border-radius: 5px;
padding: 0 0 0 10px;
}

.footer-widget-area .widget-title {

}

.footer-widget-area {
background-color: #C9DDE0;
padding: 10px;
}

.team-single-item {
padding: 1.5em
}

footer.entry-footer {
    margin: 1.75em 0;
    line-height: 1.75;
}
.video , .video-player{
	position:relative;
padding-bottom:56.25%;
width:100%;
height:0;
}
.video iframe {
	
	position:absolute;
	width:100%;
height:100%;
}

.video-player iframe, .video-player object, .video-player embed{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
}


#container {
margin: 0 auto;
max-width: 1220px;

}

.cartbox p,
.cartbox a.cart-contents {
margin: 0 0 4px 0;
font-size: .8rem;

font-family: 'Lato', sans-serif;
}

.cartbox {
text-align: right;
padding: 10px 4px 4px 0;
}

.cartbox .shop-links {
margin: 3px 0 3px 0;
}

.cartbox .header-cart {}

.cartbox .header-cart-contents {
font-size: .8rem;

display: inline-block;
vertical-align: top;
}

.cartbox .account-link {
box-shadow: 1px 0 0 rgba(0, 0, 0, 0.08);
display: inline-block;
margin: 2px 0 0;
padding: 0 5px 0 0;
line-height: 14px;
}

.cartbox .account-link a,
.cartbox a {
padding: 0 2px 0px;
border-radius: 3px;
text-decoration: none!important;
display: inline-block;
}

.eighthundred {
max-width:800px;
}

.gallery-columns-1 .gallery-item {
width: 100% !important;
}

.gallery-columns-2 .gallery-item {
max-width: 50% !important;
}

.gallery-columns-3 .gallery-item {
max-width: 33% !important;
}
/**** LINK STYLE ****/
article a {
text-decoration: none;
color: #00729C;
-webkit-transition: all 500ms ease-in-out;
-moz-transition: all 500ms ease-in-out;
-ms-transition: all 500ms ease-in-out;
-o-transition: all 500ms ease-in-out;
transition: all 500ms ease-in-out;
}
article a:link {
color: #00729C;
}
article a:visited {
color: #00729C;
}

article a:hover,
article a:focus {
color: #4D9DBA;
text-decoration: underline dotted #C1DEE4;
}
article a:active {
color: #00729C;
}
a {
text-decoration: none;
}
a:link {
color: #00729C;
}
a:visited {
color: #00729C;
}

a:hover,
a:focus {
color: #4D9DBA;
}
a:active {
color: #00729C;
}
.cartbox a {
text-decoration: none;
color: #000;
-webkit-transition: all 300ms ease-in-out;
-moz-transition: all 300ms ease-in-out;
-ms-transition: all 300ms ease-in-out;
-o-transition: all 300ms ease-in-out;
transition: all 300ms ease-in-out;
}
.cartbox a:link {
color: #000;
}
.cartbox a:visited {
color: #000;
}
.cartbox a:hover,
.cartbox a:focus {
color: #00729C;
}
.cartbox a:active {
color: #000;
}
h2.entry-title a {
text-decoration: none;
margin: 0;
color: #000;
-webkit-transition: all 300ms ease-in-out;
-moz-transition: all 300ms ease-in-out;
-ms-transition: all 300ms ease-in-out;
-o-transition: all 300ms ease-in-out;
transition: all 300ms ease-in-out;
}
h2.entry-title a:link {
color: #000;
}
h2.entry-title a:visited {
color: #000;
}
h2.entry-title a:hover,
h2.entry-title a:focus {
color: #00729C;
}
h2.entry-title a:active {
color: #000;
}
.site-header .branding .title {
letter-spacing: -2px!important;
-webkit-transition: all 500ms ease-in-out;
-moz-transition: all 500ms ease-in-out;
-ms-transition: all 500ms ease-in-out;
-o-transition: all 500ms ease-in-out;
transition: all 500ms ease-in-out;
}
a.read-more {
text-decoration: underline;
}
.header-image .overlay a {
color: #00729C;
}

a.btnbi{
    display: flex;
	flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    background-color: #00729C;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    color: #fff;
    text-transform: uppercase;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    margin: 6px 0;
    padding: 4px;
}
a.btnbi:link {
color: #fff;
background-color: #00729C;
}
a.btnbi:visited {
color: #fff;
background-color: #00729C;
}
a.btnbi:hover,
a.btnbi:focus {
color: #fff;
background-color: #4D9DBA;
}
a.btnbi:active {
color: #fff;
background-color: #00729C;
}

.single-conference a.btn,
.single-conference ._btn a  {
display: flex;
    background-color: #00729C;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    color: #fff;
    text-transform: uppercase;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    margin: 10px 0;
    padding: 6px 16px;
    align-items: center;
    justify-content: center;
}
a.btn,
._btn a  {
display: inline-block;
    background-color: #00729C;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    color: #fff;
    text-transform: uppercase;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    margin: 10px 0;
    padding: 6px 16px;
    align-items: center;
    justify-content: center;
}
a.btn:link,
._btn a:link {
color: #fff;
background-color: #00729C;
}
a.btn:visited,
._btn a:visited {
color: #fff;
background-color: #00729C;
}
a.btn:hover,
a.btn:focus,
._btn a:hover,
._btn a:focus {
color: #fff;
background-color: #4D9DBA;
}
a.btn:active,
._btn a:active {
color: #fff;
background-color: #00729C;
}

.btngroup {display: flex;
    gap: 0.01em;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    }

button {
-webkit-border-radius: 5px;
border-radius: 5px;
padding: 8px;
font-weight: 300;
margin: 8px 0;
}
a.button:link,
#mc-embedded-subscribe-form input#mc-embedded-subscribe:link,
.button,.wpcf7-submit,.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
margin: 10px 2px;
color:#fff !important;
text-transform: uppercase;
font-family: 'Lato', sans-serif;
background-color:
#00729C !important;
text-align: center !important;
/*padding: 10px;*/
font-weight: 400 !important;
overflow: hidden;
-webkit-border-radius: 5px;
border-radius: 5px;
-webkit-transition: all 500ms ease-in-out !important;
-moz-transition: all 500ms ease-in-out !important;
-ms-transition: all 500ms ease-in-out !important;
-o-transition: all 500ms ease-in-out !important;
transition: all 500ms ease-in-out !important;
text-shadow: 1px 1px 2px #545454;
display: inline-block;
line-height: 1;
}
a.button:visited,
#mc-embedded-subscribe-form input#mc-embedded-subscribe:visited,.woocommerce #respond input#submit:visited, .woocommerce a.button:visited, .woocommerce button.button:visited, .woocommerce input.button:visited {
color: #fff!important;
background-color: #00729C!important;
/*padding: 10px;*/
}
a.button:hover,
#mc-embedded-subscribe-form input#mc-embedded-subscribe:hover,.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button, .woocommerce input.button:hover {
color: #fff!important;
background-color: #4D9DBA!important;
text-align: center!important;
/*padding: 10px;*/
}
a.button:active,
#mc-embedded-subscribe-form input#mc-embedded-subscribe:active,.woocommerce #respond input#submit:active, .woocommerce a.button:active, .woocommerce button.button:active, .woocommerce input.button:active {
color: #fff;
background-color: #00729C!important;
text-transform: uppercase!important;
font-family: 'Lato', sans-serif!important;
-webkit-transition: all 500ms ease-in-out!important;
-moz-transition: all 500ms ease-in-out!important;
-ms-transition: all 500ms ease-in-out!important;
-o-transition: all 500ms ease-in-out!important;
transition: all 500ms ease-in-out!important;
}

section.widget_blog_subscription {
padding: 2px 10px;
}
.widget_blog_subscription h3{
font-size: 1.5rem;

}
.woocommerce-loop-product__title {
color:#000;
}
/**** END LINKS ****/
body.single-speakers h1.entry-title {
margin-bottom: 1em!important;

}
h2.entry-title, body.single-post h1.entry-title 
{
margin: 0!important;
}
body.single .entry-content header {
margin:50px 0 15px 0;
}

.metaslider.ms-theme-cubic.ms-is-small {
padding-bottom: 0!important;
}
.bordergrey {
border: 1px solid #b2b2b2;
padding: 4px;
}
.borderblue {
border: 1px solid #00729C;
padding: 4px;
}
.product_cat-e-book .product_title.entry-title,
.product_cat-e-book h2.woocommerce-loop-product__title,
.product_cat-books .product_title.entry-title,
.product_cat-books h2.woocommerce-loop-product__title {
font-style: italic;
}
.woocommerce-page table.woocommerce-table {
	display:grid;
}
.woocommerce-page table.woocommerce-table .button {
	
white-space: break-spaces;
}
.single-mt-magazine .attachment-post-thumbnail, 
.role-organizer  .woocommerce-MyAccount-navigation, 
.role-organizer .woocommerce-MyAccount-content-links  {
	
	display:none;
	
	}
	
main#content,
.woocommerce section#main {
padding: 10px;
}
section#sidebar {

}
#footer {
background-color: #00729C;
padding: 20px;
}
#footer-menu {
list-style: none;
margin: 0;
padding: 0;
text-align: center;
font-size: .85rem;
}
#footer-menu li {
display: inline;
}
#footer-menu a {
display: inline-block;
padding: 10px;
color: #fff;
}
#copyright p {
text-align: center;
font-size: .85rem;
color: #fff;
}

/* Custom CSS From Previous Theme*/

/*	
##ARTICLETEMPLATES
##MOBILE
##WOO
##TABLES
##EMBEDFORMS
##ELEMENTS
##TYPOGRAPHY
##HIDES
##DIVS
##MASONRY
*/

/*************** ##TYPOGRAPHY ****************/
.gray {
color:#8e8e8e!important;
}
article {
 position: relative;
}
#sidebar .woocommerce ul.products li.product .woocommerce-loop-category__title,#sidebar 
.woocommerce ul.products li.product .woocommerce-loop-product__title,#sidebar 
.woocommerce ul.products li.product h3 {
font-size:1.125rem;

text-align: center;
line-height:1.1;
}
.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h3 {
font-size:1.250rem;

text-align: center;
}
ul.columns-3 .woocommerce-loop-product__title {
min-height:100px;

}
.woocommerce-Price-amount, .woocommerce-variation-price {
font-size: 118%;
}
.product-in-cat-3129 span.wc-memberships-variation-member-discount:after {
content: "*";
color: blue;
} 
p.price, span.price {
color:#141414!important;
	
}
.woocommerce ul.products li.product .price {
text-align: center;
color:#141414!important;
font-size:.9rem!important;

}
.woocommerce ul.products li.product .button {

width: 95%;
}
.freearticle {
font-size: .9rem;

font-weight: 300;
}
.woocommerce ul.products li.product h2,
.woocommerce-page ul.products li.product h2,
.woocommerce ul.products li.product h3,
.woocommerce-page ul.products li.product h3 {
line-height: 26px;
}

section .woocommerce-page.columns-1 ul.products li.product, .woocommerce.columns-1 ul.products li.product {
margin-bottom:0;

}
article h1,
article h2,
article h3 {
margin: 29px 4px 10px 4px;
}
.nivo-caption {
background: none!important;
}
.faqques {
font-size: 1.063rem;
font-weight: 700;
}
h1.product_title {
font-weight: 900;
}
.italic {
font-style: italic;
}
.advertiser,
.advertiser h3 {
font-family: "Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace;
}
.homeboxcontent p {
margin: 0!important;
}
h3.programdates {
background-color: #474747;
color: #fff;
padding: 4px;
}
.error404 h1 {
font-size: 2rem;
}
article h1.entry-title,
h2.entry-title a,
h1.entry-title,
h1.entry-title a {
font-weight: bold;
line-height: 36px;
/*font-size: 2rem;*/
}
p.smaller,
div .smaller p {
font-size: 90%
}
p.bigger,
div.bigger p {
font-size: 120%;
}
body.archive h1.page-title, body.blog h1.page-title {
background-color: #474747;
color: #fff;
padding: 4px;
font-size: 1.375rem;
margin: 12px 0;
font-weight: 400;
}
figcaption {
max-width: 48ch;
}
.wp-block-image figcaption{
	font-size:.755rem;
	text-align:center;
	
}

.featured-image-caption{
	font-size:.755rem;
	text-align:right;
}

/*********** ##ELEMENTS   *************/
.hrshort {
width: 70%;
margin: 0 auto;
margin-bottom: 1.5em;
}
div.advertiser {
width: 95%;
margin: 0 auto;
}
.article-img {
font-size: .85rem;
}
article .entry-date {
display: none;
}
article .entry-meta {
font-size: .875rem;

}
.header-image .overlay {
letter-spacing: 0px;
margin: 0 0 0;
padding: 0;
position: relative;
text-align: right;
top: 0;
width: 100%;
z-index: 8;
line-height: 1;
word-wrap: break-word;
font-size: .8rem;
}
.header-image .overlay .opacity {
padding: 4px;
margin: 0 auto;
position: relative;
display: block;
width: 100%;
font-weight: 300;
}
.photocred {
text-align: right;
margin-top: -26px;
font-size: .8rem;
}
hr.conf {
background-color: #474747;
height: 2px;
}
ul.doula button {
width: 100%;
}
.team-listing_item {}
ul.inline {
margin: 0;
padding: 0;
}
ul.inline li {
display: inline;
list-style: none;
margin-left: auto;
margin-right: auto;
top: 0px;
height: 50px;
margin: 10px;
padding: 10px;
}
ul.toc {}
.h3toc, h3.toc {

margin-bottom: 3px!important;
margin-top: 1rem!important;
font-weight: 700;
}
.breadcrumb-container {
max-width:1200px;
margin:0 auto;
width:100%;
}
.breadcrumbs > * {
font-size: .8rem;
}


ul.enewsdates li {
display: inline-block;
padding: 8px;
}
ul.templateslist li img {
max-width: 30px;
}
ul.templateslist li {
display: inline-block;
padding: 8px;
min-width: 220px;
border: 1px solid #bdbdbd;
}
span.special {}
blockquote {
background: none;
margin: 0;
padding: 0;
}
blockquote {
width: 93%;
margin: 33px auto;
border-top: 8px solid #727272;
border-bottom: 4px solid #727272;
}
blockquote p {
padding: 10px;
font-family: "Lora", sans-serif;
margin: 0;
}

/**** fix ***/
ul.inlinelist {
list-style: disc;
}
ul.inlinelist li {
float: left;
margin: 10px !important;
padding: 6px;
}
body.tax-jetpack-portfolio-type .page-title,
body.post-type-archive-jetpack-portfolio .page-title {
position: absolute !important;
top: -9999px !important;
left: -9999px !important;
}
body.tax-jetpack-portfolio-type .content-area {
margin-top: 40px;
}
ul.toc li,
article ul li,
article ol li {
margin: .9em 0;
}

img.countryflaglink {
    max-height: 4em;
    width: auto;
    margin-right: 2px;
    outline: #a3a3a3 .005em solid;
}
@supports (-ms-accelerator:true) {
img.countryflaglink {
max-height: 4em !important;
}
}
@supports (-ms-accelerator:true) {
img.countryflag {
max-height: 200px !important;
}
}
img.countryflag {
max-height: 200px;
width: auto;
    outline: #a3a3a3 .05em solid;
}
p.ulhead {
margin: 0;
font-weight: 700;
font-style: italic;
}
article ul ul li,
article ul ol li {
margin: 6px 0 10px 0!important;
}
article ul,
article ol {
margin: 0 0 20px 30px !important;
}

/*********** ##HIDES ******************/
.displaynone,.xoxo .wc-memberships-restriction-message,.homegrid .wc-memberships-restriction-message,  
a.displaynone,
.variation-Agree, 
.product-template-default .jp-relatedposts,
.home .breadcrumbs,
.woocommerce .breadcrumbs,
.single-mt-magazine .author-description, .single-speakers .jp-relatedposts, .single-speakers .jp-relatedposts, .single-speakers .nav-links  {
display: none!important;
}
.author-avatar, .archive-container .woocommerce-info,
.country-contact-template-default .author,
.country-contact-template-default .jp-relatedposts {
display: none!important;
}
.hide,
.category-e-news .entry-meta,
li.additional_information_tab,
.mt-magazine-template-default .entry-meta,
.page-id-14 h1.entry-title, .single-conference .entry-title {
position: absolute !important;
top: -9999px !important;
left: -9999px !important;
}


/** ##ARTICLETEMPLATES **/

div.poem, div.credit, address {
margin-bottom: 1.5em;}

.poem p, address p, .credit p {
margin: 0 0 0 0!important;
}

.poetry {
font-size: 1.3rem;
}
.ednote{
border-top: 1px solid #b7b7b7;
border-bottom: 1px solid #b7b7b7;
padding: 4px;
}
p.ednotetop,
div.ednotetop p{

font-size: 1rem!important;
}
.ednotetop{
background-color: #f9f9f9;
border: 1px solid #b7b7b7;
margin: 10px;
padding: 10px;
}


.ednotehighlight{
font-size: 95%!important;
	width:95%;
background-color: #f5fbff;
border: 1px solid #cecece;
margin:10px auto 24px auto!important;
padding: 10px;
clear: both;
}
.nobullet {

list-style-type: none;
}

.p-indent {
margin-left: 15px;
}
.highlight {
border-top: 3px solid #b7b7b7;
border-bottom: 3px solid #b7b7b7;
padding: 4px;
}
.ednoteinline {
width: 94%;
border-top: 1px solid #b7b7b7;
border-bottom: 1px solid #b7b7b7;
padding: 8px;
margin: 10px auto 14px auto;;
}
.ednotetranslate {
width: 96%;
border-top: 1px solid #b7b7b7;
border-bottom: 1px solid #b7b7b7;
padding: 8px;
margin: 10px auto;
font-size: .875rem;
}
.quote {
width: 96%;
border-top: 1px solid #b7b7b7;
border-bottom: 1px solid #b7b7b7;
padding: 8px;
margin: 10px auto;
}

/* other templates */
.conferencepage {
border-top: 2px solid #e0e0e0;
border-bottom: 2px solid #e0e0e0;
padding: 15px 0 0 0;
margin: 0 0 10px 0;
}
.conference-template-default .author,
.conference-template-default .post-navigation,
.conference-template-default .page-links,
.post-132 .page-links {
display: none;
}

/******* ##DIVS ****/
.banner {
margin: 10px 10%;
text-align: center;
background-color: #a473d6;
padding: 10px;
color: #fff;
-webkit-border-radius: 10px;
border-radius: 10px;
text-shadow: 1px 1px 4px #212121;
font-size: 1rem;
}
.team-item {
border: 1px solid #ccc;
padding-bottom: 0px;
padding: 5px;
margin: 1px;
text-align: center;
}
h5.team-listing_name a {
font-family: 'Lato', sans-serif!important;
}
h5.team-listing_name {
margin: 0;
}
.page .page-links a {
padding: 0px 8px;
border: 2px solid #8d8d8d;
margin: 1px;
}

.leaf {
width: 100%;
height: 20px;
margin: 20px 0;
background-image: url('https://midwiferytoday.com/assets/leaf.svg');
background-size: contain;
background-repeat: no-repeat;
background-position: center top;
}
.page .page-links {
clear: both;
margin: 0;
width: 100%;
text-align: center;
font-size: .875rem;
background-color: #CCF1FF;
padding: 8px;
}
p.pindent,
p.indent {
text-indent: 1.8em;;
}
div.pindent, p.indent {

	margin-left:1.8em;
}
.sideborder {
    border: 1px solid #d7d7d7;
    padding: 3px;
}
.sideborder p.has-text-align-center {
	    font-size: 88%;
    margin: 0;
    color: #686868;
}

article li a {
	word-break: break-all;
}

.wp-caption .wp-caption-text {
font-size: .75rem !important;

}
.mejs-controls/* media player */
{
background: #00729C!important;
}
.blog article.membership-content .entry-title::after,.archive article.membership-content .entry-title::after,
.search-results article.membership-content .entry-title::after { 
content: url(https://midwiferytoday.com/wp-content/uploads/2018/03/heart-pink-m2-30px.png);
}

.memheartbigbefore::before { 
content: url(https://midwiferytoday.com/wp-content/uploads/2018/03/heart-pink-m2-30px.png);
width:30px;
height:auto;
margin:0 8px 0 0;
}
.memheart::after, .cat-membership .title::after { 
content: url(https://midwiferytoday.com/wp-content/uploads/2019/09/heart-pink-m2-15px.png);
width:15px;
height:auto;
margin:0 0 0 4px;
}
a.page-numbers {
    border: none!important;
    display: inline-block!important;
    height: 3em!important;
    line-height: 1!important;
    margin: 0!important;
    min-width: 3em!important;
    text-align: center!important;
    text-decoration: none!important;
}
.spacer14 {
height: 14px;
clear: both;
}
.spacer {
height: 36px;
clear: both;
}
.archive-meta{
padding: 8px;
margin: 33px auto;
border-bottom: 10px solid #e0e0e0;
}
.entry-summary {
border-bottom: 1px solid #e0e0e0;
margin: 0 0 30px;
padding: 0 0 30px;
}
.headinline {
display: inline;
}
.enewsquote {
width: 80%;
margin: 0 auto;
padding: 10px;
border: 1px solid #aaa;
}
.testimonial-field.testimonial-name::before {
content: "—";
}
.author-description .author-title {
font-size: 1.4rem;
}
.conference-template-default .jp-relatedposts,
body.page-id-94 .post-loop-content h2.entry-title,
.wc-memberships-member-discount-message {
position: absolute !important;
top: -9999px !important;
left: -9999px !important;
}
.mc-field-group {
font-size: .875rem;
}
.mc-field-group input {
margin: 2px;
}
.conferenceheader {
	text-align: center;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	margin: 0 0 10px 0;
   line-height: 1.35;
}

.conferenceheader h2,.conferenceheader h3,.conferenceheader h4 {
	margin:0;
}
.conferenceheader h3 {
	font-weight: 700;
}
.conferenceheader h2 {
	font-family: 'Lato', sans-serif;
	text-transform: uppercase;
	font-weight: 300;
}
.conferenceheader h3 {
font-weight: 400;
}
.conferenceheader h4 {
font-family: 'Lato', sans-serif;
font-style: italic;
font-weight: 400;
}
.outerpsd {
float: left;
border: 1px solid #ccc;
min-width: 154px;
float: left;
max-height: 44px;
margin: 2px;
}
.outer {
border: 1px solid #ccc;
min-width: 242px;
float: left;
max-height: 44px;
margin: 2px;
}

.cell-left {
min-width: 110px;
float: left;
line-height: 42px;
padding-left: 2px;
}
.cell-icon img {
max-width: 40px;
}
.cell-icon {
float: left;
}
.wp-caption-text {
text-align: center;
background-color: #FCFCFC;
box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.08) inset;
border-radius: 0 0 0 0;
}
.single-team .jp-relatedposts {
position: absolute !important;
top: -9999px !important;
left: -9999px !important;
}
.author.vcard {
font-style: italic;
}
.single-wpm-testimonial .author {
display: none;
}
.taxonomy-description:after {
content: "";
display: table;
clear: both;
}
#mc-embedded-subscribe-form input#mc-embedded-subscribe:hover {

}
#mc-embedded-subscribe-form input#mc-embedded-subscribe {
color: #fff;
text-transform: uppercase;
background-color: #00729C;
-webkit-border-radius: 5px;
border-radius: 5px;
font-family: 'Lato', sans-serif;
-webkit-transition: all 500ms ease-in-out;
-moz-transition: all 500ms ease-in-out;
-ms-transition: all 500ms ease-in-out;
-o-transition: all 500ms ease-in-out;
transition: all 500ms ease-in-out;
text-transform: uppercase;
/*padding: 10px;*/
margin: 8px 0;
}

/*** ##TABLES **/
.divTable,
.adTable,
.mech .divTable,
.adrateTable {
display: table;
width: 100%;
}
.divTableRow,
.adTableRow,
.mech .divTableRow,
.adrateTableRow {
display: table-row;
}
.divTableHeading,
.adTableHeading,
.mech .divTableHeading,
.adrateTableHeading {
background-color: #EEE;
display: table-header-group;
}
.divTableCell,
.divTableHead,
.adTableCell,
.adTableHead,
.mech .divTableCell,
.mech .divTableHead,
.adrateTableCell,
.adrateTableHead {
border: 1px solid #999999;
display: table-cell;
padding: 3px 10px;
}
.divTableHeading,
.adTableHeading,
.mech .divTableHeading,
.adrateTableHeading {
background-color: #EEE;
display: table-header-group;
font-weight: bold;
}
.divTableFoot,
.adTableFoot,
.mech .divTableFoot,
.adrateTableFoot {
background-color: #EEE;
display: table-footer-group;
font-weight: bold;
}
.divTableBody,
.adTableBody,
.mech .divTableBody,
.adrateTableBody {
display: table-row-group;
}
.shipTable {
display: table;
width: 100%;
text-align: center;
}
.shipTableRow {
display: table-row;
background-color: #FFF;
}
.shipTableCell,
.shipTableHead {
border: 1px solid #515151;
display: table-cell;
padding: 3px 10px;
}
.shipTableHeading {
background-color: #474747;
font-weight: bold;
}
.shipTableFoot {
background-color: #FFF;
display: table-footer-group;
font-weight: bold;
}
.shipTableBody {
display: table-row-group;
}
.biobox {
border: 1px solid #ccc;
padding: 4px;
margin: 4px;
}

/** ##WOO **/
.product .entry-meta {
display: none;
}
.woocommerce span.onsale {
	background-color: #00729CB3!important;
}
.woocommerce ul.products li.product .onsale.wc-memberships-member-discount {
right: 0!important;
margin-right: 0!important;
margin-left: 0!important;
left: 0!important;
width: 82%!important;
top: -30px!important;
background-color: #00729CB3!important;
-webkit-border-radius: 10px !important;
border-radius: 10px !important;
margin: 0 auto!important;
text-transform: uppercase!important;
line-height: 1.5!important;
}

.woocommerce .entry-summary .single_variation_wrap,
.woocommerce-page .entry-summary .single_variation_wrap {
text-align: left;
font-size: .8rem;

}
.woocommerce span.onsale.wc-memberships-member-discount {
    left: 0;
    margin-right: 5.5em;
 border-radius: 4em!important;
    line-height: 3.236!important;
    background-color: #0d719ce3;
    paddin: 0 .5em!important;
}
.woocommerce-Tabs-panel--additional_information {
position: absolute !important;
top: -9999px !important;
left: -9999px !important;
}
.woocommerce-Tabs-panel h2 {
font-family: 'Lato', sans-serif;
font-size: 1rem;

margin-bottom: 18px;
text-transform: uppercase;
}
.woocommerce-Tabs-panel h3 {
font-size: 1.250rem;
margin-bottom: 3px!important;
margin-top: 1rem!important;
}
.woocommerce-Tabs-panel .tocdesc {
min-height: 320px;
margin-bottom: 20px;
}
.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img,
a img attachment-shop_single,
a img size-shop_single {
border: 1px solid rgba(0, 0, 0, 0.0)
}


/* ##HOMEPAGE elemets */
.homeboxcontent {
min-height: 390px;
text-align: center;
}
.homeboxcontent h2,
.homeboxcontent h2 a {
font-size: 1.2rem;
text-align: center;
font-weight: 900;
margin: 10px 0 6px 0!important;
}

.adboxcontent {
text-align: center;
}

/*** ##EMBEDFORMS *********************/
#mc-embedded-subscribe-form input#mc-embedded-subscribe:link {
color: #fff;
background-color: #00729C;
text-align: center;
}
#mc-embedded-subscribe-form input#mc-embedded-subscribe:visited {
color: #fff;
background-color: #00729C;
text-align: center;
}
#mc-embedded-subscribe-form input#mc-embedded-subscribe:hover {
color: #fff;
background-color: #4D9DBA;
text-align: center;
}
#mc-embedded-subscribe-form input#mc-embedded-subscribe:active {
color: #fff;
background-color: #00729C;
text-align: center;
}
.sideadspecial {
border: 1px solid #cecece;
background-color: #e0f7ff;
padding: 4px;
}
.fifty {
margin: 21px 8px;
padding: 8px;
outline: 1px solid #C9DDE0;
box-sizing: border-box;
}
.listing-item .author {
font-size: .8rem;
}
.homefeatured {
	text-align:center;
}
.homegrid .listing-item .title, .homefeatured .listing-item .title {
font-family: 'Lora', serif;
font-weight: bold;
font-size: 1.125rem;

}
.listing-item {
margin:0;
/*line-height: 1.2;*/
}
.listing-item span.author::before {
content: "\A";
white-space: pre;
}
.listing-item span.excerpt::before {
content: "\A";
white-space: pre;
}



/* ###########################*/

/* On screens that are 1025px or more, */

@media screen and (min-width: 1025px) {
	html {
		font-size:16px;
		}
		
.contentgrid {
	
}
.contentgridfull {
	
}

main#content-fullpage {

padding: 10px;
}

main#content,
.woocommerce section#main {

padding: 6px;
}

section#sidebar {
padding-right: 4px;
margin: 12px 0;
}				
		
		
		
	/*** ##MENU ##NAVIGATION ***/

ul.sub-menu li a{
	min-width:250px;
}
ul.sub-menu {
text-transform: none;
}

nav#menu {
width: 100%;
background: #00729C;
	position: sticky;
    top: 0;
    z-index: 1000;
}

nav ul.menu {
    padding: 0;
    margin: 0 auto;
    list-style-type: none;
    min-height: 54px;
    text-transform: uppercase;
    font-weight: 400;
    max-width: 1200px;
    display: flex;
    align-content: center;
    justify-content: space-around;
    align-items: center;
}

nav ul.menu li {

}

nav ul.menu li a {
padding: 17px 20px;
display: block;
color: #fff;
text-decoration: none;
font-size: 1rem;
text-shadow: 1px 1px 2px #545454;
-webkit-hyphens: none;
    -moz-hyphens:    none;
    -ms-hyphens:     none;
    hyphens:         none;
}


/* Submenu */

.sub-menu {
z-index: 9999;
margin-top: 12px;
}

nav ul.menu ul {
position: absolute;
left: -9999px;
top: -9999px;
list-style-type: none;
}

nav ul.menu li:hover {
position: relative;
background: #4D9DBA;
}

nav ul.menu li:hover ul {
left: 0px;
top: 40px;
background: #4D9DBA;
padding: 0px;
}

nav ul.menu li:hover ul li a {
padding: 5px 15px;
display: block;
width: 220px;
background-color: #4D9DBA;
}

nav ul.menu li:hover ul li a:hover {
background: #00729C;
}


.footer-widget-area .oxox section:last-child  {
	text-align: right;
}
.footer-widget-area .oxox > *{

padding: 4px;
}
.footer-widget-area .oxox {
display: grid;
grid-template-columns: 25% 25%;
justify-content: space-between;
}

.mobilemenuwrapper {
display:none;
}
.mobileonly {
	display:none;
}
.desktoponly {
	display:block;
}
.sidebarnarrow {
    background-color: #f1fdff;
    width: 40%;
    max-width: 350px;
    border: 1px solid #a6a6a6;
    padding: 10px;
    margin: 4px 0 4px 8px;
    float: right;

}
ul.btngrp {
    margin: 0!important;
    list-style-type: none;
    display: flex;
    gap: 0.1em;
    align-items: stretch;
    text-align: center;
    }
.homeboxcontent h2,
.homeboxcontent h2 a {

text-align: center;
font-weight: 900;
margin: 10px 0 6px 0!important;
}

.seventyeightfloatleft {
width: 78%;
float: left;
}

.flexbox {
display:flex;
flex-flow:wrap;
}


/* HOMEPAGE */
.postid-36757 .pofw-product-options-wrapper {
    margin-bottom: 20px;
    max-height: 600px!important;
    overflow-y: scroll!important;
    border: 1px solid #333!important;
}

.postid-36757 .options-list.nested .choice {
border: 1px solid #333;
padding: 2px;
margin: 2px;
}

.options-list.nested {font-family: 'Lato', sans-serif !important;
display: grid;
grid-gap: 2px; 
grid-template-columns: 1fr 1fr 1fr;
}
.homegrid {
display: grid;
grid-gap: 40px;
grid-template-columns: 1fr 1fr;
justify-content: space-between;
text-align:center;

}

.onegrid {
display: grid;
grid-gap: .5em; 
grid-template-columns: 1fr;

}
.eightgrid {
display: grid;
grid-gap: .5em; 
grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
text-align: center;
}
.twogrid {
display: grid;
grid-gap: 1.1em; 
grid-template-columns: 1fr 1fr;
}

.threegrid {
display: grid;
grid-gap: .5em; 
grid-template-columns: 1fr 1fr 1fr;
}



.fourgrid {
display: grid;
grid-gap: .5em; 
grid-template-columns: 1fr 1fr 1fr 1fr;
}


.twoleftcolumn {
		display: grid;
grid-gap: .5em; 
grid-template-columns: auto 80%;
		
	}

/* END HOMEPAGE */

.issuebox-container {
display: grid;
grid-gap: .5em; 
grid-template-columns: repeat(3, 1fr);
}
.issuebox .smaller {
margin-top: -26px;
font-weight:bold;

}
.issuebox {
padding: 8px;
box-sizing: border-box;
text-align:center;
border: 1px solid #ccc;
}



.adbox {
margin: 0 2px;
padding: 0;
box-sizing: border-box;
}

.homeboxcontent p {
margin: 0!important;
}

.homeboxcontent {
min-height: 225px;
text-align: center;
}

.homebox img {
border: 1px solid #383838;
}

.btngroup {
display: flex;
    gap: 0.25em;
    flex-direction: row;
    align-items: stretch;
    text-align: left;
    align-content: center;
    }
	}/* end desktop display */



/* -#############################- */




@media screen and (max-width: 60px) {
#container {
display: block;
}
.footer-widget-area .oxox {
display: block;
}
	}



/* -#############################- */



@media screen and (max-width:1024px) {

	.mobileonly {
	display:block;
}
.desktoponly {
	display:none;
}
ul.btngrp {
    margin: 0!important;
    list-style-type: none;
    display: block;
    gap: 0.1em;
    align-items: stretch;
    text-align: center;
    }
.sidebarnarrow {
	background-color:#f1fdff;
	width:100%;
	border:1px solid #a6a6a6;
	padding:10px;
	margin:4px 0 4px 8px;
}
.mobilemenuwrapper {
width: 100%;
border-bottom:1px solid #00729C;
margin-bottom:2px;
}
	.headerleft {
		display: grid;
justify-items: center;
	}
	article h1.entry-title, article  h2.entry-title {
line-height:1.2!important;	
	}
		.xoxo {
		 text-align: center;
 width:80%;
		margin:0 auto;
	}
	.custom_html-6 {
grid-column-start: 1;
grid-column-end: 3;
}

main#content-fullpage {

padding: 10px;
}
#header #search {
display:none;
}
		}
		

/* -#############################- */



		
@media screen and (min-width: 601px) and (max-width:1024px) {

.footer-widget-area .oxox section:last-child  {
	text-align: right;
}
.footer-widget-area .oxox {
display: grid;
grid-template-columns: 1fr 1fr;
justify-content: space-between;
}
.footer-widget-area .oxox > *{
padding: 4px;
}

.nav-previous {
float: left;
}
.nav-next {
float: right;
text-align: right;
}
.nav-previous,
.nav-next {
width: 48%;
}
	}


/* -#############################- */



@media screen and (max-width: 899px) {
.logo img {
display: block;
margin: 20px 0;
}
.cartsearch {
margin-top: 20px;
display: grid;
justify-content: end;
}
.xoxo {
	text-align:center;
}
.xoxo section {
	margin: 8px 0;
	border-top:1px solid #cccccc;
}
.alignleft, .alignright {
	max-width:225px;
}
.speakergrid .picture img.wp-post-image {
	max-width:225px;
} 
.contentgrid {
	display:grid;
	grid-template-columns: 1fr;

}
#wrapper {
	overflow: hidden;
}

	} 
	

/* -#############################- */



	
@media screen and (min-width: 900px) {
	.speakergrid .picture img.wp-post-image {
	max-width:375px;
} 
	.xoxo section {
	margin:0 0 21px 0;
	}

header#header {
display:grid;
grid-template-columns:  1fr 1fr;
}
.headerright {
	display: grid;
	grid-template-columns: 1fr;
	justify-items: end;
}
.cartsearch {
padding: 4px;
box-sizing: border-box;
display: grid;
grid-template-columns: 1fr;
justify-items: end;
}
.logo img {
max-width: 250px;
padding: 8px;
margin: 5px 0 0 16px;
}
.logo {
flex: 2;
padding: 4px;
box-sizing: border-box;
}
.cartbox p,
.cartbox a.cart-contents {
margin: 0 0 4px 0;
font-size: .8rem;

font-family: 'Lato', sans-serif;
}
.cartbox {
text-align: right;
padding: 30px 0 0 8px;
}
.cartbox .shop-links {
margin: 3px 0 3px 0;
}
.cartbox .header-cart-contents {
font-size: .8rem;

display: inline-block;
vertical-align: top;
}
.cartbox .account-link {
box-shadow: 1px 0 0 rgba(0, 0, 0, 0.08);
display: inline-block;
margin: 2px 0 0;
padding: 0 5px 0 0;
line-height: 14px;
}
.cartbox .account-link a,
.cartbox a {
padding: 0 5px 0px;
border-radius: 3px;
text-decoration: none!important;
display: inline-block;
}

.contentgrid {
display:grid;
grid-template-columns: 72% auto;
grid-gap: 2%;
overflow:hidden;
}
.shopgrid {
	display:grid;
grid-template-columns: 75% auto;
grid-gap: 2%;
}
footer#footer{
	grid-column-start: span 3;
}
contentgridfull {
	display:grid;
	grid-template-columns: 1fr;
	
}


	}




/* -#############################- */




/******************** ##SPECIAL MOBILE ****************/


@media only screen and (max-width: 600px) {
.postid-36757 .options-list.nested .choice {
border: 1px solid #333;
padding: 2px;
margin: 2px;
}

.postid-36757 .options-list.nested {
	font-family: 'Lato', sans-serif !important;
display: grid;
grid-gap: 2px;
grid-template-columns: 1fr 1fr;
}	
	
.eightgrid {
display: grid;
grid-gap: .5em; 
grid-template-columns: 1fr 1fr 1fr;
text-align: center;
}
	ul.authorlist {
	display: grid;
grid-gap: 10px;
grid-template-columns: 1fr 1fr ;
text-align: center;
	
}
ul.authorlist,
ul.su-posts-list-loop {
margin: 0!important;
padding: 4px;
}
.hidemobile {
	position: absolute !important;
top: -9999px !important;
left: -9999px !important;
}
.homegrid {
    display: grid;
    grid-gap: 40px;
    grid-template-columns: 1fr;
    justify-content: space-between;
}

ul.authorlist li,
ul.su-posts-list-loop li {
list-style-type:none;
padding: 4px;
margin: 2px !important;
outline: 1px #dadada solid;
width: 100%;

}

.newsbox {
width: 98%;
margin: 8px auto;
border: 1px solid #e7e7e7;
padding: 8px;
}

.mailchimp {
width: 100%;
border: 1px solid #ccc;
margin: 2px;
}

p.mc {
padding: 4px;
}
ul.authorlist,
ul.su-posts-list-loop {
margin: 0;
padding: 4px;
}

ul.su-posts-list-loop li {
display: inline-table;
padding: 4px;
margin: 2px !important;
outline: 1px #dadada solid;
width: 100%;
}

.headinline {
display: block;
}

.sidebar {
width: 98%;
margin: 6px auto;
border: 1px solid #cecece;
padding: 8px;
background-color: #f5fbff;
}

.countrycontact {
width: 98%;
margin: 6px auto;
padding: 8px;
border: #333 solid 1px;
}

.eighteenfloatleft ul li::after { 
content: " | ";
}
.eighteenfloatleft ul li{
display:inline;
}

.seventyeightfloatleft {
width: 100%;
}

.adtemplates a {
width: 98%;
}
.issuebox .smaller {
margin-top: -26px;
font-weight:bold;
}
.issuebox {
width:98%;
margin:0 auto;
padding: 8px;
box-sizing: border-box;
text-align:center;
border: 1px solid #ccc;
}
.mailchimp {
width: 100%;
float: left;
border: 1px solid #ccc;
margin: 2px;
}

p.mc {
padding: 4px;
}

	}


/* -#############################- */



@media only screen and (min-width: 601px) {
ul.authorlist,
ul.su-posts-list-loop {
margin: 0!important;
padding: 4px;
}



ul.authorlist {
	display: grid;
grid-gap: 10px;
grid-template-columns: 1fr 1fr 1fr;
text-align: center;
	
}

ul.authorlist li {
list-style:none;
padding: 4px;
margin: 2px !important;
outline: 1px #dadada solid;

}
/*** fix ***/

.newsbox {
width: 45%;
float: left;
border: 1px solid #e7e7e7;
margin: 8px;
padding: 8px;
}

.mailchimp {
width: 47%;
float: left;
border: 1px solid #ccc;
margin: 2px;
}

p.mc {
padding: 4px;
}
		}


/* -#############################- */



@media only screen and (min-width: 601px) and  (max-width: 1024px){
	
.headinline {
display: block;
}

ul.authorlist,
ul.su-posts-list-loop {
margin: 0;
padding: 4px;
}

ul.authorlist li,
ul.su-posts-list-loop li {
margin: 2px !important;
outline: 1px #dadada solid;

}

.countrycontact {
width: 46%;
float: left;
margin: 5px 8px;
padding: 8px;
border: #333 solid 1px;
height: 400px;
overflow: scroll;
}

.homeboxcontent h2,
.homeboxcontent h2 a {
font-size: 1.2rem;
text-align: center;
font-weight: 900;
margin: 10px 0 6px 0!important;
}


/* HOMEPAGE */
.postid-36757 .options-list.nested .choice {
font-family: 'Lato', sans-serif !important;
border: 1px solid #333;
padding: 2px;
margin: 2px;
}

.postid-36757 .options-list.nested {
display: grid;
grid-gap: 2px; 
grid-template-columns: 1fr 1fr 1fr;
}
.homegrid {
display: grid;
grid-gap: 10px;
grid-template-columns: 1fr 1fr;
justify-content: center;
}

.onegrid {
display: grid;
grid-gap: .5em; 
grid-template-columns: 1fr;

}
.eightgrid {
display: grid;
grid-gap: .5em; 
grid-template-columns: 1fr 1fr 1fr 1fr 1fr ;
text-align: center;
}
.twogrid {
display: grid;
grid-gap: .5em; 
grid-template-columns: 1fr 1fr;
}

.threegrid {
display: grid;
grid-gap: .5em; 
grid-template-columns: 1fr 1fr 1fr;
}



.fourgrid {
display: grid;
grid-gap: .5em; 
grid-template-columns: 1fr 1fr 1fr 1fr;
}


/* END HOMEPAGE */


.issuebox-container {
display: grid;
grid-gap: 16px; 
grid-template-columns: repeat(2, 1fr);
}

.issuebox .smaller {
margin-top: -26px;
font-weight:bold;
}
.issuebox {
padding: 8px;
box-sizing: border-box;
text-align:center;
border: 1px solid #ccc;
}

.homebox {
margin: 21px 8px;
padding: 8px;
box-sizing: border-box;
}



.homeboxcontent p {
margin: 0!important;
}

.homeboxcontent {
min-height: 407px;
text-align: center;
}

.homebox img {
/*
-webkit-border-radius: 70px;
border-radius: 70px; */
border: 1px solid #383838;
}

	}




/* FIXES */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
/* fix images in IE */
section#sidebar img{
max-width:250px;
}

section  input, section h2,section h3,section p,section ul{
max-width:250px;
}
	}

.single-mt-magazine li > strong {
	font-weight:400;
}
.single-speakers .entry-title {
	
	margin-bottom:1em!important;
}
h2.woocommerce-loop-product__title {
	word-break:keep-all;
}
.postid-48095 .wp-post-image {
	border: 1px solid #777;
}
.sgr-infotext, p.sgr-infotext {
	
	display:none;
}
