.navbar-main {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  display: flex;
  height: 60px;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgb(0, 18, 37) 0%, rgb(18, 61, 104) 70%, rgb(0, 18, 37) 100%);
  /*background-color: whitesmoke;
  border-top: whitesmoke solid 4px;
  border-bottom:whitesmoke solid 4px;*/
}

.navbar-main-small {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  display: flex;
  height: 36px;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgb(0, 18, 37) 0%, rgb(18, 61, 104) 70%, rgb(0, 18, 37) 100%);
  /*background-color: whitesmoke;
  border-top:#3CA0EC solid 3px;
  border-bottom:#3CA0EC solid 3px;*/
}

.navbar-container {
  display: flex;
  margin: 0px 8px;
  column-gap: 8px;
  align-items: center;
}

.navbar-group {
  display: flex;
  flex-direction:row;
  align-items: center;
}

.btn-navbar {
  display: flex;
  height: 40px;
  width: max-content;
  padding: 0px 10px;
  column-gap: 5px;
  font-size: 1em;
  align-items: center;
  border-radius: 8px;
  border: none;
  color: white;
  background-color:rgba(0, 0, 0, 0);
  transform: scale(1);
  transition: transform 0.05s ease-in-out;
  border-bottom: solid 2px #f0f0f00f;
}

.btn-navbar-small {
  display: flex;
  height: 26px;
  width: max-content;
  padding: 0px 2px;
  column-gap: 5px;
  font-size: 0.8em;
  align-items: center;
  border-radius: 8px;
  border: none;
  color: #232C34;
  background-color:rgba(0, 0, 0, 0);
  transform: scale(1);
  transition: transform 0.05s ease-in-out;
}

.btn-hamburger {
  padding: 0px 5px;
}

.btn-navbar.active, .btn-navbar:active {
  color: whitesmoke;
  background-color: rgba(50,100,255,0.2);
  border-bottom: solid whitesmoke 3px;
  transform: scale(0.975);
}

.btn-navbar:hover {
  color: whitesmoke;
  background-color: rgba(245,245,245,0.2);
  border-bottom: solid whitesmoke 3px;
  transform: scale(1.025);
}

.btn-navbar:disabled {
  transform: scale(1);
}

.btn-navbar-fill {
  color: whitesmoke;
  background-color:#004078;
  border: solid #004078 3px;
}

.btn-navbar-fill:hover {
  color: whitesmoke;
  background-color:#02569F;
  border: solid #02569F 3px;
}

.btn-navbar-fill.active {
  color: #002453;
  background-color: #c5ddfd;
  border: solid #004078 3px;
}

.btn-navbar-border {
  color: whitesmoke;
  background-color:#002453;
  border: solid whitesmoke 3px;
  box-sizing: border-box;
}

.btn-navbar-border:hover {
  background-color: #002453;
  color: whitesmoke;
  border: solid #3e8fff 3px;
}

.btn-navbar-border.active {
  background-color:rgba(100,150,255,0.3);
}

.btn-navbar-success { 
  color:whitesmoke; 
  background-color: #0B7A23; 
  border: solid #0B7A23 3px;
} 

.btn-navbar-success:hover { 
  color:whitesmoke; 
  background-color: #009B34; 
  border: solid #009B34 3px; 
} 

.btn-navbar-success.active { 
  color:#00652F; 
  background-color: #d1ffdd !important; 
  border: solid #0B7A23 3px; 
} 

.btn-navbar-success:disabled { 
  color: rgb(180, 180, 180); 
  background-color: #303f2d; 
  border: solid #303f2d 3px; 
  cursor: default; 
} 

.btn-navbar-success-border { 
  color: #00652F; 
  background-color:whitesmoke; 
  border: solid #009B34 3px; 
  box-sizing: border-box; 
} 

.btn-navbar-success-border:hover { 
  background-color: #c4ffcf; 
} 

.btn-navbar-success-border:active { 
  color: whitesmoke; 
  background-color:#00652F; 
}

.btn-navbar-red { 
  color:whitesmoke; 
  background-color: #db1118; 
  border: solid #db1118 3px;
} 

.btn-navbar-red:hover { 
  color:whitesmoke; 
  background-color: #ff2b35; 
  border: solid #ff2b35 3px; 
} 

.btn-navbar-red:active { 
  color:whitesmoke; 
  background-color: #a30207; 
  border: solid #a30207 3px; 
} 

.btn-navbar-red:disabled { 
  color: rgb(180, 180, 180); 
  background-color: #3f2d2d; 
  border: solid #3f2d2d 3px; 
  cursor: default; 
} 

.btn-navbar-accent {
  color:whitesmoke;
  background-color: #D64E0F;
  border: solid #D64E0F 3px;
}

