/**
 * @package     RNS_kataskinosi.site
 * @subpackage  com_rns_kataskinosi
 *
 * @copyright   Copyright (C) 2025 Giannis Brailas. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

#sp-main-body {
	background-color: #f0f4fb;
}

#aitisi_kataskinosis h3,h4,h5 {
    font-weight: bold !important;
}

.lightcyan {
    background: lightcyan;
    padding: 10px;
}

.lightgreen {
    background: #a4c196;
    padding: 10px;
}

body.view-aitisiform #sp-main-body {
	background-color: #F6F8F9;
    padding-top: 50px;
}

.forma_heading {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 20px;
    font-weight: bold;
}

/* Accordion */
    .accordion_list {max-width:960px;margin:0 auto 15px auto;}
    .wp-block-heading.has-text-align-center + .accordion_list {margin-top:30px;}
    .accordion_list dl dt {cursor:pointer;position:relative;font-weight:700;padding:24px 50px 24px 27px;background:#fff;margin-bottom:9px;border-radius:8px;}
    .accordion_list dl dt:after {
        content: '\f107';
        width:14px;
        height:8px;
        display:block;
        position:absolute;
        top:calc(50% - 3px);
        right:23px;
        -webkit-font-smoothing: antialiased;
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        transition:transform ease-in-out .2s;
    }
    .accordion_list dl dt.active {border-radius:8px 8px 0 0;margin-bottom:0;}
    .accordion_list dl dt.active:after {transform:rotate(180deg);}
    .accordion_list dl dt h3 {
        padding:0;
        font-size: 23px;
    }
    .accordion_list dl dd {display:none;padding:10px 27px;font-size:16px;background:#fff;border-radius:0 0 8px 8px;margin-bottom:9px;}

    .accordion_icon_list {max-width:100%;}
    h2 + .accordion_icon_list, h3 + .accordion_icon_list {margin-top:-20px;}
    .accordion_icon_list dl dt {padding:14px 70px 14px 30px;min-height:93px;box-sizing:border-box;display:flex;align-items:center;margin-bottom:31px;font-size:22px;}
    .accordion_icon_list dl dt div {
        height:64px;
        margin-right:30px;
        font-size: 38px;
        color: #e87728;
    }
    .accordion_icon_list dl dt div img {width:64px;height:64px;object-fit:contain;}
    .accordion_icon_list dl dt:after {right:40px;}
    .accordion_icon_list dl dd {padding:0 70px 10px 124px;font-size:19px;margin-bottom:31px;}
    /*.accordion_icon_list dl dt:first-of-type {padding-left:46px;}*/
    .accordion_icon_list dl dd:first-of-type {padding:0 26px 10px 26px;}

.text_center {
    text-align: center;
}

.warning {
    color: red;
    font-weight: bold;
}

#aitisi_kataskinosis hr {
    margin: 15px 0 15px 0;
}

#ergasiaka .control-label {
    padding-bottom: 20px;
}

#visible_xristes {
    float:left;
    margin: 12px;
}

#content .btn-toolbar {
    padding: 15px 0 15px 0;
}

#content .btn-group {
    padding: 0 5px 5px 5px;
}

#content .nav-tabs {
    border-bottom: 1px solid #ffffff;
    margin-bottom:10px;
}

label, input[type="checkbox"] {
    cursor: pointer;
 }

.edit_elements {
	text-align: center;
}

.addBtn, .addArgiaBtn {
	color: #24bb47;
	cursor: pointer;
}

.addBtn:hover, .addArgiaBtn:hover {
	color: green;
}

.editBtn, .editArgiaBtn {
	color: orange;
	cursor: pointer;
}

.deleteBtn {
	color: red;
	font-size: 18px; 
	padding-top:8px;
	cursor: pointer;
}

.deleteBtn:hover, .deleteArgiaBtn, .cancelSaveArgia, .cancelSaveBtn {
	color: black;
}

.editArgiaBtn {
	display: inline-block;
}

.deleteArgiaBtn, .cancelSaveArgia, .cancelSaveBtn {
	color: red;
	cursor: pointer;
	display: inline-block;
	padding-left: 10px;
}

.SaveArgia, .SaveBtn {
	color: green;
	cursor: pointer;
}

.EditArgia {
    color: #ff8400;
	cursor: pointer;  
}

.eggrafo_delete_lbl {
    color: #e40a0a;
    font-weight: bold;
    padding: 3px;
}

.eggrafo_delete_lbl:hover, .eggrafo_delete_lbl:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.display_none {
	display: none !important;
}

.not_allowed {
	cursor: not-allowed;
}

.rTable {
  	display: table;
  	width: 100%;
	background-color: #f5f5f5;
	border-top: 1px solid black;
    border-left: 1px solid black;
    border-collapse: collapse;
    table-layout: fixed;
}
.rTableRow {
  	display: table-row;
}
.rTableHeading {
  	display: table-header-group;
  	background-color: #ddd;
}

