@import url( 'https://fonts.googleapis.com/css?family=Slabo+27px|Muli|Bree+Serif|Noto+Sans|Noto+Serif ');


/* Elements styles */
html {
    scroll-behavior: smooth;
    overflow-x: auto;
}

body {
    font-family: "Slabo 20px", sans-serif;
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Bree Serif';
}

.bfw-search-box {
    width: max-content;
    max-width: 75vw;
    max-height: 80vh;
    overflow-y: auto;
    position: absolute;
    font-weight: bold;
    zoom: 1.2;
    color: gray;
}

.bfw-search-input {
    display: flex;
    align-items: center;
    padding: 5px;
}

.bfw-search-input i{
    position: absolute;
    margin-left: 5px;
    color: darkorange;
}

.bfw-search-input input {
    width: 100%;
    border: solid 2px darkorange;
    text-align: left;
    padding: 0 0 0 18px;
    border-radius: 8px;
    outline: none;
    color: gray;
}

button {
    font-family: 'Bree Serif';
}

input, select, textarea, optgroup{
    font-family: 'Noto Sans';
    font-weight: normal;
}

.bfw-font-sans {
    font-family: 'Noto Sans';
}

.bfw-font-serif {
    font-family: 'Noto Serif';
}

.bfw-font-fancy {
    font-family: 'Bree Serif';
}

/* Decorations */
.bfw-link {
    text-decoration: underline;
    cursor: pointer;
}

.bfw-pointer{
    cursor: pointer;
}

.bfw-bold {
    font-weight: bold;
}

.bfw-undeline {
    text-decoration: underline;
}

.bfw-hidden {
    display: none;
}

.bfw-full-page {
    max-width: 1400px;
    margin-top: 54px;
    /* min-height: -webkit-fill-available; */
}

.bfw-red {
    color: red;
}



body::after {
    height: 100%;
    content: "";
    opacity: 0.2;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: fixed;
    z-index: -1;
    background-image: url('../img/pets_bg_gray.jpg');
}

/* Dialogs and Window styles */
.bfw-window {
    min-height: 400px;
    border-radius: 4px;
}

.bfw-window header {
    padding: 0 3px;
    width: 100%;
    display: inline-flex;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    text-align: center;
}

.bfw-window-title {
    font-weight: bold;
    width: 100%;
}

.bfw-signin-btn {
    border: solid 1px;
    border-radius: 8px;
    padding: 3px;
    cursor: pointer;
}

.bfw-signin-btn:hover {
    color: white;
} 

.bfw-loadmore-btn:hover {
    background-color: #ccc !important;
    color: black !important;
}
.bfw-window section {
    padding: 5px;
}

.bfw-window footer {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    text-align: center;
    padding: 2px 4px;
    width: 100%;
}

.LoginWindow {
    z-index: 50;
    float: left;
    max-width: 450px;
    width: 90%;
    position: fixed;
    top: 50px;
    left: 20px;
    min-width: 200px;
    min-height: 200px;
    border-radius: 15px;
    display: none;
}

.LoginWindow header {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    cursor: move;
}

.LoginWindow footer {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}


.LoginAjaxReturn {
    position: absolute;
    padding: 10px;
    width: 100%;
    height: 100%;
    display: none;
}

/* Post Styles */
.bfw-post-img-1 {
    width: 100%;
    object-fit: cover;
    margin: 0 0 4px 0;
    max-height: 30vmin;
}

.bfw-post-img-2 {
    height: 300px;
    width: 49%;
    max-height: 30vmin;
    object-fit: cover;
    margin: 0 0 4px 0;
}




/* Form Forms Styles */
.bfw-form-t1 button {
    outline: none;
}

.bfw-field-t1 {
    outline: 0 !important;
    position: relative;
    padding: 0;
    margin-bottom: 8px;
    text-align: left;
}

.bfw-field-t1 input,
.bfw-field-t1 textarea,
.bfw-field-t1 select {
    background: none !important;
    outline: 0 !important;
    padding: 0;
    resize: none;
}

.bfw-field-t1 input::placeholder,
.bfw-field-t1 textarea::placeholder {
    opacity: 0;
}

.bfw-field-t1 input:focus::placeholder,
.bfw-field-t1 textarea:focus::placeholder {
    opacity: 1;
    transition: 2s all;
}

.bfw-field-t1 input::-webkit-input-placeholder,
.bfw-field-t1 textarea::-webkit-input-placeholder {
    opacity: 0;
}

.bfw-field-t1 input:focus::-webkit-input-placeholder,
.bfw-field-t1 textarea:focus::-webkit-input-placeholder {
    opacity: 1;
    transition: 2s all;
}

