/*
Theme Name: City Agenda
Theme URI: http://crowdpolicy.com
Author: Crowdpolicy
Author URI: http://crowdpolicy.com
Description: City Agenda Main Theme
Requires at least: WordPress 5.0.0
Version: 1.0.0
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: city-agenda
*/

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');


#wpadminbar #wp-admin-bar-wp-logo>.ab-item {
    padding: 0 7px;
    display: none;
}

/* CSS RESET */
html,
body {
    border: none;
    margin: 0;
    padding: 0;
}

html,
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: "Manrope", sans-serif !important;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
address,
big,
cite,
code,
em,
font,
img,
small,
strike,
sub,
sup,
li,
ol,
ul,
fieldset,
form,
label,
legend,
button,
table,
caption,
tr,
th,
td {
    border: none;
    font-size: inherit;
    line-height: inherit;
    margin: 0;
    padding: 0;
    text-align: inherit;
}

a {
    text-decoration: none !important;
}

img {
    width: 100%;
}

blockquote::before,
blockquote::after {
    content: "";
}


body {
    line-height: 1;
    background-image: url("./assets/images/bg2.png") !important;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    overflow-x: hidden;
}

main {
    flex: 1;
    display: flex !important;
    flex-direction: column;

}

main:not(body.home main) {
    background-image: var(--default-bg-image);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

ol, ul {
    list-style: none;
}

a {
    text-decoration: none !important;
}

.clear {
    clear: both;
}

.sticky {
    position: sticky;
}

.text-primary-color {
    color: var(--primary-color);
}

.text-header {
    color: var(--header-text);
}

.text-footer {
    color: var(--footer-text);
}

.primary-color-btn {
    background-color: var(--primary-color);
    border-radius: 10px;
    font-weight: 500;
    font-size: 18px;
    transition: all ease-in-out 0.3s;
}

.primary-color-btn:hover {
    background-color: var(--secondary-color);
}

header {
    background-color: var(--header-bg);
    z-index: 99998;
    width: 100%;
}

#bg-map {
    width: 100vw;
    display: none;
    height: 100vh;
    position: fixed !important;
    z-index: 1;
    opacity: .6;
}

#container {
    width: 1350px;
    margin: auto;
}

header .cityon {
    display: block;
    background-color: #0D5774;
    padding: 1rem;
}

.action-buttons-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 40px 0;
}

.button.go {
    padding: 3px 35px !important;
    border: 0 !important;
    background: #932046;
    color: #fff;
    border-bottom: 5px solid #932046 !important;
    font-size: 17px;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    font-weight: 300;
    transition: all .4s ease;
}

.button.go:hover {
    background: #932046 !important;
}

section#city-on {
    padding: 5rem 0;
    background-repeat: no-repeat;
    background-size: cover;
}

section#city-on .co-wrapper {
    display: flex;
    gap: 5rem;
}

section#city-on .co-wrapper>* {
    flex: 1;
}

.city-on-video {
    width: 100%;
    border-radius: 20px;
}

.city-on-info h2 {
    font-size: 38px;
    font-weight: 500;
    color: #2E2E2E;
}

.city-on-info h3 {
    font-size: 28px;
    color: #600034;
    font-weight: bold;
}

.city-on-info h2 span {
    color: #600034;
    font-weight: bold;
}

.download-app {
    padding: 2rem 0;
    display: flex;
    gap: 2rem;
}


.download-app a #ios {
    width: 140px;
}

.download-app a #android {
    width: 155px;
}

.submit-request-link {
    border-radius: 3px;
    border: 1px solid #FFFFFF;
    padding: 8px 20px;
    transition: all ease-in-out 0.15s;
}

.submit-request-link::before {
    content: var(--input-header-btn);
    display: inline-block;
    max-height: 20px;
    transition: all ease-in-out 0.15s;
}

.submit-request-link:hover {
    border: 1px solid #9A9A9A;
    background-color: #9A9A9A !important;
}

.submit-request-link:hover::before {
    content: var(--input-header-btn-hover);
}

.my-requests-link {
    color: #FFFFFF;
    background-color: #0D5774;
    border-radius: 3px;
    padding: 7px 20px;
    transition: all ease-in-out 0.3s;
}

.my-requests-link:hover {
    background-color: rgba(14, 88, 117, 0.65);
}

.my-requests-link {
    color: #FFFFFF;
    background-color: #0D5774;
    border-radius: 3px;
    transition: all ease-in-out 0.3s;
}

footer {
    background: var(--footer-bg);
    padding: 20px 10px;
    width: 100%;
    z-index: 999999;
}

#crowdpolicy {
    color: #FFFFFF;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#crowdpolicy img {
    width: 25px;
}

hr.line {
    border-color: #000 !important;
    margin-bottom: 20px !important;
}

.border-btm {
    border: 0.5px solid #932046;
    margin: 1rem 0;
}

.acf-form {
    text-align: center;
    padding: 1rem 0 7rem;
}

.acf-field.acf-field-repeater[data-name="images"] .acf-actions {
    text-align: center;
}

.form-field {
    padding: 2rem 0;
}

#type-field-wrapper label, #subtype-field-wrapper label {
    color: #932046;
    font-weight: 400;
    font-size: 17px;
}

select.filters-select {
    padding: 10px;
    outline: none !important;
}

select.filters-select option.level-2 {
    font-weight: bold;
}

select.filters-select option.level-0 {
    font-weight: 900;
    color: #932046;
    font-size: 16px;
}

select.filters-select option.level-2 {
    font-weight: 600;
    color: #932046;
    font-size: 15px;
}

select.filters-select option.level-3 {
    font-weight: 600;
    color: #032742;
}

select.filters-select option.level-4 {
    font-weight: 500;
    color: #032742;
}

