* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

html { 
    height: 100%;
}
body { 
    height: 100%;
    font-family:sans-serif;   
    background-color: #D9E6FC;
    margin: 0px;
}

#divAll {
    /* border: 1px solid #385074; */
    width:100%;
    height: 100%;
    padding: 0em;
    margin: 0px;
}

.panel-container {
    display: flex;
    flex-direction: row;
}


.panel-left {
    flex: 0 0 auto;
    width: 33%; 
    transition: width 300ms;
}

.splitter {
    flex: 0 0 auto;
    background: url(../img/splitter-20.png) center center/10px no-repeat;
    background-color: #e4ebf6;
    cursor: col-resize;
    width: 12px;
}

.panel-right  {
    flex: 1 1 auto;
}

#divPanel {
    /* min-width: 10px; */
    padding: 0px 3px;
    margin: 5px 0px;
    margin-bottom: 0.4em;

}

#divTable {
    overflow-y: auto;
    overflow-x: hidden;
}

#divMap {
  display: flex;
  flex-direction: column;
  padding: 5px 3px 5px 0px;
}

#divMap2  {
    flex: 1 1 auto;
}
#divMapHeader  {
    flex: 0 1 40px;
}

header {
    width: 1000px;
}


.flex-down {
    display: flex;
    flex-direction: column;
}

.flex-left {
    display: flex;
    flex-direction: row;    
    align-items: center;
    justify-content: space-between;
}

.map-controller {
    margin: 5px;
    padding: 2px;
    width: 40px;    
    background-color: #ffffff;
}
.map-controller-button {
    margin: 2px;
    padding: 2px;
    background-color: #ffffff;
    box-shadow: 0px 0px 5px #c1c1c1;
    width: 30px;
}
.map-controller-button:hover {
    background-color:#ebebeb;
}
.map-controller-button.off:hover {
    background-color:#ebebeb;
    box-shadow: 0px 0px 5px #c1c1c1;
}
.map-controller-button.off {
    background-color: #e4e4e4;
    box-shadow: inset 0px 0px 5px #c1c1c1;
}
.map-controller-button:after {
    background-size: 25px 25px;
    width: 25px;
    height: 25px;
    display: inline-block;
    content: "";
}
.map-controller-button.inmap-edit:after {
    background-image: url("../img/inmap_edit_on.png");
}
.map-controller-button.inmap-edit.off:after {
    background-image: url("../img/inmap_edit_off.png");
}
.map-controller-button.map-label:after {
    background-image: url("../img/map_label_on.png");
}
.map-controller-button.map-label.off:after {
    background-image: url("../img/map_label_off.png");
}
.map-controller-button.tracking:after {
    background-image: url("../img/tracking_on.png");
}
.map-controller-button.tracking.off:after {
    background-image: url("../img/tracking_off.png");
}

@media only screen and (max-width:800px) {
    header {
        width: 300px;
    }
    #divMap {
        padding-left: 3px;
    }

    .panel-container {
        display: block;
    }
    .panel-left {
        display: block;
        /* background-color: red; */
        width: 100% !important;
    }
    .splitter {
        display: none;
    }
    .panel-right {
        /* background-color: orange; */
        width: 100%;
        height: 90%;
    }
}

#divUsage {
  position: relative;
  background: #C4D9FA;
  padding: 0.5em;
}


#divInput {
    padding-bottom:6px;
}

#divShare {
    background-color: #C4D9FA;
    border-color: #5A80BB;
    border-style: solid;
    padding: 5px;
    margin-bottom:6px;
}
#divShare > input:disabled {
    background-color: #C4D9FA;
}

#divShare > * {
    margin: 4px 0;
}

.hidden {
    display: none;
}

.nonbreak {
    white-space: nowrap;
}

.utmKmText {
    font-size: 1.166em;
}

.smallText {
    font-size: 0.7em;
}
.largeText {
    font-size: 1.0em;
}
.boldText {
    font-weight: bold;
}

input:disabled {
    background: #C4D9FA;
}

#divFeedback {
    font-size: 0.8em;
}

.feedback {
    margin: 2px;
    padding: 3px;
    border: 2px;
    border-style: solid;
    border-color: #D9E6FC;
}

/* -- Feedback - INFO -- */
.feedbackInfo {
    background: #dfe4ff;
    border-color: #5A80BB;

    background-image:none !important;
    -webkit-animation: fadeInInfo 1s ease-in-out;
    -moz-animation: fadeInInfo 1s ease-in-out;
    -o-animation: fadeInInfo 1s ease-in-out;
    animation: fadeInInfo 1s ease-in-out;
}

