/* HACKS */

/* DISABLED (REASON: gives oversized windows) .gm-style-iw{ overflow: hidden !important;} */ /* Prevent wrapping/scrollbarring of GoogleInfoWindows */

.noscrollbar {
    line-height: 1.35;
    white-space: nowrap;
    height: 100% !important;
    overflow: hidden !important;
}

button:focus {
    outline: 0;
}

input:focus {
    outline: 0;
}

/* MAP VERSION */

#EAGISModule #currentVersion {
    position: absolute;
    top: 1px;
    left: 3px;
    z-index: 900;
    color: black;
    font-size: 0.7em;
    -ms-opacity: 0.5;
    opacity: 0.5;
}

/* COPY MENUET CSS (adjusted) */

body {
    font-family: Verdana,Arial,Helvetica,sans-serif;
    font-size: 12px;
    letter-spacing: normal;
}

#EAGISModule #toolbarViewer {
    width: 100%;
    height: 30px; /* 'display: inline-block' werkt niet binnen XAF */
    background-color: white;
}

#EAGISModule #toolbar {
    width: 100%;
    background-color: white;
    display: inline-block;
}

    #EAGISModule #toolbar input {
        float: left;
    }

#EAGISModule #toolbarNavigateViewer {
    float: left;
    margin-bottom: 5px;
}

#EAGISModule #toolbarNavigate {
    float: right;
}

#EAGISModule #toolbarDrawing {
    float: left;
}

#EAGISModule #mapCanvas {
    width: 100%;
    /* NOTE: Height must be set via JQuery and a height of 100% cannot be used unfortunately because then all parents must be 100% (until html tag). For XAF this would be undo-able */
    height: 700px;
    border: 1px solid #000;
}

#EAGISModule .menuet_command_map {
    text-align: center;
    margin-right: 0;
    margin-left: 10px;
    padding-top: 2px;
    height: 25px;
    border-style: solid;
    border-color: #f0eeee;
    border-width: 1px;
    font-weight: bold;
    width: fit-content;
    padding: 3px;
    color: #000000;
    background-color: white;
    padding-left: 25px;
}

/* DRAWING BUTTONS */

.btnDrawing {
    cursor: pointer;
}

/* NAVIGATE BUTTONS */

.btnNavigate {
    text-transform: capitalize; /*VOOR IE 7*/
    text-indent: -9999px;
    height: 22px;
    cursor: pointer;
}

/*NOTE: Stylen onder worden (helaas) herhaalt omdat Menuet deze ander overruled (en important willen we vermijden) */
#EAGISModule #selEvenementDatums {
    height: 24px;
}

#EAGISModule #btnZoek {
    background-image: url(../../Images/Site/search.png);
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    color: transparent;
    width: 20px;
}

#EAGISModule #txtZoek {
    width: 160px;
    height: 18px;
}

#EAGISModule #btnZoomToBasisKaart {
    background-image: url(../../Images/Site/zoom_basemap.png);
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    color: transparent;
    width: 20px;
}

#EAGISModule #btnZoomToTekening {
    background-image: url(../../Images/Site/zoom_drawing.png);
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    color: transparent;
    width: 20px;
}

#EAGISModule #btnDeleteKaart {
    background-image: url(../../Images/Site/delete.png);
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    color: transparent;
    width: 20px;
}

#EAGISModule #btnMainHelp {
    background-image: url(../../Images/Site/info.png);
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    color: transparent;
    width: 20px;
}

#EAGISModule #btnSaveKaart {
    background-image: url(../../Images/Site/save.png);
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    color: transparent;
    width: 20px;
}

.menuet_success, .menuet_info, .menuet_help, .menuet_warning, .menuet_error {
    clear: both;
    padding: 10px;
    padding-left: 4%;
    width: 95%;
}

.menuet_success {
    background-color: #339933;
    color: white;
}

.menuet_help, .menuet_info {
    background: #E0EFEF;
    color: black;
}

.menuet_warning, .menuet_error {
    background-color: #D55359;
    color: white;
}

/* Commons */
.floatLeft {
    float: left;
}


/* DRAWING BUTTONS */

