.overlay {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    opacity: .6;
    cursor: pointer!important;
    display: none;
}

html.battleship_modal .overlay { display: block; }

div.battleship_modal {
    width: 300px;
    padding: 50px;
    position: absolute;
    top: 100px;
    left: 50%;
    margin-left: -150px;
    background: url(/lib/battleship-challenge/assets/images/MessageFrame.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    font-family: helvetica;
    line-height: 1.6em;
    color: #fff;
    font-weight: bold;
    -webkit-user-select: none;
    cursor: default;
    border-radius: 10px;
    font-size: 16px;
    transition: opacity .3s ease-in-out;
    opacity: 0;
    text-align: center;
    z-index: 1000;
}
div.battleship_modal ol {
    text-align:left;!important;
}
div.battleship_modal.show {
    opacity: 1;
}

#game-wrapper {
    position: relative;
    display: inline-block;
}

#prompt {
    position: absolute;
    padding: 40px 50px;
    color: #fff;
    font-family: helvetica;
    line-height: 1.6em;
    border-radius: 10px;
    text-align: right;
    margin-left: -250px;
    display: none;
    top: 100px;
    width: 500px;
    left: 50%;
    z-index: 1000;
    background: url(/lib/battleship-challenge/assets/images/MessageFrame.png);
    background-size: 100% 100%;
    cursor: default!important;
}

#prompt p {
    text-align: left;
    font-size: 20px;
    margin-top: 20px;
    color: #fff;
}

#answer-feedback  {
    font-family: groboldregular, Arial;
    font-size: 25px;
    text-align: center;
    padding: 10px;
    color: #f3494b;
    border-radius: 3px;
    margin-bottom: 10px;
    position: absolute;
    top: 55px;
    width: 100%;
    font-weight: bold;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #fff;
}

#prompt input {
    width: 300px;
    display: block;
    padding: 13px;
    border-radius: 4px;
    border: 1px solid #ddd;
    width: 100%;
    border: 1px solid #252426;
    outline: none;
    color: #333;
    font-size: 20px;
    background: #fff;
    transition: all .3s ease-in-out;
}

#prompt .input-wrapper.error button {
    visibility: hidden!important;
}

#prompt .input-wrapper.error input {
    box-shadow: 0 0 0 3px #f3494b inset, 0 0 0 3px #f3494b, 0 0 0 5px black, 0 0 0 5px black inset;
    border: 1px solid #f3494b;
}

#game button {
    padding: 10px;
    margin-left: 1.6em;
    border: none;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 5px;
    margin-left: 1.6em;
    cursor: pointer;
    background: #EA4600;
    outline: none;
}

#prompt button.cancel {
    background: #888;
}

#prompt div.input-wrapper {
    position: relative;
    visibility: visible;
    background: transparent;
}


#contenido{
    width: 100%;
    overflow: hidden;
    text-align: center;
    position: relative;
    z-index: 100;
}
.adsense-120x600{
    width: 120px;
    height: 600px;
    background-color: #DDD;
    margin: 0 15px;
    position: absolute;
    top: 0;
}
.adsense-right {
    right: 0;
}

select {
    width: 100%;
    height: 200px;
    font-size: 16px;
    margin-bottom: 10px;
}

option {
    padding: 3px 10px;
}

.input-wrapper.error {
    background: #964242;
    border-radius: 3px;
    visibility: hidden;
}

.close {
    background: #999;
}

.dropdown-menu>li>span {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}

.popover {
    padding: 10px!important;
}

.popover-close-button {
    position: absolute;
    right: 0px;
    top: 0px;
    display: inline-block;
    font-size: 1.2em;
    line-height: 1.2em;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border: none;
    cursor: pointer;
    color: #555;
    border-radius: 0 5px 0 0;
    background: white;
}

.bootbox.modal {
    z-index: 10000;
}

canvas.attack {
    cursor: url(../assets/images/target.png) 30 30, auto!important;
}

#menu-help {
    position: absolute;
    color: #000;
    line-height: 1em;
    text-align: left;
    background: #f0efef;
    border-radius: 5px;
    font-family: Arial, Helvetica, sans-serif;
    padding: 10px;
    left: 50%;
    width: 600px;
    margin-left: -300px;
}

#menu-help h1 {
    font-size: 3em;
    font-family: Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    color: #000;
}
#menu-help p,#menu-help li {
    line-height:24px;
    font-size:20px;
    font-family: Arial, Helvetica, sans-serif;
    color: #000;
}

#help {
    width: 600px;
    margin-left: -300px;
}

#help h1 {
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

.invites .badge {
    background: red;
}
.tooltip-inner {
   padding: 10px;
   font-weight:bold;
   font-size:16px;
}

#rule {
    position: absolute;
    visibility: hidden;
    height: auto;
    width: auto;
    white-space: nowrap; /* Thanks to Herb Caudill comment */
    font-size: 20px;
}

#prompt .accent_buttons {
    height: 35px;
    margin: 10px 0 20px 0!important;
}
#prompt .accent_buttons .accent_button:first-child:before {
    content: "";
}
#prompt button.accent_button {
    top: initial;
    text-indent: 0;
    width: auto;
    width: 35px;
    height: 35px;
    background: rgb(233, 72, 39);
    color: #fff!important;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: green;
    outline: none;
    cursor: pointer;
    margin-left: 1px;
    border-radius: 3px!important;
}

#prompt .current_accent {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.66) inset!important;
}
