/*
Theme Name: IRANZ 2018 Theme
Theme URI:
Author: Mike Eastwood
Author URI: https://www.webalite.com
Description: New custom theme for IRANZ and International Rugby Academy using the new WordPress Gutenberg Editor.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: iranz-gutenbergtheme
Tags: translation-ready

Reference https://github.com/WordPress/gutenberg-theme/

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

gutenbergtheme is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
    ## Events Made (not so) Easy Forms
# Header
# Navigation
	## Links
	## Menus
	## Social
# Accessibility
# Alignments
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
# Other
	## Quotes
	## Homepage
	## Buttons
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden],
template {
  display: none;
}

a {
  background-color: transparent;
}

a:active,
a:hover {
  outline: 0;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b,
strong {
  font-weight: bold;
}

dfn {
  font-style: italic;
}

h1 {
  font-size: 2.44em;
  margin: 0.67em 0;
  line-height: 1.4;
}

h2 {
  font-size: 1.95em;
  line-height: 1.4;
}

h3 {
  font-size: 1.56em;
  line-height: 1.4;
}

h4 {
  font-size: 1.25em;
  line-height: 1.5;
}

h5 {
  font-size: 1em;
}

h6 {
  font-size: 0.8em;
}

mark {
  background: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

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

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 1em 40px;
}

hr {
  box-sizing: content-box;
  height: 0;
}

pre {
  overflow: auto;
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: bold;
}

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

td,
th {
  padding: 0;
}

main {
  overflow: auto;
}
/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

@font-face {
    font-family: 'bankgothicmedium';
    src: url('/wp-content/themes/iranz/fonts/bankgothicbt-medium-webfont.woff2') format('woff2'),
    url('/wp-content/themes/iranz/fonts/bankgothicbt-medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

body,
button,
input,
select,
optgroup,
textarea {
  color: #444;
    font-family: eurostile, sans-serif;
  font-size: 16px;
  font-size: 1rem;
  line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "bankgothicmedium";
  color: #32373c;
  clear: both;
}
.iraa-site h1, h2, h3, h3, h5, h6 {
  color: #00200b;
}


.entry-content > h2, .entry-header > h2,
.entry-content > h3, .entry-header > h3,
.entry-content > h4, .entry-header > h4 {
  font-family: eurostile, sans-serif;
}

.entry-header h1.entry-title {
  font-size: 2.44em;
  line-height: 1.4;
  margin: 1em 0;
  text-align: center;
}
@media screen and (max-width: 37.5em) {
  .entry-header h1.entry-title {
    font-size: 1.8em;
  }
}


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: 15px;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

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

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

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

big {
  font-size: 125%;
}

.archive .site-header {
	margin-bottom: 3.5em;
}

.site-title {
	margin: .4375em 0 0;
	font-size: 38px;
	font-weight: bold;
	line-height: 1.2;
	color: #333332;
    display: none;
}

.site-title a {
	text-decoration: none;
	color: inherit;
}

.site-branding {
	margin-bottom: 1.75em;
}

.site-description {
	margin: .4375em 0 0;
	font-size: 17px;
	font-weight: inherit;
	line-height: 1.4;
	word-wrap: break-word;
	color: #929292;
    display: none;
}
/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
  box-sizing: inherit;
}

body {
  background: #fff;
  /* Fallback for when there is no custom background color defined. */ }

blockquote, q {
  quotes: "" ""; }
  blockquote:before, blockquote:after, q:before, q:after {
    content: ""; }

hr {
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

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

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

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

dt {
  font-weight: bold;
}

dd {
  margin: 0 1.5em 1.5em;
}

img {
  height: auto;
  /* Make sure images are scaled correctly. */
  max-width: 100%;
  /* Adhere to container width. */
}

figure {
  margin: 1em 0;
  /* Extra wide images within figure tags don't overflow the content area. */
}

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

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

#masthead {
  background-color: #000;
  background-image: none;
  min-height: 100px;
}
.iraa-site #masthead {
  background-color: #1c6648;
}
.iranz-site #masthead {
  background-image: url(/wp-content/themes/iranz/images/IRANZ-Background-1440px-20180801.jpg);
  margin: 0;
  overflow: auto;
}
.iraa-site #masthead {
  background-image: url(/wp-content/themes/iranz/images/IRAA-Background-1440px-20191006.jpg);
  margin: 0;
  overflow: auto;
}
.home #masthead {
  background-size: cover;
  min-height: 320px;
}

