* {
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    border: 0 none;
    background: none repeat scroll 0 0 transparent
}

*:focus {
  outline: 0;
}

body.tabbed button:not(:focus),
body.tabbed a:not(:focus) {
  filter: saturate(0.2);
}

body.tabbed *:focus:not([tabindex="-1"]),
body.tabbed *:focus-visible {
  box-shadow:
    0 0 1px 3px orange,
    0 0 3px 5px darkblue,
    0 0 6px 10px rgba(0, 0, 0, 0.4) !important;
  }
}

body.no-animation *,
body.no-animation *::before,
body.no-animation *::after {
  animation: none !important;
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body, html {
    height: 100%;
    background-color: #292D33;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    overflow: hidden;
}


html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased
}



#rotate{
    width:100%;
    height:100%;
    position:absolute;
    z-index: 3000;
    top:0px;
    left:0px;
    background: white url('../images/rotate-to-portrait.png') no-repeat center center;
    display:none;
}







.game_title{
  font: 16px/20px "Source Sans Pro", sans-serif;
  font-weight: 600;
  color: #333 !important;
  float:left;
  padding-left: 17px;
  padding-top: 17px;
}


.start_container{
    width:100%;
    height:90px;
    padding-left: 15px;
    position:relative;
}



#crossword_theme{
    position:absolute;
    bottom:5px;
    margin-bottom: 0;
    left:15px


}

#btn_start_wrapper{
    position: absolute;
    z-index: 10;
    right:10%;
    bottom:0
}

#btn_start{
    bottom: -27.5px;
}

#chrono_wrapper {
  position:absolute;
  left:0;
  bottom: 25px;
  width: 100%;
  padding: 8px 14px;
  text-align: center;
  border-radius: 50px;
  background: rgba(255,255,255,0.7);
}

@media (max-width: 700px) {
  #chrono_wrapper {
    position: unset;
    left: unset;
    display: inherit;
    margin: 0 auto;
    width: auto;
  }
}

#chrono{
    display: inline;
    font: 18px/23px "Source Sans Pro", sans-serif;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.8);
}

.stopwatch-icon {
  display: inline-block;
  width: 14px;
  height: 16px;
  margin-bottom: -2px;
  margin-right: 10px;
  background: url(../images/stopwatch.svg);
  background-size: contain;
}

#header_clue_wrapper{
    width: 100%;
    height: 36px;
    padding: 16px 17px 0;
    position:relative;
    z-index: 500
}

@media all and (min-width: 700px) {
  #chrono{
    font-size: 18px;
    line-height: 24px;
  }

  .stopwatch-icon {
    width: 18px;
    height: 21px;
  }

  #header_clue_wrapper {
    width: 58.6%;
    height: 90px;
    padding: 59px 32px 0 17px;
  }

  #chrono_wrapper {
    left: 30%;
    width: auto;
    transform: translateX(-50%);
  }
}

img {
    vertical-align: middle;
    -ms-interpolation-mode: bicubic
}




button, input[type="button"], input[type="reset"], input[type="submit"] {
    cursor: pointer;
    -webkit-appearance: button
}


.clear, #intro:after {
    clear: both
}


#intro:before, #intro:after {
    display: table;
    line-height: 0;
    content: ""
}

.dialog_btn{
    width:100px;
    font-size: 10px;
    padding-left:5px;
    padding-right:5px;
    text-align: center;
}

.modal {
  background: #FFFFFF;
  box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  font-family: "Source Sans Pro", sans-serif;
}

.modal .modal-footer {
  background: transparent;
}

.modal .modal-content {
  padding: 19px;
}

#modal2{
    width:90%;
}

#modal2 .dialog_btn {
  position: relative;
  display: inline-block;
  width: auto !important;
  height: 67px;
  margin: 0;
  padding: 44px 10px 10px;
  white-space: nowrap;
  float: none;
  text-transform: none;
  font: 14px/1 "Source Sans Pro", sans-serif;
}

