/* NOMS */
/* General */

body {
    /*background:#EEEEEE; */
    line-height: 1.4;
    margin:0;
    padding:0;
    height:100%;
}

a {
    color: #936;
    font-weight: bold;
}

ul {
    list-style-type: square;
    margin-bottom: 10px;
    padding-bottom: 15px;
    padding-left: 35px;
}

p {
    margin: 0px 0 15px 0;
}

h2 {
    font-size: 21px;
}

h3 {
    font-size: 24px;
    letter-spacing: -1px;
    margin: 15px 0;
}

h4 {
    font-size: 22px;
    letter-spacing: -1px;
    margin: 10px 0;
}

.display-inline-block{
	display:inline-block;
}

.bold{
	font-weight:bold;
}

.soft-hidden{
    display:none;
}

.display-inline {display:inline;}

.max-width{
    width:100%;
}

.nopadding {
   padding: 0 !important;
   margin: 0 !important;
}

.navbar-inverse {
    background-color: #000!important;
}

/* Header */

header {
    background: black; /* #0b0c0c; */
    display: block;
}

header a{
    margin:5px 0 5px 0;
}

.heading {
    font-size: 1.5em;/* 29px; */
    line-height:1;
    margin-top: 27px;
    text-align: center;
}

.heading a{
    color:white;
    font-weight: normal;
}

.heading a:hover{
    text-decoration: none;
    border-bottom: 1px solid white;
}

.header-img {
    padding: 0px;
}

#moj-logo{
    float:left;
	padding-top:2px;
    width:150px;
}

#esf-logo {
    background: white;
    float:right;
    height: 46px;
    padding: 1px;
    margin: 13px 0 0 0;
    width: 200px;
}

@media(max-width: 770px) {
    .heading {
        margin: 10px 0px 0px 0px;
        padding: 20px 30px;
        font-size: 1.2em;
    }

    .header-img {
        padding: 0 5px;
    }
    #esf-logo {
        margin: 17px 0 0 0;
    }
}
@media(max-width: 520px) {
    .heading {
        margin: 10px 0px 0px 0px;
        padding: 0px 10px;
        font-size: 16px;
        float:left;
        line-height: 1.4; 
    }
    header a{
        float:left;
    }
    #esf-logo {
        margin:10px 0 0 0;
        height: 100%;
        width:100%;
    }
    .no-padding-520{
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}


/* Navigation */
nav {
    display: block;
}

.navbar {
    border: 0;
    border-radius: 0;
    /* Remove rounded edges */
    margin: 0;
}

.nav {
    padding: 0;
}

.ienav
{
    float:none !important;
}

.nav li:hover {
    background: #993366;
}

