/*  Font   */
/* h1,
h2,
h3,
p {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
}
 */



 * {
  scroll-behavior: smooth;
}


 /* Pre-loading animation  */
#loading {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #fff;
  z-index: 99;
  }

.loader {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border-top: 5px solid #001f3f;
  border-bottom: 2px solid transparent;
  border-left: 2px solid transparent;
  border-right: 2px solid transparent;
  position: relative;
  animation: spin 3s linear infinite forwards;
}

.loader::before,
.loader::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border-top: 2px solid inherit;
  border-bottom: 2px solid transparent;
  border-left: 2px solid transparent;
  border-right: 2px solid transparent;
}

.loader::before {
  top: 7px;
  left: 7px;
  width: 178px;
  height: 178px;
  border-top: 5px solid #f6b87e;
  animation: spin 2s linear infinite forwards;
}

.loader::after {
  top: 16px;
  left: 16px;
  width: 160px;
  height: 160px;
  border-top: 5px solid #007bff;
  animation: spin 1s linear infinite forwards;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* END Pre-loading animation  */



/* Admin page */
body.login.admin-bg {
  background: #001f3f;
}

.admin-header-bg {
  background: #001f3f !IMPORTANT;
}

/* Anonym home  */

/* CTA button */
.register-cta {
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 700;
  position: relative;
  letter-spacing: 0.15em;
  margin: 20px auto;
  padding: 0.5rem 1.5rem;
  background: transparent;
  outline: none;
  font-size: 24px;
  color: white;
  transition: all 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.15s;
}

.register-cta::before, .register-cta::after {
  content: "";
  position: absolute;
  border: 2px solid white;
  transition: all 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: -2;
}

.register-cta::before {
  top: -0.75rem;
  left: 0.5rem;
  width: 20px; /* Short horizontal line */
  height: 20px; /* Short vertical line */
  border-right: none; /* Only top and left borders */
  border-bottom: none;
}

.register-cta::after {
  bottom: -0.75rem;
  right: 0.5rem;
  width: 20px; /* Short horizontal line */
  height: 20px; /* Short vertical line */
  border-left: none; /* Only bottom and right borders */
  border-top: none;
  
}

.register-cta:hover {
  color: white;
  background-color: #007bff !important; /* Change background color on hover */
}

.register-cta:hover::before {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-right: none;
  border-bottom: none;
}

.register-cta:hover::after {
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border-left: none;
  border-top: none;  
  background-color: #4da3ff !important; /* Change background color on hover */
}

/* /CTA button  */



.base-simple-bg{
  height: 100%; 
  background: #001f3f;

  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

}

.main-logo{
  max-height: 50px;
  filter: invert(99%) sepia(64%) saturate(171%) hue-rotate(278deg) brightness(116%) contrast(100%);
}

/* .dash-logo{
  filter: invert(12%) sepia(13%) saturate(6260%) hue-rotate(183deg) brightness(98%) contrast(107%);
} */

.anonym-footer {
  background: #001f3f;
  color: #ffffff;
}

.main-footer.anonym-copy {
  margin: 0px !important;
  background: #001f3f;
}


nav.navbar.navbar-expand-lg.navbar-dark.py-3.anonym-home {
  background: none;
}

nav.navbar.sticky-top.navbar-expand-lg.navbar-dark.bg-light.base-simple-nav {
  background: none !IMPORTANT;
}


li.nav-item.nav-item.index-type.active {
  border-top: 3px solid #007bff;
}

.base-simple-footer{
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
}


footer.main-footer.base-simple-footer {
  background: none;
  margin: 0px !important;

}

footer.base-simple-footer {
  border: none;
}

a.anonym-links{
  color: #fff;
}

a.anonym-links:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Tabs for tables  */
/* a#nav-crypto-tab.active, 
a#nav-forex-tab.active, 
a#nav-stock-market-tab.active, 
a#nav-commodity-tab.active {
  color: #ffffff;
  background: #007bff;
} */


/* Bootstrap Cards */
.hourly-pred-header{
  background: linear-gradient(to bottom, #0066ff 0%, #007bff 100%);
  color: #fff;
}

.small-box.hourly-pred-box.bg-white.hourly-next-pred-card {
  box-shadow: grey 0px 5px 6px -5px !important;
}

.data-card-header {
  background: #1a203a !important;
  color: #ffffff;
  text-align: center !important;
}

.pred-data{
  float: none !important;
}

.card {
  display: inline-block;
  margin-bottom: 20px;
  width: 100%;
}


h4.card-title.arrow-down.data-card {
  float: none;
}
/* Index Detail Styles  */
.section-title {
  text-align: center;
}

.section-main-data {
  background: #ffffff;
  border-radius: 5px;
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.1);
}

.main-index-text {
  padding: 10px;
}


img.index-icon {
  max-height: 30px;
  vertical-align: middle;
  margin-left: 0.2em;
}


#CookielawBanner {
  background: #001f3f;
  padding: 15px 0;
  color: #ffffff;
}

#CookielawBanner .container {
  position: relative;
}

#CookielawBanner #CookielawCross {
  background: url('../img/close.png') no-repeat 0 0;
  cursor: pointer;
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 15px;
  height: 15px;
}


/* Login form */
.container.login-form {
  max-width: 550px;
}


/* Contact us page  */
.map-responsive{
  overflow:hidden;
  padding-bottom:50%;
  position:relative;
  height:0;
}
.map-responsive iframe{
  left:0;
  top:0;
  height:100%;
  width:100%;
  position:absolute;
}

.address-section{
  background: #001f3f;
}


/* Like buttons */

button.btn.fav-btn {
  color: #f6b87e;
}

    /* echarts  */
/* --------------------------------- */

#Detailed-chart {
  height: 600px;
  width: 100%;
}

