#contentContainer {
  display: flex;
  font-family: FiraSansBGR-Regular;
  justify-content: space-between;
  flex-direction: column;
  position: relative;
  padding-bottom: 290px;
  padding: 0;
  align-items: center;
  min-height: 100vh;
}

.transform-none {
  text-transform: none;
}

.icon-btn svg {
    fill:#3b3b3b;
}
.btn:hover {
  background-color: #003669;
  color:  #fff;
}

.btn:focus {
  background-color:  #003669;
}

.login {
  color:  #fff;
  background-color: #0054a4;
  font-family: FiraSansBGR-Regular;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.5;
  width: 136px;
  padding: 8px 0;
}

.form {
  display: flex;
  flex-direction: column;
  padding-top: 50px;
}

.card {
  margin: 0;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.nav-extended {
  background-color: rgba(0, 84, 164, 0.1);
  color: #0054a4;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.tabs.tabs-transparent {
  overflow: inherit;
}

.tabs.tabs-transparent a:hover,
.tabs.tabs-transparent .tab.disabled a,
.tabs.tabs-transparent .tab a {
  color: #0054a4;
  width: 220px;
}

.tabs.tabs-transparent .tab a.active {
  background-color: #fff;
  color:  #000;
  border-bottom: solid 2px transparent;
}

.tabs.tabs-transparent .tab a.active:focus,
.tabs.tabs-transparent .tab a:focus {
  background-color: rgba(0, 84, 164, 0.1);
  color: #0054a4;
}

.row .col.s6 {
  width: 286px;
  height: 40px;
  margin: auto 20px;
}

.mdl-textfield__label.active {
  color: #0054a4;
}

.tabs.tabs-transparent .tab a:hover {
  color:  #000;
}

.tabs .tab {
  height: 50px;
}

#main {
  width: 100%;
  height: 100%;
  border-top: solid 2px #0054a4;
}

#main section {
  display: none;
}

.row .col.m6 {
  width: 1240px;
  padding: 0;
}

#mainDivContainer {
  display: flex;
  justify-content: center;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),
    0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
  width: 1240px;
  height: fit-content;
  align-self: center;
  margin: 20px auto;
}

#nra-footer {
  width: 100%;
  bottom: 0;
}

#headerAndMainBody {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.eu {
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-top: 1px solid  #000;
  background-color:  #fff;
}

.logo {
  width: 255px;
  height: auto;
  background:  #fff;
}

.euFundsDescription {
  width: 604px;
  font-size: 13px;
  line-height: 1.38;
  text-align: center;
  display: flex;
  align-items: center;
}

.largeFontSize .euFundsDescription {
  font-size: 20px;
}

.smalFontSize .euFundsDescription {
  font-size: 14px;
}

.eauthLoginBtn {
  margin: 24px 0 0;
}

.nra-footer-info {
  height: 72px;
  background-color: #103150;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.wrapper {
  display: flex;
  width: 1240px;
  justify-content: space-between;
  align-items: center;
}

.link-wrapper {
  display: flex;
  align-items: center;
}

.footer-link {
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
  text-align: left;
  text-decoration: none;
  color: #fff;
  margin-left: 16px;
}

.largeFontSize .footer-link {
  font-size: 20px;
}

.smalFontSize .footer-link {
  font-size: 14px;
}

.footer-icons {
    fill:  #fff;
}

.contacts {
  width: 1028px;
  height: fit-content;
  color:  #fff;
  text-align: center;
  line-height: 1.5;
  font-size: 16px;
}

.largeFontSize .contacts {
  font-size: 20px;
}

.smalFontSize .contacts{
  font-size: 14px;
}

@media only screen and (min-width: 1280px) {
  .small-screen {
    display: none;
  }
}

@media only screen and (max-width: 1280px) {
  .wide-screen {
    display: none;
  }
  .small-screen {
    display: block;
  }
  .eu {
    display: flex;
    padding: 0px 12px;
  }
  .contacts,
  .euFundsDescription {
    font-size: 13px;
  }

  .largeFontSize .contacts,
  .largeFontSize .euFundsDescription {
    font-size: 17px;
  }

  .smalFontSize .contacts,
  .smalFontSize .euFundsDescription{
    font-size: 11px;
  }
  .wrapper {
    width: 90%;
  }
}

