/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
/* .archive-container {
    width: 90%;
    margin: auto;
} */

.pdf-archive-title {
    text-align: center;
    position: relative;
    margin-top: 25px;
}

.pdf-archive-title::before {
    position: absolute;
    content: "";
    background: #c5c5c5;
    width: 42%;
    height: 1px;
    left: 0;
    top: 50%;
}

.pdf-archive-title::after {
    position: absolute;
    content: "";
    background: #c5c5c5;
    width: 42%;
    height: 1px;
    right: 0;
    top: 50%;
}

.pdf-items {
    display: flex;
    flex-wrap: wrap;
}

.archive-container .row {
    display: flex;
    flex-wrap: wrap;
}

.archive-container .row .col-9 {
    width: 82%;
    padding: 0 8%;
}

.archive-container .row .col-3 {
    width: 18%;
    background: #32373C;
    padding: 20px;
}

/* .pdf-archive-wrapper {
    width: 75%;
} */

.pdf-items {
    display: flex;
    flex-wrap: wrap;
}

.pdf-items .pdf-item {
    width: 45%;
    box-shadow: 0px 0px 2px #ccc;
    margin: 1% 1% 1%;
    padding: 15px 25px 40px;
    position: relative;
}

.pdf-thumbnail a img {
    width: 60%;
    margin: auto;
    text-align: center;
    display: block;
}

.pdf-items .pdf-item .date {
    position: absolute;
    top: 0;
    left: 0;
}

.pdf-items .pdf-item .date span {
    display: block;
    text-align: center;
}

.pdf-items .pdf-item .date span:first-child {
    font-weight: 600;
    font-size: 18px;
    background: #FFE691;
    color: rgb(174, 143, 35);
}

.pdf-items .pdf-item .date span:first-child span.dashicons.dashicons-edit {
    text-align: center;
    display: block;
    width: 100%;
    font-size: 15px;
    padding-top: 5px;
}

.pdf-items .pdf-item .date span:nth-child(2) {
    background: #eee;
    border-top: 1px solid #e5e5e5;
    color: #999;
    font-size: 13px;
    padding: 4px;
}

.pdf-items .pdf-item .date span:nth-child(3) {
    background: #fff;
    border: 1px solid #eee;
    font-size: 14px;
    padding: 3px;
    color: #ccc;
}

/* sidebar */
.archive-container .row .col-3 ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.archive-container .row .col-3 li {
    list-style: none;
    margin-bottom: 25px;
}

input#wp-block-search__input-1 {
    height: 50px;
}

button.wp-block-search__button.has-text-color.has-white-color.has-background.has-black-background-color.wp-element-button {
    display: none;
}

.wp-block-calendar table thead tr th {
    color: #333;
}

.wp-block-calendar table:where(:not(.has-text-color)) {
    color: #fff;
}

nav.wp-calendar-nav {
    display: none;
}

.pdf-archive-paginattion a {
    background: #333;
    color: #fff;
    padding: 10px;
}

.pdf-archive-paginattion span.current {
    background: #fff;
    border: 1px solid #333;
    padding: 9px;
}

.pdf-archive-paginattion {
    margin: 20px 12px;
}

@media only screen and (max-width:768px) {

    .archive-container .row .col-9 {
        width: 98%;
        margin: auto;
        padding: 0;
    }

    .archive-container .row .col-3 {
        width: 95%;
        margin: 10px auto;
    }
    .pdf-archive-title::before {
        width: 35%;
    }
    .pdf-archive-title::after {
        width: 35%;
    }

    .pdf-items .pdf-item {
        width: 100%;
        margin-bottom: 20px;
    }


}


/* message */
.message-wrapper {
    background: #DAB2DE;
    padding: 0;
    margin: 0;
    font-family: "helvetica";
}

.message-wrapper .container {
    width: 985px;
    margin: auto;
    display: block;
}

.message-id h1 {
    font-size: 30px;
    color: #000;
    font-weight: 300;
    font-family: "helvetica";
}

.message-item {
    background: #fff;
    color: #000;
    padding: 10px 15px;
    margin: 20px 0;
}

.message-body  {
    color: #000;
	font-family: 'tolia';
    font-weight: 300;
    text-align: right;
    margin-top: 80px;
	direction: rtl;
}

.message-footer-items {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
}

.footer-item p {
    color: #000;
    font-size: 14px;
    font-family: 'Tolia';
    margin: 0;
}

