﻿body {
    font-family: Tahoma;
    font-size: 0.75em;
    position: relative;
}

.container {
    width: 70%;
    min-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    border: 2px solid black;
    padding: 10px;
}

.containerimg {
    width: 70%;
    min-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.headerimg {
    width: 100%;
}

.container2 {
    width: 70%;
    min-width: 1000px;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    border: 2px solid black;
    background-color: #303030;
    padding: 10px;
}

.container3 {
    width: 70%;
    min-width: 1000px;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    border: 2px solid black;
    text-align: center;
    font-weight: bold;
    font-size: larger;
    background-color: orange;
    padding: 4px;
}

.container4 {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 2px solid #1C5E55;
    text-align: center;
    font-weight: bold;
    font-size: larger;
    background-color: #E3EAEB;
    padding: 10px;
}
.container5 {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-weight: bold;
    font-size: larger;
    padding: 10px;
}
.TableRiepilogo {
    width: 100%;
    background-color:black;
}

.cellatitolopista {
    width: 40%;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
}

.cellatitoloevento {
    width: 40%;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
}

.cellatitolorun {
    width: 40%;
    text-align: center;
    font-size: 1em;
    font-weight: bold;
}
.cellatitolorundx {
    width: 40%;
    padding-left: 15px;
    text-align: left;
    font-size: 1em;
    font-weight: bold;
}
.cellatitolorunsx {
    width: 40%;
    padding-right: 15px;
    text-align: right;
    font-size: 1em;
    font-weight: bold;
}

.cellaticker {
    width: 50%;
    text-align: center;
}

.cellaimmaginesx {
    width: 30%;
    text-align: center;
}

.cellaimmaginedx {
    width: 30%;
    text-align: center;
    vertical-align: middle;
}

.immaginelogosx {
    width: 131px;
    height: 53px;
}

.immaginelogodx {
    width: 131px;
    height: 53px;
}

.back_verde {
    /*background-color: lightgreen;
    color: black;*/
}

.immaginebandiera img {
    padding: 2px;
    border: 2px hidden;
    border-color: red;
    border-top-left-radius: 3ex;
    border-top-right-radius: 3ex;
    border-bottom-left-radius: 3ex;
    border-bottom-right-radius: 3ex;
    width: 64px;
    height: 64px;
}

.round-top {
    color: black;
    padding: 2px;
    border: 2px solid #212121;
    border-bottom: none;
    border-top-left-radius: 3ex;
    border-top-right-radius: 3ex;
}

.round-bottom {
    background: #a39999;
    color: black;
    padding: 2px;
    border: 2px solid #212121;
    border-top: 1px solid gray;
    border-bottom-left-radius: 3ex;
    border-bottom-right-radius: 3ex;
    height: 37px;
}

.red-bg {
    background-color: #f1592a;
}

.green-bg {
    background: #afb;
}

.tableticker {
    width: 100%;
    font-size: 1.1em;
    font-weight: bold;
    margin: auto;
}

.Riga2TickerSx {
    text-align: left;
}

.Riga2TickerDx {
    text-align: right;
    margin-left: 5px;
}

.CellaBandiera {
    text-align: right;
    vertical-align: bottom;
}

.modalBackground {
    background-color: Gray;
    filter: alpha(opacity=70);
    opacity: 0.7;
    z-index: 5000;
}

#programmaticModalPopupBehavior_foregroundElement {
    z-index: 5001;
}

.modalPopup {
    background-color: #E6E7E8;
    border-width: 3px;
    border-style: solid;
    border-color: Gray;
    padding: 3px;
    overflow: auto;
    height: 600px;
    z-index: 5001;
}

.modalPopupTimetable {
    background-color: #E6E7E8;
    border-width: 3px;
    border-style: solid;
    border-color: Gray;
    padding: 3px;
    z-index: 5001;
}

.fblink a:link {
    color: #fff;
}
.fblink a:visited {
    color: #fff;
}
.fblink a:hover {
    color: #fff;
}
.fblink a:active {
    color: #fff;
}
.fblink2 a:link {
    color: black;
}

.fblink2 a:visited {
    color: black;
}

.fblink2 a:hover {
    color: black;
}

.fblink2 a:active {
    color: black;
}
.linksemplice a:link {
    color: white;
    text-decoration: none;
}

/* visited link */
.linksemplice a:visited {
    color: white;
    text-decoration: none;
}

/* mouse over link */
.linksemplice a:hover {
    color: white;
    text-decoration: none;
}

/* selected link */
.linksemplice a:active {
    color: white;
    text-decoration: none;
}

.linksemplicedestra {
    width: 100%;
}
.linksemplicedestra a:link {
    text-align: right;
    color: white;
    text-decoration: none;
}

/* visited link */
.linksemplicedestra a:visited {
    text-align: right;
    color: white;
    text-decoration: none;
}

