* {
    margin: 0;
    padding: 0;
    text-decoration: none;
}

/* body {
    min-width: 100%;
    height: 600px;
    font-family: "microsoft yahei";
    background-color: #f5f5f5;
    background: url(../img/bg.jpg) no-repeat;
} */

.contain {
    width: 100%;
    height: 500px;
    top: 10%;
    position: relative;
}

.contain_pattern {
    width: 100%;
    height: 650px;
}

.contain p {
    width: 100%;
    font-family: 'Microsoft Yahei';
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}

.pattern1,
.pattern2,
.pattern3 {
    width: 375px;
    text-align: center;
    border: none;
    border-radius: 8px;
    background-color: #67a9eb;
    box-shadow: 0 0 10px #67a9eb;
    font-family: 'Microsoft Yahei';
    font-size: 18px;
    margin-top: 8px;
}

.pattern1 p,
.pattern2 p,
.pattern3 p {
    text-align: center;
    font-size: 18px;
    font-weight: normal;
}

.pattern1 ul,
.pattern3 ul {
    display: flex;
}

.pattern2 ul {
    width: 120px;
    margin-top: 8px;
    margin: 0 auto;
}

.pattern1 ul li,
.pattern3 ul li {
    width: 130px;
    height: 150px;
    line-height: 150px;
    margin: 10px auto;
    justify-content: space-around;
    border: none;
    border-radius: 8px;
    color: #fff;
    background-color: gray;
    font-family: 'Microsoft Yahei';
    font-size: 18px;
}

.pattern2 ul li {
    width: 120px;
    height: 130px;
    line-height: 130px;
    margin-top: 8px;
    border: none;
    border-radius: 8px;
    color: #fff;
    background-color: gray;
    font-family: 'Microsoft Yahei';
    font-size: 18px;
}

#pattern1:hover,
#pattern2:hover,
#pattern3:hover {
    cursor: pointer;
}

header {
    /* background: url(../img/bg.jpg); */
    width: 100%;
    height: 20px;
}

header span {
    margin-left: 8px;
    width: 100%;
    height: 50px;
}

header a {
    font-family: '微软雅黑';
    font-size: medium;
    font-weight: bold;
}

ul li {
    list-style: none;
}

.login {
    width: 80%;
    height: 350px;
    padding: 0px 20px;
    background-color: #ffffff;
    overflow: hidden;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px #bbb;
    margin: 10% auto;
}

.login_ul {
    width: 100%;
    padding-top: 34px;
    font-size: 22px;
    text-align: center;
    color: #656565;
}

.login_ul>li {
    width: 100%;
    line-height: 66px;
    border-bottom: solid 1px #999999;
    cursor: pointer;
    /* float: left; */
    margin: 0 auto;
}

/* 设置鼠标指针移动至登录表单模块列表项上时的文本颜色，下边框与字体加粗 */
.login_ul>li:hover,
.login_ul>li.active {
    color: #67a9eb;
    border-bottom: solid 2px #67a9eb;
    font-weight: bold;
}

/* 去除表单模块表单控件的边框与边框线
*并设置其宽度、高度、内外边距、行高、文本颜色、字号与下边距*/
.login input {
    border: none;
    outline: none;
    width: 80%;
    height: 46px;
    padding: 0px 14px;
    margin-top: 30px;
    line-height: 46px;
    color: #cbcbcb;
    font-size: 30px;
    border-bottom: solid 1px #cbcbcb;
}

.login span {
    color: #cbcbcb;
    font-size: 24px;
    float: right;
    margin-top: 12px;
}

/* 去除登录表单模块中登录按钮的边框与轮廓线、
*   并设置其宽度、高度、圆角、文本颜色、字号、背景颜色
*/
.login_btn {
    border: none;
    outline: none;
    width: 80%;
    height: 40px;
    border-radius: 18px;
    color: #ffffff;
    font-size: 16px;
    background-color: #67a9eb;
    cursor: pointer;
    margin-top: 40px;
    margin-left: 10%;
}

.login_checkbox {
    float:left;
}
.login_checkbox input {
    display: none;
}

.login_checkbox label {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 1px solid #333;
    position: relative;
    margin-top: 17px;
}

.login_checkbox label::after {
    -webkit-transition: opacity .5s ease;
    -moz-transition: opacity .5s ease;
    -o-transition: opacity .5s ease;
    -ms-transition: opacity .5s ease;
    transition: opacity .5s ease;
    cursor: pointer;
    position: absolute;
    content: '';
    opacity: 0;
}

.login_checkbox input:checked+label::after {
    border: 2px solid #d73d32;
    border-top: none;
    border-right: none;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    width: 20px;
    height: 10px;
    top: 50%;
    margin-top: -8px;
    left: 50%;
    margin-left: -10px;
    opacity: 1.0;
}

