/* You can add global styles to this file, and also import other style files */
@import "./assets/css/style.css";
/* ERROR */
label.has-error {
    opacity: 0.99;
    z-index: 800;
    display: block;
    padding: 3px 8px;
    overflow: visible;
    border-radius: 4px;
    color: white;
    background-color: #B6002A;
    font-family: "vwheadlineot-book-webfont", Arial, sans-serif;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    position: relative;
    top: 4px;
    right: 0;
    width: 95%;
    margin: 0 auto;
    animation: show 2s;
    margin-bottom: 8px;
  }
  label.has-error::after {
    content: "";
    display: none;
  }
  @keyframes show {
      0% {
          opacity: 0;
          transform: translateY(10px);
      }
      25% {
          opacity: 1;
          transform: translateY(0);
      }
      90% {
          opacity: 1
      }
      100% {
          opacity: 1;
      }
  }
/* Background-colors */
.shadowed {
    background-color: rgba(22,22,22, 0.05);
}
.greenCircle{
    margin-left: 16px;
    border: 1px solid rgb(20, 128, 38);
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08) inset, 0px 0px 8px rgba(97, 231, 115, 0.6);
    background: rgb(21, 168, 65);
    border-radius: 50%;
    /* same than a checkbox size */
    width: 13px;
    height: 13px;
}
.redCircle{
    margin-left: 16px;
    border: 1px solid rgb(128, 20, 20);
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08) inset, 0px 0px 8px rgba(218, 66, 28, 0.6);
    background: rgb(168, 43, 21);
    border-radius: 50%;
    /* same than a checkbox size */
    width: 13px;
    height: 13px;
}
.black {
    background-color: #000;
    color: #ffffff;
}
ng-scrollbar {
    display: block;
    position: relative;
    height: 100%;
    overflow: hidden !important;
}

.ng-scrollbar-container {
    position: relative;
    overflow: hidden !important;
    width: 100%;
    height: 100%;
}

.mat-form-field-infix {
    width: 100% !important;
}

.ng-scrollbar-autohide>.ng-scrollbar {
    opacity: 0;
    transition: opacity 120ms ease-out;
}

.ng-scrollbar-autohide:hover>.ng-scrollbar,
.ng-scrollbar-autohide:active>.ng-scrollbar,
.ng-scrollbar-autohide:focus>.ng-scrollbar {
    opacity: 1;
    transition: opacity 340ms ease-out;
}

.ng-scrollbar {
    position: absolute;
    right: 2px;
    bottom: 2px;
    z-index: 1;
    border-radius: 3px;
}

.-vertical {
    width: 6px;
    top: 2px;

}

.-vertical.ng-scrollbar-thumb {
    width: 100%;
}

.-horizontal {
    height: 6px;
    left: 2px;
}

.-horizontal.ng-scrollbar-thumb {
    height: 100%;
}

.ng-scrollbar-disabled {
    display: none;
}

.ng-scrollbar-thumb {
    position: relative;
    display: block;
    width: 1;
    height: 6px;
    border-radius: inherit;
    background-color: rgba(0, 0, 0, .2);
    transform: translate3d(0, 0, 0);
}

.ng-scrollbar-thumb:hover,
.ng-scrollbar-thumb:active {
    background-color: rgba(0, 0, 0, .3);
}

.ng-scrollbar-view {
    width: 100%;
    height: 100%;
    overflow: scroll;
    transform: translate3d(0, 0, 0);
    -webkit-overflow-scrolling: touch;
}

.ng-scrollbar-scroll-no-horisontal {
    overflow-x: hidden !important;
}

.ng-scrollbar-scroll-no-vertical {
    overflow-y: hidden !important;
}
/* Fonts */
.subtitle {
    font-size: 1.2em;
    color: #333;
    font-weight: bold;
}

.details-data-consolidated div span {
    font-family: "vwheadlineot-black-webfont", Arial, sans-serif;
    color: #6F6F6F;
    display: block;
    margin-right: 8px;
}
.details-data-consolidated div span:last-child {
    margin-right: 0 !important;
}

.details-data-consolidated div span strong {
    color: black;
    float: right;
    padding: 0 10px;
}

.details-data-consolidated div.col {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 10px;
}

.loading {
    height: 100%;
    position: fixed;
    z-index: 99999;
    width: 100%;
    top: 0;
    left: 0;
    min-height: 13em;
}

.loading>.curtain {
    opacity: 0.7;
    width: 100%;
    height: 100%;
    background-color: black;
}

.loading>div.animation {
    background-image: url(../../assets/images/ajax-loader.gif);
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -48px;
    margin-top: -48px;
    opacity: 1;
    width: 96px;
    height: 96px;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: white;
    border: solid 1px black;
    border-radius: 15px;
}

