.aircraft_model {
    width: 100%;
    border-radius: 50px;
    overflow: hidden;
    font-family: 'Open Sans', sans-serif !important;
    padding: 30px;
}

.aircraft_model .img-container {
    position: relative;
    width: 30%;
    max-width: 250px;
    border-radius: 20px;
    margin: 0 0 10px 20px;
    float: right;
    overflow: hidden;
    border: 3px solid var(--opt-color-dark-blue);
    z-index: 1;
}

.aircraft_model .img-container>img {
    width: 100%;
}

.aircraft_model .img-container>label {
    position: absolute;
    bottom: 5px;
    right: 20px;
    text-align: end;
    color: var(--quoteBackgroundColor);
    opacity: 0.9;
    font-size: 10px;
}

.aircraft_model .img-container>label>a {
    color: inherit !important;
    text-decoration: none;
}

.aircraft_model .img-container>label>a:hover {
    opacity: 0.8;
}

.aircraft_model>div {
    display: flex;
    flex-direction: column;
}

.aircraft_model p {
    text-indent: 20px;
}

.aircraft_model table i {
    margin-right: 20px;
    color: var(--vpt-icon-color);
}

.aircraft_model table {
    color: var(--opt-color-dark-blue);
}

.aircraft_model table td,
.aircraft_model table th {
    width: 33%;
}

.badge-save {
    background-color: #409c2d;
    font-weight: normal;
    font-style: italic;
}

#fleetHeader ol li {
    list-style-type: none;
    display: inline;
    font-size: large;
}

#fleetHeader ol li a {
    font-weight: bold;
}

.tableSubscription th {}

.t-model,
.t-engine,
.t-brakes,
.t-certif {}

.t-model {
    font-weight: bold;
}

.t-engine {
    font-style: italic;
}

.t-brakes {
    font-size: smaller;
}

.t-certif {}

.t-description {
    font-size: smaller;
    font-style: italic;
}

.t-pricing-main,
.t-pricing-sub {}

.t-pricing {
    /*vertical-align: middle;*/
}

.t-pricing-main {
    font-weight: bold;
}

.t-pricing-main sub {
    font-size: .6em;
}

.t-pricing-sub {
    color: #6c757d !important;
    font-size: 1rem;
    font-weight: normal;
}

.img-fleet {
    width: 400px;
    max-width: 50%;
    border-radius: 20px;
    border: 3px solid var(--opt-color-dark-blue);
    float: right;
    margin-left: 20px;
    overflow: hidden;
}

@media screen and (max-width: 768px) {
    .img-fleet {
        width: 100%;
        max-width: 100%;
        float: none;
        margin-left: 0;
    }

}


.postcard {
    flex-wrap: wrap;
    display: flex;
    box-shadow: 0px 0px 15px 5px rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    margin: 0 0 2rem 0;
    overflow: hidden;
    position: relative;
    color: #ffffff;
}

.postcard.dark {
    background-color: rgba(21, 34, 43, 1);
    ;
}

.postcard.light {
    background-color: #e1e5ea;
}

.postcard .t-dark {
    color: rgba(21, 34, 43, 1);
    ;
}

.postcard a {
    color: inherit;
}

.postcard h2,
.postcard .h2 {
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
}

.postcard .small {
    font-size: 80%;
}

.postcard .postcard__title {
    font-size: 1.75rem;
}

.postcard .postcard__img {
    max-height: 180px;
    width: 100%;
    object-fit: cover;
    position: relative;
}

.postcard .postcard__img_container {
    width: 75%;
    height: auto;
    background-size: cover;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    position: relative;
}

.postcard .postcard__img_container label {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 0.5rem 0.5rem 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    font-size: 1rem;
    transition: transform 0.3s ease;
    border-radius: 0 10px 0 0;
}

.postcard .postcard__img_container label a:hover  {
    color: #ffffff;
    opacity: 0.8;
}

.postcard:nth-child(2n) .postcard__img_container label {
    left: unset;
    right: 0;
    border-radius: 10px 0 0 0;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
}

.postcard:hover .postcard__img_container label {
    /*transform: translate(-10%, 10%); /* Inverse of the parent's scale */
    transform: scale(1.05);
}

.postcard .postcard__img_link {
    display: contents;
}

.postcard .postcard__bar {
    width: 100px;
    height: 10px;
    margin: 10px 0;
    border-radius: 5px;
    background-color: #424242;
    transition: width 0.2s ease;
}

.postcard .postcard__text {
    padding: 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;

}

.postcard .postcard__preview-txt {
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: justify;
    height: 100%;
}

.postcard .postcard__preview-txt .alert {
    margin-top: 20px;
}

.postcard .postcard__text a {
    font-weight: bold;
}

.postcard .postcard__tagbox {
    display: flex;
    flex-flow: column wrap;
    font-size: 14px;
    margin: 20px 0 0 0;
    padding: 0;
    justify-content: center;
    padding-left: 20px;
    background: rgba(54, 88, 112, 0.3);
    border-radius: 10px;
}

.postcard .postcard__tagbox .tag__item {
    display: inline-block;


    padding: 5px 10px;
    cursor: default;
    user-select: none;
    transition: background-color 0.3s;
    font-style: italic;
}

.postcard .postcard__tagbox .tag__item i {
    width: 10px;
    margin-right: 15px;
}