.rTableHead {
	font-weight: bold;
}

.rTableCell, .rTableHead {
  	display: table-cell;
  	padding: 10px;
	border-bottom: 1px solid black;
    border-right: 1px solid black;
}

.rTableHeading {
  	display: table-header-group;
  	background-color: #ddd;
  	font-weight: bold;
}
.rTableFoot {
  	display: table-footer-group;
  	font-weight: bold;
  	background-color: #ddd;
}
.rTableBody {
  	display: table-row-group;
}

.clearfix {
	clear: both;
}

.com_rns_hr #sp-main-body {
	padding: 0;
}

.dashboard .output,
.dashboard .output_next,
.dashboard .output_last {
	font-size: 35px;
	text-align: center;
	padding: 10px;
}

.dashboardItem.dikaioumenes {
	background: #457acd;	
}

.dashboardItem.lifthises {
	background: #cd9145;	
}

.dashboardItem.ypoloipomenes {
	background: #45cd6a;	
}

#kanonikes_last_year .dashboardItem.dikaioumenes,
#kanonikes_next_year .dashboardItem.dikaioumenes {
	background: #457acd8f;	
}

#kanonikes_last_year .dashboardItem.lifthises,
#kanonikes_next_year .dashboardItem.lifthises {
	background: #cd91458f;	
}

#kanonikes_last_year .dashboardItem.ypoloipomenes,
#kanonikes_next_year .dashboardItem.ypoloipomenes{
	background: #45cd6a8f;	
}

.dashboardItem {
    color: #fff;
    flex-grow: 1;
    width: 25%;
    min-width: 15rem;
    margin: 0.5rem;
    padding: 0.9rem;
    
}

.layoutTop {
    display: flex;
    align-items: stretch;
    flex-grow: 0;
    height: 3rem;
    background: #c07a57;
	color: #fff;
	padding:5px;
}

.sidebar-wrapper {
    display: flex;
    flex-direction: column;
    flex-grow: 0;
    background: #c07a57;
    padding-bottom: 100px;
}

.sidebar-wrapper .menuItem {
    display: flex;
    align-items: center;
    height: 4rem;
    min-width: 16rem;
    font-weight: 400;
    text-decoration: none;
    color: rgba(255, 255, 255, .8);
    background: rgba(0, 0, 0, .15);
    margin: 0.25em 0 0 0.3em;
    padding: 0 0.6em;
    border-radius: 2em 0 0 2em;
    outline: none;
	font-size: 12pt;
}

.sidebar-wrapper .menuItem:hover, 
.sidebar-wrapper .menuItem:active {
    background: rgba(0, 0, 0, .3);
}

.sidebar-wrapper .menuItem i {
    font-size: 1.7em;
    line-height: 1em;
    margin-left: 0.2em;
    margin-right: 0.3em;
    min-width: 1.2em;
    text-align: center;
}

.sidebar-toggle {
	display: flex;
    align-items: center;
    height: 2rem;
    min-width: 16rem;
    padding: 0 0.6em;
    color: rgba(255, 255, 255, .8);
    background: rgba(0, 0, 0, .15);
}

.sidebar-toggle i {
	padding-right: 5px;
}

.sidebar-wrapper.closed  {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 3rem;
    flex: 1 0 3rem;
    max-width: 3rem;
    overflow: visible;
}

.sidebar-wrapper .sidebar-toggle a {
    color: #fff;
}

.sidebar-wrapper .item>a {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-grow: 1;
    min-height: 40px;
    position: relative;
}

.closed .itemLabel,
.closed .sidebar-item-title {
    display: none;
	
}

.closed .sidebar-wrapper .menuItem,
.closed .sidebar-toggle {
	min-width: initial;
}

.leftMenu {
    flex-grow: 1;
    margin-top: 1em;
}

.container-main .content {
    padding: 1rem;
}

.content > .header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5em;
    padding-left: 0.5rem;
    padding-bottom: 0.5em;
    border-bottom: 1px solid #ddd;
}

.content > .header > .title {
    flex-grow: 0;
    font-size: 1.8em;
    font-weight: 400;
    margin: 0;
}

.container-main {
    min-height: 76vh;
    padding-bottom: 25px;
}

.container-main .content .header > .actions > a {
	vertical-align: middle;
    margin: 0 0.5em;
	font-size: 1.5em;
    color: rgba(61, 82, 101, 0.8);
    display: inline-block;
    outline: none;
}

.ui-autocomplete {
	z-index: 1000 !important;
}

 #loading {
   width: 100%;
   height: 100%;
   top: 0;
   left: 0;
   position: fixed;
   opacity: 0.7;
   background-color: #fff;
   z-index: 99;
   text-align: center;
   padding-top:350px;
}

