
.cpn-hide,
.cpn-hidden,
.hide {
  display: none !important;
}


/*
-----------------------
* cpn-btn
-----------------------
*/
.cpn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1rem;
  transition: all .25s linear;
  cursor: pointer;
}

.cpn-btn:disabled {
  background-color: #b3bdf5 !important;
  border-color: #c2c2c2 !important;
  color: #e1e1e1 !important;
  cursor: not-allowed !important;
}

.cpn-btn--login {
  width: 148px;
  height: 40px;
  border-radius: 4px;
  background-color: #07f;
  color: #fff;
  margin: 0 6px 12px;
}

.cpn-btn--login:hover {
  background-color: #1c67d1;
}

.cpn-btn--login-big {
  width: 100%;
  min-height: 100%;
}

.cpn-btn--primary {
  text-decoration: none;
  color: #fff;
  background-color: #07f;
  padding: 5px 10px;
}

.cpn-btn--danger {
  color: #fff;
  background-color: #ff3a3a;
  border-color: #ff3a3a;
}


/*
-----------------------
* cpn-Form
-----------------------
*/
.cpn-form {
  width: 100%;
}

.cpn-form__row {
  margin-bottom: 12px;
}

.cpn-form__wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.cpn-form__label {
  font-size: 0.8rem;
  line-height: 0.9rem;
  font-family: "Inter-Medium", sans-serif;
  font-weight: 500;
  color: #90adcf;
  margin-bottom: 4px;
  /* display: block; */
  display: flex;
  align-items: center;
  width: 100%;
}

.cpn-form__label-required {
  font-size: 1rem;
  color: #ff3a3a;
}

.cpn-form__bottom {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cpn-form .cpn-btn {
  margin: 6px 5px;
  border: solid 1px #ddd;
  padding: 0.6rem 1rem;
  border-radius: 4px;
}

.cpn-form .cpn-btn[name*="send"],
.cpn-form .cpn-btn[name*="save"],
.cpn-form .cpn-btn[name*="update"],
.cpn-form .cpn-btn[name*="edit"],
.cpn-form .cpn-btn[name*="submit"],
.cpn-form .cpn-btn[data-action*="send"],
.cpn-form .cpn-btn[data-action*="save"],
.cpn-form .cpn-btn[data-action*="update"],
.cpn-form .cpn-btn[data-action*="edit"],
.cpn-form .cpn-btn[data-action*="submit"],
.cpn-form .cpn-btn.cpn-btn--submit {
  background-color: green;
  border-color: green;
  color: #fff;
}



/*
-------------------------
| cpn-field
-------------------------
*/
input,
select,
textarea,
.cpn-field {
  display: block;
  width: 100%;
  height: 36px;
  border: solid 1px #90adcf;
  border-radius: 5px;
  padding: 6px 12px;
  text-align: left;
  border-radius: 4px;
}

.cpn-field ::placeholder {
  /*display: inline-block !important;*/
  font-size: 0.75rem;
  color: #90adcf;
}

.cpn-field .cpn-field--error {
  border-color: #E6402E;
}

.cpn-field .cpn-field--warning {
  border-color: #FAB650;
}

.cpn-field .cpn-field--success {
  border-color: #14C773;
}

textarea,
textarea.cpn-field {
  height: 78px;
  resize: none;
}


input[type="file"].cpn-field {
  width: 0;
  height: 0;
  overflow: hidden;
  position: absolute;
  z-index: -5;
  visibility: hidden;
}

input[type="file"].cpn-field + label {
  display: block;
  border: solid 1px #90adcf;
  border-radius: 4px;
  min-height: 100px;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

input[type="file"].cpn-field + label::before {
  content: "Clicker pour choisir une image";
  position: absolute;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 30px;
  left: 0;
  top: calc(50% - 15px);
  transition: all .3s linear;
}

input[type="file"].cpn-field + label:hover::before {
  transform: scale(0.8);
}

input[type="checkbox"],
input[type="radio"]  {
  width: 0;
  height: 0 !important;
  margin: 0;
  visibility: hidden;
  z-index: -5;
}
input[type="checkbox"] + label,
input[type="radio"] + label {
  padding-left: 25px;
  position: relative;
  cursor: pointer;
  min-height: 20px;
}

input[type="checkbox"] + label::before {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 6px;
  border: solid 2px  #575757;
  left: 0;
  top: 0; /*-2px*/
}

input[type="checkbox"] + label::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 8px;
  border: solid 2px  transparent;
  border-top: none;
  border-left: none;
  left: 7px;
  top: 3px;
  transition: all .2s linear;
}

input[type="checkbox"]:checked + label::before {
  background-color: #086afc;
  border-color: #086afc;
}

input[type="checkbox"]:checked + label::after {
  border-color: #fff;
  transform: rotate(45deg);
}

input[type="checkbox"] + label.field--right {
  padding-left: 0;
  padding-right: 35px;
}

input[type="checkbox"] + label.field--right::before {
  left: initial;
  right: 0;
}

input[type="checkbox"] + label.field--right::after  {
  left: initial;
  right: 6px;
}

input[type="radio"] + label::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: solid 2px  #086afc;
  left: 0;
  /* top: -2px; */
  top: calc(50% - 8px);
}