.bfw-field-t1 input::-moz-placeholder,
.bfw-field-t1 textarea::-moz-placeholder {
    opacity: 0;
}

.bfw-field-t1 input:focus::-moz-placeholder,
.bfw-field-t1 textarea:focus::-moz-placeholder {
    opacity: 1;
    transition: 2s all;
}

.bfw-field-t1 input:placeholder-shown~label,
.bfw-field-t1 textarea:placeholder-shown~label {
    bottom: 0px;
    padding-top: 0;
    border: none;
}

/* .bfw-field-t1 input:focus {
    outline: 0 !important;
} */

.bfw-field-t1 label,
.bfw-field-t1 input:focus~label,
.bfw-field-t1 textarea:focus~label {
    position: absolute;
    bottom: 95%;
    transition: 0.3s all;
}


.bfw-field-t1 input:placeholder-shown~span,
.bfw-field-t1 textarea:placeholder-shown~span {
    width: 0;
}

.bfw-field-t1 span,
.bfw-field-t1 input:focus~span,
.bfw-field-t1 textarea:focus~span {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    transition: 0.4s;
}

.bfw-field-t1 input:valid {
    color: darkgreen;
}


.bfw-formlabel {
    width: 100%;
    height: 7px;
    margin-bottom: 10px;
    margin-top: 10px;
    border-bottom: 1px solid gray;
    text-align: center;
}

.bfw-formlabel span {
    font-size: 14px;
    color: black;
    background-color: white;
    padding: 10px;
    top: -6px;
    position: relative;
}

.bfw-formlabel+div {
    font-size: 0.7em;
    padding: 4px;
    margin-bottom: 16px;
    text-align: center;
}


.bfw-formlabel div {
    margin: 15px;
    font-size: 0.7em;
    text-align: center;
}

.bfw-formsectionlabel {
    font-weight: bold;
}

.bfw-formsectiontext {
    font-size: 0.7em;
    margin-bottom: 15px;
}

/* To protect table head against display:none; */
.bfw-table-head {
    display: table-row !important;
}

/* Ballon Styles */
.bfw-balloon {
    z-index: 150;
    float: left;
    max-width: 400px;
    width: 80%;
    position: fixed;
    top: 10px;
    left: 10px;
    display: none;
}

.bfw-balloon fieldset {
    border-radius: 20px;
    min-height: 80px;
}

.bfw-balloon legend {
    margin-left: 70px;
    font-family: 'Bree Serif';
}

.bfw-balloon span {
    top: 0px;
    position: absolute;
    right: 0;
}

.bfw-balloon div {
    margin: 8px;
}


/* Checkbox */


/* The container */
.bfw-cb {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.bfw-cb input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
}

/* On mouse-over, add a grey background color */
.bfw-cb:hover input~.checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.bfw-cb input:checked~.checkmark {
    background-color: #ffc107;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.bfw-cb input:checked~.checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.bfw-cb .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}














/* Chat styles */
.chat-window {
    overflow-y: scroll;
    padding: 3px 10px;
    height: 100%;
}

.chat-bbl-l {
    position: relative;
    background: lightsteelblue;
    border-radius: .4em;
    margin: 3px 20px 3px 10px;
    padding: 3px 8px;
    cursor: context-menu;
}

.chat-bbl-l:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0%;
    width: 0;
    height: 0;
    border: 25px solid transparent;
    border-right-color: lightsteelblue;
    border-left: 0;
    border-top: 0;
    margin-top: 0;
    margin-left: -15px;
}

.chat-bbl-r {
    position: relative;
    background: lightskyblue;
    border-radius: .4em;
    margin: 3px 10px 3px 20px;
    padding: 3px 8px;
    cursor: context-menu;
}

.chat-bbl-r:after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 0;
    height: 0;
    border: 25px solid transparent;
    border-left-color: lightskyblue;
    border-right: 0;
    border-top: 0;
    margin-top: 0;
    margin-right: -15px;
}

.chat-bbl-l footer,
.chat-bbl-r footer {
    float: right;
    padding-right: 10px;
    color: white;
    font-size: 0.8em;
}

.chat-bbl-l header,
.chat-bbl-r header {
    padding-left: 10px;
    text-align: left;
    color: brown;
    font-size: 0.8em;
}

.chat-FAB {
    position: fixed;
    bottom: 15vh;
    right: 27px;
    z-index: 5;
    padding: 13px;
    height: 35px;
    width: 35px;
    background: white;
    /* box-shadow: 2px 2px 3px #999; */
    color: black;
    opacity: 0.5;
    border-radius: 50%;
}

