/*
Theme Name: KMMT
*/

body {
    background: #f7f7f2 url('images/body-gradient.png') repeat-x 0 0;
    font-family: 'Open Sans', sans-serif;
}

h1 {
    background: url('images/karen-heading.png') no-repeat right top;
    height: 94px;
    border-bottom: 1px solid #ad92b5;
    font-size: 1.875em;
    line-height: 1.1em;
    font-weight: 700;
    margin: 0;
    padding: 36px 25px 0;
}

h2 {
    font-size: 1.875em;
    line-height: 1.2em;
    font-weight: 700;
}

p {
    margin-bottom: 1.25em;
}


/* Responsive Self-Hosted Videos */

.wp-video, video.wp-video-shortcode, .mejs-container, .mejs-overlay.load {
	width: 100% !important;
	height: 100% !important;
}
.mejs-container {
	padding-top: 56.25%;
}
.wp-video, video.wp-video-shortcode {
	max-width: 100% !important;
}
video.wp-video-shortcode {
	position: relative;
}
.mejs-mediaelement {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}
.mejs-controls {
	display: none;
}
.mejs-overlay-play {
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: auto !important;
	height: auto !important;
}

/* Responsive iFrame Embedded Videos (eg Vimeo) */
/* iFrame must be wrapped by div with .responsive-container class
 * This is done automatically via functions.php for WP auto embeds, 
 * but manual iFrames will need the wrapper added in WP Text view editor.
 */
.responsive-container {
      position: relative;
      padding-bottom: 56.25%;
      padding-top: 30px;
      height: 0;
      overflow: hidden;
}
.responsive-container iframe {
      position: absolute;
      top: 0;
      left: 0;
	  width: 100%;
      height: 100%;
}



/* Header */

header {
    height: 147px;
}

header .row {
    position: relative;
}

header .social {
    position: absolute;
    top: 11px;
    right: 0;
    list-style: none;
}

header .social li {
    float: left;
    margin-left: 20px;
}

