/* P4E App CSS Estil
-------------------------------------------------- */

html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: 'Rubik', sans-serif;
    margin-bottom: 40px;
    background-color: #e2e1e0;
}

main {
    margin-top: 60px;
    margin-bottom: 40px;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #e2e1e0;
    /*background-image: url("../images/prism.png");*/
}


@media only screen and (min-width: 992px) {
    .container-player {
        max-width: 80%;
    }

    .leaflet-container {
        height: 560px;
        width: 800px;
        max-width: 100%;
        max-height: 100%;
        border-left: 1px solid #a5a5a5;
        border-right: 1px solid #a5a5a5;
    }
}

@media only screen and (max-width: 600px) {
    .col-mapa {
        max-height: 400px;
    }

    .leaflet-container {
        height: 250px;
        width: 800px;
        max-width: 100%;
        max-height: 100%;
        border-left: 1px solid #a5a5a5;
        border-right: 1px solid #a5a5a5;
    }
}


.div-titul {
    padding: 5px;
    margin: 0 auto;
    margin-bottom: 5px;
    border-radius: 0px;
    width: 100%;
    max-width: 600px;
    border: 0px solid #999999;
    /*box-shadow: rgba(0, 0, 0, 0.19) 0px 2px 2px, rgba(0, 0, 0, 0.23) 0px 2px 2px;*/
    /*box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;*/
}

.div-titul-player {
    padding: 2px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-top: 1px solid #a5a5a5;
    border-left: 1px solid #a5a5a5;
    border-right: 1px solid #a5a5a5;
    background-color: #d1d1d1;
    /*background: linear-gradient(180deg, rgb(130, 158, 169) 0%, rgba(223, 223, 223, 1) 100%);*/
    overflow: hidden;
    line-height: 18px;
    height: 45px;
}

.div-badges-player {
    padding: 2px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-bottom: 1px solid #a5a5a5;
    border-left: 1px solid #a5a5a5;
    border-right: 1px solid #a5a5a5;
    background-color: #d1d1d1;
    /*background: linear-gradient(180deg, rgba(223, 223, 223, 1) 0%, rgb(130, 158, 169) 100%);*/
    overflow: hidden;
    line-height: 18px;
    height: 50px;
}

.div-player {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 0px;
    overflow: hidden;
}

.div-titul-mapa {
    padding: 3px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-top: 1px solid #a5a5a5;
    border-left: 1px solid #a5a5a5;
    border-right: 1px solid #a5a5a5;
    background-color: #d1d1d1;
    /*background: linear-gradient(180deg, rgb(130, 158, 169) 0%, rgba(223, 223, 223, 1) 100%);*/
    overflow: hidden;
    line-height: 18px;
    height: 45px;
}

.titul-principal {
    font-family: 'Rubik', sans-serif;
    font-size: 24px;
    font-weight: 400;
    padding: 8px 8px;
    text-align: center;
    color: #131313;
    height: 30px;
}

.titul-secundari {
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    font-weight: 400;
    padding: 8px 8px;
    text-align: center;
    color: #131313;
    height: 60px;
    line-height: 20px;
}

.titul-webcam {
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    padding: 8px 8px;
    font-weight: 600;
    color: #131313;
    line-height: 16px;
}

.titul-webcam-ubicacio {
    font-family: 'Rubik', sans-serif;
    font-size: 12px;
    padding: 8px 8px;
    font-weight: 400;
    color: #131313;
}

.titul-webcam-ubicacio i {
    font-size: 10px;
}

.text-meteoclimatic {
    font-family: 'Rubik', sans-serif;
    font-size: 10px;
    font-weight: 200;
    color: #131313;

}

.webcam-nom {
    font-family: 'Rubik', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #131313;
}

.webcam-ubicacio {
    font-family: 'Rubik', sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: #131313;
}

.webcam-ubicacio i {
    font-size: 10px;
    color: #131313;
}