#loading-image {
  margin: auto;
  z-index: 100;
}

.returned {
	opacity: 0.7;
	color: #888c8c;
}

.alert {
	margin: 20px 0 0 0 !important;
}

.alert .button {
    border: 3px double #953b3b;
    border-radius: 4px;
    background-color: red;
    color: white;
    font-weight: bold;
}

.alert .button:hover {
    background-color: #8a1e1e;
}

.rns_files_wrapper {
	text-align:center;
	margin:0 auto;
	padding-bottom:15px;
	max-width: 50em;
}

.rns_files_drop_inner_area {
	border: 2px dashed grey;
	height: 100%;
    width: 100%;
    display: flex; /* Flexbox for side-by-side layout */
    flex-wrap: wrap; /* Allows wrapping to new row if needed */
    gap: 10px; /* Space between thumbnails */
    justify-content: center;
    align-items: center;
}

.rns_files_drop_area {
    height: 200px;
	background-color: #C8DADF;
	padding: 10px;
	cursor: pointer;
    display: flex; /* Flexbox for side-by-side layout */
    flex-wrap: wrap; /* Allows wrapping to new row if needed */
    gap: 10px; /* Space between thumbnails */
    justify-content: flex-start; /* Align to the left */
    align-items: flex-start; /* Align top */
    overflow: hidden;
}

.rns_files_drop_text {
	color: #3d5265;
    opacity: 0.5;
	font-size:25px;
	font-weight:bold;
    padding-top: 15px;
}

.rns_files_drop_area img {
    max-width: 80px;
    margin:0 auto;
}

.rns_files_thumbnail {
    width: auto;
    height: auto; /* Maintain aspect ratio */
    text-align: center; /* Center content within each thumbnail */
    padding: 2px;
    border: 2px solid lightgray;
    border-radius: 3px;
}

.rns_files_thumbnail .name, .rns_files_thumbnail .size {
    font-size: 18px;
}

.dropdown-menu {
	max-height: 450px !important;
}

.table_id_pagiou a {
	font-weight: bold;
}

.table_select {
	width: 50px;
	color: cadetblue;
}

.table_id_pagiou {
	width: 80px;
}

#details {
	padding-bottom: 80px;
}

.pagia_table {
	width: 100%;
	margin-bottom: 20px;
	border-collapse: collapse;
	table-layout: fixed;
	/*background-color: #f5f5f5;*/
 }

.pagia_table td, .pagia_table th {
	border: 1px gray;
    border-style: solid;
	padding: 10px;
	text-align: left;
	overflow: hidden;
	word-wrap: break-word;
}

.pagia_table thead th {
	cursor: pointer; 
	color: #5aa847;
}

.pagia_table .sselect {
 	text-align:center;
}

.pagia_table .sselect input[type="checkbox"] {
	width: 17px;
	height: 17px;
	vertical-align: middle;
}

.pagia_table .xrristis {
	font-size: 10px !important;
}



.category-list .table-striped>tbody>tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.6);
}

a.button {
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;
    padding: 15px;
    text-decoration: none;
    color: initial;
}

.input-mini {
	width: 70px !important;
}

.btn-new {
	background-color: #ec3e3e;
	color: #fff;
}

.btn-new:hover {
    color: #fff !important;
	background-color: #c51717;
}

.btn-map {
  color: #ffffff;
  background-color: #24b9b7;
  border-color: #23a79d;
}
.btn-map:hover,
.btn-map:focus,
.btn-map.focus,
.btn-map:active,
.btn-map.active,
.open > .dropdown-toggle.btn-map {
  color: #ffffff !important;
  background-color: #2468a0;
  border-color: #23a79d;
}
.btn-map:active,
.btn-map.active,
.open > .dropdown-toggle.btn-map {
  background-image: none;
}

.btn-orange {
  color: #ffffff !important;
  border-color: #b2731a;
  background-color: #d07415;
}
.btn-orange:hover {
  color: #ffffff !important;
  border-color: #c44f1c;
  background-color: #af3e16;
}
 

