/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {

    font-size: 1em;
    line-height: 1.4;
    display: block;
    font-family: 'Open Sans',sans-serif ;
    
}
.title{
  font-family: 'Didot W01 Roman' !important ;
}

/* .submenu a,th,.tailnumber,.dsp-manual-upload-dialog{
  font-family: 'Didot W01 Roman' !important ;
} */

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
app-header{
  box-sizing:content-box;
  display: block;
  /*line-height: 5vw;*/
  margin-left: 0px;
  margin-right: 0px;
  padding-bottom: 0px;
  padding-top: 0vw;
  background-color: rgba(255,255,255,1);
}
img.logo {
  width: 180px;
  height: 2vw;
  margin-left: 7vw;
  margin-top: 1vw;
  margin-bottom: 1vw;
  border: 0;
  text-align: left;
  display: inline;
  box-sizing: border-box;
  float: left;
}

iron-selector  {
  display: flex;
  float: right;
  height: auto;
  padding-right: 7vw;
}

.vaadin-grid-table-5 #items.vaadin-grid-table > tr.vaadin-grid-table{
  position: relative;
  max-height: 32px;
  transform: none !important;
}
.maj, .min {
  letter-spacing: 0.1vw;
  line-height: 2vw;
  padding: 0vw;
  text-transform: uppercase;
  box-sizing: border-box;
  display: block;
  font-size: 1vw;
  padding-left: 0.5vw;
  padding-right: 0.5vw;
  padding-top: 0vw;
  padding-bottom: 0vw;
  margin-top: 1vw;
  margin-bottom: 0vw;
  margin-left:0.5vw;
  margin-right:0.5vw;
  color: #333;
}
.maj {
    font-weight:700;
}

.min {
    font-weight: 400;
}

.maj:hover, .maj.iron-selected, a.sub:hover, a.sub.iron-selected {
  box-shadow: 0vw 0.4vw 0vw 0vw rgba(209,144,0,1);
}
.min:hover, .min.iron-selected {
  box-shadow: 0vw 0.1vw 0vw 0vw rgba(209,144,0,1);
}


.subnav {
    position: fixed;
    width: 100%;
    top: 4vw;
    transition: transform 250ms ease-in-out;
    background: #eeefee;
    height: 3.7vw;
    overflow: hidden
}
.header-subnav-right {
    display: inline-block;
    float: right;
    line-height: 1vw;
    height: 3vw;
    margin-top:0.3vw;
    margin-bottom:0.3vw;
    margin-right: 7vw;
}

}
  paper-tab {
    color: #333;
    text-transform: uppercase;
    font-size: 0.8vw;
    font-weight: 600;
    line-height: 1vw;
    text-align: right;
    padding: 0 2vw;
    margin: 0vw 10vw 0.4vw 10vw;
  }

  paper-tab.iron-selected{
    box-shadow: 0vw 0.4vw 0vw 0vw rgba(209,144,0,1);
    display: inline-block;
    height: 80%;
  }

  @media (max-width: 700px) {
    .subnav {
        position: fixed;
        width: 100%;
        top: 4vw;
        transition: transform 250ms ease-in-out;
        background: #eeefee;
        height: 7vw;
        overflow: hidden
    }
    .header-subnav-right {
        display: inline-block;
        float: right;
        line-height: 7vw;
        height: 7vw;
        margin-top:0.3vw;
        margin-bottom:0.3vw;
        margin-right: 7vw;
    }

    paper-tab {
       color: #333;
       text-transform: uppercase;
       font-size: 2vw;
       font-weight: 600;
       line-height: 2vw;
       text-align: right
     }

    paper-tab.iron-selected{
      background-color:rgba(209,144,0,1);
      color: white;
      padding: 0vw 2vw;
      border-radius: 15vw;
      display: inline-block;
      transition: all .2s ease-in-out;
      vertical-align: middle
    }
  }

paper-tabs{
  display: flex;
  align-items: center
}

.iconHelp{
  color: rgba(94,39,81,1);
}
.helper{
    position: absolute;
    top: 5vw;
    left: 1vw;
    font-size: 1vw;
    float: right;
    cursor: help;
}
paper-dialog.help {
    position: fixed;
    top: 7vw;
    right: 4.4vw;
    width: 15vw;
    height: auto;
    font-size: 1vw;
    overflow: auto;
    border: 0.1vw solid;
    border-color: rgba(94,39,81,1);
    background-color: white;
    color: rgba(94,39,81,1);
  }

.blue{
  background-color: rgba(0,62,81,1);
  color:white;
}
.gold{
  background-color: rgba(209,144,0,1);
  color:white;
}
.green{
  background-color: rgba(50,77,18,1);
  color:white;
}
.red{
  background-color: rgba(140,0,26,1);
  color:white;
}
.grey{
  background-color: #eeefee;
  color:black;
}
.orange{
    background-color: rgba(209,144,0,1) ;
    color: white;
}
.darkgrey{
  background-color: DarkGrey;
  color:white;
}

.round{
  border-radius: 50%;
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

#loggrid tr {
  transform: none !important;
  position: relative !important;
}

.textarea-container{
 top: 24px !important;
}

#dropdown{
  height: 57vh;
}


vaadin-date-picker input.vaadin-date-picker {
  line-height: normal !important;
}

paper-input#sec paper-input-container{
  line-height: 24px;
}

dsp-ground-loading .container{
  width: 43% !important;
}

vaadin-combo-box #labelAndInputContainer #input{
  padding-right: 0px;
}

.vaadin-grid-table-1 table.vaadin-grid-table tbody.vaadin-grid-table .vaadin-grid-cell.vaadin-grid-table:not([detailscell]) > vaadin-grid-cell-content div{
  overflow: hidden;
  text-overflow: ellipsis;
}
dsp-view-details tbody#items tr td vaadin-grid-cell-content div{
  overflow: hidden;
  text-overflow: ellipsis;
}

tr td div{
  overflow: hidden;
  text-overflow: ellipsis;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {  
  paper-input#sec paper-input-container input{
    padding-bottom: 1px;
    
  }
  .Site-content{
    min-height: 92vh;
  }
  #barsContainer{

    border-radius: 11px;
  }
}



dsp-action-log-table tbody#items{
 height: auto !important;
}