.webcam-status {
    padding-right: 10px;
    font-family: 'Rubik', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #131313;
    line-height: 30px;
}

.text-snapshot-date {
    padding-left: 0px;
    font-family: 'Rubik', sans-serif;
    font-size: 10px;
    font-weight: 400;
    color: #131313;
    line-height: 30px;
}

.alert-titul {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    background-color: rgb(105, 175, 255);
}

footer {
    bottom: 0;
    position: absolute;
    height: 40px;
    line-height: 40px;
}

.avis-webcam {
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    color: #000000;
}

.webcam-snapshot-card {
    background: #fff;
    border: 1px solid #a5a5a5;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.075);
    /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
}

.webcam-snapshot-card2 {
    background: #fff;
    border: 1px solid #808080;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.webcam-snapshot-card3 {
    background: #fff;
    border-radius: 5px;
    border: 1px solid #c7c7c7;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.webcam-snapshot {
    border: 1px solid #c7c7c7;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.webcam-snapshot-header {
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    padding: 5px 0px 5px 8px;
    /*border-radius: 0px 0px 0px 0px !important;*/
    border: 0px;
    background-color: #d1d1d1;
    line-height: 15px;
    /*
    background: rgb(45, 119, 253);
    background: linear-gradient(180deg, rgba(45, 119, 253, 0.6) 0%, rgba(223, 223, 223, 1) 100%);
    */
    /*
    background: rgb(121, 168, 187);
    background: linear-gradient(180deg, rgba(121, 168, 187, 0.6) 0%, rgba(223, 223, 223, 1) 100%);
    */
    /*background: rgb(106, 175, 203);*/
    /*
    background: linear-gradient(180deg, rgba(106, 175, 203, 1) 0%, rgba(223, 223, 223, 1) 100%);
    background: linear-gradient(180deg, rgb(130, 158, 169) 0%, rgba(223, 223, 223, 1) 100%);
    */
}

.webcam-snapshot-header2 {
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    padding: 5px 0px 5px 8px;
    border-radius: 0px 0px 0px 0px !important;
    border: 0px;
    background: linear-gradient(180deg, rgb(130, 158, 169) 0%, rgba(223, 223, 223, 1) 100%);
    overflow: hidden;
    line-height: 15px;
    /*
    background: rgb(45, 119, 253);
    background: linear-gradient(180deg, rgba(45, 119, 253, 0.6) 0%, rgba(223, 223, 223, 1) 100%);
    */
    /*
    background: rgb(121, 168, 187);
    background: linear-gradient(180deg, rgba(121, 168, 187, 0.6) 0%, rgba(223, 223, 223, 1) 100%);
    */
    /*background: rgb(106, 175, 203);*/
    /*
    background: linear-gradient(180deg, rgba(106, 175, 203, 1) 0%, rgba(223, 223, 223, 1) 100%);
    background: linear-gradient(180deg, rgb(130, 158, 169) 0%, rgba(223, 223, 223, 1) 100%);
    */
}

.webcam-snapshot-body {
    font-family: 'Rubik', sans-serif;
    font-size: 12px;
    padding: 5px;
    font-weight: 400;
    background-color: #d1d1d1;
}

.webcam-snapshot-footer {
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    font-weight: 400;
    padding: 5px 0px 5px 10px;
    border-radius: 0px 0px 0px 0px !important;
    border: 0px;
    background-color: #d1d1d1;
    /*background: linear-gradient(180deg, rgba(223, 223, 223, 1) 0%, rgb(130, 158, 169, 0.5) 100%);*/
}

.webcam-snapshot-button {
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    font-weight: 100;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.video-js .vjs-load-progress {
    background: rgba(255, 255, 255, 0.3);
}

video {
    width: 100%;
    height: auto;
    max-height: 100%
}

ul.llista-cams {
    list-style-type: square;
}

.boto-ordre {
    border-radius: 15px;
}

/* SNAPSHOTS PAGE */

.snapImage {
    border-radius: 0px;
    cursor: pointer;
    transition: 0.3s;
}

.snapImage:hover {
    opacity: 0.7;
}


/* The Modal (background) */

.snapModal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9);
    /* Black w/ opacity */
}


