
.dark-purple { color: #3A1971; }
.medium-purple { color: #6D51B7; }
.light-purple { color: #7364D9; }
.blue { color: #8EADFF; }
.sidebar-grey { color: #F0F0F0;}
.inactive-grey { color: #BBBBBB;}
.active-grey { color: #888888;}

/***** Layout *****/
body {
    font-family: 'roboto', sans-serif;
    font-size: 0.8rem;
    line-height: 1.5em;
    letter-spacing: 0.05em;
}

.flex-container {
    display: flex;
    width: 100%;
    height: 100vh;
    flex-direction: column;
}

@media (min-width: 768px){
    .flex-container {
        flex-direction: row;
    }
}

/***** Menu *****/
.sidebar {
    display: flex;
    flex-direction: row;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, .3);
    z-index: 10;
    background-color: #F0F0F0;
}

.sidebar-item {
    width:65px;
    margin: 5px 0 3px 0;
}

.sidebar-item a {
    width:100%;
    height:100%;
    color: #BBBBBB;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-width: 0 0 3px 0;
    border-style: solid;
    border-color: #BBBBBB;
    text-decoration: none;
    font-size: 0.8em;
}

.sidebar-item a.active {
    color:  #7364D9;
    border-width: 0 0 3px 0;
    border-style: solid;
    border-color: #7364D9;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 10px 0 0;
}

@media (min-width: 768px){

    .sidebar-item {
        width:65px;
        height:42px;
        margin: 0 0 10px 0;
    }

    .sidebar-item a {
        border-width: 0 0 0 3px;
        border-bottom: none;
    }

    .sidebar-item a.active {
        border-width: 0 0 0 3px;
    }

    .sidebar {
        flex-direction: column;
        width:65px;
    }

    .logo {
        margin: 0 0 84px 0;
    }
}


/*** Content ***/
.content {
    padding: 0 20px;
    flex: 1;
    overflow-y: scroll;
}

.content-narrow {
    max-width: 960px;
}

.top-buffer { margin-top:20px; }

/*** Step Indicator ***/
.step-indicator {
    display:flex;
    list-style-type: none;
    padding: 0 0 10px 0;
}

.step-indicator-item {
    flex:1;
    flex-direction: column;
    color: #BBBBBB;
    display: flex;
    line-height: 2em;
    padding-right:10px;
}

.step-indicator:last-child {
    padding-right: 0;
}

.step-indicator-item span {
    display:inline-block;
    text-align: center;
    width: 2em;
    height: 2em;
    border-radius: 1em;
    background-color: #BBBBBB;
    color: #ffffff;
    line-height: 2em;
    font-weight: normal;
    margin-right: 0.5em;
}

.step-indicator-item hr {
    display: none;
}

@media (min-width: 768px){

    .step-indicator-item {
        flex-direction: row;
    }

    .step-indicator-item hr {
        display: inline-block;
        flex:1;
        margin-top:1em;
        margin-left:0.5em;
        height:0;
        border:0;
        border-top: 1px solid #BBBBBB;
    }
}

.step-indicator-item.active {
    font-weight: bold;
    color: #888888;
}

.step-indicator-item.active span {
    background-color: #7364D9;
    border-color: #7364D9;
}

.alert {
    padding: .75em 1.25em;
    margin: 1rem 0;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

.btn {
    display: inline-block;
    border-radius:0.25rem;
    text-align: center;
    vertical-align: middle;
    color: #FFF;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
}

.btn-primary {
    background-color: #7364D9;
}

.btn-secondary {
    background-color: #888888;
}

.btn-success {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

.btn-default {
    color: #212529;
    background-color: #f8f9fa;
    border-color: #BBBBBB;
}

.btn-wide {
    width: 100%;
}

.btn-group {
    display:flex;
    margin-bottom: 10px;
}
.btn-group-right {
    justify-content: flex-end;
}
.btn-group .btn {
    margin-right: 0.25em;
}

form {
    width: 100%;
}

.form-control {
    display: block;
    width:100%;
    padding: .375rem .75rem;
    border: 1px solid #BBBBBB;
    border-radius: 0.25rem;
    box-sizing: border-box;
    line-height: 2em;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}
.form-group label {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.form-group-inline {
    display:flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.form-group-inline label {
    flex-basis: 100%;
}
.form-group-inline p {
    flex: 1;
    text-align: center;
}
.form-group-inline .form-control {
    flex:2;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table-bordered {
    border: 1px solid #BBBBBB;
}
.table-bordered td, .table-bordered th {
    border: 1px solid #BBBBBB;
}

.table-active, .table-active>td, .table-active>th {
    background-color: rgba(0,0,0,.075);
}

.table-info, .table-info>td, .table-info>th {
    background-color: rgba(0,0,0,.075);
}

.table td, .table th {
    padding: 0.75em;
}

/* The switch - the box around the slider */
.switch-container {
    display: flex;
}
.switch-container p {
    margin:0 5px;
    line-height: 34px;
    vertical-align: middle;
}
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #7364D9;
}

input:focus + .slider {
    box-shadow: 0 0 1px #7364D9;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* wells */
.wells {
    display: flex;
    flex-wrap: wrap;
}
.well {
    flex: 1 0 40%;
    border-radius: 5px;
    border: 1px solid #BBBBBB;
    margin: 10px 5px 0 5px;
    padding: 10px;
    background-color: rgba(0,0,0,.075);
}

.well .btn {
    margin: 5px;
}