﻿

@font-face {
    font-family: 'gothamhtf-book';
    src: url('../fonts/gothamhtf-book.ttf') format('truetype');
}

@font-face {
    font-family: 'impactplayer2';
    src: url('../fonts/impactplayer2.ttf') format('truetype');
}


/*font*/

/*FULLSCREEN*/

.vjs-icon-fullscreen-enter, .video-js .vjs-fullscreen-control .vjs-icon-placeholder {
    font-family: 'impactplayer2';
    font-weight: normal;
    font-style: normal;
}

    .vjs-icon-fullscreen-enter:before, .video-js .vjs-fullscreen-control .vjs-icon-placeholder:before {
        content: "\0041";
        font-size: 3.5em;
        color: #ffffff
    }

.vjs-icon-fullscreen-exit, .video-js.vjs-fullscreen .vjs-fullscreen-control .vjs-icon-placeholder {
    font-family: 'impactplayer2';
    font-weight: normal;
    font-style: normal;
}

    .vjs-icon-fullscreen-exit:before, .video-js.vjs-fullscreen .vjs-fullscreen-control .vjs-icon-placeholder:before {
        content: "\0042";
        font-size: 3.5em;
    }


/*PUNTATORE PROGRESSBAR*/

.vjs-icon-circle, .vjs-seek-to-live-control .vjs-icon-placeholder, .video-js .vjs-play-progress {
    font-family: 'impactplayer2';
    font-weight: normal;
    font-style: normal;
}

    .vjs-icon-circle:before, .vjs-seek-to-live-control .vjs-icon-placeholder:before, .video-js .vjs-play-progress:before {
        content: " \0045";
        color: #ffc000;
        font-size: 3em;
    }


/*PLAY BUTTON*/

.vjs-icon-play, .video-js .vjs-play-control .vjs-icon-placeholder, .video-js .vjs-big-play-button .vjs-icon-placeholder:before {
    font-family: VideoJS;
    font-weight: normal;
    font-style: normal;
}
    /*TASTOBARRA*/
    .vjs-icon-play:before, .video-js .vjs-play-control .vjs-icon-placeholder:before {
        content: "\f101";
    }

/*TASTOCENTRALE*/
.video-js .vjs-big-play-button .vjs-icon-placeholder:before {
    content: '';
}

/*TASTO PAUSA*/
.vjs-icon-pause, .video-js .vjs-play-control.vjs-playing .vjs-icon-placeholder {
    font-family: VideoJS;
    font-weight: normal;
    font-style: normal;
}

    .vjs-icon-pause:before, .video-js .vjs-play-control.vjs-playing .vjs-icon-placeholder:before {
        content: "\f103";
    }


/*BOTTONE CENTRALE*/
.video-js .vjs-big-play-button {
    font-size: 6em;
    line-height: 2em;
    height: 2em;
    width: 3em;
    display: block;
    position: absolute;
    top: 10px;
    left: 10px;
    padding-top: 1em;
    cursor: pointer;
    opacity: 1;
    border: 0.06666em solid #fff;
    border: none;
    transition: all 0.4s;
    background-image: url('../img/playbackground_icon.png');
    background-size: contain;
    background-position-x: center;
    background-position-y: center;
    background-repeat: no-repeat;
}

.vjs-big-play-centered .vjs-big-play-button {
    top: 47%;
    left: 50%;
    margin-top: -0.81666em;
    margin-left: -1.5em;
}


/*COMPORTAMENTO STATUS CONTROLLI*/

.video-js:hover .vjs-big-play-button,
.video-js .vjs-big-play-button:focus {
    border-color: transparent;
    outline-color: transparent;
    border: none;
    font-size: 6.5em;
}


.video-js .vjs-control:focus:before,
.video-js .vjs-control:hover:before,
.video-js .vjs-control:focus {
    /*text-shadow: 0em 0em 1em white;*/
    border-color: transparent;
    outline-color: transparent;
}


.vjs-controls-disabled .vjs-big-play-button,
.vjs-has-started .vjs-big-play-button,
.vjs-using-native-controls .vjs-big-play-button,
.vjs-error .vjs-big-play-button {
    display: none;
}



/*TEMA*/

