:root{
  --clr-orange: #dd1a1a;
  --clr-grey: #cccccc;
  --clr-greylight: #e5e5e5;
  --clr-grey-medium: #bbbbbb;
  --clr-grey-dark: #666666;
  --clr-white: #ffffff;
  --clr-black: #000000;
  --clr-black015: rgba(0, 0, 0, 0.15);
  --clr-orangelight: #ed5f5f;
  --clr-ocra: #f7931e;
  --clr-green: #009245;
}

p, a, span, label, .cdf_form, li{
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

h1, h2, h3, h4, h5, h6{
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

a{
	text-decoration: none;
  color: var(--clr-orange);
}

.img-responsive{
	max-width: 100%;
	height: auto;
}

.img-center{
	display: block;
	margin: auto;
}

.img-full{
    width: 100%;
    height: auto;
}

ul{
	margin: 0;
	padding: 0;
  list-style-type: none;
}

p, a, span{
	font-size: 0.9em;
}

a{
	text-decoration: none;
}

*:focus{
	outline: none;
}

.h-full{
  height: 100%;
}

header{
  height: 118px;
  max-block-size: 118px;
}

#cdf_mainwrapper{
  width: 100%;
  height: calc(100% - 118px);  
}

/* HTML: <div class="loader"></div> */
.cdf_loader {
  width: 15px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid var(--clr-orange);
  animation:
    l20-1 0.8s infinite linear alternate,
    l20-2 1.6s infinite linear;
}
@keyframes l20-1{
   0%    {clip-path: polygon(50% 50%,0       0,  50%   0%,  50%    0%, 50%    0%, 50%    0%, 50%    0% )}
   12.5% {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100%   0%, 100%   0%, 100%   0% )}
   25%   {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100% 100%, 100% 100%, 100% 100% )}
   50%   {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100% 100%, 50%  100%, 0%   100% )}
   62.5% {clip-path: polygon(50% 50%,100%    0, 100%   0%,  100%   0%, 100% 100%, 50%  100%, 0%   100% )}
   75%   {clip-path: polygon(50% 50%,100% 100%, 100% 100%,  100% 100%, 100% 100%, 50%  100%, 0%   100% )}
   100%  {clip-path: polygon(50% 50%,50%  100%,  50% 100%,   50% 100%,  50% 100%, 50%  100%, 0%   100% )}
}
@keyframes l20-2{ 
  0%    {transform:scaleY(1)  rotate(0deg)}
  49.99%{transform:scaleY(1)  rotate(135deg)}
  50%   {transform:scaleY(-1) rotate(0deg)}
  100%  {transform:scaleY(-1) rotate(-135deg)}
}

#cdf_load_form{
  display: none;
}

/* ------------------------------------------ */
/* --------------FORM STYLE ----------------- */

.cdf_form form fieldset{
  margin-bottom: 20px;
  position: relative;
}

.cdf_form fieldset select{
  -webkit-appearance: none;
   -moz-appearance: none;
   appearance: none;
}

.cdf_form form fieldset input:not(input[type="submit"]), .cdf_form form fieldset select{
  width: 100%;
  border: 2px solid var(--clr-grey);
  height: 40px;
  border-bottom-left-radius: 80px;
  border-top-right-radius: 40px;
  border-bottom-right-radius: 40px;
  padding-left: 30px;  
  padding-right: 5px;
}

.cdf_form form fieldset select{
  padding-right: 10px;
  cursor: pointer;
  background: var(--clr-white) url(../img/arrow-select.png) no-repeat calc(100% - 11px) center;
  background-size: 10px;
}

.cdf_form form fieldset label{
  color: var(--clr-orange);
}

.cdf_form form fieldset input[type="submit"]{
  width: 100%;
  background: var(--clr-orange);
  border-radius: 40px;
  border: none;
  height: 40px;
  color: var(--clr-white);
  transition: .8s;
}

.cdf_form form fieldset input[type="submit"]:hover{
  background: var(--clr-black);
}

.cdf_form form fieldset input.cdf_autow{
  width: auto;
  padding: 0 30px;
}

/**ovverriding ----*/