@media only screen and (max-width: 960px) {
  .eu {
    display: flex;
  }
  .contacts,
  .euFundsDescription,
  .footer-link {
    font-size: 12px;
  }

  .largeFontSize .contacts,
  .largeFontSize .euFundsDescription,
  .largeFontSize .footer-link {
    font-size: 16px;
  }

  .smalFontSize .contacts,
  .smalFontSize .euFundsDescription,
  .smalFontSize .footer-link {
    font-size: 10px;
  }

  .nra-footer-info {
    height: 60px;
  }
  .logo {
    width: 180px;
    height: auto;
    padding: 0px 2px;
  }
}

/* style because IE doesn't support calc function */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  #headerAndMainBody {
    min-height: 76vh;
  }
}

#info {
  display: none;
}

#infoExpand {
  cursor: pointer;
  padding: 8px;
  text-decoration: underline;
}

.header {
  background:  #fff;
  color: #3b3b3b;
  margin-top: 0;
  width: 100%;
  height: 106px;
  justify-content: center;
  align-items: center;
  box-shadow: unset;
  display: flex;
  box-sizing: border-box;
}

.titleAndIcons {
  display: flex;
  align-items: center;
  width: 100%;
}

.grow {
  flex-grow: 1;
}

.nraLogo {
  width: 140px;
  height: 88px;
  background:  #fff;
}

.coatOfArms {
  width: 103px;
  height: auto;
  margin-left: 112px;
  background:  #fff;
}

.appTitle {
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  border-left: solid  #000 0.6px;
  border-left-style: outset;
  padding: 8.4px 8.2px;
  text-align: left;
}

.subtitle {
  color: #1a1818;
  font-size: 14px;
   white-space: nowrap;
  letter-spacing: 0.53px;
}

.largeFontSize .subtitle {
  font-size: 18px;
}

.smalFontSize .subtitle {
  font-size: 12px;
}

.title {
  color: #1a1818;
  font-family: FiraSansBGR-Bold;
  font-size: 16px;
   white-space: nowrap;
  letter-spacing: 0.61px;
  line-height: 1;
}

.largeFontSize .title {
  font-size: 20px;
}

.smalFontSize .title {
  font-size: 14px;
}

.tabHeading {
  font-family: FiraSansBGR-Bold;
}

#infoDiv {
  padding-left: 24px;
  padding-top: 24px;
  padding-bottom: 16px;
  display: flex;
  align-items: center;
}

.headerBtn {
  font-family: FiraSansBGR-Bold;
  letter-spacing: normal;
  font-stretch: normal;
}

.languageChangerBtn {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 10px;
  border-left: solid 0.6px #3b3b3b;
  border-right: solid 0.6px #3b3b3b;
}

.waves-effect .waves-ripple {
  background-color: #e0e0e0;
}

.infoItem {
  padding-left: 61px;
  margin-top: 10px;
  margin-bottom: 10px;
  text-align:justify;
  text-justify: inter-word;
}

.subtitleText {
  padding: 13px 0px 13px 13px;
  display: inline;
}

.infoLink {
  text-decoration: underline;
}

#pass img {
  content: "";
  position: absolute;
  right: -12px;
  top: 12px;
  height: auto;
  width: 20px;
}

.inputsDiv {
  width: 320px;
}

.inlineRow {
  display: flex;
  width: inherit;
}

.inlineDiv {
  width: inherit;
  margin-left: 16px;
}

.labels {
  padding-left: 8px;
}

.inlineRow .inlineDiv .numberInput {
  padding-left: 8px;
  padding-right: 8px;
}

.inlineRow .inputDiv .passInput {
  padding-left: 8px;
  padding-right: 24px;
  width: 303px;
}

.inputDiv {
  margin: 15px 0px 0px 0px;
  padding: 0px 0px 15px 0px;
  width: inherit;
}

.selectDiv {
  width: 270px;
}

.select {
  display: block;
  border: 1px solid rgb(169, 169, 169);
  border-radius: 8px;
  font-family: "FiraSansBGR-Regular";
}

.error {
  font-size: 0.8rem;
  text-align: left;
  color: #f11e3b;
}

.largeFontSize .error {
  font-size: 16px;
}

.smalFontSize .error {
  font-size: 10px;
}

