:root{
  --sweet-alert-gray: #797979
 }

.info-underline {
  border-bottom: 3px solid;
}

.iot-underline {
  border-bottom: 3px solid;
}

.arrow-next {
  /* margin: auto; */
  margin-right: 8px;
/*  padding-right: 15px;*/
}

.arrow-prev {
/*  padding-left: 15px;*/
width: 64px;
}

.arrow-next i {
  color: #999;
}

.arrow-prev i {
  color: #999;
}

.border-ecocute, .border-waterheateroil, .border-waterheatergas {
  border-color: #3aa337;
}

.border-aircon {
  border-color: #2698ca;
}

.border-heatmachinecool {
  border-color: #f18838;
}

.border-heatmachinehot {
  border-color: #e3a835;
}

.border-watchover {
  border-color: #daa5fe !important;
}

.border-purple {
  border-color: #6f42c1 !important;
}

.app-title-iot {
  display: flex;
  align-items: center;
  background-color: #FFF;
  margin: -30px -30px 30px;
  padding: 20px 30px;
}

.app-title-iot h1 {
  margin: 0;
/*  font-size: 24px;*/
/*  font-size: 1.4rem;*/
  font-size: 5vw;
  font-weight: 400;
}

@media (max-width: 480px) {
  .app-title-iot {
    display: flex;
    margin: -15px -15px 15px;
    padding: 20px;
    height: 75px;
    align-items: center;
  }
}

.app-title-icon {
  width: 100px;
}

.widget-small-iot {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border-radius: 4px;
  color: #FFF;
/*
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
          box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
*/
}

.widget-small-iot .icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  font-size: 1.5rem;
}

.widget-small-iot.success {
  background-color: #28a745;
}

.widget-small-iot.success.coloured-icon {
  background-color: #fff;
  color: #2a2a2a;
}

.widget-small-iot.success.coloured-icon .icon {
  background-color: #28a745;
  color: #fff;
}

.widget-small-iot.info {
  background-color: #5bc0de;
}

.widget-small-iot.info.coloured-icon {
  background-color: #fff;
  color: #2a2a2a;
}

.widget-small-iot.info.coloured-icon .icon {
  background-color: #5bc0de;
  color: #fff;
}

.widget-small-iot.warning {
  background-color: #ffc107;
}

.widget-small-iot.warning.coloured-icon {
  background-color: #fff;
  color: #2a2a2a;
}

.widget-small-iot.warning.coloured-icon .icon {
  background-color: #ffc107;
  color: #fff;
}

.usage {
  background-color: #fff;
  padding: 1.25rem;
}

.usage-subtitle {
  font-size: 20px;
  vertical-align: middle;
  margin-left: 5px;
}


.btn:not(.btn-primary, .btn-secondary) {
  color: #000;
}

.btn-default {
  color: #808080;
  background-color: #dddddd;
}