.login_checkbox span {
    color: #cbcbcb;
    font-size: 24px;
    float: left;
    margin-top: 12px;
}

.screen {
    width: 100%;
    height: 800px;
    margin: 0px auto;
}

.select_pattern {
    margin-top: 8px;
    width: 100%;
    height: 140px;
    border-radius: 8px;
}

.select_pattern strong {
    left: 5%;
    font-size: 16px;
    line-height: 40px;
    position: relative;
    clear: both;
}
.select_pattern input{
    border: solid 2px #d4d4d4;
    border-radius: 6px;
    width: 20%;
    margin-top: 5px;
    /* margin-bottom: 10px; */
    line-height: 24px;
    font-size: 16px;
    float: left;
    left: 2%;
    position: relative;
}

.select_pattern label,
.select_pattern span {
    float: left;
    left: 5%;
    position: relative;
    width: 20%;
    line-height: 35px;
    font-size: 14px;
}

.select_pattern button {
    width: 80px;
    height: 35px;
    margin-right: 5%;
    float: right;
    position: relative;
    outline: none;
    border: none;
    font-size: 16px;
    font-family: 'Microsoft Yahei';
    color: #fff;
    background-color: #67a9eb;
    border-radius: 8px;
    cursor: pointer;
}

.tag,
.tag li {
    height: 60px;
    text-align: center;
    margin-left: 30px;
}

.tag li {
    float: left;
    font-family: "Microsoft Yahei";
    width: 185px;
    font-size: 15px;
    border-bottom: solid 1px #999999;
    cursor: pointer;
    margin: 0 auto;
}

.tag li:hover {
    border-bottom: 2px solid #67a9eb;
}

.midart {
    position: relative;
    font-size: 15px;
    width: 375px;
    height: 450px;
    margin: 0 auto;
}

.midart_2 {
    top: 226px;
}

.version{
    position: fixed;
    bottom: 10px;
    width: 80%;
    background-color: #1296db;
    color: #FFF;
    border-radius: 14px;
    text-align: center;
    left: 10%;
}
.version p{
    font-size: 24px;
}

.keys_div{
    position: relative;
    width: 100%;
    height: 100%;
    margin-top: 30px;
    margin-bottom: 100px;
}

.card_item {
    position: relative;
    width: calc(100%);
    /* left: 8px; */
    height: 40px;
    margin-top: 10px;
    background-color: #7bc8f1;
    border-radius: 20px;
    box-shadow: 0px 7px 15px rgba(128, 128, 128, 0.25);
}

/* 配置界面 - 配置内容框 - 基础设置卡片 - 卡片项目 - 标题*/
.card_item p {
    position: relative;
    color: black;
    font-size: 20px;
    color: #ffffff;
    width: calc(50% - 12px);
    height: 26px;
    top: 6px;
    left: 6px;
    float: left;
    text-align: center;
    overflow: hidden;
}

/* 配置界面 - 配置内容框 - 基础设置卡片 - 卡片项目 - 数据 */
.data_div {
    position: relative;
    width: calc(50% - 6px);
    height: 28px;
    font-size: 20px;
    top: 6px;
    left: 6px;
    padding-left: 3px;
    padding-right: 3px;
    background-color: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    text-align: center;
}

/* 配置界面 - 配置内容框 - 基础设置卡片 - 卡片项目 - 数据 - 选择项 */
.card_item .data_div select {
    position: relative;
    margin-top: 0px;
    width: 100%;
    height: 28px;
    font-size: 20px;
    text-align: center;
    border: none;
    outline: none;
    background-color: #ffffff;
}

.play_item_css {
    margin-top: 8px;
    width: 375px;
    border-radius: 8px;
    box-shadow: 0 0 10px #1c7fc3;
    padding-bottom: 8px;
}

.pro_insert {
    width: 375px;
    height: 35px;
    margin: 10px auto;
}

.tag_control,
.pro_bottom {
    width: 375px;
}

a {
    color: #444;
    text-decoration: none;
}

.control_li:after,
.pro_li:after {
    content: "";
    clear: both;
    display: flex;
    visibility: hidden;
}

