﻿/*Gestione TabControll e TabPage (TabButton-TabePress)*/

.TabControl {
    display: block;
    margin-top: 28px;
    margin-bottom: 0px;
    padding-top: 0px;
    padding-left: 1px;
    padding-bottom: 5px;
    padding-right: 1px;
    border-top-width: 1px;
    border-top-color: rgba(128, 128, 128, 0.2);
    border-top-style: inset;
    border-left-width: 1px;
    border-left-color: rgba(128, 128, 128, 0.4);
    border-left-style: inset;
    border-bottom-width: 2px;
    border-bottom-color: rgba(128, 128, 128, 0.5);
    border-bottom-style: inset;
    border-right-width: 2px;
    border-right-color: rgba(128, 128, 128, 0.5);
    border-right-style: inset;
    min-height: 250px;
    margin-left: 15%;
    margin-right: 15%;
    background-color: transparent;
    cursor: default;
}

.TabButton {
    float: left;
    display: block;
    padding-left: 3px;
    min-width: 100px;
    margin-bottom: 3px;
    padding-left: 30px;
    border: 1px solid lightgray;
    background-color: lightgray;
    text-align: left;
    color: rgba(0, 0, 0, 0.5);
    cursor: default;
}

    .TabButton:hover {
        border-radius: 4px;
        border: 1px solid white;
        background-color: #FFBF00;
        font-weight: 600;
        color: darkblue;
        cursor: pointer;
    }

.TabPressed {
    float: left;
    display: block;
    margin-right: 4px;
    padding-left: 4px;
    min-width: 100px;
    margin-bottom: 3px;
    border: 1px solid gray;
    box-shadow: gray 2px 2px 4px;
    font-weight: bold;
    text-align: left;
    background-color: white;
    cursor: default;
}
.ImageTabButton {
    float: left;
    width: 24px;
    margin-left: 5px;
    margin-right: 5px;
}


.lockedbody {
    position: absolute;
    background-image: url(/Images/locked-32.png);
    opacity: 0.5;
    cursor: not-allowed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.winpopup {
    display: none;
    position: absolute;
    box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.5);
    border-style: solid;
    border-color: #5B5B5B;
    border-width: 1px;
    border-radius: 8px;
    background-color: white;
    min-width:280px;
    min-height:280px;
}

.scroll {
    overflow: auto;
    resize: both;
}

 .winpopup-Caption {
        width: 100%;
        min-height: 26px;
        padding-left: 10px;
        background-color: rgb(71, 135, 182);
        background-image: url(/Images/Caption.png);
        background-size: 24px 24px;
        background-position: 2px center;
        background-repeat: no-repeat;
        padding-left: 30px;
        color: white;
        font-weight: bold;
        cursor: move;
        opacity: 0.7;
        z-index: 999999;
    }
.winpopup-Caption-imgX {
    padding-right: 2px;
    padding-left: 2px;
    margin-right: 3px;
    margin-top: 0px;
    margin-bottom: 0px;
    height: 100%;
    float: right;
    cursor: pointer;
}
    .winpopup-Caption-imgX:hover{
        background-color:red;
    }
.winpopup-Caption-img {
    padding-right: 2px;
    padding-left: 2px;
    margin-right: 3px;
    margin-top: 0px;
    margin-bottom:0px;
    height: 100%;
    float: right;
    cursor: pointer;
}

    .winpopup-Caption-img:hover {
        background-color: lightgray;
    }
    .winpopup-Container {
        padding-top: 28px;
        width: 100%;
        height: 100%;
        border-style:none;
        background-color: transparent;
        font-weight: normal;
    }

.show {
    display: block;
}


@media (max-width: 1500px) {
}

@media (max-width: 1300px) {
}

@media (max-width: 992px) {
}

@media (max-width: 768px) {
}