/* Import fonts */
@import url(https://fonts.googleapis.com/css?family=Ruda:400,700,900);

@font-face {
    font-family: 'digital-7';
    src: url('./digital-7.ttf');
}
@font-face {
    font-family: 'Cooper';
    src: url('./Cooper.ttf');
}


:root {
    --popup-text-color: #414141;
    --main-color: #797979;
    --main-color-border: #919191;
    --accent-color: #006;
  }

.site-footer
{
    /* background: #2f323a; */
    padding: 5px 0;
}

a.logo span { 
    color: var(--main-color);
}

tr.odd td.sorting_1 {
    background-color: inherit;
    font-weight: bold;
}
tr.even td.sorting_1 {
    background-color: inherit;
    font-weight: bold;
}

ul.top-menu > li > .logout {
	color: #f2f2f2;
	border: 1px solid var(--main-color-border) !important;
	background: var(--main-color);
}

.btn-theme {
    color:#797979;
    background-color: rgb(239, 239, 239);
    border: 1px solid transparent;
}

.btn-theme:hover,
.btn-theme:focus,
.btn-theme:active,
.btn-theme.active,
.open .dropdown-toggle.btn-theme {
    color:black;
    background-color: rgb(219, 219, 219);
    border: 1px solid transparent;
}


/*******************************
Editor settings
********************************/
.editor-main{
    display: grid;
    grid-template-columns: auto 250px;
    grid-gap: 20px;
    min-width: 800px;
}

.align-items-center {
    display: flex; 
    align-items: center;  /*Aligns vertically center */
    justify-content: center; /*Aligns horizontally center */
}

.small-margin-button{
    margin-right: 3px;
    margin-left: 3px;
}

.modal-header{
    border-radius: 6px 6px 0px 0px;
}

.marker_circle {
  width: 42px !important;
  height: 42px !important;
  margin-left: -21px !important;
  margin-top: -21px !important;
  line-height: 42px;
  border-radius: 50%;
  border: 2px solid var(--main-color);
  font-size: 22px;
  color: rgb(175, 149, 0);
  background-color: #fff;
  text-align: center;
  
}


.task-list :hover{
    background-color: rgb(202, 202, 202) !important;
}

.task-list{
    cursor: n-resize;
}

#map {
/* position: absolute; */
    height: 100%;
    /* width: 100vw; */
    margin-top: 0;
}

  html, body{
    height: 100%;
    margin: 0;
    overflow: hidden;  
}

#main-content{
    position: fixed;
    top: calc(50px);
    bottom: calc(25px);
    right: 0;
    left: 0;
    vertical-align: top;
}


footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 25px;
    background-color: red;
    color: white;
    text-align: center;
    z-index: 10000;
}

#sidebar{
    margin-left: -210px;
}

#distancebar{
    font-size:16px; 
    padding-left:5px; 
    padding-right:5px
}

#distancebar>span{
    margin-left:5px;
}

.header-box{
    margin-top: 10px;
    text-align: center;
}
.header-box select{
    color: var(--popup-text-color);
}
.header-distance-box>label{
    color: var(--main-color-border);
}

.digit_style{
	font-family: 'digital-7';
	font-size: 21px;
	color: #ff0000;
	letter-spacing: 0.2em;
	text-shadow: 0px 1px 1px #ff1111,
					 1px 2px 3px #ff2121;
}

.game-scoreboard{
    display: grid;
    
    text-align: center;
    margin: 3px 3px 0px 3px;
}

.treasure_container{
    display: flex;
    align-items: center;
    justify-content: center;
}

.treasure_container p{
    position: absolute;
    width: 24px !important;
    height: 24px !important;
    border-radius: 18px;
    border: 1px solid red;
    text-align: center;
    color: red;
    background-color: rgba(255, 255, 255, 0.52);
    
    font-size: 16px;
    margin: auto;
}

.treasure_container img{
    width: 100%;
}

.meIcon{
    display: flex;
    align-items: center;
    justify-content: center;
}
.meIcon p{
    position: absolute;
    width: 24px !important;
    height: 24px !important;
    text-align: center;
    color: aqua;
    font-size: 16px;
    margin: auto;
}
.meIcon img{
    width: 100%;
}

.modal-icon{
    display: flex;
    margin-top: -50px;
    margin-left:auto;
    margin-right:auto;
}

.loader {
    /* border: 16px solid #f3f3f3; Light grey */
    border: 16px solid rgb(199, 199, 199);
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    margin-left: auto;
    margin-right: auto;
  }

.loader-container{
    position: relative;
}

.popup-sub-header,.popup-header, #count-down{
    font-family: 'Cooper', sans-serif;
    color: var(--popup-text-color);
    
	letter-spacing: 0.2em;
	text-shadow: 0px 1px 1px #415252,
					 1px 2px 3px #416363;
}

