*{
    box-sizing: border-box;
}

html{
    width: 100%;
    height: auto;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #FFFFFF;
}

/* 设备竖屏时调用该段css代码 */
@media all and (orientation : portrait){
    body{
        background-color: #EEF8FE;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: 100%;
        padding-left: 3%;
        padding-right: 3%;
        margin: 0px;
    }
}

/* 设备横屏时调用该段css代码 */
@media all and (orientation : landscape){
    body{
        background-color: #EEF8FE;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 720px;
        max-width: 720px;
        height: 100%;
        margin: 0px;
    }
}

/* 顶部标题图片样式 */
.top_title{
    width: 94%;
    height: auto;
}

/* 设备选择区域 */
.device_selector{
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #FFFFFF;
    border-style: solid;
    border-color: #000000;
    border-width: 0.25rem;
    border-radius: 0.8rem;
    width: 94%;
    height: 5.5rem;
    margin-top: 0.5rem;
    overflow: scroll;
    flex-shrink: 0;
    position: relative;
}

/* 隐藏 Chrome、Safari 和 Opera 的滚动条 */
.device_selector::-webkit-scrollbar{
    display: none;
}

/* 设备未选中样式 */
.device_item_unselected{
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 90%;
    /* width: 45%; */
    border-radius: 0.4rem;
    background-color: #FFFFFF;
    margin-left: 4px;
}

.device_item_unselected:hover{
    cursor: pointer;
}

/* 设备未选中的设备名称文字样式 */
.device_item_unselected .text{
    color: #000000;
    font-size: 0.8rem;
    font-weight: bold;
    margin-right: 0.4rem;
    min-width: 4.1rem;
}

/* 设备未选中新款设备角标样式 */
.device_item_unselected .subscript_emphasized{
    position: absolute;
    left: 0px;
    top: 0px;
    color: #FFFFFF;
    font-size: 0.8rem;
    text-align: center;
    background-color: #FC1F3C;
    border-top-left-radius: 0.38rem;
    border-bottom-right-radius: 0.4rem;
    z-index: 1;
    display: flex;
    padding: 0.1rem 0.3rem;
}

/* 设备未选中普通设备角标样式 */
.device_item_unselected .subscript{
    position: absolute;
    left: 0px;
    top: 0px;
    color: #FFFFFF;
    font-size: 0.8rem;
    text-align: center;
    background-color: #525252;
    border-top-left-radius: 0.38rem;
    border-bottom-right-radius: 0.4rem;
    z-index: 1;
    display: flex;
    padding: 0.1rem 0.3rem;
}

/* 设备选中样式 */
.device_item_selected{
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 90%;
    /* width: 45%; */
    border-radius: 0.4rem;
    background-color: #1B72FD;
    margin-left: 4px;
}

.device_item_selected:hover{
    cursor: pointer;
}

/* 设备选中的设备名称文字样式 */
.device_item_selected .text{
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: bold;
    margin-right: 0.4rem;
    min-width: 4.1rem;
}

/* 设备选中的普通设备角标样式 */
.device_item_selected .subscript{
    position: absolute;
    left: 0px;
    top: 0px;
    color: #000000;
    font-size: 0.8rem;
    font-weight: bold;
    text-align: center;
    background-color: #FFFFFF;
    border-top-left-radius: 0.38rem;
    border-bottom-right-radius: 0.4rem;
    z-index: 1;
    display: flex;
    padding: 0.1rem 0.3rem;
}
/* 设备选中的新款设备角标样式 */
.device_item_selected .subscript_emphasized{
    position: absolute;
    left: 0px;
    top: 0px;
    color: #ff0f2f;
    font-size: 0.8rem;
    font-weight: bold;
    text-align: center;
    background-color: #FFFFFF;
    border-top-left-radius: 0.4rem;
    border-bottom-right-radius: 0.4rem;
    z-index: 1;
    display: flex;
    padding: 0.1rem 0.3rem;
}

/* 设备图片样式 */
.device_icon{
    height: 95%;
    width: auto;
    margin-left: 0.5rem;
    margin-right: 0.2rem;
}

/* 视频显示区域样式 */
.video_area{
    background-color: #1B72FD;
    border-style: solid;
    border-color: #000000;
    border-width: 0.25rem;
    border-radius: 0.8rem;
    width: 94%;
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0;
}

/* 视频播放控件样式 */
.video{
    width: 96%;
    height: auto;
    border-radius: 0.4rem;
    border-color: #FFFFFF;
    border-style: solid;
    border-width: 0.2rem;
}

