/* Theme Name: 2021 Base Fluid & WPtouch active
 * Theme URI: http://www.pulmonaryhypertension.ie
 * Description: 2021 Base Fluid use with WPtouch active
 * Author: B.Devlin
 * Author URI: http://www.pulmonaryhypertension.ie
 * Version: 01 */
/**** LAYOUT */
/* COLORS */
/* FONT SETTINGS */
/* COMPASS */
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, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, twitter-timestamp, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}

a img {
  border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
  display: block;
}

/* SUSY */
/* CUSTOM */
/* EM CALCULATOR */
/* BOILERPLATE HELPERS */

.left {
  float: left;
}

.right {
  float: right;
}

.clear {
  overflow: hidden;
  *zoom: 1;
}

em {
  font-weight: bold;
}

label, input[type="submit"] {
  cursor: pointer;
}

button, input, select, textarea {
  vertical-align: baseline;
  *vertical-align: middle;
}

body {
  font-family: Tahoma, Geneva, sans-serif; /*Arial, "Helvetica Neue", Helvetica, sans-serif;*/
  font-size: 13px;
  line-height: 19px;
  color: black;
  padding: 0 1%;
}
body a {
  color: #e8483a;
  text-decoration: underline;
}
body a:visited {
  color: #e8483a;
}
body a:focus {
  color: #e8483a;
}
body a:hover {
  color: #e8483a;
}
body a:active {
  color: #e8483a;
}
body a:hover {
  text-decoration: none;
}
body #container {
  *zoom: 1;
  margin-left:auto;
  margin-right:auto;
  /*margin: auto;*/
  /*width: 490px;*/
  /*max-width: 100%; commenting this out allowed browser to be minimised without changing page structure*/ 
  max-width: 1280px;
}
body #container:after {
  content: "";
  display: table;
  clear: both;
}
body header {
  overflow: auto;
  padding: 20px;
  position: relative;
}
body header h1 {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
body header h1 .focusable:active, body header h1 .focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}
body header #logo {
  float: left;
}
body header ul {
  position: absolute;
  top: 80px;
  left: 33%;
  width: 50%;
  text-align: center;
}
body header ul li {
  float: left;
  margin-right: 40px;
}
body header ul li ::before {
  content: "> ";
}
body header #donate {
  float: right;
  margin-top: 20px;
}
body nav {
  margin-bottom: 20px;
  padding: 20px 2.5%;
  text-align: center;
  background: #305eac;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #20a0e7), color-stop(100%, #414992));
  background-image: -webkit-linear-gradient(#20a0e7, #414992);
  background-image: -moz-linear-gradient(#20a0e7, #414992);
  background-image: -o-linear-gradient(#20a0e7, #414992);
  background-image: -ms-linear-gradient(#20a0e7, #414992);
  background-image: linear-gradient(#20a0e7, #414992);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.077em;
  overflow: hidden;
  /*width: 100%;*/
}
body nav > :last-child {
  margin-bottom: 0;
  
}

body nav ul {
    display: flex;
    align-items: stretch; /* Default */
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 0;
}

body nav li {
  display: inline-block;
  flex: 0 1 auto; /* Default */
  list-style-type: none;
}
body nav a {
  color: white;
  text-decoration: none;
  
 
}
body nav a:visited {
  color: white;
}
body nav a:focus {
  color: white;
}
body nav a:hover {
  color: white;
}
body nav a:active {
  color: white;
}
body nav a:hover {
  text-decoration: underline;
}
body .left-side, body .middle {
  margin-bottom: 20px;
  margin-right: 1%;
  float: left;
  width: 22%; /*changed from 200px*/
}
body .right-side {
  margin-bottom: 20px;
  float: right;
  width: 22%; /*changed from 200px*/
}
body .left-side > :last-child, body .middle > :last-child, body .right-side > :last-child {
  margin-bottom: 0;
}
body .left-side, body .middle {
  /* margin-right: 10px; changed from 20px*/
}
body .middle {
  width: 54%;
}
body .middle .fpimage{
  width: 100%;
}
body footer {
  margin-bottom: 20px;
  border-top: 1px dashed black;
  padding-top: 19px;
  overflow: auto;
  float: left;
  width: 100%;
  text-align: center;
  font-size: 0.923em;
}
body footer > :last-child {
  margin-bottom: 0;
}
body footer ul li {
  padding: 0 6.5px;
}
body footer ul li a {
  color: black;
  text-decoration: underline;
}
body footer ul li a:visited {
  color: black;
}
body footer ul li a:focus {
  color: black;
}
body footer ul li a:hover {
  color: black;
}
body footer ul li a:active {
  color: black;
}
body footer ul li a:hover {
  text-decoration: none;
}
body footer p {
  padding: 0 19px;
}
body footer li, body footer p {
  display: inline-block;
  line-height: 28.5px;
}

.display {
  margin-bottom: 20px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
}
.display > :last-child {
  margin-bottom: 0;
}

.twitter, .facebook {
  overflow: auto;
  display: block;
  float: left;
  margin-right: 20px;
}

#menu_block { margin-bottom: 20px; }

#menu_block a {
  color: white;
  /*text-align: center;*/
  text-decoration: none;
  font-weight: bold;
  background: #305eac;
  padding: 6.5px 13px;
  display: block;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-bottom: 1px dotted #fff;
  border-radius: 5px;
  margin-bottom: 0.0em;
}
#menu_block a:visited {
  color: white;
}
#menu_block a:focus {
  color: white;
}
#menu_block a:hover {
  color: white;
}
#menu_block a:active {
  color: white;
}
#menu_block a:hover {
  text-decoration: underline;
}
#menu_block a > :last-child {
  margin-bottom: 0;
}
#menu_block .current_page_item a {
  color: #edc749;
  background: #e8483a;
}