#EAGISModule #btnGebouw {
    background-image: url(../../Images/Site/gebouw.png);
    background-repeat: no-repeat;
    background-position: 3%;
}

#EAGISModule #btnTerrein {
    background-image: url(../../Images/Site/gebied.png);
    background-repeat: no-repeat;
    background-position: 3%;
    text-align: right;
}

#EAGISModule #btnToggleGeluidscontouren {
    background-image: url(../../Images/Site/geluidscontour.png);
    background-repeat: no-repeat;
    background-position: 3%;
    text-align: right;
    width: 200px !important;
}

#EAGISModule #btnRoute {
    background-image: url(../../Images/Site/route.png);
    background-repeat: no-repeat;
    background-position: 3%;
    text-align: right;
}

#EAGISModule #btnUploadRoute {
    background-image: url(../../Images/Site/route.png);
    background-repeat: no-repeat;
    background-position: 3%;
    text-align: right;
}

/* RESETS */
#EAGISModule #mapCanvas img {
    margin: 0px; /* REASON: Menuet seems to add a margin around an image */
}

/* GOOGLE MAPS BUTTONS */

#EAGISModule .btnMapImageWrapper {
    width: 40px;
    height: 40px;
    overflow: hidden;
    position: absolute;
    left: 3px;
    top: 2px;
}

/* Zoom to Route Button */
#EAGISModule .btnMapZoomToRouteWrapper {
    background-color: rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
    border-radius: 2px;
    width: 40px;
    height: 40px;
    position: absolute;
    bottom: 112px;
    right: 9px;
    z-index: 100;
}

#EAGISModule #btnMapZoomToRoute {
    background-image: url(../../Images/Site/ZoomRoute40x40.png);
    background-repeat: no-repeat;
    border: none !important;
    color: transparent;
    width: 40px;
    height: 40px;
    user-select: none;
    border: 0px;
    padding: 40px; /* Removes the border */
    margin: 0px;
    max-width: none;
    position: absolute; /* Firefox vereiste */
}

/* Zoom to Terrein Button */
#EAGISModule .btnMapZoomToTerreinWrapper {
    background-color: rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
    border-radius: 2px;
    width: 40px;
    height: 40px;
    position: absolute;
    bottom: 154px;
    right: 9px;
    z-index: 100;
}

#EAGISModule #btnMapZoomToTerrein {
    background-image: url(../../Images/Site/ZoomTerrein40x40.png);
    background-repeat: no-repeat;
    border: none !important;
    color: transparent;
    width: 40px;
    height: 40px;
    user-select: none;
    border: 0px;
    padding: 40px; /* Removes the border */
    margin: 0px;
    max-width: none;
    position: absolute; /* Firefox vereiste */
}

/* COMMONS */

#EAGISModule .disabled {
    /* DISABLED (Reason: Looks too ugly)
    padding: 0px 6px 0px 6px;
    border: 2px outset ButtonFace;
    color: GrayText;
    cursor: inherit;
*/
}

.alightRight {
    float: right;
}

.defaultBlockSpacing {
    margin-top: 0px;
}

.defaultControlSpacing {
    margin: 5px;
}

.controlSpacingTop10 {
    margin-top: 10px;
}

.controlInnerSpacing5 {
    padding: 5px;
}

.defaultParagraphSpacing {
    margin: 5px;
}

#EAGISModule #messageWrapper {
    position: absolute;
    top: 10px;
    z-index: 900;
    width: 60%;
    left: 50%;
    margin-left: -30%;
}

/* NOTE: We only want menuets coloring, not the small font */
#EAGISModule #messageContainer {
    text-align: center !important;
}

/* MAP */

#EAGISModule #mapHelpWrapper {
    position: absolute;
    top: 10px;
    z-index: 900;
    width: 10%;
    left: 88%;
    margin-right: 1%;
}

#EAGISModule #mapWrapper {
    position: relative;
}

