/*MAP CSS */

body {
    user-select: none;
    -moz-user-select: none;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    overflow: hidden;
    background:none !important;
}

img {
    /*user-select: none;*/
    
}

p { user-select: none; }

.btn:hover {
    cursor: pointer;
}

#layout {
    height: 100% !important;
}

h3.small { font-size:20px !important; margin-top:10px !important;}


.content-text::-webkit-scrollbar-thumb {
    border-radius: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 10px solid #272425;
}
.content-text::-webkit-scrollbar {
    width: 28px;
    border-radius: 10px;
    
}

 /*

 ::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 8px;
}

::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0,0,0,.5);
    box-shadow: 0 0 1px rgba(255,255,255,.5);
}

*/
#filterbar { display:none; }
#sidebar.content .actions { top:50% !important; margin-top:-140px !important; }
#map {
    margin: 0;
    margin-top: -20px;

    display: -webkit-flex;
    display: flex;
    
    align-items: center;
    align-content: center;

    

  }
  
  #map .canvas {
    width: 100%;
    height: 100%;
    background: #aa3030;
  }
  
  #map:after {
    content: "";
    background: url(http://api.thumbr.it/whitenoise-361x370.png?background=4ea6ca00&noise=626262&density=66&opacity=25) repeat;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: 2;   
    opacity: 0.5;
    pointer-events: none;
  }
  
  .dg .ac {
    top: 10px;
  }
  
/* Annotation CSS */

canvas #number {
    width: 100%;
    height: 100px;
    display: block;
}

#splashscreen {
    
}

#rotate-screen {
    display: none;
    background-color: rgba(255, 255, 255, 1.0);
    z-index: 999999999;
}

#topbar {
    opacity: 0;
}

#sidebar.force { display:block !important; }

.rings {
    opacity: 0;
    position: absolute;
    top: 0px;
    left: 0;
    z-index: 1;
    margin-right: 10px;
    margin-top: -37px;
    padding: 0.25em;
    padding-left: 3.25em;
    height: 80px;
    color: #fff;
    background: rgba(0, 0, 0, 0);

    font-size: 12px;
    line-height: 1.2;
    overflow: none;
    transition: width .5s ease, opacity .5s ease, background-color .5s ease, border-right-color .5s 1s ease;
    &::before {
        content: '1';
        position: absolute;
        top: 7.5px;
        left: -30px;
        width: 64px;
        height: 64px;
        border: 4px solid #fff;
        border-radius: 50%;
        font-size: 16px;
        line-height: 64px;
        text-align: center;
        background: rgba(0, 0, 0, 1);
    }
}

.annotation {
    opacity: 0;
    position: absolute;
    top: 0px;
    left: 0;
    z-index: 1;
    margin-right: 10px;
    margin-top: -37px;
    padding: 0.25em;
    padding-left: 3.25em;
    width: 255px;
    height: 80px;
    color: #fff;
    background: rgba(0, 0, 0, 0);
    border-right: solid #aa3030 50px;
    
    font-size: 12px;
    line-height: 1.2;
    overflow: none;
    transition: width .5s ease, opacity 1s ease, background-color .5s ease, border-right-color .5s 1s ease;
    &::before {
        content: '1';
        position: absolute;
        top: 7.5px;
        left: -30px;
        width: 64px;
        height: 64px;
        border: 4px solid #fff;
        border-radius: 50%;
        font-size: 16px;
        line-height: 64px;
        text-align: center;
        background: rgba(0, 0, 0, 1);
    }
}

