/*
 * Theme Name: Twenty Twenty Three Child Theme
 * Theme URI: http://erasmuscoursesireland.eu/
 * Description: A child theme for Twenty Twenty Three.
 * Author: 24 Hosting
 * Author URI: https://24.ie/
 * Template: twentytwentythree
 * Version: 1.0
 * License: GNU General Public License v2 or later
 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
* */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
--wp--preset--color--primary: #004494;
font-family: "Montserrat", sans-serif;
}
h1,h2,h3,h4,h5 {
font-family: "Poppins", sans-serif;
color: var(--wp--preset--color--primary);
}

.wp-site-blocks {
    padding: 0px;
}
.wp-block-site-title a:where(:not(.wp-element-button)):hover, body a:hover, .wp-block-navigation a:where(:not(.wp-element-button)):hover, a:where(:not(.wp-element-button)):focus, .wp-block-site-title a:where(:not(.wp-element-button)):focus, a:where(:not(.wp-element-button)) {
    text-decoration: none;
	color: inherit;
}

main {
    margin-top: 0px !important;
}

h1,
h2 {
    margin-top: 40px !important;
    margin-bottom:60px;
}


h4 {
    margin-top: 40px;
    margin-bottom: 40px;
}

h1.wp-block-post-title {
    display: none;
}


.has-global-padding.is-layout-constrained.entry-content.wp-block-post-content {
    margin-top: 0px;
}

h1:after,
h2:after {
   background: none repeat scroll 0 0 #ffa400;
   content: "";
   display: block;
   height: 10px;
   position: relative;
   width: 222px;
}

@media (max-width:991px) {
	h2 {
		font-size:40px;
	}
}
@media (max-width:599px) {
	h2 {
		font-size:30px;
	}
	h2:after {
        height: 5px;
        width: 160px;
}
}

/* Background Color Blocks */
.is-layout-flex.wp-block-columns.alignfull {
    margin-top: 0px;
}	

.block-white {
	background-color:#ffffff;
	color: #000000;
	padding: 40px 10px;
}
.block-white a {
	color: var(--wp--preset--color--primary);
}
.block-gray {
	background-color:#eaeaea;
	color: #000000;
	padding: 40px 10px;
}
.block-gray a {
	color: var(--wp--preset--color--primary);
}
div.wp-block-post-content a:where(:not(.wp-element-button)):hover,
.block-white a:hover,
.block-gray a:hover {
	text-decoration: underline;
	color: var(--wp--preset--color--primary);
}
.block-drkblue a:hover,
.block-blue a:hover {
	text-decoration: underline;
	color: #ffffff;
}
.block-blue {
	background-color:#004494;
	color: #ffffff;
	padding: 40px 10px;
}
.block-blue a {
	color: #ffffff;
}
.block-drkblue {
	background-color:#0e3051;
	color: #ffffff;
	padding: 40px 10px;
}
.block-drkblue a {
	color: #ffffff;
}

/* Header */
header.wp-block-template-part > .has-background{
/*    border-bottom: 20px solid #004494; */
    padding-top: var(--wp--preset--spacing--30);
}

.wp-block-site-title a {
    font-size: 34px;
    font-weight: 700;
    color: #004494;
}


.wp-block-navigation .current-menu-item a:where(:not(.wp-element-button)){
        border-bottom: 5px solid #76BC21;
}

/*
.wp-block-navigation a:where(:not(.wp-element-button)):hover, .wp-block-navigation a:where(:not(.wp-element-button)):active, .wp-block-navigation .current-menu-item a:where(:not(.wp-element-button)){
	border-bottom: 7px solid #76BC21;
}
.wp-block-navigation a:where(:not(.wp-element-button)) {
	border-bottom: 7px solid #ffffff;
}

.wp-block-navigation .wp-block-navigation__submenu-container a:where(:not(.wp-element-button)):hover, .wp-block-navigation__submenu-container .wp-block-navigation a:where(:not(.wp-element-button)):active, .wp-block-navigation__submenu-container .wp-block-navigation .current-menu-item a:where(:not(.wp-element-button)) {
    border-bottom: 7px solid #efefef;
    background-color: #efefef;
}
*/
header .wp-block-site-logo.is-default-size img {
	width: 300px;
}