.primary-menu>li {
    position: relative;
    padding: 0 0.42857em;
    font-family: "vwheadlineot-black-webfont", Arial, sans-serif;
    font-size: 1em;
}

.primary-menu>li:first-child {
    padding-left: 0;
}

.primary-menu>li:first-child::before {
    content: none;
}

.primary-menu>li a,
.primary-menu>li span {
    display: block;
    padding: 0.14286em 0.42857em 0.42857em;
    color: #BBC2C5;
}

.primary-menu>li a:hover,
.primary-menu>li span:hover {
    color: black;
}

.primary-menu>li .unavailable {
    display: block;
    padding: 0.14286em 0.42857em 0.42857em;
    color: #d7dbdc;
}

.primary-menu>li.has-children>a,
.primary-menu>li.has-children>span {
    transition: border 0;
    position: relative;
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: 0.28571em 0.28571em 0 0;
    background-color: white;
}

.primary-menu>li.active>a {
    color: black;
}

.primary-menu>li::before {
    content: "";
    display: inline-block;
    position: absolute;
    left: -1px;
    top: 50%;
    width: 2px;
    height: 1em;
    margin-top: -0.57143em;
    background-color: #BBC2C5;
}

.rot-h{

    transform: rotate(-180deg);

    -webkit-transform: rotate(-180deg);

    -moz-transform: rotate(-180deg);

    -o-transform: rotate(-180deg);
}

.primary-menu>.has-children:hover>a {
    z-index: 1000;
    border-color: #BBC2C5;
    color: black;
}

.primary-menu>.has-children:hover .level-1 {
    display: block;
}

.primary-menu .divider {
    display: block;
    height: 1px;
    padding: 0;
    margin: 0.42857em 1.42857em;
    border-top: 1px dashed #BBC2C5;
}

.primary-menu .level-1 {
    display: none;
    position: absolute;
    top: 100%;
    padding: 0.42857em 0 0.42857em;
    margin-left: -0.42857em;
    margin-top: -1px;
    z-index: 900;
    background-color: white;
    border: 1px solid #BBC2C5;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
}

.primary-menu .level-1>li {
    float: none;
    position: relative;
    width: 100%;
    height: 1.78571em;
}

.primary-menu .level-1>li a,
.primary-menu .level-1>li span {
    display: block;
    padding: 0.21429em 2.85714em 0.21429em 1.42857em;
    width: 100%;
    border: none;
    color: black;
    font-family: "vwheadlineot-book-webfont", Arial, sans-serif;
    white-space: nowrap;
}

.primary-menu .level-1>li a:hover,
.primary-menu .level-1>li span:hover {
    background-color: #BBC2C5;
    font-family: "vwheadlineot-black-webfont", Arial, sans-serif;
}

.primary-menu .level-1>li .unavailable {
    display: block;
    padding: 0.21429em 2.14286em 0.21429em 1.42857em;
    color: #d7dbdc;
    font-family: "vwheadlineot-book-webfont", Arial, sans-serif;
}

.primary-menu .level-1>.divider {
    width: auto;
    height: 1px;
}

.primary-menu .level-1>.has-children>a::before,
.primary-menu .level-1>.has-children>span::before,
.primary-menu .level-1>.has-children>.unavailable::before {
    position: absolute;
    top: 50%;
    left: 0.78571em;
    margin-top: -0.28571em;
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0.28571em 0 0.28571em 0.35714em;
    border-color: transparent transparent transparent black;
    -webkit-transform: rotate(360deg);
}

.primary-menu .level-1>.has-children:hover>a,
.primary-menu .level-1>.has-children:hover>span {
    background-color: #BBC2C5;
    font-family: "vwheadlineot-black-webfont", Arial, sans-serif;
}

.primary-menu .level-1>.has-children:hover>a::before,
.primary-menu .level-1>.has-children:hover>span::before {
    left: auto;
    right: 0.78571em;
}

.primary-menu .level-1>.has-children:hover .level-2 {
    display: block;
}

.primary-menu .level-2 {
    display: none;
    position: absolute;
    top: -0.42857em;
    left: 100%;
    z-index: 200;
    padding: 0.42857em 0 0.42857em;
    background-color: black;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
}

.primary-menu .level-2>li {
    float: none;
}

.primary-menu .level-2>li a {
    color: white;
}

.primary-menu .level-2>li a:hover {
    background-color: #535d61;
}

.primary-menu .level-2>li .unavailable {
    opacity: 0.5;
    filter: alpha(opacity=50);
}

.primary-menu .level-2>.divider {
    margin-left: 0;
    margin-right: 0;
    width: auto;
    height: 1px;
}

/* cleaners */
input {
    max-width: 100%;
}
input[type="checkbox"].clean {
    padding: 0;
    margin: 0;
    border: 0;
    position: relative;
}

