/*
Theme Name: XClimat
Theme URI: https://xclimat.org/
Template: responsive
Author: XClimat
Author URI: https://xclimat.org/
Tags: custom-menu,custom-header,custom-background,one-column,two-columns,left-sidebar,right-sidebar,theme-options,threaded-comments,full-width-template,sticky-post,translation-ready,rtl-language-support,featured-images
Version: 2.0.4
Updated: 2018-03-08 10:17:17

*/

#wrapper, #featured, .grid, .grid .widget-wrapper {
    border-color: #222;
}

.home-widgets .widget-wrapper {
    height: 200px;
    border: 1px solid #060606;
}

#content, #content-archive, #content-search {
    margin-top: 10px;
    margin-bottom: 0;
}

#content .responsive::after {
    border-bottom: 0;
}

#front-page-search-form {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #222;
}

#front-page-search-form > p {
    margin: 0 0 20px;
    text-transform: uppercase;
    font-size: 1.8em;
    font-weight: bold;
}

#front-page-search-form > #publication-search-form {
    margin: 0;
}

#widgets {
    margin-top: 20px;
}

#widgets a {
    display: block;
}

#widgets .grid {
    margin-bottom: 0;
}

.menu li.social-link {
    float: right;
}

a.button.subscription-toggle {
    margin: 10px auto;
    border-radius: 3px;
}

.publication-search-field {
    width: 150px;
}

select.publication-search-field {
    height: 30px;
}

.filter-publication {
    height: 45px;
}

.filter-publication > select {
    height: 35px;
    margin: auto 0;
}

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

.vertical-separator {
    border-right: 1px solid #7e7e7e;
    margin: 0 10px;
}

span.select2-selection__clear {
    font-size: 1.5em;
    line-height: 1.2em;
}

span.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #444;
}

.post-meta .fa-file-text-o {
    margin-right: 6px;
}

.post-meta .timestamp {
    border: 0;
    padding-right: 0;
}

.publication-head {
    margin-bottom: 10px;
}

.publication-head > h1.entry-title.post-title,
.publication-head > h2.entry-title.post-title,
.publication-head > div.post-meta {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
}

.publication-head > h1.entry-title.post-title,
.publication-head > h2.entry-title.post-title {
    font-size: 1em;
}

.publication-head > div.post-meta {
    display: inline-block;
    vertical-align: middle;
    font-size: 1em;
    color: #333;
}

.publication > .post-entry > p,
.publication > .post-entry > div > p {
    margin-top: 0;
}

.publication > .post-entry > .read-more {
    margin-top: 10px;
}

.publication-documents-liste {
    margin: 0;
    padding-left: 10px;
    text-align: left;
}

.publication-download-button {
    color: #f4f4f4;
    background: #1abc9c;
    font-weight: 700;
    margin: 5px 0 15px;
    font-family: Arial, sans-serif;
    border-radius: 4px;
    border-top-width: 0;
    border-right-width: 0;
    border-bottom: 2px solid #3a9a95;
    border-left-width: 0;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    padding: 10px 25px;
    display: inline-block;
    white-space: nowrap;
}

.publication-download-button:hover, .publication-download-button:focus {
    color: #f4f4f4;
    background: #2a8a85;
    cursor: pointer;
}

.publication-download-button:disabled {
    background: #4f4f4f;
    border-bottom-color: #787878;
    cursor: not-allowed;
}

.publication-download-button-label {
    padding-left: 5px;
}

td.publication-document-column {
    width: 1%;
    white-space: nowrap;
    text-align: center;
}

td.publication-document-column > .publication-download-button {
    margin: 0;
}

.publication-table-wrapper {
    overflow: auto;
    width: 100%;
    padding: 0;
}

.publication-table, .publication-table th, .publication-table td {
    border-color: #333;
    color: #333;
}

.publication-table th {
    color: #fff;
    background: #393939;
    font-weight: bold;
    padding: 3px 6px 1px;
    white-space: nowrap;
}

.publication-table td {
    cursor: pointer;
    padding: 10px;
}

.publication-table > tbody > tr {
    background: #fff;
}

.publication-table > tbody > tr:hover {
    background: #eee;
}