.social a {
    background-repeat: no-repeat;
    float: left;
    height: 22px;
    font-size: 0.75em;
    line-height: 1.166666em;
    font-weight: normal;
    color: #5e2675;
    filter: alpha(opacity=70);
    opacity: 0.7;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

.social a:hover {
    color: #5e2675;
    filter: alpha(opacity=100);
    opacity: 1;
}

/* FA icon size */
.social .fa, .social .fas,  .social .fab {
    vertical-align: middle;
    font-size: 24px;
	margin: 0 10px 0 0;
}

/* Old, now using FA icons
.social a.twitter {
    background-image: url('images/social-sprite4.png');
    background-position: 0 0px;
    
}
.social a.facebook {
    background-image: url('images/social-sprite4.png');
    background-position: 0 -30px;
}
.social a.newsletter {
    background-image: url('images/social-sprite4.png');
    background-position: 0 -60px;
    padding-left: 25px;
}
.social a.donate {
    background-image: url('images/social-sprite4.png');
    background-position: 0 -90px;
}
*/

.quick-email {
    font-size: 0.75em;
    line-height: 1.166666em;
    margin-top: 4px;
}

.social .quick-email a {
    background: none;
    float: none;
    padding: 0;
    font-size: 1em;
    color: #622c79;
    filter: alpha(opacity=100);
    opacity: 1;
}

.logo {
    float: left;
    margin-top: 25px;
    width: 180px;
    height: 102px;
    background: url('images/karen-morris-memorial-trust-portrait.svg') no-repeat 0 0;
    background-size: contain;
}

.ethos {
    float: right;
    margin-top: 90px;
    font-size: 0.9375em;
    line-height: 1.2em;
    color: #5e2675;
    font-weight: 600;
}

nav ul {
    width: 100%;
    height: 36px;
    background: url('images/nav-gradient.gif') repeat-x 0 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    float: left;
    border-right: 1px solid #a587b2;
    border-right: 1px solid rgba(255,255,255,0.2);
}

nav li a {
    font-size: 0.875em;
    line-height: 1.071428em;
    color: #fff;
    font-weight: 700;
    height: 36px;
    padding: 11px 10px 10px;
    float: left;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

nav li a:hover, nav li a:focus, nav li.current-menu-item a {
    background: #5f3672;
    background: rgba(49,15,69,0.4);
    color: #ffe248;
}



/* Home */

.timeline p, .and-now p, .page-template-contact-php .main p, .page-template-about-us-php .main p {
    font-size: 0.875em;
    line-height: 1.285714em;
}

.home .main {
    padding-top: 25px;
}

.latest-news {
    position: relative;
}

.latest-news ul {
    width: 100%;
    height: 380px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    list-style: none;
}

.latest-news li {
    background-color: #e0d5e4;
    width: 100%;
    height: 100%;
}

.latest-news li.about-slide {
    background-image: url('images/karen-morris.jpg');
    background-repeat: no-repeat;
    background-position: top right;
}

.latest-news li p {
    margin: 0;
    color: #5e2675;
}

.slide-left {
    float: left;
    width: 50%;
    padding: 40px 95px 0 25px;
	
	/* Force wrapping, various bits for most browsers */
	overflow-wrap: break-word;
	word-wrap: break-word;
	-ms-word-break: break-all;
	/* This is the dangerous one in WebKit, as it breaks things wherever */
	word-break: break-all;
	/* Instead use this non-standard one: */
	word-break: break-word;
	/* Adds a hyphen where the word breaks, if supported (No Blink) */
	-ms-hyphens: auto;
	-moz-hyphens: auto;
	-webkit-hyphens: auto;
	hyphens: auto;
}

.slide-left span {
    display: block;
    font-size: 0.875em;
    line-height: 1.071428em;
    color: #a180ae;
    font-weight: 700;
    margin-bottom: 19px;
}

.slide-left p {
    /*font-size: 1.875em;*/
    font-size: 1.375em;
    /*line-height: 1.266666em;*/
    line-height: 1.363636em;
	padding: 0 0 0.5em 0;
    font-weight: 700;
}

.slide-right {
    float: left;
    width: 50%;
    position: relative;
	height: 380px;
	overflow: hidden;
}

.slide-right span {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    display: block;
    font-size: 0.75em;
    line-height: 1.166666em;
    color: #fff;
    padding: 10px 12px;
}

.about-slide .slide-left {
    padding-top: 75px;
    padding-right: 80px;
}

.about-slide .slide-left p {
    font-size: 1.375em;
    line-height: 1.363636em;
    font-weight: 400;
}

.home-pager {
    text-align: center;
    width: 100%;
    position: absolute;
    bottom: -21px;
    left: 0;
}

.home-pager span {
    display: inline-block;
    width: 40px;
    height: 5px;
    background: #ffe248;
    margin: 0 3px;
    cursor: pointer;
}

.home-pager span.cycle-pager-active {
    background: #5e2675;
}

.home-links {
    margin-top: 60px;
    overflow: hidden;
}

.home-links .small-12 {
    height: 240px;
    float: left;
}

.guestbook {
    background: #ffe976;
    text-align: center;
    padding-bottom: 40px;
}

.btn {
    display: inline-block;
    background: url('images/nav-gradient.gif') repeat-x 0 0;
}

.btn span {
    display: inline-block;
    height: 36px;
    font-size: 0.875em;
    line-height: 1.071428em;
    color: #ffe248;
    font-weight: 700;
    text-align: center;
    padding: 11px 50px 10px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.btn:hover span {
    color: #ffe248;
    background-color: #5f3672;
    background-color: rgba(49,15,69,0.4);
}

.home-links .small-6 {
    float: left;
}

.home-from-home, .how-you-can-help {
    background: #622c79 url('images/box-gradient.gif') repeat-x 0 0;
}

.home-link-content {
    padding: 20px 35px 20px 25px;
    height: 100%;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.home-link-image {
    position: relative;
    z-index: 1;
    height: 0;
    padding-bottom: 50%;
}

.box-overlay {
    position: absolute;
    z-index: 2;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: #632d79;
    filter: alpha(opacity=0);
    opacity: 0;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.box-hover .box-overlay {
    filter: alpha(opacity=50);
    opacity: 0.5;
}

.box-hover .home-link-content {
    background: #632d79;
}

.home-from-home .home-link-image {
    background: url('images/home-homes-away-from-home.jpg') no-repeat center center;
    background-size: cover;
}

.how-you-can-help .home-link-image {
    background: url('images/home-how-you-can-help-2.jpg') no-repeat center center;
    background-size: cover;
}

.home-from-home h2, .how-you-can-help h2 {
    color: #fff;
    margin: 0 0 0.75em;
}

.home-from-home a, .how-you-can-help a {
    font-size: 0.875em;
    line-height: 1.071428em;
    color: #ffe248 !important;
    font-weight: 700;
}

.guestbook h2 {
    color: #bb9d78;
    margin: 31px 0 14px;
    display: inline-block;
    position: relative;
}

.guestbook h2:before {
    content:"“";
    font-size: 2.4em;
    position: absolute;
    left: -33px;
    font-weight: 600;
}

.guestbook h2:after {
    content:"”";
    font-size: 2.4em;
    position: absolute;
    right: -33px;
    font-weight: 600;
}

.guestbook p, .chatroom p {
    font-size: 0.875em;
    line-height: 1.428571em;
    color: #622c79;
    font-weight: normal;
    margin-bottom: 26px;
}

.chatroom {
    background: #d8cadd;
    text-align: center;
    padding-bottom: 40px;
}

.chatroom img {
    margin: 25px 0 14px;
}

.home-patrons {
    margin-top: 50px;
    overflow: hidden;
}

.home-patrons .small-6 {
    float: left;
}

.home-patrons .small-12 {
    background: #632d79;
    float: left;
}

.home-patrons p {
    font-size: 1.125em;
    line-height: 1.277777em;
    color: #ffe248;
    font-weight: normal;
    margin: 23px 0;
}

.home-patrons span {
    font-size: 0.875em;
    line-height: 1.285714em;
    color: #fff;
    font-weight: normal;
    display: block;
}

.donate-tesimonial {
    margin-top: 100px;
    text-align: center;
    background: #632d79;
    padding-top: 25px;
    padding-bottom: 22px;
}

.main .donate-tesimonial p {
    font-size: 1.125em;
    line-height: 1.222222em;
    color: #ffe248;
    font-weight: normal;
    margin-bottom: 16px;
}

.donate-tesimonial span {
    font-size: 0.875em;
    line-height: 1.142857em;
    color: #fff;
    font-weight: normal;
}

.donate-message {
    background: #ffe976;
    text-align: center;
    padding-top: 25px;
}

.main .donate-message p {
    font-size: 1.125em;
    line-height: 1.222222em;
    color: #622c79;
    margin: 0;
    font-weight: normal;
}

footer {
    background: #f7f7f2 url('images/body-gradient.png') repeat-x 0 0;
}

.donate-options {
    background: #ffe976;
    padding-bottom: 28px;
}

.donate-options ul {
    list-style: none;
    margin: 0;
    padding: 0 17px;
    overflow: hidden;
}

.donate-options li {
    padding: 0 8px;
    float: left;
}

.donate-options a {
    display: block;
    width: 100%;
    height: 85px;
    background-color: #fff;
    background-position: center center;
    background-repeat: no-repeat;
}

.just-giving {
    background-image: url('images/just-giving.png');
}

.paypal {
    background-image: url('images/paypal.png');
}

.virgin-money-giving {
    background-image: url('images/virgin-money-giving.png');
}

.sitemap {
    margin-left: -20px;
    margin-top: 80px;
}

.sitemap ul {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.sitemap li {
    float: left;
    padding-left: 20px;
}

.sitemap p {
    font-size: 0.75em;
    line-height: 1.5em;
    margin-bottom: 1em;
}

.sitemap .social a {
    clear: left;
    margin-bottom: 9px;
}

h4 {
    font-size: 1.125em;
    line-height: 1.222222em;
    color: #622c79;
    font-weight: 700;
    border-bottom: 1px solid #cdbed0;
    padding-bottom: 6px;
    margin: 0 0 14px;
}

.copyright {
    border-top: 2px solid #ad92b5;
    color: #464646;
    font-size: 0.75em;
    line-height: 1.5em;
    margin-top: 80px;
    padding: 22px 0;
}

a, a:hover, a:focus {
    color: #622c79;
}

.main {
    padding-top: 18px;
}

h2.patrons-heading {
    text-align: center;
    margin: 70px 0 0;
}

h2.video-heading {
    text-align: center;
    margin: 70px auto 0 auto;
    max-width:520px;
}

/* History */

.intro {
    padding-top: 40px;
    padding-bottom: 30px;
    overflow: hidden;
}

.intro p {
    font-size: 0.875em;
    line-height: 1.285714em;
}

.timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    clear: both;
}

.timeline li {
    margin-bottom: 10px;
    border-bottom: 2px solid #ad92b5;
    background: #fff;
    text-align: center;
    padding: 25px 25px 7px;
    position: relative;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.timeline li.highlight {
    background: #e0d5e4;
}

.timeline li.highlight:after {
    border-top-color: #e0d5e4;
}

.timeline li.highlight .date {
    font-size: 2em;
    line-height: 1.1em;
}


.date {
    font-size: 1.375em;
    line-height: 1.136363em;
    font-weight: 700;
    color: #622c79;
    margin-bottom: 24px;
    display: inline-block;
}



.and-now {
    margin-top: 68px;
    text-align: center;
}

.and-now div {
    padding-top: 25px;
    padding-bottom: 7px;
    background: #e8e2e6;
}

.timeline li:before, .timeline li:after {
    content: "";
    position: absolute;
    width: 0; 
    height: 0;
    left: 50%;
    margin-left: -16px;
    
    
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    
}

.timeline li:before {
    z-index: 2;
    border-top: 16px solid #ad92b5;
    bottom: -16px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.timeline li:after {
    z-index: 3;
    border-top: 16px solid #fff;
    bottom: -13px;
}

.and-now:after {
    content: "";
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-bottom: 16px solid #e8e2e6;
    top: -16px;
    position: absolute;
    width: 0; 
    height: 0;
    left: 50%;
    margin-left: -16px;
}

.timeline-hover {
    border-color: #632d79 !important;
}

.timeline-hover:before {
    border-top-color: #632d79 !important;
}

/* Homes */

.homes {
    list-style: none;
    margin: 0;
    padding: 0;
}

.homes li {
    width: 100%;
    background: #efeaf1;
    overflow: hidden;
    margin-bottom: 60px;
}

.home-left {
    float: left;
}

.home-right {
    float: left;
    background: #fff;
}

.home-pictures {
    width: 100%;
}

.home-pictures .small-4 {
    padding-left: 1px;
    float: left;
}

.homes h2 {
    font-size: 1.375em;
    line-height: 1.181818em;
    margin: 22px 0 25px;
}

.opened-in {
    font-size: 0.875em;
    line-height: 1.142857em;
    color: #464646;
    font-weight: 700;
    display: block;
}

.accommodates {
    font-size: 0.875em;
    line-height: 1.142857em;
    color: #464646;
    font-weight: 700;
    display: block;
    margin-top: 25px;
}

.accommodates span {
    display: block;
    font-size: 1.571428em;
    line-height: 1.136363em;
    color: #622c79;
    margin-top: 2px;
}

.home-testimonials {
    padding-top: 28px;
    padding-bottom: 28px;
    margin: 0;
    list-style: none;
}

.home-testimonials li {
    margin-bottom: 20px;
    background: transparent;
}

.home-testimonials li p {
    font-size: 0.875em;
    line-height: 1.285714em;
    margin-bottom: 10px;
}

.home-testimonials li span {
    display: block;
    font-size: 0.75em;
    line-height: 1.166666em;
}

.page-template-homes-from-home-php .donate-tesimonial {
    margin-top: 40px;
}

/* Support us */

.events {
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 2px solid #fff;
    padding-bottom: 20px;
}

.events li {
    margin-bottom: 30px;
    background: #fff;
    overflow: hidden;
    width: 100%;
    padding-bottom: 0px;
}
.events li.trans {
    background: none;
}

.event-top {
    background: #efeaf1;
    padding-top: 22px;
    padding-bottom: 16px;
}

.page-template-how-you-can-help-php h2 {
    font-size: 1.375em;
    line-height: 1.181818em;
    margin: 0 0 7px;
}
.page-template-how-you-can-help-php h2.video-heading {
    text-align: center;
    margin: 30px auto 50px auto;
    max-width:520px;
}

.regular-support ul li:first-child {
    background-position: 0 11px;
}

.regular-support ul li:first-child h4 {
    font-size: 1.375em;
    line-height: 1.181818em;
}

.event-top span {
    font-size: 0.875em;
    line-height: 1.142857em;
    color: #464646;
    font-weight: 700;
    display: block;
}

.event-bot {
    padding-top: 27px;
    float: left !important;
}
.full-width-content .event-bot.column {
    padding: 0 0 0 0;
}

.event-details p {
    font-size: 0.875em;
    line-height: 1.285714em;
    margin-bottom: 1em;
}

.event-details .btn {
    margin-top: 13px;
}

.event-details, .event-pic {
    float: left;
}

.event-pic img {
    width: 100%;
}

.event-pic span {
    display: block;
    font-size: 0.75em;
    line-height: 1.166666em;
    margin-top: 15px;
    padding-right: 25px;
}

.raise-money {
    margin-top: 45px;
    overflow: hidden;
    padding-bottom: 50px;
    border-bottom: 2px solid #fff;
}

.raise-money h2 {
    margin-bottom: 23px;
}

.donate-online {
    
}

.donate-online h2 {
    margin: 0 0 25px;
}

.donate-options {
    clear: left;
    padding-top: 25px;
    padding-bottom: 25px;
}

.give-now {
    font-size: 0.875em;
    line-height: 1.285714em;
    margin: 45px 0;
}

.donate-block {
    background: #fff;
    padding-top: 46px;
    padding-bottom: 50px;
    margin-bottom: 50px;
}

.donate-block ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.donate-block h2 {
    margin-bottom: 24px;
}

.donate-block li {
    margin-bottom: 8px;
    padding-left: 9px;
    background: url('images/dot.gif') no-repeat 0 6px;
}

.donate-block h4 {
    border: none;
    font-size: 0.875em;
    line-height: 1.142857em;
    padding: 0;
    margin-bottom: 2px;
}

.donate-block p {
    font-size: 0.875em;
    line-height: 1.285714em;
    margin: 0;
}

.donate-block .btn {
    margin-top: 19px;
}

.page-template-how-you-can-help-php .donate-tesimonial {
    margin-top: 50px;
}

.event-pic {
    margin-bottom: 45px;
}

.challenge-pics {
    float: left !important;
    margin-top: 30px;
}

.challenge-pics .row {
    margin-left: -0.9375em;
    margin-right: -0.9375em;
}

.challenge-pics .column {
    padding-left: 0.9375em;
    padding-right: 0.9375em;
}

/* Guestbook */

.guestbook-wrapper {
    margin-left: -4px;
    margin-right: -4px;
    margin-top: 50px;
}

.guestbook-list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.guestbook-list li {
    float: left;
    /*width: 33.333333%;*/
    padding: 0 4px;
    margin-bottom: 8px;
}

.guestbook-list li div {
    background: #fff;
    padding: 25px;
    position: relative;
}

.guestbook-list a img {
    position: relative;
    z-index: 1;
}

.guestbook-list a .image-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #632d79;
    z-index: 2;
    filter: alpha(opacity=0);
    opacity: 0;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.guestbook-list a:hover .image-overlay {
    filter: alpha(opacity=20);
    opacity: 0.2;
}

.guestbook-list li p {
    color: #622c79;
    font-size: 0.875em;
    line-height: 1.428571em;
    font-weight: 700;
    position: relative;
    padding: 35px 0;
    margin-bottom: 17px;
}

.guestbook-list li p:before {
    content: "“";
    color: #f2f2e9;
    font-size: 5.142857em;
    line-height: 1em;
    position: absolute;
    left: 0;
    top: -13px;
}

.guestbook-list li p:after {
    content: "”";
    color: #f2f2e9;
    font-size: 5.142857em;
    line-height: 1em;
    position: absolute;
    right: 0;
    bottom: -40px;
}

.guestbook-list li span {
    font-size: 0.875em;
    line-height: 1.142857em;
}

.guestbook-form-section {
    margin-top: 50px;
    background: #ffe976;
    overflow: hidden;
    -webkit-transition: background 0.3s;
    transition: background 0.3s;
}

.guestbook-open {
    background: #fff;
}

.guestbook-form-go {
    display: none;
}

.guestbook-form-go .form-error {
	bottom: 100px;
}

.guestbook-form-wrapper {
    padding-top: 35px;
    padding-bottom: 50px;
}

.guestbook-form-wrapper p {
    color: #622c79;
    font-size: 0.875em;
    line-height: 1.428571em;
    font-weight: normal;
    margin-bottom: 45px;
    text-align: center;
}

.guestbook-form-intro {
    text-align: center;
}

.guestbook-go span {
    padding-right: 60px;
    background: url('images/down_arrow.png') no-repeat right 40px top 16px;
}

.guestbook-form {
    padding: 0 45px;
    margin: 0;
}

.guestbook-form textarea, input.text {
    border: 1px solid #c8b5d0;
}

.guestbook-form textarea:focus, input.text:focus {
    border-color: #622c79;
    background: #fff;
    box-shadow: inset 0 1px 2px #c8b5d0;
}

.guestbook-form textarea {
    margin-bottom: 25px;
    height: 148px;
    padding: 10px 14px;
    font-size: 0.875em;
    line-height: 1.285714em;
    color: #622c79;
}

.input-fields {
    overflow: hidden;
}

.input-fields div {
    width: 50%;
    float: left;
}

input.text {
    margin-bottom: 0;
    height: 33px;
    font-size: 1.125em;
    line-height: 1.166666em;
    color: #622c79;
    padding: 5px 14px 7px;
}

::-webkit-input-placeholder {
   position: relative;
   top: 2px;
}

:-moz-placeholder { /* Firefox 18- */
   position: relative;
   top: 2px;
}

::-moz-placeholder {  /* Firefox 19+ */
   position: relative;
   top: 2px; 
}

:-ms-input-placeholder {  
   position: relative;
   top: 2px;
}

.guestbook-form .name {
    padding-right: 5px;
}

.guestbook-form .email {
    padding-left: 5px;
}

.submit {
    margin-top: 50px;
    text-align: center;
}

.guestbook-form-thanks {
    text-align: center;
    display: none;
}

.thanks-heading {
    font-size: 1.875em !important;
    line-height: 1.1em !important;
    color: #622c79;
    font-weight: 700;
    margin: 75px 0 18px;
}

.thanks-message {
    font-size: 0.875em;
    line-height: 1.285714em;
    color: #622c79;
    font-weight: 700;
    margin: 0 0 90px;
}

.guestbook-form-thanks .donate-options {
    padding-bottom: 50px;
}

.guestbook-form-thanks .donate-options p {
    color: #622c79;
    font-size: 1.125em;
    line-height: 1.166666em;
    margin: 22px 0 25px;
}

.guestbook-form-thanks, .guestbook-form-wrapper {
    position: relative;
    z-index: 2;
}

.guestbook-form-section .behind {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.form-error {
    position: absolute;
    left: 0;
    bottom: 115px;
    width: 100%;
    text-align: center;
    display: none;
    color: #622c79;
    font-weight: 700;
}

.page-template-contact-php .main h4 {
    border-bottom: none;
    padding: 0;
    margin: 0;
}

.contact-details {
    margin-top: 45px;
}

.contact-patrons {
    margin-top: 28px;
}

.contact-trutees {
    margin-top: 28px;
}

.contact-sylvia {
    margin-top: 48px;
}

.contact-sylvia p {
    margin-bottom: 16px;
}

.contact-quote {
    background: #e8e2e6;
    position: relative;
    padding-top: 55px;
    padding-bottom: 20px;
    margin-top: 40px;
}

.contact-quote img {
    position: absolute;
    top: 0;
    right: 50px;
    height: 100%;
}

.contact-quote span {
    display: block;
    font-size: 1.125em;
    line-height: 1.222222em;
    color: #622c79;
    font-weight: 700;
    margin-bottom: 6px;
}

.contact-form-wrapper {
    clear: left;
    margin-top: 60px;
    padding: 20px 70px 50px;
    background: #fff;
    float: left;
    width: 100%;
    text-align: center;
    position: relative;
}

.contact-form-wrapper h2 {
    margin: 0 0 12px;
}

.contact-form-wrapper p {
    margin-bottom: 35px;
}

.contact-form .input-fields {
    margin-bottom: 20px;
}

.firstname {
    padding-right: 5px;
}

.surname {
    padding-left: 5px;
}

.newsletter-thanks {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: #ffe976;
    display: none;
}

.newsletter-thanks-message {
    color: #622c79;
    font-size: 1.125em !important;
}

/* About */

h3 {
    font-size: 1.375em;
    line-height: 1.181818em;
    font-weight: 700;
    margin: 0 0 15px;
}

.about-section {
    border-bottom: 2px solid #fff;
    padding-bottom: 27px;
    margin-top: 45px;
}

.page-template-about-us-php .main h3 {
    margin-bottom: 23px;
}

.page-template-about-us-php .main h4 {
    border: none;
    padding: 0;
    margin: 0 0 6px;
}

.page-template-about-us-php .main ul {
    list-style: none;
    padding: 0;
}

.about-patrons .row, .about-trustees .row {
    margin-left: -0.9375em;
    margin-right: -0.9375em;
}

.about-patrons .column, .about-trustees .column {
    padding-left: 0.9375em;
    padding-right: 0.9375em;
    float: left !important;
}

.about-patrons ul.row, .about-trustees ul.row {
    padding-top: 18px;
}

.patron-caption {
    margin-bottom: 18px;
}

.about-trustees {
    padding-bottom: 3px;
}

.about-trustees li {
    margin-bottom: 50px;
    overflow: hidden;
}

.about-funds h3 {
    margin: 47px 0 0;
}

.chart {
    overflow: hidden;
}

.chart div {
    float: left;
}

.chart .medium-7 {
    display: table;
}

.chart .medium-7 div {
    float: none;
    display: table-cell;
    vertical-align: middle;
}

/* fancybox */

/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
.fancybox-tmp
{
	padding: 0;
	margin: 0;
	border: 0;
	outline: none;
	vertical-align: top;
}

.fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 8020;
}

.fancybox-skin {
	position: relative;
	background: #fff;
	color: #444;
	text-shadow: none;
}

.fancybox-opened {
	z-index: 8030;
}

.fancybox-outer, .fancybox-inner {
	position: relative;
}

.fancybox-inner {
	overflow: hidden;
}

.fancybox-type-iframe .fancybox-inner {
	-webkit-overflow-scrolling: touch;
}

.fancybox-error {
	color: #444;
	font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	margin: 0;
	padding: 15px;
	white-space: nowrap;
}

.fancybox-image, .fancybox-iframe {
	display: block;
	width: 100%;
	height: 100%;
}

.fancybox-image {
	max-width: 100%;
	max-height: 100%;
}

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -22px;
	margin-left: -22px;
	background: #fff;
	cursor: pointer;
	z-index: 8060;
}

#fancybox-loading div {
	width: 44px;
	height: 44px;
	background: #fff url('images/loading.gif') center center no-repeat;
}

.fancybox-close {
	position: absolute;
	top: 19px;
	right: 19px;
	width: 20px;
	height: 19px;
	cursor: pointer;
	z-index: 8040;
        display: block;
        background: url('images/close.gif') no-repeat 0 0;
}



.fancybox-tmp {
	position: absolute;
	top: -99999px;
	left: -99999px;
	visibility: hidden;
	max-width: 99999px;
	max-height: 99999px;
	overflow: visible !important;
}

.fancybox-title {
    text-align: center;
    font-size: 0.875em;
}

/* Overlay helper */

.fancybox-lock {
    overflow: hidden !important;
    width: auto;
}

.fancybox-lock body {
    overflow: hidden !important;
}

.fancybox-lock-test {
    overflow-y: hidden !important;
}

.fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	display: none;
	z-index: 8010;
	background: url('images/modal-bg.png');
}

.fancybox-overlay-fixed {
	position: fixed;
	bottom: 0;
	right: 0;
}

.fancybox-lock .fancybox-overlay {
	overflow: auto;
	overflow-y: scroll;
}



/* Chatroom */

.chatroom-wrapper {
    overflow: hidden;
    width: 100%;
}

.chatroom-left {
    float: left;
    width: 66.458333%;
}

.chatroom-right {
    float: left;
    width: 32.708333%;
    margin-left: 8px;
}

.chatroom-right a {
    display: block;
    width: 100%;
    padding: 45px 25px;
    text-align: right;
    background: #ad92b5 url('images/chatroom-facebook.png') no-repeat 25px 25px;
    font-size: 1.125em;
    line-height: 1.222222em;
    color: #fff;
    font-weight: 700;
}

.page-template-chatroom-php #cff .cff-item {
    background: #fff;
    margin-bottom: 20px;
    padding: 0 0 22px 25px;
}

.page-template-chatroom-php #cff .cff-author {
    background: #efeaf1;
}

.page-template-chatroom-php #cff .cff-author .cff-author-text span {
    height: 60px;
    padding-left: 85px;
}

.page-template-chatroom-php #cff .cff-author-img {
    width: 60px;
    width: 40px; /* AW quick fix as header not sizing with icon? */
}