@media only screen and (max-width: 1280px) {
  .eu {
    display: flex;
    padding: 0 12px 0 12px;
  }
  .contacts,
  .euFundsDescription {
    font-size: 14px;
    width: auto;
  }
  .largeFontSize .contacts,
  .largeFontSize .euFundsDescription {
    font-size: 18px;
  }
  .smalFontSize .contacts,
  .smalFontSize .euFundsDescription {
    font-size: 12px;
  }
  .logo {
    width: 260px;
    height: auto;
  }
  #mainDivContainer,
  .row .col.m6 {
    width: 900px;
  }
}

@media only screen and (max-width: 960px) {
  .eu {
    display: flex;
  }
  .title {
    font-size: 14px;
  }
  .largeFontSize .title {
    font-size: 18px;
  }
  .smalFontSize .title {
    font-size: 12px;
  }
  .subtitle,
  .contacts,
  .euFundsDescription {
    font-size: 12px;
  }
  .largeFontSize .subtitle,
  .largeFontSize .contacts,
  .largeFontSize .euFundsDescription {
    font-size: 16px;
  }
  .smalFontSize .subtitle,
  .smalFontSize .contacts,
  .smalFontSize .euFundsDescription {
    font-size: 10px;
  }
  #mainDivContainer,
  .row .col.m6 {
    width: 610px;
  }
  .coatOfArms {
    width: 83px;
    height: auto;
    margin-left: 20px;
  }
  .nraLogo {
    width: 100px;
    height: auto;
    margin-left: -10px;
  }
  .title,
  .subtitle {
    white-space: initial;
    letter-spacing: initial;
  }
}

.grecaptcha-badge {
  visibility: visible;
  bottom: 80px !important;
}

/* dark theme styles */

.darkTheme {
    background: #000;
    color: #ffff00;
}

.darkTheme .header {
    background:  #000;
    color: #ffff00;
}

.darkTheme .btn:hover {
  background-color: #ffff00;
  color:  #000;
}

.darkTheme .btn:focus {
  background-color: #ffff00;
}

.darkTheme .title {
    color: #ffff00;
}

.darkTheme .subtitle {
    color: #ffff00;
}

.darkTheme .btn-flat {
    color: #ffff00;
    border-color:  #fff;
}

.darkTheme .nav-extended {
    background-color: #ffff00;
    color:  #000;
}

.darkTheme .login {
  color:  #000;
  background-color: #ffff00;
}

.darkTheme .tabs.tabs-transparent .tab a.active {
  background-color: #000;
  color:  #ffff00;
  border-left: 1px solid #ffff00;
}

.darkTheme .mdl-textfield__label.active {
  color: #ffff00;
}

.darkTheme #main {
  border-top: solid 2px #ffff00;
}

.darkTheme #mainDivContainer {
    border: 1px solid #ffff00;
}

.darkTheme .tabs.tabs-transparent .tab.disabled a,
.darkTheme .tabs.tabs-transparent .tab a {
  color: #000;
}

.darkTheme .tabs.tabs-transparent a:hover {
    color: #ffff00;
    background:  #000;
}

.darkTheme #pinTypeInput {
    background:  #000;
    color: #ffff00;
    border-color: #ffff00;
}

.darkTheme .input-field>input {
    border-color: #ffff00 !important;
    box-shadow: none !important;
    color: #ffff00;
}

.darkTheme .input-field >label {
    color: #ffff00;
}

.darkTheme a {
    color:  #fff;
}

.darkTheme .eu {
    background:  #000;
    border-color:  #fff;
}

.darkTheme .nra-footer-info {
    background:  #000;
    color: #ffff00;
}

.darkTheme .footer-icons {
    fill: #ffff00;
}

.darkTheme .footer-link {
    color: #ffff00;
}

.darkTheme .icon-btn svg {
    fill: #ffff00;
}

.darkTheme .btn-flat:not(.icon-btn):hover {
    border-radius: 40px;
    background: #ffff00;
    color: #000;
}

.darkTheme .icon-btn:hover svg {
    border-radius: 50%;
    background: #ffff00;
    fill: #000;
}
.darkTheme .error {
  color: #ffff00;
}
.darkTheme #infoExpand:hover {
    color: #000;
    background:  #ffff00;
}

.largeFontSize .tabs .tab a {
    font-size: 20px;
}

.largeFontSize {
    font-size: 18px;
}

.largeFontSize .btn-flat, .largeFontSize .btn {
    font-size: 18px;
}

.largeFontSize .input-field>label {
    font-size: 18px;
}