@media screen and (min-width: 1025px) {
  .iranz-site #masthead {
    background-image: url(/wp-content/themes/iranz/images/IRANZ-Background-1440px-20180801.jpg);
    background-size: cover;

  }
  .iraa-site #masthead {
    background-image: url(/wp-content/themes/iranz/images/IRAA-Background-1440px-20191006.jpg);
    background-size: cover;
  }
  .home #masthead {
    min-height: 450px;
  }
}

@media screen and (min-width: 1441px) {

  .iranz-site #masthead {
    background-image: url(/wp-content/themes/iranz/images/IRANZ-Background-1920px-20180801.jpg);
    background-size: cover;

  }
  .iraa-site #masthead {
    background-image: url(/wp-content/themes/iranz/images/IRAA-Background-1920px-20191006.jpg);
    background-size: cover;
  }
  .home #masthead {
    min-height: 600px;
  }
}

@media screen and (min-width: 1921px) {

  .iranz-site #masthead {
    background-image: url(/wp-content/themes/iranz/images/IRANZ-Background-2560px-20180801.jpg);
    background-size: cover;

  }
  .iraa-site #masthead {
    background-image: url(/wp-content/themes/iranz/images/IRAA-Background-2560px-20191006.jpg);
    background-size: cover;
  }
  .home #masthead {
    min-height: 800px;
  }
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  font-size: 12px;
  font-size: 0.75rem;
  line-height: 1;
  padding: .6em 1em .4em;
}

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

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

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
  color: #111;
}

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}
/*--------------------------------------------------------------
## Events Made (not so) Easy Forms
--------------------------------------------------------------*/

form[name="eme-rsvp-form"] legend {
  font-weight: bold;
}
form[name="eme-rsvp-form"] input,
form[name="eme-rsvp-form"] select {
  width: 100%;
  margin: 10px 0;

}
form[name="eme-rsvp-form"] input#FIELD1 {
  width: auto;
  margin: 10px 0 10px 20px;
}
form[name="eme-rsvp-form"] label {
  clear: both;
  float: left;
  width: 100%;
}
form[name="eme-rsvp-form"] label span {
  color: #ff0000;
}
form[name="eme-rsvp-form"] label span.select2-selection__rendered {
  color: #000;
}
form[name="eme-rsvp-form"] label span.select2-selection__placeholder,
form[name="eme-rsvp-form"] label span.select2-country_code-container {
  color: #000;
}
form[name="eme-rsvp-form"] label.nameHalf input {
  width: calc( 100% - 10px);
  clear: none;
}
form[name="eme-rsvp-form"] label.nameHalf {
  width: 50%;
  float: left;
  clear: none;
}
form[name="eme-rsvp-form"] #eme_captcha_img {
  display: block;
  margin: 10px 0;
}
form[name="eme-rsvp-form"] br {
  display: none;
}
form[name="eme-rsvp-form"] div.checkbox label {
  width: auto;
  clear: none;
  padding: 0 10px;
}
form[name="eme-rsvp-form"] div.checkbox label a{
  float: left;

}
form[name="eme-rsvp-form"] input[type="checkbox"]{
  width: auto;
  margin: 10px 10px 10px 0;
  float: left;
}
form[name="eme-rsvp-form"] input[type="submit"]{
  border: none;
  font-size: 16px;
  font-family: "bankgothicmedium";
  background-color: #016fba;
  border-radius: 24px;
  color: #FFF;
  width: auto;
  display: inline-block;
  letter-spacing: 1px;
  padding: 8px 16px;
  text-decoration: none;
  text-transform: uppercase;
  margin: 10px 1px 1px 0;
  -webkit-box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.5);
  -moz-box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.5);
  box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.5);
}
.iraa-site form[name="eme-rsvp-form"] input[type="submit"] {
  background-color: #f0af01;
  color: #000;
}
div.eme-rsvp-message-success,
div#eme-rsvp-addmessage-ok {
  background: none;
  border: none;
  padding: 0;
}
div#div_eme-payment-form {
  display: none !important;
}
/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
  color: #00a0d2;
}