.btn-navbar-accent:hover {
  color:whitesmoke;
  background-color: #f37331;
  border: solid #f37331 3px;
}

.btn-navbar-accent:active, .btn-navbar-accent.active{
  color:whitesmoke;
  background-color: #994c25 !important;
  border: solid #D64E0F 3px !important;
}

.btn-navbar-accent:disabled {
  color: rgb(180, 180, 180);
  background-color: #411601;
  border: solid #411601 3px;
  cursor: default;
}

.btn-navbar-accent-border {
  color: #7c2c04;
  background-color:whitesmoke;
  border: solid #D64E0F 3px !important;
  box-sizing: border-box;
}

.btn-navbar-accent-border:hover {
  background-color: #c4ffcf;
}

.btn-navbar-accent-border:active {
  color: whitesmoke;
  background-color:#00652F;
}

.btn-navbar-warning {
  color:whitesmoke;
  background-color: #e99f00;
  border: solid #e99f00 3px;
}

.btn-navbar-warning:hover {
  color:whitesmoke;
  background-color: #fdbf16;
  border: solid #fdbf16 3px;
}

.btn-navbar-warning:active {
  color:whitesmoke;
  background-color: #774000;
  border: solid #e99f00 3px;
}

.btn-navbar-warning:disabled {
  color: rgb(180, 180, 180);
  background-color: #504e35;
  border: solid #504e35 3px;
  cursor: default;
}

.btn-navbar-warning-border {
  color: #774000;
  background-color:whitesmoke;
  border: solid #e99f00 3px;
  box-sizing: border-box;
}

.btn-navbar-warning-border:hover {
  background-color: #ffe398;
}

.btn-navbar-warning-border:active {
  color: whitesmoke;
  background-color:#774000;
}

.grp-toggle {
  margin: 8px;
  display:flex;
  flex-direction: column;
  row-gap: 6px;
}

.btn-toggle {
  display: flex;
  height: 36px;
  width: 100%;
  padding: 2px 10px;
  column-gap: 8px;
  align-items: center;
  border-radius: 8px;
  color: #004078;
  background-color: whitesmoke;
  border: solid #004078 3px;
  box-sizing: border-box;
}

.btn-toggle:hover {
  color: #002453;
  background-color: #D6EFFF;
}

.btn-toggle:active, .btn-toggle-active {
  color: whitesmoke;
  background-color:#004078;
}

.dropdown {
  display: flex;
  position: fixed;
  flex-direction: column;
  min-width: 200px;
  width: max-content;
  z-index:1049;
  font-size: 1em;
  color: #232C34;
  background-color: whitesmoke;
  border-top: solid whitesmoke 5px;
  border-right: solid #002453 3px;
  border-left: solid #002453 3px;
  border-bottom: solid #002453 3px;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0);
  visibility: collapse;
  translate: 0% -100%;
}

.dropdown-show {
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  visibility: visible;
  translate: 0% 0%;
}

.dropdown {
  transition: 
    box-shadow 0.33s linear,
    visibility 0.33s linear,
    translate 0.33s ease;
}

.dropdown-options {
  display: flex;
  width: 100%;
  flex-direction:column;
  background-color:rgba(0,0,0,0.1);
}

.dropdown-header, .dropdown-header-short {
  display: flex;
  flex-direction: row;
  column-gap: 8px;
  align-items: center;
  font-size: 1.125em;
  color: whitesmoke;
  background-color: #002453;
}

.dropdown-header {
  min-height: 36px;
  padding: 8px 16px 8px 8px;
}

.dropdown-header-short {
  height: 16px;
}

.dropdown-subheader {
  display: flex;
  flex-direction: row;
  padding: 6px 6px 6px 12px;
  column-gap: 16px;
  align-items: center;
  justify-content: space-between;
  color: whitesmoke;
  background-color: #ad4611;
}

.h-dropdown {
  padding: 12px 16px 6px 12px;
  margin: 0px;
  color: #232C34;
}

.p-dropdown {
  padding: 0px 16px 12px 12px;
  margin: 0px;
  color: #232C34;
}

.btn-dropdown, .btn-dropdown-grey, .btn-dropdown-blue, .btn-dropdown-red {
  display: flex;
  height: 40px;
  padding: 0px 12px;
  color: #232C34;
  background-color: whitesmoke;
  column-gap: 6px;
  align-items: center;
  border-radius: 8px;
  border: none;
}

.btn-dropdown:hover {
  color: #0f1316;
  background-color: #e2e2e2;
}

.btn-dropdown:active, .btn-dropdown-active {
  color: #004078;
  background-color: #D6EFFF;
}

.btn-dropdown.active {
  color: #7c2c04;
  background-color: #ffe3d2;
}

.btn-dropdown:disabled {
  color: #9da6ad;
  background-color: whitesmoke;
  border-radius: 0;
  cursor: default;
}