/* DISABLED: Not used anymore because a more clearly visible toolbar button is used now
    #EAGISModule #mapZoomToBase {
    border: 1px;
    width: 14px;
    height: 14px;
    position: absolute;
    display: block;
    top: 38px;
    left: 38px;
    cursor: pointer;
    background-color: maroon;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
}
*/
#EAGISModule #btnStopDrawing {
    position: absolute;
    top: 30px;
    left: 70px;
    text-align: center;
    height: 40px;
    width: 40px;
    background-color: transparent;
    color: gray;
    border: none;
    z-index: 900;
    background-image: url(../../Images/Site/stop.png);
    background-repeat: no-repeat;
    text-indent: -9999px;
    text-transform: capitalize; /*VOOR IE 7*/
}

#EAGISModule #infoWindowWrapper {
    height: 100%;
}

    #EAGISModule #infoWindowWrapper form {
        height: 100%;
    }

#EAGISModule .toolbarCentered {
    text-align: center;
}


/* JQEURY UI Adjustments */

/*.ui-front {
    z-index: 10000 !important;
}*/

div.ui-widget {
    font-size: 1em;
}

div.ui-datepicker {
    font-size: 70%;
}

div.ui-dialog-buttonpane {
    font-size: 80%;
}

div.ui-widget input.text {
    margin-bottom: 12px;
    width: 95%;
    padding: .4em;
}

div.ui-widget fieldset {
    padding: 0 !important;
    border: 0 !important;
}

div.ui-widget h1 {
    font-size: 1.2em;
    margin: 0.6em 0;
}

div.ui-widget .ui-dialog .ui-state-error {
    padding: 0.3em;
}

div.ui-widget .ui-state-error {
    padding: 0.7em;
}

div.ui-widget .dialog .validateTips {
    border: 1px solid transparent;
    padding: 0.3em;
}

div.ui-widget .ui-state-highlight {
    padding: 0.5em;
}

/* MESSAGES */

#EAGISModule .informational, .help, .success, .warning, .error {
    border: 1px solid;
    margin: 5px 0px;
    padding: 10px;
    background-repeat: no-repeat;
    background-position: 10px center;
    border: none;
    color: white;
}

#EAGISModule .info {
    background-color: #E0EFEF;
    color: black;
}

#EAGISModule .help {
    background-color: #CC9900;
}

#EAGISModule .success {
    background-color: #339933;
}

#EAGISModule .warning {
    background-color: #FF9900;
    color: black;
}

#EAGISModule .error {
    background-color: #D55359;
}

/* GOOGLE INFOWINDOW */
.googleInfoWindowLarge {
    max-width: 380px;
    height: 340px;
    line-height: normal;
    /*white-space: nowrap;*/
    overflow: auto;
}

.gm-style-iw {
    overflow: visible !important;
}

/* KALENDER INFOWINDOW */

.EaKalenderToolbar {
    margin-bottom: 3px;
}

    .EaKalenderToolbar table { /* NOTE: First a ul/li construction was used, but this gave sizing problems */
        padding: 0;
        margin: 0;
        border-spacing: 0;
        border-collapse: collapse;
        border: none;
        width: 95%; /* HACK: To prvent a horizontal scroolbar when using IE7 */
    }

    .EaKalenderToolbar a {
        display: block;
        color: black;
        background: url(../../Images/Site/toolbaroption.png) no-repeat -0px 7px;
        padding: 8px 15px;
        text-decoration: none;
    }

        .EaKalenderToolbar a:hover {
            color: #c00;
            background-color: #fff;
        }

.EaKalenderTabel {
    border-collapse: collapse;
    border: 1px solid #666666;
    color: black;
    width: 95%; /* HACK: To prvent a horizontal scroolbar when using IE7 */
    table-layout: fixed;
}

    .EaKalenderTabel th {
        background-color: #AAD5FF;
        text-align: right;
        padding: 2px;
        /*white-space:normal !important;*/
        word-wrap: break-word;
    }

    .EaKalenderTabel td {
        border: 1px solid #666666;
        color: black;
        padding: 2px;
        /*white-space: normal !important;*/
        word-wrap: break-word;
    }

#EaHiddenInfo {
    display: none;
}

/* VIEWER DAG SELECTIE */

#selEvenementDatumsLabel {
    font-weight: bold;
}

#selEvenementDatumsBlok {
    position: absolute;
    left: 7px;
    top: 10px;
}