.fa.fa-check-circle.fa-4x.white {
    font-size: 8em;
    color: var(--primary-color);
    border-radius: 100%;
    padding-top: 2px;
    padding-left: 1px;
}

/* Pagination */

.posts-pagination {
    text-align: center;
    padding: 4rem 0 1rem;
}


.posts-pagination i {
    font-size: 18px;
    color: var(--primary-color);
}

.posts-pagination .active-page,
.posts-pagination span.current {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.custom-page-number,
.page-numbers {
    font-size: 20px;
    font-weight: 500;
    padding: 0 2px;
    color: var(--primary-color);
    font-weight: 200;
}

.custom-page-number:hover,
.custom-page-number:focus,
.page-numbers:hover,
.page-numbers:focus {
    color: var(--primary-color);
}

.prev-page-btn,
.next-page-btn {
    transform: translate(0px, 5px);
}

.next-page-btn {
    margin-left: 10px;
}

.prev-page-btn {
    margin-right: 10px;
}

/* archive */

.request-title {
    font-size: 26px;
    font-weight: 300;
    color: #575757;
}

#mini-map {
    height: 350px;
}

.single-request #bg-map {
    opacity: .2;
}

@media screen and (max-width: 960px) {
    #container {
        width: auto;
        margin: auto;
    }

    .row.top-row {
        width: auto;
        margin: 0 !important;
    }

}

.fa.fa-pencil-square-o {
    transform: rotate(-90deg);
}

svg.climacon g {
    fill: #fff !important;
}

footer .inner-container {
    width: 100%;
    margin: auto;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.title-404 {
    font-size: 165px;
    font-weight: 200;
}

button.slick-arrow {
    height: 36px;
    width: 36px;
    background: #932046 !important;
    color: #fff;
    border-radius: 100%;
}

.slick-prev {
    left: -40px !important;
}

button.slick-next.slick-arrow {
    right: -40px !important;
}

p#form-allowed-tags {
    text-align: center;
    display: block;
    margin-bottom: 10px;
    display: none !important;
}

p#form-allowed-tags code {
    text-align: center;
    display: block;
    width: 70%;
    margin-top: 10px;
    margin: auto;
}

img.avatar {
    border-radius: 10px;
    margin-right: 10px;
}

p.logged-in-as {
    padding: 5px 10px;
    width: 70%;
    margin: auto;
    margin-bottom: 10px;
    border-radius: 4px;
}

p.logged-in-as a {
    color: #932046 !important;
}

h1.entry-title {
    font-weight: 100;
}

label.gfield_label {
    display: inline-block !important;
    font-weight: 400 !important;
    font-size: 17px !important;
    line-height: 1.4em;
    margin: 0 0 3px;
    color: #932046 !important;
    background: #fff;
    padding: 0 15px;
    border-radius: 10px;
}

.request-metadata.admin-observations {
    margin-top: 20px;
}

.request-metadata.admin-observations .box-meta {
    margin-top: 10px;
    padding: 20px;
    border: 3px dashed #932046;
    color: #424241;
    padding-bottom: 10px;
    text-align: left;
}

.video-meta iframe {
    width: 373px;
    height: 302px;
}

.video-item {
    margin-top: 30px;
    padding: 10px;
    padding-bottom: 30px;
}

.show-on-print {
    display: none;
    margin-bottom: 25px;
}

ol {
    padding-left: 25px;
}

/* div.disabled {
    display: none !important;
} */

.info-box {
    margin-top: 40px !important;
    background: rgba(255, 255, 255, 0.7);
    padding: 10px;
    max-width: 400px;
    margin: auto;
}

.video-frame iframe {
    width: 100%;
    min-height: 240px;
}

nav .request-type {
    font-size: 80%;
    color: #000;
}

#city-agenda-logo a {
    display: inline-block;
    text-decoration: none !important;
}

.custom-logo-link img {
    max-width: 220px;
    height: auto;
}

div#logo {
    text-align: center;
    font-size: 20px;
    line-height: 1em;
    color: #fff;
    font-weight: 100;
    letter-spacing: 0.05em;
    top: -7px;
    text-decoration: none !important;
}

header div#container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#site-description {
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

#site-description img {
    max-width: 55px;
}

.login-actions {
    display: flex;
    gap: 1.5rem;
}

#city-agenda-logo div#logo {
    top: 0;
}

div#logo b {
    letter-spacing: 0.3em;
    text-align: center;
    padding-left: 7px;
}

.component {
    margin: 0 auto;
    width: 60%;
    text-align: justify;
    font-size: 1.5em;
}

.success-text {
    background: #5cb85c;
    color: #FFFFFF;
    padding: 1rem !important;
}

.mo-openid-app-icons .mo_btn-social>:first-child {
    position: static;
    margin-bottom: 0;
    background: #FFFFFF !important;
}

form#loginform .mo-openid-app-icons a.mo_btn.mo_btn-mo.mo_btn-social {
    padding-left: 0 !important;
    background: #4f71e8 !important;
    text-align: start;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.mo-openid-app-icons {
    padding: 2rem 0;
}

@media screen and (max-width: 600px) {
    #wpadminbar {
        position: fixed !important;
    }
}

@media screen and (max-width: 500px) {
    .city-on-info h2 {
        font-size: 28px;
    }

    .city-on-info h3 {
        font-size: 20px;
    }
}

@media screen and (max-width: 800px) {
    header div#container {
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
    }

    #current-meta {
        text-align: center;
    }

    section#city-on .co-wrapper {
        flex-direction: column;
    }

    .city-on-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.single-request.admin-bar #bg-map {
    width: 100vw;
    height: 100% !important;
    position: fixed !important;
    z-index: 1;
}