.vjs-theme-city {
    --vjs-theme-city--primary: #FFC000;
    --vjs-theme-city--secondary: #fff;
}

    .vjs-theme-city .vjs-control-bar {
        height: 4.375rem;
        padding-top: 2em;
        background: none;
        background-image: linear-gradient(to top, #000, rgba(0, 0, 0, 0));
    }

    .vjs-theme-city .vjs-button > .vjs-icon-placeholder::before {
        line-height: 50px;
    }


    /*ICONA SLIDER PROGRESSO*/

    .vjs-theme-city .vjs-play-progress::before {
        height: 1.6em;
        width: 1.3em;
        border: none;
        top: -0.9em;
        padding-left: 0.3em
    }

    .vjs-theme-city .vjs-progress-control {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        width: 100%;
        height: 20px;
    }

        .vjs-theme-city .vjs-progress-control .vjs-progress-holder {
            position: absolute;
            top: 20px;
            right: 0;
            left: 0;
            width: 100%;
            margin: 0;
        }

    .vjs-theme-city .vjs-play-progress {
        background-color: #FFC000;
    }

    /*TASTO PLAY*/

    .vjs-theme-city .vjs-play-control {
        order: 1;
        flex: 1;
        font-size: 1.75em;
        text-align: left;
        border: none;
        background-image: radial-gradient(circle,rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0));
        background-position-x: center;
        background-position-y: center;
        background-size: contain;
        background-repeat: no-repeat;
    }




/*MODIFICA STILE TASTI A TUTTO SCHERMO*/

div.vjs-fullscreen > div.vjs-control-bar > button.vjs-play-control,
div.vjs-fullscreen > div.vjs-control-bar > button.vjs-fullscreen-control {
    flex: 0.5;
    background-image: none;
}


div.vjs-fullscreen > div.vjs-control-bar > div.vjs-volume-panel {
    flex: 0.3;
}


/*TEMPO RIMANENTE*/

.vjs-theme-city .vjs-remaining-time {
    order: 3;
    flex: 9;
    line-height: 50px;
    text-align: right;
    margin-right: 2em;
    font-size: 1.3em;
    font-family: 'gothamhtf-book';
    color: #dadada;
}

.video-js .vjs-progress-control:hover .vjs-time-tooltip,
.video-js .vjs-progress-control:hover .vjs-progress-holder:focus .vjs-time-tooltip {

    font-family: 'gothamhtf-book';
}



/*CONTROLLO VOLUME*/

.vjs-theme-city .vjs-volume-panel {
    order: 4;
    flex: 0.5;
    /*margin-left: 30px;*/
}


/*TASTO INUTILE*/

.vjs-theme-city .vjs-picture-in-picture-control {
    order: 2;
    flex: 1;
    display: none !important;
}




/*TASTO FULLSCREEN*/

.vjs-theme-city .vjs-fullscreen-control {
    order: 5;
    flex: 1;
}



/* Volume stuff */
.vjs-theme-city .vjs-volume-panel:hover .vjs-volume-control.vjs-volume-horizontal {
    height: 100%;
}

.vjs-theme-city .vjs-mute-control {
    display: none;
}

.vjs-theme-city .vjs-volume-panel {
    margin-left: 0.5em;
    margin-right: 0.5em;
    padding-top: 1.6em;
}


    /*LUNGHEZZA VOLUME IMPOSTABILE*/

    .vjs-theme-city .vjs-volume-panel,
    .vjs-theme-city .vjs-volume-panel:hover,
    .vjs-theme-city .vjs-volume-panel.vjs-volume-panel-horizontal:hover,
    .vjs-theme-city .vjs-volume-panel:focus .vjs-volume-control.vjs-volume-horizontal,
    .vjs-theme-city .vjs-volume-panel:hover .vjs-volume-control.vjs-volume-horizontal,
    .vjs-theme-city .vjs-volume-panel:active .vjs-volume-control.vjs-volume-horizontal,
    .vjs-theme-city .vjs-volume-panel.vjs-volume-panel-horizontal:hover,
    .vjs-theme-city .vjs-volume-bar.vjs-slider-horizontal {
        width: 3em;
    }

.vjs-theme-city .vjs-volume-level::before {
    font-size: 1em;
}

.vjs-theme-city .vjs-volume-panel .vjs-volume-control {
    opacity: 1;
    width: 100%;
    height: 100%;
}

.vjs-theme-city .vjs-volume-bar {
    background-color: transparent;
    margin: 0;
}

.vjs-theme-city .vjs-slider-horizontal .vjs-volume-level {
    height: 100%;
}

