﻿.stop-scrolling {
    height: 100%;
    overflow: hidden;
}

.is-disabled {
    opacity: .5;
    pointer-events: none;
}

.spin {
     position: relative!important; 
     margin: 0px!important;  
}

.spin > div {
    background-color: rgb(2, 184, 250)!important;
}

.divider {
    height: 27px;
    line-height: 27px;
    padding: 10px 0;
    text-align: center;
    position: relative;
}

    .divider .divider-line {
        background-color: rgb(103, 114, 128);
        height: 1.5px;
        margin-top: 15px;
        position: absolute;
        width: 100%;
        z-index: 1;
    }

    .divider .divider-text {
        color: rgb(103, 114, 128);;
        background-color: white;
        font-size: 16px;
        padding: 0 10px;
        display: inline-block;
        position: relative;
        z-index: 2;
    }

.dividerOnly {
    height: 2px;
    line-height: 2px;
    position: relative;
}

    .dividerOnly .divider-line {
        background-color: rgb(103, 114, 128);
        height: 1.5px;
        position: absolute;
        width: 100%;
        z-index: 1;
    }

#oaerror {
    padding: 50px 0;
    font-size: 16px;
    background-color: white;
    color: rgb(103, 114, 128);
    text-align: center;
}
    
#oactivity {
    width: 100%;
    text-align: center;
    background-color: white;
    color: rgb(103, 114, 128);
}

    #oactivity a {
        color: rgb(103, 114, 128);
    }

    #oactivity #ariane {
        text-align: left;
        font-size: 12px;
        padding-left: 10px;
        padding-top: 5px;
    }

    #oactivity #ariane a:hover {
        text-decoration:underline;
    }
    
    #oactivity #daysContainer {
        text-align: center;
    }

    #oactivity #daysContainer > div {
        display: inline-block;
        min-width: 80px;
        height: 80px;
        overflow-y: hidden;
        text-align: center;
        vertical-align: middle;
        line-height: 80px;
        border: 2px solid rgb(67, 206, 235);
        border-radius: 50%;
        margin: 5px 10px 20px 10px;
        font-weight: bold;
        font-size: 18px;
        -webkit-transition: all 0.2s ease-out;
        transition: all 0.2s ease-out;
    }

    #oactivity #daysContainer > div:hover {
        cursor: pointer;
        color: white;
        background-color: rgb(67, 206, 235);
        border: 2px solid rgb(67, 206, 235);
        -webkit-transition: all 0.2s ease-out; 
        transition: all 0.2s ease-out;
    }

    #oactivity #daysContainer > div.active {
        cursor: default;
        color: white;
        background-color: rgb(67, 206, 235);
        border: 2px solid rgb(67, 206, 235);
        pointer-events: none;
    }

    #oactivity #oaloading {
        padding-bottom: 20px;
    }

    #oactivity .statsInfo {
        margin: 17px 14px;
    }

    .statsInfo {
        display:none;
        width: 118px;
        margin: 7px 7px;
    }

    #oactivity .fullwidth {
        width: 100%;
    }

    #oactivity #oaDesc {
        margin-top: -20px;    
        padding: 20px;
        padding-bottom: 0;
        text-align: center;
    } 

    #oactivity #oaDesc h1 {
        margin-top: 10px;  
    } 

    #oactivity #oaDesc h2 {
        margin-bottom: 10px;  
    } 
        
    #oamapContainer {
        position:relative;
    }

    #oactivity #oamap {
        min-height: 415px;
        margin-top: -20px;
        text-align: justify;
    }

        #oactivity #oamap h2 {
            padding-top: 20px;
            margin-left: 20px;
        }

        #oamap #mapCanvasAction {
            position:absolute;
            top: 0;
            width: 100%;
            height: 300px;
            z-index: 2;
            pointer-events: none;
        }

        #oamap #mapFullScreenButton {
            background-color: white;
            padding: 4px;
            border-radius: 4px;
            box-shadow: 0 1px 5px rgba(0,0,0,0.65);
            position:absolute;
            bottom: 10px;
            right: 10px;
            max-width: 28px;
            max-height: 28px;
            z-index: 3;
            cursor: pointer;
            /*pointer-events: initial;*/
            pointer-events: auto;
        }

        .fullscreenLogo {
            position:absolute;
            top: 10px;
            right: 10px;
            max-width: 150px;
            z-index: 3;
            opacity: 0.9;
            display: none;
        }

        #oactivity #oamap #mapFullScreenButton:hover {
            background-color: #f4f4f4;
        }

    #oactivity #oaparcours {
        min-height: 265px;
        margin-top: -20px;
        text-align: justify;
    }

    #oactivity #oaparcours > h2 {
        padding-top: 20px;
        margin-left: 20px;
        text-align: left;
    }
    
    #oactivity #oaUser {
        min-height: 166px;
    }

    #oactivity #oaUser > div {
        display: inline-block;
        vertical-align: middle;
        margin: 10px 0;
    }

    #oactivity #oaUserPix > img {
        width: 100px;
        height: 100px;
        -webkit-border-radius: 100%;
        -moz-border-radius: 100%;
        border-radius: 100%;
        -webkit-box-shadow: inset 0 0 0 -2px rgba(255, 255, 255, 0.48),0 0 0 1px rgba(0, 0, 0, 0.14),0 0 0 8px rgb(255, 255, 255);
        box-shadow: inset 0 0 0 -2px rgba(255, 255, 255, 0.48),0 0 0 1px rgba(0, 0, 0, 0.14),0 0 0 8px rgb(255, 255, 255);
    }

    #oactivity #oaUserInfoDetails {
        text-align : center;
    }
    
    #oactivity .country {
        width: 26px;
        margin-left: 10px;
        vertical-align: middle;
    }

    #oactivity #oaUserName {
        margin-bottom: 10px;
    }

    #oactivity #oaUserInfoDetails h2 {
        margin: 5px 0;
    }

    #oactivity #oaUserProfilButton {
        height: 40px;
    }   

    #oactivity #oaUserProfilButton {
        height: 40px;
    }

    #oactivity #oaUserDetails {
        display: inline-block;
        width: 49%;
    }

    #oactivity #oaUserDetails > div {
        display: inline-block;
        vertical-align: middle;
    }

    #oactivity #oaUserPerf {
        display: inline-block;
        text-align: center;
        margin: 10px 0;
    }

        /*#oactivity #oaUserPerf > div {    
            display: inline-block;    
            height:140px;
            width:140px;
            padding : 10px;

            text-align: center;
            vertical-align: middle;
        
            line-height: 140px;
            font-size: 30px;
            font-weight: bold;
        
            border: 30px solid rgb(1, 39, 73);
            border-color: 
                rgb(1, 39, 73) 
                rgb(67, 206, 235) 
                rgb(1, 39, 73)
                rgb(67, 206, 235);
        
            -moz-border-radius:30px;
            -webkit-border-radius:30px;
            border-radius:30px;

            -webkit-border-radius: 50%;
            -moz-border-radius: 50%;
            border-radius: 50%;
        }*/ 
        
    #oactivity #oagraphs {
        min-height: 322px;
    }

        #oactivity #oagraphs h2 {
            margin-left: 20px;
            text-align: left;
        }