a.btn-blue, input[type="reset"].btn-blue, input[type="button"].btn-blue, input[type="submit"].btn-blue {
    background: #1874cd linear-gradient(to top, #4f9eea, #1874cd);
    border: 1px solid #115290;
    text-shadow: 0 -1px 0 #115290;
    color: #fff;
}

a.btn-blue:hover, input[type="reset"].btn-blue:hover, input[type="button"].btn-blue:hover, input[type="submit"].btn-blue:hover {
    background: #7db7f0 linear-gradient(to top, #7db7f0, #1874cd);
}

.back > a {
    background: #f9f9f9 linear-gradient(to top, #f9f9f9, #f1f1f1);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset;
    border: 1px solid #dddddd;
    border-radius: 2px;
    color: #333333;
    cursor: pointer;
    display: inline-block;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#f9f9f9, endColorstr=#f1f1f1)";
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    margin: 0;
    padding: 4px 10px;
    text-decoration: none;
    text-shadow: 0 1px 0 #ffffff;
    vertical-align: middle;
    white-space: nowrap;
}

.back > a:hover {
    background: #f2f2f2 linear-gradient(to top, #f2f2f2, #ececec);
}

/**************************/
/* ----- Pagination ----- */
/**************************/

ul.page-numbers {
    width: 90%;
    max-width: 768px;
    display: block;
    overflow: hidden;
    border-radius: .25em;
    border: 1px solid #a6a6a6;
    margin: 20px auto 0;
    list-style: none;
    padding-left: 0;
    text-align: center;
}

ul.page-numbers > li {
    float: none;
    border: 0;
    margin: 0;
    display: inline-block;
}

ul.page-numbers > li > a, ul.page-numbers > li > span {
    float: none;
    border-radius: 0;
    padding: 8px 14px;
    border: 0;
    font-size: 16px;
    display: inline-block;
    color: #2e4057;
}

ul.page-numbers > li > a:hover {
    background-color: #f2f2f2;
}

ul.page-numbers > li > .current {
    background-color: #64a281;
    border-color: #64a281;
    color: #fff;
    pointer-events: none;
}

ul.page-numbers > li.prev-page, ul.page-numbers > li.next-page {
    position: relative;
}

ul.page-numbers > li.prev-page {
    float: left;
}

ul.page-numbers > li.next-page {
    float: right;
}

ul.page-numbers > li.inactive-page > span {
    color: #a8a8a8;
}

/*********************/
/* ----- Forum ----- */
/*********************/

.bbp-header, .bbp-body, .bbp-footer, #bbpress-forums p.bbp-topic-meta {
    font-size: 14px;
}

#bbpress-forums ul.bbp-forums {
    border: 0;
}

#bbpress-forums li.bbp-header {
    border: 1px #222 solid;
    background: #f6f6f6;
}

#bbpress-forums li.bbp-body {
    border: 1px #222 solid;
    border-top: 0;
}

#bbpress-forums li.bbp-footer {
    border: 1px #222 solid;
    border-top: 0;
}

#bbpress-forums div.bbp-reply-header {
    border-bottom: 1px #222 solid;
}

#bbpress-forums .bbp-body div.bbp-reply-author .avatar {
    margin-top: 0;
}

#bbpress-forums .bbp-body div.bbp-reply-content {
    padding: 0;
}

#bbpress-forums .bbp-body div.bbp-reply-content p {
    margin: 15px 0;
}

#bbpress-forums .bbp-body div.bbp-reply-content p:first-child {
    margin-top: 0;
}

span.bbp-admin-links {
    color: #666;
}

span.bbp-admin-links a {
    color: #0066cc;
    font-size: 12px;
}

span.bbp-admin-links a:hover,
span.bbp-admin-links a:focus,
span.bbp-admin-links a:active {
    text-decoration: underline;
}

.bbp-forum-header a.bbp-forum-permalink,
.bbp-topic-header a.bbp-topic-permalink,
.bbp-reply-header a.bbp-reply-permalink {
    color: #222;
}

.bbp-pagination {
    font-size: 13px;
}

#bbpress-forums fieldset.bbp-form {
    border-color: #222;
}