.nav li a {
    font-family: 'Droid Sans', Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.navbar-nav li {
    float: none;
}

.dropdown-menu {
    background: #080808;
    border:0;
}

.dropdown-menu li a {
    color: #9d9d9d;
    font-size: 12px;
    font-weight: bold;
    padding-bottom: 5px;
    padding-top: 5px;
    text-transform: uppercase;
}

.dropdown-menu li a:hover {
    background: #993366;
    color: white;
}

.nav-block{
    display:block;
    background:black;
    /*margin:5px 0 0 11px;*/
    margin: 5px 0 0 0;
}

.nav-inner-block {
    /*padding:15px 22px 10px 22px;*/
    padding:13px 22px 10px 8px;
}

.nav-block .nav-inner-block > p{
    font-size:14px;
    margin:0;
}

.nav-block .nav-inner-block > ol{
    margin:0;
    padding:0;
}

.nav-block ol li{
    margin-top:5px;
    text-decoration:underline;
    font-weight:bold;
}

.nav-block .nav-inner-block ol li a{
    color: white;
    font-size:14px;
    text-transform: none;
    line-height: 1.4;
    padding: 0;
}

.navbar-collapse .nav-block .nav-inner-block ol li a:hover{
    background: black;
}

@media(max-width:768px){
    /*.nav-block{
        background: none;
    }
    .nav-block .nav-inner-block ol li a{
        font-size: 12px;
    }*/
    .navbar-collapse .nav-block .nav-inner-block > p {
        display: none;
    }
}


.nav-block ol {
    list-style-type: none;
}

/** Gallery */

.gallery-container {/* #ac3973;#9a3367  */
    background: #75295a;
}

.gallery {
    padding: 15px 0 0 0;
}

.gallery .gallery-header {
    color: #ffffff;
    font-size:28px;
    font-weight: bold;
    letter-spacing: -1px;
    margin: 26px 0px 20px 0px;
    text-align: left;
    text-decoration: none;
}

.gallery p { /* #CFAABC; */
    color: white;
    font-size: 16px;
    text-align: left;
    text-decoration: none;
}

.gallery a {
    color: white;
}

@media print{
	.gallery-container{
		background:none;
	}

	.gallery .gallery-header {
    color: #ffffff;
	}

	.gallery p{
		color:#ffffff;
	}
}


/** Main Content */
.services-block h3 > a{
    font-size:20px;
    text-decoration:underline;
}

.services-block ol{
    list-style-type: none;
}

/*.services-block ol li {
    height:165px;
}*/

.main {
    font-size: 14px;
    line-height: 22px;
    padding-bottom: 5px;
    padding-top:10px;
}

.main-left {
    margin-top: 10px;
}

.main-right {
    font-size: 12px;
    margin-top: 15px;
}

.main-right ul {
    padding: 0;
}

.main-right li {
    border-bottom: 1px dashed #BBB;
    list-style-type: none;
    padding: 10px;
}

.main-right p {
    color: #777;
}

@media(max-width: 750px) {
    .main .main-left .main-right li {
        border: 0;
    }
    .main-right {
        border-top: 1px dashed #BBB;
    }
}

.block-quote {
    background: #EEE;
    border-left: 3px solid #936;
    font-size: 16px;
    font-style: italic;
    line-height: 24px;
    margin: 0 0 15px 0;
    padding: 15px;
}

.block-quote blockquote{
    font-size: 16px;
    font-style: italic;
    font-weight:bold;
    line-height: 24px;
}

.block-quote.with-attrib p{
	font-style:normal;
	text-align:right;
    margin:0;
}

.padded-list {
    font-size: 14px;
}

.padded-list li {
    padding: 1px;
}

.padded-list li ul li {
    padding: 1px;
}

.useful-links .media{
	padding:5px;
}

/* News */
.news-container{
    background: #FAFAFA;
	border-bottom: 1px solid #ccc;
    box-shadow: 1px 1px 2px #CCC;
    -webkit-box-shadow: 1px 1px 2px #CCC;
    -moz-box-shadow: 2px 1px 1px #CCC;
    margin: 10px 0px 20px 0px;
    padding: 0px 5px 5px 5px;
    font-size:16px;
}

.news-header
{
    background: #75295a;
    color: white;
    margin: 0px -6px 15px -6px;
    padding: 10px;
}

.news-header h3
{
    margin:2px 0px;
}

.news-header .news-date{
	font-size:16px;
	letter-spacing:1px;
	margin:0px;
	padding:0px;
}

.news-date{
	font-size:16px;
	letter-spacing:1px;
	margin-top:0px;
	padding-top:0px;
}

.news-caption {
    padding:4px;
    background:#eee;
}

.news-media{
    background: white;
    border: 1px solid #eee;
    padding: 0px;
    line-height: 1.42857143;
}

.news-img.with-caption {
    /*background: #f5f5f5;*/
	display: inline-block;
    margin-bottom:0px;
}

.news-media.with-caption p {
	margin: 0px;
	padding-top: 0.5em;
    font-size:14px;
    font-style: italic;
}

@media(min-width: 768px) {
    .news-media.with-caption {
        margin-bottom:15px;
        display: inline-block;
    }

}
/* Resources */
.file-resource{
	float:left;
	margin:5px;
	width:75px;
}

/*contact */
.responsive-iframe{
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 35px;
    height: 0;
    overflow: hidden;
}

.responsive-iframe iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
}


/*Resources*/
.useful-links .caption{
	min-height:140px;
}

@media(max-width: 768px) {
    .useful-links .caption{
	    min-height:100px;
    }
}

/* CATS+ */
.img-cats{
	margin:0 auto;
	max-height:250px;
}

/*Footer */

footer{
    font-family: 'Roboto', sans-serif;
    background: #ecf0f1;
    border-top: 8px solid #9a2a63;
    font-size: 12px;
    margin: 15px 0 0 0;
    padding:25px 25px 10px 25px;
}

.darkButton{
    display: inline;
    cursor: pointer;
}
.lightButton{
    display: inline;
    cursor: pointer;
}

.footer p {
    margin: 0;
}

.footer h4{
    color:#936;
}

.footer h4:after{
    border-bottom:1px solid #936;
    content: '';
    display:block;
    width:79%;
}

.footer ul{
    float:left;
    font-size:14px;
    font-style: normal;
    letter-spacing: 1px;
    line-height: 23px;
    list-style-type: none;
    padding:10px 45px 30px 0px;
}

.footer ul li a{
    color:#454a4c;
    font-weight:normal;
    text-decoration:underline;
}

.footer .copyright{
    float:right;
    padding: 0 10px;
}

.footer .copyright p{
    text-align: center;
}

/* Stats */
.stats-container{
	background: none; /*#ECECEC;*/
}

.stats-right{
	background: transparent;
}

.stats-panels{
	padding-top: 10px;
}