/* Modal Content (image) */

.snapModal-content {
    margin: auto;
    display: block;
    width: 1280px;
    max-width: 95%;
    top: 50%;
    left: 50%;
}


/* Caption of Modal Image */

.snapModal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}


/* Add Animation */

.snapModal-content,
.snapModal-caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}


/* The Close Button */

.snapModal-close {
    position: absolute;
    top: 45px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.snapModal-close:hover,
.snapModal-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}


/* Smaller Screens */

@media only screen and (max-width: 700px) {
    .snapModal-content {
        width: 98%;
    }

    .titul-webcam {
        font-family: 'Rubik', sans-serif;
        font-size: 3.5vw;
        padding: 4px 4px;
        font-weight: 600;
        text-align: center;
        color: #131313;
        height: 30px;
        line-height: 15px;
        white-space: nowrap;
    }

    .titul-webcam-ubicacio {
        font-family: 'Rubik', sans-serif;
        font-size: 12px;
        padding: 4px 4px;
        font-weight: 400;
        text-align: center;
        color: #131313;
        height: 30px;
        line-height: 15px;
    }

    .titul-webcam-ubicacio i {
        font-size: 3vw;
    }

    #meteo-bar,
    #meteo-hum,
    #meteo-rain {
        display: none;
    }
}


/* CheckMark */

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #7ac142;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards
}

.checkmark {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #fff;
    stroke-miterlimit: 10;
    margin: 5% auto;
    box-shadow: inset 0px 0px 0px #7ac142;
    animation: fill_check .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards
}


/* Error Mark */

.errormark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #ff3333;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards
}

.errormark {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #fff;
    stroke-miterlimit: 10;
    margin: 5% auto;
    box-shadow: inset 0px 0px 0px #ff3333;
    animation: fill_error .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both
}

.errormark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0
    }
}

@keyframes scale {

    0%,
    100% {
        transform: none
    }

    50% {
        transform: scale3d(1.1, 1.1, 1)
    }
}

@keyframes fill_check {
    100% {
        box-shadow: inset 0px 0px 0px 30px #7ac142
    }
}

@keyframes fill_error {
    100% {
        box-shadow: inset 0px 0px 0px 30px #ff3333
    }
}

.snapDiv {
    position: relative;
    display: inline-block;
}

.snapDivPlayer:after {
    content: url("https://app.projecte4estacions.com/images/play-button-white-40.png");
    z-index: 999;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -22px;
    margin-top: -32px;
    opacity: 0.6;
}

.snapDivPlayer:hover:after {
    opacity: 1;
}

#snackbar {
    visibility: hidden;
    width: 100%;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    bottom: 50px;
}

#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s;
    animation: fadein 0.5s;
}

/* Share Social Buttons */
.share-buttons {
    display: flex;
    gap: 6px;
}

.share-button {
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    font-size: 12px;
    padding: 6px 12px;
}

.facebook {
    background-color: #3b5998;
}

.twitter {
    background-color: #1da1f2;
}

.linkedin {
    background-color: #0077b5;
}

.pinterest {
    background-color: #bd081c;
}

.reddit {
    background-color: #ff4500;
}

.whatsapp {
    background-color: #25d366;
}

.fps {
    background-color: #bd081c;
}

.bitrate {
    background-color: rgb(189, 50, 8);
}

/* New NavBar */

body {
    font-family: 'Varela Round', sans-serif;
}

.form-control {
    box-shadow: none;
    font-weight: normal;
    font-size: 13px;
}

.navbar {
    background: #fff;
    padding-left: 16px;
    padding-right: 16px;
    border-bottom: 1px solid #dfe3e8;
    border-radius: 0;
}