.popup-header{
    font-size: 32px;
    font-weight: 900;
}

.popup-sub-header{
    font-size: 25px;
    font-weight: 900;
}

.popup-content{
    font-size: 18px;
    font-weight: 400;
    color: var(--popup-text-color);
}

.wait-bg{
    background-color: rgb(226, 226, 226);
}

#count-down{ 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    /* font-family: 'Cooper', sans-serif; */
    
}

.no-padding-top{
padding-top: 0px;
}

/* .photo{
    display: flex;
    flex-wrap: wrap;
    align-content: center;
} */
/* ################################################### */
.black-bg {
    background: #22242a;
    border-bottom: 1px solid #393d46;
}

.modal-sm{
    max-width:90%;
}

.header {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 1002;
}

.header, .footer {
    min-height: 40px;
    padding: 0 15px;
}

body {
    color: #a1a1a1;
    background: #eaeaea;
    font-family: 'Ruda', sans-serif;
    padding: 0px !important;
    margin: 0px !important;
    font-size: 18px;
}

#container {
    width: 100%;
    height: 100%;
}

.sidebar-toggle-box .fa-bars {
    cursor: pointer;
    display: inline-block;
    font-size: 20px;
}

a.logo b {
    font-weight: 900;
}

a.logo {
    font-size: 24px;
    color: #f2f2f2;
    float: left;
    margin-top: 15px;
    text-transform: uppercase;
}

a, a:hover, a:focus {
    text-decoration: none;
    outline: none;
}

.sidebar-toggle-box {
    float: left;
    padding-right: 15px;
    margin-top: 10px;
}

#sidebar {
    width: 210px;
    height: 100%;
    position: fixed;
    background: #2f323a;
}

ul.sidebar-menu {
    margin-top: 75px;
}

#sidebar h5 {
    color: #f2f2f2;
    font-weight: 700;
    margin: 10px;
}
.centered {
    text-align: center;
}

ul.sidebar-menu li a.active, ul.sidebar-menu li a:hover, ul.sidebar-menu li a:focus {
    background: var(--main-color);
    border-radius: 4px;
    color: #fff;
    display: block;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
ul.sidebar-menu li a {
    color: #aeb2b7;
    text-decoration: none;
    display: block;
    padding: 15px 0 15px 10px;
    font-size: 12px;
    outline: none;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
ul.sidebar-menu, ul.sidebar-menu li ul.sub {
    /* margin: -2px 0 0; */

    padding: 0;
}

#sidebar ul li {
    position: relative;
}
ul.sidebar-menu li.sub-menu {
    line-height: 15px;
}
ul.sidebar-menu li {
    /* line-height: 20px !important; */
    margin-bottom: 5px;
    margin-left: 10px;
    margin-right: 10px;
}
ul li {
    list-style: none;
}


  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  .modal {
    text-align: center;
  }
  
  @media screen  { 
    .modal:before {
      display: inline-block;
      vertical-align: middle;
      content: " ";
      height: 100%;
    }
  }
  
  .modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
  }

  .border-less>tbody>tr>td{
    border-top: none;
    
  }

  .leaflet-container {
    font: 12px/1.5 'Ruda', Arial, Helvetica, sans-serif;
    }

    .leaflet-touch .leaflet-control-layers-toggle {
        width: 33px !important;
        height: 33px !important;
    }

      #module {
        display: inline;
        text-align: left;
        font-size: 12px;
        color: var(--popup-text-color);
      }

      #module a{
        color: var(--popup-text-color);
      }

      #module>.popup-header{
          text-align: center;
        font-size: 18px;
      }
      
      #module a.collapsed:after  {
        font-family: FontAwesome;
        content: "\f078 \00a0 Om jagten";
      }
      
      #module a:not(.collapsed):after {
        font-family: FontAwesome;
        content: '\f077 \00a0 Om jagten';
      }

      .modal {
        overflow-y:auto;
      }

      .share{
          font-size: 12px;
          color: black;
          align-content: flex-start;
      }

      .share a{
        font-size: 25px;
        margin-right: 5px;
      }

      .sidebar-share a{
        font-size: 25px;
        margin-right: 8px;
      }

      .btn-game{
        color: whitesmoke;
        background-color: gray;
        border-radius: 4px;
        -webkit-box-shadow: 3px 4px 4px rgb(0 0 0 / 20%);
        box-shadow: 3px 4px 4px rgb(0 0 0 / 20%);
      }

      #location-errorbox{
        margin-top:10px;
        font-size: 14px;
      }

      .img-responsive{
        display: flex;  
        max-height: 250px;
        margin-left: auto;
        margin-right: auto;
      }

    