article.snippet {
  overflow: auto;
  margin-bottom: 33.25px;
}
article.snippet > :last-child {
  margin-bottom: 0;
}
article.snippet a {
  text-decoration: none;
  text-shadow: 0 0 0 rgba(0, 0, 0, 0);
}
article.snippet a:hover p {
  text-decoration: underline;
}
article.snippet time {
  display: block;
  float: left;
  background: white;
  color: #e8483a;
  font-size: 1.692em;
  text-align: center;
  width: 16.667%;
  padding: 6.5px 0;
}
article.snippet time span {
  display: block;
  text-transform: uppercase;
  font-size: 0.409em;
}
article.snippet p {
  display: block;
  float: right;
  width: 75%;
  overflow: hidden;
  height: 57px;
}

.widget {
  list-style: none;
}

.blue_box {
  margin-bottom: 20px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
  padding: 10px;
  list-style: none;
  background: #305eac;
  color: white;
}
.blue_box > :last-child {
  margin-bottom: 0;
}
.blue_box h1 {
  font-size: 1.154em;
  line-height: 1.308em;
  font-weight: bold;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25);
  margin-bottom: 10px;
  list-style: none;
}
.blue_box h1 > :last-child {
  margin-bottom: 0;
}
.blue_box img {
  margin-bottom: 10px;
  width: 100%;
}
.blue_box img > :last-child {
  margin-bottom: 0;
}
.blue_box a {
  color: white;
  text-decoration: underline;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25);
}
.blue_box a:visited {
  color: white;
}
.blue_box a:focus {
  color: white;
}
.blue_box a:hover {
  color: white;
}
.blue_box a:active {
  color: white;
}
.blue_box a:hover {
  text-decoration: none;
}

.white_box {
  margin-bottom: 20px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
  padding: 5px;
  color: #305eac;
  list-style: none;
  /*width: 200px;*/
  background: #eeebeb;
}
.white_box > :last-child {
  margin-bottom: 0;
}
.white_box h1 {
  font-size: 1.154em;
  line-height: 1.308em;
  font-weight: bold;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25);
  margin-bottom: 10px;
  list-style: none;
  padding: 10px;
}
.white_box h1 > :last-child {
  margin-bottom: 0;
}
.white_box h1 {
  color: #e8483a;
  font-size: 1.2em; /*changed by BD to enable smaller version of aasociate box*/
  margin-bottom: 10px;
  text-shadow: 0 0 0 rgba(0, 0, 0, 0);
}
.white_box h1 > :last-child {
  margin-bottom: 0;
}