.nav-link img {
    border-radius: 50%;
    width: 36px;
    height: 36px;
    margin: -8px 0;
    float: left;
    margin-right: 10px;
}

.navbar .navbar-brand {
    padding-left: 0;
    font-size: 20px;
    padding-right: 10px;
}

.navbar .navbar-brand b {
    color: #33cabb;
}

.navbar .form-inline {
    display: inline-block;
}

.navbar a {
    color: #888;
    font-size: 15px;
}

.search-box {
    position: relative;
}

.search-box input {
    padding-right: 35px;
    border-color: #dfe3e8;
    border-radius: 4px !important;
    box-shadow: none
}

.search-box .input-group-text {
    min-width: 35px;
    border: none;
    background: transparent;
    position: absolute;
    right: 0;
    z-index: 9;
    padding: 7px;
    height: 100%;
}

.search-box i {
    color: #a0a5b1;
    font-size: 19px;
}

.navbar .dropdown-menu {
    color: #000000;
    font-weight: normal;
    border-radius: 1px;
    border-color: #e5e5e5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .55);
}

.navbar a,
.navbar a:active {
    color: #000000;
    padding: 6px 20px;
    background: transparent;
    line-height: normal;
}

.navbar .navbar-form {
    border: none;
}

.navbar .action-form {
    width: 280px;
    padding: 20px;
    left: auto;
    right: 0;
    font-size: 14px;
}

.navbar .action-form a {
    color: #3197bf;
    padding: 0 !important;
    font-size: 14px;
}

.navbar .action-form .hint-text {
    text-align: center;
    margin-bottom: 15px;
    font-size: 13px;
}

.navbar .sign-up-btn {
    color: rgba(255, 255, 255, 0.9) !important;
    background: #3197bf !important;
    border: none;
    max-height: 36px;
}

.navbar .sign-up-btn:hover {
    color: rgba(255, 255, 255, 1) !important;
    background: #1e7ca1 !important;
    border: none;
    max-height: 36px;
}

.navbar .login-btn {
    color: rgba(255, 255, 255, 0.9) !important;
    background: #31bf7d !important;
    border: none;
    max-height: 36px;
}

.navbar .login-btn:hover {
    color: rgba(255, 255, 255, 1) !important;
    background: #1d8e5a !important;
    border: none;
    max-height: 36px;
}

.navbar .social-btn .btn,
.navbar .social-btn .btn:hover {
    color: #fff;
    margin: 0;
    padding: 0 !important;
    font-size: 13px;
    border: none;
    transition: all 0.4s;
    text-align: center;
    line-height: 34px;
    width: 47%;
    text-decoration: none;
}

.navbar .social-btn .facebook-btn {
    background: #507cc0;
}

.navbar .social-btn .facebook-btn:hover {
    background: #4676bd;
}

.navbar .social-btn .twitter-btn {
    background: #64ccf1;
}

.navbar .social-btn .twitter-btn:hover {
    background: #4ec7ef;
}

.navbar .social-btn .btn i {
    margin-right: 5px;
    font-size: 16px;
    position: relative;
    top: 2px;
}

/*
.dropdown-menu li {
    position: relative;
}

.dropdown-menu .dropdown-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: -7px;
}

.dropdown-menu .dropdown-submenu-left {
    right: 100%;
    left: auto;
}

.dropdown-menu>li:hover>.dropdown-submenu {
    display: block;
}
*/

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu a::after {
    transform: rotate(-90deg);
    position: absolute;
    right: 6px;
    top: .8em;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: .1rem;
    margin-right: .1rem;
}

