/*
Theme Name: FlyingWeb
Author: flying-web.net
Author URI: http://flying-web.net
Description: This is flying-web.net onepage theme
Version: 1.0
Requires at least: 5.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: onepage, html, animation, full screen image

*/

.MicrosoftMap .CopyrightContainer,
.NavBar_MapTypeButtonContainerWrapper {
    display: none;
}

#MicrosoftNav {
    inset: auto 20px 10px auto !important;
}

.map-wrapper .container-info {
    z-index: 101 !important;
}

.map-wrapper .button-description {
    z-index: 102 !important;
}


.block-service-1 .tab-navigation li {
    margin-bottom: 40px !important;
}

@font-face {
    font-family: 'iconfont-ali';
    src: url('../assets/css/ali/iconfont.eot');
    src: url('../assets/css/ali/iconfont.eot?#iefix') format('embedded-opentype'),
    url('../assets/css/ali/iconfont.woff2') format('woff2'),
    url('../assets/css/ali/iconfont.woff') format('woff'),
    url('../assets/css/ali/iconfont.ttf') format('truetype'),
    url('../assets/css/ali/iconfont.svg#iconfont') format('svg');
}

.iconfont-ali {
    font-family: "iconfont-ali" !important;
    /* font-size: 16px; */
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-php:before {
    content: "\e609";
}

.icon-iot:before {
    content: "\e6b4";
}

.icon-python:before {
    content: "\e970";
}

.icon--net-:before {
    content: "\e508";
}

.icon-mobile:before {
    content: "\e648";
}

.icon-software:before {
    content: "\e6a1";
}

.icon--repair:before {
    content: "\ed9b";
}

.icon-joomla:before {
    content: "\e868";
}

.icon-opencart:before {
    content: "\ea75";
}

.icon-drupal:before {
    content: "\e6d7";
}

.icon-magento:before {
    content: "\e6ad";
}

.icon-web:before {
    content: "\e645";
}

.icon-reactjs:before {
    content: "\e6c2";
}

.icon-wordpress:before {
    content: "\e6ac";
}

.block-contact-1 .tab-content form .form-group {
    height: 55px;
}

.block-contact-1 .tab-content form .form-group1 {
    height: 165px;
}

.wpcf7-not-valid-tip {
    position: absolute;
    width: 400px;
    top: 58px;
    left: 30px;
    z-index: 6;
    font-size: 0.85em;
}


/* loading logo size */
#page-loader img {
    max-width: 70%;
    max-height: 90px;
}

div.wpcf7 .ajax-loader {
    background-image: url(./assets/images/form-loading.gif);
    background-size: 100% auto;
    background-repeat: no-repeat;
    width: 26px;
    height: 26px;
    margin-right: 20px;
}

/* contact us form submit button css */
.block-contact-1 .tab-content form .form-group .button-wrapper button {
    width: auto !important;
    padding-right: 0px !important;
}

.block-contact-1 .tab-content form .form-group.move .button-wrapper button {
    width: auto !important;
    padding-right: 10px !important;
}

/*ozhb*/
.cs-share {
    max-width: 240px;
    margin: 0 auto !important;
    text-align: center;
    display: block;
}

.cs-share-item-warp {
    display: flex;
    gap: 20px;
    padding: 0 !important;
}

.cs-share-item {
    width: calc(100% / 3);
    padding: 0 !important;
}

.cs-share-item .container-social-item {

}

/* 浮动按钮 */
.contact-button {
    position: fixed;
    bottom: 110px;
    right: 33px;
    z-index: 1000;
    transition: transform 0.2s ease-in-out;
    background-color: #3b82f6;
    color: white;
    padding: 16px;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 65px;
    height: 65px;
}

.contact-button:before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 50%;
    animation: global-top-1 40s linear infinite;
    background-image: repeating-linear-gradient(157.5deg, rgb(0, 0, 0) 0px, rgb(0, 0, 0) 10px, transparent 10px, transparent 11px), repeating-linear-gradient(67.5deg, rgb(0, 0, 0) 0px, rgb(0, 0, 0) 10px, transparent 10px, transparent 11px), linear-gradient(90deg, hsl(143, 33%, 50%), hsl(215, 33%, 50%), hsl(287, 33%, 50%), hsl(359, 33%, 50%), hsl(71, 33%, 50%));
    background-size: 400px;
    box-shadow: 0 0 4px 0px #222;
}

