@font-face {
    font-family: 'Avenir LT Std';
    src: url('../fonts/AvenirLTStd-Black.woff2') format('woff2'),
        url('../fonts/AvenirLTStd-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir LT Std';
    src: url('../fonts/AvenirLTStd-Light.woff2') format('woff2'),
        url('../fonts/AvenirLTStd-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir LT Std';
    src: url('../fonts/AvenirLTStd-Roman.woff2') format('woff2'),
        url('../fonts/AvenirLTStd-Roman.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir LT Std';
    src: url('../fonts/AvenirLTStd-Medium.woff2') format('woff2'),
        url('../fonts/AvenirLTStd-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir LT Std';
    src: url('../fonts/AvenirLTStd-Heavy.woff2') format('woff2'),
        url('../fonts/AvenirLTStd-Heavy.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir LT Std';
    src: url('../fonts/AvenirLTStd-Book.woff2') format('woff2'),
        url('../fonts/AvenirLTStd-Book.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ***** Common Css **** */
:root {
    scroll-behavior: initial;
}

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
}

a:hover,
a:focus,
a:active {
    text-decoration: none;
}

ol,
ul {
    margin: 0;
    padding: 0;
}

img {
    display: block;
}

figure {
    margin: 0;
}

a,
button {
    text-decoration: none;
}

body {
    font-family: 'Avenir LT Std';
    font-size: 14px;
    font-weight: 400;
    /*background: #001F52;*/
    background: rgb(0, 31, 82);
    color: #fff;
    text-decoration: none;
    transition: 0.4s;
}

.dark-mode body {
    background: rgb(0, 16, 43);
    transition: 0.4s;
}

.main-wrpper {
    height: auto;
    width: 100%;
}

.container {
    max-width: 1120px;
}

/* ***** End Common Css **** */

/* ***** Login Page ***** */
.login-wrp {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    width: 100%;
    height: 100vh;
}

.login-left {
    width: 50%;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 0;
}


.login-left {
    background: url('../images/login-leftback.png') 0 0 no-repeat;
    background-size: cover;
    transition: 0.4s;
}

.dark-mode .login-left {
    background-image: linear-gradient(rgba(0, 16, 43, 0.9)), url('../images/login-leftback.png');
    background-size: cover;
    transition: 0.4s;
}

.login-img {
    width: 80%;
}

.login-img img {
    width: 100%;
}

.dark-mode .login-img img {
    opacity: 0.5;
}

.login-left h1 {
    padding: 50px 50px;
    font-weight: 900;
    font-size: 50px;
    line-height: 48px;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.login-left h1 span {
    color: #7CFFEF;
}

.login-right {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-flow: column;
    overflow-x: auto;
}
.login-right::-webkit-scrollbar{
    display: none;
}
.login-box {
    max-width: 536px;
    width: 100%;
    margin: auto;
    padding: 50px 0;
    /* We want this greater than the copyright-login below it,
    so that the menu appears over the copyright */
    z-index: 100;
}

.logo-box {
    margin: 0 auto 30px;
    display: table;
}

.logo-box img {
    height: 60px;
}

/*
On the search/login pages the menu is on a different stacking context to
the copyright and the blur doesn't work too well.
So instead of a white background with a lot of transparency, I've added a
blue background with less transparency to give a similar effect.
To get the colour I just used a colour picker for the resultant white
menu over the blue background. This gave RGB(52, 76, 117) which is HSL(145, 92, 80).
I just increased luminosity to 90 which gives RBG(60, 87, 132).
*/
.tt-style-blue.tt-style-blue-strong .tt-menu {
    background: rgba(60, 87, 132, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0px 4px 9.3px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(17.5px);
}

.dark-mode .tt-style-blue.tt-style-blue-strong .tt-menu {
    background: rgba(7, 32, 83, 0.8);
}

.market-view-block {
    padding: 45px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0px 4px 9.3px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(13.15px);
    border-radius: 20px;
}

.market-view-block h2 {
    font-size: 35px;
    font-weight: 900;
    line-height: 35px;
    color: #fff;
    margin: 0 auto 30px;
    text-align: center;
}

.market-view-block p,
.market-view-block h6 {
    font-size: 20px;
    font-weight: normal;
    color: #fff;
    text-align: center;
    margin: 0 auto 24px;
}

.market-view-block .form-group {
    margin: 0 0 24px;
}

/*
For cases where the space below the group may have information added.
e.g. user name below logon button
*/
.market-view-block .form-group.form-group-no-pad {
    margin: 0;
}

.market-view-block .form-group .form-control {
    padding: 9px 18px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    filter: drop-shadow(0px 4px 9.3px rgba(0, 0, 0, 0.05));
    background: transparent;
    border-radius: 11px;
    height: auto;
    font-size: 18px;
    font-weight: normal;
    color: #fff;
    box-shadow: none;
    line-height: 24px;
}

.market-view-block .form-group .form-control::placeholder {
    color: rgba(255, 255, 255, 0.50);
}

/* Make text / placeholder / border more transparent when disabled */
.market-view-block .form-group .form-control.input-disabled {
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.75);
}
.market-view-block .form-group .form-control.input-disabled::placeholder {
    color: rgba(255, 255, 255, 0.15);
}

/* 44px is the size of the user-name unit */
hr.separator {
    padding: 0 0 44px;
    margin: 0;
}

.market-view-block button {
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0px 4px 9.3px rgba(0, 0, 0, 0.05);
    border-radius: 11px;
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    line-height: 24px;
    text-align: center;
    display: block;
    width: 100%;
}

/* user-name unit */
.market-view-block .form-group label {
    font-size: 18px;
    line-height: 20px;
    padding: 12px 0;
}

.market-view-block .form-group .form-toggle {
    display: flex
}

.market-view-block .form-group .form-toggle label {
    font-size: 18px;
    line-height: 20px;
    padding: 6px 18px 6px 0;
}

.market-view-block button:hover {
    background: #fff;
    color: #001F52;
}

.copyright-login {
    max-width: 536px;
    width: 100%;
    margin: 0 auto;
    padding: 0 0 50px;
    /* See login-box comment */
    z-index: 50;
}

.copyright-login .btn-main {
    margin: 0 auto 45px;
}

.btn-main {
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0px 4px 9.3px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(6.75px);
    border-radius: 11px;
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    line-height: 24px;
    max-width: 170px;
    text-align: center;
    width: 100%;
    display: table;
}

.btn-main:hover {
    background: #fff;
    color: #001F52;
}

.copyright-login p {
    text-align: center;
    margin: 0;
    font-size: 20px;
    font-weight: normal;
    color: #fff;
    line-height: 28px;
}

.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 0;
}

.form-row-checkbox input[type=checkbox] {
    position: relative;
    border: 1px solid #9E9E9E;
    border-radius: 4px;
    background: none;
    cursor: pointer;
    line-height: 0;
    margin: 0 .6em 0 0;
    outline: 0;
    padding: 0 !important;
    vertical-align: text-top;
    height: 20px;
    width: 20px;
    -webkit-appearance: none;
    top: -2px;
}

.form-row-checkbox input[type=checkbox]:checked {
    background-color: #001F52;
    border-color: #001F52;
}

.form-row-checkbox input[type=checkbox]:before {
    content: '';
    position: absolute;
    right: 50%;
    top: 50%;
    width: 6px;
    height: 10px;
    border: solid #FFF;
    border-width: 0 2px 2px 0;
    margin: -1px -2px 0 -1px;
    transform: rotate(45deg) translate(-50%, -50%);
    z-index: 2;
    opacity: 0;
}

.form-row-checkbox input[type=checkbox]:checked::before {
    opacity: 1;
}

.form-row-checkbox,
.form-link {
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    color: #9E9E9E;
    margin: 0 !important;
}

.form-link:hover {
    color: #fff;
}

.market-view-block-ful p {
    max-width: 100% !important;
}

.market-view-block h6 {
    margin: 25px auto 0;
}

.market-view-block a {
    display: table;
    margin: 0 auto;
}

.market-view-block a h6:hover {
    opacity: 0.5;
}

.verify-code-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.market-view-block .form-group .verify-code-row .form-control {
    width: 42px;
    height: 42px;
    margin: 0 4px;
    padding: 14px 15px;
}

/* Toggle settings */
.form-toggle .toggle {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.form-toggle .toggle input {
  display: none;
}

.form-toggle .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgb(7, 32, 83);
  transition: 0.4s;
  border-radius: 34px;
}

.form-toggle .slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: #FFF;
  transition: 0.4s;
  border-radius: 50%;
}

.form-toggle input:checked + .slider {
  background-color: rgb(0, 16, 43);
}

.form-toggle input:checked + .slider:before {
  transform: translateX(26px);
}

/* ***** End Login Page ***** */