/* Flex specs */
.flex {
    display: flex;
}

.flex--1 {
    flex: 1;
}

.flex--2 {
    flex: 1;
}

.flex--3 {
    flex: 1;
}

.flex--column {
    flex-direction: column;
}

.flex--end {
    justify-content: flex-end;
}

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

.flex--v-center {
    align-items: center;
}
.flex--v-end {
    align-items: flex-end;
}

.flex--between {
    justify-content: space-between;
}

.flex--around {
    justify-content: space-around;
}

.flex--start {
    justify-content: flex-start;
}
.flex--wrap {
    flex-wrap: wrap;
}
.flex-self-end {
    align-self: flex-end;
}
.wrap--50 > * {
    width: 50%;
}

/* Containers */
.detail-container {
    margin-bottom: 0.57143em;
    /* border-radius: 0.28571em; */
    background-color: #fefefe;
    border-radius: 3px;
    padding: 16px;
    box-shadow: 0px 4px 8px #e0e0e0;
}

.list-container {
    /* Por definir */
}

/* Icons */
.icon--circle {
    background-color: #BBC2C5;
    border-radius: 50%;
    width: 50px;
    height: 50px;

    display: flex;
    justify-content: center;
    align-items: center;
}
.vged-status{
    width: 20px;
    height: 20px;
    background-size: 100%;
    background-position: center center;
}
.vged-status--small {
    display: block;
    width: 12px;
    height: 12px;
    background-size: 100%;
    background-position: center center;
}
.vged-status--publish{
    background-image:  url('assets/icon/vged-status/PUBLISH.svg');
}
.vged-status--released{
    background-image:  url('assets/icon/vged-status/RELEASED.svg');
}
.vged-status--publish--revert{
    background-image:  url('assets/icon/vged-status/revert/PUBLISH.svg');
}
.vged-status--released--revert{
    background-image:  url('assets/icon/vged-status/revert/RELEASED.svg');
}
.vged--status--NEGOTIATING_NEW_PROPOSAL {
    background-image: url('assets/icon/vged-status/NEGOTIATING_NEW_PROPOSAL.svg');
}
.vged--status--NEGOTIATING {
    background-image: url('assets/icon/vged-status/NEGOTIATING.svg');
}
.vged--status--PENDING {
    background-image: url('assets/icon/vged-status/PENDING.svg');
}
/* font sizing */
.f-12 {
    font-size: 1.2em;
}

.f-18 {
    font-size: 1.8em;
}

.f-24 {
    font-size: 2.4em
}

/* Colors */
.light {
    color: #fefefe;
}

/* Forms */
.form__row>.form-group {
    width: 25%;
    margin: 0 12px;
}

.form__actions>button {
    margin: 0px 6px;
}

.form__actions>button:last-child {
    margin-right: 0px;
}
.input--actionable {
    width: 380px;
    font-weight: normal;
}