#modal2 .dialog_btn i {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
}

#modal2 #clue_direction {
  font: 16px/20px "Source Sans Pro", sans-serif;
  color: #999999;
}

#modal2 #clue_text {
  font: 20px/28px "Source Sans Pro", sans-serif;
  color: #0064AA;
}

#modal2 .modal-footer {
  display: flex;
  justify-content: space-between;
  height: auto;
  padding: 0 9px 9px;
}

#modal2 #submit {
  color: #FF7800;
}

#modal2 #submit i {
  top: 5px;
}

#modal2 #reveal_word {
  color: #48A0F4;
}

#modal2 #reveal_word i {
  top: 5px;
  width: 32px;
  height: 27px;
}

#modal2 #reveal_letter {
  color: #A064B4;
}

#modal2 #reveal_letter i {
  top: 6px;
  width: 25px;
  height: 25px;
}

#description{
    margin-top:15px;
    color: rgba(0, 0, 0, 0.87);
    font-weight: bold;
    text-align: left;
}

.primary_text{
    color: rgba(255, 255, 255, 0.87);
}

#intro_content h1 {
    font: bold 26px/30px Arial, Helvetica, sans-serif
}





#content {
    height: 100%;
    background-color: #fff;
    position: relative
}



#intro, #crossword {
    display: none;
    min-height: 100%
}

#crossword {
    display: block;
    position: absolute;
    width: 100%;
    top: -99999em;
    min-height: 100%;
    background: linear-gradient( 0deg, rgba(0,100,170,0.8) 0%, rgb(132,201,240) 100% );
}

.theme-2 #crossword {
    background: linear-gradient(180deg, rgba(102, 204, 210, 0.65) 0%, rgba(102, 204, 210, 0.3) 100%),
      linear-gradient(359.64deg, rgba(0, 100, 170, 0.5) -4.18%, rgba(184, 0, 0, 0) 112.75%), #FFFFFF;
}

#game_view {
    background-color: #fff;
    width:100%;
}





#intro {
    width: 100%;
    text-align: center;
    background-color: #f5f5f5;
}

.fixed-action-btn{
    position: absolute;
}

#intro_content {
    text-align: center;
    padding: 2px 16px 124px;
    max-width: 460px;
    margin: 30px auto
}





#logo img {
    width: 146px;
    height: auto;
}

#logo {
    padding: 20px 0 10px
}


.material-icons.md-48 { font-size: 48px; }
.material-icons.md-light { color: rgba(255, 255, 255, 1); }

.v_center{
    vertical-align: middle;
    display: table-cell !important;
}

.toolbar_item{
    line-height:56px;
    height:56px;
}



#loader {
    width: 100%;
    height: 100%;
    position: relative;
    text-align: center;
    background-color: #f5f5f5;
}

.preloader-wrapper{
    top: 45%;
}

nav {
  background: none;
  box-shadow: none;
}

#header_clue {
  color: #333;
  font: 22px/28px "Baloo 2", sans-serif;
}

@media all and (min-width: 700px) {
  #header_clue {
    font-size: 24px;
    line-height: 1.3;
  }
}

@media all and (min-width: 1024px) {
  #header_clue {
    font-size: 28px;
    line-height: 1.3;
  }
}



.visible {
    display: block
}



@media all and (min-width: 500px) {

    #logo img {
        width: 182px;
        height: auto
    }

}

@media all and (min-width: 700px) {
    #logo img {
        width: 240px;
        height: auto
    }
}

@media (max-width: 699px) {

    .fixed-action-btn{
        bottom: 10px !important;
        right: 10%;
    }

    #clue_list{
        display: none;
    }

    .dialog_btn{
        width:90px;
    }

    #description{
        margin-top: 10px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #logo {
        padding: 0px 0 10px;
    }
}






.page-footer {
    clear: both;
    position: absolute;
    bottom: 0;
    width: 100%;
    height:80px;
    display: table;
    padding:0 !important;
    margin-top: 0 !important;
    padding-top: 11px !important;
    background-color: transparent !important;
}


