 
/* maincontent.css */



#maincontent { padding:1rem 0 0; overflow:hidden;  }

 #maincontent .wrapper { padding-bottom:2rem;} 


/*#maincontent*/ /*.textcol aside p { font-family: 'Merriweather', serif; font-weight:400; font-size:2rem; line-height:1.476190476190476; color:#000; margin-bottom:0.5em; }*/

/*#maincontent*/ .textcol aside p.cite {   font-weight:300; font-size:1.8rem; color:#000; }

#bodytext { position:relative; padding-top:2rem;  width:100%; float:left; }
body.single-post #bodytext { padding-top:0;}
 

  /*#maincontent*/ .textcol aside {    margin:1.6rem 36px 2rem 0;  }
 
  /*#maincontent*/ .textcol aside p {   } 

/*#maincontent*/ .textcol aside blockquote {  padding:1.8rem 0 1.8rem 1.2rem;border-left:8px solid #134267; }


#sidebar {  }

@media all and (max-width:1023px) { 
#sidebar { padding-top:3rem;  } 
}

@media all and (min-width:768px) { 

#leftsidebar li,
#sidebar p { width:calc((50% - 18px)); margin-right:36px; float:left; }

#leftsidebar li:nth-child(2n+2),
#sidebar p:nth-child(2n+2){  margin-right:0; } 



}

@media all and (min-width:851px) { 
 /*#maincontent*/ .textcol { width:calc(66.666666% - ((36px * 5) / 6)); 
 margin-left: calc((100% * 2 / 12) - ((36px * 1) / 2) + 36px);  float:left; 
 }
 
  /*#maincontent*/ .textcol aside {  width:calc(33.33333% - ((36px * 2) / 3)); float:left; margin:1.6rem 36px 1rem 0; }
 
  /*#maincontent*/ .textcol aside p { } 
  
 /*#maincontent*/ .textcol aside blockquote { padding:1.8rem 0 1.8rem 1.2rem; border-left:8px solid #134267; width:calc(100% + (50% - 18px) + 36px - 8px - 1.2rem); float:right; } 
  
}

@media all and (min-width:1024px) { 
 /*#maincontent*/ .textcol { width:calc(66.666666% - ((36px * 5) / 6)); width:calc(50% - ((36px * 1) / 2)); 
 margin-left: calc(25% - ((36px * 3) / 4) + 36px); float:left;  
 }
 
  /*#maincontent*/ .textcol aside {  width:calc(33.33333% - ((36px * 2) / 3)); float:left; margin:1.6rem 36px 1rem 0; }
 
  /*#maincontent*/ .textcol aside p {  } 
 
 /*#maincontent*/ .textcol aside blockquote {  padding:2rem 0 2rem 1.8rem; width:calc(100% + (50% - 18px) + 36px - 8px - 1.2rem); float:right; border-left:8px solid #134267;  } 

.sidebar,
#sidebar { width:calc(25% - ((36px * 3) / 4));  /*position:absolute; top:-1px; right:0;*/ position:relative; margin-left:36px; float:right; top:-2rem;  } 

.sidebar { float:left;}

#leftsidebar li,
 #sidebar p { width:100%; margin-right:0; float:none; } 
  
#leftsidebar { width:calc(25% - ((36px * 3) / 4)); float:left; /*position:absolute; top:-1px; left:0;*/   }
  
.rightsidebar { position:relative !important; float:right; }


}
 
@media all and (min-width: 1400px) { 

/*#maincontent*/ .textcol aside p { font-size:2.4rem; }
}


.bodyimage {width:100%; }
.bodyimage img{ display:block; width:100%; height:auto; margin-bottom:1.8rem; }

.slideshow {width:100%;  }  
.slideshow img{ display:block; width:100%; height:auto; margin-bottom:0; }
.slideshow .slide { background:rgba(240,240,240,1); position:relative; z-index:90; }
.slideshow .slide p { padding:2rem; height:4.2em; }

div.no_stretch, div.no_stretch img{ width:auto !important; max-width:100%; } 

.textcol table {width:100%; border:1px solid #266295; border-right:none; border-top:none; }
.textcol table td { border:1px solid #266295; border-left:none; border-bottom:none; padding:1rem;}



.textcol table { border:1px solid rgba(38,98,149,0.5); width:100%; margin-bottom:2rem !important; }
 
.textcol table tr { border-bottom:1px solid rgba(38,98,149,0.5); }
.textcol table tr th,
.textcol table tr td {  font-size:1.6rem; padding:0.75em 1em 0.75em; line-height:1.2; vertical-align: top;}
.textcol table tr td { border-right:1px solid #266295; }

/*@media all and (max-width: 767px) { 
.textcol table tr th, .textcol table tr td {  font-size:1.4rem; padding:0.5em; }
}*/

.textcol table tr th { background:rgba(38,98,149,0.8); color:#FFF;   }
.textcol table tr:last-child, .textcol table tr td:last-child { border:none; } 
.textcol table tr td a { color:#000; word-break: break-word;}
.textcol table :nth-child(2n+1){ }

.textcol .tablewrap { overflow:auto; width:auto; margin-bottom:2rem; position:relative; }
.textcol .tablewrap table { margin-bottom:0; }

.textcol .tablewrap .thingie { display:none; }
.textcol .tablewrap1 {border:2px dotted #f00; padding-right:50px;}
.textcol .tablewrap1 .thingie { display:block; width:40px; height:calc(100% - 20px); position:absolute; top:0; right:0;

background: rgba(255,0,255,0.3);
/*background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
background: -webkit-gradient(left top, right top, color-stop(0%, rgba(255,255,255,0)), color-stop(100%, rgba(255,255,255,1)));
background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
background: -o-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
background: -ms-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff', GradientType=1 );
*/
}

.textcol hr { 
margin:2rem 0 2rem; }


/*.introwithheading,
.introtext {font-family: 'Merriweather', serif; font-weight:400; font-weight:normal; line-height:1.4; color:#000;  }*/
.introtext p { font-size:2.4rem; line-height:1.476190476190476; color:#000; margin-bottom:2rem; }
.introwithheading p { font-size:1.8rem; font-style:italic; }

.introwithheading h1, 
.introtext h1 { font-size:3.6rem; font-size:2.4rem; line-height:1.41666666666; color:#000; margin-bottom:2rem;font-weight:400; }
.introwithheading hr,
.introtext hr { border:none; border-bottom:1px solid #216093; margin:0; }

 
.feature { background:#ebebeb; padding:2rem 0; clear:both; }


/*.feature .chart{ background:#f000f0; border:1px solid #666 }

.feature .chart{ background:#f000f0; border:1px solid #666 }
*/

.feature + .wrapper { margin-top:2rem; }


tspan {
  text-shadow: none !important;
}

.fakevid { background-size:cover; background-position:center; margin:0 auto 2rem; width:100%; max-width:1280px; }
.fakevid div {height:0; padding-bottom:56.25%; width:100%; } 
.fakevid div p { transition:all 0.2s ease; cursor:pointer; }
.fakevid div p::after { position:absolute; font-family:'icons'; content:"\e901"; color:#FFF; font-weight:normal; top:50%; left:50%;
transform:translate(-50%,-50%) rotate(-90deg);  transition:all 0.2s ease;
   font-size:90px;  text-shadow: 0 0 20px rgba(0,0,0, 0.5) }
 .fakevid div:hover p::after {font-size:120px;   }
 
.vidholderholder { max-width:1280px; max-width:988px; margin:0 auto; }
.vidholder { width:100%; height:0; padding-bottom:56.25%; margin:3rem auto; position:relative;} 
.module .vidholder { margin:0 auto;}
.vidholder iframe { position:absolute; top:0; left:0; width:100%; height:100%; }

.vidholder .vidimg { position:absolute; top:0; left:0; width:100%; height:100%; z-index:50; background-repeat:no-repeat; background-size:cover; background-position:center;
 transition:all 0.2s ease; cursor:pointer; }
.vidholder .vidimg::after { position:absolute; font-family:'icons'; content:"\e901"; color:#FFF; font-weight:normal; top:50%; left:50%;
transform:translate(-50%,-50%) rotate(-90deg);  transition:all 0.2s ease;
   font-size:80px;  text-shadow: 0 0 20px rgba(0,0,0, 0.5) }
.vidholder .vidimg:hover::after {font-size:100px;   }


/*.vidmodule .vidholder { margin:0 auto 2rem;}*/
.vidfeature { padding-top:3rem !important;}
.vidfeature::after { content:""; clear:both; display:table; }
.vidmodule p { margin:0 !important; }

.anchor_heading { /*font-family: 'Merriweather', serif;*/ font-weight:600; font-weight:normal; line-height:1.4; color:#000; font-size:2.4rem; border-bottom:1px solid #216093; padding-bottom:1rem;  margin:3rem 0 2rem; position:relative; padding-left:1.5em; }

.anchor_heading b.backtotop {  display:block; position:absolute; left:0; bottom:-1px;border-bottom:1px solid #216093; height:1.4em; width:1.5em;  padding-bottom:1rem; transition:all 0.2s ease; cursor:pointer;  }
@media all and (min-width: 850px) { 
.anchor_heading { padding-left:0;}
.anchor_heading b.backtotop { left:-1.5em; }
}
.anchor_heading b.backtotop::after {
transform: rotate(180deg); position:absolute; display:block; width:1em; line-height:1.4em; text-align:center; height:1.4em; top:0; left:0;
font-family:'icons'; content:"\e902"; color:#216093; font-weight:normal;  transition:all 0.2s ease;
}

.anchor_heading b.backtotop:hover::after { transform: rotate(180deg) scale(1.1,1.1); }


section.box {background:rgba(240,240,240,1); background:rgba(225,225,225,1); padding:2rem; margin-bottom:36px; } 
section.box p.cta { margin:0;}

section.box h3, section.box p { color:rgba(0,0,0,0.8); }


section.inactive_box { background:rgba(225,225,225,0.45);}
section.inactive_box h3, section.inactive_box p { color:rgba(0,0,0,0.4); }


#leftsidebar li { margin-bottom:2rem; }

ul.ctalist li { margin-left:0 !important; list-style:none !important;}
ul.ctalist li a { display:block; background-color:#d22333; color:#FFF !important; text-decoration:none !important;  padding:0.75em 4.5rem 0.75em 4rem; position:relative; text-align:center;  }

ul.ctalist li a::after {
font-family:icons; content:"\e900"; position:absolute; right:1rem; top:50%; transform:translateY(-50%); margin-left:0.5em;
}

/*h2.fundingtitle { opacity:0; height:0; margin:0; }*/
h2.fundingtitle {font-size:2.4rem; margin-bottom:2rem;} 

#leftsidebar { position:relative; z-index:99; }


.download_box { background:rgba(230,230,230,1); padding:1rem 2rem 1px; margin-bottom:20px; } 

.download_box.openbox h3 { margin-bottom:1em; background:red; }

.download_box h3 { position:relative; padding-right:1.5em; font-size:1.8rem; }
.download_box h3::after { position:absolute; top:50%; transform:translateY(-50%); right:0;  font-family:'icons'; content:"\e917"; font-weight:normal;    }

.download_box h3.openbox::after {content:"\e914"; }

.download_box p.cta { width:100% !important;}
  
 
#sidenav { margin-bottom:2rem; border-bottom:1px solid rgba(255,255,255,0); }
#sidenav ul { list-style:none !important; }
#sidenav ul li { font-size:1.8rem; list-style:none !important; margin:0 0 1em !important; margin-left:0 !important; font-weight:400; }
#sidenav li a { display:block; background:rgba(230,230,230,1); padding:0.5em 1em ; text-decoration:none;color:#134267; transition:all 0.2s ease; font-weight:400; }
#sidenav li a:hover { background :#134267;color:#FFF;  }

 @media all and (min-width:601px) and (max-width:1024px) { 
 #sidenav {   }
 #sidenav ul li { float:left; width:calc(50% - (36px * (1 / 2))); margin-right:36px !important; }
 #sidenav ul li:nth-child(2n+2) { margin-right:0 !important;}
 }
 
 
#gaeilge_intro_text,
#gaeilge_content { display:none; }
 
#translate { font-size:1.8rem; list-style:none !important; margin:0 0 1em !important; margin-left:0 !important; font-weight:400; }
#translate a { display:block; background:#b4d997; padding:0.5em 1em ; text-decoration:none; color:#000 !important; transition:all 0.2s ease; font-weight:400; }
#translate a:hover { background :#5cc3b6;color:#FFF !important;  }

#map { width:100%; margin:2rem 0; height:25rem; }