@import url(https://fonts.googleapis.com/css?family=Lato:300,400,700);

body {
    /*font-family: 'Lato', sans-serif; */
    padding: 0;
    box-sizing: border-box;
    background: linear-gradient(to top right, #a41a47, #5a1679) fixed;
}

a {
    color: #00B7FF;
}

img, video, canvas {
    width: 70%;
}

.animatedCirclesContainer .lottie {
    width: 100%;
    height: 100%;
    bottom: 0;
    right: 0;
    position: relative;
}

.animatedCirclesContainer .lottie canvas {
    position:absolute;
    bottom: -5%;
}

/*Structure*/
/*.painTypeImageSelectorContainer input {
  display:none;
}*/


.instructions {
    font-size:25px;
}

.error-message {
    color: #8b1b58;
    text-align: center;
    justify-content: center;
}

.col-lg .whiteBoxContainer {
    width: unset;
}

.whiteBoxContainer {
    width: 80vw;
    margin-right: auto;
    margin-left: auto;
    padding: 7vmin 3vw;
    background-color: white;
    opacity: 90%;
    border-radius: 50px;
    text-align: center;
    box-shadow: 5px 5px 5px rgb(51, 10, 37);
    font-family: 'Lucida Grande', 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Sans', Arial, sans-serif;

}

.btn-gradient {
    background-color: #821a5e;
    background-image: linear-gradient(to top right, #a41a47, #5a1679);
    font-family: 'Lucida Grande', 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Sans', Arial, sans-serif;
    font-weight: bold;
    color: white;
    border-radius: 50px;
    text-align: center;
}

.btn-gradient:hover,
.btn-gradient.active {
    filter: brightness(125%)
}

.btn-white {
    background-color: white;
    font-family: 'Lucida Grande', 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Sans', Arial, sans-serif;
    font-weight: bold;
    color: #2b2630;
    border-radius: 10px;
    text-align: center;
}

.btn-save {
    background-color: #5a1679;
    font-family: 'Lucida Grande', 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Sans', Arial, sans-serif;
    font-weight: bold;
    color: white;
    border-radius: 10px;
}

.btn-cancel {
    background-color: #a41a47;
    font-family: 'Lucida Grande', 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Sans', Arial, sans-serif;
    font-weight: bold;
    color: white;
    border-radius: 10px;
}

.btn-save:hover,
.btn-save.active {
    filter: brightness(125%)
}

.btn-cancel:hover,
.btn-cancel.active {
    filter: brightness(125%)
}

.home-logo {
    max-width: 100%;
    width: 60vw;
    height: 60vw;
    margin-left:auto;
    margin-right:auto;
    max-height: 90%;
}

#animatedp {
    width: 100%;
    height: 100%;
    margin: auto
}

.sliderLabel {
    text-align: center;
    font-size: 20px;
    font-style: italic;
    color: #aaa;
    margin-bottom: 30px;
}

.sliderLabel {
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    0%, 25% {
        text-shadow: 0 0 15px #56C6FF;
    }
    25%, 100% {
        text-shadow: 0 0 0px #56C6FF;
    }
}

.centeredSmallImages {
    text-align: center;
}

.centeredSmallImages div {
    display: inline-block;
    margin-bottom: 4px;
}

.powered-by-img {
    object-fit: contain;
    width: 60%;
    min-width: 11.27rem;
    min-height: 2rem;
}

img.powered-by-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.nextPrevContainer {
    padding: 9px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    pointer-events: none;
}

.animatedCircles {
    width: 25vw;
    height: 25vw;
    min-height: 13em;
    min-width: 13em;
}

.animatedCirclesContainer {
    position: fixed;
    right: 0;
    bottom: -20px;
    width: 25vmax;
    height: 25vmax;
    min-height: 13em;
    min-width: 13em;
    pointer-events: none;
    z-index: -1;
}

.navBtn {
    width: 6vmax;
    height: 6vmax;
    min-height: 3em;
    min-width: 3em;
    border: none;
    background: none;
    cursor: pointer;
    pointer-events: auto;
    position: fixed;
    bottom: 0.4vmax;
    justify-self: flex-end;
    margin-bottom: 0;
}

.navBtn:focus {
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(0,123,255,.25);
}

.navBtn img {
    width: 100%;
    height: 100%;
}

.navBtn p {
    position: absolute;
    top: 50%;
    left: 50%;
    font-family: 'Lucida Grande', 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Sans', Arial, sans-serif;
    font-size: 1.5vmax;
}

.nextBtn p {
    transform: translate(-60%, -50%);
    color: white;
}

.prevBtn p {
    transform: translate(-40%, -50%);
    color: #a41a47;
}

.navBtn:disabled {
    opacity: 0.5;
}

.btn[disabled] {
    opacity: .25;
}

.padded {
    margin: 0 20px;
}

header {
    background-color: #17a2e3;
    color: #fff;
    padding: 5px;
}

header h1 {
    font-weight: 700;
    font-size: 30px;
    margin: 0;
}

.question {
    padding: 10px 20px;
    font-size: 32px;
    font-weight: 100;
    border-bottom: 1px solid gray;
    margin-bottom: 20px;
}

nav a {
    color: #004c6f;
}

nav ul {
    list-style-type: none;
}

nav ul li {
    float: left;
    margin-right: 20px;
}

.title {
    float: left;
}

.painTypeImageSelectorContainer .selected img {
    border: 4px solid black;
}

.painTypeImageSelectorContainer img {
    border-radius: 20px;
}

.stored-pain {
    border-radius: 10px;
    border: grey 1px;
}

.savedPainsBG {
    padding-top: 10px;
    width: 100%;
    min-height: 140px;
    background: #f6f8f9; /* Old browsers */
    background: -moz-linear-gradient(top, #f6f8f9 0%, #e5ebee 50%, #d7dee3 51%, #f5f7f9 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #f6f8f9 0%, #e5ebee 50%, #d7dee3 51%, #f5f7f9 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #f6f8f9 0%, #e5ebee 50%, #d7dee3 51%, #f5f7f9 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    border: 2px solid #aaa;
    border-radius: 10px;
    padding-bottom: 20px;
}

.savedPains canvas, .savedPains img {
    border-radius: 10px;
}

.likert label {
    max-width: 18%;
    min-width: 6em;
}

.row {
    margin-right: 0;
    margin-left: 0;
}

.painIntensityControls {
    display: flex;
    flex-direction: column;
}

.controlHolder {
    display: none;
    margin-top: 25px !important;
    margin-bottom: 10px !important;
}

#editPainCanvas > .controlHolder {
    display: block;
    margin-top: 25px !important;
    margin-bottom: 10px !important;
}

.savedPains {
    width: 100%;
}

#painTypeCarousel {
    text-align: center;
}

.carousel-indicators li {
    height: 6px;
}

.carousel-control-next:hover, .carousel-control-prev:hover {
    background: rgba(255, 255, 255, 0.2);
}

.carousel-indicators .selected-animation {
    background: rgba(0, 128, 0, 0.5);
    border: white 1px solid
}

.carousel-indicators .active.selected-animation {
    background: green;
}

#fader {
    display: flex;
    display: -webkit-flex;
    display: -moz-flex;
}