/* The Modal (background) */
.modal_window {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    /* z-index: 1;  Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
	z-index: 1000;
}
.modal_content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 60%;
}

#helpBtn {
	background-color: transparent;
	border: 0px none;
}

#helpBtn:hover {
	color: #d57f22;
}

#helpModal .modal_content {
	height: 85%;
	overflow: hidden;
}

#helpModal .modal_window {
	overflow: hidden !important;
}

#helpModal .modal_content article {
	overflow: auto;
	height: 100%;
	margin-top: 25px;
}

#helpModal .modal_content .article-details {
    overflow: auto;
}

.modal_width_50 {
	width: 50% !important;
}

/* The Close Button */
.close_button {
	color: #aaaaaa;
}

.modal_close_btn {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.modal_close_btn:hover, .modal_close_btn:focus,
.close_button:hover, .close_button:focus {
    color: #ff0000;
    text-decoration: none;
    cursor: pointer;
}

.pl-project-sidebar-container{border-left: dotted 1px #ccc; padding-left: 10px;}
.pl-project-sidebar-container .nav-list{padding-left: 0;}

.plitem-container{height: auto; min-height: 30px; margin: 10px auto; border: #d3d6db 1px solid;-webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;} 
.plitem-cnt{height: auto; min-height: 35px; padding: 10px;	overflow: auto;}
.plitem-cnt:hover{border-right: solid 4px #ccc;}
.plitem-cnt img{width: 35px; height: 35px; float: left; margin-right: 10px; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; background-color: #ccc;}
.theplitem{width: auto; height: auto; min-height: 35px;}
.theplitem h5{display: inline; float: left; font-family: tahoma; font-size: 13px; color: #3b5998; margin: 0 15px 0 0;}
.theplitem .plitem-dt{display: inline; float: left; font-size: 12px; line-height: 18px; color: #ccc;}
.theplitem p{width: auto; margin: 5px 5px 5px 45px; color: #4e5665;}
.new-plitem-bt{width: 100%; height: 30px; border: #d3d7dc 1px solid; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; background-color: #f9f9f9; color: #adb2bb; cursor: text;}
.new-plitem-bt span{display: inline;font-size: 13px;margin-left: 10px;	line-height: 30px;}
.new-plitem-cnt{width: 100%; height: auto; min-height: 110px; }
.the-new-plitem{width: 98%; height: auto; min-height: 70px; padding: 5px; margin-bottom: 20px; border: #d3d7dc 1px solid; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; background-color: #f9f9f9; color: #333; resize: none;}
.new-plitem-cnt input[type="text"]{margin: 0; height: 20px; padding: 5px; border: #d3d7dc 1px solid;-webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; background-color: #f9f9f9; color: #333; margin-bottom:5px;}
.plitem-container textarea:focus, .new-plitem-cnt input[type="text"]:focus{border-color: rgba(82, 168, 236, 0.8); outline: 0; outline: thin dotted \9; /* IE6-9 */ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.4); -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.4); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.4);}
.new-plitem-cnt{width:100%; height: auto; display: none; margin-bottom: 10px;}
.shadow{-webkit-box-shadow: 0px 0px 18px rgba(50, 50, 50, 0.31); -moz-box-shadow: 0px 0px 10px rgba(50, 50, 50, 0.31); box-shadow: 0px 0px 5px rgba(50, 50, 50, 0.31);}	
/*.bt-add-plitem{display: inline;float: left;padding: 8px 10px;  margin-right: 10px;background-color: #3498db;color: #fff; cursor: pointer;opacity: 0.6;-webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;}
.bt-cancel-plitem{display: inline;float: left;padding: 8px 10px; border: #d9d9d9 1px solid;color: #404040;	cursor: pointer;-webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;}*/

ul.pl-project-details{margin: 0; padding: 0;}
ul.pl-project-details li{list-style-type: none; margin-left: 0px; padding: 5px 0;}
ul.pl-project-details li.divider {height: 1px; padding: 0; margin: 8px 1px; overflow: hidden; background-color: #e5e5e5; border-bottom: 1px solid #fff;}

@media print {
  a[href]:after {
    content: none !important;
  }
  .plitem-container{border: none;}
}


@media (max-width: 1000px) {
	.sidebar-menu .menuItem .itemLabel,
	.sidebar-toggle {
		display: none;
	}
	.sidebar-menu .menuItem {
		min-width: initial;
	}
	.sidebar-wrapper  {
        -webkit-box-flex: 1;
        -ms-flex: 1 0 3rem;
        flex: 1 0 3rem;
        max-width: 4rem;
        overflow: visible;
    }
}



@media (min-width: 1400px) {
	.dashboardItem {
		min-width: 20em;
		font-size: .95em;
	
    }
}


@media (max-width: 767px) {
   
    .container-main .content {
        padding: 0;
        margin-bottom: 20px;
    }

    .rTableHead, .rTableCell {
            display: block;
    }

    .header {
        flex-direction: column;
    }

    .dashboardItem {
		min-width: 14rem;
	}

    table, .rTable {
        border: 0;
      }
    
      table caption {
        font-size: 1.3em;
      }
      
      table thead, .rTableHead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
      }
      
      table tr, .rTableRow {
        border-bottom: 3px solid #433535;
        display: block;
        margin-bottom: .625em;
      }
      
      table td {
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: .8em;
        text-align: center;
      }

      table td::before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
      }
      
      table td:last-child {
        border-bottom: 0;
      }

      .rTableCell {
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: .8em;
        text-align: right;
        border-right: 0px none;
      }

      .rTableCell::before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
        color: black;
      }
}





