/* Fonts */

body {
font-family: 'Cabin', sans-serif;
    font-size: 15px;
    line-height: 1.42857143;
    color: #2c3e50;
    background-color: #6DC8E8;
    background-image: url(../images/background.jpg)!important;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center center;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
font-family: 'PT Sans', sans-serif;
	font-weight: 400;
    line-height: 1.1;
    color: inherit;
    font-size: 200%;
}


a:link {color: #21219c;
		text-decoration: none;}
a:active {color: #0000ff;
		text-decoration: none;}
a:visited {color: #085af0;  }
a:hover {color: #6666CC;
		text-decoration: none;}
a:focus {font-weight: bold;}

.navbar-nav ul li a {
	color: white;
}

.navbar-nav ul li a:focus {
	color: black;
}

.navbar-nav ul li a {
	color: white;
}

.drop a {
	color: black!important;
}

.drop a:focus {
	color: gray;
}

.dropdown-menu {
	background-color: #12c7b2;
	border-color: transparent;
}

#special-link a{
	color: #000000!important;
}

.italic {
	font-style: italic;
}

.duracell_pic {
	float: left;
	padding: 1em;

}

.duracell_pic2 {

}

.edin_pic{
	padding-bottom: 1em;
}

.new {
	background-color: #6F6;
	border-style: outset;
	border-width: 1px;
	border-color: grey;
	border-radius: 5px;
	padding: 7px;
}

.tweak {
	padding-bottom: 5px;
}

.completed_events{
	background-color: #9F6;
}

.jlinks{
	font-size: 16px;
	line-height: 36px;
	font-weight: bold;
}

.links-title{
	font-weight: bolder;
}

.carousel-caption {
	background-color: black;
}
/* applies background centred and using one image  */

.panel-updating {
	margin-bottom: 100px;
	min-height: 300px;
	margin-top: 100px;
}

.dropdown-backdrop{
    position: static;
}


.circle {
	list-style-type: circle;
}


/* containers fill 65% of the window (body) */
.container-main {
	width: 80%!important;

}

/* centres images in carousel */

.carousel-inner > .carousel-item > img {
    margin: 0 auto;
}

/* Miscellaneous */

.asda {
	font-weight: bold;

}

.tag > ul > span {
	color:#FCF8E3;
}



