

html {
  position: relative;
  min-height: 100%;
  overflow-y: scroll;
  font-size: 18px;
}


body {
  margin-bottom: 260px; /* account for tallest footer */
}



.scroll-shadows {
  overflow: auto;

  background:
    /* Shadow Cover */
    linear-gradient(
      white 100%,
      rgba(255, 255, 255, 0)
    ) left center,
    
    /* Shadow Cover */
    linear-gradient(
      white 100%,
      rgba(255, 255, 255, 0)
    ) right center,
    
    /* Shadow */
    radial-gradient(
      farthest-side at 0 50%,
      rgba(0, 0, 0, 0.2),
      rgba(0, 0, 0, 0)
    ) left center,
    
    /* Shadow  */
    radial-gradient(
      farthest-side at 100% 50%,
      rgba(0, 0, 0, 0.2),
      rgba(0, 0, 0, 0)
    ) right center;
  
  background-repeat: no-repeat;
  background-size: 40px 100%, 40px 100%, 20px 100%, 20px 100%;

  background-attachment: local, local, scroll, scroll;
}


/*========================================================
                        Header
========================================================*/


header {
  box-shadow: 0 2px 4px rgba(0, 0, 0, .04);
  border-bottom: 1px solid #ccc;
  background: #f3f3f3;
  font-size: 22px;
}

  header > div {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 10px;
  }


  #logo img {
    width: 121px;
    height: 79px;
  }

  #logo {
    padding: 3px;
    margin: 5px 25px 5px 0;
  }


  
  .navbar-light .navbar-nav .nav-link {
    color: inherit;
    margin-right: 18px;
    white-space: nowrap;
  }
  
  @media only screen and (max-width: 820px) {
    .navbar-light .navbar-nav .nav-link {
      margin-right: 4px;
    }
   #logo {
    margin-right: 15px;
    }
  }
  
  .navbar {
    padding: 0;
  }

  header .active {
    font-weight: 600;
  }

  header a,
  header a:hover,
  header a:focus,
  header a:active {
    color: inherit;
  }

  #nav-right li {
    margin: 5px 0;
  }

a.dropdown-item:hover {
  color: #fff;
  background: #007bff;
}

.dropdown-menu {
  border: 1px solid rgba(0,0,0,0.3);
  box-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

#nextpay {
  font-size: 1rem;
  color: inherit;
  background-color: rgb(195, 230, 203);
}






/*========================================================
                        Common
========================================================*/


h2, h3, h4 {
  margin-top: 2rem;
}

div#main {
  max-width: 1260px;
  margin: 0 auto;
  padding: 40px 30px;
}

@media (max-width: 600px) {
  div#main {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.container {
  padding: 0;
}

.table-nf {
  width: auto;
}

.table {
  margin: 1rem 0;
}

.table thead {
  background: #aef;
}

.table thead th {
  border-bottom-color: #4ce;
  border-top: 0;
}

th.title {
  background: #4ce;
  border-bottom: 0;
}

.alert-dismissible .close {
  padding-top: 0.6rem;
}



form#notifyme {
  max-width: 525px;
  margin: 2rem auto;
  padding: 1rem 2rem;
  text-align: center;
  border: 1px solid #ccc;
  box-shadow: 1px 1px 2px rgba(0,0,0,0.1);
  border-radius: 5px;
  background: #eee;
}

#notifyme label {
  text-align: left;
  font-weight: 500;
}


ul.list-large li {
  font-size: 1.25rem;
  margin: 5px 0;
}






/*========================================================
                  Calendars
========================================================*/



.calendar {
  width: 100%;
  height: 600px;
  
}

ol.calendar-nav .breadcrumb-item+.breadcrumb-item::before {
   content: "|"; 
}









/*========================================================
                  Home Page
========================================================*/



.hold, .grid {
  margin: 0 -15px;
}

@media (min-width: 900px) {
  .hold {
    display: flex;
  }
}

@media (min-width: 770px) {
  .grid {
    display: flex;
  }
}

.part {
  padding: 0 15px;
  width: 100%;
}














/*========================================================
                        Salary Page
========================================================*/

#pay {
  margin-top: 2rem;
}

#calc {
  margin-top: 2rem;
}

  #calc select {
    font-size: 1.1rem;
    font-weight: 600;
    height: auto;
    width: auto;
    background: #fafafa;
  }

  @media (max-width: 500px) {
    #calc select {
      width: 100%;
    }
  }

    #calc option {
      font-size: 1.1rem;
      font-weight: 600;
    }


table .ltgt {
  padding-right: 0;
  text-align: right;
}


.form-inline label {
  margin-right: 8px;
}
.form-inline .form-group {
  margin-right: 16px;
  margin-bottom: 10px;
}

.tip {
  color: #07f;
  border: 1px solid #07f;
  border-radius: 15px;
  font-style: italic;
  font-weight: bold;
  padding: 0 6px;
  font-size: 12px;
  margin-left: 5px;
}

.tooltip-inner {
  max-width: 385px;
  text-align: left;
  font-size: 1rem;
  padding: 0.5rem 1.0rem;
  background-color: #333;
}

.tooltip.show {
  opacity: 1;
}



