/* Preserve the original site's appearance with the maintained Bootstrap runtime.
   Bootstrap 5 changes these defaults, including an extra-wide desktop container. */
:root {
    --bs-font-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --bs-primary: #007bff;
    --bs-primary-rgb: 0, 123, 255;
    --bs-dark: #343a40;
    --bs-dark-rgb: 52, 58, 64;
    --bs-border-radius: .25rem;
    --bs-border-radius-lg: .3rem;
}
.container, .row {
    --bs-gutter-x: 30px;
}
@media (min-width: 1200px) {
    .container { max-width: 1140px; }
}
.navbar {
    --bs-navbar-padding-x: 1rem;
    --bs-navbar-color: rgba(255, 255, 255, .5);
}
.btn-primary {
    --bs-btn-bg: #007bff;
    --bs-btn-border-color: #007bff;
    --bs-btn-hover-bg: #0069d9;
    --bs-btn-hover-border-color: #0062cc;
    --bs-btn-active-bg: #0062cc;
    --bs-btn-active-border-color: #005cbf;
    --bs-btn-disabled-bg: #007bff;
    --bs-btn-disabled-border-color: #007bff;
    --bs-btn-focus-shadow-rgb: 38, 143, 255;
}
/* The old page title stayed the same size on mobile as on desktop. */
h1 { font-size: 2.5rem; }

/* Retain the original sequence form's native controls and label spacing. */
#prevent_multiple_form .form-control-label:not(.col-form-label) { margin-bottom: .5rem; }
#prevent_multiple_form .form-control {
    appearance: auto;
    color: #495057;
    border-color: #ced4da;
}
#prevent_multiple_form .form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25);
}
#prevent_multiple_form select.form-control { height: 38px; line-height: normal; }
/* Keep each number next to its radio, including when grid columns stack. */
.frame-choice {
    display: inline-flex;
    align-items: center;
    padding-left: 0;
    margin: 0 .75rem 0 0;
}
@media (max-width: 991.98px) {
    .frame-choice { width: calc(100% - .75rem); }
}
.frame-choice .form-check-input {
    appearance: auto;
    float: none;
    width: auto;
    height: auto;
    margin: 0 .3125rem 0 0;
    border: 0;
    background: none;
    box-shadow: none;
}
/* Bootstrap 4 used roomier cells, top borders, and the normal body text color. */
.primer-results {
    --bs-table-color: #212529;
    --bs-table-striped-color: #212529;
    --bs-table-striped-bg: rgba(0, 0, 0, .05);
    --bs-table-hover-color: #212529;
    --bs-table-hover-bg: rgba(0, 0, 0, .075);
}
.primer-results > :not(caption) > * > * {
    padding: .75rem;
    vertical-align: top;
    border-bottom-width: 0;
    border-top: 1px solid #dee2e6;
}
.primer-results > thead > tr > th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
}

.photo_upload {
    margin-left: 100px;
    color: red;
}





/* aa grid on popover */
.popover_aa_grid {
    /*border: red solid 2px;*/
    /*width: 150px;*/
    width: 140px;

}
/*.popover_aa {*/
    /* top right bottom left */
/*    margin: 2px 0px 0px 2px;*/
    /*padding: 0px 0px 0px 0px;*/
/*    background-color: #f0f0f0;*/
/*    width: 35px;*/
/*    height: 35px;*/
/*    font-size: 12px;*/
/*}*/

/*.popover_aa_selected:hover {*/
    /*background-color: #007bff;*/

/*    background-color: #007bff;*/
/*    color: #f0f0f0;*/


/*}*/

.popover_aa {
    font-weight: bold;
    /* top right bottom left */
    margin: 2px 0px 0px 2px;
    padding: 0px 0px 0px 0px;
    background-color: #f0f0f0;
    /*width: 35px;*/
    width: 18%;

    /*pointer-events: none;*/

    /*height: 30px;*/
    height: 25px;
    font-size: 10px;
}
.popover_wide {
    font-weight: bold;
     /*top right bottom left*/
    margin: 2px 0px 0px 21%;
    padding: 0px 0px 0px 0px;
    background-color: #f0f0f0;
    /*width: 72px;*/
    width: 57%;
    /*margin-left: 20%;*/
    /*height: 30px;*/
    height: 25px;

    font-size: 10px;

}



/*}*/
/*#popover_aa_stop {*/
/*    font-weight: bold;*/

    /*margin-left: 25%;*/
    /*margin-right: 25%;*/
    /*width: 50%;*/

    /*margin-left: 12.5%;*/
    /*margin-right: 12.5%;*/
/*    width: 100%;*/



    /*margin-left: 39px;*/
    /*color: red;*/

/*}*/


/*.popover_wider {*/
/*    font-weight: bold;*/
    /* top right bottom left */
/*    margin: 2px 0px 0px 2px;*/
    /*padding: 0px 0px 0px 0px;*/