a:visited {
  color: #333;
}

a:hover, a:focus, a:active {
  color: #0073aa;
}

a:focus {
  outline: thin dotted;
}

a:hover, a:active {
  outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	display: block;
  margin: 0 auto;
  text-align: center;
    font-family: "bankgothicmedium";
    font-size: 18px;
    font-size: 1.2rem;
    color: #FFF;
    float: right;
    text-transform: uppercase;
    padding: 20px;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
  text-align: left;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
  display: block;
	left: auto;
}

.main-navigation li {
	position: relative;
    letter-spacing: 1px;
    padding: 8px 16px;
}

.main-navigation li.cta {
	background-color: #FFF;
    border-radius: 24px;

}
.iranz-site {

}
.iraa-site .main-navigation li.cta:hover {
  background-color: #f0af00;
}
.main-navigation li.cta a{
  color: #000;
}

.main-navigation a {
	display: block;
	text-decoration: none;
    color: #FFF;
}

.menu-toggle {
  margin: 10px;
  clear: right;
  display: block;
  float: right;
}
.menu-toggle:before {
  content: "\f0c9";
  display: inline-block;
  font-family: fontawesome;
  margin-right: 5px;
}

@media screen and (max-width: 37.5em) {
	/* Small menu. */
	.iraa-site .menu-toggle:before {
		margin-right: 0;
	}

	.menu-toggle,
	.main-navigation.toggled ul {
		display: block;
    margin: 0 auto;
      float: none;
	}
  .iranz-site .main-navigation {
    width: 100%;
    clear: both;
    float: none;
  }
  .iraa-site .main-navigation {
	  float: none;
  }
	.iraa-site .main-navigation li {
		margin: 25px 0;
	}
	.iraa-site .main-navigation li:first-child {
		margin-top: 50px;
	}
}

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  .main-navigation a {
    padding: 0 .5em;
  }
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  border-bottom: 1px solid #111;
	margin: 0 auto 60px;
  max-width: 636px;
	overflow: hidden;
  padding-bottom: 60px;
}

.nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	width: 50%;
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

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

.site-branding a {
    float:left;
    border: none;
}
.site-branding a img{
    padding: 16px 16px 0;
    max-width: 300px;

}
.ira-site .site-branding a img {
  max-width: 500px;
}
@media screen and (max-width: 37.5em) {
  .ira-site .site-branding a {
	  float: none;
  }
	.iraa-site .site-branding a {
	  float: left;
	  margin-bottom: 0;
		max-width: 250px;
  }
  .ira-site .site-branding a img {
    float: none;
    max-width: 100%;
  }
}
.menu-social-small {
  clear: both;
}
.menu-social-small ul  {
    margin: 10px 10px 0 0;
    padding: 0;
    /*	float: right;*/
}
@media screen and (max-width: 37.5em) {
    .menu-social-small ul  {
        /*		width: 100%;*/
    }
}
.menu-social-small ul li {
    list-style-type: none;
    width: 3.2em;
    height: 3.2em;
    overflow: hidden;
    float: right;
}
.menu-social-small ul li a {
    /* display: none; */


}
/*
.menu-social-small ul li:nth-child(1){ margin-top: -1.6em; }
.menu-social-small ul li:nth-child(2){ margin-top: -1.6em; }
.menu-social-small ul li:nth-child(3){ margin-top: -1.6em; }
*/

.menu-social-small li a:before{

    display: inline-block;
    float: left;
    font-family: fontawesome;
    font-size: 1.6em;
    width: 1.6em;
    text-align: center;
    line-height: 1.6em;
    background-color: #016fba;
    color: #fff;
    border-radius: 0.4em;
    margin: 5px;
}

.iraa-site .menu-social-small li a:before {
  background-color: #f0af00;
  color: #000;
}