.input--actionable>input {
    padding-left: 8px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.pointer {
    cursor: pointer;
}
.input--actionable>button {
    border-radius: 0px 3px 3px 0px;
    width: 30px;
    border: 1px solid #000000;
    background-color: #000000;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 24px;
}
/* paddings */
.text-c{
    text-align:center;
}
.p--16 {
    padding: 16px;
}
.pr-16 {
    padding-right: 16px;
}
.pl-32 {
    padding-left: 32px;
}
.pl-64 {
    padding-left: 64px;
}
.pt-32 {
    padding-top: 32px;
}
.pt-56 {
    padding-top: 56px;
}
.pl-8{
    padding-left: 8px;
}
.pl-16{
    padding-left: 16px;
}
.pt-16{
    padding-top: 16px;
}
.pt-8{
    padding-top: 8px;
}
.pt-4{
    padding-top: 4px;
}
.pb-8 {
    padding-bottom: 8px;
}
.pb-16 {
    padding-bottom: 16px;
}
.pb-32 {
    padding-bottom: 32px;
}
.pb-100 {
    padding-bottom: 100px;
}
.p--8 {
    padding: 8px;
}
.px--16 {
    padding: 0 16px;
}
.py--8 {
    padding: 8px 0;
}
.py--16 {
    padding: 16px 0;
}
/* Margins */
.mb-0 {
    margin-bottom: 0;
}
.mr-8 {
    margin-right: 8px;
}
.mr-4{
    margin-right: 4px;
}
.mr-16{
    margin-right: 16px;
}
.mr-32 {
    margin-right: 32px;
}
.mr-50 {
    margin-right: 50px;
}
.my-8 {
    margin: 8px 0;
}
.ml-4{
    margin-left: 4px;
}
.ml-100 {
    margin-left: 100px;
}
.ml-32{
    margin-left: 32px;
}
.ml-50{
    margin-left: 50px;
}
.ml-150 {
    margin-left: 150px;
}
.ml-8 {
    margin-left: 8px;
}
.mt-2{
    margin-top: 2px;
}
.mt-4{
    margin-top: 4px;
}
.mt-20{
    margin-top: 20px;
}
.mb-4{
    margin-bottom: 4px;
}
.mt-8{
    margin-top: 8px;
}
.mt-16{
    margin-top: 16px;
}
.mt-32{
    margin-top: 32px;
}
.mb-8{
    margin-bottom: 8px;
}
.mb-16{
    margin-bottom: 16px;
}
/* Table */
.table tr + tr td.bt--none {
    border-top: none;
}
.subheader th {
    text-align: center;
    border-bottom: 1px solid #9fa9ae;
}
th.empty {
    background-color: transparent;
    border-left: none;
    border-bottom: none;
    text-align: center;
}
th.empty + th.empty {
    background-color: transparent;
    border-left: none;
    text-align: center;
}
td.borrador, td.liberado, td.publicado, td.aceptado {
    background-color: #FFBBBB;
}
td.firmada {
    background-color: #ABEFBF;
}
td.generada, td.validada {
    background-color: #FFE280;
}
/* width */
.w-100 {
    width: 100% !important;
}
.w-85 {
    width: 85% !important;
}
.w-75 {
    width: 75%;
}
.w-50 {
    width: 50%;
}
.w-175px {
    width: 165px;
}
.w-110px {
    width: 110px;
}

.text--center{
 text-align: center;
}
/* Modals */
.vged-modal {
    position: fixed;
    z-index: 99;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(22,22,22, 0.5);
}
.vged-modal__body {
    max-width: 600px;
    background-color: #f2f3f4;
    box-shadow: 0px 2px 8px rgba(22,22,22, 0.1);
    border-radius: 3px;
    border: 1px solid rgba(22,22,22, 0.1);
}
.bg--blurred {
    filter: blur(1px);
}
.vged-modal .content {
    width: 300px;
    background-color: #f2f3f4;
    box-shadow: 0px 2px 8px rgba(22,22,22, 0.1);
    border-radius: 3px;
    border: 1px solid rgba(22,22,22, 0.1);
    padding: 1rem;
}
.vged-modal .title {
    font-weight: 800;
    font-size: 1.2em;
    margin-bottom: 16px;
}
.vged-modal .body {
    font-weight: 200;
    font-size: 0.9em;
    margin-bottom: 24px;
}
.vged-modal .actions {
    justify-content: flex-end;
}
.vged-modal .actions > button:first-child {
    margin-right: 12px;
}
.vged-modal .actions > button:last-child {
    margin-right: 0px;
}
.vged-modal--content .content{
    background-color: white;
    width: 600px;
}
.vged-modal--negotiation .content {
    width: 500px;
    height: auto;
}

.title-data {
    font-weight: 400;
    font-size: 0.6em;
    margin-bottom: 16px;
    width: 100%;
}
.title-data :first-child {
    width: 100%;
    color: black;
}
.title--background{
    background-color: black;
    color: white;
}
.textarea-modal{
    width: 80%;
}
.title--sice{
    font-weight: 300;
    font-size: 1.7em;
    width: 100%;
}
.title-message{
    margin: 4px;
}

.icon-target--position{
    margin: 8px;
}
.bold{
    font-weight: bold;
}
.pl-12 {
    padding-left: 12px;
}
.input-content{
    min-height: 20px;
}
.input-name{
    width: 80px;
}
input[type="checkbox"] {
     position: relative;
     margin-left: 0%;
     margin-top: 0%;
     padding: 0%;
}
.input-checkbox-name{
    margin-right: 40px;
}
.textarea{
    width: 465px;
    height: 130px;
}
.actions{
    justify-content: center;
}
.body{
    margin-bottom: 0px;
}

.pointer{
    cursor: pointer;
}

/* Containers */
.container--section {
    visibility: hidden;
    opacity: 0;
    transition: all 300ms ease;
    height: 0;
}
.container--section.active {
    opacity: 1;
    visibility: visible;
    height: auto;
}

.cdk-overlay-container {
    position: fixed;
    z-index: 99999;
    pointer-events: none;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
  }
.cdk-global-overlay-wrapper {
    margin-left: 35%;
    margin-top: 20%;
}

/* Styles for SnackBar*/
.snackbar-gopa {
    margin: 0 !important;
    position: absolute;
    bottom: 1em !important; 
}
.snackbar-success{
    background-color: #d1f3c3;
    border-color: #a2cf91;
    color: #3c763d !important;
}
.snackbar-error{
    background-color: #f0c6c6;
    border-color: #f59999;
    color: #8b1311 !important;
}