.page-template-chatroom-php #cff .cff-author-img img {
    width: 60px;
    width: 40px; /* AW quick fix as header not sizing with icon? */
}

.page-template-chatroom-php #cff p {
    padding-right: 25px;
    font-size: 14px;
    line-height: 18px;
}

.page-template-chatroom-php #cff .cff-date {
    font-weight: 700;
    margin: 2px 0 1px
}

.page-template-chatroom-php #cff .cff-expand a {
    font-size: 14px;
}

.page-template-chatroom-php #cff .cff-viewpost-link, .page-template-chatroom-php #cff .cff-viewpost-facebook {
    font-size: 12px;
    line-height: 14px;
    font-weight: 700;
    margin-top: 11px;
}

.hamburger {
    width: 25px;
    height: 25px;
    display: block;
    background: url('images/hamburger.png') no-repeat 0 0;
    position: absolute;
    top: 22px;
    right: 15px;
    display: none;
}

.mobile-intro {
    display: none;
}

/* Newsletter page */

.newsletter-list {
    list-style: none;
    margin: 50px 0 0;
}

.newsletter-list li {
    background: #e8e2e6;
    margin-bottom: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
    overflow: hidden;
}

.newsletter-image {
    width: 175px;
}

.newsletter-image img {
    border: 6px solid #fff;
}

