﻿@media print {
    .noprint {
        visibility: hidden;
        display:none;
    }
    .pagebreak {
        page-break-before: always;
    }
} 

@media only screen {
    .novideo {
        visibility: hidden;
        display:none;
    }
}



html, body {
    height: 100%;
}

.newtBody {

}

.newtcontent {
    flex:1;
}

.wrap {
    min-height: 100%;
}
.main {
    /*overflow: auto;*/
    padding-bottom: 150px;  /*this needs to be bigger than footer height*/
}
.footer {
    position: relative;
    bottom:0;
    margin-top: -150px;  /*negative value of footer height */
    min-height: 150px;
    clear: both;
    padding: 20px;
}

/*********** BOTTONI SHOW-HIDE **************/
/* una classe per il bottone, una per il div*/
/* nel file .js l'evento che assegna alla classe bottone il "toggle" per il div*/
.btnHideShow {
}
.divHideShow {
    display: none;
}
.btnHideCalendar {
}
.divHideCalendar {
    display: none;
}
.btnHideSearch {
}
.divHideSearch {
    display: none;
}

/**********************************************************************/
.mceEditor{

}
.imgLogo {
    max-width: 1000px;
}
.imgLogoMobile {
    max-width: 200px;
}
.containerTab {
    padding-top: 20px;
    border-style: solid;
    border-color: lightgray;
    border-top-width: 0px;
    border-left-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
}
.heightMargin {
    margin-top: 80px;
}


/*************ASP.NET PAGER ************/
tr.pager td table td {
    margin: 2px;
    width: 10px;
    padding: 5px 15px 5px 15px;
    background-color: #FBFBFB;
    color:black;
    text-align: center;
    border: solid 1px #CACACA;
}

tr.pager td a {
    color: gray;
    font-weight: bold;
}

.pageMenuPanel {
    padding: 12px 12px 12px 12px;
}


/* ---------------------------------------- */
/* DIV LINK */
/* ---------------------------------------- */
.divlink {
    background-color: transparent;
}

.divlink:hover {
    background-color: #eeeeee;
    text-decoration: none;
}

a.linkTable {
    color: orange !important;
    text-decoration: none;
}

a.linkTable:hover {
    color: orange !important;
    text-decoration: none;
}


/* ----------------------------------------------*/
/* USATI DA KMS */
/* ----------------------------------------------*/
.whitespacenormal{
    white-space:normal;
}
div.scroll60vh {
    width: 98%;
    height: 68vh;
    padding: 4px;
    overflow-y: auto;
    overflow-x: hidden;
}
div.scroll50vh {
    width: 100%;
    height: 300px;
    padding: 4px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* ----------------------------------------------*/
/* ONMOUSEOVER */
/* ----------------------------------------------*/
.onMouseBorder {
    border-width: 1px;
    border-color: transparent;
}
    .onMouseBorder:hover {
        border-width: 1px;
        border-color: silver;
    }


/* ----------------------------------------------*/
/* SCROLLING NEWS */
/* ----------------------------------------------*/
.noListStyle {
    padding: 0;
    margin: 0;
    list-style: none;
}

/*.next, .prev{
	cursor:pointer;
}*/

#NEWSscreen {
    position: relative;
    /*height:425px;
	width:725px;*/
    margin-top: 40px;
}

    #NEWSscreen .next, #NEWSscreen .prev {
        position: absolute;
        top: 100px;
    }

    #NEWSscreen .prev {
        left: 10px;
    }

    #NEWSscreen .next {
        right: 10px;
    }

#NEWSsections {
    overflow: hidden;
    background-color: white;
    /*width:600px;
	height:369px;*/
    clear: left;
    margin-left: 12px;
}

    #NEWSsections ul {
        width: 5660px;
    }

    #NEWSsections li {
        float: left;
        padding: 11px 30px;
    }

        #NEWSsections li.fallen {
            margin-top: 369px;
        }

    #NEWSsections p {
        width: 550px;
        margin: 16px 0;
        font-size: 85%;
        line-height: 1.4em;
    }

    #NEWSsections h2 {
        color: #993333;
        margin: 20px 0pt;
    }

    #NEWSsections a {
        color: #777;
        font-weight: bolder;
        text-decoration: none;
    }


/* IFRAME */
iframe {
    border:none;
}

iframe.ifAidepi {
    border: 0px;
    height: 400px;
    width: 100%;
}

/* CHECK BOX*/

label {
    display: inline;
}

.regular-checkbox {
    display: none;
}

    .regular-checkbox + label {
        background-color: #fafafa;
        border: 1px solid #cacece;
        box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05);
        padding: 9px;
        border-radius: 3px;
        display: inline-block;
        position: relative;
    }

        .regular-checkbox + label:active, .regular-checkbox:checked + label:active {
            box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px 1px 3px rgba(0,0,0,0.1);
        }

    .regular-checkbox:checked + label {
        background-color: #e9ecee;
        border: 1px solid #adb8c0;
        box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05), inset 15px 10px -12px rgba(255,255,255,0.1);
        color: #99a1a7;
    }

        .regular-checkbox:checked + label:after {
            content: '\2714';
            font-size: 14px;
            position: absolute;
            top: 0px;
            left: 3px;
            color: #99a1a7;
        }


