

.C_icon_menu {
    position: relative;
    width: 50px; height: 50px;
    cursor: pointer;
}

.C_icon_menu-bar1 {
    position: absolute;
    left: 10px;
    top: 25px;
    width: 33px;
    height: 2.5px;
    border-radius: 3px;
    background-color: #323232;
    animation: menubar .75s ease-in-out 0s 1;
    -o-animation: menubar .75s ease-in-out 0s 1;
    -webkit-animation: menubar .75s ease-in-out 0s 1;
    -ms-animation: menubar .75s ease-in-out 0s 1;
    -moz-animation: menubar .75s ease-in-out 0s 1;

    animation-timing-function: ease-in-out;
}

.C_icon_menu-bar2 {
    position: absolute;
    left: 10px;
    top: 33px;
    width: 20px;
    height: 2.5px;
    border-radius: 3px;
    background-color: #323232;
    animation: menubar1 .75s ease-in-out 0s 1;
    -o-animation: menubar1 .75s ease-in-out 0s 1;
    -webkit-animation: menubar1 .75s ease-in-out 0s 1;
    -ms-animation: menubar1 .75s ease-in-out 0s 1;
    -moz-animation: menubar1 .75s ease-in-out 0s 1;

    animation-timing-function: ease-in-out;
}

@keyframes menubar{
    0% {
        width: 0;;
    }
    100%    {
      width: 33px;
    }
  }

  @keyframes menubar1{
    0% {
        width: 0;;
    }
    100%    {
      width: 20px;
    }
  }


.C_header {
    height: 75px !important;
}

.C_sub_header {
    padding: 10px 20px;
    width: calc(100% - 40px );
    min-height: 125px;
    height: auto;
    display: inline-block;
    line-height: 2.5rem;
    animation: sub_header .75s ease-in-out 0s 1;
    -o-animation: sub_header .75s ease-in-out 0s 1;
    -webkit-animation: sub_header .75s ease-in-out 0s 1;
    -ms-animation: sub_header .75s ease-in-out 0s 1;
    -moz-animation: sub_header .75s ease-in-out 0s 1;

    animation-timing-function: ease-in-out;
}

@keyframes sub_header {
    0% {
        margin-top: 50px;
        opacity: 0;
    }
    100%    {
      margin-top: 0px;
      opacity: 1;
    }
  }

.C_sub_header-text-xl {
    font-weight: bold;
    font-size: 32px;
    text-transform: capitalize;
}

.C_sub_header-text-m {
    font-size: 20px;
}

.C_select_img {
    width: 180px;
    height: 180px;
    float: left;
}

.C_select_img-selected {
    background-color: #e0e0e0;
}

.C_select_img input[type=radio]  {
    display: none;
}

.C_select_img-box {
    position: relative;
    margin: auto;
    width: 140px;
    height: 140px;
    border: 1px solid #d0d0d0;
    border-radius: 15px;
}

.C_select_img-box:hover {
    background-color: #f0f0f0;
}

.C_select_img-img {
    position: relative;
    width: 110px;
    height: 110px;
    margin: auto;
    left: 15px;
    top: 13px;
}

.C_select_img-text {
    text-align: center;
    font-size: 13px;
    color: #323232;
    padding-top: 8px;;
}

.C_submenu {
    width: 100%; height: 150px;
}

.C_submenu-header {
    width: calc(100% - 20px);
    text-align: left;
    padding: 15px 10px;
}

.C_submenu_container, .C_snap_container {
    min-width: 100%;
    max-height: 110px;
    overflow-x: auto;
    white-space: nowrap;
}

/*.C_submenu_container::-webkit-scrollbar, .C_snap_container::-webkit-scrollbar {
    width: 5px;
    height: 5px; border-radius: 3px;
}
.C_submenu_container::-webkit-scrollbar-track, .C_snap_container::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}
.C_submenu_container::-webkit-scrollbar-thumb, .C_snap_container::-webkit-scrollbar-thumb {
  background-color: #aaa;
}*/