.newsletter-details {
    margin-top: 23px;
    float: none !important;
}

.newsletter-details h2 {
    margin: 0 0 26px;
}

.newsletter-details p {
    font-size: 1.25em;
    line-height: 1.1em;
    color: #622c79;
    margin: 0 0 2px;
}

/* Phones  and tablets*/
@media only screen and (max-width : 1024px) {
    h1 {
        background: none;
        border-bottom: 2px solid #ad92b5;
        padding: 0 0 8px;
        height: auto;
        font-size: 1.125em;
        line-height: 1.166666em;
        margin-bottom: 28px;
    }
    
    h2, .accommodates span {
        font-size: 1.125em !important;
        line-height: 1.222222em !important;
    }
    
    h2.video-heading {
        max-width:340px;
    }
    
    h3 {
        font-size: 1.125em;
        line-height: 1.166666em;
    }
    
    .main h4 {
        font-size: 0.875em;
        line-height: 1.285714em;
    }
    
    .column, .columns {
        padding-left: 0.9375em;
        padding-right: 0.9375em;
    }
    
    .row .row {
        margin-left: -0.9375em;
        margin-right: -0.9375em;
    }
    
    header {
        height: 68px;
    }
    
    .main, footer {
        padding-left: 0.9375em;
        padding-right: 0.9375em;
    }
    
    header .social, .ethos {
        display: none;
    }
    
    .logo {
        width: 198px;
        height: 40px;
        background: url('images/karen-morris-memorial-trust-landscape.svg') no-repeat 0 0;
        background-size: contain;
        margin: 14px 12px;
    }
    
    .hamburger {
        display: block;
    }
    
    nav {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        width: 100%;
        z-index: 100;
    }
    
    nav ul {
        height: auto;
    }
    
    nav li {
        width: 100%;
        background: url('images/nav-gradient.gif') repeat-x 0 0;
        border-bottom: 1px solid #f7f7f2;
    }
    
    nav li a {
        width: 100%;
        padding: 11px 15px 10px;
    }
    
    .main {
        padding-top: 37px;
        background: #f7f7f2;
    }
    
    .home .main {
        padding-top: 0;
    }
    
    .latest-news {
        display: none;
    }
    
    .mobile-intro {
        background: #fff;
        overflow: hidden;
        display: block;
    }
    
    .mobile-intro p {
        color: #5e2675;
        font-size: 0.875em;
        line-height: 1.571428em;
    }
    
    .mobile-intro img {
        width: 100%;
        margin-bottom: 12px;
    }
    
    .home-links {
        margin-top: 40px;
    }
    
    .home-links .small-12 {
        /*height: 145px;*/
        height: auto;
    }
    
    .home-link-content {
        padding: 12px 15px;
    }
    
    .home-from-home a, .how-you-can-help a {
        font-size: 0.75em;
    }
    
    .box-hover .home-link-content {
        background: transparent;
    }
    
    .guestbook h2 {
        margin: 25px 0 8px;
    }
    
    .guestbook h2:before {
        font-size: 3.555555em;
        left: -30px;
    }
    
    .guestbook h2:after {
        font-size: 3.555555em;
        right: -30px;
    }
    
    .btn span {
        padding: 8px 20px 7px;
        height: 30px;
    }
    
    .guestbook p, .chatroom p {
        margin-bottom: 18px;
    }
    
    .guestbook, .chatroom {
        padding-bottom: 20px;
    }
    
    .chatroom img {
        margin: 15px 0 12px;
        width: 74px;
    }
    
    .home-patrons {
        margin-top: 40px;
    }
    
    .home-patrons img {
        width: 100%;
    }
    
    
    
    .home-patrons p, .home-patrons span, .donate-tesimonial p, .donate-tesimonial span, .main .donate-message p, .intro p, .timeline p, .and-now p, .page-template-about-us-php .main p, .opened-in, .accommodates, .home-testimonials li p, .event-top span, .event-details p, .give-now, .donate-block p, .guestbook-list li p, .guestbook-list li span, .guestbook-form-wrapper p, .page-template-contact-php .main p, .page-template-chatroom-php #cff p {
        font-size: 0.75em;
        /*line-height: 1.166666em;*/
        line-height: 1.25em;
    }
    
    .home-patrons p {
        margin: 12px 0;
    }
    
    .donate-tesimonial {
        margin-top: 80px;
        padding-top: 13px;
        padding-bottom: 15px;
    }
    
    .donate-message {
        padding-top: 13px;
    }
    
    /*.home .donate-options {
        padding: 0 0 5px;
    }*/
    
 
    
    .donate-options li {
        margin-bottom: 15px;
    }
    
    .donate-options a {
        height: 50px;
    }
    
    .sitemap {
        margin-top: 75px;
    }
    
    .sitemap li {
        margin-bottom: 20px;
    }
    
    .footer-patrons, .footer-trustees {
        display: none;
    }
    
    .copyright {
        margin-top: 11px;
    }
    
    .copyright span {
        display: block;
    }
    
    .intro {
        padding: 0;
        margin-bottom: 9px;
    }
    
    .date {
        font-size: 0.875em;
        line-height: 1.285714em;
        margin-bottom: 14px;
    }
    
    .timeline li {
        padding: 15px 15px 0;
        margin-bottom: 8px;
    }
    
    .and-now {
        padding: 0;
        margin-top: 62px;
    }
    
    .about-section {
        padding-left: 0;
        padding-right: 0;
        margin-top: 37px;
    }
    
    .about-karens-mum {
        margin-top: 0;
    }
    
    .page-template-about-us-php .main h4 {
        margin-bottom: 4px;
    }
    
    .about-patrons ul.row, .about-trustees ul.row {
        padding-top: 0;
    }
    
    .about-patrons .column, .about-trustees .column {
        margin-bottom: 25px;
    }
    
    .about-patrons {
        padding-bottom: 20px;
    }
    
    .about-trustees li {
        margin-bottom: 0;
    }
    
    .about-trustees .row {
        margin-left: -0.5em;
        margin-right: -0.5em;
    }
    
    .about-trustees .column {
        padding-left: 0.5em;
        padding-right: 0.5em;
    }
    
    .about-trustees {
        padding-bottom: 15px;
    }
    
    .about-funds {
        padding-left: 0;
        padding-right: 0;
    }
    
    .about-funds h3 {
        margin-top: 36px;
    }
    
    .home-pictures img {
        width: 100%;
        margin-top: 1px;
    }
    
    .homes h2 {
        margin: 15px 0;
    }
    
    .opened-in {
        margin-bottom: 12px;
    }
    
    .accommodates {
        margin-bottom: 16px;
    }
    
    .home-testimonials {
        padding-top: 15px;
        padding-bottom: 10px;
    }
    
    .homes li {
        margin-bottom: 40px;
    }
    
    .home-testimonials li {
        margin-bottom: 15px;
    }
    
    .event-top {
        padding-top: 15px;
        padding-bottom: 11px;
    }
    
    .event-bot {
        padding-top: 13px;
        padding-bottom: 45px;
    }
    
    .event-pic span {
        margin-top: 0;
        padding: 13px 0 0;
    }
    
    .events li {
        padding-bottom: 0;
        margin-bottom: 20px;
    }
    
    .event-details {
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 45px;
    }
    
    .raise-money {
        margin-top: 32px;
        padding-bottom: 25px;
    }
    
    .raise-money h2 {
        margin-bottom: 12px;
    }
    
    .donate-heading {
        padding-left: 0;
        padding-right: 0;
    }
    
    .donate-online h2 {
        margin: 0 0 13px;
    }
    
    .donate-options {
        padding-top: 15px;
        padding-bottom: 0;
    }
    
    .give-now {
        margin: 12px 0 25px;
    }
    
    .donate-block li {
        background: none;
        padding-left: 0;
    }
    
    .donate-block {
        padding-top: 15px;
        padding-bottom: 30px;
        margin-bottom: 40px;
    }
    
    .donate-block h2 {
        margin-bottom: 13px;
    }
    
    .fancybox-skin {
        padding: 45px 15px 15px !important;
    }
    
    .fancybox-close {
        top: 14px;
    }
    
    .guestbook-list li div {
        padding: 15px;
    }
    
    .guestbook-list li p {
        padding: 20px 0;
        margin-bottom: 0;
    }
    
    .guestbook-list li span {
        display: block;
    }
    
    .guestbook-form-section {
        margin-top: 32px;
    }
    
    .guestbook-form-wrapper {
        padding-top: 15px;
        padding-bottom: 30px;
    }
    
    .guestbook-form-wrapper p {
        margin-bottom: 26px;
    }
    
    .guestbook-go span {
        padding-right: 40px;
        background-position: right 17px top 13px;
    }
    
    .guestbook-form {
        padding: 0;
    }
    
    .guestbook-form .name, .guestbook-form .email {
        padding: 0;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .guestbook-form textarea {
        margin-bottom: 15px;
    }
    
    .guestbook-form-wrapper p {
        margin-bottom: 13px;
    }
    
    .submit {
        margin-top: 15px;
    }
    
    input.text {
        font-size: 0.875em;
        line-height: 1.071428em;
        height: 30px;
        padding: 5px 14px;
    }
    
    .form-error {
        position: static;
        font-size: 0.875em;
        line-height: 1.285714em;
        margin-top: 14px;
        float: left;
    }
    
    .guestbook-wrapper {
        margin-top: 30px;
    }
    
    /*.page-template-contact-php .main .column {
        padding-left: 0;
        padding-right: 0;
    }*/
    
    .contact-details, .contact-patrons, .contact-trutees, .contact-sylvia, .contact-quote {
        padding-left: 0;
        padding-right: 0;
    }
    
    .contact-details {
        margin-top: 0;
    }
    
    .contact-patrons, .contact-trutees {
        margin-top: 15px;
    }
    
    .contact-sylvia {
        margin-top: 27px;
    }
    
    .contact-quote img {
        display: none;
    }
    
    .contact-quote {
        margin-top: 27px;
        padding: 15px 15px 3px !important;
    }
    
    .contact-quote span {
        font-size: 0.875em;
        line-height: 1.285714em;
    }
    
    .contact-form-wrapper {
        margin-top: 40px;
        padding: 15px 15px 30px;
    }
    
    .contact-form-wrapper p {
        margin-bottom: 15px;
    }
    
    .input-fields div {
        padding: 0;
        width: 100%;
    }
    
    .contact-form .input-fields {
        margin-bottom: 0;
    }
    
    .firstname, .surname {
        margin-bottom: 15px;
    }
    
    .email {
        margin-bottom: 30px;
    }
    
    .event-details .btn {
        margin-top: 0;
    }
    
    .page-template-chatroom-php #cff .cff-item {
        padding: 0 0 15px;
    }
    
    .page-template-chatroom-php #cff p {
        
    }
    
    .chatroom-left {
        width: 100%;
    }
    
    .chatroom-right {
        width: 100%;
        padding-left: 0;
    }
    
    .page-template-chatroom-php #cff .cff-date {
        padding: 0 15px;
        margin: 0 0 11px;
    }
    
    .page-template-chatroom-php #cff p {
        padding: 0 15px;
        margin: 0 0 13px;
    }
    
    .page-template-chatroom-php #cff .cff-author-img {
        width: 40px;
    }
    
    .page-template-chatroom-php #cff .cff-author-img img {
        width: 40px;
    }
    
    .page-template-chatroom-php #cff .cff-author .cff-author-text span {
        height: 40px;
        padding-left: 55px;
        padding-right: 15px;
        font-size: 0.875em;
        line-height: 1.285714em;
    }
    
    .page-template-chatroom-php #cff .cff-viewpost-link, .page-template-chatroom-php #cff .cff-viewpost-facebook {
        margin: 0 0 0 15px;
    }
    
    .page-template-chatroom-php #cff .cff-author {
        margin-bottom: 13px;
    }
    
    .page-template-chatroom-php #cff .cff-expand a {
        font-size: 12px;
    }
    
    #cff .cff-shared-link {
        padding: 5px 0 0 !important;
        margin: 0 0 13px !important;
    }
    
    .chatroom-right a {
        text-align: left;
        background-size: 40px;
        background-position: 15px 15px;
        font-size: 0.875em;
        line-height: 1.285714em;
        padding: 26px 15px 26px 65px;
    }
    
    .challenge-pics {
        padding-left: 0;
        padding-right: 0;
        margin-top: 0;
    }
}

/* Phones only */

@media only screen and (max-width : 640px) {
    .home-patrons .small-12:nth-child(2) .small-6 {
        float: right;
    }
    
    .donate-options ul {
        padding: 0 15px;
    }
    
    .donate-options li {
        padding: 0;
    }
    
    .newsletter-image {
        display: none;
    }
    
    .newsletter-details {
        margin-top: 0;
    }
    
    .newsletter-details h2 {
        margin-bottom: 10px;
    }
}

/* Phone only */

@media only screen and (max-width : 640px) {
    .chart .medium-7 {
        margin-top: 14px;
    }
}

/* Tablet only */

@media only screen and (min-width : 641px) and (max-width : 1024px) {
    .donate-options ul {
        padding: 0 7px;
    }
    
    .sitemap {
        margin-left: -15px;
        margin-right: -15px;
    }
    
    .sitemap li {
        padding-left: 15px;
        padding-right: 15px;
    }
    
}