﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

/* Splash screen */
.splashBackground {
    background-color: #EFEFEF;
    opacity: 0.7;
}

input.errorBox {
    border: 2px solid #FF0000;
}


div.errorCheckbox {
    color: #FF0000 !important;
}

div.errorCheckbox a {
    color: #FF0000 !important;
}

.IpDescription {
    padding: 1em !important;
    background-color: #eaeaea;
    border-radius: 0.5em;
    margin: 1em;
}

.clickable, .clickableExtend {

    cursor:pointer;

}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Stripped divs */
.stripe {
    margin-left: 0 !important;
    padding: 0.5em;
   
}

.short {

    width:200px;

}

div.stripe:nth-child(even) {
    background-color: #dcdcdc;
}

div.stripe:nth-child(odd) {
    background-color: #eaeaea;
}
div.stripe.rankingHeader {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    background-color: inherit !important;
    font-size:0.8em;
}

ul.sortable {
    list-style-position: inside;
    list-style: none;
    margin: 0px;
    padding: 0px;
}
ul.sortable li {
    background-color:#e5e5e5;
    padding: 1.5em;
    border-bottom:2px solid #808080;
}
ul.sortable li:last-of-type {

    border-bottom:0px solid #808080;
    border-bottom-left-radius:0.5em;
    border-bottom-right-radius:0.5em;
}
ul.sortable li:first-of-type {

  
    border-top-left-radius:0.5em;
    border-top-right-radius:0.5em;
}
.sortable-ghost {
    background-color:#31684d!important;
    color:#FFF;
} /* Class name for the drop placeholder*/
.sortable-chosen {
    background-color: #000!important;
    color: #FFF;
} /* Class name for the chosen item*/
.sortable-drag {
    background-color: #31684d!important;
    color: #FFF;
}

.NASignUpHolder {

    display:block;
    margin-left:auto;
    margin-right:auto;

}


.vertical-text {
    position: relative;
    writing-mode: vertical-lr;
    transform-origin: top left;
    text-align: end;
    /*
    
    transform: rotate(-90deg);
       transform-origin: top left;
    position: absolute;
    bottom: -15px;
    left: 10px;
    */

    font-size: 1em;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 16px;
}
/*@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}*/

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}



figure.image-style-align-left > img {

    float:left;
    margin-bottom:1em;
    margin-right:1em;
    
}

figure.image-style-align-right > img {
    
    float: right;
    margin-bottom: 1em;
    margin-left: 1em;
}
p {
   
   

}
div {
    clear: both;
}

figure img{
    width: 100%;
}

/* Mobile optimised multi-choice one answer */
@media screen and (max-width: 576px){
    .mCSA > input:checked + label, .mCMA > input:checked + label {
        display: inline-block;
        font-weight: 400;
        text-align: center;
        vertical-align: middle;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        background-color: #28a745;
        border: 1px solid #28a745;
        padding: .375rem .75rem;
        line-height: 1.5;
        border-radius: .25rem;
        transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
        color: #fff;
    }
    .mCSA > input + label, .mCMA > input + label {
        display: inline-block;
        font-weight: 400;
        text-align: center;
        vertical-align: middle;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        background-color: #6c757d;
        border: 1px solid #6c757d;
        padding: .375rem .75rem;
        line-height: 1.5;
        border-radius: .25rem;
        transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
        color: #fff;
    }
    .mCSA > label, .mCMA > label {
        width: 100%;
        cursor: pointer;
    }
    .mCSA > input, .mCMA > input {
        opacity: 0;
        position: absolute;
    }
}