﻿/* 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;
}

.field-icon {
    float: right;
    left: 30px;
    top: -30px;
    position: relative;
    z-index: 2;
}

/* 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 */
}


/* Custom overrides by Bory Buth
-------------------------------------------------- */

body {
    background-image: url(../img/201005-M-EM580-2009.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    padding-bottom: 6rem;
}

body::before {
  content:"";
  width:100%;
  height:100%;
  background-color:rgba(0,0,0,0.63);
  position:absolute;
  left:0;
  top:0;
  z-index:-1;
}
body::after {
  content:"";
  width:100%;
  height: 40%;
  background-color:rgba(0,0,0,0.63);
  position:absolute;
  left:0;
  bottom:0;
  z-index:-1;
  background: rgb(0,0,0);
  background: linear-gradient(0deg, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);
}
body.pageAccessDenied::before {
    background-color:rgba(0,0,0,0.90);
}
.footer {  
  line-height: 1.4; /* Vertically center the text there */
  text-align: center;
  font-size: 0.875rem;
  min-height: 30px;
}

main > header {
    text-align:center;
}
main > header > h1 {
    margin:4rem auto;
}
main > header > h1::before {    
    content: url(../img/afn-logo-white.png);
    display:block;
    margin-bottom:2rem;
}
#divDoDConsent, #divPrivacyConsent [class*="col-"] {
    background: #fff;
    color: #000;
    padding: 2rem 3rem;
    border-radius: 10px;
    font-size: 13px;
    box-shadow: 0 2px 17px 12px rgba(0,0,0,0.2);
}

p{margin-bottom:1rem;}