.vjs-theme-city .vjs-volume-bar.vjs-slider-horizontal {
    margin-top: 0;
    margin-bottom: 0;
    height: 100%;
}

/*BARRA VOLUME DI SFONDO*/

.vjs-theme-city .vjs-volume-bar::before {
    content: '';
    z-index: 0;
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    border-style: solid;
    border-width: 0 0 1.75em 3em;
    border-color: transparent transparent rgba(255, 255, 255, 0.25) transparent;
}

.vjs-theme-city .vjs-volume-level {
    overflow: hidden;
    background-color: transparent;
}

    /*BARRA VOLUME AZIONATA*/

    .vjs-theme-city .vjs-volume-level::before {
        content: '';
        z-index: 1;
        width: 0;
        height: 0;
        position: absolute;
        top: 0;
        left: 0;
        border-style: solid;
        border-width: 0 0 1.75em 3em;
        border-color: transparent transparent #FFC000 transparent;
    }

/* Extra Extra small devices (phones, 400px and down) */
@media only screen and (max-width: 400px) {

    /*BOTTONE CENTRALE*/
    .video-js .vjs-big-play-button { 
 
        font-size: 3em; 
    }

    .video-js:hover .vjs-big-play-button,
    .video-js .vjs-big-play-button:focus {
        font-size: 3.5em;
    }
    



    .vjs-theme-city .vjs-remaining-time {
        order: 3;
        flex: 4;
        margin-right: 0.5em;
    }

    .vjs-theme-city .vjs-play-control {
        order: 1;
        flex: 1.8;
    }

    .vjs-theme-city .vjs-volume-panel {
        order: 4;
        flex: 1.2;
        margin-right: 1em;
    }

    .vjs-theme-city .vjs-picture-in-picture-control {
        order: 2;
        flex: 1;
        display: none !important;
    }

    .vjs-theme-city .vjs-fullscreen-control {
        order: 5;
        flex: 1.8;
    }

    /*MODIFICA STILE TASTI A TUTTO SCHERMO*/

    div.vjs-fullscreen > div.vjs-control-bar > button.vjs-play-control,
    div.vjs-fullscreen > div.vjs-control-bar > button.vjs-fullscreen-control {
        flex: 2;
        background-image: none;
    }


    div.vjs-fullscreen > div.vjs-control-bar > div.vjs-volume-panel {
        flex: 1;
    }
}



