﻿.pagerowcontainer {
    min-width: unset !important;
}

.row {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
    display: block;
}

.column {
    position: relative;
    width: 50%;
    float: left
}

.one-forth {
    width: 25%;
}

.three-forths {
    width: 75%;
}

.third {
    width: 33%;
}

@media only screen and (max-width: 560px) {
    .column {
        width: 100%;
        display: block;
        float: none
    }
}

.button {
    padding: 5px 10px;
	background-color: #fff;
	border: solid 1px #069;
	outline: none;
	cursor: pointer;
	border-radius: 3px;
    display: block;
}

.button.red-button {
    background-color: #a33;
    border: solid 1px #111;
    color: #fff;
}

.button.blue-button {
    background-color: #069;
    border: solid 1px #111;
    color: #fff;
}

.tabs {
    margin-bottom: 10px;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
}

.tab {
    padding: 5px 0;
    font-size: 13px;
    cursor: pointer;
    border-right: 1px solid #ccc;
    text-align: center;
    background-color: #fff;
    border-bottom: 3px transparent solid;
}

.tab:last-child {
    border-right: none;
}

.tab.selected {
    border-bottom-color: #00007c;
}

@media only screen and (max-width: 560px) {
    .tab {
        border-right: none;
    }

    .tabs {
        border-bottom: none;
    }

    .tab:not(.selected) {
        border-bottom: 1px solid #ccc;
    }
}

.tab-view {
    display: none
}

.menu {
    position: fixed;
    padding: 20px 10px;
    overflow: auto;
    background-color: #fff;
    border: solid 1px #777;
    box-shadow: 0 0 15px #555;
    z-index: 999002;
    display: none;
}

.menu .title {
    font-size: 15px;
    text-align: center;
    padding: 5px;
    color: #444;
    border-bottom: 1px solid #ddd;
    margin-bottom: 8px;
}

.menu-background {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 999001;
    background-color: rgba(0, 0, 0, 0.1);
    display: none;
}

#map-container {
    width: 100%;
    margin-bottom: 10px;
    position: relative;
    background-color: #fff
}

#map-container:after {
    content: "";
    display: block;
    padding-bottom: 75%;
}

@media only screen and (max-width: 600px) {
    #map-container:after {
        padding-bottom: 100%;
    }
}

body.map-fullscreen {
    overflow: hidden !important;
}

body.map-fullscreen #map-container {
    width: 100%;
    height: 100%;
    max-height: none;
    top: 0;
    left: 0;
    position: fixed;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 999000;
}

#map-content {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #f11;
    padding: 0;
    margin: 0;
    border: solid 1px #999;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

#map {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    top: auto !important;
    left: auto !important;
    padding: 0 !important;
    background-color: #fff;
}

/*taken from https://js.arcgis.com/3.29/esri/css/esri.css*/
.map-icon {
    padding: 2px;
    width: 30px;
    height: 30px;
    background-color: #666;
    background-color: rgba(102,102,102,0.80);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background-position: center center;
    background-repeat: no-repeat;
    margin-bottom: 5px;
    display: block;
}

.home-icon {
    background-image: url("https://js.arcgis.com/3.30/esri/dijit/images/home.png");
}

.fullscreen-icon {
    background-image: url("../images/icons/fullscreen.png");
}

body.map-fullscreen .fullscreen-icon {
    background-image: url("../images/icons/closefullscren.png");
}

.instructions-icon {
    background-image: url("../images/icons/instructions.png");
}

.overlays-icon {
    background-image: url("../images/icons/overlays.png");
}

.print-icon {
    background-image: url("../images/icons/print.png");
}

.print-icon.disabled {
    background-color: rgba(255, 255, 255, 0.3);
    cursor: wait;
}

/*Map buttons*/
.map-buttons {
    position: absolute;
    top: 90px;
    left: 20px;
    z-index: 100;
    overflow: auto
}

/*Map Menu. Used for overlays and basemaps*/
.map-menu {
    position: absolute;
    z-index: 103;
}

.map-menu .content .row {
    margin-bottom: 5px;
}

/*Clicking this will close all open menus*/
.map-menu-closer {
    position: absolute;
    z-index: 102;
}

body.show-overlays .map-menu-closer, body.show-basemaps .map-menu-closer, 
    body.show-print-menu .map-menu-closer, body.show-pdf-container .map-menu-closer {
    display: block;
}