input[type="radio"] + label::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color:  transparent;
  left: 4px;
  /* top: 2px; */
  top: calc(50% - 4px);
}

input[type="radio"]:checked + label::after {
  background-color:  #086afc;
}

input[type="password"] {
  padding-right: 40px;
}

input[type="number"].cpn-field--without-change::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}


.cpn-check-group {
  width: 180px;
  padding: 10px;
  margin: 5px auto;
  box-shadow: 0 0 2px 2px #dddd;
  border-radius: 4px;
}



/*
-------------------------
| cpn-user-menu
-------------------------
*/
.cpn-user-menu__head {
  padding: 8px 0;
  text-align: center;
  border-bottom: solid 1px #ddd;
}

.cpn-user-menu__footer {
  padding: 8px 0px 8px 0px;
  text-align: center;
  border-top: solid 1px #ddd;
}

.cpn-user-menu__logout {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f21a1a;
  color: #fff;
  border-radius: 5px;
  padding: 6px 0;
}

.cpn-user-menu__logout>i {
  background-color: #fff;
}

.cpn-user-menu__logout-text {
  padding-left: 10px;
}

/*
-------------------------
| cpn-scroll
-------------------------
*/
.cpn-scroll::-webkit-scrollbar {width: 4px;height: 4px;}
.cpn-scroll::-webkit-scrollbar-thumb {width: 30%;height: 4px;background-color: #A8AAB1 !important;outline: none;border-radius: 6px;}
.cpn-scroll::-webkit-scrollbar-track {background-color: transparent;}
.cpn-scroll::-webkit-scrollbar-track-piece {width: 4px;background-color: #c6cada !important;border-radius: 5px;box-shadow: none;border: none;}


/*
-------------------------
| cpn-tabs
-------------------------
*/
.ui-modal__body .cpn-tas {
  display: flex;
  min-height: 150px;
}

.ui-modal__body .cpn-tas__nav {
  min-width: 135px;
  min-height: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #050505;
}



.cpn-tas__nav-item-btn {
  display: flex;
  align-items: center;
  width: 100%;
  height: 36px;
  padding: 8px 5px;
  border-bottom: solid 1px #707070;
  font-size: 0.8rem;
  color: #fff;
}

.cpn-tas__nav-item-btn.selected {
  background-color: #8e152f;
}

.ui-modal__body .cpn-tas__body {
  width: 100%;
  min-height: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  border: solid 2px #050505;
  border-left: none;
  padding: 8px;
}


/*
*----------------------------------
* => cpn-pg-actions
*----------------------------------
*/
.cpn-pg-actions {
  display: flex;
  width: 100%;
  padding: 0 15px !important;
}

.cpn-pg-actions__list {
  display: flex;
}

.cpn-pg-actions__list-item {
  margin-left: 6px;
}

.cpn-pg-actions__list-item:first-child {
  margin-left: 0;
}

.cpn-pg-actions__list-item-btn {
  display: flex;
  align-items: center;
  padding: 10px 18px;
  border: none;
  cursor: pointer;
  border-radius: 6px 6px 0 0;
  min-width: 105px;
  min-height: 44px;
  background-color: #fff;
  box-shadow: 0 2px 2px 0 #00000024, 0 3px 1px -2px rgb(0 0 0 / 0%), 0 1px 5px 0 #00000033;
  transition: all .3s linear;
}

.cpn-pg-actions__list-item-btn:hover {
  background-color: #50525d;
  color: #fff;
}

.cpn-pg-actions__list-item-btn:hover>[class*="icon-"] {
  background-color: #fff;
}