.annotation-portrait {
    position: absolute;
    bottom: 150px;
    left: 200px;
    z-index: -1;
    margin-right: 10px;
    margin-top: 0px;
    padding: 0.25em;
    padding-left: 1em;
    width: 255px;
    height: 100px;
    color: #fff;
    background-color: rgba(0, 0, 0, 1);
    
    
    font-size: 12px;
    line-height: 1.2;
    overflow: none;
    transition: width .5s ease, opacity .5s ease, background-color .5s ease, border-right-color .5s 1s ease;
    &::before {
        content: '1';
        position: absolute;
        top: 7.5px;
        left: -30px;
        width: 64px;
        height: 64px;
        border: 4px solid #fff;
        border-radius: 50%;
        font-size: 16px;
        line-height: 64px;
        text-align: center;
        background: rgba(0, 0, 0, 1);
    }
}

.annotation-portrait:after {
    content: '';
    position: absolute;
    left: 3px;
    bottom: 0;
    width: 0;
    height: 0;
    border: 1.313em solid transparent;
    border-right-color: #000;
    border-left: 0;
    border-bottom: 0;
    margin-top: -0.656em;
    margin-left: -1.312em;
}

#number {
    position: absolute;
    z-index: 2;
    bottom:0;
}

.annotation-marker {
    position: absolute;
    left: -50px;
    top: -17.25px;
   
    width: 100px;
    height: 100px;

    pointer-events: none;
   
}

#text {
    padding-top: 20px;
    transition: opacity 1s ease;
    height: 80px;
    opacity: 1;
    overflow: none;
   
    
    font-size: 28px;
}

.overflow-scroll {
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 15px;
    padding-bottom: 15px;

    /* Centers text box */
    display: flex;
    flex-direction:  column;
}

#portrait-text {
    
    transition: opacity 1s ease;
    height: 95px;
    opacity: 1;
    overflow: none;

    align-content: center;
    align-self: center;
    display: flex;
    justify-self: center;
    align-items: center;
   
    justify-self: center;
    align-items: center;
    
    font-size: 20px;
}

.portrait-name {
    
    position: absolute;
    margin-top: 15px;
    color: black;
}

.portrait-more {
    position: absolute;
    bottom: 5px;
    right: 5px;
    color: #aa3030;
    font-size: 19px;
}

#annotation-img {
    transition: opacity 1s ease;
}

.annotation-icon {
    position: absolute;
    top: -45px;
}
.youtubeModal {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-flow: column;
    width: 100%;
    height: 100%;
    z-index: 999999;
    max-width:1024px; 
    left:0;
    right:0;
    margin:auto;
}
.youtubeModal iframe { width:100%; max-height:600px;}


.infoModal {
    position: absolute;
    display: flex;
    width: 100%;
    flex-flow: row;
    justify-content: center;
    align-content: center;
    /* text-align: center; */
    z-index: 10;
    max-width:1024px;
    left:0;
    right:0;
    margin:auto;
    
} 
.infoModal h1 { font-size:30px; font-weight:400; margin-bottom:13px; line-height:30px;  }
.infoModal h1.alt { color:#fff;  max-width:90%; } 
.infoModal h1.alt p { color:#fff; font-size: 18px;line-height: 22px; letter-spacing: .010em; padding-top:20px; }

body.mobile .infoModal.code-modal div:nth-child(2) { display:none; }

.content-text {
    font-size: 18px;
    line-height:22px;
    letter-spacing:.010em;
}

.info-modal-content-text {
    margin-right: 15vw;
    /* width: 50%; */
    margin-left: auto;
    width: 33%;
    justify-content: flex-start;
    float: right;
    margin-right: 15vw;
    /* width: 50%; */
    margin-left: auto;
    width: 33%;
    justify-content: flex-start;
    float: right;
    background-color: black;
    color: white;
     justify-content: center;
}

.info-modal-image {
    /* width: 100%;
    height: 100%; */
    pointer-events: none;
    max-height: 100%;
    max-width: 90%;
    margin-bottom: -3px;

    transition: opacity 0.7s ease-in;
}

.flexbox-container {
    
    display: table;
}

.flexbox-container > div {
    width: 50%;
    background-color: #272425;
    color: white;
    display:table-cell;
    vertical-align:middle;
}

.flexbox-container > div:first-child {
    margin-right: 20px;
}

#sidebar h2 { margin-bottom:20px !important;}
#sidebar ul.ref li { font-size:22px; font-weight:500; color:#1c1c1c; position:relative; padding-left:45px; padding-top:3px; }
#sidebar ul.ref li img { max-width:35px; height:auto; position:absolute; top:0; left:0; }
#sidebar h3.scr_drag { padding-left:50px; font-weight:500; font-size:22px; line-height:21px; color:#444444; margin-top:0px; padding-left:55px; position:relative;} 
#sidebar h3.scr_drag img { position:absolute; top:7px; left:0; max-width:40px; height:auto;  }
#sidebar hr { margin-top:33px; margin-bottom:30px; background-color:#cccccc; height:1px; border:none; }
.instruction-modal {
    position: absolute;
    display: flex;
    width: 100%;
    height: 100%;
    padding: 25px;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    align-content: center;
    text-align: center;
    z-index: 10;
    background: rgba(255,255,255,.9);
}

.instruction-modal .holder { 
  max-width:768px; width:100%; padding:30px; position:relative; z-index:100;

  opacity: 0;
  transition: all 0.5s ease-in-out;
  
}

#welcome-holder {
    display: none;
}

#facebook-login {
    
}