/*    background-color: #f0f0f0;*/
/*    width: 144px;*/
/*    height: 30px;*/
/*    font-size: 10px;*/

/*}*/



.popover_aa_selected, .popover_aa_selected:hover {
    background-color: #007bff;
    color: #f0f0f0;
}
.popover_aa_original:hover {
    background-color: #f0f0f0;
    color: #007bff;

}


/* {*/
/*    background-color: #007bff;*/
/*    color: #f0f0f0;*/
/*}*/


/* format protocol page */
.protocol_step {
    margin-top: 40px;
}



/* flashed messages */
.navbar {
    margin-bottom: 65px;
}
.alert_row {
    position: absolute;
    /*margin-top: 15px;*/
    top: 70px;
    /*left: 400px;*/
    /*right: 400px;*/
    left: 20%;
    right: 20%;
    z-index: 7000;
    /*max-height: 20px;*/
}
.alert {
    /*padding-top: 25px;*/
    /*margin-top: 20px;*/
    height: 50px;
    /*margin-bottom: -50px;*/
}


/* Style the Image Used to Trigger the Modal */
#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
/*.modal-content {*/
/*    margin: auto;*/
/*    display: block;*/
/*    width: 80%;*/
/*    max-width: 700px;*/
/*}*/

/* Caption of Modal Image (Image Text) - Same Width as the Image */
/*#caption {*/
/*    margin: auto;*/
/*    display: block;*/
/*    width: 80%;*/
/*    max-width: 700px;*/
/*    text-align: center;*/
/*    color: #ccc;*/
/*    padding: 10px 0;*/
/*    height: 150px;*/
/*}*/

/* Add Animation - Zoom in the Modal */
/*.modal-content, #caption {*/
/*    animation-name: zoom;*/
/*    animation-duration: 0.6s;*/
/*}*/

/*@keyframes zoom {*/
/*    from {transform:scale(0)}*/
/*    to {transform:scale(1)}*/
/*}*/

/* The Close Button */
/*.close {*/
/*    position: absolute;*/
/*    top: 15px;*/
/*    right: 35px;*/
/*    color: #f1f1f1;*/
/*    font-size: 40px;*/
/*    font-weight: bold;*/
/*    transition: 0.3s;*/
/*}*/

/*.close:hover,*/
/*.close:focus {*/
/*    color: #bbb;*/
/*    text-decoration: none;*/
/*    cursor: pointer;*/
/*}*/

/* 100% Image Width on Smaller Screens */
/*@media only screen and (max-width: 700px){*/
/*    .modal-content {*/
/*        width: 100%;*/
/*    }*/
/*}*/

/* make jquery ui transfer div visible */
.ui-effects-transfer {
border: 1px dotted black;
}

















/* mutate aa seq page */
.aa_grid {

    /* top right bottom left */
    padding: 0px 15px 0px 15px;

    /*border: 2px solid green;*/
}
.aa_button {

    /*min-width: 3.5%;*/
    min-width: 30px;
    max-height: 50px;
    font-size: 12px;

    /* top right bottom left */
    margin: 5px 0px 0px 5px;
    padding: 0px 0px 0px 0px;
    background-color: #f0f0f0;

}
.aa_symbol {
    /*color: blue;*/
    font-weight: bold;
}
.aa_button.is-mutated { background-color: #007bff; }
.click_to_copy { cursor: pointer; overflow-wrap: anywhere; transition: color 0.5s; }
.click_to_copy.copied { color: #007bff; }
/* Retain the original form spacing after upgrading Bootstrap. */
.form-group { margin-bottom: 1rem; }
.aa_index {
    color: grey;
}
.popover-header {
    text-align: center;
}

/* mutant aa sumbols */
.has_mutation {
    color: #f0f0f0;
}

.mutant_aa {
    color: #0372ea;
}


.btn-lg {
    height: 75px;
}

#index_button {
    height: 100px;
    width: 250px;
    padding-top: 30px;
}



.form_button {
    padding-top: 20px;
}

.table_seq {
    word-wrap: break-word;
    min-width: 500px;
    max-width: 500px;

}


.invalid-feedback {
  display: block;
}


/*.invalid_form_input, {*/
/*  border-color: #dc3545;*/
/*  box-shadow: 0 0 0 0.2rem rgba(220,53,69,.25);*/
/*}*/



.extra_vspace {
    margin-top: 50px;
}

/* configure google maps */
#map {
    width: 100%;
    height: 500px;
}

/* configure google maps */
#index_map {
    width: 100%;
    height: 500px;
}



/* footer CSS: http://getbootstrap.com/examples/sticky-footer-navbar */
html {
  position: relative;
  min-height: 100%;
}
body {
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 30px;
  text-align: center;
}

.centertext {
  text-align: center;
  border: solid;
}



/* format captcha on contact page */
.captcha_row .g-recaptcha {
    margin-bottom: 15px;
    padding-left: 23%;
}












