/*
 Theme Name: Red Underscores Child
 Template: red_underscores
 Description: Red Underscores Child Theme
 Text Domain: red_underscores
 */

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
# Normalize
# Typography
# Elements
# Forms
# Navigation
    ## Links
    ## Menus
# Accessibility
# Alignments
# Clearings
# Widgets / Events
# Content
    ## Posts and pages
    ## Mentors
    ## HAIB
    ## HAIB Search & Filter
    ## Asides
    ## Comments
    ## webinar
# Footer
# Infinifooter .pp-photo-gallery {

}
    te scroll
# Events Plug-in
# Media
    ## Captions
    ## Galleries
# Media Queries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html, body, div, p {
    font-family: "Poppins", sans-serif !important;
    font-size: inherit;
}
body {
    margin: 0px;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary  {
    font-family: inherit;
}

/*
html {
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust:     100%;
    -webkit-font-smoothing: antialiased;
}


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: 2em;
    margin:  0;
}
*/
article h2 {
    margin-bottom: 20px;
}
/*
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;
}
 */
img.alignleft {
    padding-right: 20px;
    padding-bottom: 20px;
}

img.alignright {
    padding-left: 20px;
    padding-bottom: 20px;
    padding-top:20px;
}
     /*
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-appearance: textfield;
    box-sizing: content-box;
}

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;
    display: inline-flex;
}
    */
/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
/*
body,
button,
input,
select,
textarea {
    color: #404040;
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
}

p {
    margin-bottom: 1.5em;
}

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%;
}
            */
/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
/*
html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    background: #fff;
}

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

blockquote,
q {
    quotes: "" "";
}

hr {
    background-color: #ccc;
    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;
    max-width: 100%;
}

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

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

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    border-color: #ccc #bbb #aaa;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
    border-color: #aaa #bbb #bbb;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}

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

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

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
    padding: 3px;
}

textarea {
    padding-left: 3px;
    width: 100%;
}
                            */
/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
    color: #1a7d45;
}

a:hover,
a:focus,
a:active {
    color: #1a7d45;
}
/*
a:focus {
    outline: thin dotted;
}
a:hover,
a:active {
    outline: 0;
}
  */

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
/*
.main-navigation {
    clear: both;
    display: block;
    float: left;
    width: 100%;
}

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

.main-navigation li {
    float: left;
    position: relative;
}

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

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

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

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

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

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

ul.menu li.current-menu-item > a,
ul.menu li.current-menu-ancestor .fl-has-submenu-container a {
    /* color: #cdcbdf !important; */
	color: #000 !important;
}


/*hide menu skip links, except for screen readers*/
.skip-link {
    position: absolute;
    top: 0;
    z-index: 9999;
    right: 100%;
    padding: 5px;
    padding: 0.5rem;
    font-size: 20px;
    font-size: 2rem;
    color: #000;
    background: #FFF;
    margin-right: 20px;
}

.admin-bar .skip-link {
    top: 32px;
}

.skip-link:focus {
    right: auto;
}


@media (max-width: 768px) {

    li {
        text-align: center;
    }

    .pp-advanced-menu-accordion-collapse #menu-menu.pp-toggle-arrows .pp-has-submenu-container > a > span {
      padding-right: 0px;
    }

}


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

article.events {
    max-width: 1100px;
    margin: auto !important;
    padding: 20px;
}

p#a11y-speak-intro-text {
    display: none !important;
}


/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
/* ## Mentors */
.mentors {
    display: grid;
    grid-gap: 40px;
}
.mentor {
    display: grid;
    grid-template-columns: 30% auto;
    grid-gap: 20px;
}
.name {
    display: flex;
    align-items: flex-end;
}
.photo {
    grid-area: 1 / 1 / 3 / 2;
}
.desc {
    grid-area: 2 / 2 / 2 / 3;
}

.fl-post-grid-post .fl-post-grid-more {
    display: block;
    margin-top: 20px;
}
.mentor_single {
    text-transform: capitalize;
}