.instruction-modal .holder h1 { font-size:40px; font-weight:500; margin-bottom:25px; }
.instruction-modal .holder h3 { font-size:30px; font-weight:100; margin-bottom:30px; margin-top:-5px; line-height:32px;}
.instruction-modal .holder p { font-size:20px; font-weight:100;}
.instruction-modal .holder .row { font-size:0; max-width:480px; margin:auto; margin-top:10px;  }
.instruction-modal .holder .row .col {  display:inline-block; vertical-align:top;  }
.instruction-modal .holder .row .col.left { width:60%;}
.instruction-modal .holder .row .col.left input { width:100%; margin-right:10px; border:#ccc solid 1px; height:41px; border-radius:0; -webkit-appearance: none; }
.instruction-modal .holder .row .col.left input.error { border:#aa3030 solid 1px;}
.instruction-modal .holder .row .col.right { width:40%;}
.instruction-modal .holder .row .col.right div.btn { margin:0 !important;}
.closeButton {
    justify-content: flex-end;
    padding: 20px;
    margin-left: auto;
    transition: all 0.5s;
    color: #272425;
}

.closeButton:hover {
    color: #aa3030;

    cursor: pointer;
}

.closeButton1 {


    transition: all 0.5s;
    color: #272422;
    margin-top: -30px;
    margin-left: -90px;
    width: 90px;
    float: right;
    align-self: flex-start;
    text-align:right;
    font-size:22px;
    font-weight:100;
    padding-right:0;
}

.closeButton1:hover {
    color: #aa3030;
    
        cursor: pointer;
}

.category-img {
    display: inline-block;
    width: 32px;
    /* margin-left: -95px; */
}

.category-header {
    display: inline-block;
    vertical-align: middle;
    margin-top: -22px;
    margin-left: 35px;
    color: #aa3030;
    text-transform: uppercase;
    font-size:22px;
    font-weight:100;
    letter-spacing:.02em;
}


.header-margin {
    margin-top: 50px;
}

.side-margin {
    margin: 10px
}


.btn.go {
    color: #fff;
    text-align: center;
    background-color: #aa3030;
    display: inline-block;
    padding-bottom: 8px;
    padding-top: 8px;
    font-size: 22px;
    min-width: 130px;
    width: 65%;
    max-width: 220px;
    margin-top:15px;
    margin-bottom: 10px;
    font-weight:100;
    -moz-transition: all .3s ease-in-out; transition: all .3s ease-in-out; -webkit-transition: all 0.3s;
}
.btn.go:hover {background-color: #aa3030;
    text-shadow: 1px -1px 18px #ff7a7a; }
.toolbar {
    position: absolute;
    z-index: 5;
    width: 55px;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.7);
    height: 100%;
    right: 0px;
    user-select: none;
    pointer-events: none;
    touch-action: none;
}

.toolbar-button {
    pointer-events: all;
    width: 100%;
    height: 100%;
    padding: 5px;
}

.fullscreen-button {
    
    margin-top: auto;
    bottom: 10px;
    align-self: flex-end;
    align-items: flex-end;
}



.top-button {
    margin-top: auto;
}

.toolbar-button:hover {
    cursor: pointer;
    pointer-events: all;
}

.player {
    margin-top: -1vh;
}

.legend {
    position: absolute;
}

.logo {
    position: absolute;
    z-index: 1;
    padding: 10px;
    align-self: flex-start;
    user-select: none;
    pointer-events: none;

    top:30px;
    left:30px;
    width:250px;
    height:125px;
    

}

.facebook-image {
    width: 110%;
    cursor: pointer;
}

.gamestop-logo {
    position: absolute;
    z-index: 1;
    padding: 10px;
    align-self: flex-start;
    user-select: none;
    pointer-events: none;

    top:50px;
    right:30px;
    width:250px;
    height:125px;

    transform: scale(0.7);
    
}

.logo-image {

    user-select: none;
    pointer-events: none;
    max-width: 250px;
    width: 250px;
}
.portrait {
    position: absolute;
}

.controls-window {
    position: absolute;
}

#portrait-wrapper {
    /*user-select: none;*/
   pointer-events: all;

    opacity: 0;
    transform: scale(0.8);
    transition: opacity .75s ease-in-out;
}

.character-code {
    border-top: 1px solid #505050;
    border-bottom: 1px solid #505050;
    padding: 10px;
    color: #aa3030;

    margin-bottom: 10px;
    margin-top: 10px;
    width: 85%;
}

.character-portrait {
    position: absolute;

    z-index: 10;
    bottom: 0px;
    left: 0px;

    transition: opacity 0.7s ease;
    
}

/* Maintains margin height on fullsreen change */
:-webkit-full-screen {
    position: fixed;
    width: 100%;
    top: 0;
    
}

:-ms-fullscreen {
    width: auto;
    height: auto;
    margin: auto;
  }

.rotate-device {
    padding: 50px;
    width: 250px;
}
  /*Media Queries */

/* iPad */ 
@media (max-width: 1024px) {
 .infoModal { max-width:90%; width:100%; }
 .youtubeModal { max-width:90%; width:100%; }
}
@media (min-width: 1000px) and (max-width: 1024px) {
    .main-tweet {
      right: 50px;
    }
  
    .tweet-parent {
      right: 50px;
    }
  
    #logo {
      left: 10px;
      top: 10px;
    }
  
    .text-entry {
      left: 50px;
      max-width: 200px;
    }
  
    .textarea {
     
    }
  
    .ask-button {
     width: 110%;
    }
  
    .playlist {
      left: 50px;
    }
  }
  
  /* Landscape Media Query? */
  
  @media (min-width: 667px)
  and (max-width: 667px) { /* STYLES GO HERE */
    #logo {
        left: 10px;
        top: 10px;
      }
  
    .main-tweet {
      height: 150px;
      width: 400px;
      top: 15%;
    }

    
    
  }
  
  @media (max-width:320px)  { 
  
   
  
    
  }
  
  @media (min-width:320px) and (max-width:768px) { 
  
  
  
  }