.bs-tooltip-top .arrow::before, .bs-tooltip-auto[x-placement^="top"] .arrow::before {
  border-top-color: #333;
}
.bs-tooltip-right .arrow::before, .bs-tooltip-auto[x-placement^="right"] .arrow::before {
  border-right-color: #333;
}
.bs-tooltip-bottom .arrow::before, .bs-tooltip-auto[x-placement^="bottom"] .arrow::before {
  border-bottom-color: #333;
}
.bs-tooltip-left .arrow::before, .bs-tooltip-auto[x-placement^="left"] .arrow::before {
  border-left-color: #333;
}




/*========================================================
                        Tables
========================================================*/


th.tablesorter-header:hover {
  cursor: pointer;
  background: #86e7ff;
}

.tablesorter-header {
  white-space: nowrap;
}

.tablesorter-header-inner {
  display: inline-block;
}

.tablesorter-headerDesc::after {
  content: '▼';
}

.tablesorter-headerAsc::after {
  content: '▲';
} 

.tablesorter-headerDesc::after, .tablesorter-headerAsc::after {
  font-size: 0.85rem;
  color: #3db7d6;
  padding-left: 6px;
}

.nowrap {
  white-space: nowrap;
}






/*========================================================
                        Facility Page
========================================================*/

td.notice {
  border-top: 0;
}


.breadcrumb {
  padding: 0;
  background-color: inherit;
}

.near {
  text-align: center;
  margin-top: 75px;
}

  .near li {
    display: inline-block;
    text-align: center;
    min-width: 100px;
    margin-bottom: 45px;
  }
  .near li:first-child {
    margin-right: 300px;
  }
  
  .near a span {
    font-size: 28px;
  }
  
@media only screen and (max-width: 825px) {
  .near li:first-child {
    margin-right: 125px;
  }
}

@media only screen and (max-width: 650px) {
  .near li:first-child {
    margin-right: 45px;
  }
}


.near .btn-primary {
  background-color: #ccc;
  border-color: #ccc;
  color: #000;
  box-shadow: 2px 2px 2px rgba(0,0,0,.4);
}

.near .btn-primary:hover {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
}


/*========================================================
                        Call Sign Page
========================================================*/




.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active, .nav-tabs .nav-link.active:hover {
  border-color: #bbb #bbb #fff;
}

.nav-tabs {
  border-bottom: 1px solid #bbb;
  margin: 30px 0 20px 0;
}


 .nav-tabs .nav-link:hover {
    border-color: #ccc #ccc #bbb;
}


.nav-pills {
  margin: 10px 0 30px 0;
}

  .nav-pills .nav-link {
     padding: .5rem .89rem;
  }

.termlist {
}

  .termlist li {
    margin-bottom: 10px;
    font-size: 18px;
  }

    .termlist li a {
      padding: 5px 0;
    }


.term {
  width: 100%;
}

  .term th {
    font-weight: normal;
    text-align: right;
    width: 1%;
    color: #777;
    vertical-align: middle;
    white-space: nowrap;
  }
  
  .term ol li {
    margin-bottom: 15px;
    padding-left: 5px;
  }
  
  .term ol, .term td p {
     margin-top: 15px;
  }
  
  .term td li p {
     margin-top: 0;
  }
  
  .term ol.solo {
     margin-top: 0;
     margin-left: -22px;
  }

  .nomargin {
    margin-bottom: 0;
  }

  .muted {
    color: #9aa;
  }

  .countries {
    margin-top: 30px;
    column-count: 3;
    column-gap: 20px;
  }
  
    .countries li {
      margin-bottom: 20px;
    }

      .countries li a {
        padding: 5px 0;
      }



@media only screen and (max-width: 1130px) {
  .countries {
    column-count: 2;
  }
}


@media only screen and (max-width: 900px) {
 
  .term .display-4 {
    font-size: 2.5rem;
  }
  
}



@media only screen and (max-width: 650px) {
 
  .term .display-4 {
    font-size: 2rem;
  }
  .term th {
    padding-left: 0;
    white-space: normal;
  }
  .term td {
    padding-right: 0;
  }
  
}




@media only screen and (max-width: 800px) {
  
  .countries {
    column-count: 1;
  }
  
}


@media only screen and (min-width: 800px) {

  .termlist {
    column-count: 2;
    column-gap: 50px;
  }
  

  
}


h2.display-4 {
  margin-top: 0;
}


.flag {
  min-width: 50px;
  margin-right: 5px;
  display: inline-block;
  text-align: center;
}

.flag img {
  height: 20px;
  max-width: 50px;
  box-shadow: 1px 1px 4px rgba(0,0,0,0.4);
  vertical-align: top;
  margin-top: 2px;
}


.term .flag img {
  margin-left: 10px;
}


.cflag {
  min-width: 90px;
  min-height: 40px;
  margin-right: 10px;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
}

.cflag img {
  box-shadow: 1px 1px 4px rgba(0,0,0,0.4);
  max-height: 40px;
  max-width: 90px;
}


.phonetic tbody th, .phonetic .title {
  text-align: center;
}

.phonetic span {
  font-weight: bold;
}



.search {
  max-width: 400px;
  margin-bottom: 20px;
}

.glosAutoComplete {
  max-width: 600px;
}


.facAutoComplete, .csAutoComplete {
  font-size: 1.25rem;
  height: auto;
}





/*========================================================
                        Footer
========================================================*/


footer {
  position: absolute;
  bottom: 0;
  text-align: center;
  width: 100%;
  background: #f3f3f3;
  padding: 10px;
  color: #666;
}

  footer ul {
    margin: 15px;
  }
  
    footer ul li {
      margin: 10px;
    }

  footer a,
  footer a:hover {
    color: inherit;
    padding: 2px;
  }