/* mouse over link */
.linksemplicedestra a:hover {
    text-align: right;
    color: white;
    text-decoration: none;
}

/* selected link */
.linksemplicedestra a:active {
    text-align: right;
    color: white;
    text-decoration: none;
}
.pulsantechiudi {
    -moz-box-shadow: inset 0 1px 0 0 #f5978e;
    -webkit-box-shadow: inset 0 1px 0 0 #f5978e;
    box-shadow: inset 0 1px 0 0 #f5978e;
    background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #f24537), color-stop(1, #c62d1f) );
    background: -webkit-linear-gradient(top, #f24537 0%,#c62d1f 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #f24537 0%,#c62d1f 100%); /* Opera 11 */
    background: -moz-linear-gradient( center top, #f24537 5%, #c62d1f 100% );
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f24537', endColorstr='#c62d1f');
    background-color: #f24537;
    -webkit-border-top-left-radius: 10px;
    -moz-border-radius-topleft: 10px;
    border-top-left-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    -moz-border-radius-topright: 10px;
    border-top-right-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
    -moz-border-radius-bottomright: 10px;
    border-bottom-right-radius: 10px;
    -webkit-border-bottom-left-radius: 10px;
    -moz-border-radius-bottomleft: 10px;
    border-bottom-left-radius: 10px;
    text-indent: 0;
    border: 1px solid #d02718;
    display: inline-block;
    color: #ffffff;
    font-family: Comic Sans MS;
    font-size: 16px;
    font-weight: bold;
    font-style: normal;
    height: 20px;
    line-height: 20px;
    width: 20px;
    text-decoration: none;
    text-align: center;
    text-shadow: 1px 1px 0 #810e05;
}

    .pulsantechiudi:hover {
        background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #c62d1f), color-stop(1, #f24537) );
        background: -moz-linear-gradient( center top, #c62d1f 5%, #f24537 100% );
        background: -webkit-linear-gradient(top, #c62d1f 5%,#f24537 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top, #c62d1f 5%,#f24537 100%); /* Opera 11 */
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#c62d1f', endColorstr='#f24537');
        background-color: #c62d1f;
    }

    .pulsantechiudi:active {
        position: relative;
        top: 1px;
    }

.progress {
    text-align: center;
    vertical-align: middle;
    position: absolute;
    left: 44%;
    top: 35%;
    border-style: outset;
    border-color: silver;
    background-color: Silver;
    white-space: nowrap;
    padding: 5px;
}

.PopupUI {
    width: 300px;
    border: 1px solid black;
    display: none;
    position: absolute;
    z-index: 5001;
}

#PopupUIOverlay {
    position: absolute;
    display: none;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    background-color: #aaa;
    opacity: .70;
    filter: alpha(opacity=70);
    z-index: 5000;
}


#liveTable table {
    border-collapse: collapse;
    width: 100%;
}

    #liveTable table th, #liveTable table td {
        padding: 2px 6px;
    }

/*#liveTable table td {
        text-align: right;
    }*/

#liveTable .loading td {
    text-align: center;
}

.cc {
    text-align: center;
        height: 25px;
}

.cd {
    text-align: right;
        height: 25px;
}

.rp {
    background-color: #303030;
}

.rd {
    background-color: black;
}

.ru {
    background-color: yellow;
    color: black;
}

.rpiu {
    background-color: green;
}

.rmeno {
    background-color: red;
}
/*overlay timetable*/
.cancel {
    display: block;
    position: absolute;
    top: 3px;
    right: 2px;
    background: rgb(245,245,245);
    color: black;
    height: 30px;
    width: 35px;
    font-size: 30px;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
}

#timeTable {
    display: none;
    height: 690px;
    width: 500px;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -250px;
    margin-left: -200px;
    background-color: #f1c40f;
    border-radius: 5px;
    text-align: center;
    z-index: 11;
}

    #timeTable:target, #timeTable:target + #cover {
        display: block;
        opacity: 2;
    }

#cover {
    position: fixed;
    top: 0;
    left: 0;
    background: #000;
    background: rgba(0,0,0,0.6);
    z-index: 10;
    width: 100%;
    height: 100%;
    display: none;
}


#mrw_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    background: rgba(0,0,0,0.6);
    z-index: 10;
    display: none;
}

#mrw_box {
    z-index: 99;
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    margin-left: -304px;
    margin-top: -404px;
    background-color: #f1c40f;
    width: 600px;
    height: 800px;
    border: solid 4px #000000;
}

    #mrw_box:target, #mrw_box:target + #mrw_overlay {
        display: block;
        opacity: 2;
    }

#mrw_close {
    position: absolute;
    top: -15px;
    left: 585px;
    cursor: pointer;
}

.groupingCssClass{
    text-align: center;
    background-color: lightblue;
}