.stats-panels .panel{
	background:transparent;
	border:none;
	text-decoration:none;
}

.stats-panels .panel-heading{
	background:transparent;
	border:none;
	text-decoration:none;
}

.stats-panels a{
	color:#000000;
	letter-spacing:0.05em;
}

.collapsed-links{
	display:block;
	font-size:16px;
	font-weight:normal;
	margin: 0 auto;
}

.chart-title{
	font-size:18px;
	font-weight:bold;
	margin-bottom:5px;
}

.chart-desc{
	font-size:16px;
	line-height:23px;
	margin: 10px 70px 10px 70px;
}

@media(max-width: 750px) {
	.chart-desc{
		font-size:16px;
		line-height:23px;
	}
}

/* Map */
#map {
  background-color: white;
  height:780px;
  margin: 10px auto;
  } /*width: 1180px; height: 780px;*/

.map-key img {
  position: relative;
}

#closest-markers table {
    font-size:12px;
}

.layer-icon{
    width:20px;
}

.leaflet-right .leaflet-control {
    margin-right: 4px;
}

.leaflet-top .leaflet-control {
    margin-top: 4px;
}

.leaflet-control-layers {
    box-shadow: 0 1px 5px rgba(0,0,0,0.4);
    background: #fff;
    border-radius: 0px; 
}

.leaflet-popup-content {
    height: 150px;
    overflow: auto;
    width: 220px;
}

.leaflet-popup-content .tab-pane p {
    margin:2px 0 2px 0;
}

.leaflet-popup-content > a {
    font-size: 18px;
}

.leaflet-popup-tabs{
    position:absolute;
    top:-26px;
    left:0px;
    box-shadow: -3px -3px 8px 0px rgba(0,0,0,0.2)
}

.leaflet-popup-pane .leaflet-popup-content-wrapper{
    border-radius: 0px;
}

.leaflet-popup-tabs li a{
    padding: 7px 15px 0px 15px;
    background: #efefef;
    border-radius: 0px;
}

.leaflet-popup-tabs li:hover {
    background:none;
}

#map-table{
    background: white;
    margin: 0;
    box-shadow: 0 1px 5px rgba(0,0,0,0.4);
}

.cell-scrollable{
    height:150px;
    overflow: auto;
}

#postcode-search-box{
    margin:0px;
}

#postcode-search-container{
    position: relative;
    z-index: 9999;
    bottom: 67px;
    left: -10px;
}

#postcode-search-container .input-group{
    box-shadow: 0 1px 5px rgba(0,0,0,0.4);
}
#postcode-table-container{
    position:relative;
    top:-30px;
}

.autocomplete-suggestions { border: 1px solid #999; background: #FFF; overflow: auto; }
.autocomplete-suggestion { padding: 2px 5px; white-space: nowrap; overflow: hidden; }
.autocomplete-selected { background: #F0F0F0; }
.autocomplete-suggestions strong { font-weight: normal; color: #3399FF; }
.autocomplete-group { padding: 2px 5px; }
.autocomplete-group strong { display: block; border-bottom: 1px solid #000; }

/*.map-key p{
  position:relative;
  top:-15px;
}*/
#footer {
  padding: 30px;
  text-align:center;
  font-family: "Arial";
}

.searchinput{
    width:40px;
}

/* Good News */

.good-news-section{
    /*position:relative;*/
    margin-top: 20px;
    width:100%;
    border-radius: 0!important;
    background: #FAFAFA!important;
    box-shadow: 1px 1px 2px #CCC;
    -webkit-box-shadow: 1px 1px 2px #CCC;
    -moz-box-shadow: 2px 1px 1px #CCC;
}

.good-news-date{
    padding: 0;
    margin:0;
    font-size: 12px;
}

.good-news-section h2 {
    padding-bottom: 0px;
    margin:5px 0px 0px 0px;
    font-size: 34px;
}

.good-news-logo{
    height:50px;
}

.good-news-inner-glyph{
    left:42%;
    position:relative;
}

.shaw-background{
    background-image: url('../img/shaw-trust-logo.png');
    background-position: 95% 0%;
    background-repeat: no-repeat;
    background-position: top right;
}

@media(max-width: 520px){
    .shaw-background{
        background-size: 50%;
    }
}

@media (min-width: 400px) {
    .good-news-section h2 {
        margin:25px 0px 0px 0px;
    }
}

.apm-background{
    background-image: url('../img/apm-logo-nobg.png');
    background-position: top right;
    background-repeat: no-repeat;
}

.ixion-background{
    background-image: url('../img/ixion-logo-lg.png');
    background-position: 95% 0%;
    background-repeat: no-repeat;
    background-position: top right;
    background-size: 200px;
}

/* Video Submission */
.video-form .form-submit {
    margin:10px 0px;
}