.btn-dropdown-grey {
  width: auto;
  color: whitesmoke;
  background-color: #707070;
  border-radius: 0;
}

.btn-dropdown-grey:hover {
  color:whitesmoke;
  background-color: #818181;
}

.btn-dropdown-grey:active {
  color:whitesmoke;
  color: rgb(65, 65, 65);
}

.btn-dropdown-blue {
  width: auto;
  color: whitesmoke;
  background-color: #004078;
  border-radius: 0;
}

.btn-dropdown-blue:hover {
  color:whitesmoke;
  background-color: #02569F;
}

.btn-dropdown-blue:active {
  color:whitesmoke;
  color: #002453;
}

.btn-dropdown-red {
  width: auto;
  color: whitesmoke;
  background-color: #db1118;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}

.btn-dropdown-red:hover {
  color:whitesmoke;
  background-color: #ff2b35;
}

.btn-dropdown-red:active {
  color:whitesmoke;
  color: #a30207;
}

.btn-dropdown-link {
  display: flex;
  height: 40px;
  width: auto;
  padding: 0px 12px;
  color: #02569F;
  column-gap: 6px;
  align-items: center;
  border-radius: 8px;
  border: none;
}

.btn-dropdown-link:hover {
  color: #0f1316;
  background-color: #e2e2e2;
}

.btn-dropdown-link:active {
  color: #3CA0EC;
}

.btn-dropdown-option {
  display: flex;
  height: 40px;
  width: auto;
  padding: 0px 6px 0px 12px;
  color: #232C34;
  column-gap: 6px;
  align-items: center;
  border-radius: 8px;
  border: none;
}

.btn-dropdown-option:hover {
  color: #0f1316;
  background-color: #e2e2e2;
}

.btn-option {
  position: relative;
  display:flex;
  align-items: center;
  column-gap: 6px;
  color: whitesmoke;
  background-color:#004078;
  padding: 2px 12px;
  border-radius: 12px;
}

.btn-option .btn-option-tip {
  display:flex;
  flex-direction: column;
  row-gap: 6px;
  visibility: hidden;
  background-color: whitesmoke;
  border: solid #f37331 3px;
  border-radius: 8px;
  padding: 8px;
  top: 100%;
  right: 0;

  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
}

.btn-option:hover {
  background-color:#02569F;
}

.btn-option:hover .btn-option-tip {
  visibility: visible;
}

.section-vertical-horizontal {
  display: flex;
  flex-direction: column;
  align-self: center;
  row-gap: 24px;
  padding-top: 48px;
  padding-bottom: 48px;
}

.section-block {
  height: fit-content;
  position: relative;
  align-self: center;
  padding: 24px;
  color: #232C34;
  background-color: rgba(255, 255, 255, 0.66);
  border-radius: 12px;
}

.smallpill {
  position: relative;
  background-color: #521b00;
  padding: 2px 12px;
  border-radius: 12px;
}

.smallpill .smallpill-tip {
  visibility: hidden;
  width: max-content;
  background-color: rgb(0, 0, 0, .9);
  color: whitesmoke;
  border-radius: 8px;
  padding: 4px 8px;
  top: calc(100% + 2px);
  right: 0;

  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
}

.smallpill:hover {
  background-color: #381300;
}

.smallpill:hover .smallpill-tip {
  visibility: visible;
}

.fade-in-style {
  /* Starting opacity */
  opacity: 0%;
  /* Apply animation to this element */
  animation: fade-in 1s ease;
  animation-delay: calc(0.5s + 0.25s * var(--i));
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-fill-mode: forwards;
}

/* Move it (define the animation) */
@keyframes fade-in {
  0% {
    opacity: 0%;
  } 100% {
    opacity: 100%; 
  }
}

/* AND DOWN */
/* Small devices (portrait tablets and large phones, 600px and down) */
@media only screen and (min-width: 600px) {
  .small-down {
    display: none !important;
  }
}

/* Medium devices (landscape tablets, 768px and down) */
@media only screen and (min-width: 768px) {
  .medium-down {
    display: none !important;
  }
}

/* Large devices (laptops/desktops, 992px and down) */
@media only screen and (min-width: 992px) {
  .large-down {
    display: none !important;
  }
}

/* Extra large devices (large laptops and desktops, 1200px and down) */
@media only screen and (min-width: 1200px) {
  .xlarge-down {
    display: none !important;
  }
}

/* AND UP */
/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (max-width: 600px) {
  .small-up {
    display: none !important;
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (max-width: 768px) {
  .medium-up {
    display: none !important;
  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (max-width: 992px) {
  .large-up {
    display: none !important;
  }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (max-width: 1200px) {
  .xlarge-up {
    display: none !important;
  }
}