.menu-social-small ul li.Facebook a:before{
    content: "\f09A";
}
.menu-social-small ul li.Twitter a:before{
    content: "\f099";
}
.menu-social-small ul li.LinkedIn a:before{
    content: "\f0E1";
}
.menu-social-small ul li.Instagram a:before{
    content: "\f16D";
}
.menu-social-small ul li.YouTube a:before{
    content: "\f167";
}
h3.social .fa:hover,
.menu-social-small ul li:hover a:before {
    background-color: #FFF;
  color: #000;
}
.iraa-site  h3.social .fa:hover,
.iraa-site  .menu-social-small ul li:hover a:before {
    background-color: #FFF;
  color: #000;
}
.site-header input[type="search"] {
    border-radius: 20px;
    padding: 3px 3px 3px 10px;
    float: left;
    margin: 10px;
}
.site-header input[type="submit"].search-submit {
    display: none;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  word-wrap: normal !important;
  /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

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

.alignleft,
.alignright {
	max-width: 636px !important;	/* Let's work to make this !important unnecessary */
}

.alignleft img,
.alignright img,
.alignleft figcaption,
.alignright figcaption {
	max-width: 50%;
	width: 50%;
}

.alignleft figcaption {
	clear: left;
}

.alignright figcaption {
	clear: right;
}

.alignleft img,
.alignleft figcaption {
  float: left;
  margin-right: 1.5em;
}

.alignright img,
.alignright figcaption {
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}


/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget-area {
	/*width: 25%;*/
}

.widget {
  margin: 0 0 1.5em;
  /* Make sure select elements fit in widgets. */
}

.widget select {
  max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
#page {
  margin: 0 auto;
  max-width: 100%;
}

.site-branding {
  text-align: center;
  /*margin: 0 0 60px 0;*/
}

.site-footer {
  margin: 1em 0 0;
  background-color: #000;
  color: #f2f2f2;
  padding: 5px;
}
.iraa-site .site-footer{
  background-color: #1c6648;
}
.site-footer a {
  text-decoration: none;
  color: #cccccc;
}
.iraa-site .site-footer a {
  color: #FFF;
}
#footer-sidebar {
  margin: 36px auto;
  max-width: 636px;
  padding-left: 14px;
  padding-right: 14px;
}
@media screen and (min-width: 768px) {
  #footer-sidebar {
    padding-left: 0px;
    padding-right: 0px;
  }
  #footer-sidebar > div:nth-child(1),
  #footer-sidebar > div:nth-child(2) {
    width: 25%;
    margin-right: 5%;
    float: left;
  }
  #footer-sidebar > div:nth-child(3) {
    width: 40%;
    margin-right: 0px;
    float: left;
  }
}
#footer-sidebar > div.full-width {
  width: 100%;
}
#footer-sidebar h2 {
  font-size: 16px;
  font-size: 1.6rem;
  color: #CCC;
}
.iraa-site #footer-sidebar h2 {
  color: #FFF;
}
#footer-sidebar ul {
  margin: 0;
  list-style: none;
  padding: 0;

}
#footer-sidebar li {
  margin: 0;
}
#footer-sidebar h2,
#footer-sidebar p,
#footer-sidebar li {
  border-bottom: solid #666 1px;
  margin: 5px 0;

}
.iraa-site #footer-sidebar h2,
.iraa-site #footer-sidebar p,
.iraa-site #footer-sidebar li {
  border-bottom: solid #f0af00 1px;
  margin: 5px 0;

}


#footer-sidebar li p,
#footer-sidebar li a {
  padding: 10px 0;
  display: block;
}

.menu-coach-courses-container,
.menu-players-courses-container {
  width: calc(50% - 20px);
  float: left;
  margin-right: 20px;
}
.menu-coach-courses-container li:first-child a,
.menu-players-courses-container li:first-child a {
  font-size: 16px;
  font-size: 1.6rem;
  margin: 1em 0;
  background-color: #000;
  color: #f2f2f2;
}

.site-info {
  clear: both;
}
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
  display: block;
}

.hentry {
  margin: 60px 0;
}

