{%load static %}

/* HTML and body */
html{
    /* width: 100%; */
    height:100%;
}
body{
    height:auto;
}


body{
    padding-top: 75px;
    padding-bottom: 80px;
    margin-bottom: 60px; 
    /* margin-top: 70px; */
}
/*
@media screen and (max-width: 768px) {
    body { padding-top: 80px; }
}
*/

/* Sections Styles */

#page-content {
  flex: 1 0 auto;
}


div.project_header_paragraph{
    text-align: center;
    position: relative;
    left: 0%;
    height: auto;
    overflow:auto;
    width:100%;
    color: navy;
    font-family: cursive;
    font-weight:bold;
}

div.user_accounts{
    border: solid 1pt gray;
    border-radius: 5px;
    background-color: #cfe5fa;
    color: navy;
    position: relative;
    float: right;
    top: -20px;
    margin: 3px;
    padding: 5px;
}



footer {
    position: fixed;
    width:100%;
    left: 0;
    bottom: 0;
    background-color: darkblue;
    color: white;
    margin-top: 20px;
    padding-top: 5px;
    font-size: 0.45em;
    flex-shrink: none;
    height:40px;
}

/* Logo and Image Styles */

.project_logo{
    width: 64px;
    height: auto;
    margin: 1px;
}


/*Button Styles */

.button-group-vertical{
 position: relative; 
 left: 10px; 
 top: 10px;
}

.button-group-vertical p {
  margin: 5px;
}


/* Overriding Bootstrap styles and customizations */
$custom-file-text:{
en: "Choose X-ray",
es: "Elegir",
fr: "Choisir"
}

/*For FontAwesome */

i {
    font-family: FontAwesome;
    font-style: normal;
    margin: 0 2px 0 2px;
}  


/*Styling for registry_site/faq.html */


.faq-card-body{
    padding: 5px;
}

.faqHeader {
    font-size: 27px;
    margin: 20px;
}

.panel-heading [data-toggle="collapse"]:after {
    font-family: 'Glyphicons Halflings';
    content: "e072"; /* "play" icon */
    float: right;
    color: #F58723;
    font-size: 18px;
    line-height: 22px;
    /* rotate "play" icon from > (right arrow) to down arrow */
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

.panel-heading [data-toggle="collapse"].collapsed:after {
    /* rotate "play" icon from > (right arrow) to ^ (up arrow) */
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
    color: #454444;
}


/*Django Alert Styling*/
ul.errorlist li,
.helptext {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
  padding: 2px;
  margin: 1px;
  font-style:italic;
  font-size: small;
  border-radius: 3px;
}


/* Django Form required fields styling */
.reqInput::before,
.reqInput::after {
    content: "*Required";
    color:red;
    font-size: small;
    font-style:italic;
    text-align: right;
}

/* Responsive Form Layout */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group td {
    display: block;
    width: 100%;
}

.form-group .field-wrapper {
    margin-top: 0.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group input[type="file"],
.form-group select,
.form-group textarea {
    width: 100%;
    max-width: 600px;
    padding: 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    font-size: 1rem;
    line-height: 1.5;
}

.form-group textarea {
    min-height: 100px;
}

/* Checkbox and Radio Button Styling */
.form-group input[type="checkbox"],
.form-group input[type="radio"] {
    width: auto;
    margin-right: 0.5rem;
    vertical-align: middle;
    cursor: pointer;
    display: inline-block;
}

/* Single checkbox/radio field wrapper */
.form-group .field-wrapper input[type="checkbox"],
.form-group .field-wrapper input[type="radio"] {
    margin-top: 0.5rem;
}

/* Checkbox list container */
.form-group ul {
    list-style: none;
    padding-left: 0;
    margin-top: 0.5rem;
}

.form-group ul li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.form-group ul li label {
    margin-bottom: 0;
    font-weight: normal;
    cursor: pointer;
    display: inline;
}

/* Django checkbox field structure - label contains the input */
.form-group label input[type="checkbox"],
.form-group label input[type="radio"] {
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* Checkbox-specific form group styling */
.form-group-checkbox .checkbox-inline-label {
    display: inline-flex;
    align-items: center;
    font-weight: normal !important;
    cursor: pointer;
    margin-bottom: 0.5rem;
}

.form-group-checkbox .checkbox-label-text {
    font-weight: normal;
    margin-left: 0.5rem;
}

.form-group-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    vertical-align: middle;
    cursor: pointer;
}

/* Help text */
.form-group .helptext {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #6c757d;
    background-color: transparent;
    padding: 0;
}

/* Select dropdowns */
.form-group select[multiple] {
    min-height: 150px;
}

/* File input styling */
.form-group input[type="file"] {
    padding: 0.375rem;
}

/* Responsive breakpoints */
@media (max-width: 768px) {
    .form-group input[type="text"],
    .form-group input[type="number"],
    .form-group input[type="email"],
    .form-group input[type="date"],
    .form-group input[type="file"],
    .form-group select,
    .form-group textarea {
        max-width: 100%;
    }

    .form-group label {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .form-group {
        margin-bottom: 1rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.95rem;
    }
} 