.bfw-chat-card {
    display: grid;
    background: white;
    margin: 2px 3px;
    height: 98%;
}

.bfw-chat-topbar {
    font-weight: bold;
    max-height: 37px;
}

.bfw-chat-window {
    overflow-y: auto;
    background: white;
    padding: 5px;
}

.bfw-chat-footer {
    position: absolute;
    bottom: 0;
    display: table;
    width: 100%;
    padding: 5px;
    background: lightgray;
}

.bfw-chat-seltd-it {
    opacity: 0.5;
}

.bfw-chat-itopt {
    display: none;
}


/* Loading Animation */
.bfw-loading-layer {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    /* top: 0; */
    left: 0;
    right: 0;
    /* bottom: 0; */
    background-color: rgba(130, 100, 120, 0.5);
    z-index: 2;
    cursor: wait;
}

.bfw-loading-animation {
    /* position: absolute; */
    animation-direction: alternate;
    animation-timing-function: ease;
    animation-duration: 1.5s;
    opacity: 0.8;
}

.ConErrFrame {
    background: lightyellow;
    width: fit-content;
    padding: 5px;
    border: 1px solid gray;
    font-size: .7em;
    font-weight: bold;
    display: none;
}

.DevModeFrame {
    background: lightyellow;
    width: fit-content;
    padding: 5px;
    border: 1px solid gray;
    font-size: .7em;
    font-weight: bold;
    display: none;
}


/* Cookie warning */
.bfw-cookie-warning {
    /* visibility: hidden;  */
    width: 100%;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 30;
    top: 30px;
}

[data-tip] {
    position: relative;

}

[data-tip]:before {
    content: '';
    /* hides the tooltip when not hovered */
    display: none;
    content: '';
    display: none;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #1a1a1a;
    position: absolute;
    top: 30px;
    left: 35px;
    z-index: 8;
    font-size: 0;
    line-height: 0;
    width: 0;
    /*    max-width: 200px;*/
    height: 0;
    position: absolute;
    top: 30px;
    left: 35px;
    z-index: 8;
    font-size: 0;
    line-height: 0;
}

[data-tip]:after {
    display: none;
    content: attr(data-tip);
    position: absolute;
    top: 35px;
    left: 0px;
    padding: 5px 8px;
    background: #1a1a1a;
    color: #fff;
    z-index: 9;
    font-size: 0.75em;
    /*    height:18px;*/
    max-width: 500px;
    width: 300px;
    line-height: 18px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    white-space: normal;
    word-wrap: normal;
    /*    height: 100px;*/
}

[data-tip]:hover:before,
[data-tip]:hover:after {
    display: block;
}

/* Menus */
.bfw-menu-section {
    margin-top: 10px;
    width: 100%;
    height: 20px;
    border-top: 1px solid lightgray;
    text-align: center;
}

.bfw-menu-section span {
    font-size: 10px !important;
    color: gray;
}


.bfw-page-title {
    font-size: 18px;
    font-family: 'Noto Serif';
    width: 100%;
    font-weight: bold;
}

.bfw-title-bar {
    display: inline-flex;
    align-items: center;
    z-index: 20;
    height: 51px;
}

.bfw-sitelogo {
    padding: 0 !important;
}

/* TABS */
  .bfw-tabs {
    position: relative;
    z-index: 1;
  }

  .bfw-tabs>li {
    display: inline;
  }

  .bfw-tabs>li>a {
    text-decoration: none;
    float: left;
    padding: 0.5em 1em;
    background: linear-gradient(#FFF, #DDD);
    border-width: 1px;
    border-style: solid;
    border-color: #CCC #CCC #FFF;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
  }

  .bfw-tabs>li:not(:target) a {
    border-bottom: 4px;
    /*0 none;*/
  }

  .bfw-tabs>li:target a,
  a:hover {
    background: lightyellow;
  }

  .bfw-tabs>li>section {
    position: absolute;
    left: 0;
    top: calc(2em + 13px);
    /* altura do link + bordas */
    z-index: -2;
    border: 1px solid #CCC;
    background: linear-gradient(lightyellow, khaki);
    border-radius: 10px;
  }

  .bfw-tabs>li:target>section {
    z-index: -1;
  }


@media (min-width:993px) {
    .bfw-title-bar {
        zoom: 0.9;
    }
}


@media (max-width:601px) {
    .bfw-title-bar {
        zoom: 0.8;
    }

    .bfw-tab {
        width: 100vw;
    }

    body {
        width: fit-content;
    }
}

/* @media (max-width:992px) and (min-width:601px) {} */