.updated:not(.published) {
  display: none;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

.entry-header,
.page-header,
.entry-footer,
.site-info,
.post-navigation,
.page-navigation,
.comments-area,
.not-found .page-content,
.search .entry-summary {
  margin: 1.5em auto;
  padding-left: 14px;
  padding-right: 14px;
  max-width: 636px;
}

.entry-footer span{
  margin-right: 1em;
}

.entry-footer{
  color: #aaa;
  font-size: 90%;
  padding-bottom: 40px;
  border-bottom: 1px solid #111;
}

@media screen and (min-width: 664px) {
  .entry-header,
  .page-header,
  .entry-footer,
  .site-info,
  .post-navigation,
  .page-navigation,
  .comments-area,
  .not-found .page-content,
  .search .entry-summary {
    padding-left: 0;
    padding-right: 0;
  }
}
.page-template-news-list #post-navigation,
.news-item-child {
  margin: 1.5em auto;
  padding-left: 0;
  padding-right: 0;
  max-width: 636px;
}

.news-item-child  .hentry {

  margin: 20px auto;
}

.news-item-child .entry-header {
  margin: 20px auto;
}
.news-item-child .entry-content > img {
  margin: 0 50px 50px 0 ;
  float: left;
}
.news-item-child .entry-content > p {

  width: calc(100% - 200px);
  max-width: inherit;
  display: block;
  float: left;
  margin: 0;
}
.page-template-news-list #post-navigation .nav-next,
.news-item-child .entry-content > a {
  display: block;
  float: right;
}
@media screen and (max-width: 37.5em) {
  .news-item-child .entry-content > h2.entry-title {
    text-align: center;
  }

  .news-item-child .entry-content > img,
  .news-item-child .entry-content > p {
    width: 100%;
  }

  .news-item-child .entry-content > a.more-link {
    float: none;
    clear: both;
    /* display: inline-block; */
    display: block;
    margin: 0 auto;
    text-align: center;
    width: 200px;
  }
}
.news-item-child .entry-footer {
  clear: both;
  padding-bottom: 10px;
}
  /*--------------------------------------------------------------
  ## Comments
  --------------------------------------------------------------*/
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  /* Theme Footer (when set to scrolling) */
  display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
  margin-bottom: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 100%;
}

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

.gallery-columns-3 .gallery-item {
  max-width: 33.3333333333%;
}

.gallery-columns-4 .gallery-item {
  max-width: 25%;
}

.gallery-columns-5 .gallery-item {
  max-width: 20%;
}

.gallery-columns-6 .gallery-item {
  max-width: 16.6666666667%;
}

.gallery-columns-7 .gallery-item {
  max-width: 14.2857142857%;
}

.gallery-columns-8 .gallery-item {
  max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
  max-width: 11.1111111111%;
}

.gallery-caption {
  display: block;
}

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

/*--------------------------------------------------------------
## Quotes
--------------------------------------------------------------*/
.entry-content > .ab-block-testimonial {
  padding: 8px 16px 16px;

}
.ab-testimonial-text p{
  width: calc(100% - 80px);
  font-size: 28px !important;
  font-size: 1.8rem !important;
  display: block;
  float: left;
  margin: 6px 0;
  color: #006699;
}

.iraa-site .ab-testimonial-text p{
  color: #1c6648;
}
.ab-testimonial-text:before {
  content: "\201C";
  font-size: 100px;
  line-height: 100px;
  display: block;
  float: left;
  width: 40px;
  color: #006699;
}
.ab-testimonial-text:after {
  content: "\201D";
  font-size: 100px;
  line-height: 100px;
  display: block;
  float: right;
  width: 40px;
  color: #006699;
}
.iraa-site .ab-testimonial-text:before,
.iraa-site .ab-testimonial-text:after {
  color: #1c6648;
}
.ab-block-testimonial .ab-testimonial-info {
  margin-left: 40px;
  width: calc(100% - 66px);
}
.ab-block-testimonial .ab-testimonial-name {
  font-size: 20px;
  font-size: 1.4rem;
  width: calc(100% - 66px);
}
.ab-block-testimonial .ab-testimonial-title {
  font-size: 16px;
  font-size: 1rem;
  width: calc(100% - 66px);
}

.ab-profile-title,
.ab-profile-text p{
  margin-top: 0;
  padding-top: 0;
}
@media screen and (max-width: 767px) {

  .ab-block-testimonial .ab-testimonial-text p {
    font-size: 24px !important;
    font-size: 1.6rem !important;

  }
}

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

