﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  /*margin-bottom: 60px;*/
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

/* Ehab Custom CSS */

.dropdown-toggle::after {
  display: none !important;
}

/* Header row alignment
-------------------------------------------------- */

/* Every group on the navbar row shares one vertical centre line:
   logo/toggler on one side, the nav links in the middle, the language
   toggle and the "Contact us" button on the other side. */
#header .navbar,
#header .navbar-collapse,
#header .navbar-nav {
  align-items: center;
}

/* The language toggle is a .btn-sm (line-height 1.5) wrapping an .fs-3 icon,
   which makes its line box taller than the CTA button beside it. Pin it to a
   square roughly the CTA button's height and centre the glyph with flexbox, so
   the globe and the close (X) icon - which come from two different icon fonts -
   both land in exactly the same place. */
#header #dropdownLanguageOptions {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  line-height: 1;
}

/* Flex container, not display on the icons themselves: .group-icon relies on
   toggling display none/inline-block on its children to swap globe <-> X. */
#header #dropdownLanguageOptions .group-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
}

#header #dropdownLanguageOptions .group-icon > i {
  line-height: 1;
}