.big-checkbox + label {
    padding: 18px;
}

.big-checkbox:checked + label:after {
    font-size: 28px;
    left: 6px;
}

a.linkBlackNo {
    color: black;
    text-decoration: none;
}

    a.linkBlackNo:hover {
        color: #393939;
        text-decoration: none;
    }


a.linkBlack {
    color: black;
    text-decoration: from-font;
}

    a.linkBlack:hover {
        color: black;
        text-decoration: underline;
    }

a.linkWhite {
    color: white;
    text-decoration: from-font;
}

    a.linkWhite:hover {
        color: white;
        text-decoration: underline;
    }

a.linkWhiteNo {
    color: white;
    text-decoration: none;
}

    a.linkWhiteNo:hover {
        color: white;
        text-decoration: none;
    }


a.linkNoDecoration {
    text-decoration: from-font;
}

    a.linkNoDecoration:hover {
        text-decoration: from-font;
    }



.parallax {
    /* The image used 
    background-image: url("/public/NEWTCMS/documents/26774_the_lord_of_the_rings2017731456121551266.jpg");
    */
    /* Set a specific height 
    min-height: 500px;
    */
    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.zoom {
    transition: transform .2s; /* Animation */
    margin: 0 auto;
}

    .zoom:hover {
        transform: scale(1.1); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
        z-index: 1000;
    }

.zoom1 {
    transition: transform .2s; /* Animation */
    margin: 0 auto;
}

    .zoom1:hover {
        transform: scale(1.05); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
        z-index: 1000;
    }

.zoom2 {
    transition: transform .2s; /* Animation */
    margin: 0 auto;
}

    .zoom2:hover {
        transform: scale(1.5); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
        z-index: 1000;
    }

.font-responsive-14 {
    font-size: 1.4em;
}

.font-responsive-3 {
    font-size: 3em;
}

.carousel-control-next-icon-dark {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ff0000' viewBox='0 0 8 8'%3E%3Cpath d='M1.5 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E") color: black;
}

.carousel-control-prev-icon-dark {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E") color: black;
}

.zoom-effect {
    transition: transform 6s ease;
}

.carousel-item.active .zoom-effect {
    transform: scale(1.1);
}


/******************* BACK TO TOP *************************/
.back-to-top {
    cursor: pointer;
    position: fixed;
    bottom: 38px;
    right: 20px;
    display: none;
}

/******************* EDIT PAGE *************************/
.editpage-top {
    cursor: pointer;
    position: fixed;
    top: 5px;
    right: 5px;
    z-index: 90000;
}

/******************IMMAGINE ADATTABILI ******************/
.imgAdapt230x90 {
    display: block;
    max-width: 230px;
    max-height: 90px;
    width: auto;
    height: auto;
}

.imgAdapt200x200 {
    display: block;
    max-width: 200px;
    max-height: 200px;
    width: auto;
    height: auto;
}

.imgCrop180x180 {
    object-fit: cover;
    width: 185px;
    height: 185px;
}

.imgAdapt500x500 {
    max-width: 500px;
    max-height: 500px;
    -o-object-fit: contain;
}

.imgAdapt60x60 {
    display: block;
    max-width: 60px;
    max-height: 60px;
    width: auto;
    height: auto;
}

.imgAdapt70x70 {
    display: block;
    max-width: 70px;
    max-height: 70px;
    width: auto;
    height: auto;
}

.imgAdapt600x600 {
    display: block;
    max-width: 600px;
    max-height: 600px;
    width: auto;
    height: auto;
}

.divImgStretch500x500 {
    height: 500px;
    width: 500px;
    overflow: hidden;
}


/* IMMAGINI CROPPATE IN CONTENITORI RESPONSIVE */
/*
    Esempio HTML
    <div class="rect-img-container">
      <img class="rect-img" src="...." alt="">
    </div>

*/


.rect-img-container {
    position: relative;
}
.rect-img-container-lungo {
    position: relative;
    height: 100%;
}

    .rect-img-container::after {
        content: "";
        display: block;
        padding-bottom: 100%;
    }

.rect-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.smaller {
    font-size: 8pt;
}

/****   Usare questo stile per creare immagini centrate e tagliate con le stesse dimensioni      ****/
/****   Ricordarsi di impostare larghezza e altezza dell'immagine, e questa verrà ridimensionata, tagliata e centrata!      ****/
.centered-and-cropped {
    object-fit: cover
}


[type=radio]:checked + img {
     outline: 2px  #f00;
}


/* *** NOTIFICATION BUTTON ****/
.notification {
    background-color: transparent;
    text-decoration: none;
    padding: 5px 5px;
    position: relative;
    display: inline-block;
    border-radius: 2px;
    transition: transform .1s; /* Animation */
}

    .notification .badge {
        position: absolute;
        top: -10px;
        right: -10px;
        padding: 5px 10px;
        border-radius: 50%;
        background: red;
        color: white;
    }



.carousel-content {
    position: absolute;
    top: 20%;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    z-index: 20;
    color: white;
    text-shadow: 0 2px 2px rgba(0,0,0,.6);
}



/***************** FILE UPLOAD */
.fileUpload {
    position: relative;
    overflow: hidden;
    margin: 0px;
}

    .fileUpload input.upload {
        position: absolute;
        top: 0;
        right: 0;
        margin: 0;
        padding: 0;
        font-size: 1px;
        cursor: pointer;
        opacity: 0;
        filter: alpha(opacity=0);
    }


p {
    line-height: 150%;
}


/* STILE PER SCRIVERE SOPRA UN'IMMAGINE 
   - si scrive un div di classe containerimg
    - dentro il div si mette l'immagine
    - dopo l'immagine si scrive un div di classe topleftimg, bottomrightimg ecc.. col contenuto che starà dentro l'immagine

*/

.containerimg {
    position: relative;
    text-align: center;
    color: white;
}

.topleftimg {
    position: absolute;
    top: 8px;
    left: 16px;
}

.bottomrightimg {
    position: absolute;
    bottom: 8px;
    right: 16px;
}



.bottomleft {
    position: absolute;
    bottom: 0%;
    left: 0%;
    transform: translate(0%, 0%);
}
.bottomright {
    position: absolute;
    bottom: 0%;
    right: 0%;
    transform: translate(0%, 0%);
}
.topleft {
    position: absolute;
    top: 0%;
    left: 0%;
    transform: translate(0%, 0%);
}

/* STILE PER HR SOTTILI E COLORATE */
hr.hrThinRed {
    border-top: 1px solid red;
}

/* DIV ON TOP */
.divTop {
    top:0;
    position:fixed;
}


/* CLASSI ARROTONDATE */
.rounded-xl {
    border-radius: 1.9rem;
}

.rounded-gl {
    border-radius: 1.3rem;
}

/* RISCRITTURA BOOTSTRAP */
.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #eee;
    outline: 0;
    box-shadow: 0 0 0 0
}