.C_snapshot, .C_button_menu {
    width: 100px;
    height: 100px;
    display: inline-block;
    cursor: pointer;
}



.C_snapshot-selected, .C_button_menu-selected {
    background-color: #e0e0e0;
}

.C_snapshot input[type=radio], .C_button_menu input[type=radio] {
    display: none;
}

.C_snapshot-box, .C_button_menu-box {
    position: relative;
    margin: auto;
    width: 60px;
    height: 60px;
    border: 1px solid #d0d0d0;
    border-radius: 15px;
}

.C_snapshot-box:hover, .C_button_menu-box:hover {
    background-color: #f0f0f0;
}

.C_snapshot-img, .C_button_menu-img {
    position: relative;
    width: 30px;
    height: 30px;
    margin: auto;
    left: 15px;
    top: 13px;
}

.C_snapshot-text, .C_button_menu-text {
    text-align: center;
    font-size: 13px;
    color: #323232;
    padding-top: 8px; width: 100px;
    white-space: normal;
}

.C_info_container {
    position: relative;
    width: calc(100% - 40px);
    top: 33vh;
    overflow: auto;
    z-index: 1 !important;
    display: block;
    text-align: center;
}

.C_info_container-text2 {
    text-align: left; margin: 10px 100px;
    font-size: 14px;
}

.C_container {
    width: calc(100% - 10px);
    height: auto;
    margin-top: 20px;
    padding: 5px;
}

.C_config-container2 {
    position: relative;
    display: block;
    min-height: 100px;
    height: auto;
    width: calc(100% - 20px);
    height: auto;
    margin: 5px;
    margin-top: 50px;
    padding: 5px; 
    /*box-shadow: 0px 1px 1px 2px #e0e0e0;*/
    border-bottom: 1px solid #e0e0e0;
}

.C_device-container {
    width: calc(100% - 10px);
    display: inline-block;
    overflow: hidden;
    padding: 5px;
}

.C_device-container .C_device1 {
    float: left;
}

.C_device-text {
    width: 100%;;
    font-size: 24px;
    font-weight: bold;
    text-align: left;
    padding: 10px 20px;
    /*padding-top: 10px; padding-bottom: 10px;;*/
    margin-bottom: 10px;;
}

.C_device1-disabled {
    opacity: 0.5;
}

.C_device1-busy {
    opacity: 0.5;
}

.C_device1 {
    position: relative;
    width: calc(50% - 10px); height: 240px; 
    box-shadow: 0px 0px 2px 1px #ddd;
    border-radius: 30px;
    cursor: pointer;
    margin: 5px;
    font-size: 13px;
    overflow: hidden;
}

.C_device1-configmode {
    background-color:red;
}

.C_device1-localmode {
    background-color:aliceblue;
}

@media only screen and (min-width: 480px) {
    .C_device1 {
       width: 200px; height: 270px;
       margin: 10px;
       font-size: 15px;
    }
}

.C_device1-status {
    position: absolute;
    top: 15px; right: 15px; width: 10px; height: 10px; border-radius: 7px;
    background-color: #a0a0a0;
}

.C_device1-status-online {
    background-color: lightgreen;
}

.C_device1-status-offline {
    background-color: #a0a0a0;
}

.C_device1-img {
    height: 65%; overflow: hidden; margin: auto;
}

.C_device1-img img{
    width: 70%;
    height: 70%;
    margin: auto;
    margin-left: 15%; margin-top: 17%;
    background-repeat: no-repeat;
}

.C_device1-bottom {
    padding-left: 20px;
    width: calc(100% - 10px);
    height: 60px;
}

.C_device1-bottom div {
    float: left;
}

.C_device1-header {
    width: 100%;
    display: inline-block;
}

.C_device1-header .C_button_img {
    float: right;
}

