/* content_protect/style.css */
.content_protect {
    padding: 20px;
    margin: 20px 0;
    background-color: #1e82fb;
    /*border: 1px solid #ddd;*/
    border-radius: 10px;
    /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
    display: flex;
    align-items: center;
}

.content_protect img {
    max-width: 150px;
    max-height: 150px;
    box-sizing: content-box; /* 图片的宽度不包含边框和内边距 */
    display: block; /* 将图片设置为块级元素 */
    margin-left: auto; /* 自动设置左边距为auto */
    margin-right: auto; /* 自动设置右边距为auto */
    border-radius: 5px;
}
.content_protect .code_con{
    margin-left: 40px;
}

.content_protect .tsText {
    margin: 0 0 5px;
    color: #fff;
    text-align: left;
    font-size: 14px;
    line-height: 28px;
    margin-bottom: 10px;
}

.content_protect input[type="text"] {
    width: 220px;
    height: 40px;
    padding: 0 10px;
    font-size: 16px;
    color: #000;
    border-radius: 5px;
    border: 0;
    display: inline-block;
    outline: none;
}
.content_protect input:focus{
    outline: none;
    border: 0;
}

.content_protect input[type="submit"] {
    height: 40px;
    padding: 0 20px;
    border: none;
    border-radius: 5px;
    background-color: #fff;
    color: #000;
    font-weight: bold;
    font-size: 16px;
    margin-left: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.content_protect input[type="submit"]:hover {
    background-color: rgba(255,255,255,.8);
}

.content_protect .code_post{
    display: flex;
}
.content_protect .errorInput{
color: red;
margin-top: 5px;
font-size: 13px;
text-align: center;
border-radius: 5px;
background-color: rgba(255,255,255,1);
padding: 3px 0;
}

@media (max-width: 767px){
    .content_protect{
        display: inline-block;
    }
    .content_protect a.j-wpcom-lightbox img{
        max-width: 120px;
    }
    .content_protect .code_con{
    margin-left: 0;
    text-align: center;
}
.content_protect .tsText{
    text-align: center;
    font-size: 12px;
    line-height: 20px;
    margin-top: 10px;
}
.content_protect .code_post{
    justify-content: center;
}
}