:root{
    --color1: #ffffff;
    --color2: #f1f7fc;
    --color3: #b0bace;
    --colorsell: #dc3545;
    --colorbuy: #198754;
}
.pro-cjfl-dark:root{
    --color1: #000;
    --color2: #505162;
    --color3: #b0bace;
}
.sync_animate {
  color: var(--color1);
  animation-name: spin_sync_animate;
  animation-duration: 1500ms;
  animation-iteration-count: infinite;
  animation-timing-function: linear; 
  /* transform: rotate(3deg); */
   /* transform: rotate(0.3rad);/ */
   /* transform: rotate(3grad); */ 
   /* transform: rotate(.03turn);  */
}

@keyframes spin_sync_animate {
    from {
        transform:rotate(0deg);
    }
    to {
        transform:rotate(360deg);
    }
}
body{
    background: var(--color1);
    font-family: 'Roboto', sans-serif;
}
.pro-cjfl-dark body{
    color: #fff;   
}
.Comfortaa-light{
    font-weight: 300;
    font-family: 'Comfortaa', cursive;
}
.Comfortaa{
    font-weight: 400;
    font-family: 'Comfortaa', cursive;
}
.Comfortaa-bold{
    font-weight: 400;
    font-family: 'Comfortaa', cursive;
}
b,h1,h2,h3,h4,h5,h6{
    font-weight: 700;
    font-family: 'Comfortaa', cursive;
}
.material-icons-outlined {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;  /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;

  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;

  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;

  /* Support for IE. */
  font-feature-settings: 'liga';
}
.material-icons-outlined.md-18 { font-size: 18px; }
.material-icons-outlined.md-24 { font-size: 24px; }
.material-icons-outlined.md-36 { font-size: 36px; }
.material-icons-outlined.md-48 { font-size: 48px; }