.C_device1-header-text {
    margin-top: 15px;
    padding-left: 10px;
    height: 100%;
    font-size: 20px; font-weight: bold;
    color: #444;
    float: left;
    text-transform: capitalize;
}

.C_device1-text {
    margin-top: 15px;
    width: 60%;
    height: auto;
    font-size: 15px; font-weight: bold;
    color: #444;
    float: left;
}

.C_device1-switch .C_smac_switch {
    width: 60px;
    height: 30px;
    margin-top: 30px;
}

.C_device1-switch .C_smac_switch-btn {
    width: 50px;
    height: 50px;
    margin-top: 30px;
}


@media only screen and (max-width: 420px) {

    .C_device1-bottom {
        padding-left: 10px;
    }

    .C_device1-text {
       width: 60%;
       margin: auto;
       font-size: 13px;
    }

    .C_device1-text span {
        font-size: 11px;
    }

    .C_device1-switch .C_smac_switch {
        width: 30px;
        height: 30px;
        margin-top: 30px;
        margin-left: 10px;
    }

    .C_info_container-text2 {
        margin: 10px 20px; 
    }
}


.C_device-text p {
    margin-bottom: 5px !important;
}

.C_device1-text span {
    font-size: 12px; color: #777; font-weight: bold;
}



.C_rotate90 {
    transform: rotate(-90deg);
}


.C_snapshot-buttons {
    position: relative;
    /*left: 0; bottom: 0;*/
    width: 100%; height: 60px;
    display: inline-block;
    /*box-shadow: 3px 5px 3px #d0d0d0;
    box-shadow: inset 0px 8px 8px -10px #CCC;*/
    margin-top: 50px;
}

.C_snapshot-buttons .C_snapshot-btn {
    float: left;
}

.C_snapshot-btn {
    width: calc(50% - 20px); 
    height: calc(100% - 10px);
    color: #fff;
    font-size: 17px;
    position: relative;
    /*border-radius: 10px;
    box-shadow: 0px  0px 3px #d0d0d0;*/
    padding: 5px 0px;
    margin-left: 10px;
    background-color: #444;
    border-radius: 10px;
}

.C_snapshot-btn:hover {
    /*background-color:  #f0f0f0;*/
    opacity: 0.5;
}

.C_snapshot-btn p {
    position: relative;
    text-align: center;
}

.C_snapshot-select-page {
    position: relative;
    /*height: calc(100% - 80px);*/
    margin-top: 50px;
    width: 60%;
    margin-left: 20%;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: max-content;
    display: inline-block;
    white-space: normal;
}

@media only screen and (max-width: 640px) {
    .C_snapshot-select-page {
        width: 90%;
        margin-left: 5%;
        margin-top: 50px;
    }
}



.C_main1 {
    position: relative;
    width: 100%; height: 100vh;
    left: 0;
    top: 0;
    overflow: auto;
    z-index: 1 !important;
    display: block;
}


.C_device_config-container {
    width: calc(100% - 20px);
    overflow-x: auto;
    overflow-y: auto;
    height: calc( 100vh - 80px);
    max-height: calc(100vh - 80px);
    white-space: nowrap;
    padding: 0px 10px;
}

.C_device_config-block {
    width: 100%; height: 100%;
    display: inline-block;
    animation: top_anim .75s ease-in-out 0s 1;
    -o-animation: top_anim .75s ease-in-out 0s 1;
    -webkit-animation: top_anim .75s ease-in-out 0s 1;
    -ms-animation: top_anim .75s ease-in-out 0s 1;
    -moz-animation: top_anim .75s ease-in-out 0s 1;
    animation-timing-function: ease-in-out;
}

@keyframes top_anim {
    0% {
        margin-top: 50px;
        opacity: 0;
    }
    100%    {
      margin-top: 0px;
      opacity: 1;
    }
}