.white_blue_box {
  margin-bottom: 20px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
  padding: 15px;
  list-style: none;
  border: 1px solid #305eac;
  /*padding: 20px;*/
  overflow: auto;
}
.white_blue_box > :last-child {
  margin-bottom: 0;
}
.white_blue_box h1 {
  font-size: 1.154em;
  line-height: 1.308em;
  font-weight: bold;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25);
  margin-bottom: 10px;
  list-style: none;
}
.white_blue_box h1 > :last-child {
  margin-bottom: 0;
}
.white_blue_box h1.page-title {
  color: #e8483a;
  font-size: 1.615em;
  text-shadow: 0 0 0 rgba(0, 0, 0, 0);
}
.white_blue_box img {
  float: left;
  margin-right: 20px;
  margin-bottom: 20px;
  /*width: 25%;*/
  height: auto;
}
.white_blue_box img > :last-child {
  margin-bottom: 0;
}
.white_blue_box p {
  /*overflow: auto;*/
  margin-bottom: 20px;
}
.white_blue_box p > :last-child {
  margin-bottom: 0;
}
.white_blue_box h1 {
  color: black;
  text-shadow: 0 0 0 rgba(0, 0, 0, 0);
  font-size: 1.615em;
}
.white_blue_box h2 {
  font-size: 1.385em;
  line-height: 1.615em;
}
.white_blue_box ul {
  margin-bottom: 20px;
  list-style: disc inside;
}
.white_blue_box ul > :last-child {
  margin-bottom: 0;
}
.white_blue_box ol {
  margin-bottom: 20px;
  list-style: decimal inside;
}
.white_blue_box ol > :last-child {
  margin-bottom: 0;
}
.white_blue_box strong {
  font-weight: bold;
}
.white_blue_box em {
  font-weight: normal;
  font-style: italic;
}
.white_blue_box td {
  vertical-align: top;
  border: 1px solid #333;
  border-collapse: none;
  padding: 6px;
}

.mainTable {         /*mainTable and #mainscollertd are to format featured image slider on News & Events */
  padding: none;
  margin: none;
}
td#mainscollertd {
  border:none;
  padding: 0px;
  margin: 0px;
  margin-left: auto;
  margin-right: auto;
 }
 
 .twitcont_box {
  margin-bottom: 20px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
  padding: 5px;
  /*color: #305eac;*/
  list-style: none;
  /*width: 200px;*/
  background: #e8483a;
  height: 950px;
}
.twitcont_box > :last-child {
  margin-bottom: 0;
}
.twitcont_box h1 {
  font-size: 1.154em;
  line-height: 1.308em;
  font-weight: bold;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25);
  margin-bottom: 10px;
  list-style: none;
  padding: 10px;
}
.twitcont_box h1 > :last-child {
  margin-bottom: 0;
}
.twitcont_box h1 {
  color: #edc749;
  font-size: 1.2em; /*changed by BD to enable smaller version of aasociate box*/
  margin-bottom: 10px;
  text-shadow: 0 0 0 rgba(0, 0, 0, 0);
}
.twitcont_box h1 > :last-child {
  margin-bottom: 0;
}

#archives-2 {
  background: #eeebeb;
  padding: 20px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
  border: 2px solid #e8483a;
}


#gallery {
  overflow: auto;
  margin-left: -10px;
}
#gallery figure {
  float: left;
  margin-left: 2.5%;
  width: 30%;
  height: auto;
  margin-bottom: 20px;
}
#gallery figure > :last-child {
  margin-bottom: 0;
}
#gallery figure img, #gallery figure p {
  margin: 0;
}
#gallery figure img {
  width: 100%;
}
#gallery h2 {
  font-size: 1.2em;
}

form {
  width: 75%;
  margin: 0 auto;
}
form label {
  width: 100%;
  display: block;
  overflow: auto;
  margin-bottom: 20px;
}
form label > :last-child {
  margin-bottom: 0;
}
form input, form textarea {
  float: right;
  width: 75%;
  padding: 4.75px;
}
form textarea {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}
form input[type='submit'] {
  width: auto;
  float: right;
  display: block;
}

