body {
    min-width: inherit;
}

#newsletter {
	display: none;
}

.map {
	min-height: inherit;
}

#atContainer {
    margin-top: 0;
	width: 100%;
}

#atTabBar {
    background-color: white;
	border-bottom: 3px solid #513785;
}

#atMapSpurForm #atTabBar input {
    background-color: #8cbf4e;
    color: #fff;
	border-radius: 5px 5px 0 0;
    font-size: 100%;
    height: 36px;
    margin: 10px 1px 0 0;
    padding-top: 7px;
    width: 8em;

}

#atMapSpurForm #atTabBar input.atTabSelected {
    background-color: #513785;
	border-color: #513785;
    color: white;
}

#atMapSpurForm, #atTabBar input, #atTabBar input:active, #atMapSpurForm #atLocationBar div, #atMapSpurForm #atMapImageFrame #atMapImage, form#searchForm input[type=button] {
    border-color: #8cbf4e;
}

#atLocationDisplay {
    background-color: #edeae3;
	padding: 8px !important;
}

#atLocationBar_lblTextCurrentLocation {
	display: none;
}
*/
#atLocationDisplay input.atSearchBtn, #atLocationDisplay input.cancel-address-search, #atButtonBar_btnResetPage, #atButtonBar_btnOtherThings {
    background-color: #8cbf4e;
    background-image: none;
    border-color: #8cbf4e;
    color: #fff;
}

#atButtonBar_btnResetPage, #atButtonBar_btnOtherThings {
	padding: 3px;
}

form#searchForm input[type="button"], #atLocationDisplay input.atSearchBtn, #atLocationDisplay input.cancel-address-search {
    background-color: #8cbf4e !important;
    background-image: none;
    color: white;
    padding: 6px;
}

#atLocationDisplay input#atTextSearch {
    width: 65% !important;
}

div.atPanel .atPanelHeader {
    background-color: #edeae3;
    color: #fff;
    margin: 0 auto;
}

div.atPanel .atPanelHeader h3 {
    border-bottom: 1px solid #8cbf4e;
}

div.atPanel {
    border: 1px solid #8cbf4e;
}

.atMapContent {
    border: 1px solid lightgray;
    padding: 2px;
}

.atPanelWrapperParent {
    margin-top: 2px;
}

#atJqBaseMapSwitcher ul:not([class]) li:before {
	display: none;
}


#atJqBaseMapSwitcher ul {
    margin: 0;
}

/* Hide the default toggle button for the side panel */
.atJqOpenClose {
    display: none;
}

.noTB {
    margin-right: 9px;
}

div#panels > div {
    width: 100%;
}

div#panels form {
    width: 100%;
	padding-bottom: 3em;
}

div#panels form input {
    color: black;
	min-width: 20%;
	margin-right: 3px !important;
}

#atMap .atPopupFeatureInfo {
	max-width: 350px;
	max-height: 300px;
	overflow-y: auto;
	
}

#atMap .atPopupFeatureInfo h3  {
	background-color: #edeae3;
    color: #493a3c;
}

img {
    max-width: inherit;
}

.atMapContent {
    border: 0;
}

#atMapSpurForm #atMyMaps {
    width: 100%;
    border: 1px solid grey;
    padding: 0 !important;
}

/* Ensure the close button doesn't overlap the scroll bar */
.olFramedCompactPopupContent {
    padding-right: 10px;
}

.atPopupFeatureInfo p.ui-widget-header strong a, .atPopupFeatureInfo p.ui-widget-header a {
    text-decoration: underline !important;
}

.atPopupFeatureInfo .contentDisplay h3 {
    background-color: #138A26;
    font-size: 1em;
    color: white;
    padding: 2px 10px;
    margin-right: 0 !important;
}

.atPanelContent .infoResult p {
    line-height: 1.2em;
    padding: 0 0.25em 0.25em 0.25em;
    margin: 0;
}

/* Override the ugly default OpenLayers
   close button with something nicer */
div.olPopupCloseBox {
    /*background-image: url(../images/close.gif);*/
}

/* Remove the Loading Panels message 
   when launching My Maps */
#atMSloader, #atPanelWrapperLoader {
    display: none;
}

div#atMap {
    position: relative;
}

#atButtonBar_btnOtherThings {
    display: none;
}

@media (max-width: 500px) {
    
    #atMapSpurForm #atTabBar input[type=submit] {
        width: 100% !important;
        border-left-width: 2px;
        border-right-width: 2px;
        border-bottom-width: 1.5px;
        border-top: 1.5px;
		border-radius: 5px 5px 5px 5px;
    }
    
    div#atTabBar {
        border-top: 0 solid #138A26;
        border-bottom: 0 solid #138A26;
    }

}