@keyframes global-top-1 {
    0% {
        background-position-y: 0
    }

    to {
        background-position-y: 1000px
    }
}


.contact-button:hover {
    transform: scale(1.1);
}

.contact-button svg {
}

/* 对话框 */
.cs-chat-warp {
    font-weight: 400;
}

.contact-dialog {
    position: fixed;
    bottom: 110px;
    right: 33px;
    width: 353px;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.contact-dialog.open {
    display: block;
}

.dialog-header {
    background-color: #202020;
    color: white;
    padding: 5px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dialog-header span {
    font-size: 15px;
    font-weight: 600;
}

.dialog-content {
    background-color: white;
    padding: 16px;
    max-height: 260px;
    overflow-y: auto;
}

.dialog-input-warp {
    background: #ffffff;
    padding: 16px;
    border-top: 1px solid #ddd;
}

.dialog-input-warp textarea {
    background: #f8f8f8;
    width: 100%;
    border-radius: 10px;
    height: 80px;
    border-color: #f2f2f2;
    color: #222;
    padding: 10px;
    overflow: auto;
    outline: none;
}

.dialog-input {
    background-color: #202020;
    padding: 12px 16px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    justify-content: space-between;
}

/* 对话记录 */
.chat-message {
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
}

.chat-message.user {
    align-items: flex-end;
}

.chat-message .message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    font-size: 12px;
    color: #6b7280;
    gap: 6px;
}

.message-header span:nth-child(1) {
    font-size: 15px;
    font-weight: 800;
    color: #222;
}

.message-header span:nth-child(2) {
    font-size: 13px;
    font-weight: 400;
}

.chat-message.support .message-header {
    justify-content: flex-start;
}

.chat-message.user .message-header {
    justify-content: flex-end;
}

.chat-message .message-bubble {
    max-width: 70%;
    padding: 8px 12px;
    border-radius: 12px;
    line-height: 1.4;
}

.chat-message.support .message-bubble {
    background-color: #e5e7eb;
    color: #1f2937;
    border-bottom-left-radius: 0;
    align-self: flex-start;
}

.chat-message.user .message-bubble {
    background-color: #333333;
    color: white;
    border-bottom-right-radius: 0;
    align-self: flex-end;
}

.chat-message .message-bubble img {
    max-width: 100%;
    border-radius: 8px;
    margin-top: 4px;
}

.chat-message .message-bubble a {
    color: #3b82f6;
    text-decoration: underline;
}

/* 输入区域 */
.dialog-input > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-button {
    cursor: pointer;
    color: #ffffff;
    transition: color 0.2s ease-in-out;
    background: none;
    border: none;
    padding: 0;
}

.icon-button:hover {
    color: #ffcc00;
}

.icon-button svg {
    width: 20px;
    height: 20px;
}

.dialog-input input {
    flex: 1;
    padding: 8px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s ease-in-out;
}

.dialog-input input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

.dialog-input button:not(.icon-button) {
    background-color: #ffffff;
    color: #000000;
    padding: 5px 16px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    border-radius: 50px;
    font-weight: 500;
}

.dialog-input button:not(.icon-button):hover {
    background-color: #fcca02;
}

/* 表情选择器 */
.emoji-picker {
    position: absolute;
    bottom: 60px;
    left: 16px;
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px;
    display: none;
    z-index: 1001;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.emoji-picker.open {
    display: flex;
    gap: 4px;
}

.emoji-picker span {
    cursor: pointer;
    font-size: 20px;
    padding: 2px;
}

.emoji-picker span:hover {
    background-color: #f3f4f6;
    border-radius: 4px;
}

/* 关闭按钮 */
.close-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: white;
    display: flex;
}

.close-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.close-button svg {
    width: 20px;
    height: 20px;
}
@media (max-width: 500px) {
    .contact-button{
        bottom: 20px;
        right: 20px;
    }
    .contact-dialog{
        bottom: 20px;
        right: 20px;
    }
}