/*
Theme Name: pierreweyland
Description:
Author:
Author URI:
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/*
strong {
    font-family: "Baskerville-Bold" !important;
    font-weight: 400;
}
*/

.grecaptcha-badge {
    display: none !important;
}

.search strong {
    /*font-family: "Baskerville-Bold";*/
    background-color: var(--awb-color1);
    color: #ffffff;
    padding: 2px 5px;
	text-transform: uppercase;
}
.search h3 {
    font-size: 28px;
    margin-bottom: 20px !important;
}

.fusion-header .fusion-row .fusion-header-has-flyout-menu-content {
    /*display: ruby-text;*/
    display: flex;
    width: 100%;
    justify-content: space-between;
}


form.searchform {
    width: 50%;
    margin: 41px 0px;
    color: #ffffff;
}
form.searchform input,
form.searchform input::placeholder,
form.searchform input::-ms-input-placeholder {
    color: #ffffff !important;
}

form.searchform i {
    color: #ffffff !important;
    margin: 20px !important;
}

#main a:not(.inventor-wrapper) {
    color: var(--awb-color1) !important;
    text-decoration: underline;
}

.post-content p {
    margin-bottom: 15px;
}

.error-page .oops {
    font-family: "Baskerville-Regular";
}

/* SINGLE INVENTOR STYLES ======================================================== */

body.single-inventor main {
    padding: 0px !important;
}

.inventor-header {
    background-image: url("images/close-up-book-paper-with-white-background-two.jpg");
    background-size: cover;
    
    padding: 100px 0px;
    text-align: center;
    
    /*font-family: "Baskerville-Bold";*/
}

@media only screen and (max-width: 1100px) {
    .inventor-header {
        background-color: #EAEAEA;
        background-image: none;
    }
}

.inventor-header h1 {
    margin: 0px 0px 10px 0px;
    color: var(--awb-color1);
}

.inventor-header .birthday, .inventor-header .birthplace {
    color: var(--awb-color1);
    font-size: 28px;
}

.inventor-body {    
    padding: 100px 0px;
}

.inventor-body .description {    
    padding-bottom: 50px;
}
@media only screen and (min-width: 800px) {
    .inventor-body .description {    
        max-width: 70%;
    }
}

.inventor-body table {    
    width: 100%;
    margin-bottom: 50px;
}

.inventor-body table thead {    
    border-bottom: solid 2px #000000;
}

.inventor-body table th {    
    color: var(--awb-color1);
    text-align: left;
    font-size: calc( var(--body_typography-font-size) + 2px);
    padding: 20px 0px;
    cursor: pointer;
}

.inventor-body table tbody tr {
    border-bottom: solid 1px #000000;
}

.inventor-body table tbody tr td {
    padding: 20px 0px;
}


.inventor-body table tbody tr td.title {
    width: 20%;
}
.inventor-body table tbody tr td.date {
    width: 20%;
}
.inventor-body table tbody tr td.info {
    width: 60%;
}

.inventor-body table tbody tr td.info p {
    margin-bottom: 0px;
}


@media only screen and (max-width: 1200px) {
   .inventor-header, .inventor-body {
       padding-left: 30px;
       padding-right: 30px;
    }
}



.inventor-body .last-modified {    
    text-align: right;
}


/* ======================================================== END SINGLE INVENTOR STYLES */


/* LISTING INVENTOR STYLES ======================================================== */

.inventors {
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    align-items: stretch;
}

.inventors .inventor-wrapper {
    background-color: var(--awb-color1);
    padding: 25px;
    color: #ffffff;
    display: flex;
    margin-bottom: 20px;
}

.inventors .inventor-wrapper .lastname {
    text-transform: uppercase;
}

@media only screen and (max-width: 600px) {
    .inventors .inventor-wrapper {
        width: calc(100% - 20px);
        height: auto !important;
        margin: 10px 10px 10px 10px;
    }
}

@media only screen and (min-width: 600px) and (max-width: 800px) {
    .inventors .inventor-wrapper {
        /*width: calc(50% - 25px);*/
        width: calc(100% - 20px);
    }
}

@media only screen and (min-width: 800px) and (max-width: 1240px) {
    .inventors .inventor-wrapper {
        /*width: calc(33.3% - 20px);*/
        width: calc(50% - 25px);
    }
}

@media only screen and (min-width: 1240px) {
    .inventors .inventor-wrapper {
        width: calc((100% - 40px) / 3);
    }
}

