:root {
    --bs-border-color: #D4D4D4;
    --bs-link-hover-color:#40E0B5;
    --bs-link-hover-color-rgb:64, 224, 181;
    --rs-primary-gradient: linear-gradient(180deg, rgba(28, 116, 180, 0.70) -11.83%, #1C74B4 100%);
    --bs-dark: #121212;
    --bs-dark-rgb: 18, 18, 18;
    --bs-primary: #1C74B4;
    --bs-link-color: #1C74B4;
    --bs-link-color-rgb: 28, 116, 180;
    --bs-primary-rgb: 28, 116, 180;
}
.table {
    --bs-table-striped-bg: #fff;
    --bs-table-bg: #E7F4F1;
}
.btn-primary {
    --bs-btn-bg: #1C74B4;
    --bs-btn-border-color: #1C74B4;
    --bs-btn-hover-bg: #40E0B5;
    --bs-btn-hover-border-color: #40E0B5;
}
.btn-success {
    --bs-btn-bg: #40E0B5;
    --bs-btn-border-color: #40E0B5;
    --bs-btn-hover-bg: #121212;
    --bs-btn-hover-border-color: #121212;
}
.card {border-radius: 0;}
:root, body {font-size: 14px;}
@media screen and (min-width: 576px) { :root, body {font-size: 14px;} }
@media screen and (min-width: 768px) { :root, body, .h7 {font-size: 16px;} }
@media screen and (min-width: 992px) { :root, body, .h7 {font-size: 16px;} }
@media screen and (min-width: 1200px) { :root, body, .h7 {font-size: 20px;} }

html {background: white;}
body {background: #F6FFFD; overflow-x: hidden; color:var(--bs-dark); max-width:1920px; margin: 0 auto; min-height: 100vh; box-shadow: 0 0 2px rgba(0,0,0,.3)}
a {transition: .3s; text-decoration: none;}

.mobile-window {position: fixed; top:0; left:0; right:0; bottom: 0; z-index: 100; pointer-events: none;}
.mobile-window * {transition: .3s;}
.mobile-window .bg {position:fixed; background:rgba(0,0,0,.5); top:0; left:0; right:100%; bottom:0; border-radius:0 100% 100% 0;}
.mobile-window .window {width:0; background:#fff; position:fixed; top:0; left:0; bottom:0; border-radius:0 100% 100% 0; opacity:0; padding:0; overflow:auto; display:flex; flex-direction: column; text-align: center;}
.mobile-window .close {position:fixed; top:0; left:300px; margin:1rem; font-size:0; color:#fff; cursor:pointer;}
.mobile-window .close:hover {opacity:.7;}
.mobile-window .window > div {margin:1rem 0;}
.mobile-window .mobile_menu {background:var(--color-base); text-align:left; margin-bottom:auto;}
.mobile-window .mobile_menu ul {display:block; margin:0; padding:0;}
.mobile-window .mobile_menu ul li {display:block; margin:0; padding:0; border-bottom:1px solid #ddd; position:relative;}
.mobile-window .mobile_menu ul li a {color: var(--color-base-text); display:block; padding:.5rem;}
.mobile-window .mobile_menu ul li ul li {display:none; background:rgba(255,255,255,.3); padding-left:.5rem;}
.mobile-window .mobile_menu ul li ul.active > li {display:block;}
.mobile-window .mobile_menu ul li.parent ul::before {content:'\f107'; font-family: "Font Awesome 6 Free"; font-weight: 900; position:absolute; background:#fff; padding:0 .5rem; top: .5rem; right:.5rem; cursor:pointer;}

body.active-menu {overflow:hidden;}
body.active-menu .mobile-window {display:block; pointer-events: all;}
body.active-menu .mobile-window .bg {right:0; border-radius:0;}
body.active-menu .mobile-window .close img {width:40px;}
body.active-menu .mobile-window .window {width:300px; border-radius:0; opacity:1; padding:1rem;}



.container-fluid {max-width: 1740px;}
.bg-primary {background: var(--rs-primary-gradient); background-color: unset !important;}
.btn {
    padding: .5rem 2rem; 
    border-radius: 2rem; 
    font-weight: bold;
}
.btn {margin: 0.5rem 0rem 1rem 0rem}

.input-group .btn {margin: 0rem 0rem}

.btn:hover img,
.btn.btn-dark img {filter:grayscale(1) brightness(1000%);}

.pt-50 {padding-top: 50px !important;}
.pt-60 {
    padding-top: 60px !important;
    margin-bottom: 0rem;
}
.pt-75 {
    padding-top: 75px !important;
    margin-bottom: 0rem;

}
.pt-100 {padding-top: 100px !important;}
.mw-500 {max-width: 500px;}

header {position: relative;}
header::before {content:''; position: absolute; bottom: 0; left:50%; height: 1px; width:100vw; transform: translateX(-50%); background: var(--bs-border-color); max-width: 1920px;}
header #top-menu a,
header #user-menu a {color:var(--bs-dark);}
header #top-bar {position: relative;}
header #top-bar::after {position: absolute; content:url('/images/template/bg.svg'); top:0; left:50%; transform: translateX(-50%); pointer-events: none;}

main #left-menu {}
main #left-menu ul li a {padding:1rem; display: block; border-bottom: 1px solid var(--bs-border-color); color:var(--bs-dark);}


main #left-menu ul li a img {display: inline-block; width:1rem; height:1rem; margin-right: 1rem;}
main #left-menu ul li.active a {background: var(--bs-link-hover-color); color: white;}

main #left-menu ul li:not(.active) a:hover::before  {filter: grayscale(1) brightness(1000%);}

main #left-menu ul li a::before {display: inline-block; width:1rem; text-align:center; margin-right: 1rem;}
main #left-menu ul li a:hover {background: var(--bs-dark); color:white;}

.form-select,
.form-control {border-radius:0; padding: 1rem}
table.table {font-size: .8rem;}
table.table .btn {font-size: .8rem;}
table.table thead tr th {background: var(--rs-primary-gradient); color:#fff !important; text-align: center; padding: .5rem;}

.table-btns {position: relative; display: flex; gap: 1rem; align-items:start; justify-content:space-between;}
#read-more {position: absolute; right: 0; top:100%; z-index: 10; min-width: 380px;}
#read-more .form-select,
#read-more .form-control {padding: .3rem;}

.estt-menu-left .card-body {
    padding: 0 !important;
    font-size: 0.9em;
    border: none;
 
}

#left-menu .card {
    border: none;
}


.estt-menu-left + .estt-menu-left {
    border-top: 1rem solid #1c74b4 !important;
}


   .message_text {
    color: #fff;
    font-size: 0.8rem;
    text-transform: initial;
    font-weight: normal;
    display: inline-block;
    padding: 0rem 1rem;
   } 


   .event_text {
    color: #ffff00;
    font-size: 0.8rem;
    text-transform: initial;
    font-weight: normal;
    padding: 0rem 1rem;

   } 

   .event-title {
    font-weight: 500;
    color: #fff;
    text-transform: initial;

   }


.pretext {
    font-size: 0.8rem;
    color: #666;
    padding: 0.2rem;
}

.dogovor {
    font-size: 0.8rem;

}

.menu-openvz {
    display: inline-block;
    width: fit-content;
}

.card-body-openvz {
    display: flex;               /* Use Flexbox layout */
    justify-content: 2rem; /* Distribute space between items */
    align-items: center;        /* Center items vertically */
}

.menu-openvz {
    flex: 1;                    /* Allow each item to grow and fill the space */
    text-align: center;         /* Center text within each item */
    border: 1px solid var(--bs-border-color);
}

.menu-openvz a {
    display: block;             /* Make the link fill the entire span */
    padding: 10px;             /* Add some padding for better click area */
    text-decoration: none;      /* Remove underline from links */
    color: #000;                /* Set text color */
}

.menu-openvz a:hover {
    background-color: var(--bs-dark);  /* Change background on hover */
    color: #fff;
}


.menu-openvz.current.active {
    background-color: var(--bs-link-hover-color);  /* Change background on hover */

}

.table{
    display: table;
    width: 100%;  
}
.tr{
    display: table-row;

}
.td{
    display: table-cell;  

}
.th{

    background: var(--rs-primary-gradient); 
    color:#fff !important; 
    text-align: center; 
    padding: 0.3rem;
    display: table-cell;  
    font-weight: bold;

}


.vm_items .tr{
    font-size: 0.8rem;
}


.node-group {
    font-size: 1.2rem;
    padding: 1rem;
    display: inline-grid;
    border: 1px solid #63c3ba;
    border-radius: 1rem;
    min-height: 250px;
    }

.node-group h5{
    color: #fff;
    }


.vm-alert {
  color: #f00 !important;
  font-size: 1.2em;
  font-weight: bold;
}

.vm-normal {
  color: #000;
  font-size: 1.0em;
  font-weight: normal;
}

.alert-block {
  display: inline-block;
  width: max-content;
  border: 1px solid #ccc;
  padding: 20px;
  border-radius: 10px;
  background-color: #ff5252;
  color: #fff;
  font-weight: bold;
  font-size: 1.0em;
}

.alert-block-vmid {
  padding: 20px;  
  font-size: 0.8em;
  font-weight: normal;
}

.alert-block-elem {
  padding: 20px;
  font-size: 1.2em;

}
.alert-block-value {
  padding: 20px;
  font-size: 1.2em;

}
.alert-block-date {
  padding: 20px;
  font-size: 0.8em;
  font-weight: normal;
}

.tarif-desciption {
  font-size: 0.8em;
  color: #fff;
}



.action_link {
    background-color: var(--bs-red);
    text-align: center;
    color: #fff;
    font-size: 1.0rem;
    cursor: pointer;
    text-decoration: none;
    border: none;
    width: 20rem;
}

.action_link:hover {
    background-color: var(--bs-link-hover-color);
    border: none;

}


.inactive {
    font-size: 1.0rem;
    background-color: #ccc;
    color: #000;
    border: 1px solid #ccc;
    border-radius: 1rem;
    font-weight: normal;
    width: 20rem;    

}

.inactive:hover {
    background-color: #ccc;
    color: #666;
}

.comments {
    font-size: 0.8rem;
    color: #999;
}


#confirmBox .button {
    background-color: #cd2222 !important;
    height: 2.3rem !important;
    color: white;
    position: relative;
    text-decoration: none;
    border: none;
    font-size: 1.0rem !important;
}

#control_buttons {
   margin-top: 2rem;
}

.vm_vmid {
    font-size: 0.8rem;
    
}

.vm_vmid label {
    font-size: 1.0rem;
    color: #333;
}

.container-comment {
    font-size: 0.8rem;    
    color: #999;
}

.vm_param_container {
    font-size: 0.8rem;    

}

.vm_param_container select{
    font-size: 1.0rem;    

}

.form-group {
    padding: 0;
}

.btn-outline-secondary {
    padding: 0.8rem;
    margin: 0;
    background-color: var(--bs-link-hover-color);
    font-weight: normal;
    font-size: 1.0rem;
    color: #fff;
    border: 1px solid #ccc;
}

.vzorder-button {
    background-color: var(--bs-link-hover-color) !important;
    font-size: 1.5rem !important;
    color: #fff !important;
    padding: 1.0rem 2.0rem !important;
}


.price_summ {
    font-size: 1rem;
    font-weight: bold;    
    text-align: center;
    background-color: transparent;    

}

.slider_price {
    font-size: 1rem;
    font-weight: normal;
    background-color: transparent;    
}

.td.tarif_price {
    min-width: 200px ;
    background-color: transparent;
    font-size: 1rem;
    font-weight: normal;

}

.collect-setup {
    font-size: 1.2rem;

}

.vm_service{

    font-size: 1.2rem;
    text-align: center;
}

.tarif_block {
    padding: 1.0rem;
    border-radius: 0.5rem;
    cursor: pointer;
    margin-bottom: 1rem;
}

.dedicated-tarif-name {
    font-size: 1.5rem;
    color: #fff;
}

.pre-description {
    font-size: 0.8rem;
    color: #eee;

}

.order-container {
    padding: 1.0rem;
    border-radius: 0.5rem;
    color: #fff;
    width: auto;
}

.form-control-estt {
    border-radius: 0.5rem;
    border: 1px solid #ccc;
    padding: 0.2rem;
    max-width: 15rem;
    min-width: 5rem;
    margin-bottom: 1rem;    
    width: -webkit-fill-available;
}

.order-label{
    color: #fff;
    font-size: 1em;
    font-weight: normal;
}

.admin-order-block{
    background-color: #a8ad0e;
    border: 1px solid #ccc;
    border-radius: 1rem;
    margin-top: 10px;
    padding: 10px;
}

.estt-user-order-block {
    border-left: 1px solid #ccc;
}


/* Modal background */
    #customAlert {
      display: none; /* Hidden by default */
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
      justify-content: center;
      align-items: center;
    }

    /* Modal content */
    .alert-box {
      background-color: white;
      padding: 60px;
      border-radius: 8px;
      text-align: center;
      font-size: 1.2em;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .alert-box button {
      margin-top: 10px;
      padding: 10px 20px;
      background-color: #007BFF;
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
    }

    .alert-box button:hover {
      background-color: #0056b3;
    }



.icon-menu {
  /*
  background-image: url('/templates/cassiopeia/images/icon_2.svg');
  background-repeat: no-repeat;
  text-decoration: none;
  */
  font-style: normal;
  color: #000;
  display: inline-block;
  width: 1rem;
  height: 1rem;
}




.btn-wait {

    background-color: #f00 !important;
    color: #fff !important;

}

.param_dropdown {
    background-color: #fff !important;    
    width: 100%;
    padding: 1rem;
    z-index: 10;
}

.form-control-estt[name="order-status"] {
    
    color: #2e9d00;
    font-weight: bold;

}

.sidebar-left .card-body {
    padding: 0rem;    
}


.below-top .mod-estt-balance {
    padding: 0 1.5rem;
    color: #fff;
}

.balance-summary {
    font-size: 1.0rem;
}

.balance-plus {
    color: #00a500;    
}

.below-top .balance-plus {
    color: #fff;    
}


.balance-minus {
    color: #FF0000;
}

.below-top .balance-minus {
    color: #FFFF00;
}


.btn-profile {
    margin: 0 0;
    padding: 0.3rem 0.9rem;
    font-size: 0.9rem;
}

h4 {
    margin-top: 1rem;
}


.container-footer {
    margin-top: 1rem;
    border-top: 1px solid #ccc;
    background-color: #2f80bb;
    font-size: 1rem;
    padding: 1rem;
}

.container-footer {
    color: white;
    width: 100%;
    position: relative;
    bottom: 0;
    left: 0;
}

.footer-copyright {
    color: #fff;
    padding: 1rem;
}

.footer-address {
    background-color: #fff;
    color: #000;
    padding: 1rem;

}

/* Style the dropdown button */
.dropbtn {
  background-color: transparent;
  color: #000;
  padding: 1px 10px;
  font-size: 1rem;
  border: none;
  cursor: pointer;  
}

.param_dropdown {
    display: none;
}

.form-control-estt-del {
    font-size: 0.6rem;
    border-radius: 0.3rem;
    border: 1px solid #ccc;
    padding: 0.2rem;
    max-width: 5rem;
    min-width: 1rem;
    margin-bottom: 1rem;    
    width: -webkit-fill-available;    
}


#system-message-container {
    border: none;
    background-color: transparent;
}


#system-message-container .alert-message {
    padding:.3rem .3rem .3rem 2rem;
    border-radius: 0.5rem;
    border: 1px solid #ccc;
    background-color: #ccc;
    display: block;

}

#system-message-container .alert-alert {
    padding:.3rem .3rem .3rem 2rem;
    border-radius: 0.5rem;
    border: 1px solid #ccc;
    background-color: #eec;
    display: block;

}


#system-message-container .alert-success {
    padding:.3rem .3rem .3rem 2rem;
    border-radius: 0.5rem;
    border: 1px solid #ccc;
    background-color: #cec;
    display: block;

}