.or-seperator {
    margin-top: 32px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

.or-seperator b {
    color: #666;
    padding: 0 8px;
    width: 30px;
    height: 30px;
    font-size: 13px;
    text-align: center;
    line-height: 26px;
    background: #fff;
    display: inline-block;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    position: relative;
    top: -15px;
    z-index: 1;
}

.navbar .action-buttons .dropdown-toggle::after {
    display: none;
}

.form-check-label input {
    position: relative;
    top: 1px;
}

@media (min-width: 1200px) {
    .form-inline .input-group {
        width: 300px;
        margin-left: 30px;
    }
}

@media (max-width: 768px) {
    .navbar .dropdown-menu.action-form {
        width: 100%;
        padding: 12px 15px;
        background: transparent;
        border: none;
    }

    .navbar .form-inline {
        display: block;
    }

    .navbar .input-group {
        width: 100%;
    }
}

.scrollable-menu {
    height: auto;
    max-height: 400px;
    overflow-x: hidden;
}

/* Cookie Consent */

#cc-main {
    color-scheme: light;

    --cc-bg: #f9faff;
    --cc-primary-color: #112954;
    --cc-secondary-color: #112954;

    --cc-btn-primary-bg: #3859d0;
    --cc-btn-primary-color: var(--cc-bg);
    --cc-btn-primary-hover-bg: #213657;
    --cc-btn-primary-hover-color: #fff;

    --cc-btn-secondary-bg: #dfe7f9;
    --cc-btn-secondary-color: var(--cc-secondary-color);
    --cc-btn-secondary-hover-bg: #c6d1ea;
    --cc-btn-secondary-hover-color: #000;

    --cc-cookie-category-block-bg: #ebeff9;
    --cc-cookie-category-block-border: #ebeff9;
    --cc-cookie-category-block-hover-bg: #dbe5f9;
    --cc-cookie-category-block-hover-border: #dbe5f9;
    --cc-cookie-category-expanded-block-hover-bg: #ebeff9;
    --cc-cookie-category-expanded-block-bg: #ebeff9;

    --cc-overlay-bg: rgba(219, 232, 255, 0.85) !important;

    --cc-toggle-readonly-bg: #cbd8f1;
    --cc-toggle-on-knob-bg: var(--cc-bg);
    --cc-toggle-off-bg: #8fa8d6;
    --cc-toggle-readonly-knob-bg: var(--cc-bg);

    --cc-separator-border-color: #f1f3f5;

    --cc-footer-border-color: #f1f3f5;
    --cc-footer-bg: var(--cc-bg);

    --cc-btn-border-radius: 1rem .6rem 1.3rem .5rem / .5rem 1rem;
    --cc-modal-border-radius: var(--cc-btn-border-radius);
    --cc-pm-toggle-border-radius: var(--cc-btn-border-radius);
}

#cc-main .toggle__icon:after {
    border-radius: var(--cc-btn-border-radius);
}

#cc-main .cm__btn--close {
    border-radius: var(--cc-btn-border-radius);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* RIBBON */


.ribbon {
    position: absolute;
    z-index: 10;
    padding: 0px 5px;
    /* margin-left: 62.5%; */
    /* margin-right: 12.0%; */
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
    font-size: 12px;
    line-height: 26px;
    font-weight: bold;
    text-align: center;
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    zoom: 1;
    /* top: 8%; */
    right: -2.5%;

    /* left: 61%; */
    min-width: 50px;
    max-width: 120px;
    height: 26px;

}

.orange {
    background: #FF9600;
}

.blue {
    background: #3398d9
}

.green {
    background: #66b94d;
}

.ribbon:after {
    content: "";
    position: absolute;
    z-index: -20;
    top: 100%;
    left: auto;
    border-style: solid;
    border-width: 0 0 10px 10px;
    right: 0;
}

.orange:after {
    border-color: transparent #DC5F0B;
}

.blue:after {
    border-color: transparent #1e5b82;
}

.green:after {
    border-color: transparent #3e7030;
}

.no-ribbon {
    height: 41px;
    position: absolute;
    z-index: 2000;
}

/*END OF RIBBON */