/* Extra small devices (phones, 400px and up) */
@media only screen and (min-width: 400px) {

    /*BOTTONE CENTRALE*/
    .video-js .vjs-big-play-button { 
 
        font-size: 3.2em; 
    }

    .video-js:hover .vjs-big-play-button,
    .video-js .vjs-big-play-button:focus {
        font-size: 3.7em;
    }




    .vjs-theme-city .vjs-remaining-time {
        order: 3;
        flex: 5;
    }

    .vjs-theme-city .vjs-play-control {
        order: 1;
        flex: 1.4;
    }

    .vjs-theme-city .vjs-volume-panel {
        order: 4;
        flex: 1.2;
    }

    .vjs-theme-city .vjs-picture-in-picture-control {
        order: 2;
        flex: 1;
        display: none !important;
    }

    .vjs-theme-city .vjs-fullscreen-control {
        order: 5;
        flex: 1.5;
    }

    /*MODIFICA STILE TASTI A TUTTO SCHERMO*/

    div.vjs-fullscreen > div.vjs-control-bar > button.vjs-play-control,
    div.vjs-fullscreen > div.vjs-control-bar > button.vjs-fullscreen-control {
        flex: 2;
        background-image: none;
    }


    div.vjs-fullscreen > div.vjs-control-bar > div.vjs-volume-panel {
        flex: 1;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {

    /*BOTTONE CENTRALE*/
    .video-js .vjs-big-play-button { 
 
        font-size: 3.8em; 
    }

    .video-js:hover .vjs-big-play-button,
    .video-js .vjs-big-play-button:focus {
        font-size: 4.3em;
    }




    .vjs-theme-city .vjs-remaining-time {
        order: 3;
        flex: 6;
    }

    .vjs-theme-city .vjs-play-control {
        order: 1;
        flex: 1.2;
    }

    .vjs-theme-city .vjs-volume-panel {
        order: 4;
        flex: 1.2;
    }

    .vjs-theme-city .vjs-picture-in-picture-control {
        order: 2;
        flex: 1.2;
        display: none !important;
    }

    .vjs-theme-city .vjs-fullscreen-control {
        order: 5;
        flex: 1.2;
    }

    /*MODIFICA STILE TASTI A TUTTO SCHERMO*/

    div.vjs-fullscreen > div.vjs-control-bar > button.vjs-play-control,
    div.vjs-fullscreen > div.vjs-control-bar > button.vjs-fullscreen-control {
        flex: 1;
        background-image: none;
    }


    div.vjs-fullscreen > div.vjs-control-bar > div.vjs-volume-panel {
        flex: 0.5;
    }


}


/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {

    /*BOTTONE CENTRALE*/
    .video-js .vjs-big-play-button { 
 
        font-size: 4.3em; 
    }

    .video-js:hover .vjs-big-play-button,
    .video-js .vjs-big-play-button:focus {
        font-size: 4.8em;
    }



    .vjs-theme-city .vjs-remaining-time {
        order: 3;
        flex: 6;
    }

    .vjs-theme-city .vjs-play-control {
        order: 1;
        flex: 1.2;
    }

    .vjs-theme-city .vjs-volume-panel {
        order: 4;
        flex: 0.8;
    }

    .vjs-theme-city .vjs-picture-in-picture-control {
        order: 2;
        flex: 1.1;
        display: none !important;
    }

    .vjs-theme-city .vjs-fullscreen-control {
        order: 5;
        flex: 1.1;
    }
}



/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {

    /*BOTTONE CENTRALE*/
    .video-js .vjs-big-play-button { 
 
        font-size: 5em; 
    }

    .video-js:hover .vjs-big-play-button,
    .video-js .vjs-big-play-button:focus {
        font-size: 5.5em;
    }



    .vjs-theme-city .vjs-remaining-time {
        order: 3;
        flex: 7;
    }

    .vjs-theme-city .vjs-play-control {
        order: 1;
        flex: 1.1;
    }

    .vjs-theme-city .vjs-volume-panel {
        order: 4;
        flex: 0.8;
    }

    .vjs-theme-city .vjs-picture-in-picture-control {
        order: 2;
        flex: 1.1;
        display: none !important;
    }

    .vjs-theme-city .vjs-fullscreen-control {
        order: 5;
        flex: 1.1;
    }
}

/* Extra large devices (large laptops and desktops, 1400px and up) */
@media only screen and (min-width: 1400px) {

    /*BOTTONE CENTRALE*/
    .video-js .vjs-big-play-button { 
 
        font-size: 6em; 
    }

    .video-js:hover .vjs-big-play-button,
    .video-js .vjs-big-play-button:focus {
        font-size: 6.5em;
    }

    /*TASTO PLAY*/

    .vjs-theme-city .vjs-play-control {
        order: 1;
        flex: 1;
    }

    /*TEMPO RIMANENTE*/

    .vjs-theme-city .vjs-remaining-time {
        order: 3;
        flex: 9;
    }

    /*CONTROLLO VOLUME*/

    .vjs-theme-city .vjs-volume-panel {
        order: 4;
        flex: 0.5;
    }

    /*TASTO INUTILE*/

    .vjs-theme-city .vjs-picture-in-picture-control {
        order: 2;
        flex: 1;
        display: none !important;
    }

    /*TASTO FULLSCREEN*/

    .vjs-theme-city .vjs-fullscreen-control {
        order: 5;
        flex: 1;
    }

}


/* RETINA large devices (large laptops and desktops, 2000px and up) */
@media only screen and (min-width: 2500px) {

    /*BOTTONE CENTRALE*/
    .video-js .vjs-big-play-button {
        font-size: 8rem;
    }

        .video-js:hover .vjs-big-play-button,
        .video-js .vjs-big-play-button:focus {
            font-size: 8.5rem;
        }

    /*TASTO PLAY*/

    .vjs-theme-city .vjs-play-control {
        order: 1;
        flex: 0.8;
    }

    /*TEMPO RIMANENTE*/

    .vjs-theme-city .vjs-remaining-time {
        order: 3;
        flex: 10;
    }

    /*CONTROLLO VOLUME*/

    .vjs-theme-city .vjs-volume-panel {
        order: 4;
        flex: 0.5;
        margin-right: 0;
    }

    /*TASTO INUTILE*/

    .vjs-theme-city .vjs-picture-in-picture-control {
        order: 2;
        flex: 0.5;
        display: none !important;
    }

    /*TASTO FULLSCREEN*/

    .vjs-theme-city .vjs-fullscreen-control {
        order: 5;
        flex: 0.8;
        margin-left: 0;
    }

    .vjs-theme-city .vjs-control-bar {
        height: 6rem;
        padding-top: 2.5em;
    }

    .vjs-icon-fullscreen-enter:before, .video-js .vjs-fullscreen-control .vjs-icon-placeholder:before {
        content: "\0041";
        font-size: 6.5em;
        padding-top: 0.12em;
    }

    .vjs-icon-fullscreen-exit:before, .video-js.vjs-fullscreen .vjs-fullscreen-control .vjs-icon-placeholder:before {
        content: "\0042";
        font-size: 6.5em;
        padding-top: 0.12em;
    }

    /*BARRA VOLUME DI SFONDO*/

    .vjs-theme-city .vjs-volume-bar::before {
        content: '';
        z-index: 0;
        width: 0;
        height: 0;
        position: absolute;
        top: 0;
        left: 0;
        border-style: solid;
        border-width: 0 0 3.25em 5em;
        border-color: transparent transparent rgba(255, 255, 255, 0.25) transparent;
    }

    .vjs-theme-city .vjs-volume-level {
        overflow: hidden;
        background-color: transparent;
    }

    /*BARRA VOLUME AZIONATA*/

    .vjs-theme-city .vjs-volume-level::before {
        content: '';
        z-index: 1;
        width: 0;
        height: 0;
        position: absolute;
        top: 0;
        left: 0;
        border-style: solid;
        border-width: 0 0 3.25em 5em;
        border-color: transparent transparent #FFC000 transparent;
    }

    /*LUNGHEZZA VOLUME IMPOSTABILE*/

    .vjs-theme-city .vjs-volume-panel,
    .vjs-theme-city .vjs-volume-panel:hover,
    .vjs-theme-city .vjs-volume-panel.vjs-volume-panel-horizontal:hover,
    .vjs-theme-city .vjs-volume-panel:focus .vjs-volume-control.vjs-volume-horizontal,
    .vjs-theme-city .vjs-volume-panel:hover .vjs-volume-control.vjs-volume-horizontal,
    .vjs-theme-city .vjs-volume-panel:active .vjs-volume-control.vjs-volume-horizontal,
    .vjs-theme-city .vjs-volume-panel.vjs-volume-panel-horizontal:hover,
    .vjs-theme-city .vjs-volume-bar.vjs-slider-horizontal {
        width: 5em;
    }

    .vjs-theme-city .vjs-volume-level::before {
        font-size: 1em;
    }

    .vjs-theme-city .vjs-volume-panel {
        margin-left: 0.5em;
        margin-right: 0.5em;
        padding-top: 1.8em;
    }

    .vjs-button > .vjs-icon-placeholder:before {
        font-size: 3.4em;
        padding-top:0.15em
    }

    .vjs-icon-circle:before, .vjs-seek-to-live-control .vjs-icon-placeholder:before, .video-js .vjs-play-progress:before {

        font-size: 3rem;
    }

    .vjs-theme-city .vjs-progress-control .vjs-progress-holder {
        top: 19px;

    }

    .video-js .vjs-progress-holder {
        height: 0.5em;
    }


    .vjs-theme-city .vjs-remaining-time {
        line-height: 4.188rem;
        font-size: 2.3em;
    }

    /*MODIFICA STILE TASTI A TUTTO SCHERMO*/

    div.vjs-fullscreen > div.vjs-control-bar > button.vjs-play-control,
    div.vjs-fullscreen > div.vjs-control-bar > button.vjs-fullscreen-control {
        flex: 0.5;
        background-image: none;
    }


    div.vjs-fullscreen > div.vjs-control-bar > div.vjs-volume-panel {
        flex: 0.2;
    }

    .video-js .vjs-progress-control:hover .vjs-time-tooltip,
    .video-js .vjs-progress-control:hover .vjs-progress-holder:focus .vjs-time-tooltip {
        display: block;
        font-size: 1.8em;
        font-family: 'gothamhtf-book';
        visibility: visible;
    }

    .video-js .vjs-time-tooltip {
        top: -2.4em;

    }

}