#clue_list{
    position: absolute;
    bottom: 0;
    max-height: none !important;
    cursor: default;
}

.clue_list_wrapper{
    position: relative;
}

#across_container {
  height: calc(50% + 12px);
}

#down_container {
  height: calc(50% - 12px);
}

.clue_list_label{
    height:35px;
    color: #333;
    font: 22px/35px "Baloo 2", sans-serif;
}

#across_list, #down_list{
    position: absolute;
    width: 100%;
    top:35px;
    bottom:0;
    overflow-y: scroll;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    padding-top: 17px;
}

#across_list {
  margin-bottom: 24px;
}



.clue_hover{
    background: rgba(0, 100, 170, 0.2);
}





.clue_highlight{
    background: rgba(0, 100, 170, 0.2);
}


.tile_animator {
    display: block; position: absolute;
    background: #4f52bb;
    border-radius: 100%;
    transform: scale(0);
}

.tile_animator.animate {animation: ripel 0.7s ease-in;}




.ink {
    display: block;
    position: absolute;
    background: #c5cae9;
    border-radius: 100%;
    transform: scale(0);
}

.ink.animate {animation: ripel 0.5s linear;}


@keyframes ripel {
    100% {opacity: 0; transform: scale(2.5);}
}

#clue_list ul li {
    list-style-type: none;
    position: relative;
    overflow: hidden;
}

.clue_text {
    display: block;
    color:black;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    position: relative;
    padding: 10px 16px;
    font: 16px/21px "Source Sans Pro", sans-serif;
}

@media all and (min-width: 1024px) {
  .clue_text {
    font-size: 18px;
    line-height: 1.3;
  }
}


#board {
    position: absolute;
    z-index: 1;
    width: 100%;
    padding: 2%;
    overflow: hidden;
    top: 150px;
    bottom: 80px
}


@media all and (min-width: 700px) {
    body, html {
        background-color: #e2e2e2
    }

    #game {
        width: 58.6%;
        float: left
    }

    #clue_list{
        box-shadow: none;
        position: relative;
        width: 41.4%;
        float: right;
        top: inherit;
        left: inherit;
        bottom: inherit;
        padding-right: 32px;
    }

    .desc_wrapper {
        float: right;
        width: 62%
    }

    #logo {
        float: left;
        width: 36%
    }

    #logo img {
        max-width: 100%
    }

    #intro_content {
        max-width: 780px !important;
        padding: 35px 16px 20px 0 !important
    }

    #clue_list {
        width: 41.4%;
        bottom: 70px;
        max-height: inherit !important;
        position: absolute;
        top: 65px;
        overflow: auto;
        right: 0;
        border-radius: 0
    }

    #board {
        bottom: 60px;
    }

    .fixed-action-btn{
        bottom: 18px;
        right: 35.5%;
    }
}



.bitmap_icon{
    margin-left: auto;
    margin-right:auto;
    text-align: center;
}

@media all and (max-width: 480px) {

    #board {
        top: 89px
    }

}











#dragger {
    -webkit-transition: all 300ms cubic-bezier(0.085, 0.385, 0.420, 0.975);
    -moz-transition: all 300ms cubic-bezier(0.085, 0.385, 0.420, 0.975);
    -ms-transition: all 300ms cubic-bezier(0.085, 0.385, 0.420, 0.975);
    -o-transition: all 300ms cubic-bezier(0.085, 0.385, 0.420, 0.975);
    transition: all 300ms cubic-bezier(0.085, 0.385, 0.420, 0.975);
    position: relative;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    width: 100%;
    padding: 0;
    background-color: #444444;
}





.hidden {
    display: none
}


#svg2{
    width:90%;
    height:auto;
}



.checkmark {
    width: 200px;
    margin: 0 auto;
    margin-right:40%;

}

#congrat{
    display: flex;
    height: 100%;
}