#fpslider {
	webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
  border: 3px solid #e8483a;
}

.cf7sr-g-recaptcha {
	float: right;
	display: block;
}

#seper1 {
	width: 100%;
	height: 20px;
	display: block;
	clear: both;
}

#wpcf7-f1478-p29-o1 form  p:nth-child(8)  input {
	float: right;
	display: block;
	width: 30%;
}

#home_image img{
	width: 100%;
	height: auto;
}

#feat_image img{
	width: 100%;
	height: auto;
}

#post_list_image img{
	width: 30%;
	height: auto;
}

div.afg-gallery img{ 
    width: 95%!important;
}
/*.middle.about_us img {
	width: 75%;
	height: auto;
}*/


/*Move Sidebar Position*/

	 body .middle, body .right-side, body .left-side {
	position: relative;
	}
	
	body .middle, body .right-side, body .left-side {
		top: 0;
	}
	
	body .right-side {
		right: 0;
	}
	
	body .left-side {
		left: -55%; /*Width of #main-content*/
	}
	
	body .middle {
		left: 23%; /*Width of #left-sidebar*/
	}

#post_block {
	
	width: 100%;
	height: auto;
	display: block;
}

.clear {
	clear: both;
}

.menu-footer_menu-container li{
	display: inline-block;
}

.alm-listing .alm-reveal>li img, .alm-listing>li img{
		width: 30%;
		height: auto;
	}
	
.alm-listing .alm-paging-content>li, .alm-listing .alm-reveal>li, .alm-listing>li{
	padding: 0 0 0 35% !important;	
		
	}
	
#wpcf7-f1478-p29-o1 > form p{
	overflow: auto;
	
}

/* ------------------------------850px and below------------------------------------- */
/*Optional 2 Column Layout*/

@media only screen and (max-width: 850px) {

	 body .middle, body .right-side, body .left-side {
	position: static;
	}


	body .right-side {
		width: 42.5%;
		margin: 0 5% 20px 0;
	}
	body .left-side {
		width: 42.5%;
		margin: 0 0 20px 5%;
	}
	body .middle {
		position: relative;
		top: 0;
		left: 0;
		width: 100%;
		
	}
	.white_blue_box {
	margin: 0 5% 20px 5%;
	
	}

	body nav {
	display: none;
	}
	
	.menu_block {
	display: none;
	}
	
	#menu_block {
	display: none;
	}
	
	.menu-header {
	display: none;
	}
	
	body header #donate {
	float: left;
	width: 33%;
	height: auto;
	margin-top: 10px;
		
	}
	
	body header #donate img{
	float: left;
	width: 75%;
	height: auto;
		
	}

	#logo {
	right: 5%;
	width: 33%;
	height: auto;
	margin-left: 5%;
	}
	
	#logo img{
	/*right: 5%;*/
	width: 75%;
	height: auto;
	
		
	}
	
	


}


/* ------------------------------550px and below------------------------------------- */
/*Optional 2 Column Layout*/

@media only screen and (max-width: 550px) {
	
	body .right-side {
		width: 90%;
		margin: 0 5% 20px 5%;
	}
	body .left-side {
		width: 90%;
		margin: 0 5% 20px 5%;
	}
	body .middle {
		position: relative;
		top: 0;
		left: 0;
		width: 100%;
		margin: 0 0 20px 0%;
		
	}
	
	body .middle img {
		width: 100%;
	}
	
	
	.white_blue_box {
    margin: 0 5% 20px 5%;
	}
	
	body header #donate img{
	float: left;
	width: 100%;
	height: auto;
		
	}

	#logo {
	right: 5%;
	width: 33%;
	height: auto;
	margin-left: 5%;
	}
	
	#logo img{
	/*right: 5%;*/
	width: 100%;
	height: auto;		
	}
	
	#gallery figure {
	float: left;
	margin-left: 3.3%;
	width: 45%;
	height: auto;
	margin-bottom: 20px;
}
	
	
	
}