#cdf_searches.cdf_form form fieldset label{
  margin-bottom: 5px;
}

#cdf_searches.cdf_form form fieldset select, #cdf_searches.cdf_form form fieldset input{
  height: 30px;
  font-size: 0.85em;
} 

#cdf_searches.cdf_form form fieldset label{
  font-weight: 600;
  font-size: 0.85em;
}

#cdf_searches.cdf_form form fieldset input[type="radio"]{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 100%;
  padding: 0;
  position: relative;
  background: var(--clr-white);
}

#cdf_searches.cdf_form form fieldset input[type="radio"]:checked::before{
  content: '';
  display: block;
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--clr-orange);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 100%;
}

#cdf_searches.cdf_form form fieldset{
  margin-bottom: 7px;
}

.cdf_setfields, .cdf_setfields span{
  display: flex;
  gap: 5px;
}

.cdf_setfields{
  gap: 10px;
}

.cdf_setfields span p{
  margin: 0;
}


/* ------------------------------------------ */

.cdf_btn{
  background: var(--clr-orange);
  color: var(--clr-white);
  padding: 3px 7px;
  border-radius: 10px;
  display: inline-block;
}

#cdf_table .cdf_btn{
  font-size: 0.75em;
}

.cdf_orange_bar{
  display: block;
  width: 100%;
  height: 30px;
  background: var(--clr-orange);
}

.cdf_top_bar{
  border-bottom-left-radius: 30px;
}

.cdf_bottom_bar{
  border-top-right-radius: 30px;
}

.cdf_center_container{
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cdf_topbar{
  background: var(--clr-orange);
  border-bottom-left-radius: 80px;  
}

.cdf_topbar ul li{
  display: inline-block;
  padding: 3px 15px;
  color: var(--clr-white);
  font-size: 0.8em;
  border-left: 1px solid var(--clr-white);
}

.cdf_topbar ul li a{
  color: var(--clr-white);
}

.cdf_topbar ul li:first-child{
  border: none;
}

.cdf_general_search{
  width: 60%;  
  display: inline-block;
}

#cdf_filters{
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--clr-grey);
  color: var(--clr-grey-dark);
  padding: 3px 8px;
  border-radius: 15px;
  position: absolute;
  right: 6px;
  top: 50%;
  cursor: pointer;
  transition: .6s;
  transform: translate(0, -50%);
}

.cdf_list_wrapper{
  display: none;
}

.cdf_list_filters{
  display: flex;
  gap: 5px;
  justify-content: center;
}

.cdf_list_filters li span{
  display: inline-block;
  background: var(--clr-grey);
  color: var(--clr-grey-dark);
  padding: 3px 9px;
  border-radius: 15px;
  font-size: 0.7em;
  cursor: pointer;
  transition: .5s;
}

.cdf_list_filters li.cdf_actfilt span, .cdf_list_filters li:hover span, #cdf_filters.cdf_opened, .cdf_control_tabs li:hover span, .cdf_control_tabs li.acttab span{
  background: var(--clr-orange);
  color: var(--clr-white);
}

.cdf_control_tabs{
  display: inline-flex;  
  width: 100%;
}

.cdf_control_tabs li span{
  background: var(--clr-grey);
  padding: 8px 12px;
  display: inline-block;
  border-top-right-radius: 30px;
  transition: .5s;
  cursor: pointer;
  height: 37px; 
}

#cdf_wrapper_items{
  height: calc(100% - 41px);
  display: flex;
}

#cdf_searches{
  width: 20%;
  height: 100%;
  background: var(--clr-greylight);
  border-top-left-radius: 40px;
  overflow: hidden;
  position: relative;
}

#cdf_items{
  width: 80%;
  height: 100%;
  background: var(--clr-greylight);
}

#cdf_actions{
  height: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px 0 40px;
}

#cdf_actions p{
  font-size: 0.8em;
}

#cdf_actions *{
  margin: 0;
}

#cdf_actions.cdf_form form fieldset select{
  height: 25px;
  font-size: 0.8em;
  padding: 0 35px 0 20px;
}