body:not(.no-animation) #congrat {
    background: url("../images/sparkles.gif") no-repeat center center;
    background-size: contain;
}

.check{
    stroke-dasharray: 110;
    stroke-dashoffset: -110;
    stroke-width: 0;
}

.check-complete{
    -webkit-animation: check 1s ease-in forwards;
    animation: check 1s ease-in forwards;
    stroke-width: 15;
    stroke-dashoffset: 0;
}





#key_interceptor{
    position:absolute;
    font-size:1px;
    opacity:0;
    left:-100px;
    top:-100px;
    -webkit-user-modify: read-write-plaintext-only;
}

#key_interceptor:focus{
    -webkit-user-modify: read-write-plaintext-only;
}


@media all and (min-width:700px) {
    #board {width:calc(58.6% - 64px)!important; 	bottom:80px; margin-left: 32px;}
}

input[type="password"] { border:0 none; height:1px; background-color:transparent;}

#crossword_canvas{
    box-shadow:rgba(0,0,0,.3) 0 0 12px;
}

.info_outline {
  position: absolute;
  bottom: 24px;
  left: 28px;
  z-index: 2;
}

.info_outline .toolbar_item {
  height: auto;
  font-size: 32px;
  color: #333;
}

@media all and (max-width: 1249px), (max-height: 699px) {
  #cw_menu {
    bottom: 14px;
    right: 28px;
  }

  #cw_menu .btn-floating {
    width: 60px;
    height: 60px;
    background: #0064AA;
    box-shadow: 0 10px 10px rgba(102, 102, 102, 0.15);
  }

  #cw_menu .btn-floating i {
    font-size: 2.8rem;
    line-height: 60px;
  }

  #cw_menu ul {
    bottom: -6px;
    left: -17px;
    right: auto;
    width: 94px;
    padding: 25px 0 71px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 3.46477px;
    transition: opacity 0.3s ease;
    opacity: 0;
  }

  #cw_menu.active ul {
    opacity: 1;
  }

  #cw_menu li {
    margin-bottom: 20px;
  }

  #cw_menu ul a {
    display: block;
    font: 11px/14px "Source Sans Pro", sans-serif;
    cursor: pointer;
  }

  #cw_menu .show-answer-icon {
    width: 26px;
    height: 23px;
  }

  #cw_menu .show-letter-icon {
    width: 21px;
    height: 21px;
  }
}

@media all and (min-width: 1250px) and (min-height: 700px) {
  #clue_list {
    width: 47%;
  }

  #header_clue_wrapper,
  #chrono_wrapper,
  #game {
    width: 53%;
  }

  #board {
    width: calc(53% - 64px)!important;
  }

  #cw_menu {
    bottom: 20px;
    right: 32px;
    width: calc(47% - 32px);
    padding: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 5px;
  }

  #cw_menu ul {
    display: flex;
    justify-content: space-between;
    visibility: visible;
    position: static;
    white-space: nowrap;
    padding: 10px;
  }

  #cw_menu li {
    margin-bottom: 0;
  }

  #cw_menu ul a {
    display: block;
    padding: 10px 15px;
    font: 14px/20px "Source Sans Pro", sans-serif;
    text-align: center;
  }

  #cw_menu .btn-floating {
    display: none;
  }

  #clue_list {
    bottom: 153px;
  }

  #cw_menu .reset-zoom-icon {
    width: 34px;
    height: 35px;
  }

  #cw_menu .clean-board-icon {
    width: 37px;
    height: 37px;
    margin: -1px auto 9px;
  }

  #cw_menu .show-answer-icon {
    width: 38px;
    height: 33px;
    margin: 1px auto 11px;
  }

  #cw_menu .show-letter-icon {
    width: 30px;
    height: 30px;
    margin: 2px auto 13px;
  }

  #cw_menu .check-answers-icon {
    width: 35px;
    height: 31px;
    margin: 2px auto 12px;
  }
}

@media all and (min-width: 1400px) and (min-height: 700px) {
  #cw_menu ul a {
    font-size: 16px;
  }
}