.C_device_config-block-input p {
    text-align: center;
}

.C_device_config-block-buttons {
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 60px;
    display: inline-block;
    /*box-shadow: 3px 5px 3px #d0d0d0;*/
    box-shadow: inset 0px 8px 8px -10px #CCC;
}

.C_device_config-block-buttons .C_device_config-block-btn {
    float: left;
}

.C_device_config-block-btn {
    width: calc(50% - 20px); 
    height: calc(100% - 10px);
    color: #222;
    font-size: 17px;
    position: relative;
    /*border-radius: 10px;
    box-shadow: 0px  0px 3px #d0d0d0;*/
    padding: 5px 0px;
    margin-left: 10px;
}

.C_device_config-block-btn:hover {
    background-color:  #f0f0f0;
}

.C_device_config-block-btn p {
    position: relative;
    text-align: center;
}

.C_device_config-block-left {
    position: absolute;
    left: 5px; top: calc(50vh - 30px);
    width: 60px;
    height: 60px;
    cursor: pointer;
}

.C_device_config-block-left img, .C_device_config-block-right img {
    width: 30px;
    height: 30px;
    position: relative;
    opacity: 0.5;
}

.C_device_config-block-right {
    position: absolute;
    right: 0; top: calc(50vh - 30px);
    width: 60px;
    height: 60px;
    cursor: pointer;
}

.C_widget_block3-left {
    width: 50%;
    float: left;
    position: relative;
}

.C_widget_block3-right {
    width: 50%;
    float: left;
    position: relative;
}

.C_widget-disabled {
    opacity: 0.5;
}

.C_device-offline {
    width: 100%; height: 30px; background-color: #d0d0d0; text-align: center;
}

.C_device-offline-text {
    padding: 7px 0;
}

.C_device_prop-container, .C_widget_block3-container {
    width: calc(100% - 20px);
    overflow: auto;
    margin: auto;
    height: calc( 100vh - 85px);
    max-height: calc(100vh - 80px);
    padding: 0px 10px;
    position: relative;
    display: inline-block;
}

.C_device_prop-block, .C_widget_block3  {
    width: 100%;
    position: relative;
    min-height: 100px;
    clear: both;
    float: left;
}

.C_device_prop-subblock {
    width: 100%; min-height: 50px; float: left;
}

.C_device_prop-subblock div {
    float: left;
}

.C_device_prop-subblock-text {
    margin-top: 20px;
}

.C_prop_ontime * {
    float: left;
}

.C_device_prop-block-div span {
    margin-left: 10px;
}

.C_device_prop-block div {
    float: left;
}

.C_device_prop-block-div {
    float: left;
    width: 50%;
    position: relative;
    margin-top: 15px;
}

.C_device_prop-block-text {
    margin-top: 25px; margin-left: 10px;
}

.C_device_prop-left {
    width: 50%;
    float: left;
    position: relative;
}

.C_device_prop-right {
    width: 50%;
    position: relative;
    float: left;
    height: auto;
}


.C_device_prop-name {
    color: #323232;
    font-size: 23px;
    font-weight: bold;
}

.C_device_prop-switch {
    width: 100%; height: 70px;
}

.C_device_prop-block-div p {
    margin-left: 5px;
}

.C_device_prop-block-div  .C_prop_switch{
    margin-top: 15px;
    margin-left: calc(50% - 25px);
}

.C_device_prop-slider {
    position: relative;
    width: 100%;
    height: 250px;
    
}

.C_device_prop-slider input[type=range]{
    position: absolute;
    top: 0px;
    left: 49%;
}

.C_device_prop-img {
    width: 50%; height: 100%;
    overflow: hidden;
}

.C_device_prop-img img {
    width: 250px; height: 250px; min-width: 150px; min-height: 150px;
    margin-top: 50px; margin-left: 0px;
    cursor: pointer;
}