.btn-switch-blue {
  /* 109,208,244 */
  /* color: #212529; */
  /* background-color: #6dd0f4; */
  /*background-color: #FFF;*/
  /* border-color: #6dd0f4; */
  background: none;
  box-shadow: none !important;
  /* height: 70px; */
  background-image: url("../img/switch/switchA_1_on.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  font-size: 250%;
}


.btn-switch-outline-blue,
.btn-outline-switch-blue {
  box-shadow: none !important;
  background: none;
  /* height: 70px; */
  background-image: url("../img/switch/switchA_1_off.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  font-size: 250%;
}

.btn-switch-blue_B {
  background: none;
  box-shadow: none !important;
  /* height: 70px; */
  background-image: url("../img/switch/switchB_1_on.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  font-size: 250%;

}

.btn-switch-outline-blue_B,
.btn-outline-switch-blue_B {
  /*border: none;*/
  box-shadow: none !important;
	outline: none;
  background: none;
  /* height: 70px; */
  background-image: url("../img/switch/switchB_1_off.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  font-size: 250%;

}

.btn-outline-blue {
  color: #212529;
  background-color: transparent;
  border-color: #6dd0f4;
  border: 3px solid #6dd0f4;
}

.btn-switch-orange {
  /* 251,176,59 */
  /* color: #212529;
  background-color: #fbb03b;
  border-color: #fbb03b; */
  background: none;
  box-shadow: none !important;
  /* height: 70px; */
  background-image: url("../img/switch/switchA_2_on.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  font-size: 250%;

}

.btn-switch-outline-orange,
.btn-outline-switch-orange {
  /* color: #212529;
  background-color: transparent;
  border-color: #fbb03b;
  border: 3px solid #fbb03b; */
  background: none;
  box-shadow: none !important;
  /* height: 70px; */
  background-image: url("../img/switch/switchA_2_off.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  font-size: 250%;
}


.btn-switch-orange_B {
  background: none;
  box-shadow: none !important;
  /* height: 70px; */
  background-image: url("../img/switch/switchB_4_on.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  font-size: 250%;
}

.btn-switch-outline-orange_B,
.btn-outline-switch-orange_B {
  background: none;
  box-shadow: none !important;
  /* height: 70px; */
  background-image: url("../img/switch/switchB_4_off.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  font-size: 250%;
}





.btn-switch-yellow {
  /* 251,176,59 */
  /* color: #212529;
  background-color: #fbb03b;
  border-color: #fbb03b; */
  background: none;
  box-shadow: none !important;
  /* height: 70px; */
  background-image: url("../img/switch/switchA_5_on.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  font-size: 250%;

}

.btn-switch-outline-yellow,
.btn-outline-switch-yellow {
  /* color: #212529;
  background-color: transparent;
  border-color: #fbb03b;
  border: 3px solid #fbb03b; */
  background: none;
  box-shadow: none !important;
  /* height: 70px; */
  background-image: url("../img/switch/switchA_5_off.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  font-size: 250%;
}





.btn-switch-yellow_B {
  background: none;
  box-shadow: none !important;
  /* height: 70px; */
  background-image: url("../img/switch/switchB_4_on.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  font-size: 250%;
}

.btn-switch-outline-yellow_B,
.btn-outline-switch-yellow_B {
  background: none;
  box-shadow: none !important;
  /* height: 70px; */
  background-image: url("../img/switch/switchB_4_off.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  font-size: 250%;
}







.btn-switch-gray {
  background: none;
  box-shadow: none !important;
  /* height: 70px; */
  background-image: url("../img/switch/switchA_3_on.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  font-size: 250%;
}

.btn-switch-outline-gray {
  background: none;
  box-shadow: none !important;
  /* height: 70px; */
  background-image: url("../img/switch/switchA_3_off.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  font-size: 250%;
}


.btn-switch-pink {
  /* 243,174,204 */
  /* color: #212529;
  background-color: #f3aecc;
  border-color: #f3aecc; */
  /*border: none;*/
  box-shadow: none !important;
	outline: none;
  background: none;
  /* height: 70px; */
  background-image: url("../img/switch/switchA_6_on.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  font-size: 250%;
}

.btn-switch-outline-pink {
  /*border: none;*/
	outline: none;
  background: none;
  box-shadow: none !important;
  /* height: 70px; */
  background-image: url("../img/switch/switchA_6_off.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  font-size: 250%;
}

.btn-switch-pink_B {
  background: none;
  box-shadow: none !important;
  /* height: 70px; */
  background-image: url("../img/switch/switchB_2_on.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  font-size: 250%;
}

.btn-switch-outline-pink_B {
  /*border: none;*/
	outline: none;
  background: none;
  box-shadow: none !important;
  /* height: 70px; */
  background-image: url("../img/switch/switchB_2_off.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  font-size: 250%;
}

.btn-switch-green {
  /* 暫定 */
  color: #212529;
  background-color: #99CB95;
  border-color: #99CB95;
}

.btn-switch-green_B {
  /*border: none;*/
	outline: none;
  background: none;
  box-shadow: none !important;
  /* height: 70px; */
  background-image: url("../img/switch/switchB_3_on.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  font-size: 250%;
}


.btn-switch-outline-green_B {
  /*border: none;*/
	outline: none;
  background: none;
  box-shadow: none !important;
  /* height: 70px; */
  background-image: url("../img/switch/switchB_3_off.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  font-size: 250%;
}

.btn-switch-green1 {
  /*border: none;*/
	outline: none;
  background: none;
  box-shadow: none !important;
  /* height: 70px; */
  background-image: url("../img/switch/switchA_4_on.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  font-size: 250%;
}

.btn-switch-outline-green1 {
  /* border: none; */
  outline: none;
  background: none;
  box-shadow: none !important;
  /* height: 70px; */
  background-image: url("../img/switch/switchA_4_off.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  font-size: 250%;
}

.btn-switch-disabled {
  color: #808080 !important;
  /*border: none;*/
	outline: none;
  background: none;
  box-shadow: none !important;
  /* height: 70px; */
  background-image: url("../img/switch/switchA_off.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  font-size: 250%;
}

.btn-switch-disabled_B {
  color: #808080 !important;
  /*border: none;*/
	outline: none;
  background: none;
  box-shadow: none !important;
  /* height: 70px; */
  background-image: url("../img/switch/switchB_off.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  font-size: 250%;
}

.service-icon {
  margin: 5px;
  width: 64px;
  height: 64px;
}

.usage-icon {
  width: 32px;
  height: 22.5px;
}

.temp0 {
  font-size: 3rem;

}

.temp {
  font-size: 4rem;
}

.temp2 {
  /* font-size: 2rem; */
  font-size: 4rem;
}

.temp-unit {
  font-size: 50%;
}

.setting-temp-50 {
  width: 50%;
}

.setting-temp-center {
  text-align: -webkit-center;
}

.row-eq-height {
    display: flex;
    flex-wrap: wrap;
}

.wakiagetyu p {
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  margin:0;
  padding:0;
  /*文字の装飾は省略*/
  color: white;
  font-size: 6.5vw;
  }


.text-center2 {
  position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%); /* Safari用 */
  transform: translateY(-50%);
}

.text-center3 {
  position: relative;
  top: 55%;
  -webkit-transform: translateY(-50%); /* Safari用 */
  transform: translateY(-50%);
}

.setting {
  background: #ddd;
}
#setting-wrap {}

#setting-wrap .card {
  height: 100%;
}

#setting-wrap .card a {
  color: #000;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

#setting-wrap .col-5 a {
    font-size: 5vw;
}

#setting-wrap .first {
  width: 70%;
}

#setting-wrap .second {
  width: 30%;
}

#setting-wrap h4,
#setting-wrap i {
  height: 100%;
}

#setting-wrap h4 {
    text-align: right;
    font-size: 7vw;
    font-weight: normal;
    margin-bottom: 0;
    white-space: nowrap;
}

#setting-wrap i {
  display: block;
  text-align: center;
  font-size: 2.6vw;
  color: #666;
}

.tos {
  white-space: pre;           /* CSS 2.0 */
  white-space: pre-wrap;      /* CSS 2.1 */
  white-space: pre-line;      /* CSS 3.0 */
  white-space: -pre-wrap;     /* Opera 4-6 */
  white-space: -o-pre-wrap;   /* Opera 7 */
  white-space: -moz-pre-wrap; /* Mozilla */
  white-space: -hp-pre-wrap;  /* HP Printers */
  word-wrap: break-word;      /* IE 5+ */
  font-family: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.nowrap {
  white-space: nowrap;
}

.graph-wrapper {
  height: 72px;
}

.tickLabel { font-size: 100%; }

.select-device-list a {
  text-decoration: none;
}

.widget-small {
  display: flex;
  align-items: center;
  padding: 8px 0;
}

.widget-small .info h4 {
  margin-bottom: 0;
}


@media (max-width:480px) {
  .widget-small {
    height: 75px;
  }
}


@media (max-width:320px) {
  .temp {
    font-size: 3.6rem;
  }

  .temp-unit {
    font-size: 45%;
  }
}

@media (max-width:699px) {
  .graph-wrapper {
    height: 50px;
  }
}

@media (min-width:700px) {
  .usage-subtitle {
    font-size: 40px;
  }
  .usage-icon {
    width: 64px;
    height: 50px;
  }
}


.setting_btn {
  font-size: 1.5rem !important;
  height: 3rem !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: url("../img/select.png") no-repeat;
  background-size: 10px;
  background-position: calc(100% - 10px) center;
  background-repeat: no-repeat;
  background-color: white;
}


.btn-switch-pink-souji {
  /*border: none;*/
	outline: none;
  background: none;
  box-shadow: none !important;
  /* height: 70px; */
  background-image: url("../img/switch/switchA_souji_on.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  font-size: 250%;
}

.btn-switch-outline-pink-souji {
  /* border: none; */
  outline: none;
  background: none;
  box-shadow: none !important;
  /* height: 70px; */
  background-image: url("../img/switch/switchA_souji_off.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  font-size: 250%;
}


/*
    iOS 15
            */

.chofu-select > .btn:not([disabled]):not(.disabled):not(.btn-link):hover,
.chofu-select > .btn:not([disabled]):not(.disabled):not(.btn-link):focus {
  text-decoration: none;
  transform: none;
  box-shadow: none;
}

.chofu-select > .btn-outline-dark {
  color: #495057;
  background-color: transparent;
  border-color: #ced4da;
}

.chofu-select.show > .btn-outline-dark.dropdown-toggle {
  color: #495057;
  background-color: white;
  border-color: orange;
}

.chofu-select > .dropdown-toggle::after {
  position: absolute;
  top: 50%;
  right: 0.3em;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

.chofu-select > .dropdown-menu {
  background-color: ghostwhite;
  min-width: 0;
  max-height: 40vh;
  border-radius: 10px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  -webkit-box-shadow: none;
          box-shadow: none;
}

.chofu-select .dropdown-item:not(:last-child) {
  border-bottom: 1px solid silver;
}

#solar_setting_form h3 {
  padding-left: 10px;
}

#solar_setting_form label {
  margin-bottom: 0;
  margin-top: 0.5rem
}

#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Light gray overlay */
  z-index: 9999; /* Ensure it's on top of other content */
}

.solar-input {
  font-size: 16px !important;
  border-radius: 8px !important;
}
.solar-hr {
  height: 3px;
  border: none;
  color: #333;
  background-color: #00000038;
}

#div_solar_setting_btn .btn-switch-outline-gray {
  background: none;
  box-shadow: none !important;
  background-image: url("../img/switch/switchA_3_off.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  font-size: 170% !important;
  min-height: 70px !important;
  width: 100%;
}

/* Styles for iPad Mini */
@media only screen
  and (min-device-width: 768px)
  and (max-device-width: 1024px)
  and (-webkit-min-device-pixel-ratio: 1) {
    #div_solar_setting_btn .btn-switch-outline-gray {
      background: none;
      box-shadow: none !important;
      background-image: url("../img/switch/switchA_3_off.png");
      background-size: 100% 100%;
      background-repeat: no-repeat;
      background-position: 0 0;
      min-height: 113px !important;
      font-size: 170% !important;
      width: 100%;
    }
}

/**
 * loading spinner of device operation screen
 */

.loading-div {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 120px;
  background-color: white;
  color: black;
  font-size: 16px;
  text-align: center;
  border-radius: 3px;
  z-index: 9999;
  box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.15);
}

.loading-text {
  margin-top: 7px;
  padding: 3px 0;
  font-weight: 500;
  font-size: 16px;
  color: var(--sweet-alert-gray);
}

.spinner-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  padding-top: 12px;
}

.dot-spinner  {
  height: 48px;
  width: 48px;
  animation: rotate 2s linear infinite;
}

.dot-spinner > div {
  position: absolute;
  width: 13px;
  height: 13px;
  background-color: #3498db;
  border-radius: 50%;
  transform: scale(1);
}

.dot-spinner div:nth-child(1) {
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg) scale(0.7);
}
.dot-spinner div:nth-child(2) {
  top: 14%;
  left: 85%;
  transform: translate(-50%, -50%) rotate(45deg) scale(0.7);
}
.dot-spinner div:nth-child(3) {
  top: 50%;
  left: 100%;
  transform: translate(-50%, -50%) rotate(90deg) scale(0.8);
}
.dot-spinner div:nth-child(4) {
  top: 85%;
  left: 85%;
  transform: translate(-50%, -50%) rotate(135deg) scale(0.9);
}
.dot-spinner div:nth-child(5) {
  top: 100%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(180deg) scale(0.9);
}
.dot-spinner div:nth-child(6) {
  top: 85%;
  left: 14%;
  transform: translate(-50%, -50%) rotate(225deg) scale(1.0);
}
.dot-spinner div:nth-child(7) {
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%) rotate(270deg) scale(1.0);
}
.dot-spinner div:nth-child(8) {
  top: 14%;
  left: 14%;
  transform: translate(-50%, -50%) rotate(315deg) scale(1.0);
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9998;
}

a, img {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  user-select: none;
}