#johns_menu button {
	border-color: #CAD9F9;
	margin-top: 7px;
	width: 9em;
	margin-left: 15px;
	-webkit-border-radius: .5em;
	-moz-border-radius: .5em;
	border-radius: .5em;
	background-color: #CAD9F9; background-image: -webkit-gradient(linear, left top, left bottom, from(#CAD9F9), to(#9BA7BF));
 background-image: -webkit-linear-gradient(top, #CAD9F9, #9BA7BF);
 background-image: -moz-linear-gradient(top, #CAD9F9, #9BA7BF);
 background-image: -ms-linear-gradient(top, #CAD9F9, #9BA7BF);
 background-image: -o-linear-gradient(top, #CAD9F9, #9BA7BF);
 background-image: linear-gradient(to bottom, #CAD9F9,
 	#9BA7BF);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#CAD9F9, endColorstr=#9BA7BF);
}

#johns_menu button a {
	color: #230162;
	text-decoration: none;
}

#johns_menu button a:hover {
	color: black;
}

#johns_menu button:hover {
	border-color: #B7CCF9;
	background-color: #B7CCF9; background-image: -webkit-gradient(linear, left top, left bottom, from(#B7CCF9), to(#A29FD1));
	background-image: -webkit-linear-gradient(top, #B7CCF9, #A29FD1);
	background-image: -moz-linear-gradient(top, #B7CCF9, #A29FD1);
	background-image: -ms-linear-gradient(top, #B7CCF9, #A29FD1);
	background-image: -o-linear-gradient(top, #B7CCF9, #A29FD1);
	background-image: linear-gradient(to bottom, #B7CCF9,
		#A29FD1);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#B7CCF9, endColorstr=#A29FD1);
}

#johns_menu2 button {
	background-color: #CAD9F9;
	border-color: #CAD9F9;
	margin-top: 7px;
	box-shadow: none!important;
	-webkit-border-radius: .5em;
	-moz-border-radius: .5em;
	border-radius: .5em;
	background-color: #CAD9F9; background-image: -webkit-gradient(linear, left top, left bottom, from(#CAD9F9), to(#9BA7BF));
 background-image: -webkit-linear-gradient(top, #CAD9F9, #9BA7BF);
 background-image: -moz-linear-gradient(top, #CAD9F9, #9BA7BF);
 background-image: -ms-linear-gradient(top, #CAD9F9, #9BA7BF);
 background-image: -o-linear-gradient(top, #CAD9F9, #9BA7BF);
 background-image: linear-gradient(to bottom, #CAD9F9,
 	#9BA7BF);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#CAD9F9, endColorstr=#9BA7BF);
}

#johns_menu2 button a {
	color: #230162;
	text-decoration: none;
}

#johns_menu2 button a:visited {
	color: white;
}

#johns_menu2 button a:hover {
	color: black;
}

#johns_menu2 button:hover {
	background-color: #B7CCF9;
	border-color: #B7CCF9;
	background-color: #B7CCF9; background-image: -webkit-gradient(linear, left top, left bottom, from(#B7CCF9), to(#A29FD1));
	background-image: -webkit-linear-gradient(top, #B7CCF9, #A29FD1);
	background-image: -moz-linear-gradient(top, #B7CCF9, #A29FD1);
	background-image: -ms-linear-gradient(top, #B7CCF9, #A29FD1);
	background-image: -o-linear-gradient(top, #B7CCF9, #A29FD1);
	background-image: linear-gradient(to bottom, #B7CCF9,
		#A29FD1);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#B7CCF9, endColorstr=#A29FD1);
}


.leane-link {
	background-color: #CAD9F9;
	padding: 10px;
	color: black;
	text-decoration: none;
}

#leane-link {
	background-color: #B998F6;
	border-style: solid;
	border-width: .5px;
	border-color: #230162;
	border-radius: 3px;
	text-align: center;
}

#leane-link a {
	color: #230162;
	font-weight: bold;
	text-decoration: none;
}

#johnmobilebanner{
	margin-bottom:20px;
}

#spacer{
	height: 10px;
	}


.panel-sidebar {
	background-color: #A2DCF1;
	padding: 10px;
}

.panel-content {
	background-color: #A7F1E0;
	padding: 10px;
}

.panel-footer {
	background-color:#1AB299;
	margin-bottom:20px;
	margin-top:20px;
	border-top-style:none;

}

.container-main {
	background-color: #6DC8E8
}

.panel-title {
	font-size: 14px;
}

.newsflash-txt {
	background-color: #CFF!important;
	padding-left: 10px;
	padding-right: 10px;
}

#panel-newsflash {
	background-color: #CFF!important;

}

#total-raised {
	background-color: #FF0!important;
	font-size: 14px;
	color: #F00;
	border: .1px solid;
	border-radius: 5px;
	padding: 3px;
	text-align: center;
	margin-bottom: 15px;
}

.sponsor_john_text {
	background-color: #6F6;
	font-size: 18px;
	font-weight:bold;
	color: #009!important;
	border: .1px solid;
	border-radius: 5px;
	padding: 3px;
	text-align: center;
	}

a:link {color: #12554d;  }
a:active {color: #0000ff;  }
a:visited {color: #008000;  }
a:hover {color: #6666CC;}

#special-link a{
	color: #000000!important;
}

.completed_events{
	background-color: #9F6;
}

.jlinks{
	font-size: 16px;
	line-height: 36px;
	font-weight: bold;
}

.links-title{
	font-weight: bolder;
}

#banner{
	margin-top:10px;
}

.navbar {
	background-color: #12c7b2;
    border-color: transparent;
}

.navbar .navbar-nav .nav-link {
    color: #ffffff;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link:focus {
	color: #000000;
	background-color: #11C7B2;
}

.btn-j{
	background-color:#FFF!important;
	margin-bottom:10px;
}


.embed-responsive {
	padding-bottom: 100%!important;
}

#banner img {
	width: 100%;
}

#running {

	background: url(../images/tagline_bg_2016_notxt.png);
	min-height: 17em;
	background-repeat: none;
	padding-left: 3em;
	padding-top: 1.5em;
	color: white;
	-webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;

}
#running h1 {
	font-size: 300%;
	font-weight: 700;
}

#running h2 {
	font-size: 250%;
	font-weight: 700;
}

.tag {
	font-family: "Helvetica Neue", Helvetica, Arial, Sans-serif;
	position: relative;
	color: white;
	font-size: 13px;
	float: left;
	top: 0px
	left: 0px;
	z-index: 1000;
	padding-top: .5em;
}

.tag ul ul li  {
	list-style-type: circle;
}

.tag2 {
	font-family: "Helvetica Neue", Helvetica, Arial, Sans-serif;
	position: relative;
	color: white;
	font-size: 13px;
	float: left;
	top: 0px
	left: 0px;
	padding-top: .5em;
	opacity: none;

}

#johnmobilebanner img {
	width: 100%;
}

#intro2 {
	width: 100%;
	height: 250px;
}

.btn-action {

	height: 80%!important;
	background-color: yellow;
	margin-top: 20px;
	white-space: normal;
}

.sponsor-frame {
	height: 100%;
}

.mum {
	border-style: solid;
	border-width: 1px;
	border-color:black;
	border-radius: 5px;
	background-image: url(../images/mum-txtbcg.png);
}

#mum-container img {
    float: right;
    margin: 5px;
}

#mum-container img:nth-of-type(2) {
	float: left;
	clear: right;
	margin: 5px;


}
.mum-bcg {
	width: 80%;
}

.heart {
	font-size: .5em;
	vertical-align: middle;
}


 #mum-container img {
    width: 25%;
    }

/* centres navbar links */
.navbar-collapse {
    justify-content: center;
}
	
.sidebar_important_under {
	margin-top: 3rem;
}


/* MEDIA QUERIES */


@media (max-width: 992px) {
	 #mum-container img {
    width: 50%;
    }
}

/*same height columns*/
@media (min-width: 992px) {
  .row-md-height {
    display: table;
    table-layout: fixed;
    height: 100%;
    width: 100%;
  }
  .col-md-height {
    display: table-cell;
    float: none;
    height: 100%;
  }
  .col-md-top {
    vertical-align: top;
  }
  .col-md-middle {
    vertical-align: middle;
  }
  .col-md-bottom {
    vertical-align: bottom;
  }

}

/* Mobile navbar styles */

@media (max-width: 991px) {

/* removes top 2 image divs on smaller devices */

	#banner{
	display: none;
}

	#running{
	display: none;
}

}

/* Adds mobile div to smaller devices */

@media (min-width: 992px) {

#johnmobilebanner{
	display:none;
}

}



/* widens container on smaller devices*/

@media (max-width: 680px) {

	.container-main {
	width: 100%!important;
	}
}


@media (min-width: 441px) {
	.duracell_pic {
		display: block;
	}

	.duracell_pic2 {
		display: none;
	}
}

@media (max-width: 440px) {

	.duracell_pic {
		display: none;
	}

	.duracell_pic2 {
		display: block;
	}

	/* Changes font size on smaller devices */

h3 {
	font-size: 18px!important;
	}

}