/*The contianer which shows the options for downloading or emailing the PDF*/
.pdf-container {
    width: 280px;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    padding-top: 40px;
    padding-bottom: 60px;
}

.pdf-container .title {
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    padding: 10px 0;
    padding-top: 25px;
    background-color: #fff;
}

.pdf-container .title:after {
    content: "PDF is Ready";
}

.pdf-container.show-confirmation .title:after {
    content: "Sending Email...";
}

.pdf-container.show-error .title:after {
    content: "Error";
}

.pdf-container .content {
    height: 100%;
    overflow: auto;
    padding: 0 10px;
    padding-top: 15px;
    font-size: 13px;
}

.confirmation td.icon {
    padding: 5px
}

.confirmation .icons-table td.description {
    padding: 5px;
    padding-top: 0
}

.pdf-container .buttons {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 10px;
    background-color: #fff;
    border-top: 1px solid #aaa;
    z-index: 4;
}

.pdf-container .submit {
    width: 100%
}

.pdf-container .buttons .button {
    float: right
}

.pdf-container p, .pdf-container li {
    font-size: 13px;
}

.pdf-container .confirmation-email {
    font-style: italic;
}

.pdf-container .form-area {
    padding: 5px 10px;
}

.pdf-container label {
    padding: 5px;
    font-size: 12px;
    text-align: center;
    background-color: #ddd;
    border: solid 1px #bbb;
    display: block;
    width: 20%;
    float: left;
    box-shadow: 0 0 0 !important;
}

.pdf-container .text {
    padding: 5px 10px;
    margin-bottom: 10px;
    background-color: #fff;
    border: solid 1px #069;
    outline: none;
    display: block;
    float: left;
    width: 80%;
}

.pdf-container .buttons {
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px solid #ddd;
}

.pdf-container .confirmation, .pdf-container .error {
    display: none;
}

.pdf-container.show-confirmation .confirmation {
    display: block;
}

.pdf-container.show-error .error {
    display: block;
}

.pdf-container.show-confirmation .form-area, .pdf-container.show-error .form-area {
    display: none;
}

body.show-pdf-container {
}

body.show-pdf-container .pdf-container {
    display: block;
}

/*In-map print menu*/
.print-menu-container {
    top: 160px;
    padding: 0px;
    left: 60px;
    width: 130px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

.print-menu-container .title {
    display: none;
}

body.show-print-menu .print-menu-container {
    display: block;
}

.esriPrintout {
    display: none !important;
}

body.show-print-menu .dijitMenuPopup:last-child {
    display: block !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
}

body.show-print-menu .dijitMenuPopup .dijitMenuTable {
    border: none !important;
    top: auto !important;
    width: 100% !important;
}

/*In-map overlays container*/
.overlays-container {
    top: 125px;
    left: 60px;
    padding: 10px;
    padding-top: 15px;
    width: 150px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

.overlays-container .title {
    display: none;
}

.overlays-container .content .row {
    margin-bottom: 5px;
}

.overlays-container .content input {
    float: right;
}

body.show-overlays .overlays-container {
    display: block;
}

/*Basemap Gellery*/
.basemap-container {
    width: 250px;
    height: 100%;
    top: 0;
    right: 0;
    padding-top: 70px;
    text-align: center;
}

body.show-basemaps .basemap-container {
    display: block;
}

.basemap-icon {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
    cursor: pointer;
}

body.show-basemaps .basemap-icon {
    z-index: 104;
}

.basemap-icon .basemap-icon-layer {
    width: 40px;
    height: 40px;
    top: 0;
    left: 0;
    background-color: #ddd;
    position: absolute;
    border: solid 1px #444;
    box-shadow: 0 0 5px #111;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background-image: url("../images/basemaps/drgs.PNG");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 10;
}

.basemap-icon .basemap-icon-layer:last-child {
    top: 10px;
    left: 10px;
    z-index: 9;
    background-image: url("../images/basemaps/simpleAK.PNG");
}

.esriBasemapGalleryNode {
    width: 91px !important;
    margin: 0;
    margin: 8px;
    margin-bottom: 10px;
    float: none !important;
    display: inline-block !important;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -moz-box-shadow: 0px 0px 7px #777;
    -webkit-box-shadow: 0px 0px 7px #777;
    box-shadow: 0px 0px 7px #777;
    border: 1px solid #ddd;
}

.esriBasemapGalleryNode a {
    text-decoration: none
}

.esriBasemapGalleryLabelContainer {
    background-color: #eee;
    padding: 2px;
    text-align: center;
    height: auto;
    font-size: 12px;
    display: block;
    color: #444;
}

.esriBasemapGalleryThumbnail {
    width: 100% !important;
    height: 67px;
    border: none !important;
    display: block;
    margin: 0 !important;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.esriBasemapGallerySelectedNode {
    -moz-box-shadow: 0px 0px 15px #333;
    -webkit-box-shadow: 0px 0px 15px #333;
    box-shadow: 0px 0px 15px #333;
    border-color: #999;
}

.esriBasemapGallerySelectedNode .esriBasemapGalleryThumbnail {
    border: none !important;
    margin: 0 !important;
}

@media only screen and (max-width: 420px) {
    .basemap-container {
        width: 180px;
    }

    .basemap-icon {
        width: 40px;
        height: 405px;
    }

    .basemap-icon .basemap-icon-layer {
        width: 30px;
        height: 30px;
    }
}

h4, h2 {
    margin-top: 0;
}

#legal-notice {
    padding: 10px;
    background-color: #eee;
    border-radius: 3px;
    border: solid 1px #999;
    margin-top: 5px;
    margin-bottom: 15px;
    max-width: 250px;
    float: right;
}

#legal-notice p {
    font-size: 12px;
}

#legal-notice p:last-child {
    margin-bottom: 0;
}