#cdf_table, #cdf_skeda{
  background: var(--clr-white);
  height: calc(100% - 30px);
  border-top-left-radius: 40px;
}

.cdf_send_search{
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--clr-orangelight);
  width: 100%;
  padding: 10px 20px;
}

.cdf_fields{
  padding: 30px 20px 10px 20px;
  overflow-y: scroll;
  height: calc(100% - 90px);  
}

.cdf_fields h6 span{
  color: var(--clr-orange);  
  display: flex;
  align-items: center;
  font-size: 0.8em;
  font-weight: 600;
}

.cdf_fields::-webkit-scrollbar, #cdf_table .cdf_row_wrapper::-webkit-scrollbar, .cdf_wrap_skeda::-webkit-scrollbar {
  width: 5px;
}

.cdf_fields::-webkit-scrollbar-track, #cdf_table .cdf_row_wrapper::-webkit-scrollbar-track, .cdf_wrap_skeda::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px transparent; 
  border-radius: 10px;
}

.cdf_fields::-webkit-scrollbar-thumb, #cdf_table .cdf_row_wrapper::-webkit-scrollbar-thumb, .cdf_wrap_skeda::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px #ccc;
  background : #333;
}

#cdf_reset{
  color: var(--clr-white);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

#cdf_reset:hover{
  color: var(--clr-black);
}

.cdf_section_fields{
  margin: 20px 0;
  opacity: 1;
  transition: 0.6s;
}

.cdf_open_trigger{
  background: var(--clr-grey);
  border-bottom-left-radius: 30px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  padding: 4px 10px 4px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.cdf_open_trigger::before{
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  left: -100%;
  position: absolute;
  top: 0;
  background: var(--clr-black015);
  transition: .4s ease-out;
}

.cdf_open_trigger:hover::before{
  left: 0;
}

.cdf_open_trigger > *{
  z-index: 2;
}

.cdf_open_trigger i{
  transition: 1s;
}

.cdf_open_trigger.cdf_triggered i{
  transform: rotate(180deg);
}

.cdf_open_trigger p{
  margin: 0;
  font-weight: 600;
  font-size: 0.75em;
}

.cdf_content_field{
  padding: 15px 0;
  display: none;
}

.cdf_icon{
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

#cdf_table, #cdf_skeda{
  padding: 40px 25px;
}

#cdf_table .cdf_row_wrapper{
  height: 100%;
  overflow-y: scroll;  
}

#cdf_table .row{
  border-radius: 25px;
}

#cdf_table .row:nth-child(even){
  background: var(--clr-greylight);
  border-radius: 30px;
}

#cdf_table .cdf_rowhead p{
  color: var(--clr-orange);
  font-weight: 600;
}

#cdf_table p{
  font-size: 0.8em;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.cdf_row_actions{
  display: flex;
  gap: 5px;
  justify-content: end;
}

.cdf_row_actions li a, .cdf_status, .cdf_title_skeda a{
  font-size: 0.8em;
  background: var(--clr-grey);
  padding: 3px 7px;
  border-radius: 15px;
  color: var(--clr-grey-dark);
  font-size: 0.7em;
  display: inline-block;
}

.cdf_title_skeda a{
  margin-left: 7px;
  zoom: 0.8;
}

.cdf_parziale{
  background: var(--clr-ocra);
  color: var(--clr-white);
}

.cdf_complete{
  background: var(--clr-green);
  color: var(--clr-white);
}

.cdf_minimum{
  background: var(--clr-grey-dark);
  color: var(--clr-white);
}

.cdf_trashed{
  background: var(--clr-grey-medium);
  color: var(--clr-grey-dark);
}

.cdf_row_actions li a.cdf_resume{
  background: var(--clr-ocra);
  color: var(--clr-white);
}

.cdf_row_actions li a.cdf_view{
  background: var(--clr-orange);
  border: 1px solid var(--clr-orange);
  color: var(--clr-white);
  font-size: 0.7em;
}

.cdf_row_actions li a.cdf_edit, .cdf_title_skeda a.cdf_edit{
  background: var(--clr-white);
  border: 1px solid var(--clr-orange);
  color: var(--clr-orange);
  font-size: 0.7em;
}