.control_li {
    width: 130px;
    height: 120px;
    line-height: 25px;
    display: inline-block;
    text-align: center;
    margin-bottom: 10px;
    margin-left: 35px;
    margin-right: 8px;
    border: solid 2px #67a9eb;
    /* border-radius: 20px; */
    cursor: pointer;
    background: linear-gradient(#1c7fc3 10%, #ddd 50%, #eee);
}

.screen .item_list {
    width: 375px;
    height: 390px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 0 10px darkgray;
    margin:0 auto;
}

/*节目管理页面中列表项宽度*/
.screen .pro {
    width: 58%;
    height: 340px;
    float: left;
    margin-left: 8px;
    margin-top: 10px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px #1c7fc3;
}

.screen p {
    text-align: center;
    font-size: 20px;
}

.pro .list {
    width: 100%;
    border-radius: 8px;
    margin-top: 3px;
    line-height: 8px;
    margin-bottom: 8px;
}

.pro .list p {
    font-family: 'Microsoft Yahei';
    font-size: 18px;
    width: 100%;
    height: 28px;
    line-height: 30px;
    font-weight: bold;
    color: #fff;
    margin-top: 2px;
    margin-bottom: 6px;
}

.pro .list p:hover {
    background-color: #1c7fc3ba
}

.list p.bordercolor {
    border-radius: 8px;
    background-color: orangered;
}

.pro_right {
    width: 35%;
    float: right;
    position: relative;
    border: none;
    margin: 10px 8px;
    border-radius: 8px;
    background-color: #eee;
    box-shadow: 0 0 10px darkgray;
}

.pro_right p {
    width: 80px;
    font-size: 16px;
    text-align: center;
}

.bs_switch {
    margin-bottom: 3px;
    width: 46px;
    height: 25px;
    box-sizing: border-box;
    position: relative;
    background: #cccccc;
    border: 1px solid #dfdfdf;
    border-radius: 16px;
    line-height: 20.5px;
    text-align: center;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: 0;
}

.bs_switch:active,
.bs_switch:visited {
    outline: none;
}

.bs_switch:before {
    content: attr(data-off);
    position: absolute;
    top: 2px;
    left: 1px;
    padding-left: 13px;
    border-radius: 15px;
    background-color: #cccccc;
    color: #fff;
    font-size: 12px;
}

.bs_switch:after {
    content: " ";
    position: absolute;
    top: 5px;
    left: 2px;
    width: 12px;
    height: 12px;
    border-radius: 15px;
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s;
}

.bs_switch:checked {
    border-color: #67a9eb;
    background-color: #67a9eb;
}

.bs_switch:checked:after {
    transform: translateX(28px);
}

.bs_switch:checked:before {
    content: attr(data-on);
    padding-left: 0px;
    padding-left: 2px;
    background-color: #67a9eb;
    color: #fff;
    width: 24px;
}

.pro_icon img {
    width: 30px;
    height: 30px;
    display: inline-block;
    margin-left: 6px;
    cursor: pointer;
}

.pro_icon span {
    width: 30px;
    height: 50px;

}

.pro_li {
    width: 100px;
    height: 78px;
    line-height: 20px;
    display: inline-block;
    text-align: center;
    margin-left: 10px;
    margin-right: 6px;
    border: solid 2px #67a9eb;
    border-radius: 8px;
    cursor: pointer;

}

/* .control_li span{
    display: flex;
    width: 180px;
    justify-content: space-around;
} */
.control_li img,
.tag li img {
    display: flex;
    width: 30px;
    height: 30px;
    margin-left: 50px;
    margin-top: 30px;
    justify-content: space-around;
}

.pro_li img {
    display: flex;
    width: 30px;
    margin-left: 34px;
    margin-top: 30px;
    justify-content: space-around;
    clear: both;
}

/* body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl,
dd {
    margin: 0;
    padding: 0;
} */

ul {
    list-style: none;
}

input {
    border: 0;
    outline: none;
}

.clear:after {
    content: "";
    display: block;
    clear: both;
}

.box,
.nav {
    width: 375px;
    margin: 0 auto;
    padding: 30px 30px;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px #bbb;
    box-sizing: border-box;
    top: 25%;
    position: relative;
}

.screen_box {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 30px 30px;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px #bbb;
    box-sizing: border-box;
    top: 0%;
    position: relative;
}

.box  select {
    display: inline-block;
    width: 96%;
    height: 30px;
    font-size: 24px;
    position: relative;
    vertical-align: middle;
    padding: 0;
    overflow: hidden;
    background-color: #fff;
    color: rgb(85, 85, 85);
    border: 1px solid rgb(11, 184, 236);
    text-shadow: none;
    border-radius: 4px;
    z-index: 2;
    margin-bottom: 7px;
    margin-top: 7px;
    margin-left: 2%;
    margin-right: 2%;
    text-align: center;
    text-align-last: center;
    outline: none;
}

.box h2 {
    text-align: center;
    color: #666;
    font-size: 22px;
    line-height: 40px;
}

.box ul,
.screen_box ul {
    padding: 10px 0;
}

.box ul li,
.screen_box ul li {
    display: flex;
    height: 35px;
    line-height: 35px;
    margin-bottom: 18px;
}

.box ul li input,
.screen_box input {
    border: 1px solid #ddd;
    height: 38px;
    padding: 0 10px;
    line-height: 38px;
    flex: 1;
    box-sizing: border-box;
}

.box ul li label {
    display: block;
    width: 115px;
}

.box ul li label span {
    color: red;
    padding-right: 10px;
}

.box button,
.screen_box button {
    width: 100%;
    border: none;
    font-family: 'Microsoft Yahei';
    font-size: 18px;
    border-radius: 8px;
    height: 40px;
    background-color: #67a9eb;
    color: #fff;
    cursor: pointer;
}

.screen_box h1 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 7px
}