/* # webinar  */
.page-id-4537 ul.pp-post-filters {
    text-align: left;
    margin-left: 0;
}
.page-id-4537 .pp-content-posts .pp-content-grid-post {
    width: 100%;
    display: block;
    position: relative !important;
    height: auto !important;
    top: 0 !important;
    margin-bottom: 40px;
}
.page-id-4537 .pp-content-posts .pp-content-post {
    background-color: transparent;
}
.page-id-4537 .pp-content-posts h3.pp-content-grid-post-title {
    font-size: 30px;
    line-height: normal;
}
.webinar_posts h2.title a {
    font-size: 30px;
}
.webinar_posts h2.title {
    margin-bottom: 10px;
}
.webinar_posts .content {
    display: inline-block;
    width: 75%;
}
.webinar_posts .image {
    display: inline-block;
    width: 20%;
    vertical-align: top;
}

#webinarlink a {
    color: #013266 !important;
    text-decoration: none;
}


/* HAIB page - */
#download-page #download-search, #download-page .download_group {
        box-shadow: none !important;
        border: 0px !important;
        margin: 0px !important;
}

#download-page .download_category {
        width: 100% !important;
}
#download-page #download-search ol, #download-page .download_group ol {
        padding: 0px !important;
        list-style: none !important;
}
#download-page #download-search ol li, #download-page .download_group ol li {
        margin: 0 0 0.5em !important;
        padding: 1em !important;
}
#download-page #download-search h3, #download-page .download_group h3 {
        padding: .5em 0px !important;
        font-size: 1em !important;
        box-shadow: none !important;
        text-transform: uppercase;
}
#download-page li {
    border-bottom: 1px solid #ccc;
}
#download-page li:last-child {
        border-bottom: 0px;
}

#download-page hr {
    display: none;
}
#download-page a {
    color: #1a7d45;
    text-decoration: none;
}

#download-page a.download-link {
    color: #000;
    text-decoration: none;
}

#download-page .entry-meta {
    font-size: 0.8em;
}

#download-page .download-information article {
    width: 100% !important;
    float:none !important;
}


/* HAIB Search & Filter */
#search-filter-form-4594 .searchandfilter ul > li > ul:not(.children), .searchandfilter ul > li > ul:not(.children){
    margin-left: 0;
    padding-left: 2px !important;
}
#search-filter-form-4594  ul.children {
    margin-left: 0px !important;
    padding-left: 20px;
}

#search-filter-form-4594 li {
    font-size: 13px;
    padding: 2px 0px;
}

.searchandfilter h4 {
    padding: 25px 0 5px;
}

#search-filter-results-4594 h2 {
    margin-bottom: 0px;
    font-size: 1em !important;
}

p.short, p.authors {
    padding-left: 0px;
    margin: 0px;
    font-size: 0.9em;
}
.searchandfilter ul {
    display: block;
    margin-top: 0;
    margin-bottom: 0;
}


.search-filter-results a {
    text-decoration: none;
    color: #1a7d45;
}
.search-filter-results h2 a {
    color: #000000;
}
.search-filter-results .abstract {
    font-size:12.8px;
}



/*--------------------------------------------------------------
## WooCommerce Styling
--------------------------------------------------------------*/
.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
    background-color: #db6700 !important;
}


/*--------------------------------------------------------------
## Events Plug-in
--------------------------------------------------------------*/
#em-booking .em-booking-message-success {
  background-color: transparent;
  border: 0;
  padding-top: 25%;
  margin-top: -25%;
  padding-left: 0px;
}

.home .css-events-list table.events-table td {
    padding: 0px;
    padding-bottom: 50px !important;
    padding-right: 50px !important;
}
.home .css-events-list table.events-table th.event-time, .css-events-list table.events-table th.event-description {
    font-weight: 800;
    padding-bottom: 25px;
}
.home .css-events-list table.events-table {
    width: 80%;
}
.home .css-events-list {
    color: #fff;
}
.home .css-events-list *,
.home .css-events-list a:hover {
    color: #fff;
}
.home .css-events-list .events-table thead {
    display: none;
}