.blink_me {
    animation-name: blinker;
    animation-duration: 1s;
    animation-iteration-count:3;
}

@keyframes blinker {
    50% {
        opacity: 0;
        transform: scale(1.1);
    }
}


/* RESPONSIVE YOUTUBE DIV CONTAINER*/
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* Aspect ratio: 16:9 */
    height: 0;
    overflow: hidden;
}

    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

/* BOOTSTRAP-LIKE CLASSES*/
.bg-admin-toolbar {
    --bs-bg-opacity: 1;
    background-color: #343a40;
    color: white;
}

.bg-admin-toolbar {
    background-color: black;
}

/* NEW CHECK BOX WITH SWITCH */
/* Container */
.cbSwitch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

    /* Hide the native checkbox */
    .cbSwitch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

/* Slider background */
.cbSlider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: darkred;
    transition: 0.3s;
    border-radius: 26px;
}

    /* Circle */
    .cbSlider::before {
        position: absolute;
        content: "";
        height: 22px;
        width: 22px;
        left: 2px;
        bottom: 2px;
        background-color: white;
        transition: 0.3s;
        border-radius: 50%;
    }

/* Checked state */
.cbSwitch input:checked + .cbSlider {
    background-color: #4caf50;
    /*
    border-width:1px;
    border-color:white;
    border-style:solid;
    */
}

    .cbSwitch input:checked + .cbSlider::before {
        transform: translateX(24px);
    }



/******************************************************/
/** IMAGE CONTAINER PER TESTI CENTRATI NELLE IMMAGINI**/
/******************************************************/
.img-container {
    position: relative;
    display: inline-block; /* keeps the container tight around the image */
}

.centered-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: black; /* text color */
    font-size: 20px; /* adjust as needed */
    font-weight: bold;
    text-shadow: 0 0 3px gray; /* optional for readability */
}



/******************************************************/
/** CHECKBOX E RADIOBUTTON PER QUIZ                  **/
/******************************************************/

/* Remove the default checkbox appearance */
.big-check {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 32px;
    height: 32px;
    border: 3px solid #888;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 22px;
    font-weight: bold;
    transition: all 0.2s ease;
}

    /* Unchecked → red X */
    .big-check::before {
        content: "✖";
        color: #888;
    }

    /* Checked → green flag/checkmark */
    .big-check:checked {
        border-color: green;
    }

        .big-check:checked::before {
            content: "✔"; /* or "⚑" for a flag */
            color: green;
        }

/* Remove native radio appearance */
.big-radio {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 32px;
    height: 32px;
    border: 3px solid #888; /* gray circle border */
    border-radius: 50%; /* make it round */
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.2s ease;
}

    /* Unchecked → red X */
    .big-radio::before {
        content: "✖";
        color: #888;
    }

    /* Checked → green dot/flag/checkmark */
    .big-radio:checked {
        border-color: green;
    }

        .big-radio:checked::before {
            content: "✔"; /* or "⚑" for a flag, or "●" for a dot */
            color: green;
        }


.text-kbgold {
    --tw-text-opacity: 1;
    color: rgb(191 145 5 / var(--tw-text-opacity, 1));
}