* {
    box-sizing: border-box;
}

/*CSS Hassan*/
html, body {
    display: flex;
    width: 100%;
    height: 100%;
    font-family: 'nunito', sans-serif;
    background-color: white;
    font-size: 13px;
    color: #273480;
    overflow-x: hidden;
    overflow-y: hidden;
    overflow: auto;
    margin: 0px;
    padding-bottom: 40px;
}

.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.row-logo {
    padding: 5px 0px 5px 0px !important;
}

.site-logo {
    height: 75px;
}

#form1 {
    width: 100%;
    height: 100%;
}

.titolo-posizioni {
    margin-left: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #002F87;
}

    .titolo-posizioni[mainpage="false"] {
        margin-left: 20px;
    }

.MyTextBox::placeholder {
    color: red;
    font-style: italic;
}

.titolo-cerca {
    margin: 8px;
    color: #273480;
}

.custom-container-table {
    overflow: auto;
    height: 85%;
}

table {
    border-spacing: 0px;
    position: relative;
    height: 100px !important;
}

    table th {
        text-align: left;
        position: sticky !important;
        top: 0px !important;
        z-index: 999;
        background: #002F87;
        color: #fff;
        font-size: 19px;
        border-bottom: 2px solid grey;
        border-style: solid;
        border-width: 5px;
        border-color: #BCBCBC;
        word-wrap: break-word;
    }

    table td {
        border-style: solid;
        border-width: 5px;
        border-color: #BCBCBC;
        word-wrap: break-word;
    }

th:first-child {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    z-index: 2;
}

.row {
    margin: 0 !important;
}

.container-fluid {
    padding: 15px !important;
    padding-top: 0px !important;
}

.custom-table {
    height: 100%;
    border-bottom: 2px solid grey;
    border-spacing: 0;
    font-family: "nunito";
}

.headRiga {
    background: #29368b;
    color: #fff;
    font-size: 19px;
    border-bottom: 2px solid grey;
}

.riga {
    font-size: 17px;
}

    .riga:hover {
        background-color: #ccc;
    }

.firstColumn {
    padding-left: 55px !important;
}

.headCell {
    font-weight: normal;
}

.headCell-candidati {
    width: 90px;
    font-weight: normal;
}

.cell {
    font-size: 16px;
    height: 16px;
    text-align: left;
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
    border-left: 1px solid #fff;
    border-top: 0px;
}

.bodyCell {
    color: #707070;
    font-weight: 400;
    padding: 6px 12px !important;
    text-decoration: unset;
    height: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    width: auto;
}

.bodyCellBig {
    color: #707070;
    font-weight: 400;
    padding: 6px 12px !important;
    text-decoration: unset;
    height: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    /*display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;*/
    width: auto;
}

.buttonBodyCell {
    color: #707070;
    font-weight: 400;
    padding: 6px 12px !important;
    text-decoration: unset;
    height: 50px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.btnCandidati {
    background-image: url(../images/btn_candida.png);
    background-repeat: no-repeat;
    width: 30px;
    height: 30px;
    background-size: 30px;
    display: inline-block;
}

.grey {
    background-color: #f2f5fa;
}

.pagination {
    display: flex;
    justify-content: center;
    text-align: center;
}

.notVisible {
    visibility: hidden;
}

.pageLink {
    width: auto;
    height: auto;
    background-color: transparent;
    border: 1px solid #000;
    color: #000;
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.42857143;
    margin: 5px 4px;
    padding: 3px 9px;
    text-decoration: none;
}

    .pageLink:hover {
        background-color: #fff;
        color: #000;
        text-decoration: none;
    }

.space {
    border: 0 solid #000;
    margin: 5px;
    width: auto;
}

.white, .currentpage {
    background-color: #fff;
}

.currentpage {
    color: green;
}

.first, .last {
    width: auto !important;
}

.firstImg {
    content: url('../Images/first.png');
    height: 24px;
}

.lastImg {
    content: url('../Images/last.png');
    height: 24px;
}

.backImg {
    content: url('../Images/back.png');
    height: 22px;
}

.nextImg {
    content: url('../Images/next.png');
    height: 22px;
}

.message {
    margin: 45px;
}

.fa-input {
    font-family: FontAwesome, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

#FilterPanel {
    display: flex;
    align-items: center;
}

#TxtFilter {
    margin: 0 5px 0 5px;
}

#divFilterPanel {
    margin: 8px;
}

.alertPage {
    display: flex;
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    opacity: 0.9;
    box-shadow: inset 0 0 0 2000px #d5d9ee;
}

.alert {
    width: auto;
    min-width: 350px;
    height: auto;
    padding: 20px;
    border: 1px solid #000;
    background-color: #fff;
    color: #333;
    margin: 100px auto;
    vertical-align: middle;
    align-self: center;
}

.alertTetx, .alertText {
    font-weight: bold;
}

.closebtn {
    cursor: pointer;
    transition: 0.3s;
    float: right;
    background-color: #28358a;
    color: #fff;
}

    .closebtn:hover {
        color: #fff;
    }

.copyrightTxtDiv {
    padding: 10px;
    color: #a7b1c2;
    font-size: 13px;
    background: #002F87;
}

.footer {
    background: none repeat scroll 0 0 #29368b;
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    margin-top: 5%;
    width: 100%;
}