.smallFontSize .tabs .tab a {
    font-size: 14px;
}

.smallFontSize,
.smallFontSize .btn-flat,
.smallFontSize .btn,
.smallFontSize .input-field>label {
    font-size: 18px;
}
.largeFontSize .inputsDiv {
  width: 330px;
}

#home-desktop {
  padding: 8px;
  margin: 8px;
  width: 136px;
}

#serverErrorMessage, #serverQesErrorMessage {
  margin: 32px 0;
}


a.button {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    text-decoration: none;
    color: #fff;
    background-color: #0054a4;
    border-color: #0054a4;
}

.errContainer {
  display: flex;
  justify-content: center;
}

.errTextContainer {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.errBody {
  font-family: 'FiraSansBGR-Regular', sans-serif;
}

.mobile-toolbar {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: flex-end;
  margin-right: 22px;
  margin-left: 15px;
  font-size: 12px;
}

.desktop-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-right: 100px;
}

@media only screen and (max-width: 660px) {
  .header {
    flex-direction: column;
  }
  .coatOfArms {
    margin: 0px;
    width: 54px;
    height: 56px;
    object-fit: contain;
  }
  .nraLogo {
    width: 65px;
    height: 48px;
    object-fit: contain;
    margin-right: 9px;
  }

  .appTitle {
    margin-top: 20px;
    padding: 0px 8px;
  }
  .title {
    font-size: 12px;
    line-height: 1.5;
  }
  .largeFontSize .title {
    font-size: 16px;
  }
  .smalFontSize .title {
    font-size: 10px;
  }
  .subtitle {
    font-size: 11px;
    line-height: 1.64;
  }
  .largeFontSize .subtitle {
    font-size: 15px;
  }
  .smalFontSize .subtitle {
    font-size: 9px;
  }
  .grow {
    display: none;
  }
  .logo {
    width: 180px;
    height: auto;
    padding: 0 2px 0 2px;
  }
  .largeFontSize .toolbar {
    font-size: 16px;
  }
  .smalFontSize .toolbar {
    font-size: 10px;
  }
  .headerBtn {
    font-size: 16px;
  }
  .largeFontSize .headerBtn {
    font-size: 20px;
  }
  .smalFontSize .headerBtn {
    font-size: 14px;
  }
  #mainDivContainer,
  .row .col.m6 {
    width: min-content;
    min-width: 320px;
    align-items: center;
    justify-content: center;
  }

  .tabs.tabs-transparent .tab a:hover,
  .tabs.tabs-transparent .tab.disabled a,
  .tabs.tabs-transparent .tab a {
    width: 100%;
    border-bottom: none;
  }
  .tabHeading {
    font-size: 20px;
  }
  .largeFontSize .tabHeading {
    font-size: 24px;
  }
  .smalFontSize .tabHeading {
    font-size: 18px;
  }

  .info {
    height: fit-content;
  }

  .euFundsDescription {
    font-size: 11px;
  }
  .largeFontSize .euFundsDescription {
    font-size: 15px;
  }
  .smalFontSize .euFundsDescription {
    font-size: 9px;
  }
  .footer-link {
    font-size: 13px;
  }
  .largeFontSize .footer-link {
    font-size: 17px;
  }
  .smalFontSize .footer-link {
    font-size: 11px;
  }
  .nra-footer-info {
    height: auto;
  }

  .nra-footer-info .wrapper {
    flex-direction: column;
  }

  .link-wrapper svg {
    margin-left: 8px;
    width: 14px;
    height: 14px;
  }
  .link-wrapper a {
    margin-left: 8px;
  }
  .link-wrapper span {
    margin-left: 8px;
  }
  .link-wrapper svg {
    margin-left: 8px;
    width: 24px;
    height: 24px;
  }
  .titleAndIcons {
    justify-content: center;
  }
  .login, .inputsDiv, .selectDiv, input {
    width: 100%
  }
  .inlineRow {
    flex-direction: column;
  }
  .inlineDiv {
    width: 100%;
    margin-left: 0;
    padding-right: 1rem;
  }
  #pass img {
    right: 12px;
  }
  #home-mobile {
    width: 150px;
  }
  .main-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    max-width: 356px;
    margin: 0 auto;
  }
  .mobile-toolbar {
    display: flex;
  }
  .desktop-toolbar {
    display: none;
  }
}