#expresschart {
  height: 500px;
  width: 100%;
}

#prediction-chart{
  height: 500px;
  width: 100%;  
}

.mini-chart {
  height: 250px;
}

.arrow-up {
  color: #28a745 !important;
  font-weight: bolder;
}

.arrow-down {
  /* color: #dc3545 !important; */
  color: #ec0000;
  font-weight: bolder;

}

.arrow-up-rotate {
  transform: rotate(45deg);
}
.arrow-down-rotate {
  transform: rotate(-45deg);
}

.neutral{
  color: #343a40 !important;
  font-weight: bolder;
} 

.small-box.hourly-pred-box.bg-white {
  height: 345px;
}

p.pred-card-text{
  margin-bottom: 0px;
}

/* Error Page */
.error .clip .shadow
{
    height: 180px;  /*Contrall*/
}
.error .clip:nth-of-type(2) .shadow
{
    width: 130px;   /*Contrall play with javascript*/ 
}
.error .clip:nth-of-type(1) .shadow, .error .clip:nth-of-type(3) .shadow
{
    width: 250px; /*Contrall*/
}
.error .digit
{
    width: 150px;   /*Contrall*/
    height: 150px;  /*Contrall*/
    line-height: 150px; /*Contrall*/
    font-size: 120px;
    font-weight: bold;
}
.error h2   /*Contrall*/
{
    font-size: 32px;
}
.error .msg /*Contrall*/
{
    top: -190px;
    left: 30%;
    width: 80px;
    height: 80px;
    line-height: 80px;
    font-size: 32px;
}
.error span.triangle    /*Contrall*/
{
    top: 70%;
    right: 0%;
    border-left: 20px solid #07B3F9;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
}


.error .container-error-404
{
  margin-top: 10%;
    position: relative;
    height: 250px;
    padding-top: 40px;
}
.error .container-error-404 .clip
{
    display: inline-block;
    transform: skew(-45deg);
}
.error .clip .shadow
{
    
    overflow: hidden;
}
.error .clip:nth-of-type(2) .shadow
{
    overflow: hidden;
    position: relative;
    box-shadow: inset 20px 0px 20px -15px rgba(150, 150, 150,0.8), 20px 0px 20px -15px rgba(150, 150, 150,0.8);
}

.error .clip:nth-of-type(3) .shadow:after, .error .clip:nth-of-type(1) .shadow:after
{
    content: "";
    position: absolute;
    right: -8px;
    bottom: 0px;
    z-index: 9999;
    height: 100%;
    width: 10px;
    background: linear-gradient(90deg, transparent, rgba(173,173,173, 0.8), transparent);
    border-radius: 50%;
}
.error .clip:nth-of-type(3) .shadow:after
{
    left: -8px;
}
.error .digit
{
    position: relative;
    top: 8%;
    color: white;
    background: #07B3F9;
    border-radius: 50%;
    display: inline-block;
    transform: skew(45deg);
}
.error .clip:nth-of-type(2) .digit
{
    left: -10%;
}
.error .clip:nth-of-type(1) .digit
{
    right: -20%;
}.error .clip:nth-of-type(3) .digit
{
    left: -20%;
}    
.error h2
{
    color: #07B3F9;
    font-weight: bold;
    padding-bottom: 20px;
}
.error .msg
{
    position: relative;
    z-index: 9999;
    display: block;
    background: #07B3F9;
    color: #FFFFFF;
    border-radius: 50%;
    font-style: italic;
}
.error .triangle
{
    position: absolute;
    z-index: 999;
    transform: rotate(45deg);
    content: "";
    width: 0; 
    height: 0; 
}

/* Error Page */
@media(max-width: 767px)
{
        .error .clip .shadow
        {
            height: 100px;  /*Contrall*/
        }
        .error .clip:nth-of-type(2) .shadow
        {
            width: 80px;   /*Contrall play with javascript*/ 
        }
        .error .clip:nth-of-type(1) .shadow, .error .clip:nth-of-type(3) .shadow
        {
            width: 100px; /*Contrall*/
        }
        .error .digit
        {
            width: 80px;   /*Contrall*/
            height: 80px;  /*Contrall*/
            line-height: 80px; /*Contrall*/
            font-size: 52px;
        }
        .error h2   /*Contrall*/
        {
            font-size: 24px;
        }
        .error .msg /*Contrall*/
        {
            top: -110px;
            left: 15%;
            width: 40px;
            height: 40px;
            line-height: 40px;
            font-size: 18px;
        }
        .error span.triangle    /*Contrall*/
        {
            top: 70%;
            right: -3%;
            border-left: 10px solid #07B3F9;
            border-top: 8px solid transparent;
            border-bottom: 8px solid transparent;
        }
.error .container-error-404
{
height: 150px;
}
}
/* Error Page */





/* Dataloader  */
div#cryptoindex_length {
  padding-top: 1em;
}

div#cryptoindex_paginate {
  padding-top: 0.5em;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover{
  background: linear-gradient(to bottom, #0066ff 0%, #007bff 100%) !important;
  border: none !important;
  color: #FFFFFF;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  color: #FFFFFF !important;
 }


/* Datatables fixed coloumn  */
table.DTFC_Cloned thead,
table.DTFC_Cloned tfoot {
    background-color: white
}

div.DTFC_Blocker {
    background-color: white
}

div.DTFC_LeftWrapper table.dataTable,
div.DTFC_RightWrapper table.dataTable {
    margin-bottom: 0;
    z-index: 2
}

div.DTFC_LeftWrapper table.dataTable.no-footer,
div.DTFC_RightWrapper table.dataTable.no-footer {
    border-bottom: none
}

table.dataTable.display tbody tr.DTFC_NoData {
    background-color: transparent
}

