/* PHONES ---------- */
@media only screen and (max-width: 769px)
 {
	
	*
	{
		box-sizing: content-box;
	}
	.rssbar {
    	padding-left: 20px !important;
    }
	
	 body
	 {
		overflow-x: hidden;
	}
	
	.search
	{
		display:none;
	}
	html, body, .logoetc
	{
		width: 100%;
	}
	
	table.calendar .weekdays {
		visibility: hidden;
	}
	
	table.calendar td, table.calendar th {
		width: 100%;
		height: auto;
		display: block;
	}
	
	table.calendar thead {
		display: inline-block;;
	}
	
	.weekdays th {
		height: 1px !important;
	}
	
	
	table.calendar tr.navigation th {
	    display: inline;
    }
	
	.logo > img
	{
		height: 75px;
		width: auto;
	}
	
	.topnavstack1
	{
		height: auto;
		padding: 8px 0;
		box-shadow: 0 2px 3px -2px #ccc;
	}
	
	.navlinks {
    	display: none;
    }
	
	.topnavstack2 {
		box-shadow: -2px 1px 1px #ccc;
		height: 31px;
		margin-top: 10px;
		width: 100%;
	}
	
	.donate {
		font-size: 1em;
		height: auto;
		left: 100px;
		right: auto;
		top: 88px;
	}
	
	.xtranav .donate.button
	{
		/*display:none !important;*/
	}
	
	.donatetxt {
    position: relative;
    }
    
    .donatetxt h1, .donatetxt h2 {
    width: auto;
    background-color: rgba(0,0,0,.5);
	padding: 8px;
    }
	
	.adminonly
	{
		display:none;
	}
	
	#draftonly
	{
		top: 0;
		width: 10px;
		height: 10px;
		overflow: hidden;
		color: transparent;
		text-shadow: none;
	}
	
	.searchbut {
		color: #5296c5;
		font-size: 20px;
		top: 85px;
	}
	
	.mobilemenu, .homemenu {
		color: #5296c5;
		display: block;
		font-family: 'glyphicons halflings';
		font-size: 25px;
		left: 55px;
		position: absolute;
		top: 94px;
		cursor: pointer;
	}

	
	#donbut {

		position: fixed;
		bottom: 5px;
		z-index: 9999999999999999;
		left: 0;
		right: 0;
		width: 100%;
		padding: 6px 0;

	}
	
	.homemenu
	{
		left: 10px;
	}
	
	.homemenu a
	{
		color: #5296c5;
	}
	
	.homemenu a:hover
	{
		text-decoration: none;
	}
	
	.mobile .search {
		display: block;
		height: 14px;
		top: 85px;
		width: 212px;
		z-index: 10;
	}
	
	.navlinks a {
		text-align: left;
		color: #fff;
	}
	
	.navlinks.clicked {
		display: block;
		position: absolute;
		top: 125px;
		width: 100%;
		max-height: 10000000000em;
		overflow: visible;
		/*opacity: 1;*/
		transition: max-height .5s;
	}
	
	.navlinks {
		display: block;
		position: absolute;
		top: 125px;
		width: 100%;
		max-height: 0;
		overflow: hidden;
		/*opacity: 0;*/
	}
	
	.navlinks a.on {
		/*background-color: #5296c5;*/
		border-bottom: none;
		height: auto;
		margin-bottom: 0;
	}
	
	ul.dropdown li {
		background-color: #014a7f;
		border-bottom: 1px solid #5296c5;
		display: block;
		float: none;
	}
	
	.dropdown > li.withsub::after {
		border-color: transparent;
	}
	
	.dropdown > li.withsub a::after {
		border-color: #fff transparent transparent;
		border-image: none;
		border-style: solid;
		border-width: 4px;
		content: "";
		display: inline-block;
		margin-left: 5px;
		background-color: transparent;
	}
	
	.withsub.opened > ul {
		display: block;
		position: static;
	}
	
	.navintro {
		display: none;
	}
	
	.topnav .sublist {
		background-image: none;
		display: block;
	}
	.topnav .subpad {
		-moz-column-count: 1;
		-webkit-column-count: 1;
		-ms-column-count: 1;
		column-count: 1;
	}
	
	ul.dropdown ul li {
		display: block;
		padding: 10px 10px 10px 15px;
		width: auto;
	}
	
	.dropdown > li.withsub ul a::after {
		border: none;
	}
	
	ul.dropdown ul li {
		border: none;
	}
	
	ul.dropdown {
	    top: 7px;
	}
	
	ul.dropdown::before {
		background-color: #014a7f;
		color: #fff;
		content: "";
		font-family: glyphicons halflings;
		font-size: 24px;
		height: 22px;
		left: 48px;
		padding: 9px 7px;
		pointer-events: none;
		position: absolute;
		top: -39px;
		width: 25px;
	}
	
	ul.dropdown li a {
    	display: inline;
    }	
	
	
	
	
	
	.social {
		background-color: #014a7f;
		border-bottom: 1px solid #5296c5;
		position: static;
	}
	
	.social .printpage
	{
		display: none;
	}
	
	#content {
    	width: 100%;
    	display: block;
	}
	
	.jcarousel-wrapper {
		height: auto !important;
		width: 100% !important;
	}
	
	.jcarousel {
    	overflow-y: hidden !important;
    }
	
	.side {
		display: block !important;
		margin: 0 !important;
		padding: 5px !important;
		width: calc(100% - 10px) !important;
		border: none !important;
	}
	
	
	
	.jcarousel-wrapper
	{
		width: 100vw !important;
	}
	
	.jcarousel img {
		display: block;
		height: 200px !important;
		width: auto !important;
		/*max-width: 100% !important;*/
	}
	
	.jcarousel dt {
		width: 100vw !important;
		height: 200px !important;
	}
	
	
	
	.onehero {
		height: 100%;
	}
	
	.onehero .htxt {
		padding: 15px !important;
		width: calc(100% - 30px) !important;
	}
	
	.onehero .htxt h1 {
		font-size: 20px;
	}
	
	.onehero .htxt p {
		font-size: 12px !important;
		line-height: 1.2em !important;
	}	
	
	.jcarousel-control-prev, .jcarousel-control-next
	{
		top: 80px;
		left: -10px;
		font-size: 30px;
		display: none;
	}
	
	.footcol {
		display: block;
		width: 100%;
		text-align: center;
	}
	.input-group {
	    width: auto;
	}
	
	.footstuff {
		display: block;
		width: 100%;
	}
	
	
	#foot {
		padding: 0 20px;
		position: static;
		width: calc(100% - 40px);
	}
	
	#foot .lib {
		margin-top: 30px;
	}
	
	.type5 .sidegroup .stit, .sidegroup > b:first-child, .type2 .groupofone .stit, .type1 .groupofone .stit {
		border-left: medium none;
		border-right: medium none;
	}
	
	.donatebox {
	    top: 25px;
	    height: auto;
	    position: relative;
	}
	
	.donatewrap {
    	height: auto;
    	padding-bottom: 185px;
    }
    
    #subnavs {
		/*display: block;*/
		display: none;
		padding: 5px;
		width: calc(100% - 10px);
	}
	
	/*#subnavs + #mainbody {
		display: block !important;
		padding: 0 10px;
		width: calc(100% - 20px);
	}
	*/
	
 	#mainbody {
		display: block !important;	
	}	
	
	.centralcontents li {
		width: calc(100% - 10px);
	}
	
	.centralwrap {
		display: block !important;
	}
	
	.centralwrap > p, .centralwrap > h1, .centralwrap > h2, .centralwrap > h3, .centralwrap > h4, .centralwrap > .splashtext, .centralwrap > div /*, .centralwrap > .evs */
	{
		padding-left: 10px;
		padding-right: 10px;
		margin-left: 0;
	}
	
	.evs, table
	{
		max-width: calc(100% - 20px);
	}
	
	.subbox {
		position: relative;
		margin: 0 !important;
		padding: 5px !important;
		width: calc(100% - 10px) !important;
		border-bottom: 1px solid #5296c5;
		margin-bottom: 10px !important;
		padding-bottom: 10px !important;
		padding-top: 0 !important;
	}
	
	.subbox img {
		height: auto !important;
		width: 165px !important;
		margin-right: 10px;		
		position: absolute;
		top: 0;
		left: 10px;
	}
	
	
	.subbox .numside
	{
		margin-left: 185px;
		min-height: 97px;
	}
	.subbox .rest {
		margin-left: 175px;
		min-height: 97px;
		display: block !important;
	}
	
	.subbox .small_img_a {
    max-height: 1000px !important;
    }
	
	.subbox h1
	{
		height: auto !important;
    }
    
    .subsbreak
    {
    	display:none;
    }
    
    #sitewrap
    {
    	padding-bottom: 0px;
    	overflow-x: hidden;
    }
    
     .gallery {
	    width: calc(100% - 20px);
	}
    
    .galleria {
		width: 100%;
	}
	
	
    
    
    .vid
    {
    	max-width: 50%;
    }	
    
    .calshow {
		display: block;
		float: none;
		padding-bottom: 10px;
	}
    
    .calnav {
    	display: inline-block;
		font-size: 14px;
		padding-right: 5px;
    }
    
    .calnav .on {
    	padding-bottom: 0;
    }
    
    /*.evs {
		width: calc(100% - 20px);
	}*/
	
	.summ
	{
		clear: both;
		/*padding: 20px 10px;*/
	}
	
	.side .summ {
		width: calc(100% - 30px);
	}
	
	/*
	.summimg { 
		display: block;
		float: left;
		padding-bottom: 25px;
	}
	
	*/
	.summimg {

		display: block;
		float: none;
		padding-bottom: 10px;

	}
	
	
	.summbigdate {
		display: block;
		width: 100%;
		font-size: 14px !important;
		padding-bottom: 5px;
	}
	
	.summbigdate > * {
		display: inline-block !important;
		font-size: 14px !important;
		padding-right: 4px;
	}
	.simplebox span.dt
	{
		line-height: inherit;
	}
	
	.evdatetime {
		display: block;
		height: auto !important;
	}
	
	.evtit {
	    line-height: 1.2em;
	}
	
	.calnav
	{
		display: none;
	}  
	
	.navshown, .navshown ~ #foot {
		opacity: 0.25;
	} 
	
	table.eventmast
	{
		width: calc(100% - 20px);
		margin: 10px;
	} 
	
	table.eventmast td img
	{
		max-width: 150px !important;
	}
	
	table.eventmast td p {
		font-size: 12px !important;
		line-height: 16px !important;
	}
	
	.breadcrumbs {
		display: block;
	}
	
	.breadcrumbs > nobr {
		white-space: normal;
	}
	
	nobr {
		white-space: normal;
	}
	
	
	.centralwrap img {
		height: auto !important;
		/*max-width: 160px !important;*/
	}
	
	
	.centralwrap .summimg img {

		height: auto !important;
		max-width: 10000px !important;
		width: 100% !important;
		padding: 0;

	}
	
	figure.image-right, p.image-right, div.image-right {
		margin: 0 0 1em 10px;
	}
	figure[data-isize="Medium"], figure[data-isize="Medium"] img {
		width: calc(100% - 10px);
	}
	
	.domainname {

		padding: 10px;

	}
	
	div.donatebg
	{
		width: 100%;
		height: 500px;
		overflow: hidden;
	}
	
	.centralwrap img.donatebg {
		height: 570px !important;
		left: 0;
		max-width: 990px !important;
		position: absolute;
		top: 0;
		width: 990px !important;
		z-index: 1;
	}
	
	#Home .centralwrap {
		width: auto;
	}
	
	h2
	{
		line-height: 1.4em;
	}
	
	.input-group-btn .button
	{
		-webkit-appearance: none;
	}
	
	.bigalert {
		width: calc(100% - 22px);
	}	
	
	#fellowform, #fellowform > h2:first-child, #fellowform select {
	    position: static;
	    width: 93%;
	} 
	
	.vframe {
    	height: 100px;
    	width: 170px;   
    }
    
   
    .homecharity .img2 img {

    width: 40%;

}

.dropdown a.onesociallink.printpage
{
	padding-right: 20px;
}

.dropdown a.onesociallink {
    padding: 0 10px;
    display: inline-block;
    border: none;
    text-align: center;
}
.sharedrop {
    display: none;
    }
    
    .dropped {
    display: block;
    transform: scaleY(1);
    }
    
    .onesociallink:hover {
    color: #fff !important;
	}
	.navlinks .social a:hover
	{
		background-color: #000;
	}
	
	.supporters td {
		display: block;
		width: 100%;
		padding: 10px;
	}
	figure[data-isize="nosize"], figure[data-isize="nosize"] img {
		width: 100% !important;
		height: auto !important;
	}
	
	.archsumm .archhome, .ensumm .enhome, .exsumm .exhome, .cogappsumm.y .cogapphome, .cogappsumm.l .cogapphome
	{
		width: calc(100% - 20px);
	}
  #pager {
		padding-bottom: 40px;
	}
	
	.supporters tr {
    display: block;
    }
  
.sdheadlink.uk:first-of-type {
    display: none;
}

.uk + .logoplus .sdlogo {
    position: relative;
    left: 15px;
    top: -4px;
    margin-left: 0;
}
  
}