/* 查看用户手册按钮样式 */
.user_guider_btn{
    background-color: #1B72FD;
    border-style: solid;
    border-color: #000000;
    border-width: 0.25rem;
    border-radius: 0.8rem;
    width: 94%;
    height: 3.5rem;
    margin-top: 0.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    line-height: 3rem;
    color: #FFFFFF;
    text-decoration: none;
}

/* 常见问题标题图片样式 */
.questions_title{
    margin-top: 1.8rem;
    width: 94%;
    height: auto;
}

/* 常见问题最外层列表样式 */
.questions_list{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 94%;
}

/* 常见问题模板样式 */
.QA_template{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1.2rem;
    width: 100%;
}

/* 常见问题序号区域样式 */
.Q_A_sn{
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #FFFFFF url(../static/images/Q_A_template/Q_A_sn.png)  no-repeat left top;
    background-size: 100% 100%;
    width: 100%;
    height: 3.4rem;
}

/* 常见问题序号区域箭头图标样式 */
.icon_arrow{
    width: 2.5rem;
    height: auto;
    margin-top: 0.4rem;
    margin-left: 0.3rem;
}

/* 常见问题序号区域文字样式 */
.text_sn{
    font-size: 1.1rem;
    font-weight: bold;
    color: #FFFFFF;
    margin-top: 0.4rem;
    font-style: italic;
}

.Q_A_title{
    display: flex;
    flex-direction: row;
    align-items: start;
    background: #FFFFFF url(../static/images/Q_A_template/Q_A_title.png)  no-repeat left top;
    background-size: 100% 100%;
    width: 100%;
    padding-left: 0.3rem;
    padding-right: 1rem;
    padding-top: 0.3rem;
    padding-bottom: 0.4rem;
}

.icon_q{
    width: 2rem;
    min-width: 2rem;
    height: auto;
}

.text_title{
    margin-top: 0.2rem;
    margin-left: 0.6rem;
    font-size: 1rem;
    font-weight: bold;
    color: #32393D;
}

.Q_A_dash{
    background: #FFFFFF url(../static/images/Q_A_template/Q_A_dash.png)  no-repeat left top;
    background-size: 100% 100%;
    width: 100%;
    min-height: 0.4rem;
}

.Q_A_content{
    display: flex;
    flex-direction: row;
    align-items: start;
    background: #FFFFFF url(../static/images/Q_A_template/Q_A_content.png)  no-repeat left top;
    background-size: 100% 100%;
    width: 100%;
    padding-left: 0.3rem;
    padding-right: 5%;
    padding-top: 0.3rem;
    padding-bottom: 0.8rem;
}

.icon_a{
    width: 2rem;
    min-width: 2rem;
    height: auto;
}

.text_content{
    margin-top: 0.2rem;
    margin-left: 0.6rem;
    font-size: 1rem;
    color: #32393DE0;
}

.Q_A_bottom{
    background: #FFFFFF url(../static/images/Q_A_template/Q_A_bottom.png)  no-repeat left top;
    background-size: 100% 100%;
    width: 100%;
    min-height: 0.4rem;
}

/* 在线客服悬浮按钮样式 */
/* 设备竖屏时调用该段css代码 */
@media all and (orientation : portrait){
    .custom_service{
        position: fixed;
        right: 4px;
        bottom: 5rem;
        width: 4rem;
        height: auto;
        z-index: 10;
    }
}

/* 在线客服悬浮按钮样式 */
/* 设备横屏时调用该段css代码 */
@media all and (orientation : landscape){
    .custom_service{
        position: fixed;
        right: calc(50vw - 356px);
        bottom: 5rem;
        width: 4rem;
        height: auto;
        z-index: 10;
    }
}

.custom_service:hover{
    cursor: pointer;
}


/* 以下是loading动画的样式 */
.loading {
    display: none;
    position: fixed;
    left: 50vw;
    top: 50vh;
    width: 6px;
    height: 10px;
  
    animation: rectangle infinite 1s ease-in-out -0.2s;
  
    background-color: #ffffff;
    z-index: 20;
  }
  
.loading:before,
.loading:after {
    position: absolute;
    width: 6px;
    height: 10px;
    content: "";
    background-color: #ffffff;
  }
  
.loading:before {
    left: -14px;
  
    animation: rectangle infinite 1s ease-in-out -0.4s;
  }
  
.loading:after {
    right: -14px;
  
    animation: rectangle infinite 1s ease-in-out;
  }
  
@keyframes rectangle {
    0%,
    80%,
    100% {
      height: 20px;
      box-shadow: 0 0 #ffffff;
    }
  
    40% {
      height: 30px;
      box-shadow: 0 -20px #ffffff;
    }
  }

/* 以下是loading动画遮罩的样式 */
.mask{
    display: none;
    position: fixed;
    z-index: 15;
    width: 100vw;
    height: 100vh;
    background-color: #0000005b;
}
