:root {
  --color-white: #FFFFFF;
  --color-grey-light: #A9ACB1;
  --color-grey: #B5B5B5;
  --color-grey-2: #ECECEC;
  --color-grey-3: #D9D9D9;
  --color-grey-light-2: #F2F2F2;
  --color-grey-dark: #2C2C2C;
  --color-blue: #3657CD;
  --color-blue-dark: #12294B;
  --color-blue-dark-2: #153c76;
  --color-blue-dark-3: #4D688F;
  --color-blue-dark-4: #617189;
  --color-blue-light: rgba(243, 248, 251, 0.6);
  --color-blue-light-2: #EEF5FF;
  --color-orange: #E59419;
  --color-green: #2BAC20;
  --color-green-dark: #0D5A00;
  --color-red: red;

}

.top-triangle {
  width: 100%;
  position: absolute;
  z-index: 0;
  height: 210px;
}

@media(max-width:640px){
  .top-triangle{
    height:180px;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
  }
}

h1 {
  font-weight: 700;
  font-size: 50px;
}

@media(max-width:640px){
  h1 {
    font-size:40px;
  }
}

h3 {
  font-weight: 500;
  font-size: 24px;
}

.color-white {
  color: var(--color-white)
}

.color-grey-light {
  color: var(--color-grey-light)
}

.color-grey-light-2 {
  color: var(--color-grey-light-2)
}

.color-grey {
  color: var(--color-grey)
}

.color-grey-2 {
  color: var(--color-grey-2)
}

.color-grey-3 {
  color: var(--color-grey-3)
}

.color-grey-dark {
  color: var(--color-grey-dark)
}

.color-blue {
  color: var(--color-blue)
}
.color-blue-dark {
  color: var(--color-blue-dark)
}

.color-blue-dark-2 {
  color: var(--color-blue-dark-2)
}

.color-blue-light {
  color: var(--color-blue-light)
}

.color-blue-light-2 {
  color: var(--color-blue-light-2)
}

.color-orange {
  color: var(--color-orange)
}

.color-green {
  color: var(--color-green)
}
.color-green-dark {
  color: var(--color-green-dark)
}
.color-red {
  color: var(--color-red)
}

.color-bg-white {
  background-color: var(--color-white)
}

.color-bg-grey-dark {
  background-color: var(--color-grey-dark);
}

.color-bg-grey-dark-2 {
  background-color: var(--color-grey-dark-2);
}

.color-bg-grey-light {
  background-color: var(--color-grey-light)
}

.color-bg-grey-light-2 {
  background-color: var(--color-grey-light-2);
}

.color-bg-grey {
  background-color: var(--color-grey);
}

.color-bg-grey-2 {
  background-color: var(--color-grey-2);
}

.color-bg-grey-3 {
  background-color: var(--color-grey-3);
}

.color-bg-blue {
  background-color: var(--color-blue);
}
.color-bg-blue-dark {
  background-color: var(--color-blue-dark);
}

.color-bg-blue-light {
  background-color: var(--color-blue-light);
}

.color-bg-blue-light-2 {
  background-color: var(--color-blue-light-2);
}

.color-bg-orange {
  background-color: var(--color-orange);
}

.color-gb-green {
  background-color: var(--color-green);
}
.color-gb-green-dark {
  background-color: var(--color-green-dark);
}
.color-bg-red {
  background-color: var(--color-red)
}

.button {
  padding: 14px 34px;
  border-radius: 16px;
  font-weight: 500;
  border: 2px solid #12294B;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
  text-align: center;
}

.button:disabled{
}

.button-dark {
  background-color: var(--color-blue-dark);
  color: var(--color-white);
}

.button-dark:disabled{
  background-color: var(--color-blue-dark-4);
}
.button-dark:disabled:hover{
  background-color: var(--color-blue-dark-4);
}

.button-dark:hover {
  background-color: var(--color-blue-dark-2);
  color: var(--color-white);
}

.button-dark:active{
  background-color: var(--color-blue-dark-3);
}

.button-light {
  background-color: var(--color-grey-light-2);
  color: var(--color-blue-dark)
}

.button-light:hover {
  background-color: var(--color-grey-3);
  color: var(--color-blue-dark)
}