a{text-decoration:underline;color:#F2B205;}
a:hover{text-decoration:none;color:#fff;}
.footer a, .pageLogin a, .pageForgotPassword a {color:#fff;}

h1, h2, h3, 
.h1, .h2, .h3 {text-transform:uppercase;}

.bg-dark {background-color:#1E1E1E !important;}

.form-group {position:relative;}
.form-group i{position:absolute;right:0;top:8px;cursor:pointer;}
.material-icons {font-size:1rem;}


label {font-weight:700;}
label[for=chkAgreeTerms]{font-size:0.875rem;vertical-align: middle;}


textarea,
input[type=text], 
input[type=password], 
input[type=email], 
input[type=tel], 
input[type=date] {
  background-color:#37373D;
  border:2px solid #bbb;
  box-shadow:1px 2px 5px rgb(0 0 0 / 59%);
  border-radius:10px;
  padding:1.3rem 1rem;
  color:#fff;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px #37373D inset !important;
    -webkit-text-fill-color: white;
}

select#Input_PersonIDType {padding:0.5rem 1rem;height:45px;border-radius:10px;margin-bottom:0.2rem;color:#fff;background-color:#37373D;border:2px solid #bbb;}
select#Input_PersonIDType option {color:#111;background-color:#fff;}

input[type="checkbox"] {
  filter: invert(85%) hue-rotate(3deg) brightness(1.0);
}
input[type="checkbox"] {
  width:20px;
  height:20px;
  vertical-align: text-bottom;
  margin-right:5px;
}

.form-control{color:#111;}
.form-control:focus{
  border-color: #F4BB19;
  box-shadow: 0px 0px 5px 3px rgb(244 186 26 / 63%);
}

.form-control:disabled, .form-control[readonly] {
    background-color: #5a5a5a;
    opacity: 1;
    color: #ccc;
    border: 0;
    box-shadow: inset 0 0 3px 0px #292929;
}

::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}
input[type=date]:focus::-webkit-calendar-picker-indicator {
    filter: invert(0);
}

a.btn {
  text-decoration:none;
}
.btn-primary {
    color: #fff;
    background-color: #036AD7;
    border-color: #036AD7;
    text-transform:uppercase;
    font-size: 1.43em;
    border-radius:10px;
}
.btn-primary:hover {
  color:rgb(255 255 255 / 80%);
  background-color: rgb(3 106 215 / 80%);
  border-color:#fff;
}
#profile-form .btn-primary {
  width:100%;
}
.btn.disabled, .btn:disabled, 
.btn-disabled:hover {
  opacity: 0.70;
  background-color: #000;
  border-color: #036AD7;
  color: rgb(255 255 255 / 40%);
}
#update-profile-button {width:100%;margin-top:1rem;}
.btn-link {
    font-weight: 400;
    color: #F2B205;
    text-decoration: none;
}
.btn-link:hover {
  color:#fff;
}

.navbar-nav .nav-link {
  text-decoration:none;
  font-weight:700;
  font-size:16px;
}
.navbar-nav .nav-link:hover {
  text-decoration:underline;
}

.nav-pills .nav-link.active, 
.nav-pills .show > .nav-link {
  color: #fff;
  background-color: #333;    
}
.nav-pills .nav-link {
  text-decoration:none;
  border-radius:0;
  border:0;
  color:#fff;
  font-weight:700;
}

.navbar-toggler {
  border-radius:0;
  margin-right:1rem;
}
.navbar-toggler:focus{
  outline: 1px solid rgb(255 255 255 / 43%);
}

p.h1 {text-transform:uppercase;font-weight:300;}

#forgot-password {margin-left:1rem;}
#forgot-username {margin-left: 1rem;}

.form-group.newUser p{
  margin-bottom:0.7rem;
}

#agreementPopover {
  position: absolute;
  width: 100%;
  bottom: 0;
  height: 51px;
  right: 0;
  z-index: -1;
}

#agreementPopover.stackingorder {
  z-index:2;
}

.form-group .text-danger {
  background-color:#8C0000;
  color: #fff !important;
  padding:0.2rem 1rem;
  border-radius:10px;
  margin:0.5rem auto 0;
  display:block;
  font-size:0.875rem;
  position:relative;
  font-style:italic;
}
.text-danger:empty, 
.text-danger ul li:empty {
  display:none;
}

.form-group .text-danger::before {
  content:"";
  position:absolute;
  left:10%;
  top:-5px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 10.5px 8px 10.5px;
  border-color: transparent transparent #8c0000 transparent;
}

.text-danger.validation-summary-errors {
  color:#000 !important;
  background: rgba(255,255,255,0.5);
  border-radius:5px;
  -webkit-backdrop-filter: blur(100px);
  backdrop-filter: blur(100px);
  margin-bottom:2rem;
  padding-top:1rem;
  border:2px solid #8c0000;
  box-shadow: 2px 3px 20px 6px rgb(0 0 0 / 35%);
}
.text-danger.validation-summary-errors::before {
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-16px;
  margin:auto;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 16px 15px 0 15px;
  border-color: #8c0000 transparent transparent transparent;
}
.text-danger.validation-summary-errors li {
  margin:.5rem 0;
  font-weight: 400;
  font-style: normal;
  list-style:none;
  padding-bottom:0.5rem;
  position:relative;
  z-index: 1;
}
.text-danger.validation-summary-errors li:last-child{border:0;}

.text-danger.validation-summary-errors li::before {
  content: "report";
  position:absolute;
  width:30px;
  height:30px;
  left: -30px;
  z-index: 136;
  top:0;
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal !important;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  color: #8c0000;
}

.pageDeletePersonalData .form-group div.text-danger::before {
    display:none;
}
.pageDeletePersonalData .form-group div.text-danger {
    padding:0;
}

.appStore {
  background-image:url(../img/mobile-device-stack.png);
  background-repeat:no-repeat;
  background-position:center bottom;
  min-height:590px;
  position:relative;
}

.appStore::after {
  content:"";
  position:absolute;
  bottom: -143px;
  left:0;
  right:0;
  margin:auto;
  width:100%;
  height:318px;
  background-image:url(../img/black-radial-overlay.png);
  background-repeat:no-repeat;
  background-position:center bottom;
}
.appStore a {
  display:inline-block;
  max-width:152px;
}
.appStore a img {
  padding:10px;
}
/*
.appStore a:nth-child(1)::after {
  font-size:15px;
  content: "";
  border-right:1px solid #919191;
  border-left:1px solid #444;
  margin:0;  
}
*/
.pillsWrapper {
  background:#000;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.pillsWrapper + [class*="col-"]{
  background:#333333;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.supportWrapper {
    background: #333333;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    padding-bottom: 15px;
}

#profile-form input {background-color:#242427;}
#support-form input {
    background-color: #242427;
}
#support-form textarea {
    background-color: #242427;
    height: 150px;
    color: #fff;
}

.verified, .notverified  {
  text-align: center;
  color: #212529;
  display: block;
  font-weight: 200;
  background: #fff;
  padding: 2rem 0;
  font-size: 2rem;
}
.notverified {
    color:red;
}

#recaptcha {
  margin:2rem auto 0;
}

.pageLoginWith2fa main > header > h1 {
    margin: 4rem auto 2rem;
}
.pageLoginWith2fa form {
    margin-bottom: 2rem;
    border-bottom: 1px solid #5e5e5e;
    padding-bottom: 1rem;
}

.authenticateAppPanel {
    border: 1px solid #4e4e4e;
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1.5rem;
}

.qrCodePanel {
    margin: 1.5rem 0;
    text-align: center;
}

#qrCode {
    display: inline-block;
    box-sizing: border-box;
    padding: 24px;
    background: #fff;
    border-radius: 0;
    box-shadow: none;
}

#qrCode canvas,
#qrCode img {
    display: block;
    width: 320px;
    max-width: 100%;
    height: auto;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
}

#qrCodeData {
    display: none;
}

.qrCodeFallback {
    margin-top: 1rem;
}

.alert.alert-warning a {
    color: red;
}