.iranz-site div#feature_panels,
.iraa-site div#feature_panels {
  display: none;
}
div#feature_panels {
  margin: -25% auto 5%;
  width: 50%;
}

.ira-site div#feature_panels {
  margin: -25% auto 10%;
  width: 66%;
}

@media screen and (max-width: 37.5em) {
  div#feature_panels {
    width: 100%;
  }
}

div.feature_panel {
  width: 50%;
  display: block;
  float: left;
  padding: 0 5% 5%;
}

@media screen and (max-width: 37.5em) {
  div#feature_panels {
    width: 100%;
  }
  div.feature_panel {
    width: 100%;
    padding: 0 0 10%;
  }
  div.feature_panel {
    margin-top: 0;
  }
}

a.feature_image {
  text-decoration: none;
}

a.feature_image img{
  margin: 0 1px 1px 0;

  -webkit-box-shadow: 10px 10px 20px 0px rgba(0,0,0,0.5);
  -moz-box-shadow: 10px 10px 20px 0px rgba(0,0,0,0.5);
  box-shadow: 10px 10px 20px 0px rgba(0,0,0,0.5);
}

a.feature_image:hover img{
  margin: 1px 0 0 1px;
  -webkit-box-shadow: 9px 9px 20px 0px rgba(0,0,0,0.5);
  -moz-box-shadow: 9px 9px 20px 0px rgba(0,0,0,0.5);
  box-shadow: 9px 9px 20px 0px rgba(0,0,0,0.5);
}

a.feature_image h2 {
  font-size: 16px;
  font-size: 1.6rem;
  text-align: center;
  color: #016fba;
}
/*--------------------------------------------------------------
## Buttons
--------------------------------------------------------------*/

.entry-content > a {
  display: block;
}
.ab-block-cta .ab-button-shape-rounded,
#eme_submit_button,
a.more-link,
a.btn,
a.eme_apply_now_link,
.nav-next a,
.nav-previous a{
  font-family: "bankgothicmedium";
  background-color: #016fba;
  border-radius: 24px;
  color: #FFF;
  width: auto;
  display: inline-block;
  letter-spacing: 1px;
  padding: 8px 16px;
  text-decoration: none;
  text-transform: uppercase;

  margin: 10px 1px 1px 0;
  -webkit-box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.5);
  -moz-box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.5);
  box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.5);
}
.iraa-site .ab-block-cta .ab-button-shape-rounded,
.iraa-site #eme_submit_button,
.iraa-site a.more-link,
.iraa-site a.btn,
.iraa-site a.eme_apply_now_link,
.iraa-site .nav-next a,
.iraa-site .nav-previous a{
  background-color: #1c6648;
}

button.menu-toggle {
  font-family: "bankgothicmedium";
  background-color: #016fba;
  border-radius: 24px;
  color: #FFF;
  width: auto;
  letter-spacing: 1px;
  padding: 8px 16px;
  text-decoration: none;
  text-transform: uppercase;

  margin: 0 auto 1px;
  -webkit-box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.5);
  -moz-box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.5);
  box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.5);
  text-align: center;
  border: none;
  font-size: 18px;
  font-size: 1.2rem;
}
.iraa-site button.menu-toggle{
	background-color: transparent;
	color: rgb(240,175,0);
	box-shadow: none;
	font-size: 1.2rem;
	padding: 0.5rem;
	margin-top: 4px;
}
.ab-block-cta .ab-button-shape-rounded:hover,
#eme_submit_button:hover,
a.more-link:hover,
a.btn:hover,
a.eme_apply_now_link:hover  {
  margin: 11px 0 0 1px;
  -webkit-box-shadow: 4px 4px 10px 0px rgba(0,0,0,0.5);
  -moz-box-shadow: 4px 4px 10px 0px rgba(0,0,0,0.5);
  box-shadow: 4px 4px 10px 0px rgba(0,0,0,0.5);
}

.booking-form table.eme-rsvp-form td,
.booking-form table.eme-member-form td{
padding: 5px;
}

@media screen and (max-width: 767px) {
  table.course-details {
    margin: 0 14px;
  }
}
#homepage-cta {
  float: right;
  margin: 0 10%;
  clear: right;
  padding: 20px;
  background-color: rgba(0,0,0,0.2)
}