@media(min-width: 1025px) {
   
    .code-modal {
        padding-top: 65px;
        padding-bottom: 75px;
    }
    
}

  
  @media (max-width:800px)  { 
  .infoModal.code-modal div:nth-child(2) { display:none; }
  }
  @media (max-width:768px)  { 
   
    /* smartphones, portrait iPhone, portrait 480x320 phones (Android) */

    .logo {
        left: 10px;
        top: 10px;
      }

      .gamestop-logo {
        right: -80px;
        top: 10px;
      }

    body {
        overflow: none;
    }
    .closeButton1 { font-size:18px;}
    .infoModal { max-width:75%; }
    
    .infoModal div:first-child { width:45%; }
    
    .infoModal .overflow-scroll { width:60%; }
    .overflow-scroll{
         padding-left:20px; padding-right:0px;
        -webkit-overflow-scrolling: auto;
        display:table-cell;
        vertical-align:middle;
    }
    .infoModal h1 { font-size:24px; margin-bottom:0px;}
    .content-text { font-size:16px; line-height:18px;}
    .btn.go { font-size:16px; padding-top:6px; padding-bottom:6px;}
    .instruction-modal .holder .row { max-width:380px;}
    .instruction-modal .holder h1 { font-size:28px; margin-bottom:10px;}
    .instruction-modal .holder h3 { font-size:25px; margin-bottom:15px;}
    .instruction-modal .holder h3 br { display:none; }
    .instruction-modal .holder .row .col.left input { height:32px;}
    
    .content-text { min-height:80px; overflow-y:scroll;} 
    .category-header { font-size:16px; margin-top:-17px;}
    .category-img { max-width:26px; margin-top:0;}
    /*reset toolbar spacing */
    .fullscreen-button {
        display: none;
      }

      .top-button {
          margin-top: 0;
      }

      .instruction-modal {
         
          touch-action: none;
      }
      


    

      .code-modal {
          padding-top: 65px;
          padding-bottom: 75px;
      }
      
      
      
      .logo-image {
        user-select: none;
        pointer-events: none;
        max-width: 125px;
        width: 125px;

        transition: all 0.3s;
        
       
    }

    #portrait-wrapper {
       /*  user-select: none;
        pointer-events: none; */
    
        opacity: 0;
        transform: scale(0.55);
    }
    .character-portrait {
        bottom: -25px;
        left: -25px;
    }

    .header-margin {
        margin-top: 25px;
    }

    iframe#widget2 {
        padding-bottom: 30px;
        padding-right: 10px;
    }
    
    

    .info-modal-image {
        
  
    }
    
    #sidebar h2 { margin-bottom:5px !important; font-size:25px !important;} 
    #sidebar ul.ref li { font-size:18px; margin-bottom:0px; padding-top:1px; }
    #sidebar ul.ref li img { max-width:22px;}
    hr { margin-bottom:15px !important; margin-top:15px !important;}
    #sidebar h3.scr_drag { font-size:18px; line-height:18px; padding-left:45px;}
    #sidebar h3.scr_drag img { max-width:35px;}
        
    }
    
  }

  @media (min-device-width: 1024px) {

  }

  .rim1 {
    animation: expand 5s linear infinite;
    position: absolute;
    border-radius: 100px;
    left: -50px;
    top: -17.25px;
    border: 0.1em white solid;
    opacity: 1;
    pointer-events: none;
    
  }
  .rim2 {
    animation: expand 5s ease-in-out  1s infinite;
    position: absolute;
    border-radius: 100px;
    left: -50px;
    top: -17.25px;
    border: 0.1em white solid;
    opacity: 1;
    pointer-events: none;
    
  }
  .rim3 {
    animation: expand 5s linear 3s infinite;
    position: absolute;
    border-radius: 100px;
    left: -50px;
    top: -17.25px;
    border: 0.1em white solid;
    opacity: 1;
    pointer-events: none;
  }

  .hint1 {
    animation: hint 2s linear infinite;
    position: absolute;
    border-radius: 100px;
    left: -50px;
    top: -17.25px;
    border: 0.1em white solid;
    opacity: 0;
    pointer-events: none;
    
  }
  .hint2 {
    animation: hint 5s linear  1s infinite;
    position: absolute;
    border-radius: 100px;
    left: -50px;
    top: -17.25px;
    border: 0.1em white solid;
    opacity: 0;
    pointer-events: none;
    
  }
  .hint3 {
    animation: hint 5s linear 3s infinite;
    position: absolute;
    border-radius: 100px;
    left: -50px;
    top: -17.25px;
    border: 0.1em white solid;
    opacity: 0;
    pointer-events: none;
  }
  
  @-webkit-keyframes hint {
    0% {
      top: calc(34% - 4.5em);
      left: calc( -0.3% - 4.5em);

      width: 9em;
      height: 9em;
      border: white .25em solid;
      opacity: 0;
    }
    50% {
        opacity: 1
    }
    100% {
      top: calc(34% - 8em);
      left: calc( -0.3% - 8em);

      width: 15em;
      height: 15em;
      border: white .5em solid;
      opacity: 0;
    }
  }

  @keyframes hint {
    0% {
      top: calc(34% - 4.5em);
      left: calc( -0.3% - 4.5em);

      width: 9em;
      height: 9em;
      border: white  .1em solid;
      opacity: 0;
    }
    50% {
        opacity: 1
    }
    100% {
      top: calc(34% - 8em);
      left: calc( -0.3% - 8em);

      width: 16em;
      height: 16em;
      border: rgba(255, 255, 255, 0) .2em solid;
      opacity: 0;
    }
  }

  @-webkit-keyframes expand {
    0% {
      top: calc(33% - .5em);
      left: calc( -0.3% - .5em);

      width: 1em;
      height: 1em;
      border: rgba(0, 0, 0, 1) .25em solid;
      opacity: 1;
    }
    100% {
      top: calc(33% - 5.5em);
      left: calc( -0.3% - 5.5em);

      width: 15em;
      height: 15em;
      border: rgba(0, 0, 0, 0) .5em solid;
      opacity: 0;
    }
  }

  @keyframes expand {
    0% {
      top: calc(33% - .5em);
      left: calc( -0.3% - .5em);

      width: 1em;
      height: 1em;
      border: rgba(0, 0, 0, 1)  .1em solid;
      opacity: 1;
    }
    100% {
      top: calc(33% - 8em);
      left: calc( -0.3% - 8em);

      width: 16em;
      height: 16em;
      border: rgba(0, 0, 0, 0) .2em solid;
      opacity: 0;
    }
  }

  .mainPreloader{


    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;

    font-family:'edoregular',Arial,sans-serif;
    font-size:56px;
    color:#aa3030;
    text-align:center;
    z-index:100;
    background-color: white;

    position: absolute;
    display: flex;
    width: 100%;
    height: 100%;
    

    flex-flow: column;

    align-items: center;
    justify-content: center;
    align-content: center;
    text-align: center;

    background-color: rgba(255, 255, 255, 1.0);
    z-index: 999;

    opacity: 1;
    transition: all 2s ease-in-out;
}

#sidebar .actions ul.snet { display:block !important; }
#sidebar .actions ul { margin-bottom:0px;} 
#sidebar .actions ul.bottom { bottom:24px !important; }

.share ul { font-size:0; margin-top:15px; text-align:center;} 
.share ul li { display:inline-block; vertical-align:middle; }
.share  ul li a { display:block; max-width:40px; height:auto; position:relative;   }
.share  ul li a span {width:100%; height:auto; opacity:0; position:absolute; -moz-transition: all .3s ease-in-out; transition: all .3s ease-in-out; -webkit-transition: all .3s; }
.share ul li a:hover span { opacity:1; }
.share  ul li a img { width:100%; height:auto; }
.share  ul li:first-child { margin-right:10px; }
.share  ul li:first-child p { color:#a1a1a1; font-size:20px; }

@media (max-width: 600px){
    .share  { max-width:80% !important; min-height:200px !important; margin-top:-100px; }
    .share a.btn.close { top:5px; right:10px; font-size:18px;}
    .share  .col.left { width:45% !important;}
    .share  .col.right { width:55% !important;}
    .share p {  max-width:80% !important; font-size:20px !important; line-height:22px; margin-top:10px;}
}