/*.postcard .postcard__tagbox .tag__item:hover {
    background: rgba(83, 83, 83, 0.8);
}*/

.postcard:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(-70deg, #424242, transparent 50%);
    opacity: 1;
    border-radius: 10px;
}

.postcard:hover .postcard__bar {
    width: 250px;
}

@media screen and (min-width: 769px) {
    .postcard {
        flex-wrap: inherit;
    }

    .postcard .postcard__title {
        font-size: 2rem;
    }

    .postcard .postcard__tagbox {
        justify-content: start;
    }

    .postcard .postcard__img {
        max-width: 300px;
        max-height: 100%;
        transition: transform 0.3s ease;
    }

    .postcard .postcard__text {
        padding: 3rem;
        width: 100%;
    }

    .postcard .media.postcard__text:before {
        content: "";
        position: absolute;
        display: block;
        background: rgba(21, 34, 43, 1);
        top: -45%;
        height: 150%;
        width: 100px;
    }

    .postcard .postcard__text>* {
        z-index: 1;
    }

    .postcard:hover .postcard__img_container {
        /*transform: scale(1.1);*/
    }

    .postcard:nth-child(2n+1) {
        flex-direction: row;
    }

    .postcard:nth-child(2n+0) {
        flex-direction: row-reverse;
    }

    .postcard:nth-child(2n+1) .postcard__text::before {
        left: -12px !important;
        transform: rotate(4deg);
    }

    .postcard:nth-child(2n+0) .postcard__text::before {
        right: -12px !important;
        transform: rotate(-4deg);
    }
}

@media screen and (min-width: 1024px) {
    .postcard__text {
        padding: 2rem 3.5rem;
    }

    .postcard__text:before {
        content: "";
        position: absolute;
        display: block;
        top: -45%;
        height: 150%;
        width: 100px;
    }

    .postcard.dark .postcard__text:before {
        background: rgba(21, 34, 43, 1);
        ;
    }

    .postcard.light .postcard__text:before {
        background: #e1e5ea;
    }
}

/* COLORS */
.postcard .postcard__tagbox .green.play:hover {
    background: #79dd09;
    color: black;
}

.green .postcard__title:hover {
    color: #79dd09;
}

.green .postcard__bar {
    background-color: #79dd09;
}

.green::before {
    background-image: linear-gradient(-30deg, rgba(121, 221, 9, 0.1), transparent 50%);
}

.green:nth-child(2n)::before {
    background-image: linear-gradient(30deg, rgba(121, 221, 9, 0.1), transparent 50%);
}

.postcard .postcard__tagbox .blue.play:hover {
    background: #0076bd;
}

/*.blue .postcard__title:hover {
    color: #0076bd;
}*/

.blue .postcard__bar {
    background-color: #0076bd;
}

.blue::before {
    background-image: linear-gradient(-30deg, rgba(0, 118, 189, 0.1), transparent 50%);
}

.blue:nth-child(2n)::before {
    background-image: linear-gradient(30deg, rgba(0, 118, 189, 0.1), transparent 50%);
}

.postcard .postcard__tagbox .red.play:hover {
    background: #bd150b;
}

.red .postcard__title:hover {
    color: #bd150b;
}

.red .postcard__bar {
    background-color: #bd150b;
}

.red::before {
    background-image: linear-gradient(-30deg, rgba(189, 21, 11, 0.1), transparent 50%);
}

.red:nth-child(2n)::before {
    background-image: linear-gradient(30deg, rgba(189, 21, 11, 0.1), transparent 50%);
}

.postcard .postcard__tagbox .yellow.play:hover {
    background: #bdbb49;
    color: black;
}

.yellow .postcard__title:hover {
    color: #bdbb49;
}

.yellow .postcard__bar {
    background-color: #bdbb49;
}

.yellow::before {
    background-image: linear-gradient(-30deg, rgba(189, 187, 73, 0.1), transparent 50%);
}

.yellow:nth-child(2n)::before {
    background-image: linear-gradient(30deg, rgba(189, 187, 73, 0.1), transparent 50%);
}

@media screen and (min-width: 769px) {
    .green::before {
        background-image: linear-gradient(-80deg, rgba(121, 221, 9, 0.1), transparent 50%);
    }

    .green:nth-child(2n)::before {
        background-image: linear-gradient(80deg, rgba(121, 221, 9, 0.1), transparent 50%);
    }

    .blue::before {
        background-image: linear-gradient(-80deg, rgba(0, 118, 189, 0.1), transparent 50%);
    }

    .blue:nth-child(2n)::before {
        background-image: linear-gradient(80deg, rgba(0, 118, 189, 0.1), transparent 50%);
    }

    .red::before {
        background-image: linear-gradient(-80deg, rgba(189, 21, 11, 0.1), transparent 50%);
    }

    .red:nth-child(2n)::before {
        background-image: linear-gradient(80deg, rgba(189, 21, 11, 0.1), transparent 50%);
    }

    .yellow::before {
        background-image: linear-gradient(-80deg, rgba(189, 187, 73, 0.1), transparent 50%);
    }

    .yellow:nth-child(2n)::before {
        background-image: linear-gradient(80deg, rgba(189, 187, 73, 0.1), transparent 50%);
    }
}