/*
Theme Name: BlankSlate
Theme URI: https://opencollective.com/blankslate
Author: Bryan Hadaway
Author URI: https://opencollective.com/blankslate#section-contributors
Description: Donate: https://opencollective.com/blankslate. Learn: https://blankslate.me/. BlankSlate is the definitive WordPress boilerplate starter theme. I've carefully constructed the most clean and minimalist theme possible for designers and developers to use as a base to build websites for clients or to build completely custom themes from scratch. Clean, simple, unstyled, semi-minified, unformatted, and valid code, SEO-friendly, jQuery-enabled, no programmer comments, standardized and as white label as possible, and most importantly, the CSS is reset for cross-browser-compatability, with no intrusive visual CSS styles added whatsoever. A perfect skeleton theme. For support and suggestions, go to: https://github.com/bhadaway/blankslate/issues. Thank you.
Tags: accessibility-ready, one-column, two-columns, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Version: 2024.2
Requires at least: 5.2
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: blankslate

BlankSlate WordPress Theme 2011-2024
BlankSlate is distributed under the terms of the GNU GPL
*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}html{scroll-behavior:smooth}body{line-height:1}a{text-decoration-skip-ink:auto}a[href^="tel"]{color:inherit;text-decoration:none}button{outline:0}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}q{display:inline;font-style:italic}q:before{content:'"';font-style:normal}q:after{content:'"';font-style:normal}textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"]{-webkit-appearance:none;appearance:none;border-radius:0}input[type="search"]{-webkit-appearance:textfield}table{border-collapse:collapse;border-spacing:0}th,td{padding:2px}big{font-size:120%}small,sup,sub{font-size:80%}sup{vertical-align:super}sub{vertical-align:sub}dd{margin-left:20px}kbd,tt{font-family:courier;font-size:12px}ins{text-decoration:underline}del,strike,s{text-decoration:line-through}dt{font-weight:bold}address,cite,var{font-style:italic}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important;word-break:normal}
.screen-reader-text:focus{background-color:#f7f7f7;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;-webkit-clip-path:none;clip-path:none;color:#007acc;display:block;font-size:14px;font-size:.875rem;font-weight:700;height:auto;right:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}
.skip-link{left:-9999rem;top:2.5rem;z-index:999999999;text-decoration:underline}
.skip-link:focus{display:block;left:6px;top:7px;font-size:14px;font-weight:600;text-decoration:none;line-height:normal;padding:15px 23px 14px;z-index:100000;right:auto}
.visually-hidden:not(:focus):not(:active), .form-allowed-tags:not(:focus):not(:active){position:absolute !important;height:1px;width:1px;overflow:hidden;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px);white-space:nowrap}

html, body {
    min-height: 100vh !important;
}

.ff-footer {
    margin-top: 100px;
}
a {
    color: #81c54a;
}
/*.page-inner {
    min-height: 100vh;
}*/
/* Стили для модальных окон */
.employee-modal .darkness {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(0,0,0,0.5);
}
.employee-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 100%;
    height: 100vh;
 
    /* background: #fff; */
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);

        justify-content: center;
    align-items: center;
/*    animation: modalFadeIn 0.3s;*/
}


/* Стилизация скроллбара для модального окна */
.employee-modal::-webkit-scrollbar {
    width: 8px; /* Ширина вертикального скроллбара */
    height: 8px; /* Высота горизонтального скроллбара */
}

.employee-modal::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05); /* Цвет трека */
    border-radius: 4px;
}

.employee-modal::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2); /* Цвет ползунка */
    border-radius: 4px;
    transition: background 0.3s;
}

.employee-modal::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,0.3); /* Цвет ползунка при наведении */
}

/* Для Firefox */
.employee-modal {
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.2) rgba(0,0,0,0.05);
}

