
.oc_modalDialog_binathlon, .oc_modalDialog_freestyle, .oc_modalDialog_figurecrypting, .oc_modalDialog_curling, .oc_modalDialog_nopsleigh {
  position: fixed;
  font-family: Arial, Helvetica, sans-serif;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,0.8);
  z-index: 99999;
  opacity:0;
  -webkit-transition: opacity 200ms ease-in;
  -moz-transition: opacity 200ms ease-in;
  transition: opacity 200ms ease-in;
  pointer-events: none;
}

.oc_modalDialog_freestyle:target, .oc_modalDialog_figurecrypting:target, .oc_modalDialog_curling:target, .oc_modalDialog_binathlon:target, .oc_modalDialog_nopsleigh:target {
  opacity:1;
  pointer-events: auto;
}

.task {
  position:absolute;
  width:270px;
  height:150px;
  left:50%;
  top:35%;
  margin:-75px 0 0 -135px;
}

.oc_modalDialog_nopsleigh > div {
  width: 600px;
  height: 600px;
  position: relative;
  margin: 3% auto;
  border-radius: 500px;
  background: rgba(255,255,255,1);
  background-size:130% 130%;
  background-repeat:no-repeat;
  background-position:center center;

  background-image: url("/img/nopsleigh.svg");
}

.oc_modalDialog_freestyle > div {
  width: 600px;
  height: 600px;
  position: relative;
  margin: 3% auto;
  border-radius: 500px;
  background: rgba(255,255,255,1);
  background-size:130% 130%;
  background-repeat:no-repeat;
  background-position:center center;

  background-image: url("/img/freestyle.svg");
}

.oc_modalDialog_binathlon > div {
  width: 600px;
  height: 600px;
  position: relative;
  margin: 3% auto;
  border-radius: 500px;
  background: rgba(255,255,255,1);
  background-size:130% 130%;
  background-repeat:no-repeat;
  background-position:center center;

  background-image: url("/img/binathlon.svg");
}

.oc_modalDialog_figurecrypting > div {
  width: 600px;
  height: 600px;
  position: relative;
  margin: 3% auto;
  border-radius: 500px;
  background: rgba(255,255,255,1);
  background-size:130% 130%;
  background-repeat:no-repeat;
  background-position:center center;

  background-image: url("/img/figure_crypting.svg");
}

.oc_modalDialog_curling > div {
  width: 600px;
  height: 600px;
  position: relative;
  margin: 3% auto;
  border-radius: 500px;
  background: rgba(255,255,255,1);
  background-size:130% 130%;
  background-repeat:no-repeat;
  background-position:center center;

  background-image: url("/img/curling.svg");
}


.oc_close {
  background: #606061;
  color: #FFFFFF;
  line-height: 25px;
  position: absolute;
  right: -12px;
  text-align: center;
  top: -10px;
  width: 24px;
  text-decoration: none;
  font-weight: bold;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
  -moz-box-shadow: 1px 1px 3px #000;
  -webkit-box-shadow: 1px 1px 3px #000;
  box-shadow: 1px 1px 3px #000;
}

.oc_close:hover { background: #00d9ff; }

/* Rings */
.r1 {clip-path:url('#ring1');fill:#4AB5E7;}
.r2 {clip-path:url('#ring2');}
.r3 {clip-path:url('#ring3');fill:#D82433;}
.r4 {clip-path:url('#ring4');fill:#FAEE49;}
.r5 {clip-path:url('#ring5');fill:#2E9E4A;}

.ring:hover{
  opacity: 0.3;
  -webkit-transition-duration: 1s;
  transition-duration: 1s;
  -webkit-transition-property: box-shadow;
  transition-property: box-shadow;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);

  -webkit-transition: opacity 100ms ease-in;
  -moz-transition: opacity 100ms ease-in;
  transition: opacity 100ms ease-in;

  box-shadow: 0 0 10px rgba(0, 0, 250, 0);
}

.icon {
  width:800px; height:500px;
}

#flag {
    width:150px;
}