div#atMapLoader, div#atInitialLoader {
    font-size: small;
    width: 100px !important;
}

div#atMapLoader img, div#atInitialLoader img {
    margin: auto;
}

#atMap .atPopupFeatureInfo .contentDisplay {
    margin-top: 0.5em;
}

#atMap .atPopupFeatureInfo h3 {
	font-size: 14px;
}

#atMap .atPopupFeatureInfo p {
	font-size: 12px;
}

/* Ensure the map panel doesn't overlap the zoom controls */
@media screen and (min-width: 650px) {
	#atPWparent {
		margin-left: 0;
	}
}

.ui-widget-header {
    background-color: #513785;
    background-image: none;
}
.atBaseMapSwitcher {
    position: absolute;
    top: 7px;
    right: 5px;
    z-index: 10000;
    border: medium none;
    background: none repeat scroll 0% 0% transparent;
}

.atBaseMapSwitcher ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

.atBaseMapSwitcher li {
    position: relative;
    display: inline;
    margin: 0px;
}

.atBaseMapSwitcher a {
    padding: 5px 9px;
    border: 2px solid white;
    font-size: inherit;
    display: block;
    float: none;
    text-decoration: none;
    box-shadow: none;
    background-color: #8cbf4e;
    color: white;
    text-align: center;
}

.atBaseMapSwitcher ul li:first-child a {
    border-width: 2px 2px 0 2px;
    border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
    -webkit-border-radius: 4px 4px 0 0;
}


.atBaseMapSwitcher ul li:last-child a {
    border-width: 0 2px 2px 2px;
    border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
    -webkit-border-radius: 0 0 4px 4px;
    box-shadow: none;
}

.atBaseMapSwitcher ul li a.atBM-active {
    background-color: #513785;
    border-width: 2px;
    border-color: white;
}

.atBaseMapSwitcher ul li:first-child a {
    border-width: 2px 2px 0 2px;
}


.atBaseMapSwitcher ul li:last-child a {
    border-width: 0 2px 2px 2px;
}

div#atPanelToggle, div#atZoomControls {
    position: absolute;
    z-index: 10000;
}

div#atPanelToggle {
    left: 11px;
    top: 18px;
    height: 30px;
}

div#atZoomControls {
    left: 11px;
    top: 80px;
}

div#atZoomControls a, div#atPanelToggle a {
    width: 40px;
    height: 50px;
    display: inline-block;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    border: 2px solid white;
    background-color: #8cbf4e;
    color: white;
    box-shadow: none;
    text-decoration: none;
}


div#atZoomControls a {
    display: block;
    font-size: 26px;
    line-height: 25px;
    margin-top: 5px;
}

div#atPanelToggle a {
    background-image: url(menu.png);
    background-size: 18px;
    background-repeat: no-repeat;
    background-position: 50%;
}

div#atZoomControls a:hover, div#atPanelToggle a:hover {
    background-color: #8cbf4e;
}


/* My House / My Nearest */

.atPanelContent h4 {
    margin-top: 0.5em;
}

div.atPanel .atPanelHeader h3 {
    font-size: 16px;
    color: #493a3c !important;
    font-weight: 700;
}


.atPanelData {
    padding: 1em;
    line-height: 1.5em;
}

.atPanelFooter {
    padding-right: 1em;
}

.atPanelData p.map img {
    margin: auto;
    width: 100%;
}

div.modern-dot-gov-councillor {
    margin-left: 2em;
}

.modern-dot-gov-councillor h5 {
    margin-top: 0;
}

.page-content div.modern-dot-gov-councillor ul {
    margin-left: 1em;
	margin-bottom: 0;
}

.modern-dot-gov-councillor li:before {
    display: none;
}

.modern-dot-gov-councillor-portrait img {
	max-width: 100px;
	width: 100%;
}

div.modern-dot-gov-councillor li.party {
    font-size: 1.5em;
	padding-top: 0.25em;
}

/* My Maps Find Nearest Results */
#atPanelResults .infoResult {
    margin: 0.5em !important;
    padding: 0.5em !important;
    background-color: #edeae3;
}

#atPanelResults p {
    margin-bottom: 0.25em;
}

div.simpleToolTip {
    width: inherit !important;
}

#atTabBar p.links {
    float: right;
    padding: 15px;
    margin: 0;
}

/* Make words wrap in My Nearest content */
td.content a {
    /* These are technically the same, but use both */
    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;
}

/* SUPPORT-22754 Increase size of map */

/*.atMapBody*/

.container {
    padding: 0;
    max-width: unset;
}

.site-content {
    padding: 1rem !important;
}

#atMyMaps #atContent {
	height:600px;
}

#atMyMaps #atMap {
	height: 600px;
}

div#atServerMessages {
    display: none;
}

#atContainer span#error {
    display: none;
}