.cdf_row_actions li a.cdf_remove, .cdf_title_skeda a.cdf_remove{
  background: var(--clr-black);
  border: 1px solid var(--clr-black);
  color: var(--clr-white);
  font-size: 0.7em;
}

#cdf_back{
  font-size: 0.7em;
}

#cdf_skeda .cdf_title_skeda{
  font-size: 1.5em;
}

#cdf_skeda{
  padding-bottom: 0;
}

.cdf_wrap_skeda{
  overflow-y: scroll;
  height: 100%;  
}

.cdf_wrap_field{
  border-bottom: 1px solid var(--clr-grey);
  margin-top: 25px;
  padding-bottom: 25px;
}

.cdf_wrap_field h5{
  font-size: 1.1em;
  padding-left: 20px;
  position: relative;
}

.cdf_wrap_field h5::before{
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 100%;
  background: var(--clr-orange);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(0, -50%);
}

.cdf_group_fields label{
  color: var(--clr-orange);
  font-size: 0.7em;
  font-weight: 600;
}

.cdf_group_fields p{
  font-size: 0.8em;
  margin: 0;
}

.cdf_minitable .row:nth-child(even){
  background: var(--clr-greylight);
  border-radius: 30px;
}

.cdf_minitable .row{
  padding-top: 4px;
  padding-bottom: 4px;
  padding-left: 20px;
  position: relative
}

.cdf_minitable .row::before{
  content: attr(data-index);
  display: block;
  height: 100%;
  width: 20px;
  line-height: 28px;
  font-weight: 600;
  font-size: 0.65em;
  text-align: center;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(0, -50%);
}

#cdf_sideinfo .cdf_wrap_field{
  border: none;
  padding-bottom: 0;
}

.cdf_list_attachments{
  padding: 25px;
  display: none;
}

.cdf_list_attachments .cdf_single_att{
  background: var(--clr-white);
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  border-radius: 40px;
  padding: 5px 0;
}

.cdf_list_attachments .cdf_single_att img{
  border-radius: 4px;
}

.cdf_list_attachments .cdf_single_att a{
  align-self: center;
}

.cdf_main_action h1{
  font-size: 2em;
}

.cdf_main_action h2{
  font-size: 1.6em;
}

#cdf_table .cdf_main_action p{
  display: block;
}

.cdf_main_action .cdf_icon_main{
  display: block;
  width: 80px;
  aspect-ratio: 1;
  border-radius: 100%;
  background-color: var(--clr-grey);  
  background-repeat: no-repeat;
  background-position: center;
  background-size: 40px;
  margin: 0 auto 30px auto;
}

.cdf_lens{
  background-image: url('../img/lens.png');
}

.cdf_plus{
  background-image: url('../img/plus.png');
}

.cdf_list{
  background-image: url('../img/list.png');
}

.cdf_paginator, .cdf_paginator ul{
  display: flex;
  gap: 5px;
  padding: 0;
  margin: 0;
}

.cdf_paginator{
  justify-content: end;
}

.cdf_paginator ul li a, .cdf_paginator ul li span{
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  background: var(--clr-greylight);
  color: var(--clr-grey-dark);
  border-radius: 100%;
}

.cdf_paginator ul li:hover a, .cdf_paginator ul li span{
  background: var(--clr-orange);
  color: var(--clr-white);
}

.row_paginator{
  background: var(--clr-white) !important;
}

.cdf_front_rel li{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 3px 3px 6px;
  border-radius: 15px;
  margin-bottom: 3px;
}

.cdf_front_rel li:nth-child(odd){
  background: var(--clr-greylight);
}

.cdf_front_rel li a, .cdf_table_att a{
  font-size: 0.65em;
}

.cdf_no-sidebar #cdf_searches form{
  display: none;
}

.cdf_no-sidebar #cdf_searches{
  width: 5%;
}

.cdf_no-sidebar #cdf_items{
  width: 95%;
}

.cdf_back_skeda{
  display: none;
}

.cdf_no-sidebar .cdf_back_skeda{
  display: inline-flex;
}