
/******************** General ********************/

#results *
{
    font-style: normal;
    font-family: 'Open Sans', sans-serif;
    font-variant-numeric: tabular-nums;
    font-weight: 400;
    box-sizing:border-box;
}

#results *:focus
{
	outline: 0;
}

#results
{
	width:100%;
	height:100%;
    margin:0;
}

a
{
	text-decoration:none;
}

/******* Drop downs *****/

@media only screen and (max-width:767px)
{
    #grey_bar {
        height:35px;
        width:100%;
        background-color:#F7F7F7;
    }
}

@media only screen and (min-width:768px)
{
    #grey_bar {
        position:absolute;
        z-index:9000;
    }
}

#embed_settings {
    height:25px;
    width:140px;
    display:flex;
    justify-content: space-between;
    padding:5px;
    z-index:10000;
}

.embed_setting select {
    height: 25px;
    font-weight: bold;
    border-radius: 5px;
    font-size: 0.9em;
    background-color: #fafafa;
    color: #444;
    padding: 2px 6px 2px 6px;
    cursor: pointer;
    border: 1px solid #aaa;
}

/******************** my.raceresult.com ********************/
.RRPublish {
    font-size:1rem !important;
}

.RRPublish > div.SelectorParent > div.SelectorMenu > div > div:nth-child(1)
{
    background-color:#e3e3e3 !important;
    color: #000000  !important;
    font-size:0.8rem !important;
}

.RRPublish > div.SelectorParent > div.SelectorMenu > div > div:nth-child(2) > div {
    font-size:0.8rem !important;
}

#results table tr td, div.tablesorter-header-inner, table.divDetailsParent tr td
{
    font-family: 'Open Sans', sans-serif !important;
}



@media only screen and (min-width:700px)
{
    .RRPublish tr.Hover > td:last-child
    {
        min-width:16px;
        background-repeat:no-repeat;
        background-size:16px 16px;
        background-position:right center
    }
    
    .RRPublish tr.Hover td:last-child
    {
        background-image:url('https://racebase.pro/events/andorraepic/img/favorite.svg') !important;
        background-repeat:no-repeat !important;
    }
    
    .RRPublish tr.Hover:hover td:last-child
    {
        background-image:url('https://racebase.pro/events/andorraepic/img/favorite_hover.svg') !important;
        background-repeat:no-repeat !important;
    }

    .RRPublish tr.Favorite td:last-child
    {
        background-image:url('https://racebase.pro/events/andorraepic/img/favorite_marked.svg') !important;
        background-repeat:no-repeat !important;
    }

    .RRPublish tr.Favorite td:first-child
    {
        background-color:initial
    }

    .RRPublish tr.Favorite:hover td:last-child{
        background-image:url('https://racebase.pro/events/andorraepic/img/favorite_marked.svg') !important;
        background-repeat:no-repeat !important;
    }
}

table.divDetailsParent div.Favorite
{
    background-image:url('https://racebase.pro/events/andorraepic/img/favorite_marked.svg') !important;
    background-repeat:no-repeat !important;
}

table.divDetailsParent div.NoFavorite
{
    background-image:url('https://racebase.pro/events/andorraepic/img/favorite.svg') !important;
    background-repeat:no-repeat !important;
}

.RRPublish .Loading
{
    background-image:url('https://racebase.pro/events/andorraepic/img/loading.svg') !important;
    background-repeat:no-repeat !important;
}

.RRPublish div.ListControlSearch > input
{
    background-image:url('https://racebase.pro/events/andorraepic/img/search.svg') !important;
    background-size:12px !important;
    background-repeat:no-repeat;
    background-position:7px center;
}

.RRPublish > div.ListControl > div.ListControlSearch > input
{
    height:27px;
}

.RRPublish button
{
    background-color:#9B9B9B !important;
}

.RRPublish table:not(.hasBrokeCols) tr.Hover:not(.MultiLine) td:last-child {
    background-image:url('https://racebase.pro/events/andorraepic/img/favorite.svg') !important;
}

.RRPublish #rrp_btnFav
{
    background-image:url('https://racebase.pro/events/andorraepic/img/favorite.svg') !important;
    background-repeat:no-repeat !important;
    background-color: white !important;
}

.RRPublish #rrp_btnFav:hover
{
    background-image:url('https://racebase.pro/events/andorraepic/img/favorite_hover.svg') !important;
    background-repeat:no-repeat !important;
    background-color: white !important;
}

.RRPublish #rrp_btnFav.checked
{
    background-image:url('https://racebase.pro/events/andorraepic/img/favorite_marked.svg') !important;
    background-repeat:no-repeat !important;
    background-color: white !important;
}

.RRPublish tr.Hover:hover
{
    color: #ee4223 !important;
}

.RRPublish tr.Favorite td:first-child
{
    background-color:#0c1832 !important;
    background-image:none !important;
    background-repeat:no-repeat !important;
}

.RRPublish button.btnFavorites {
    background-image:url('https://racebase.pro/events/andorraepic/img/favorite_hover.svg') !important;
    background-color: white !important;
    background-repeat:no-repeat !important;
}

.RRPublish button.btnFavorites.checked {
    background-image:url('https://racebase.pro/events/andorraepic/img/favorite_marked.svg') !important;
    background-repeat:no-repeat !important;
    background-color: white !important;
}

/******* Re-ordering drop down menus *******/

.SelectorParent .Selector {
    display:flex;
    align-items:flex-end;
}

.SelectorParent .Selector div:nth-child(1) {
    order: -1;
}

.SelectorParent .Selector div:nth-child(2) {
    order: 5;
}

.SelectorParent .Selector div:nth-child(3) {
    order: 2;
}

.SelectorParent .Selector div:nth-child(3) {
    order: 2;
}

.SelectorMenu { 
    display: flex; 
    flex-direction: column; 
    } 
      
    .SelectorMenu div:nth-child(2) { 
    order: 3; 
    } 

/* List headers & footers */

#list_header_info * {
    font-family: 'Montserrat', 'Open Sans', sans-serif;
    font-weight: 600;
}

/* Show all participants button */

.RRPublish a.aShowAll {
    font-style:normal !important;
    background-color:#0c1832 !important;
    color:white !important;
    padding:5px !important;
    border-radius:5px !important;
    font-size:0.6rem !important;
    line-height:1rem !important;
}

/* Placing search bar on top */

#divRRPublish {
    display:flex;
    flex-direction:column;
}

div.ListControl {
    order: -1;
}

/* Live Update */
div.RRLiveUpdate {
    background-image: url('https://racebase.pro/events/andorraepic/img/liveUpdate.svg') !important;
}

@media only screen and (min-width:767px)
{
    div.RRLiveUpdate, div.ListControlPDF {
        margin-left:140px;
    }
}

/* Old results */

#old_results {
    margin-top:50px;
    width:100%;
    padding-bottom:30%;
    display:flex;
    align-items: center;
    justify-content: center;
    background-image:url('https://timit.ch/css/swissepic/img/old_results.jpg');
    background-repeat:no-repeat;
    background-size:cover;
    background-position:center;

}

#old_results a {
    background-color:#E91C24;
    border:1px solid white;
    margin-top:100px;
    width:250px;
    height:40px;
    display:flex;
    justify-content: center;
    align-items: center;
    color:white;
    font-size:13px;
    color:white;
}