.modal-overlay {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

@keyframes modalFadeIn {
    from {opacity: 0; top: 45%;}
    to {opacity: 1; top: 50%;}
}

.modal-content {
    padding: 25px;
    position: relative;
    max-height: 90vh;
       overflow-y: auto;
       z-index: 3;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: -13px;
    font-size: 48px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close-modal:hover {
    color: #4caf50;
}

.modal-header {
    display: flex;
    align-items: center;
    color: #fff !important;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    flex-direction: column;
}

.modal-avatar {
    /* margin-right: 20px; */
}

.modal-avatar img {
    border-radius: 50%;
}
.modal-title {
    text-align: center;
}
.modal-title h2 {
    margin: 0 0 5px 0;
    color: #fdfdfd;
    font-weight: 800;
}

.modal-title p {
    margin: 0;
    color: #fff;
    font-size: 16px;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.modal-section {
    background: #ffffff;
    padding: 15px;
    border-radius: 6px;
}

.modal-section h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

.modal-section p {
    margin: 8px 0;
    color: #555;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .modal-header {
        flex-direction: column;
        text-align: center;
    }
    
    .modal-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .employee-modal {
        width: 95%;
    }
}

.news-list .post-content {
    padding: 1rem;
    padding-bottom: 0;
}

/* Темная тема */
body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

body.dark-mode .employee-card {
    background: #1e1e1e;
    border-color: #333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

body.dark-mode .employee-info h3 {
    color: #f5f5f5;
}

body.dark-mode .employee-info .position,
body.dark-mode .employee-info .phone,
body.dark-mode .employee-info .email {
    color: #b0b0b0;
}

body.dark-mode .modal-section {
    background: #2a2a2a;
    color: #e0e0e0;
}

body.dark-mode .modal-section h3 {
    color: #f5f5f5;
}

body.dark-mode .modal-section p {
    color: #b0b0b0;
}

body.dark-mode .modal-title h2 {
    color: #f5f5f5;
}

/* Стили для переключателя */
.theme-switcher {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    margin: 10px;
}

.theme-switcher input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #81c54a;
}

input:checked + .slider:before {
    transform: translateX(30px);
}

.slider:after {
    content: "☀️";
    position: absolute;
    left: 8px;
    top: 3px;
    font-size: 14px;
}

input:checked + .slider:after {
    content: "🌙";
    left: 38px;
}


.modal-section {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    /* margin-top: 20px; */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.modal-section h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 10px;
}

.create-meeting-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.create-meeting-form input {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s;
}

.create-meeting-form input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52,152,219,0.1);
    outline: none;
}

.button {
    padding: 12px 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.button:hover {
    background-color: #2980b9;
    transform: translateY(-1px);
}

.meeting-result {
    margin-top: 20px;
    animation: fadeIn 0.5s ease;
}

.success {
    background: #e8f5e9;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #4caf50;
    color: #2e7d32;
}

.error {
    background: #ffebee;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #f44336;
    color: #c62828;
}

.meeting-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.meeting-info p {
    margin: 5px 0;
    font-size: 14px;
}

.loading {
    text-align: center;
    padding: 15px;
    color: #3498db;
    font-size: 15px;
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Адаптация для datetime-local */
input[type="datetime-local"] {
    padding: 11px 15px;
    font-family: inherit;
}



/* Для модального окна */
.employee-modal .modal-section {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Добавьте в ваш CSS файл */
.ktalk-call-button {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    width: 100%;
    justify-content: center;
}

.ktalk-call-button:hover {
    background: #3e8e41;
    transform: translateY(-2px);
}

.ktalk-call-button i {
    font-size: 18px;
}

.call-result {
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
}

.call-result a {
    color: #2196F3;
    text-decoration: none;
    font-weight: bold;
}



/* Общие стили */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.view-toggle {
    margin: 20px 0;
    text-align: right;
}

.view-toggle-btn {
    background: #f5f5f5;
    border: 1px solid #ddd;
    padding: 8px 12px;
    margin-left: 5px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
}

.view-toggle-btn.active {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

/* Стили для таблицы */
.employees-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.employees-table th, 
.employees-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
    color: #000;
    vertical-align: middle;
}

.employees-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.employees-table tr:hover {
    background-color: #f5f5f5;
    cursor: pointer;
}

.employees-table .employee-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

/* Стили для плиток */
.employees-list.grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.employee-card.grid-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s;
}

.employee-card.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.employee-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.employee-info h3 {
    margin: 0 0 5px 0;
    /* text-align: center; */
    color: #333;
}

.position {
    color: #666;
    /* text-align: center; */
    margin: 0;
    font-size: 0.9em;
}

/* Стили для списка */
.employees-list.list-view {
    margin-top: 20px;
}

.employee-card.list-item {
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
}

.employee-info-list {
    display: flex;
    align-items: center;
}

.employee-info-list .employee-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
}

.employee-details h3 {
    margin: 0 0 5px 0;
    color: #333;
}

.employee-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    font-size: 0.9em;
    color: #666;
}

