:root {
  /*----- bg-colors -----*/
  --company-color: #0867c0;
}

body {
  background-image: url(../images/background.jpg);
  filter: drop-shadow(1px 4px 5px rgb(0, 0, 0, 0.6));
  background-color: rgba(52, 58, 64, 0.2) !important;
  background-blend-mode: multiply;
}

.phone_panel {
  background: #343a40 !important;
  padding: 5px !important;
  border-radius: 15px !important;
  height: 610px;
}
.phone_panel .card-body {
  border-radius: 10px !important;
}
.phone_top_bottom {
  height: 50px;
  right: 0;
  left: 0;
}
.phone_top {
  margin-top: 5px;
  margin-left: 5px;
  margin-right: 5px;
  border-radius: 5px;
}
.phone_bottom {
  margin-top: 5px;
  margin-left: 5px;
  margin-right: 5px;
  border-radius: 5px;
}
.phone_bottom .add_button {
  border-radius: 5px;
  outline: none;
  border: none;
  color: #fff;
}
.phone_bottom .add_button:active {
  filter: contrast(0.5);
}
.phone_content {
  height: 480px;
  width: 100%;
  margin-top: 4px;
  margin-bottom: 4px;
  overflow: auto;
  position: relative;
  padding: 5;
}
.phone_contents {
  background: #fff;
  margin-bottom: 5px;
  height: 70px;
  border-radius: 5px;
  -webkit-box-shadow: 4px 5px 6px 0px rgb(34 60 80 / 20%);
  -moz-box-shadow: 4px 5px 6px 0px rgba(34, 60, 80, 0.2);
  box-shadow: 4px 5px 6px 0px rgb(34 60 80 / 20%);
  padding: 5px;
  text-align: right;
  position: relative;
}
.phone_contents {
  -webkit-animation: appear 1s ease 0s 1 normal;
  -moz-animation: appear 1s ease 0s 1 normal;
  -ms-animation: appear 1s ease 0s 1 normal;
  animation: appear 1s ease 0s 1 normal;
}

@-webkit-keyframes appear {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }
  60% {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}