.button-secondary{
  background-color: var(--color-white);
  border-radius: 8px;
  border-width: 1px;
  box-shadow: none;
}

.button-secondary:hover{
  background-color: var(--color-grey-2);
}

.button-secondary:active{
  background-color: var(--color-grey-3);
}

@media(max-width:640px) {
  .button {
    font-size: 14px;
    padding: 10px 34px;
  }
}

.button-invisible {
  background: none;
  color: var(--color-blue-dark);
  border: none;
  box-shadow: none;
}

.form-block{
  display: flex;
  flex-direction: column;
  gap:24px;
  
}

.form-field-block{
  display: flex;
  flex-direction: column;
}

.input-field {
  border-radius: 16px;
  /* padding: 12px 36px; */
  padding: 12px 12px 12px 24px;
  border-style: solid;
  box-shadow: none;
  border: 1px black solid;
  outline-color: black;
  -webkit-box-sizing: border-box;
  /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;
  /* Firefox, other Gecko */
  box-sizing: border-box;
}

.input-field::placeholder {
  font-weight: bold;
  color: var(--color-grey);
}

.input-field:focus {

  outline: 1px var(--color-blue-dark-3) solid !important;
}
.input-field-grey{
  background-color: var(--color-grey-2);
  border: 0;
}
.input-search {
  background-color: var(--color-grey-2);
  background-image: url("../images/search_icon.bf45e602c79e.png");
  background-position-x: right 18px;

  background-position-y: center;
  background-repeat: no-repeat;
  height: 36px;
  border: 0;
}
.form-control-search-icon{
  background-image: url("../images/search_icon.bf45e602c79e.png");
  background-position-x: right 18px;

  background-position-y: center;
  background-repeat: no-repeat;

}

.input-seach-article {
  width: 286px !important;
}

.input-search::placeholder {
  font-weight: 500;
  color: var(--color-grey);
}


.block-shadow {
  mix-blend-mode: normal;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.25);
  border-radius: 15px;
  background-color: white;
}

.main-container {
  display: flex;
  flex-direction: column;
  width: 1280px;
  max-width: 95%;
  margin: 100px auto 100px auto;
  z-index: 100;
}

@media (max-width:1280px) {
  .main-container {
    width: 100%;
    /* margin: 24px auto; */

  }
}

.show-on-hover {
  visibility: hidden;
  cursor: pointer
}

.hover-el:hover .show-on-hover {
  visibility: visible;
}


.cursor-pointer {
  cursor: pointer;
}

.field-invalid {
  border-color: rgb(255, 108, 108);
}

.input-error {
  border-color: rgb(255, 108, 108);
}

.error-msg {
  color: red;
  justify-self: center;
  visibility: hidden;
}

.error {
  color: red;
}

.no-decor-link {
  text-decoration: none;
  color: unset;
}

.no-decor-link:hover {
  cursor: pointer;
  color: darkblue
}
.no-decor {
  text-decoration: none;
}
.no-decor:hover {
  cursor: pointer;
  text-decoration: none;
}

.light-blue-link {
  color: #3657CD;
}

.sortable-table-header:hover {
  cursor: pointer;
  text-decoration: underline;
}

@media (max-width:800px) {
  .doc-table {
    table-layout: fixed;
    word-break: break-all;
    font-size: .9rem;
  }
}


.custom-table {
  border: 3px solid var(--color-grey-light-2);
  padding: 12px !important;
}

.custom-table th {
  background-color: var(--color-grey-light-2);
  padding: 0 24px;
  font-weight: 400;
  font-size: 15px;
}


.custom-table > tbody > tr > td {
  padding: 0 24px;
  height: 100px;
  font-size: 15px;
  
}

.custom-table tr {
  border-bottom: 3px solid var(--color-grey-light-2);
  /* padding: 0 36px; */
}

.custom-table thead {
  border: 0;
  height: 56px;
}

.modal-backdrop{
  z-index: 510 !important;
}

.close-modal-icon{
  position:absolute;
  top:24px;
  right: 24px;
  z-index:1000;
}

.modal-content{
  padding: 24px 18px;
}

.modal-header{
  width: 85%;
  align-self: center;
}

.modal-title{
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  margin:auto;
}

input[type='checkbox']{
  height: 18px !important;
  width: 18px !important;
  flex-shrink: 0;
}

