script, style {
	display: none !important;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    border: 0;
    box-sizing: border-box;
    background-color: black;
    overflow: hidden;
	-webkit-overflow-scrolling: touch;
}

/*All copied from madison.css*/
button {
	border-radius: 2.5pt;
	border: 1pt solid #6e7e85;
	background-color: #e2e2e2;
}

button:focus {
    outline: 0;
}

button:hover {
    background-color: #f2f2f2;
}

button::-moz-focus-inner {
    border: 0;
}

div, button, label, b, textarea, input, h4, h3, ul, li {
	font-family: calibri, helvetica, sans-serif, monospace;
    font-size: 1rem;
	color: #1c0f13;
}

input[type="date"], input[type="time"] {
	cursor: text;
}

h1 {
    font-size: 2rem;
    font-family: helvetica, sans-serif, monospace;
}

h2 {
    font-size: 1.3rem;
    font-family: helvetica, sans-serif, monospace;
}

script, style {
	display: none !important;
}

.altSelect {
    display: inline-block;
    position: relative;
    background-color: #dddddd;

    padding: 0 !important;
}

.altSelect > div {
    position: absolute;
    top: 40%;
    /*This is the correct top value. The above is for backwards compatibility.*/
    top: calc(50% - 2.5px);
    right: 5px;

    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid black;

    pointer-events: none !important;
}

.altSelect > select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 0;
    border-radius: inherit;
    width: inherit;
    height: inherit;
    padding: 0;
    margin: 0;
    padding-right: 15.5px !important;
    background-color: inherit;
}

.altSelect > select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #000000;
}

.altSelect > select::-ms-expand {
    display: none;
}

#MobileDropdown {
    position: absolute;
    top: 4.8rem;
    right: 1pt;

    width: 200px;
    min-width: 60%;
    max-width: 100%;
    display: none;

    background-color: #f0f9ff;
    border: 1pt solid black;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);

    overflow: auto;
    overflow-x: hidden;
    max-height: 80%;
    max-height: calc(100% - 4.8rem);

    z-index: 9999;
}

#MobileDropdown > div, #MobileDropdown > a {
    padding: 1em 0 1em 1em;
    display: block;
    text-decoration: none;
    color: #1c0f13;
}

#MobileDropdown > div:hover, #MobileDropdown > a:hover {
    background-color: lightblue;
    border-top: 0.5pt solid black;
    border-bottom: 0.5pt solid black;
    border-right: 1pt solid black;
    border-left: 1pt solid black;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    cursor: pointer;
}

img {
    max-height: 100%;
}

#main_header {
    height: 4.8rem;
    background-color: #c70032;
    position: relative;
	box-sizing: border-box;
}

#main_header > img {
    margin-left: 0.5rem;
	max-width: calc(100% - 1.5rem - 46.45px);
}

#main_header button {
    height: 100%;
    background-color: #c70032; /*Cannot inherit here with IE */
    border: 0;
    float: right;
    clear: none;
    height: 100%;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    cursor: pointer;
}

#main_header button:hover {
    background-color: #a40631;
}

#main_header button > img {
    height: 50%;
}

.desktoponly {
    display: none;
}

#tabHolster {
    display: none;
    position: absolute;
    bottom: 0;
    right: 0.7rem;
}

#searchButton2 {
    height: 1.5rem;
    line-height: 1.5rem;
    font-size: 1.15rem;
    vertical-align: top;
}

#tabHolster #searchButton2 > img {
    display: block;
    float: left;
    padding-right: 1pt;
}

#tabHolster > div {
    cursor: pointer;
    display: inline-block;
    vertical-align: top;
    background-color: #f2f2f2;
    padding: 0.4rem;
    border-radius: 5px 5px 0 0;
}

#tabHolster img {
    display: block;
}

.tabs {
    display: inline-block;
    font-size: 1.15rem;
    color: black;
    margin-left: 0.3rem;
    cursor: pointer;
    position: relative;
    line-height: 1.5rem;
}

.tabs div {
    display: none;
    background-color: #f2f2f2;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 90;
    box-shadow: 2pt 1pt #00000033;
    border-top: 1pt solid #adadad;
    border-radius: 0 0 5px 5px; /*Match this with class "bottom"*/
}

.tabs div a {
    display: block;
    text-decoration: none;
    padding: 0.3rem;
    color: #1c0f13;
    padding: 0.3rem;
    line-height: 1.5rem;
    cursor: pointer;
}

.tabs div .truelink {
	text-decoration: underline;
}

.tabs div .truelink:link {
	color: blue;
}

.tabs div .truelink:visited {
	color: purple;
}

.tabs div .truelink:active {
	color: red;
}

.tabs div a:hover {
    background-color: lightblue;
    box-shadow: 1pt 1pt black;
}

.tabs div .bottom {
    border-radius: 0 0 5px 5px; /*Match this with the dropdown*/
}

.tabs:hover {
    background-color: #f0f9ff;
    box-shadow: 2pt -1px #00000080;
}

#sideBar p {
	font-size: 1.20em;
}

#sideBar .linkLike {
	padding: 0.5rem;
	font-size: 1.2em;
}

#sideBar #sideFooter p {
	padding: 0 0.5rem;
}

#sideBar .linkLike:hover {
	box-shadow: 0px 0px 2pt 0px rgba(0,0,0,0.2);
	cursor: pointer;
}

#sideBar {
	display: none;
	box-sizing: border-box;
	border-left: 1pt solid black;
	height: 100%;
	overflow: hidden;
	background-color: #e2e2e2;
	position: relative;
}

#sideFooter {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	box-sizing: border-box;
	background-color: #e2e2e2;
}

@media all and (max-width: 256px) {
	#main_header > img {
		display: none;
	}
}

@media all and (min-width: 800px) {
    #main_header {
        height: 6.5rem;
    }

    .mobileonly {
        display: none !important;
    }

    .desktoponly {
        display: inline;
    }

    #tabHolster {
        display: block;
    }

	#MobileDropdown {
		display: none !important;
	}
}

@media all and (min-width: 1300px) {
    #sideBar {
		display: inline-block;
		width: 300px;
    }

	#placeCP {
		width: 100%;
		width: calc(100% - 300px);
		display: inline-block;
	}
}