@-webkit-keyframes fadeInInfo {
    0%  { background-color: #feffb7; }
    100% { background-color: #dfe4ff; }
}
@-moz-keyframes fadeInInfo {
    0%  { background-color: #feffb7; }
    100% { background-color: #dfe4ff; }
}
@-o-keyframes fadeInInfo {
    0%  { background-color: #feffb7; }
    100% { background-color: #dfe4ff; }
}
@keyframes fadeInInfo {
    0%  { background-color: #feffb7; }
    100% { background-color: #dfe4ff; }
}


/* -- Feedback - ERROR -- */
.feedbackError {
    background: #ff8f85;
    border-color: #ff4133;

    background-image:none !important;
    -webkit-animation: fadeInError 1s ease-in-out;
    -moz-animation: fadeInError 1s ease-in-out;
    -o-animation: fadeInError 1s ease-in-out;
    animation: fadeInError 1s ease-in-out;
}

@-webkit-keyframes fadeInError {
    0%  { background-color: #ff4133; }
    100% { background-color: #ff8f85; }
}
@-moz-keyframes fadeInError {
    0%  { background-color: #ff4133; }
    100% { background-color: #ff8f85; }
}
@-o-keyframes fadeInError {
    0%  { background-color: #ff4133; }
    100% { background-color: #ff8f85; }
}
@keyframes fadeInError {
    0%  { background-color: #ff4133; }
    100% { background-color: #ff8f85; }
}

.backgroundAnimated {
    background-image:none !important;
    -webkit-animation: fadeIt 1s ease-in-out;
    -moz-animation: fadeIt 1s ease-in-out;
    -o-animation: fadeIt 1s ease-in-out;
    animation: fadeIt 0.3s ease-in-out;
}

table {
    width:100%;
    border:solid;
    border-color:#5A80BB;
    border-width:3px;
    border-collapse:collapse;
    border-radius: 10px;
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    margin:0px;
}

th {
   color:#5A80BB;
   background-color:#95B8F0;
   border-color:#5A80BB;
   border-style:solid;
   font-weight:bold;
   vertical-align:middle;
   padding:5px;
}

td {
    background-color:#C4D9FA;
    border:medium;
    border-color:#5A80BB;
    border-style:solid;
    vertical-align:middle;
    padding:2px;
}

td.colDist {
    text-align: center;
}
td.colElevation,
td.colHeading  {
    text-align: right;
}
input {
    background-color: #E8F1FF;
    border-color: #A5BCE2;
}

.inputText {
    width: 220px;
    font-size: 1.2em;
}

.header {
    font-family:sans-serif;
    font-size:2em;
}

.dotted {
    color: #385074;
    border-bottom: 1px dashed #385074;
}

.hand {
    cursor: pointer;
    cursor: hand;
}

.rounded-corners {
    background-color: #E8F1FF;
    border-color: #A5BCE2;
    padding-top:4px;
    padding-bottom:4px;
    padding-left:6px;
    padding-right:6px;

    border-radius: 4px 4px 4px 4px;
    -ms-border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
    -khtml-border-radius: 4px 4px 4px 4px;
}

.colMenu button {
    margin: 3px 0;
}

 .markerlabel {
     color: #5A80BB;
     background-color: #C4D9FA;
     font-family: sans-serif;
     font-size: 14px;
     font-weight: bold;
     text-align: center;
     /*width: 40px; */
     padding: 2px;
    border: 1px solid #5A80BB;
    border-radius: 3px;
    white-space: nowrap;
    transform: translate(14px, -36px);
}

.markerlabel.airnav {
    /* Override element style on labels */
    cursor: default !important;
}

.markerlabel.airport {
    transform: translate(-50%, -45px);
    background-color: #efef12;
    color: #6868c8;
    border: 1px solid #6868c8;
}
.markerlabel.navaid {
    transform: translate(calc(-100% - 20px), -10px);
    background-color: antiquewhite;
    color: #a18f76;
    border: 1px solid #a18f76;
}
.markerlabel.navaid.ndb {
    transform: translate(calc(-100% - 10px), 10px);
}

 .clearfix:after { 
    content: "."; 
    visibility: hidden; 
    display: block; 
    height: 0; 
    clear: both;
}

.mapOptions {
    float:left;
    padding-right:1em;
    /*padding-top:0.5em;*/
}

#hiddenImgRemoveRow {
    visibility: hidden;
}

div.menu-item {
    position: relative;
    height: 40px;
}

label.menu-item {
    position: absolute;
    left: 20px;
}

label.menu-item:hover {
    background-color: #feffb7;
    width: 100%;
}
input.menu-item {
    opacity: 0.5;
    position: absolute;
    left: 0;
    top: 0;
    height: 32px;
    width: 32px;
}

.popup-menu label:after {
    margin-left: 12px;
    transform: scale(1.25);
    transition: transform 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275) 250ms,  margin 500ms, transform 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275) 250ms;
}

@media print {
    #divUsage {
        display: none;
    }    
}