.modal {
    display: block;
    text-align: center;
    padding: 0px!important;
}

.modal-content {
    padding: 4vmin;
    border-radius: 30px;
}

.modal::before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}
  
.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

.fade.in {
    opacity: 1;
}

.modal.in .modal-dialog {
  -webkit-transform: translate(0, 0);
       -o-transform: translate(0, 0);
          transform: translate(0, 0);
}

.modal-backdrop.in {
    filter: alpha(opacity=50);
    opacity: .5;
}

.pain-checkmark {
    position: absolute;
    visibility: hidden;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: green;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

.material-icons.md-48 {
    font-size: 48px;
}

.pain-selection-p5 {
    padding: 3px;
    position: relative;
}

.pain-selection-item {
    cursor: pointer;
    position: relative;
    display: block;
    margin: 10px auto;
    padding-left: 5px;
    padding-right: 5px;
}

.location-box {
    border: 5px solid #ff2d3c;
}

.form-check-label {
    display: block;
}

.review-text {
    margin: auto 5px;
}

.w-4rem {
    width: 4rem;
}

.review-pain {
    margin: 10px
}

.review-pain > div {
    margin-bottom: 1rem;
}

.review-pain p {
    margin-top: 0;
    margin-bottom: 0;
}

button:disabled {
    cursor: pointer;
    pointer-events: none;
}

/* Mobile */
@media only screen and (max-width: 575px) {
    .modal::before {
        height: 25%;
    }

    .whiteBoxContainer {
        width: 100%;
        margin-bottom: 30px;
    }

}

/* Large */
@media only screen and (min-width: 992px) {
    .home-logo {
        width: 30%;
        position: fixed;
        top: 50%;
        /*left: 50%;*/
        transform: translate(0, -50%);
    }

}