/*
 * Theme Name: Travel Blog 2
 * Description: Travel Leads websites.
 * Author: Russell Pinnington
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

@media only screen and (min-width: 1280px) {
    .flex-md {
        display: flex;
    }

    .siblings {
        width: 300px !important;
    }

    .right-sidebar {
        width: 300px !important;
    }
}

* {
    box-sizing: border-box;
}

html,
head,
body {
    margin: 0px;
    padding: 0px;

}

body {
    font-family: "Segoe UI", Inter, sans-serif;
}

.uppercase {
    text-transform: uppercase;
}

.rounded {
    border-radius: 20px;
    overflow: hidden;
}

.justify {
    text-align: justify;
}

.wp-block-post-content p {
    clear: both;
}

a,
a:visited {
    color: #222;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

h1 a:visited {
    color: #fff;
}

h1.wp-block-post-title {
    padding: 5px 10px;
}

a:hover {
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
}

.chat-box {
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.2);
}

.wp-block-page-list {
    padding-bottom: 10px !important;
}

.wp-block-navigation__submenu-container {
    padding-top: 0 !important;
}

.wp-block-navigation {
    margin-right: 20px;
}

p.image-even img,
p.image-odd img {
    box-sizing: border-box;
    border-radius: 20px;
    overflow: hidden;
}

p.image-even {
    float: left;
    margin: 0 15px 15px 0;
    width: 256px;
}

p.image-odd {
    float: right;
    margin: 0 0 15px 15px;
    width: 256px;
}

.wp-block-post-content p {
    clear: none;
}

h2 {
    clear: both;
}

.travel-leads-chat-message-user,
.travel-leads-chat-message-agent {
    clear: both;
    margin-bottom: 10px;
    overflow: hidden;
}

.travel-leads-chat-message-bubble {
    padding: 10px;
    border-radius: 10px;
}

.travel-leads-chat-message-user .travel-leads-chat-message-bubble {
    float: right;
    background-color: white;
    border: 1px solid #00548f;
}

.travel-leads-chat-message-agent .travel-leads-chat-message-bubble {
    float: left;
    background-color: white;
    border: 1px solid #008f04;
}

.travel-leads-chat-loading {
    box-sizing: border-box;
    padding: 5px 10px;
    margin-bottom: 10px;
    background-color: white;
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.5s;
    font-family: 'Courier New', Courier, monospace;
    text-align: center;
    border: 1px solid hsl(0, 78%, 69%);
    animation: cycle-hue 2s infinite linear;
    overflow: hidden;
    white-space: nowrap;
}

.travel-leads-chat-submit-disabled {
    color: #777;
    opacity: 0.5;
}

.has-modal-open #nav-dialog {
    max-width: 768px;
}

nav.is-responsive {
    justify-content: flex-end;
}

#nav-dialog div>ul>li>a {
    display: block;
    margin-top: 20px;
    margin-bottom: 5px;
    padding-bottom: 2px;
    border-bottom: 1px solid #ccc;
    width: 100%;
}

#nav-dialog div>ul>li>a {
    font-weight: bold;
    font-size: 130%;
}

#nav-dialog div>ul>li>* {
    font-weight: normal;
}

#nav-dialog div>ul {
    padding: 0;
}

#nav-dialog ul,
#nav-dialog ul li {
    width: 100%;
    list-style-type: none;
}

#nav-dialog a {
    color: white;
}

.siblings {
    ul {
        list-style: none;
        padding: 10px;
        margin-top: 20px;
    }

    li {
        margin: 5px 0px;
    }

    a {
        color: white;
    }

    a:hover {
        text-decoration: underline;
    }
}

@property --hue {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

@keyframes cycle-hue {
    0% {
        border: 1px solid hsl(0, 78%, 69%);
    }

    30% {
        border: 1px solid hsl(108deg, 78%, 69%);
    }

    60% {
        border: 1px solid hsl(216deg, 78%, 69%);
    }

    100% {
        border: 1px solid hsl(360deg, 78%, 69%);
    }

}

#nav-dialog {
    background: #333;
    border: none;


}

::backdrop {
    background-color: #333;
}