header .wp-block-site-logo {
    max-width: 350px;
}
@media(max-width: 480px) {
header .wp-block-site-logo {
    max-width: 280px;
}
header {
/* --wp--style--root--padding-top: 5px; */
}
.single-post .has-global-padding.is-layout-constrained.wp-block-group {
	margin-top: 0px !important;
}
}
li.wp-block-navigation-item.has-child.open-on-click.wp-block-navigation-submenu {
    border-bottom: 7px solid #ffffff;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content {
	color: #004494;
}

header .wp-block-navigation__responsive-container-close {
	color: #004494;	
}


@media (max-width:599px) {
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container {
    padding-top: 0px;
}
}

header nav {width: 100%;}

header nav .wp-block-navigation__container {
	justify-content: space-between;
}

header nav .wp-block-navigation .wp-block-navigation__submenu-icon {
	color:  #76BC21;
	width: 1em;
	height: 1em;
}

header .wp-block-navigation .has-child:not(.open-on-click):hover > .wp-block-navigation__submenu-container {
	border-top: 5px solid #76BC21;
	background: #eaeaea;
}

/* Footer */

footer {
    background-color: #004494;
	color:#ffffff;
	padding-top: var(--wp--style--root--padding-top);
	padding-bottom: var(--wp--style--root--padding-top);
	margin-top: 0px !important
}
footer a, footer .wp-block-site-title a{
	color:#ffffff;
}
footer .footer-logo {
    max-width: 350px;
	margin-left: 0px !important;
}


/*Banner*/

.top-banner .wp-block-coblocks-hero__content-wrapper {
    background-color: rgba(250, 250, 250, 0.7);
    padding: 20px;
    margin-left: 2%;
    z-index: 1;
}

.top-banner h2 {
    margin-top: 0px
}
.top-banner {
	margin-top:0px;
}

.top-banner h2:after {display:none;
}

.banner-no-text .wp-block-coblocks-hero__inner .wp-block-coblocks-hero__content-wrapper {
    display: none;
}

@media (max-width:980px) {
	.top-banner > div {
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 246px;
}
}

/* accordion */
.wp-block-coblocks-accordion-item {
    border-radius: 0px;
    margin: 0 0 1em;
    border: 2px solid #fff;
}
.wp-block-coblocks-accordion-item details[open] summary {
    border-radius: 0px;
    border-bottom: 2px solid #fff;
}
.wp-block-coblocks-accordion-item__content {
    border: 2px solid #fff;
    border-radius: 0px;
    border-top: 0;
    background: #fff;
    color: #000;
    padding: 30px;
}
.wp-block-coblocks-accordion-item__title.has-background:focus, .wp-block-coblocks-accordion-item__title:focus {
    outline: 0px dotted;
    outline-offset: -4px;
}
.wp-block-coblocks-accordion-item__title:not(.has-background) {
    background: transparent;
}

.wp-block-coblocks-accordion-item__content a {
    color: #0e3051;
}

/* blocks */

figure.wp-block-image.size-full {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* blog */
h3.wp-block-post-title {
    font-size: 25px;
}

.single-post main {
    margin-bottom: 30px;
}
.single-post .has-global-padding.is-layout-constrained.wp-block-group {
    margin-top: 30px !important;
}

/* course table */
/*
tbody .odd a, tbody .even a {
    background: transparent;
    padding: 0px;
    color: #004494 !important;
}

tbody .odd a:hover, tbody .even a:hover,tbody .odd a:active, tbody .even a:active, tbody .odd a:focus, tbody .even a:focus {
    background: transparent;
    padding: 0px;
    color: #004494 !important;
}
*/
.owl-img {height: auto;}

ck-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded="true"] ~ .wp-block-navigation__submenu-container,
.wp-block-navigation .has-child:not(.open-on-click):hover > .wp-block-navigation__submenu-container {

	min-width: 300px;
}