input[type='checkbox']:focus{
  border-color: none;
  box-shadow: none;
  outline: 0 none;
}

input[type="checkbox"]:checked{
  background-color: var(--color-blue-dark);
}

.form-check-label{
  margin-left: 16px;
}

.doc-list-mobile{
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom:32px;
}

@media(min-width: 640px){
  .modal-content{
    border-radius: 32px;
  }
}

@media(max-width: 640px){
  .modal-content{
    padding: 42px 24px;
  }
}


.sidebar-slider{
  display: flex;
  flex-direction: column;
  position: relative;
  border:1px solid var(--color-grey-2);
  /* box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25); */
  width:380px;
  padding: 1.5rem;
  height: fit-content;
  min-height: 420px;
}

.template-text{
  max-width: 66%;
  border: 1px solid var(--color-grey-2);
  padding: .5rem
}
@media(max-width: 600px){
  .template-text-hide-mobile{
    display: none;
  }
}

@media(max-width:1280px){
  .sidebar-slider{
    background-color: white;
    min-width: 420px;
    border: 1px solid var(--color-grey-2);
    border-radius: 4px;
    margin: 0 0 0 72px;
    
  }
  .sidebar-arrow{
    background-image: url("../images/left_arrow.178f4e1dbebf.png");
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    position:absolute;
    height:256px;
    width: 48px;
    left:-48px;
    top: 120px;
    border: 1px solid var(--color-grey-2);
    box-shadow: 0px 4px 0 rgba(0, 0, 0, 0.25);
    border-right: none;
    background-color: white;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    pointer-events:all;
  }
  .sidebar-slider-active{
    position: absolute;
    right:16px;
  }
  .sidebar-slider-active .sidebar-arrow{
    background-image: url("../images/right_arrow.3cd58b5d99e1.png");
  }
  .template-text{
    min-width: 800px;
    max-width: 80%;
  }
}

@media(max-width:1000px){
  .template-text{
    min-width:600px;
    max-width: 66%;
  };
}
@media(max-width:800px){
  .template-text{
    min-width:500px;
    max-width: 66%;
  };
}

@media(max-width:640px){
  
  .sidebar-arrow{
    display: none;
  }
  .sidebar-slider{
    box-shadow: none;
    border: none;
    margin: auto;
    width: unset;
    min-width: unset;
    max-width: 95%;
    padding: unset;
  }
  .template-text{
    width: 95%;
    max-width: unset;
    min-width: unset;
  }
}

.content-container{
  display: flex;
  gap: 32px;
  overflow:hidden;
}

@media(max-width: 640px){
  .content-container{
    flex-direction: column-reverse;
  }
}

#cookie-message {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 100%;
  background-color: rgba(255, 255, 255);
  padding: 10px;
  z-index: 9999; 
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.cookie-close-cross{
  /* position:absolute; */
  /* right:24px; */
}


.clipboard-tooltip {
  position: absolute;
  background-color: #333;
  color: #fff;
  padding: 5px;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
  font-size: 12px;
}

.clipboard-tooltip.visible {
  opacity: 1;
}


.dropdown-item-custom{
  font-size: 1.5rem
}


@media(max-width: 500px){
  .mobile-h1{
    font-size:32px
  }
}

.two-buttons{
  display: flex;
  gap:32px;
}

@media(max-width: 560px){
  .two-buttons{
    flex-direction: column;
  }
}


.circle {
  width: 6px;
  height: 6px;
  border-radius: 50%; 
}

.dotted-link {
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}


.template-badge-parent {
  border: 1px solid rgb(142, 199, 219);
  border-radius: 12px;
  background-color: lightblue;
  padding: 0 8px;
  font-size:.8rem;
  color: rgb(36, 57, 194);
  height: max-content;
  white-space: nowrap;
}

.template-badge-child {
  border: 1px solid rgb(156, 163, 166);
  border-radius: 12px;
  background-color: rgb(199, 215, 220);
  padding: 0 8px;
  font-size:.8rem;
  color: rgb(58, 59, 63);
  height: max-content;
  white-space: nowrap;
}


.vertical-line {
 
  border-left: 1px solid rgb(206, 206, 206); /* thickness + color */
  height: 100%;               /* line height */

}