#oaGPXLink {
    margin : 10px;
    text-align: right;
}

#oaGPXLink input, #oaGraphAction input {
    border: none;
    cursor: pointer;
    margin: 0 5px 15px 0;
}

#oaStatDetails {
    padding: 1px 0 20px 0;
    margin-bottom: -20px;
}

    #oaStatDetails h2 {
        margin-left: 20px;
        text-align: left;
    }

.loadingContainer {
    width: 250px;
    margin: 0 auto;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    padding: 25px;
    border: 1px solid rgb(229, 229, 229);
}

.oarorContainer {
    width: 250px;
    margin: 0 auto;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    padding: 25px;
    border: 1px solid rgb(230, 184, 184);
}

.rotate {
    -webkit-animation: spin 10s ease-in-out infinite;
    -moz-animation:    spin 10s ease-in-out infinite;
    -o-animation:      spin 10s ease-in-out infinite;
    animation:         spin 10s ease-in-out infinite;
}

.oaPerfContainer {
    display: inline-block;
    height: 200px;
    width: 200px;
    padding: 10px;
    text-align: center;
    vertical-align: middle;
    line-height: 200px;
    font-size: 30px;
    font-weight: bold;
}

.oaPerfContainer .rotate {
    height: 140px;
    width: 140px;
    border: 30px solid rgb(103, 114, 128);
    border-color: rgb(1, 39, 73) 
     rgb(67, 206, 235) 
     rgb(1, 39, 73) 
     rgb(67, 206, 235);
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
    border-radius: 30px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.oaPerfValue {
    height: 200px;
    width: 200px;
    margin-top: -200px;
}

#shareAction2 {
    margin-bottom: 10px;
}