@media screen and (min-width: 1025px) {
  #homepage-cta {
    margin: 50px;
  }
}

@media screen and (min-width: 1441px) {

  #homepage-cta {
    margin: 100px;
  }
}

@media screen and (min-width: 1921px) {

  #homepage-cta {
    margin: 200px;
  }
}

@media screen and (max-width: 37.5em) {
	#homepage-cta {
		margin: 1rem 0;
		background-color: rgba(0,0,0,0.6);
	}
	#homepage-cta.text-panel {
		text-align: center;
	}
}
#homepage-cta h2,
#homepage-cta p,
#homepage-cta label{
  color: #FFF;
  margin: 0;  letter-spacing: 1px;
}

#homepage-cta h2 {
  font-size: 2.1rem;
}

#homepage-cta p {
  font-size: 28px;
  line-height: 1.5;
}

#homepage-cta input[type="text"],
#homepage-cta input[type="email"]{
  width: 100%;
}
#homepage-cta .hs-form-required,
#homepage-cta .hs-error-msgs li label {
  color: #F14C13;
}
#homepage-cta ul.hs-error-msgs{
  margin: 0;
  padding: 0;
  list-style: none;
}
#homepage-cta .hs_error_rollup{
  display: none;
}

.hbspt-form input[type="submit"],
#homepage-cta .hs-button {
  font-family: "bankgothicmedium";
  background-color: #F14C13;
  border-radius: 24px;
  color: #FFF;
  width: auto;
  display: inline-block;
  letter-spacing: 1px;
  padding: 8px 16px;
  text-decoration: none;
  text-transform: uppercase;
  border: none;
  font-size: 24px;
  margin: 24px 0;
}

.home .entry-header {
  max-width: 80%;
  text-align: center;
}
/** @todo move **/

.post-navigation {
  display: none;
}

.entry-content .listCalendarIcon {
  width: 100%;
  max-width: 100%;
  text-align: center;
}
.page-id-7 .entry-content .listCalendarIcon {
  max-width: 670px;
  margin: 0 auto;
}
.post-187 .listCalendarIcon {
  max-width: 636px;
}
.entry-content .listCalendarIcon a {
  text-decoration: none;
  color: #707070;
}
.entry-content .listCalendarIcon h2{
  text-align: center;
}
.entry-content .listCalendarIcon h3{
  font-size: 16px;
  margin: 10px 0 0 0;
	height: 75px;
	display: flex;
	align-items: center;
}
.entry-content .listCalendarIcon .btn {
  margin: 10px;
  color: #fff;
}
.entry-content .listCalendarIcon ul.eme-list {
  list-style: none;
  padding: 0;
  overflow: auto;
  max-width: 100%;
  width: auto;
  display: inline-block;
  text-align: center;
}
.entry-content .listCalendarIcon ul.eme-list li{
  border: 1px solid #CCC;
  width: 200px;
  /*float: left;*/
  display: inline-block;
  text-align: center;
  margin: 10px;
  padding: 10px;
  min-height: 270px;
}
.listCalendarIcon div.dDateFrom {
  display: block;
  width: 45%;
  float: left;
}
.listCalendarIcon div.dDateTo {
  display: block;
  width: 50%;
  float: right;
}
.listCalendarIcon span {
  display: block;
  width: 100%;
  text-align: center;
  line-height: 1;
}
.listCalendarIcon span.dDate {
  font-size: 60px;
  font-weight: bold;
}
.listCalendarIcon span.dMonth {
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.listCalendarIcon span.dYear {
  font-size: 18px;
  font-weight: normal;
}
.listCalendarIcon span.dDash {
  font-size: 60px;
  font-weight: bold;
  display: block;
  width: 5%;
  float: left;
}


.entry-content ul.eme_events_list {
  padding: 0;
  list-style: none;
}
.entry-content li.eme_period {
  font-family: "bankgothicmedium";
  color: #32373c;
  clear: both;
  font-size: 1.95em;
  line-height: 1.4;
  margin: 48px 0 0 24px;
  padding: 0;
}
.entry-content ul.bulletLogo {
  list-style-position: inherit;
}
.entry-content ul.bulletLogo li,
.entry-content li.eme_event{
  background: url("../iranz/images/iranz-icon-32x32px.png") no-repeat left 10px;
  list-style: none;
  padding-left: 40px;
  font-size: 24px;
  font-weight: bold;
  margin: 24px 0 0 24px ;
}
.entry-content ul li a {
  color: #0073aa;
}
.entry-content ul li a.eme_apply_now_link {
  color: #FFF;
  font-size: 16px;
}
.entry-content ul li a:hover {
  color: #000;
}
.entry-content ul.eme_events_list .eme_event_detail,
.entry-content ul.bulletLogo li li{
  background: none;
  list-style: none;
  padding-left: 0;
  font-size: 16px;
  font-weight: normal;
}

span.early-bird {
  color: #ff0000;
}
span.early-bird strike{
  color: #000;
}

/*--------------------------------------------------------------
## 3 column Courses
--------------------------------------------------------------*/
@media (min-width: 600px) {
  .has-3-columns .wp-block-column {
    padding: 0 20px;
  }
}

#homepage-cta.text-panel {
	max-width: 500px;

}
#homepage-cta.text-panel h2 {
	font-size: 1.6rem;
}
#homepage-cta.text-panel p {
	font-size: 1rem;
	line-height: 1.5;
	margin: 1rem 0;
}
#homepage-cta.text-panel a.cta_button span {
	color: #000;
	font-family: "bankgothicmedium";
	font-size: 22px;
}
.iraa-site .hbspt-form input[type="submit"], #homepage-cta .hs-button {
  background-color: #f0af00;
  color: #000;
}
.iraa-site #homepage-cta .hs-form-required {
  color: #f0af00;
}