#system-message-container .alert-danger {
    padding:.3rem .3rem .3rem 2rem;
    border-radius: 0.5rem;
    border: 1px solid #ccc;
    background-color: #ecc;
    display: block;

}

#system-message-container .alert-info {
    padding:.3rem .3rem .3rem 2rem;
    border-radius: 0.5rem;
    border: 1px solid #ccc;
    background-color: #eee;
    display: block;

}

#system-message-container .alert-error {
    padding:.3rem .3rem .3rem 2rem;
    border-radius: 0.5rem;
    border: 1px solid #ccc;
    background-color: #ffce45;
    display: block;

}


.personal-data-checkbox {
    transform: scale(2.0); /* Scale the checkbox to 1.5 times its original size */
    margin: 1rem;          /* Optional: Add margin for spacing */
    padding: 1rem;
}

.orders-img-pics {
    width: 10rem;
    height: auto;
    float: right;
}

.dashboard-whishes {
    border: 1px solid #ccc;
    display: inline-grid;
    padding: 1rem;
    margin: 1rem;
    border-radius: 1rem;
    color: #ffffff;
    min-height: 250px ;
}

.dashboard-whishes a{
    color: #ffffff;
}

.dashboard-whishes a:hover{
    color: #ffdd33;
}

.qemu-control-buttons {
    width: fit-content;
}


.need_reboot
{
    background: url() !important;
    color: #e00;
    font-size: 1.2em;   
    margin-left: 4px; 
}

.no_reboot
{
    background: url() !important;
    color: #7a9e1e;
    font-size: 1.2em;
    margin-left: 4px;   

}


.drop-hidden li {
    list-style-type: none;
}