.employee-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .employees-table {
        display: block;
        overflow-x: auto;
    }
    
    .employees-list.grid-view {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .employee-info-list {
        flex-direction: column;
        text-align: center;
    }
    
    .employee-info-list .employee-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .employee-meta {
        justify-content: center;
    }
}

td.employee-avatar img {
    margin-bottom: 0;
}


.space-100 {
    height: 100px;
}

/* employee-search-styles */
.employee-search-container {
    margin: 20px 0;
}

.employee-search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.employee-search-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px !important;
    font-size: 16px;

}

.employee-department-filter {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    min-width: 200px;
}

/* employee-search-no-results */
.employee-no-results {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: #666;
    display: none;
}


/*dashboard*/




.dashboard-tables {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    padding: 20px 0;
}
h1 {
    /*color: #fff;*/
}

.dashboard-tables .container {
/*    max-width: 1200px;*/
/*    margin: 0 auto;*/
/*    padding: 0 15px;*/
}

.dashboard-tables h2 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
    position: relative;
}

.dashboard-tables h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100px;
    height: 2px;
    background: #e74c3c;
}

.dashboard-tables table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.dashboard-tables th {
    background-color: #3498db;
    color: white;
    font-weight: 600;
    padding: 15px;
    text-align: left;
    position: relative;
}

.dashboard-tables th:not(:last-child):after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.dashboard-tables td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

.dashboard-tables tr:nth-child(even) {
    background-color: #f8f9fa;
}

.dashboard-tables tr:hover {
    background-color: #f1f9fe;
}

.dashboard-tables tr:last-child td {
    border-bottom: none;
}

/* Специальные стили для числовых данных */
.dashboard-tables td:nth-child(n+3) {
    font-family: 'Courier New', monospace;
    font-weight: 500;
    text-align: right;
}

/* Цветовые акценты для разных таблиц */
.dashboard-tables h2:nth-of-type(1) {
    border-bottom-color: #3498db;
}

.dashboard-tables h2:nth-of-type(1):after {
    background: #2980b9;
}

.dashboard-tables table:nth-of-type(1) th {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.dashboard-tables h2:nth-of-type(2) {
    border-bottom-color: #2ecc71;
}

.dashboard-tables h2:nth-of-type(2):after {
    background: #27ae60;
}

.dashboard-tables table:nth-of-type(2) th {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.dashboard-tables h2:nth-of-type(3) {
    border-bottom-color: #e74c3c;
}

.dashboard-tables h2:nth-of-type(3):after {
    background: #c0392b;
}

.dashboard-tables table:nth-of-type(3) th {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

/* Анимации и интерактивность */
.dashboard-tables tr {
    transition: all 0.2s ease;
}

.dashboard-tables th {
    transition: all 0.3s ease;
}

.dashboard-tables tr:hover td {
    transform: translateX(2px);
}

/* Адаптивность */
@media (max-width: 768px) {
    .dashboard-tables table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .dashboard-tables h2 {
        font-size: 1.5rem;
    }
    
    .dashboard-tables th, 
    .dashboard-tables td {
        padding: 10px 8px;
        font-size: 0.9rem;
    }
}

/* Стили для пустых ячеек */
.dashboard-tables td:empty:before {
    content: "-";
    color: #bbb;
}







/*dashboard*/