#shareAction img {
    margin-top: 50px;
    margin-bottom: 10px;
}

#shareAction2 img {
    height: 20px;
    vertical-align:middle;
    margin-right: 10px;
}

#shareAction2 a {
    padding: 0;
}

.action {
    padding: 7px 28px;
    text-decoration: none;
    font-style: normal;
    font-weight: bold;
    cursor: pointer;
    color: rgb(255, 255, 255);
    background-color: rgb(67, 206, 235);
    border: none;
    vertical-align:middle;
    min-width: 200px;
}

.moreLink {
    width: 150px;
    padding: 7px 28px;
    margin: 10px;
    text-decoration: none;
    font-style: normal;
    font-weight: bold;
    cursor: pointer;
    color: rgb(255, 255, 255);
    background-color: rgb(67, 206, 235);
    filter: progid:DXImageTransform.Microsoft.Shadow(color=#656565,Direction=134,Strength=5);
}

.moreLink:hover {
    -moz-box-shadow: 2px 2px 2px 0 #656565;
    -webkit-box-shadow: 2px 2px 2px 0 rgb(101, 101, 101);
    -o-box-shadow: 2px 2px 2px 0 #656565;
    box-shadow: 2px 2px 2px 0 rgb(101, 101, 101);
    filter: progid:DXImageTransform.Microsoft.Shadow(color=#656565,Direction=134,Strength=2);
}

#elevationChart svg, #graph svg {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;

  display: block;
  width:100%;
  height:100%;
}

#elevationChart svg text, #graph svg text {
  font: normal 14px Arial;
}

#elevationChart svg .title, #graph svg .title {
 font: bold 16px Arial;
}

.nv-legend-text, .nv-axis text{
    fill: rgb(103, 114, 128);
    stroke-width: 0px;
    font-size: 14px;
    font-weight: normal;
}

.nvd3 .nv-axis path {
    stroke: rgb(166, 165, 165);
}