@media only screen and (max-width: 640px) {
    .C_device_prop-img img {
        width: 200px;
        height: 250px;
        margin-top: 0;
        margin-left: 0;
    }

    .C_device_prop-bottom {
        position: relative;
    }

    .C_device_prop-block-div p {
        margin-left: 25px;
    }

    .C_slider {
        width: 150px;
        margin-top: 20px;
        margin-bottom: 0px;
    }

    .C_device_prop-block-text {
        font-size: 12px;
    }
}


.C_device_prop-right-text {
    width: 100%;
    margin-top: 10px;
    position: relative;
}

.C_device_prop-right-text  div {
    float: left;
    width: 100%;
    position: relative;
}

.C_device_prop-slider {
    height: 200px;
}

.C_device_prop-right-text-xl p{
    font-size: 25px;
    font-weight: 500;
    color: #323232;
    text-align: center;
    margin-bottom: 5px;
}

.C_device_prop-right-text-m p{
    font-size: 13px;
    font-weight: bold;
    color: #b0b0b0;
    text-align: center;
    margin-top: 5px;
}


.C_device_prop-bottom {
    width: calc(100% - 20px); height: 150px;
    float: left;
    margin-top: 50px;
}

.C_device_prop-bottom .C_slider {
    width: 100%;
}

.C_device_prop-bottom-text {
    position: relative;
}

.C_device_prop-bottom-text p {
    float: left;
    font-size: 14px;
    /*height: 50px;
    line-height: 4;*/
    width: calc(100% - 100px);
    color: #777;
    text-align: center;
}

.C_device_prop-bottom-text span {
    text-align: right;
    float: left;
    font-size: 14px;
    line-height: 3rem;
}

.C_device_prop-bottom-slider {
    position: relative;
    top: 20px;
    height: 60px;
}

.C_device_prop-bottom-division-container {
    position: relative;
}

.C_device_prop-bottom-division-container div {
    float: left;
    width: 3px;
    height: 30px;
    background-color: #777;
    margin-right: 65px;
}

.C_userprofile-container {
    width: 100%;
    display: inline-block;
}

.C_userprofile-container div {
    float: left;
}

.C_userprofile-pic {
    width: 100%;
    height: 150px;
}

.C_userprofile-pic img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #e0e0e0;
    margin-left: calc( 50% - 50px );
    margin-top: 50px;
    padding: 0px;
}

.C_userprofile-name {
    width: 100%;
    text-align: center;
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 50px;
}

.C_userprofile-block {
    width: calc(100% - 20px); min-height: 60px; padding: 10px; display: block;
}

.C_userprofile-block-left, .C_userprofile-block-right {
    width: 50%;
    padding: 30px 0;
    float: left;
}

.C_userprofile-block-left {
    font-weight: bold;
}

.C_userprofile-block-right span {
    padding: 0 10px;
}

.C_userprofile-block-right-img {
    width: 20px; height: 20px; cursor: pointer;
}

.C_select_sound {
    width: 100px;
    height: 100px;
    float: left;
}

.C_select_sound-selected {
    background-color: #e0e0e0;
}

.C_select_sound input[type=radio]  {
    display: none;
}

.C_select_sound-box {
    position: relative;
    margin: auto;
    width: 50px;
    height: 50px;
    border: 1px solid #d0d0d0;
    border-radius: 15px;
}

.C_select_sound-box:hover {
    background-color: #f0f0f0;
}

.C_select_sound-img {
    position: relative;
    width: 30px;
    height: 30px;
    margin: auto;
    left: 10px;
    top: 10px;
}

.C_select_sound-text {
    text-align: center;
    font-size: 13px;
    color: #323232;
    padding-top: 8px;;
}

.C_select_sound-text img {
    width: 20px; height: 20px;
    margin-bottom: -5px;
}

.C_bg_configmode {
    background-color:#FCFCF1;
}

.C_bg_localmode {
    background-color:  aliceblue;
}