.list-group-item {color:#000;}
.list-group-item label {
    font-weight: 400;
}
.panel.panel-default {
    background: #fff;
    padding: 1rem;
    color: #000;
    margin: 1rem 0;
    border-radius: 3px;
}
.consent-buttons .btn {
    margin:1rem auto;
    display:block;
}
.consent-description {
    font-size: 14px;
}
p.confirm {font-size:larger;}
p.confirm span {
    background:#000;
    color:#fff;
    font-weight:bold;
    padding:0 0.4rem;
    letter-spacing: 2px;
}

.pageDevice input[type=text] {
    height: 48px;
    vertical-align: middle;
}
.pageDevice .validation-summary-errors {text-align:left;}

.pageSuccess h1.text-success {color:#fff !important;}
.pageSuccess p.text-success {background:#000;color:#fff !important; display:inline-block; padding:0.2rem 1rem;}

.pageDenied p.text-danger {background:#000;color:#fff !important; display:inline-block; padding:0.2rem 1rem;}
.pageDenied main > header > h1 {position:relative;line-height:3rem;}
.pageDenied main > header > h1::after {
    content: "";
    display: block;
    background: #fff;
    height: 3rem;
    width: 219px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    z-index: -1;
}

#divDoDConsent, #divPrivacyConsent {
    display: none
}

@media (max-width: 576px) {
    main > header > h1::before {
        display:none;
    }

    body::before {
      background-color: rgba(0,0,0,0.78);
    }

    a.navbar-brand {
      padding:1rem 0;
      width: auto;
      display: block;
    }

    h1, h2, h3, .h1, .h2, .h3 {
      font-size:180%;
    }

    .mt-5, .my-5 {
      margin-top: 1rem!important;
    }
    .mb-5, .my-5 {
      margin-bottom: 1rem !important;
    }

    .navbar > .container > .d-flex {
      width: 100%;
    }
    .navbar-collapse {
      padding: 0 2rem;
    }

    .navbar-collapse hr {
      border-top:1px dotted rgb(255 255 255 / 24%);
      margin-bottom: 0.5rem;
      margin-top: 0.5rem;
    }
    
    .navbar-nav li.nav-item {
      border-bottom:1px solid rgb(255 255 255 / 24%);
      padding:0.5rem;
    }
    .navbar-nav li.nav-item:last-child {border:0;}
    .navbar-collapse .navbar-nav:nth-child(1) li.nav-item:first-child {
      border-radius: 10px;
      border: 1px solid rgb(255 255 255 / 24%);      
    }
    .navbar-collapse .navbar-nav:nth-child(1) li {
      text-align: center;
      margin:auto;      
    }
    .navbar-collapse .navbar-nav:nth-child(1) li a{
      text-align: center;
      margin:auto;
      padding: 0.5rem 3rem;
    }

    .loginPanel {
      flex-direction: column;   
      border-bottom: 1px solid #000;
      padding-bottom: 2rem;
      margin-bottom: 0;
    }
    .loginPanel button.btn.btn-primary {
      width: 100%;
      margin-bottom: 2rem;
    }
    .form-group.newUser {
      text-align: center;
      border-top: 1px solid #444;
      padding-top: 2rem;
      margin-top: 0 !important;
    }

    

    
}
@media (max-width: 768px) {

    .pillsWrapper {
      border-radius: 0;
      border:5px solid #333;
    }

    .pillsWrapper + [class*="col-"] {
      border-radius: 0;
    }

    .pillsWrapper ul {
      margin-bottom:0 !important;
      margin-top:0 !important;
    }

    .nav-pills .nav-link {
        opacity:0.4;
        padding:1rem 0;
        text-align:center;
    }
    .nav-pills .nav-link.active, .nav-pills .show > .nav-link {         
        opacity:1;
        position:relative;
        text-indent: 5px;
    }
    .nav-pills li.nav-item {
        border-bottom:1px solid #1d1d1d;        
    }
    .nav-pills li.nav-item:last-child {border-bottom:0;}
    .nav-pills li.nav-item .nav-link:hover {
        opacity:1;
    }
    /*
    .nav-pills .nav-link.active::before{
        content: "";
        display: block;
        width: 5px;
        height: 100%;
        background: #333;
        position: absolute;
        left: -5px;
        top: 0;
    }*/
    /*
    .nav-pills .nav-link.active::before {
        content: "";
        display: inline-block;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 6.5px 0 6.5px 11.3px;
        border-color: transparent transparent transparent #fff;
        position: absolute;
        top: 0;
        left: -10px;
        bottom: 0;
        margin: auto;
    }*/
    .pillsWrapper + .col-md-5 {
        border:5px solid #333;
    }

    .pillsWrapper + .col-md-5 .col-md-12, 
    .authenticateAppPanel {
        text-align:center;
    }

    .qrCodePanel {
        margin: 1rem 0;
    }

    #qrCode {
        width: 100%;
        padding: 16px;
    }


}
@media screen and (max-width: 960px) and (min-width: 576px) {
  nav.navbar .container {
    width: 100%;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    max-width: 100%;
  }

  .navbar-nav .nav-link {
    font-size:14px;
  }

  .pillsWrapper {
    border-radius: 0;
  }

  .pillsWrapper + [class*="col-"] {
    border-radius: 0;
  }

  .pillsWrapper ul {
      margin-bottom:0 !important;
      margin-top:0 !important;
    }
}