.nvtooltip {
    color: rgb(103, 114, 128);
    font-size: 13px;
    font-weight: normal;
    opacity: 0.9!important;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.nv-x .tick line {
    display: none;
}

.nv-linesWrap {
    cursor: pointer;
}

.leaflet-popup-pane {
}

.leaflet-popup-content-wrapper {
    opacity: 0.9;
    border-radius: 5px;
}

.leaflet-popup-content-wrapper .leaflet-popup-content {
    color: rgb(103, 114, 128);
}

.leaflet-popup-tip-container {
    opacity: 0;
}

.leaflet-popup-content {
    margin: 6px 12px;
}
  
#oa3DViewer {
    padding: 1px 0;
    margin-bottom: -2px;
}

    #oa3DViewer h2 {
        margin-left: 20px;
        padding-top: 20px;
        text-align: left;
    }

    #oa3DViewer #loaderBackground {
        width: 100%;
        height: 60px;
        position: absolute;
        left: 0;
        top: 50%;
        margin-top: -30px;
        background-color: white;
        border: 1px solid #888888;
        z-index: 2;
        cursor: default;
    }

    #oa3DViewer #loaderText {
        width: 100%;
        height: 60px;
        position: absolute;
        top: 50%;
        left: 0;
        margin-top: -30px;
        color: #888888;
        text-align: center;
        padding-top: 10px;
        font-size: 30px;
        z-index: 3;
        cursor: default;
    }

    #oa3DViewer #renderContainer {
        position: relative;
        display: none;
        width: 100%;
        height: 350px;
    }

    #oa3DViewer #renderCanvas {
        width: 100%;
        height: 350px;
        z-index: 1;
    }

    #oa3DViewer #canvasAction {
        position:absolute;
        top: 0;
        width: 100%;
        height: 350px;
        z-index: 2;
        pointer-events: none;
    }

    #oa3DViewer #fullScreenButton {
        position:absolute;
        bottom: 10px;
        right: 10px;
        max-width: 35px;
        max-height: 35px;
        z-index: 3;
        cursor: pointer;
        pointer-events: auto;
    }

    #oa3DViewer #imagePlayer {
        width: 100%;
        max-height: 350px;
        text-align: center;
        cursor: pointer;
        background: url(/Images/3d.jpg) no-repeat center bottom;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }

    #oa3DViewer #imagePlayer #imgPlay {
        height: 250px;
        margin: 50px 0;
        cursor: pointer;
    }

    
    #oa3DViewer #imagePlayer:hover #imgPlay {
        -webkit-animation: spin 10s ease-in-out 1;
        -moz-animation:    spin 10s ease-in-out 1;
        -o-animation:      spin 10s ease-in-out 1;
        animation:         spin 10s ease-in-out 1;
    }

    

@-webkit-keyframes spin {
    0%   { transform: rotateZ(0deg); }
    20% { transform: rotateZ(720deg); }
    100% { transform: rotateZ(720deg); }
}
@-moz-keyframes spin {
    0%   { transform: rotateZ(0deg); }
    20% { transform: rotateZ(720deg); }
    100% { transform: rotateZ(720deg); }
}
@-o-keyframes spin {
    0%   { transform: rotateZ(0deg); }
    20% { transform: rotateZ(720deg); }
    100% { transform: rotateZ(720deg); }
}
@keyframes spin {
    0%   { transform: rotateZ(0deg); }
    20% { transform: rotateZ(720deg); }
    100% { transform: rotateZ(720deg); }
}

@-webkit-keyframes spinReverse {
    0%   { transform: rotateZ(720deg); }
    20% { transform: rotateZ(0deg); }
    100% { transform: rotateZ(0deg); }
}
@-moz-keyframes spinReverse {
    0%   { transform: rotateZ(720deg); }
    20% { transform: rotateZ(0deg); }
    100% { transform: rotateZ(0deg); }
}
@-o-keyframes spinReverse {
    0%   { transform: rotateZ(720deg); }
    20% { transform: rotateZ(0deg); }
    100% { transform: rotateZ(0deg); }
}
@keyframes spinReverse {
    0%   { transform: rotateZ(720deg); }
    20% { transform: rotateZ(0deg); }
    100% { transform: rotateZ(0deg); }
}


@media (max-width: 768px) {      
    #oarankings #rankingChart td, #oarankings #rankingChart th {
        padding: 10px 10px;
        font-size: 12px;
    }

    #oactivity #oaPerf #oaUserPerfDetails  td, #oactivity #oaPerf #oaUserPerfDetails  th {
        padding: 10px 10px;
        font-size: 12px;
    }
    
    #oactivity #oaPerf #oaUserPerfDetails {
        display: block;
    }

    #oactivity #oaPerf > div {
        min-width: 290px;
        margin : 0 auto;
    }
    
    #oactivity #oaUser > div {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    #oactivity #oaUserPerf {
        padding-bottom: 18px!important;
    }
}
     
  
/* Leaflet custom control
-----------------------------------------------------------*/