#bbpress-forums fieldset.bbp-form legend {
    font-size: 14px;
    font-weight: bold;
}

#bbpress-forums fieldset.bbp-form label {
    font-size: 14px;
}

#wp-bbp_reply_content-editor-tools {
    margin-bottom: 0;
}

#wp-bbp_reply_content-editor-tools .wp-editor-tabs {
    margin-bottom: 0;
    margin-right: 7px;
}

#wp-bbp_reply_content-editor-tools .wp-editor-tabs button {
    margin-top: 0;
    border: 1px #222 solid;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    color: #222;
    background: #fff;
}

#wp-bbp_reply_content-wrap.tmce-active .wp-editor-tabs button#bbp_reply_content-tmce {
    background: #333;
    color: #fff;
    font-weight: bold;
}

#wp-bbp_reply_content-wrap.html-active .wp-editor-tabs button#bbp_reply_content-html {
    background: #333;
    color: #fff;
    font-weight: bold;
}

#wp-bbp_topic_content-editor-tools {
    margin-bottom: 0;
}

#wp-bbp_topic_content-editor-tools .wp-editor-tabs {
    margin-bottom: 0;
    margin-right: 7px;
}

#wp-bbp_topic_content-editor-tools .wp-editor-tabs button {
    margin-top: 0;
    border: 1px #222 solid;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    color: #222;
    background: #fff;
}

#wp-bbp_topic_content-wrap.tmce-active .wp-editor-tabs button#bbp_topic_content-tmce {
    background: #333;
    color: #fff;
    font-weight: bold;
}

#wp-bbp_topic_content-wrap.html-active .wp-editor-tabs button#bbp_topic_content-html {
    background: #333;
    color: #fff;
    font-weight: bold;
}

#wp-bbp_topic_content-editor-container,
#wp-bbp_reply_content-editor-container {
    border: 1px #222 solid;
}

#bbpress-forums fieldset.bbp-form select {
    font-size: 15px;
    padding: 3px 7px;
}

/**********************/
/* ----- Modale ----- */
/**********************/

#simplemodal-overlay {
    background-color: #000;
}

#simplemodal-container {
    height: 75%;
    width: 50%;
    color: #bbb;
    background-color: #333;
    border: 4px solid #444;
    padding: 0;
}

#simplemodal-container .simplemodal-data {
    height: 100%;
    width: 100%;
}

#simplemodal-container code {
    background: #141414;
    border-left: 3px solid #65B43D;
    color: #bbb;
    display: block;
    font-size: 12px;
    margin-bottom: 12px;
    padding: 4px 6px 6px;
}

#simplemodal-container a {
    color: #ddd;
}

#simplemodal-container a.modalCloseImg {
    background: url(images/x.png) no-repeat;
    width: 25px;
    height: 29px;
    display: inline;
    z-index: 3200;
    position: absolute;
    top: -15px;
    right: -16px;
    cursor: pointer;
}

#simplemodal-container h3 {
    color: #84b8d9;
}

#simplemodal-container .simplemodal-data > iframe {
    height: 100%;
    width: 100%;
}

/**************************/
/* ----- Références ----- */
/**************************/

#references-table {
    overflow: auto;
}

#references-table > table {
    border-color: #222 !important;
}

#references-table > table > tbody > tr > td {
    height: auto !important;
    width: auto !important;
    background: #fff !important;
    border-color: #222 !important;
}

#references-table > table > tbody > tr.references-table-header > td {
    font-weight: bold !important;
    background: #393939 !important;
    color: #fff !important;
}

#references-table > table > tbody > tr:not(.references-table-header) > td:not(:first-child) {
    font-weight: bold !important;
}

/**************************/
/* ----- Responsive ----- */
/**************************/

@media (max-width: 1023px) {
    #simplemodal-container {
        width: 95%;
        height: 70%;
        border-width: 1px;
    }

    #simplemodal-container iframe {
        position: relative;
        overflow: hidden;
        height: 100%;
    }
}

@media (max-width: 767px) {
    .publication-table td {
        padding: 5px;
        font-size: 14px;
        line-height: 18px;
    }

    .publication-download-button {
        padding: 4px 8px;
    }

    .publication-download-button-label {
        display: none;
    }
}