.home .css-events-list tr {
    border-bottom: 1px solid #fff;
}
.home .css-events-list td a {
    text-decoration: none;
}
.home .css-events-list table.events-table td {
    margin: 15px 0 !important;
    padding: 20px 0 !important;
}
.home .css-events-list td:nth-child(1) {
    width: 20%;
    text-align: center;
}
.home .css-events-list td:nth-child(2) {
    width: 80%;
    display: flex !important;
    align-items: center;
    min-height: 100px;
}

.home .css-events-list td p {
    margin: 0;
    display: none;
}
.home .css-events-list td p:nth-child(2),
.home .css-events-list td p:nth-child(3) {
    display: block !important;
}
.home .css-events-list td p:nth-child(2) {
    margin-top: 15px;
    font-size: 18px;
    text-transform: uppercase;
}
.home .css-events-list td p:nth-child(3) {
    font-family: "Frank Ruhl Libre", serif;
    font-size: 40px;
    margin-top: -10px;
}

.page-id-4253 .events-table p {
    display: initial;
}
.page-id-4253 .events-table p[xxx=""] {
    margin: 0 10px 0 5px;
}
.page-id-4253 .events-table p[xxxx=""] {
    margin: -15px 0 40px 0;
    float: left;
}
.page-id-4253 .events-table p[xxxxx=""] {
    margin: -15px 0 40px 0;
    float: left;
}

.page-id-4253 .css-events-list table.events-table td {
    padding-bottom: 35px;
}

.single-event p {
    display: contents;
}
.single-event i {
    display: block;
}
.single-event p[xxx=""] {
    margin: 0 10px 0 5px;
}
.single-event p[xxxxx=""] {
    float: left;
    margin-top: -20px;
}
.single-event .event_title h2 {
    text-transform: uppercase;
    font-weight: 400;
    font-size: 20px;
}
.single-event div.fl-module:nth-child(3) > div:nth-child(1) > p:nth-child(10),
.single-event div.fl-module:nth-child(3) > div:nth-child(1) > p:nth-child(8) {
    margin: 0 0;
    display: block;
}
.single-event div.fl-module:nth-child(3) > div:nth-child(1) > p:nth-child(10) > strong:nth-child(1)
.single-event div.fl-module:nth-child(3) > div:nth-child(1) > p:nth-child(8) > strong:nth-child(1) {
    margin: 0 0;
    display: block;
}
.single-event div.fl-module:nth-child(3) > div:nth-child(1) > div:nth-child(1) {
    display: none;
}
.single-event p[xxxx=""] {
    margin-top: -20px;
    float: left;
}

/* Bookings Button */
.em-booking-form-details input.input, .em-booking-form-details textarea, .em-booking-form label {
    display: none;
}


.em-booking-form-details {
    padding-left: 0px!important;
}

.em-booking-form-details .em-booking-submit {
    padding: 12px;
}

/* Bookings Page */
div.em-booking-login p {
    Display: inherit;
}

div.em-booking-login {
    padding: 10px 10px 10px 20px;
    margin: 0px 0px 0px 0px;
    border-left: 5px solid black;
}

.page-id-4257 td {
    border-collapse: initial;
    display: inline-flex;
    padding: 20px;
}

.page-id-4257 th.manage-column {
    display: inline-table;
    padding: 20px;
}


/* # Footer */
footer .pp-photo-gallery img {
    height: auto !important;
}
footer #gform_0 li {
	list-style: none;
	margin-bottom: 15px;
}
footer #gform_0 ul {
	padding: 0;
}
footer #gform_0 .gfield_label {
	font-weight: bold;
}
footer #gform_0 ul#input_3 {
	padding: 0;
	padding-bottom: 5px;
}
footer #gform_submit_button_0 {
	background: #1a7d45;
	padding: 10px 25px;
	color: #fff;
	text-transform: uppercase;
	font-family: Poppins, sans-serif;
	letter-spacing: 0.1em;
	border: none;
}


/* # Media Queries  */
@media only screen and (max-width:1024px) {
    .home .css-events-list table.events-table {
        width: 100%;
    }

}


@media only screen and (max-width:480px) {
    .webinar_posts .image {
        display: none;
    }
}
