﻿/* Override bootstrap container */
@media (min-width: 1250px) {
  .container {
    width: 1220px;
  }
}

.view-hotels-modal {
    width: 900px;
}

.roll-dice-modal {
    width: 570px;
}

.dice-faces {
    height: 85px;
}

.select-money-modal {
    width: 700px;
}

.invite-modal {
    width: 400px;
}

/* Override bootstrap modal-dialog width */
@media (max-width: 768px) {
  .view-hotels-modal {
    width: 350px;
  }

  .roll-dice-modal {
    width: 300px;
    height: 600px;
  }
  
  .dice-faces {
    height: 155px;
  }

  .select-money-modal {
    width: 350px;
  }
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding: 5px 35px 20px 35px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column and fixed side
*/

dl {
    display: flex;
    flex-wrap: wrap;
}

dt {
    width: 55%;
    text-align: right;
    margin-right: 10px;
}

dd {
    margin-left: auto;
    width: 45%;
}

.dt-short {
    width: 33%;
}

.dd-short {
    margin-left: auto;
    width: 66%;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.flag {
    width: 21px;
    height: 16px;
    margin-right: 15px;
}

.flag-chat {
    margin-right: 5px;
    margin-left: 5px;
    width: 16px;
    height: 12px;
    margin-top: 0
}

.navbar-avatar {
    max-width: 30%;
    padding: 0;
}

.footer {
    background-color: #42444f;
    color: #acadb1;
    font-size: 15px;
    font-weight: bold;
    padding: 30px 35px;
    /*margin:0 10px 20px 10px;*/
    margin: 0;
}

.title-box {
    font-size: 25px;
    padding: 15px;
    background-color: #42444f;
    color: #fff;
    font-weight: 700;
}

.title-box a {
    color: #fff;
    text-decoration: none;
}

/* Views styles */
div.user-list, div.messages {
    padding-top: 10px;
}

li.user-list-entry {
    margin-left: 0;
    font-weight: bold;
    border-bottom: 1px solid #ccc;
}

li.user-list-entry:last-child {
  border: none;
}

div.message {
    padding-left: 25px;
    padding-bottom: 10px;
    margin-right: 0;
}

div.message span.user-name {
    color: red;
}

div.message span.date {
    color: blue;
    white-space: pre;
}

div.activity-container,
div.messages-container {
    min-width: 300px;
    max-height: 250px;
    width: 100%;
    max-width: 1200px;
    border: 2px solid;
    border-radius: 25px;
    border-spacing: 10px 50px;
}

div.user-list-container {
    height: 250px;
    border: 2px solid;
    border-radius: 25px;
    border-spacing: 10px 50px;
}

div.global-chat {
    max-height: 600px;
}

input.input-message {
    display: inline-block;
    margin-right: 10px;
    width: 79%;
    max-width: none;
}

input.message-submit {
    display: inline-block;
    width: 19%;
    min-width: 100px;
}

img.user-colour-square {
    vertical-align: middle;
    margin-right: 5px;
}

img.user-colour-square.colour-not-available {
    opacity: 0.3;
}

/* Animation of current colour */
@-webkit-keyframes pulse {
    0% { -webkit-transform: scale(1); transform: scale(1); }
    50% { -webkit-transform: scale(1.2); transform: scale(1.2); }
    100% { -webkit-transform: scale(1); transform: scale(1); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

img.user-colour-square.current {
    -webkit-animation-duration: 1s;
    -moz-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-timing-function: ease-in-out;
    -moz-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-animation-iteration-count:infinite;
    -moz-animation-iteration-count:infinite;
    animation-iteration-count:infinite;
    -webkit-animation-name: pulse;
    -moz-animation-name: pulse;
    animation-name: pulse;
}

img.user-colour-square.selectable {
    cursor: pointer;
}

/* Animation for pulse text */
@-webkit-keyframes pulse_small {
    0% { -webkit-transform: scale(1); transform: scale(1); }
    50% { -webkit-transform: scale(1.05); transform: scale(1.05); }
    100% { -webkit-transform: scale(1); transform: scale(1); }
}

@keyframes pulse_small {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse-animation {
    -webkit-animation-duration: 1s;
    -moz-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-timing-function: ease-in-out;
    -moz-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-name: pulse_small;
    -moz-animation-name: pulse_small;
    animation-name: pulse_small;
}

div.note-block {
    display: inline-block;
}

div.note-selector {
    padding-top: 5px;
    text-align: center;
}

span.note-qty {
    vertical-align: middle;
    padding-left: 10px;
    padding-right: 10px;
}

img.plus-minus-button {
    vertical-align: middle;
    cursor: pointer;
}

div.spaced-row {
    padding-top: 10px;
    padding-bottom: 10px;
}

div.diceFace {
    width: 85px;
    display: inline-block;
}

select.entranceSelectorVisible {
    display: initial;
}

select.entranceSelectorHidden {
    display: none;
}

.fancy-checkbox {
    width: 2em;
    margin: 0;
    padding: 0;
    font-size: 1em;
    opacity: 0;
}

.fancy-checkbox + label {
    display: inline-block;
    margin-left: -2em;
    line-height: 1.5em;
}

.fancy-checkbox + label > span {
    display: inline-block;
    width: 0.975em;
    height: 0.975em;
    margin: 0.25em 0.5em 0.25em 0.25em;
    border: 0.0625em solid rgb(192,192,192);
    border-radius: 0.25em;
    background: rgb(224,224,224);
    background-image: -moz-linear-gradient(rgb(240,240,240),rgb(224,224,224));
    background-image: -o-linear-gradient(rgb(240,240,240),rgb(224,224,224));
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgb(240,240,240)), to(rgb(224,224,224)));
    background-image: -webkit-linear-gradient(rgb(240,240,240),rgb(224,224,224));
    background-image: linear-gradient(rgb(240,240,240),rgb(224,224,224));
    vertical-align: bottom;
}

.fancy-checkbox:checked + label > span {
    background-image: -moz-linear-gradient(rgb(224,224,224),rgb(240,240,240));
    background-image: -o-linear-gradient(rgb(224,224,224),rgb(240,240,240));
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgb(224,224,224)), to(rgb(240,240,240)));
    background-image: -webkit-linear-gradient(rgb(224,224,224),rgb(240,240,240));
    background-image: linear-gradient(rgb(224,224,224),rgb(240,240,240));
}

.fancy-checkbox:checked + label > span::before {
    content: '✓';
    display: block;
    width: 1em;
    color: rgb(153,204,102);
    font-size: 0.875em;
    line-height: 1em;
    text-align: center;
    text-shadow: 0 0 0.0714em rgb(115,153,77);
    font-weight: bold;
}

.board-container {
    padding-bottom: 10px;
}

.board-image {
    background-image: url("../Images/Board.png");
    background-size: contain;
}

.radio-inline {
    flex: 0 0 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}