
/**
 * Copyright (c) 2024, WSO2 LLC. (https://www.wso2.com).
 *
 * WSO2 LLC. licenses this file to you under the Apache License,
 * Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied. See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

/**
 * This file contains custom styles for the application that are
 * applied on-top of the default styles shipped with the application.
 */



.oxygen-app-shell
  .oxygen-app-shell-content
  .oxygen-app-shell-navigation-wrapper
  .MuiDrawer-paper {
  position: inherit !important;
}

@font-face {
  font-family: "notesesa";
  src: url(/myaccount/resources/connections/assets/fonts/NotesEsa/notesesareg-webfont.woff2)
    format("woff2");
}

:root {
  --fp-primary-color: rgba(0, 111, 170, 1);
  --fp-secondary-color: rgb(224, 225, 226);
  --fp-primary-background-color: #ffffff;
  --fp-primary-text-color: rgba(0, 0, 0, 0.87);
  --fp-heading-text-color: rgba(0, 0, 0, 0.87);
  --fp-main-box-background-color: #ffffff;
  --fp-main-box-border-color: rgba(34, 36, 38, 0.15);
  --fp-input-field-base-text-color: rgba(0, 0, 0, 0.87);
  --fp-input-field-base-background-color: #ffffff;
  --fp-input-field-base-label-text-color: rgba(0, 0, 0, 0.87);
  --fp-input-field-base-border-color: rgba(34, 36, 38, 0.15);
  --fp-header-background-color: #f2f2f2;
  --fp-divider-color: rgba(34, 36, 38, 0.15);
  --fp-negative-message-background-color: #fff6f6;
  --fp-negative-message-header-color: #912d2b;
  --fp-negative-message-border-color: transparent;
  --fp-positive-message-background-color: #fcfff5;
  --fp-positive-message-header-color: #3c8dbc;
  --fp-positive-message-border-color: transparent;
  --fp-info-message-background-color: #f8ffff;
  --fp-info-message-header-color: #0e566c;
  --fp-info-message-border-color: transparent;
  --fp-warning-message-background-color: #fffaf3;
  --fp-warning-message-header-color: #573a08;
  --fp-warning-message-border-color: transparent;
}

/*-----------------------------
            Header
 ------------------------------*/

.oxygen-app-shell .oxygen-header {
  margin-top: 170px;
  position: absolute !important;
}

.oxygen-header .oxygen-brand-logo img {
  height: 303% !important;
  margin-top: -19px;
  margin-right: -15px;
}

.fp-header {
  height: 60px;
  width: 100%;
  position: fixed;
  background-color: #003247;
  box-sizing: border-block;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  margin-bottom: 0;
  border-bottom: 4px solid #00ae9d;
  z-index: 99999;
  top: 0;
  left: 0;
  right: 0;
}

.fp-header > .fp-header-theme {
  display: flex;
  justify-content: center;
  align-items: center;
}

.fp-header-logo {
  display: flex;
  align-items: center;
}

.fp-header-logo img {
  height: 30px; /* Adjust as needed */
  vertical-align: middle;
}

.header-additional-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  padding-top: 60px !important;
  padding-left: 5px !important;
  background-image: url("/myaccount/resources/connections/assets/images/logos/header.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0;
  height: 170px;
  color: white;
  font-size: 1rem;
  margin-bottom: 56px;
}

.logo-container {
  flex: 1;
  text-align: left;
  color: #fff;
  font-size: 42px;
  padding-left: 5px;
}

.header-hyperlinks {
  flex: 1;
  text-align: right;
  padding: 15px;
}

.header-link {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  margin-right: 10px;
}

.header-link:hover {
  text-decoration: underline;
}

@media screen and (min-width: 768px), (-ms-high-contrast: active) {
  .header-additional-info > .logo-container {
    position: relative;
    height: 110px;
    line-height: 110px;
    left: calc(49% - 90% / 2) !important;
  }
}

/* Adjust size for screens 375px and wider */
@media (min-width: 375px) {
  .header-logo {
    display: block;
    height: 14px; /* Adjust height for smaller screens */
  }
}

/* Adjust size for screens 450px and wider */
@media (min-width: 450px) {
  .header-logo {
    height: 18px; /* Increase height for larger screens */
  }
}

/*-----------------------------
            Footer
 ------------------------------*/

.footer {
  background-color: #000;
  color: #fff; /* Corrected color code */
  padding: 0;
  font-family: notesesa, serif;
  bottom: 0;
  width: 100%;
  height: 180px;

  background-image: url("/myaccount/resources/connections/assets/images/logos/footer.png");
  background-size: cover; /* Ensure the image covers the container */
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Prevent repeating */
}

.footer h3 {
  font-family: "notesesa", sans-serif !important;
  font-weight: 700;
  font-style: normal;
  color: #fff;
  font-size: 16px !important;
  margin-bottom: 10px;
  margin-top: 25px;
}

.footer a {
  color: #fff;
  font-size: 16px !important;
}

.fp-footer {
  display: flex;
  padding: 10px;
  box-sizing: border-box;
  background-color: var(--fp-footer-background-color);
  color: var(--fp-footer-text-color);
  width: 100%;
  overflow: hidden;
}

.fp-footer-left,
.fp-footer-center,
.fp-footer-right {
  float: left;
  width: 33.33%; /* Divide the space equally */
  box-sizing: border-box;
  padding-left: 15px;
  padding-right: 15px;
}

.fp-footer-left {
  text-align: left;
}

.fp-footer-center {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
}