@media only screen and (max-width: 560px) {
    #legal-notice {
        max-width: none;
        float: none;
    }
}

#error-message {
    display: none;
    border-bottom: 1px #ddd solid;
    margin-bottom: 5px;
}

#hunt-map-info {
}

#instructions-menu {
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 600px;
    max-height: 400px;
    padding: 0;
    padding-bottom: 50px;
    overflow: hidden
}

#instructions-menu .title {
    display: none
}

#instructions-menu .main-tabs {
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    box-shadow: 0 0 5px #888;
}

#instructions-menu .main-tabs .tab {
    padding: 10px 0;
    font-size: 14px;
}

#instructions-menu .content {
    height: 100%;
    padding: 10px;
    padding-top: 50px;
    overflow: auto;
}

#instructions-menu .buttons {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 10px;
    background-color: #fff;
    border-top: 1px solid #aaa;
    z-index: 4;
}

#instructions-menu .basemap-icon {
    width: 30px;
    height: 30px;
    position: relative;
    top: auto;
    right: auto;
    cursor: default;
    margin-top: 5px;
    margin-left: 5px;
    display: block;
    z-index: 0
}

#instructions-menu .basemap-icon .basemap-icon-layer {
    width: 20px;
    height: 20px;
    box-shadow: 0 0 2px #888;
}

#instructions-menu .basemap-icon .basemap-icon-layer:last-child {
    top: 5px;
    left: 5px;
}

#instructions-menu .image {
    padding: 5px;
}

#instructions-menu img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: auto
}

#instructions-menu .description {
    font-size: 12px;
    padding: 10px;
}

#instructions-menu-opener {
    cursor: pointer
}

#instructions-menu-closer {
    float: right
}

#instructions-menu h2 {
    margin-top: 0px;
    margin-bottom: 10px;
}

.icons-table {
    table-layout: fixed
}

.icons-table, .icons-table td, .icons-table tr {
    border: none;
    outline: none;
}

.icons-table td {
    padding-bottom: 5px;
}

.icons-table td.icon {
    width: 25px;
}

.icons-table td.description {
    padding-top: 0
}

.icons-table .map-icon {
    display: inline-block;
    cursor: default;
    margin: 0;
}

@media only screen and (max-width: 560px) {
    #instructions-menu {
        max-width: none;
        max-height: none;
    }

    #instructions-menu .content {
        padding-top: 85px;
    }
}

@media only screen and (max-height: 350px) {
    #instructions-menu {
        max-width: none;
        max-height: none;
    }
}

body.show-instructions #instructions-menu, body.show-instructions .instructions-menu-background {
    display: block;
}

body.show-instructions {
    overflow: hidden;
}

.top-options {
    background-color: #efefef;
    padding: 10px;
    margin-top: 15px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border: solid 1px #999;
    border-bottom: none
}

#print-button {
    position: absolute;
    right: 10px;
    bottom: 10px;
}

@media only screen and (max-width: 450px) {
    .top-options span {
        width: 100%;
        display: block;
        float: none
    }
}

.esriPrint, .esriPrintButton {
    padding: 0 !important;
    margin: 0 !important;
}

