﻿html, button, input, select, textarea,
.pure-g [class *= "pure-u"] {
    font-family: 'Lato', 'Open Sans', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    background-color: rgb(48,48,48);
    color: #FCFCFC;
    padding: 0em 1em 1em 1em;
    height: 100%;
    display: flex;
    flex-flow: column;
}

p {
    line-height: 1.3em;
}

#body {
    flex: 1 0 auto;
    display: flex;
    flex-flow: column;
}

    #body > div > p > a,
    #body > div > ul > li > a,
    #body > main a {
        color: #FCFCFC;
    }

header {
    text-align: center;
    flex: 0 1 auto;
}

main {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column !important;
}

    main div:nth-of-type(odd) {
        flex: 0 1 auto;
    }

    main div:nth-of-type(even) {
        flex: 1 0 auto;
    }

footer {
    position: fixed;
    bottom: 0px;
    right: 0px;
    padding: 5px;
    background: rgba(0,0,0,.5);
    border-top-left-radius: 5px;
    font-size: .75em;
}

    footer a {
        color: #FCFCFC;
    }

select {
    background-color: rgb(48,48,48);
    padding: 5px;
    border-radius: 5px;
    border-color: #FCFCFC;
}

hr {
    max-width: 5em;
}

.main-content {
	display: flex;
	flex-flow: column;
}

@media screen and (min-width: 48em) {
    main {
        flex-direction: row !important;
        align-items: stretch;
        align-content: stretch !important;
    }
}

.emergency-text table {
    border-collapse: collapse;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
}

    .emergency-text table td, table th {
        border: 1px solid black;
    }

    .emergency-text table tr td:first-child,
    .emergency-text table tr th:first-child {
        border-left: 0;
    }

    .emergency-text table tr td:last-child,
    .emergency-text table tr th:last-child {
        border-right: 0;
    }

.emergency-text td,
.emergency-text th {
    padding: .3em;
}

#chart {
    width: 100%;
    min-height: 600px;
	flex-grow: 1;
}

.marker-text:hover {
    cursor: pointer;
}

.marker-text-executor {
	font-size: .7em;
    -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.00000000, M12=-1.00000000, M21=1.00000000, M22=0.00000000,sizingMethod='auto expand')";
    filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.00000000, M12=-1.00000000, M21=1.00000000, M22=0.00000000,sizingMethod='auto expand');
    -moz-transform:  matrix(0.00000000, 1.00000000, -1.00000000, 0.00000000, 0, 0);
    -webkit-transform:  matrix(0.00000000, 1.00000000, -1.00000000, 0.00000000, 0, 0);
    -o-transform:  matrix(0.00000000, 1.00000000, -1.00000000, 0.00000000, 0, 0);

    -ms-transform:rotate(90deg);

    -webkit-transform-origin: 0px 0px;
    -moz-transform-origin: 0px 0px;
    -ms-transform-origin: 0px 0px;
    -o-transform-origin: 0px 0px;
    transform-origin: 0px 0px;

    border: 0px solid;
    white-space: nowrap;
    position:absolute;
    display:inline-block;

    padding-bottom: 5px;
}

.legend-container {
	margin-bottom: .5em;
}

.legend-container table {
	margin: 0 auto;
}

.center {
    text-align: center
}

.emergency-text {
    max-height: 60vh;
    overflow-y: auto;
}

/*////////////////////////////////////////////*/
/*////////////// MODAL STYLING ///////////////*/
/*/ https://jsfiddle.net/yyx990803/mwLbw11k/ /*/
/*////////////////////////////////////////////*/
.modal-mask {
    position: fixed;
    z-index: 9998;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    transition: opacity .3s ease;
    display: table;
    color: #000;
}

.modal-wrapper {
    display: table-cell;
    vertical-align: middle;
}

.modal-container {
    width: 90%;
    max-width: 64em;
    /*max-height: 85vh;*/
    margin: 0px auto;
    padding: 0px 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .33);
    transition: all .3s ease;
    font-family: Helvetica, Arial, sans-serif;
    z-index: 9999;
}

.modal-footer {
    display: inline-block;
    width: 100%;
    padding: 5px 0px;
}

.modal-default-button {
    float: right;
}

.modal-enter {
    opacity: 0;
}

.modal-leave-active {
    opacity: 0;
}

    .modal-enter .modal-container,
    .modal-leave-active .modal-container {
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }