﻿/* 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. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.content {
    max-width: 500px;
    align-self: center;
    background-color: #fffae8 !important;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

a.suggestionBtn {
    display: block;
    width: 100%;
    height: 30px;
    margin: 3px;
    color: white;
    font-style: oblique;
    background-color: #2244bb;
    border-color: #2244bb;
    border-width: 1px;
    border-style: solid;
    border-radius: 2px;
}

.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;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

body {
    background-color: #e5e5e5;
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

@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;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

/* stuff for payment method "buttons" */
.col img {
    height: 100px;
    width: 100%;
    cursor: pointer;
    transition: transform 1s;
    object-fit: cover;
}

.col label {
    overflow: hidden;
    position: relative;
}

.pmimg + label > img {
    max-height: 50px;
    width: auto;
}

.pmimg:checked + label {
    opacity: 1;
}
.pmimg:checked + label > img {
    /*transform: scale(0.9); */
    opacity: 0.9;
    border-color: cornflowerblue;
    border-width: 2px;
    border-style: solid;
}

/* custom select */
/*
.selectLabel {
    display: block;
    font-weight: bold;
}*/

.selectWrapper {
    position: relative;
}

.selectNative,
.selectCustom {
    position: relative;
}
.selectCustom {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}
@media (hover: hover) {
    .selectCustom {
        display: block;
    }
}
@media (hover: hover) {
    .selectNative:focus + .selectCustom {
        display: none;
    }
}

.selectCustom-trigger {    
    background-color: #fff;
    border: 1px solid #6f6f6f;
    border-radius: 0.1rem;
    cursor: pointer;
}

.selectCustom-trigger {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #fff;
    padding: 0.2rem 0.2rem;
}

.selectCustom-value::after {
    content: "\2304";
    position: absolute;
    top: 0;
    right: 0.3rem;
}

.selectCustom-trigger:hover {
    border-color: #8c00ff;
}

.selectCustom-options {
    position: absolute;
    /*top: 2rem;
    left: 0;*/
    width: 100%;
    border: 1px solid #6f6f6f;
    border-radius: 0.2rem;
    background-color: #fff;
    box-shadow: 0 0 4px #e9e1f8;
    z-index: 1;
    padding: 0.2rem 0;
    display: none;
}

.selectCustom.isDroppedDown .selectCustom-options {
    display: block;
}

.selectCustom-option {
    position: relative;
    padding: 0.2rem;
}

.selectCustom-option:hover {
    background-color: #a0e0ff;
}

.selectCustom-option:not(:last-of-type)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0.2rem;
    width: calc(100% - 0.4rem);
    border-bottom: 1px solid #d3d3d3;
}