.cta .wp-block-button__link {
  font-family: "bankgothicmedium";

}

.has-iraa-dark-green-color{
  color: #00200b;
}
.has-iraa-dark-green-background-color{
  background-color: #00200b;
}
.has-iraa-mid-green-color{
  color: #1c6648;
}
.has-iraa-mid-green-background-color{
  background-color: #1c6648;
}
.has-iraa-yellow-color{
  color: #f0af00;
}
.has-iraa-yellow-background-color{
  background-color: #f0af00;
}
.wp-block-button .has-iraa-black-color,
.has-iraa-black-color{
  color: #000;
}
.has-iraa-black-background-color{
  background-color: #000;
}
.has-iraa-white-color{
  color: #FFF;
}
.has-iraa-white-background-color{
  background-color: #FFF;
}


.wp-block-atomic-blocks-ab-cta.has-dark-background.ab-block-cta {
  background-color: #000;
}
.wp-block-atomic-blocks-ab-cta.has-dark-background.ab-block-cta h2.ab-cta-title {
  font-family: bankgothicmedium;
  -webkit-text-shadow: 5px 5px 10px 0px rgba(0,0,0,0.5);
  -moz-text-shadow: 5px 5px 10px 0px rgba(0,0,0,0.5);
  text-shadow: 5px 5px 10px 0px rgba(0,0,0,0.5);
}
.wp-block-atomic-blocks-ab-cta.has-dark-background.ab-block-cta .ab-button{
  -webkit-box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.5);
  -moz-box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.5);
  box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.5);
  font-family: bankgothicmedium;
}
.iraa-site .wp-block-atomic-blocks-ab-cta.has-dark-background.ab-block-cta .ab-button:hover{
  background-color: #FFF;
}

.entry-content > h3.no-margin,
.entry-content > p.no-margin,
.entry-content > .wp-block-columns.no-margin{
  margin: 0 auto;
  padding: 0;
}

div.eme-required-field{
  display: none;
}

/* Events Made Easy Radio Buttons: FIELD28 is Gender */
form[name="eme-rsvp-form"] #FIELD28_0,
form[name="eme-rsvp-form"] #FIELD28_1 {
    width: auto;
    float: none;
    margin: 0 5px 0 20px;
}

form[name="eme-rsvp-form"] label[for="FIELD28_0"],
form[name="eme-rsvp-form"] label[for="FIELD28_1"] {
     float: none;
    width: auto;
    clear: none;
}