/*
.inventors .inventor-wrapper:nth-child(4) {
    margin-right: 0px;
}
*/

.inventors .inventor-wrapper .inventor h3 {
    font-size: calc( var(--body_typography-font-size) + 10px);
    margin: 0px 0px 10px 0px;
    color: #ffffff;
}

/* ======================================================== END LISTING INVENTOR STYLES */



/* FILTER INVENTOR STYLES ======================================================== */

.filter-wrapper form {
    display: flex;
    column-gap: 25px;
    margin: 25px 0px;
}

select.sorting,
select.category,
select.birthday,
select.birthplace {
    width: 100%;
    background-color: #ffffff;
    border-radius: 25px;
    border: solid 2px var(--awb-color1);
    color: var(--awb-color1);
    padding: 10px 15px;
}

@media only screen and (max-width: 800px) {
    .filter-wrapper form {
        flex-wrap: wrap;
        column-gap: 10px;
    }
    
    .filter-wrapper select {
        width: calc(50% - 10px);
        margin-bottom: 10px;
    }
    
    .filter-wrapper button {
        width: 100%;
    }
}

.filter-wrapper .alphabet-filter {
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
    width: 100%;
    justify-content: center;
}

#main .filter-wrapper .alphabet-filter a.alphabet-letter {
    color: #000000 !important;
    font-size: 20px;
}

#main .filter-wrapper .alphabet-filter a.alphabet-letter:hover,
#main .filter-wrapper .alphabet-filter a.alphabet-letter.active {
    color: var(--awb-color1) !important;
}




/* ======================================================== END FILTER INVENTOR STYLES */



/* CF7 STYLES ======================================================== */

.wpcf7-form input[type="submit"], .wpcf7-submit {
    background-color: #ffffff;
    color: var(--awb-color1);
    border: solid 2px var(--awb-color1);
    border-radius: 25px;
}

.wpcf7-form input[type="submit"]:hover, .wpcf7-submit:hover,
.wpcf7-form input[type="submit"]:focus, .wpcf7-submit:focus {
    background-color: var(--awb-color1);
    color: #ffffff;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    color: #000000;
}

.wpcf7-captchar, .wpcf7-form .wpcf7-date, .wpcf7-form .wpcf7-number, .wpcf7-form .wpcf7-quiz, .wpcf7-form .wpcf7-select, .wpcf7-form .wpcf7-text, .wpcf7-form textarea {
    border: none;
    border-bottom: solid 1px #000000;
    border-radius: 0px;
}

/* ======================================================== END CF7 STYLES */


/* COOKIE STYLES ======================= */

.cky-btn {
    opacity: 1 !important;
    color: var(--awb-color1) !important;
    border-color: var(--awb-color1) !important;
    background-color: #ffffff !important;
    padding: 9px 29px !important;
    border-radius: 25px !important;
    font-family: "Miller-Text-Regular" !important;
}
.cky-btn:hover {
    color: #ffffff !important;
    border-color: var(--awb-color1) !important;
    background-color: var(--awb-color1) !important;
}

/*
.cky-btn-accept, .cky-btn:hover {
    background-color: var(--gsl) !important;
    color: #ffffff !important;
    opacity: 1 !important;
}
.cky-btn-accept:hover {
    background: var(--button_gradient_top_color_hover) !important;
    border-color: var(--button_gradient_top_color_hover) !important;
}
*/

button.cky-show-desc-btn {
    color: #000000 !important;
}


.cky-title, .cky-preference-title {
    font-family: "Baskerville-Regular" !important;
    text-transform: uppercase;
    color: var(--secondary-color) !important;
}

.cky-accordion-btn {
    font-family: "Baskerville-Regular" !important;
}

.cky-switch input[type="checkbox"]:checked {
    background: var(--awb-color1) !important;
}

.cky-modal.cky-modal-open [data-cky-tag="detail-powered-by"], .cky-revisit-bottom-left {
    display: none !important;
}

/* ======================= END COOKIE STYLES */



/* PAGINATION STYLES ======================= */

.pagination ul.page-numbers {
    display: flex;
}

.pagination ul.page-numbers li {
    list-style: none;
}

.pagination ul.page-numbers li a,
.pagination ul.page-numbers li span {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
    margin: 0px 5px;
}

.pagination ul.page-numbers li a:not(.next):not(.prev) {
    border: solid 1px #f2f3f5;
    width: 30px;
}

/* ======================= END PAGINTION STYLES */