.screen_box select {
    display: inline-block;
    width: 96%;
    height: 30px;
    font-size: 24px;
    position: relative;
    vertical-align: middle;
    padding: 0;
    overflow: hidden;
    background-color: #fff;
    color: rgb(85, 85, 85);
    border: 1px solid rgb(11, 184, 236);
    text-shadow: none;
    border-radius: 4px;
    transition: box-shadow 0.25s ease;
    z-index: 2;
    margin-bottom: 7px;
    margin-top: 7px;
    margin-left: 2%;
    margin-right: 2%;
    text-align: center;
    text-align-last: center;
    outline: none;
}

.my_luminance {
    display: inline-block;
    position: relative;
    width: 100%;
    margin-bottom: 7px;
}

.my_luminance::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(-90deg, #64d8f0 0%, #67a9eb 100%);
    border-radius: 8px;
    transition: .3s;
}

#read,
#reset {
    font-family: 'Microsoft Yahei';
    font-size: 18px;
}

#set,
#reset,
#cancel,
#cancel2,
#confirm2 {
    width: 100%;
    margin-top: 5px;
    /* top: 5px; */
    position: relative;
    border: none;
    border-radius: 8px;
    height: 40px;
    background-color: #67a9eb;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
}

.main {
    margin: 0 auto;
    margin: 30px 30px;
    width: 375px;
    font-family: '微软雅黑';
    /* -webkit-user-select: none; */
}

.slider {
    width: 375px;
    height: 40px;
    position: relative;
    background-color: #E8E8E8;
    margin-top: 20px;
}

.track {
    width: 16px;
    height: 46px;
    position: absolute;
    margin: -3px 0 0 0px;
    background-color: #2dacd1;
    cursor: pointer;
}

.valueC {
    height: 40px;
    position: absolute;
    margin: 0;
    background-color: #43BFE3;
}

.value span {
    position: absolute;
    text-align: right;
    height: 40px;
    line-height: 40px;
    color: #808080;
    border-right: 1px solid #dddddd;
}

.show {
    width: 45px;
    height: 30px;
    background-color: #333;
    color: #fff;
    text-align: center;
    line-height: 30px;
    position: absolute;
    opacity: 0.9;
    margin-top: -38px;
    margin-left: -15px;
}

.clear {
    clear: both;
}

.toast {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    /* display: flex; */
    display: none;
    align-items: center;
    justify-content: center;
    user-select: none;
    z-index: 999
}

.toast span {
    background-color: rgba(0, 0, 0, .4);
    padding: 10px 20px;
    color: #fff;
}

.my_h1_style {
    background: #4787bb;
    border-radius: 6px 6px 6px 6px;
    box-shadow: 0 0 0 1px #5F5A4B, 1px 1px 6px 1px rgba(10, 10, 0, 0.5);
    color: #FFFFFF;
    font-family: "微软雅黑", "宋体", "黑体", Arial;
    font-size: 18px;
    font-weight: bold;
    height: 25px;
    line-height: 25px;
    margin: 18px 0 !important;
    padding: 8px 0 5px 5px;
    text-shadow: 2px 2px 3px #222222;
}

.canvas_item{
    margin-top: 8px;
    width: 375px;
    height: atuo;
    border-radius: 8px;
    box-shadow: 0 0 10px #1c7fc3;
    padding-bottom: 8px;
}

.roof_dis{
    position: fixed;
    top: 0px;
    z-index:10;
    background-color: #fff;
    top: 0px;
    left: 0px;
    right: 0px;
    margin-left:auto;
    margin-right:auto;
    margin-top:-17px;
    /* width: 100%; */
}

.canvas_item canvas{
    position: relative;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 10px;
    display: block;
    /* border: 2px solid #84c6ff; */
    background-color: #000000;
}

.canvas_bg{
    position: relative;
    margin-right: auto;
    margin-left: auto;
    width: 320px;
    height: 160px;
    background-image: linear-gradient(45deg,#eee 25%,transparent 25%,transparent 75%,#eee 75%),linear-gradient(45deg,#eee 25%,transparent 25%,transparent 75%,#eee 75%);
    background-size: 16px 16px;
    background-position: 0 0,8px 8px;
    border: 2px solid #84c6ff;
}

/* .canvas_item .canvas_border{
    position: relative;
    left: 25px;
    width: 320px;
    height: 320px;
    border: 2px solid #84c6ff;
    background-color: #c5c5c5cb;
}

.canvas_item .canvas_border canvas{
    background-color: #000000;
} */