.leaflet-fullscreen .leaflet-control-layers {
    margin-top: 60px!important;
}          
  
/* JQuery UI custom dialog
-----------------------------------------------------------*/

.ui-dialog {    
    border-radius: 0px;
}

    .no-close .ui-dialog-titlebar-close {
      display: none;
    }
    .ui-dialog .ui-dialog-titlebar {
        background-color: rgb(250, 2, 2);
        background-image: none;
        color: rgb(255, 255, 255);
        border-radius: 0;
        border: none;
    }

    .ui-dialog .ui-dialog-content {
        font-size: 13px;
        overflow: hidden;
    }

        .ui-dialog .ui-dialog-content p {
            margin: 0;
        }

    .ui-dialog .ui-dialog-buttonpane button {
        cursor: pointer;
        background-color: rgb(2, 184, 250);
        background-image: none;
        color: rgb(255, 255, 255);
        border: none;
        border-radius: 0;
    }     
         

  
/* Blink
-----------------------------------------------------------*/


@-webkit-keyframes blink {
    0%   { opacity:0; }
    50% { opacity:1; }
    100% { opacity:0; }
}
@-moz-keyframes blink {
    0%   { opacity:0; }
    50% { opacity:1; }
    100% { opacity:0; }
}
@-o-keyframes blink {
    0%   { opacity:0; }
    50% { opacity:1; }
    100% { opacity:0; }
}
@keyframes blink {
    0%   { opacity:0; }
    50% { opacity:1; }
    100% { opacity:0; }
}

.blink {
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    -ms-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
    
    -webkit-animation-direction: normal;
    -webkit-animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-name: blink;
    -webkit-animation-timing-function: ease-in-out;
    
    -moz-animation-direction: normal;
    -moz-animation-duration: 2s;
    -moz-animation-iteration-count: infinite;
    -moz-animation-name: blink;
    -moz-animation-timing-function: ease-in-out;    
}
    
               
  
/* Toolbar
-----------------------------------------------------------*/

.mgl-toolbar {
    width:100%;
    height:50px;
    background-color:#02b8fa;
    text-align: left;
    overflow: hidden;
}

.mgl-toolbar .toolbarButton {
    margin: 10px 5px;
    width:30px;
    height:30px;
    display: inline-block;
}

.mgl-toolbar .toolbarButton img {
    width:30px;
    height:30px;
    cursor: pointer;
    vertical-align: middle;
}

.mgl-toolbar #toolBarTip {
    display:none;
    line-height: 30px;
    color: rgb(255, 255, 255);
    margin-left: 15px;
    font-size: 18px;
    vertical-align: middle;
    border-left: 1px solid rgb(255, 255, 255);
    height: 30px;
    padding-left: 15px;
}


.eventAction, .competitorAction {
    display:inline-block;
    overflow:hidden;
    width: 110px;
    height: 110px;
    margin: 9px 9px;

    background-color:#9C9C9C;
    -webkit-box-shadow: 4px 4px 14px rgba(0, 0, 0, 0.7);
    -moz-box-shadow: 4px 4px 14px rgba(0, 0, 0, 0.7);
    box-shadow: 4px 4px 14px rgba(0, 0, 0, 0.7);

    cursor: pointer;
    
    text-align: center;
    font-weight:bold;
    font-size: 12.5px;
}

.eventAction:hover {
    background-color:#02B8FA;
    -webkit-transition: background-color 400ms linear;
    -moz-transition: background-color 400ms linear;
    -o-transition: background-color 400ms linear;
    -ms-transition: background-color 400ms linear;
    transition: background-color 400ms linear;
}

.eventActionCell {
    display:table-cell;
    vertical-align: middle;
    width: 110px;
    height: 110px;    
    color: white;
    font-weight: bold;
    font-size: 15px;
}

#liveModal {
    color :rgb(103, 114, 128);
}

#liveModal  p {
    text-align:center;
}