#cw_menu ul i,
#modal2 .dialog_btn i {
  display: block;
  margin: 0 auto 10px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.reset-zoom-icon {
  width: 23px;
  height: 24px;
  background-image: url(../images/reset-zoom.svg);
}

#btn_menu_reset_zoom {
  color: #B80000;
}

.clean-board-icon {
  width: 24px;
  height: 24px;
  background-image: url(../images/clean-board.svg);
}

#btn_menu_clear {
  color: #FF7800;
}

.show-answer-icon {
  display: inline-block;
  width: 38px;
  height: 33px;
  background-image: url(../images/showanswer.svg);
  background-size: contain;
}

#btn_menu_reveal_word {
  color: #48A0F4;
}

.show-letter-icon {
  display: inline-block;
  width: 30px;
  height: 30px;
  background-image: url(../images/showletter.svg);
  background-size: contain;
}

#btn_menu_reveal_letter {
  color: #A064B4;
}

.check-answers-icon {
  width: 24px;
  height: 22px;
  background-image: url(../images/check-answers.svg);
}

#btn_menu_check {
  color: #00AA00;
}

.answer-icon {
  width: 33px;
  height: 27px;
  background-image: url(../images/answer.svg);
}

.structural {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0;
  border: 0;
}

div#modal3 {
  top: 0 !important;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  max-height: 100%;
  color: white;
  text-align: center;
  background: linear-gradient(180deg, rgba(0, 100, 170, 0.95) 0%, rgba(72, 160, 244, 0.95) 100%);
}

@supports ((-webkit-backdrop-filter: blur(5px)) or (backdrop-filter: blur(5px))) {
  div#modal3 {
    background: linear-gradient(180deg, rgba(0, 100, 170, 0.85) 0%, rgba(72, 160, 244, 0.85) 100%);
    backdrop-filter: blur(10px);
  }
}

div#modal3 .columns {
  width: 100%;
}

div#modal3 .party-popper {
  margin-bottom: 15px;
  font-size: 88px;
}

div#modal3 h4 {
  font: 30px/110% "Baloo 2", sans-serif;
}

div#modal3 p {
  font-size: 22px;
  line-height: 185.5%;
}

div#modal3 p b {
  display: block;
  font-family: "Baloo 2", sans-serif;
}

div#modal3 p.score {
  margin-bottom: 70px;
}

div#modal3 p.score b {
  font-size: 120px;
  line-height: 110%;
}

div#modal3 .dialog_close {
  display: inline-block;
  margin-top: 30px;
  margin-bottom: 30px;
  padding: 16px 34px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 9999px;
  font: 16px/110% "Baloo 2", sans-serif;
  color: rgba(0, 0, 0, 0.8);
  text-decoration: none;
}

@media (orientation: portrait) {
  div#modal3 {
    padding-top: 20px;
  }
}

@media (orientation: portrait) and (min-height: 750px) {
  div#modal3 {
    align-items: center;
    padding-top: 0;
  }
}

@media (orientation: landscape) {
  div#modal3 .party-popper {
    margin-bottom: 20px;
    font-size: 110px;
  }

  div#modal3 h4 {
    font-size: 41px;
  }

  div#modal3 p {
    font-size: 30px;
  }

  div#modal3 p.score b {
    font-size: 165px;
  }

  div#modal3 .dialog-close {
    font-size: 22px;
  }
}

@media (orientation: landscape) and (min-width: 960px) {
  div#modal3 .columns {
    padding-top: 50px;
  }

  div#modal3 .column {
    float: left;
    width: 50%;
  }

  div#modal3 p.score {
    margin-top: 50px;
    margin-bottom: 30px;
  }

  div#modal3 .dialog-close {
    margin-bottom: 0;
  }
}

@media (orientation: landscape) and (min-width: 960px) and (min-height: 700px) {
  div#modal3 .columns {
    display: flex;
    height: 100%;
    align-items: center;
    padding-top: 0;
  }
}