input#gform_submit_button_1, input#gform_submit_button_2 {
    background-color: #004494;
    color: #fff;
    border: 0px solid #fff;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    padding: calc(0.667em + 2px) calc(1.333em + 2px);
    text-decoration: none;
}

/* course carousel */
h3.owl-post-title {
    font-weight: 700;
    line-height: 1.4;
    font-size: 20px !important;
    min-height: 56px;
    margin-top: 25px !important;
    margin-bottom:25px;
}
.owl-post-content {
    color: #000000;
    font-size: 14px !important;
}

.owl-dots {
  text-align: center;
  padding-top: 15px;
}
.owl-carousel .owl-dots button.owl-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: inline-block;
  background: #ccc;
  margin: 0 3px;
}
.owl-carousel .owl-dots button.owl-dot.active {
  background-color: #000;
}

.owl-post-date {
    font-size: 15px;
    margin-bottom: 0px;
}

section.wp-block-template-part {
    display: none;
}

table.dataTable > tbody > tr.child ul.dtr-details li {
display: grid;
grid-template-columnS: repeat(2, 1fr);
white-space: break-spaces;
}

@media (max-width: 600px) {
.wp-block-image img, .wp-block-image {
	width: 100% !important;
}
}

.pb-40 {
    padding-bottom:40px;
}

.wp-block-navigation__submenu-container.wp-block-navigation-submenu a .wp-block-navigation-item__label {
   color: #004494 !important;
}

.banner-no-text .wp-block-coblocks-hero__inner.bg-cover.has-background-image::after {
	display: none;
}
.wp-block-coblocks-hero__inner.bg-cover.has-background-image::after {
	background: linear-gradient(to right,rgba(0,68,148,0.9), transparent 50%);
	display: block;
	width: 100%;
	height: 100%;
	content: "";
	position: absolute;
	top: 0;
left: 0;
}
.wp-block-coblocks-hero__inner.bg-cover.has-background-image h1 {
	font-size: 40px;
}

.socialicon {
	background: #fff;
	border-radius: 50%;
//	padding: 10px;
	width: 50px !important;
	height: 50px;
	aspect-ratio: 1 / 1;
}

.socialicon img {
	vertical-align: middle;
	width: 22px;
	aspect-ratio: 1 / 1;
}

.socialicon:first-of-type {
  margin-left: 18px;
}

input#gform_submit_button_1 {
	cursor: pointer;
}

.wp-block-coblocks-posts.is-style-stacked .wp-block-coblocks-posts__content a,
.archive.tag .wp-block-post-title {
	font-weight: 700;
	text-decoration: none;
	color: var(--wp--preset--color--primary);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.6;
	font-family: "Poppins", sans-serif;
}

.archive.tag .wp-block-post-title::after {
	display: none;
}

.archive.tag .wp-block-post-date {
  color: #6c7781;
  display: block;
  font-size: 16px;
}

.page-id-994 h1::after {
	display: none;
}

.taxonomy-post_tag.wp-block-post-terms a {
    font-weight: 700;
    text-decoration: underline;
}

@media (max-width:599px) {
.eci_social_icons {display:none !important;}
.eci_nav {
    position: absolute;
    top: calc(16px + var(--wp-admin--admin-bar--height, 0px));
    right: 24px;
    border: 1px solid #fff;
    padding: 3px !important;
    }
    header .wp-block-site-logo {
    margin-top: -23px;
    margin-bottom:5px;
}
}
 

table.dataTable > tbody > tr.child ul.dtr-details {width: 100%}   

@media (max-width: 599px) {
#modal-1.wp-block-navigation__responsive-container .wp-block-navigation__submenu-container .wp-block-navigation-item__label::before {
	content: "> ";
	margin-left: -20px;
	width: 20px;
	display: inline-block;
	color: #76bc21;
}
}
@media (max-width: 768px) {
body div.blogbuttons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	font-size: 10px !important;
	gap: 5px;
}
.blogbuttons .wp-element-button {
	width: 100%;
}
}
body div.blogbuttons {
	max-width: 1200px;
}