.fp-footer-right {
  text-align: left; /* Ensure text is left-aligned */
  padding-left: 15px; /* Push text content away from the right edge */
  box-sizing: border-box;
  position: relative; /* Ensure positioning context */
  float: left;
}

.fp-footer-right h3,
.fp-footer-right a {
  margin-left: calc(60%);
}

/* Ensure floats are cleared after the footer sections */
.fp-footer::after {
  content: "";
  display: table;
  clear: both;
}

/* Styles for the new links and list elements */
.fp-footer-links ul,
.fp-footer-right ul {
  list-style: none;
  padding: 0;
}

.fp-footer-links li,
.fp-footer-right li {
  margin-bottom: 5px;
}

.fp-footer-links a,
.fp-footer-right a {
  color: var(--fp-footer-text-color);
  text-decoration: none;
}

.fp-footer-links a:hover,
.fp-footer-right a:hover {
  text-decoration: underline;
}

.fa-facebook {
  background: url("/myaccount/resources/connections/assets/images/logos/fb.png")
    no-repeat;
  display: block;
  width: 40px;
  height: 39px;
}

.twitter {
  background: url("/myaccount/resources/connections/assets/images/logos/twitter.png")
    no-repeat;
  display: block;
  width: 40px;
  height: 39px;
}

a.social-media {
  font-size: 35px;
  width: 40px;
  display: inline-block;
  margin-top: 5px;
}

.arrow {
  width: 16px;
  height: 16px;
  background-image: url("/myaccount/resources/connections/assets/images/icons/arrow.png");
  background-size: cover;
  display: none;
}

.fp-footer .arrow {
  display: none;
}

#footer h3 {
  font-family: "notesesa", sans-serif !important;
  font-weight: 700;
  font-style: normal;
  color: #fff;
  font-size: 16px !important;
  margin-bottom: 10px;
  margin-top: 25px;
}

@media only screen and (max-width: 768px) {
  .fp-footer-left,
  .fp-footer-center,
  .fp-footer-right {
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }

  .fp-footer-right h3,
  .fp-footer-right a {
    margin-left: calc(0%);
  }

  .arrow {
    display: inline-block;
  }
}

@font-face {
  font-family: "FontAwesome";
  src: url(/myaccount/resources/connections/assets/fonts/fontawesome-webfont.eot);
  src: url("{{BASE_URL}}assets/fonts/fontawesome-webfont.eot?#iefix&v=3.2.1")
      format("embedded-opentype"),
    url(/myaccount/resources/connections/assets/fonts/fontawesome-webfont.woff)
      format("woff"),
    url(/myaccount/resources/connections/assets/fonts/fontawesome-webfont.ttf)
      format("truetype"),
    url(/myaccount/resources/connections/assets/fonts/fontawesome-webfont.svg)
      format("svg");
  font-weight: normal;
  font-style: normal;
}
[class^="icon-"],
[class*=" icon-"] {
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  text-decoration: inherit;
  -webkit-font-smoothing: antialiased;
  *margin-right: 0.3em;
}
[class^="icon-"]:before,
[class*=" icon-"]:before {
  text-decoration: inherit;
  display: inline-block;
  speak: none;
}
.icon-large:before {
  vertical-align: -10%;
  font-size: 1.3333333333333333em;
}
a [class^="icon-"],
a [class*=" icon-"] {
  display: inline;
}
[class^="icon-"].icon-fixed-width,
[class*=" icon-"].icon-fixed-width {
  display: inline-block;
  width: 1.1428571428571428em;
  text-align: right;
  padding-right: 0.2857142857142857em;
}
[class^="icon-"].icon-fixed-width.icon-large,
[class*=" icon-"].icon-fixed-width.icon-large {
  width: 1.4285714285714286em;
}
.icons-ul {
  margin-left: 2.142857142857143em;
  list-style-type: none;
}
.icons-ul > li {
  position: relative;
}
.icons-ul .icon-li {
  position: absolute;
  left: -2.142857142857143em;
  width: 2.142857142857143em;
  text-align: center;
  line-height: inherit;
}
[class^="icon-"].hide,
[class*=" icon-"].hide {
  display: none;
}
.icon-muted {
  color: #eeeeee;
}
.icon-light {
  color: #ffffff;
}
.icon-dark {
  color: #333333;
}
.icon-border {
  border: solid 1px #eeeeee;
  padding: 0.2em 0.25em 0.15em;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
.icon-2x {
  font-size: 2em;
}
.icon-2x.icon-border {
  border-width: 2px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
.icon-3x {
  font-size: 3em;
}
.icon-3x.icon-border {
  border-width: 3px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
.icon-4x {
  font-size: 4em;
}
.icon-4x.icon-border {
  border-width: 4px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
}
.icon-5x {
  font-size: 5em;
}
.icon-5x.icon-border {
  border-width: 5px;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px;
}
.pull-right {
  float: right;
}
.pull-left {
  float: left;
}
[class^="icon-"].pull-left,
[class*=" icon-"].pull-left {
  margin-right: 0.3em;
}
[class^="icon-"].pull-right,
[class*=" icon-"].pull-right {
  margin-left: 0.3em;
}
[class^="icon-"],
[class*=" icon-"] {
  display: inline;
  width: auto;
  height: auto;
  line-height: normal;
  vertical-align: baseline;
  background-image: none;
  background-position: 0% 0%;
  background-repeat: repeat;
  margin-top: 0;
}

.icon-hand-right:before {
  content: "\F0A4";
}

.icon-question-sign:before {
  content: "\F059";
}

.icon-exclamation-sign:before {
  content: "\F06A";
}