.nav .material-icons-outlined{
    color: var(--color3);
    font-size: 1.8em;
    transition: all .3s ease-in-out;
    height: 30px;
}
.nav-link {
    color: #505162;
}
.nav-link:hover,.nav-link:hover .material-icons-outlined,.nav-link:focus,
.active_screen {
    color: #000;
}
.pro-cjfl-dark .nav-link:hover,.pro-cjfl-dark .nav-link:hover .material-icons-outlined,.pro-cjfl-dark .nav-link:focus,
.pro-cjfl-dark .active_screen{
    color: #fff;
}
.btn-primary {
    color: #fff;
    background-color: #ff9002;
    border-color: #ff9002;
}
.btn-primary:hover {
    background-color: #eb8400;
    border-color: #eb8400;
}
.btn-outline-primary {
    color: #ff9002;
    border-color: #ff9002 !important;
}
.btn-group>.btn-check:checked+.btn {
    background: #ff9002;
}
.orderTypeWrap .btn{
    width: 33.33%;
}
.btn-outline-primary:hover {
    color: #fff;
    background-color: #ff9002;
}
.btn-check:focus+.btn-outline-primary, .btn-outline-primary:focus {
    box-shadow: 0 0 0 0.25rem rgb(255 144 2 / 50%) !important;
}
.input-group-text {
    background: transparent;
}
.pro-cjfl-dark .input-group-text {
    color: #fff;
}
.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    border-left: 0;
}
.top-nav{
    background: var(--color1);
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}
.nav-pills .nav-link {
    color: var(--color3);
    border-bottom: 1px solid var(--color2);
    border-radius: 0;
}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #000;
    background-color: transparent;
    border-bottom: 1px solid #000;
}
.border-special-right {
    border-right:2px solid var(--color2);
}
.border-special-left {
    border-left:2px solid var(--color2);
}
.border-special-bottom {
    border-bottom: 2px solid var(--color2);
}
.user-photo {
    height: 50px;
    width: 50px;
    background: var(--color3);
    bord
}
.jfl-logo{
    width: auto;
    max-height: 65px;
    display: block;
    margin: 10px auto;
}
.jfl-logo-white{
    display: none;
}
.pro-cjfl-dark .jfl-logo-white{
    display: block;
}
.pro-cjfl-dark .jfl-logo-black{
    display: none;
}
.switch {
    --line: #505162;
    --dot: #ff9002;
    --circle: #000;
    --duration: .3s;
    --text: #505162;
    cursor: pointer;
}
.pro-cjfl-dark .switch {
  --circle: #ff9002;
  --duration: .3s;
  cursor: pointer;
}
.switch input {
  display: none;
}
.switch input + div {
  position: relative;
    display: inline-block;
}
.switch input + div:before, .switch input + div:after {
  --s: 1;
  content: "";
  position: absolute;
  height: 3px;
  top: 10px;
  width: 24px;
  background: var(--line);
  transform: scaleX(var(--s));
  transition: transform var(--duration) ease;
}
.switch input + div:before {
  --s: 0;
  left: 0;
  transform-origin: 0 50%;
  border-radius: 2px 0 0 2px;
}
.switch input + div:after {
  left: 28px;
  transform-origin: 100% 50%;
  border-radius: 0 2px 2px 0;
}
.switch input + div span {
  padding-left: 56px;
  line-height: 24px;
  color: var(--text);
}
.switch input + div span:before {
  --x: 0;
  --b: var(--circle);
  --s: 3px;
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 var(--s) var(--b);
  transform: translateX(var(--x));
  transition: box-shadow var(--duration) ease, transform var(--duration) ease;
}
.switch input + div span:not(:empty) {
  padding-left: 64px;
}
.switch input:checked + div:before {
  --s: 1;
}
.switch input:checked + div:after {
  --s: 0;
}
.switch input:checked + div span:before {
  --x: 28px;
  --s: 12px;
  --b: var(--dot);
}
/*.on_gain {
   background: var(--colorbuy); !important;
}
.on_lose,.on_stop {
   background: var(--colorsell); !important;
}*/
.symbol_ticker_handler {
    display: flex;
    flex-wrap: nowrap;
    flex-shrink: 0;
    max-height: 120px;
    overflow-x: scroll;
    position: relative;
    cursor: pointer;
}
.symbol_handler {
    overflow: hidden;
    position: relative;
    min-width: calc(25% - 0.35rem);
    background: var(--color3);
    border-radius: 12px;
    color: #000;
    transition: all .3s ease-in-out;
}
.pro-cjfl-dark .symbol_handler {
    background: #212529;
    color: #fff;
}
.symbol_handler:before{
    content: "";
    display: block;
    width: 100%;
    height: 15%;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
}
.symbo_info{
    position: relative;
    display: block;
    z-index: 5;
}
.buy_signal:before {
    /*
    background: #9afcbc;
    background: -moz-linear-gradient(left,  #9afcbc 0%, #59f991 17%, #17f765 33%, #009835 67%, #006824 83%, #003613 100%);
    background: -webkit-linear-gradient(left,  #9afcbc 0%,#59f991 17%,#17f765 33%,#009835 67%,#006824 83%,#003613 100%);
    background: linear-gradient(to right,  #9afcbc 0%,#59f991 17%,#17f765 33%,#009835 67%,#006824 83%,#003613 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9afcbc', endColorstr='#003613',GradientType=1 );
    */
    background: #7ccb5f;
    background: -moz-linear-gradient(-45deg,  #7ccb5f 0%, #61c147 50%, #1fa800 51%, #4fdb37 100%);
    background: -webkit-linear-gradient(-45deg,  #7ccb5f 0%,#61c147 50%,#1fa800 51%,#4fdb37 100%);
    background: linear-gradient(135deg,  #7ccb5f 0%,#61c147 50%,#1fa800 51%,#4fdb37 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7ccb5f', endColorstr='#4fdb37',GradientType=1 );

}
.sell_signal:before {
    /*
    background: #ff93ac;
    background: -moz-linear-gradient(left,  #ff93ac 0%, #ff4b75 17%, #ff053f 33%, #8a0020 67%, #580015 83%, #240008 100%);
    background: -webkit-linear-gradient(left,  #ff93ac 0%,#ff4b75 17%,#ff053f 33%,#8a0020 67%,#580015 83%,#240008 100%);
    background: linear-gradient(to right,  #ff93ac 0%,#ff4b75 17%,#ff053f 33%,#8a0020 67%,#580015 83%,#240008 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff93ac', endColorstr='#240008',GradientType=1 );
    */
    background: #cb615f;
    background: -moz-linear-gradient(-45deg,  #cb615f 0%, #c14f47 50%, #a81100 51%, #db4d37 100%);
    background: -webkit-linear-gradient(-45deg,  #cb615f 0%,#c14f47 50%,#a81100 51%,#db4d37 100%);
    background: linear-gradient(135deg,  #cb615f 0%,#c14f47 50%,#a81100 51%,#db4d37 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cb615f', endColorstr='#db4d37',GradientType=1 );

}
/*
.bg-success{
    background-color: #7ccb5f !important;
}
.bg-danger{
    background-color: #cb615f !important;
}*/
ul.signal_list {  
    height: 1rem;
    list-style: none;
    position: relative;
    display: block;
    font-size: 0;
    padding: 0;
    margin-top: 0;
    margin-left: -1rem;
    border-top-left-radius: 12px;
    margin-right: -1rem;
    border-top-right-radius: 12px;
    overflow: hidden;
}
ul.signal_list li {
    display:inline-block;
    width: calc(100% / 6);
    color: #fff;
    text-align: center;
    font-weight: bold;
    font-size: 9px;
    line-height: 18px;
}
.rotadoxdd{
    position: relative;
    display: inline-block;
}
.buy_signal .rotadoxdd{
    transform: rotate(-90deg);
}
.sell_signal .rotadoxdd{
    transform: rotate(90deg);
}
#orders{
    min-width: 1366px;
}
#coins-to-trade > label {
    cursor: pointer;
}
.pro-cjfl-dark .list-group-item {
    color: #fff;
    background-color: #212529;
    border-color: var(--color3);
}
.pro-cjfl-dark .form-control{
    background: #212529;
    color: #fff;
}
.pro-cjfl-dark .form-select {
    color: #fff;
    background-color: #212529;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"); 
}
#toast {
    position: fixed;
    width: auto;
    padding: 1rem;
    background: #ff9002;
    right: 0;
    bottom: 0;
    color: #fff;
    border-radius: .2rem;
    transition: all .3s;
    transform: translateX(100%);
    z-index: 105;
}
#toast.show_toast{
    transform: translateX(0%);
}
.screen_external {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 100;
}
.pro-cjfl-dark .screen_external{
    background: #000;
}
.pro-cjfl-dark .modal-content{
    background: #212529;
}
.operationTypeWrap{
    pointer-events: none;
}
.operationTypeWrap .btn {
    border-color: transparent !important;
}
.operationTypeWrap>.label-sell,
.operationTypeWrap>.label-buy {
    background: #000;
}
.operationTypeWrap>.label-sell:focus,
.operationTypeWrap>.label-buy:focus {
    background: #000 !important;
}
.operationTypeWrap>.btn-check:checked+.label-sell {
    background: var(--colorsell);
    box-shadow: initial !important;
    outline: initial !important;
}
.operationTypeWrap>.btn-check:checked+.label-buy {
    background: var(--colorbuy);
    box-shadow: initial !important;
    outline: initial !important;
}
.operationTypeBuy button[type="submit"] {
    background: var(--colorbuy);
    border-color: var(--colorbuy);
}
.operationTypeSell button[type="submit"] {
    background: var(--colorsell);
    border-color: var(--colorsell);
}
.operationTypeSell_title,.operationTypeSell .operationTypeBuy_title{
    display: none;
}
.operationTypeSell .operationTypeSell_title{
    display: inline-block;
}
#nav_handler_action {
    background: #ff9002;
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    height: 90px;
    width: 90px;
    border-radius: 50%;
    position: fixed;
    bottom: -45px;
    z-index: 11;
    left: calc(50% - 45px);
    cursor: pointer;
}
#nav_handler_action:before {
    content: "";
    display: block;
    background: #fff;
    border: 0;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    bottom: 0;
    z-index: 11;
    position: relative;
    left: calc(50% - 25px);
    transition: all .5s ease-in-out;
}
.nav_handler_open #nav_handler_action:before{
    height: 80px;
    width: 80px;
    left: calc(50% - 40px);
}
@media(max-width: 992px){
    #nav_handler {
        position: fixed;
        width: 100%;
        height: 100vh;
        top: 0;
        right: 0;
        background: #ffffff;
        transition: all .3s ease;
        visibility: hidden;
        transform: translateY(100%);
        z-index: 10;
    }
    .symbol_handler {
        min-width: 320px;
    }
    .nav_handler_open #nav_handler{
        transform: translateY(0%);
        visibility: visible;
    }
    .pro-cjfl-dark #nav_handler{
        background: #212529;
    }
    #nav_handler .nav {
        margin: 0 !important;
        padding: 30% 0;
    }
    #nav_handler .nav li {
        width: 100%;
        text-align: center;
    }
    #accounts > .row {
        --bs-gutter-x: 1.5rem;
    }
    #accounts .border-special-left {
        border-left: initial;
        padding-right: calc(var(--bs-gutter-x) * .5) !important;
        padding-left: calc(var(--bs-gutter-x) * .5) !important;
    }
}