.footer-item .icon {
    width: 60px !important;
    max-width: 60px !important;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.footer-item .icon svg {
    width: 60px !important;
    max-width: 60px !important;
    margin: 0;
    padding: 0;
    margin-top: -14px;
    transition: 0.3s;
}

.icon.popup-icon:hover svg {
    margin-left: 5px;
    transition: 0.3s;
}

.footer-item h6 {
    color: rgb(163, 110, 168);
    font-size: 20px;
    line-height: 32px;
    font-weight: 500;
    font-family: 'Tolia';
}

.footer-border {
    width: 100%;
    height: 1px;
    background: #333;
    margin-bottom: 20px;
}

.pagination.message-pagination a {
    color: #000;
    background: #fff;
    padding: 5px 8px;
    border-radius: 2px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.pagination.message-pagination span {
    color: #fff;
    background: #000;
    padding: 5px 8px;
    border-radius: 2px;
    border: 1px solid rgba(0, 0, 0, 0.4);
    cursor: pointer;
}

/* popup */
div#message-page-popup {
    background: rgba(163, 110, 168, 0.88);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 99;
    display: none;
}

.popup-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 80px 45px;
    width: 860px;
    display: flex;
}

.popup-wrapper .popup-item:first-child {
    width: 75%;
}

.message-popup-close {
    width: 40px;
    height: 40px;
    position: absolute;
    right: -55px;
    top: 18px;
    cursor: pointer;
}

.message-popup-close svg {
    fill: #fff;
}

.message-archive-header .hero-img img {
    display: block;
    width: 80%;
    margin: auto;
}

.header-btn-area {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 40px 0 85px;
}

.header-btn-area .btn-item {
    width: 365px;
}

.search-btn-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: start;
}

.search-btn-header .btn-img {
    width: 57px;
    height: 67px;
    border: 1px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.search-btn-header .btn-img svg {
    width: 40px;
    height: 40px;
}

.search-btn-header .btn-input input {
    border-radius: 0;
    height: 67px;
    border-left: 0;
    text-align: right;
    font-size: 25px;
    font-weight: bold;
    color: #DAB2DE;
	outline: none !important;
}

.search-btn-header .btn-input {
    width: 300px;
}

.email-btn-header {
    width: 367px;
    display: flex;
    align-items: center;
    justify-content: start;
}

.email-btn-header .btn-img {
    width: 57px;
    height: 67px;
    cursor: pointer;
}

.email-btn-header .btn-img svg {
    width: 57px;
    height: 67px;
    border: 1px solid #000;
    padding: 8px;
}

.email-btn-header .btn-input.email-btn {
    width: 301px;
}

.email-btn-header .btn-input.email-btn button {
    width: 100%;
    height: 67px;
    border: 1px solid #000;
    border-left: 0;
    margin: 0;
    background: transparent;
    color: #000;
    font-weight: bold;
    font-family: 'Tolia';
    font-size: 24px;
    line-height: 20px;
}

.email-btn-header .btn-input.email-btn button:hover {
    background: #3F3836;
    color: #fff;
}

/* contact form */
.message-popup-form {
    width: 435px;
    margin: auto;
    direction: rtl !important;
}
.message-popup-form .form-item_ span input {
    border: 1px solid #DAB2DE;
    background: #dab2de17;
    border-radius: 0;
}

.message-popup-form .form-item_ span textarea {
    border: 1px solid #DAB2DE;
    height: 200px;
    width: 435px;
}
.form-item_ {
	margin-bottom: 20px;
}


.form-item_ label {
    font-family: 'tolia';
    font-size: 15px;
    line-height: 15px;
    color: rgb(163, 110, 168);
}
.form-item_.btn input.wpcf7-form-control.wpcf7-submit.has-spinner {
    width: 100%;
    display: block;
    background: #DAB2DE;
    height: 43px;
    border-radius: 0;
    outline: none !important;
    font-family: 'tolia';
    font-size: 23px;
    line-height: 4px;
    color: #000;
}
input.wpcf7-form-control.wpcf7-email.wpcf7-validates-as-required.wpcf7-text.wpcf7-validates-as-email.wpcf7-not-valid {
    direction: rtl;
}

@media only screen and (max-width:991px) {
    .message-wrapper .container {
        width: 95%;
    }

    .header-btn-area {
        display: block;
    }

    .header-btn-area .btn-item {
        margin: 20px auto;
    }
/* 	form */
	.popup-wrapper {
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column-reverse;
    padding: 24px;
}

.message-popup-form {
    width: 100%;
}

.message-popup-form .form-item_ span input {
    width: 100%;
}

.popup-wrapper .popup-item:first-child {
    width: 100%;
}
	.message-popup-form .form-item_ span textarea {
    width: 100%;
}
}

.popup-item h4 {
    text-align: right;
    color: #000000;
    border-bottom: 1px solid #DAB2DE;
    padding-bottom: 10px;
}
.search-btn-header form button {
    display: block;
    background: transparent;
    border: 0;
    padding: 0;
}