@keyframes appear {
  0% {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
  60% {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}
.phone_contents button {
  height: 100%;
}
.phone_contents_text {
  position: absolute;
  height: 60px;
  padding-left: 10px;
}
.phone_contents_text_name {
  margin-left: 65px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 150px;
}
.phone_contents_text_price {
  margin-left: 65px;
}
.phone_contents_text_logo {
  border: var(--company-color) solid 2px;
  color: var(--company-color);
  height: 60px;
  width: 60px;
  position: absolute;
  border-radius: 10px;
  text-align: center;
  padding-top: 15px;
  font-weight: bold;
}

.phone_content_details {
  position: absolute;
  background: rgb(0, 0, 0, 0.5);
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  border-radius: 10px;
  opacity: 0;
  transition: all 0.5s;
}
.phone_content_details_panel {
  width: 80%;
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.phone_content_details_panel p {
  margin-bottom: 5px;
}
.detail_opened {
  opacity: 1 !important;
  z-index: 1;
}

.left_menu {
  width: 60px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  position: fixed;
  left: 0;
  bottom: 400px;
  padding: 5px;
}

.left_menu_contents {
  height: 50px;
  width: 100%;
  background: #fff;
  color: var(--company-color);
  border-radius: 5px;
  margin-bottom: 5px;
  outline: none;
  border: none;
  font-size: 30px;
}
.left_active {
  background: var(--company-color) !important;
  color: #fff !important;
}
.left_menu_contents:nth-last-child(1) {
  margin-bottom: 0;
}

::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
::-webkit-scrollbar-button {
  width: 0px;
  height: 0px;
}
::-webkit-scrollbar-thumb {
  background: #000000;
  border: 0px none #ffffff;
  border-radius: 50px;
}
::-webkit-scrollbar-thumb:hover {
  background: #000000;
}
::-webkit-scrollbar-thumb:active {
  background: #000000;
}
::-webkit-scrollbar-track {
  background: #ffffff;
  border: 0px none #ffffff;
  border-radius: 50px;
}

.rounded-left-0 {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}
.rounded-right-0 {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.company_bg_color {
  background: var(--company-color) !important;
}
.company_text_color {
  color: var(--company-color) !important;
}
.bg_black_opacity {
  background: rgb(0, 0, 0, 0.5);
  color: #fff;
}

.cursor-pointer {
  cursor: pointer;
}

.change_p {
  display: none;
}
.change_position {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: var(--company-color);
  filter: opacity(0.8);
  z-index: 1;
  border-radius: 5px;
  display: block !important;
}
.change_position_z {
  z-index: 11;
}
.change_position_buttons {
  height: 50% !important;
  width: 100% !important;
  border: none;
  outline: none;
  background: none;
  color: #ffffff;
}
.change_position_buttons:first-child {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}
.change_position_buttons:last-child {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}
.change_position_buttons:hover {
  background: #000;
}
.change_position_others {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: #fff;
  filter: opacity(0.5);
  z-index: 1;
  border-radius: 5px;
  display: block !important;
}
.change_position_bg {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 10;
  backdrop-filter: grayscale(1);
}
.change_p_s {
  display: none;
}
.change_position_others_s {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: #fff;
  filter: opacity(0.5);
  z-index: 1;
  border-radius: 4px;
  display: block !important;
  margin: 0 4;
}
.change_position_s {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  right: 0 !important;
  left: 0 !important;
  background: var(--company-color) !important;
  filter: opacity(0.8) !important;
  z-index: 1 !important;
  border-radius: 4px !important;
  display: block !important;
}
.change_position_buttons_s {
  height: 50% !important;
  width: 100% !important;
  border: none;
  outline: none;
  background: none;
  color: #ffffff;
}
.change_position_buttons_s:first-child {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}
.change_position_buttons_s:last-child {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}
.change_position_buttons_s:hover {
  background: #000;
}

.content_load {
  -webkit-animation: flipiny 1s ease 0s 1 normal;
  -moz-animation: flipiny 1s ease 0s 1 normal;
  -ms-animation: flipiny 1s ease 0s 1 normal;
  animation: flipiny 1s ease 0s 1 normal;
}

@-webkit-keyframes flipiny {
  0% {
    opacity: 0;
    -webkit-transform: perspective(400px) rotateY(0deg);
    transform: perspective(400px) rotateY(90deg);
  }
  40% {
    -webkit-transform: perspective(400px) rotateY(0deg);
    transform: perspective(400px) rotateY(-10deg);
  }
  70% {
    -webkit-transform: perspective(400px) rotateY(0deg);
    transform: perspective(400px) rotateY(10deg);
  }
  100% {
    opacity: 1;
    -webkit-transform: perspective(400px) rotateY(0deg);
    transform: perspective(400px) rotateY(0deg);
  }
}

@keyframes flipiny {
  0% {
    opacity: 0;
    transform: perspective(400px) rotateY(90deg);
  }
  40% {
    transform: perspective(400px) rotateY(-10deg);
  }
  70% {
    transform: perspective(400px) rotateY(10deg);
  }
  100% {
    opacity: 1;
    transform: perspective(400px) rotateY(0deg);
  }
}

.dropdown-menu {
  -webkit-animation: bounce-in 0.5s ease 0s 1 normal;
  -moz-animation: bounce-in 0.5s ease 0s 1 normal;
  -ms-animation: bounce-in 0.5s ease 0s 1 normal;
  animation: bounce-in 0.5s ease 0s 1 normal;
}

@-webkit-keyframes bounce-in {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.3);
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  70% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes bounce-in {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

.checkbox-ios {
  display: inline-block;
  height: 28px;
  line-height: 28px;
  margin-right: 10px;
  position: relative;
  vertical-align: middle;
  font-size: 14px;
  user-select: none;
}
.checkbox-ios .checkbox-ios-switch {
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  width: 56px;
  height: 28px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 25%/50%;
  vertical-align: top;
  background: #eee;
  transition: 0.2s;
}
.checkbox-ios .checkbox-ios-switch:before {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
  transition: 0.15s;
}
.checkbox-ios input[type="checkbox"] {
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  z-index: -1;
  opacity: 0;
}
.checkbox-ios
  input[type="checkbox"]:not(:disabled):active
  + .checkbox-ios-switch:before {
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);
}
.checkbox-ios input[type="checkbox"]:checked + .checkbox-ios-switch {
  background: limegreen;
}
.checkbox-ios input[type="checkbox"]:checked + .checkbox-ios-switch:before {
  transform: translateX(28px);
}

/* Hover */
.checkbox-ios input[type="checkbox"]:not(:disabled) + .checkbox-ios-switch {
  cursor: pointer;
  border-color: rgba(0, 0, 0, 0.3);
}

/* Disabled */
.checkbox-ios input[type="checkbox"]:disabled + .checkbox-ios-switch {
  filter: grayscale(70%);
  border-color: rgba(0, 0, 0, 0.1);
}
.checkbox-ios input[type="checkbox"]:disabled + .checkbox-ios-switch:before {
  background: #eee;
}

/* Focus */
.checkbox-ios.focused .checkbox-ios-switch:before {
  box-shadow: inset 0px 0px 4px #ff5623;
}

.news-panel {
  position: fixed;
  width: 100%;
  height: 29px;
}

.news-panel h6 {
  margin-bottom: 5px;
  margin-top: 5px;
  color: #ffffff !important;
  cursor: pointer;
}
.news-panel marquee {
  background: rgba(0, 0, 0, 0.4);
}

.details_description {
  max-height: 300px;
  overflow: scroll;
}

.phone_news_text_name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 250px;
}
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

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

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.ck.ck-balloon-panel {
  z-index: 88888 !important;
}

.progress-wrp {
  border: 1px solid #0099CC;
  padding: 1px;
  position: relative;
  height: 30px;
  border-radius: 3px;
  margin: 10px;
  text-align: left;
  background: #fff;
  box-shadow: inset 1px 3px 6px rgba(0, 0, 0, 0.12);
}

.progress-wrp .progress-bar {
  height: 100%;
  border-radius: 3px;
  background-color: #f39ac7;
  width: 0;
  box-shadow: inset 1px 1px 10px rgba(0, 0, 0, 0.11);
}

.progress-wrp .status {
  top: 3px;
  left: 50%;
  position: absolute;
  display: inline-block;
  color: #000000;
}

.modal-extra-lg {
  width: 1100px !important;
  max-width: 1100px !important;
}