/* Only change items in root section. They will be particular to the site in question */
@import url('root.css');

div {
	border: 0px solid black;
}

.title, h1 {
	font-size: 24pt;
    font-family: var(--fontheaders);
	float: left;
	font-weight: bold;
	color: white;
	text-shadow: 7px 7px 5px black;
}

.menubar {
	width: 95%;
	background: var(--bottomandmenubar);
	border: 2px solid #666;
	padding: 10px;
	font-weight: bold;
}

.maincontent {
	width: 95%;
    background-color: var(--maincontentclr);
    border: 2px solid #666;
	margin-top: 10px;
	margin-bottom: 10px;
	padding: 10px;
	padding-bottom: 20px;
}

.messagebar {
	margin-top: 5px;
	margin-bottom: 10px;
	background: maroon;
	padding: 7px;
	font-size: 10pt;
	font-weight: bold;
	color: white;
}

.top {
	width: 95%;
	margin-bottom: 5px;
	overflow: auto;
}

.bottom {
	width: 95%;
    background: var(--bottomandmenubar);
	border: 2px solid #666;
	margin-bottom: 15px;
	margin-top: 5px;
	padding: 10px
}

/* text sizes */

span {
	font-style: normal;
}

.big {
	font-size: 22pt;
    font-family: var(--fontheaders);
	/* color: var(--clr); */
}

.med {
	font-size: 14pt;
}

.small {
	font-size: 10pt;
}

a {
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
}

a.white {
	color: white;
}

a:hover.white {
	text-decoration: none;
}

/* Main content window classes */
.headrow {
	font-size: 10pt;
	color: white;
	font-weight: bold;
}

.avatar {
	vertical-align: top;
	margin: 0px 0px 0px 0px;
	border-radius: 50%;
}

.message {
	border: 4px solid #666;
	background-color: var(--clr);
	color: white;
	font-style: normal;
	font-weight: bold;
	font-size: 12pt;
	padding: 10px;
	margin-bottom: 20px;
}

.error {
	border: 4px solid var(--clr);
	background-color: #900d0d;
	color: white;
	font-style: normal;
	font-weight: bold;
	font-size: 12pt;
	padding: 10px;
	margin-bottom: 20px;
}

hr {
	height: 4px;
	margin-left: 0;
}

/* FORM ELEMENTS */

.textbox {
	margin-bottom: 16px;
	font-size: 12pt;
	font-family: var(--font);
	color: black;
	background: white;
	border: 1px solid black;
}

#sm {
	margin-top: 0px;
	font-size: 10pt;
	border: 0px solid black;
}

.button {
	/* font-weight: bold; */
	font-size: 12pt;
	color: white;
	/* background-color: var(--clr); */
}

.container {
	width: 100%;
	display: block;
	overflow: auto;
}

.content1 {
	padding-right: 60px;
	float: left;
    text-align: left;
	vertical-align: top;
}

.content2 {
	float: right;
	text-align: right;
}


.blink_me {
	animation: blinker 1s linear infinite;
	color: maroon;
}
  
@keyframes blinker {
	50% {
		opacity: 0;
	}
}


/* Styling for the IP popup: added 10/20/24 */
.ip-popup {
    position: absolute;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    display: none;
    z-index: 1000;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.ip-address {
    cursor: pointer;
}


/* added 10/23/24 */
table {
    border-collapse: collapse;
    font-size: 10pt;
}
th, td {
    border: 1px solid #000;
    padding: 3px;
    position: relative;
}

/* added 11/7/24 */
#drop-zone {
    flex: 1;
    width: 200px;
    height: 50;
    border: 2px dashed #000;
	padding: 20px;
	text-align: center;
	font-size: 22px;
}

#drop-zone.dragover {
    background: #e1e1e1;
    border-color: #999;
}

#drop-zone.hover {
	background-color: #f0f0f0;
    border-color: #999;
}

.avatar-upload-container {
    display: flex;
    align-items: center; /* Vertically centers the items */
    gap: 20px; /* Adds space between the avatar and drop-zone */
}

.table-thin {
    /* width: 100%; */
    max-width: 400px;
    /* margin: 0 auto; */
    border: 2px solid #000;
    font-size: 12px;
}

.row {
    display: flex;
    border-bottom: 1px solid #000;
}

.row:last-child {
    border-bottom: none;
}

.cell {
    flex: 1;
    padding: 4px;
    border-left: 1px solid #000;
    word-break: break-word;
}

.responsive-break {
    display: none;
}

.table {
    border: 2px solid #000;
    font-size: 13px;
}

.header {
    display: flex;
    background: var(--clr);
    color: white;
    padding: 4px;
    font-weight: bold;
}

.label-cell {
    flex: 0 0 10%;
    border-right: 0px solid #000;
}

.content-cell {
    flex: 1;
}

.thin-cell {
    padding: 4px;
    flex: 0 0 10%;
}

/* added 5/19/25 */

.warning-box {
    background-color: #fff3cd;
    border: 5px solid #fcdf80;
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    width: 600px;
}
.danger-box {
    background-color: #f8d7da;
    border: 5px solid #f97683;
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    width: 600px;
}
.delete-btn {
    background-color: #e14e5c;
    color: black;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin: 10px 5px;
}
.delete-btn:hover {
    background-color: #c82333;
}

.big {
	color: var(--clr);
}

a {
	color: var(--clr);
}

hr {
	background-color: var(--clr);
}

.button {
	color: white;
	background-color: var(--clr);
}

.upload {
	background-color: var(--clr);
}

body {
	font-family: var(--font);
	margin: 10px 5px 0px 15px;
	
	/* Location of the image */
	background-image: var(--bkimg);
    
	/* Background image is placed top left and will not move from that */
	background-position: left top;
	
	/* Background image doesn’t tile */
	background-repeat: no-repeat;
	
	/* Background image is fixed in the viewport so that it doesn’t move when
	the content’s height is greater than the image’s height */
	background-attachment: fixed;
	
	/* This is what makes the background image rescale based
	on the container’s size */
	background-size: contain;
	
	/* Set a background color that will be displayed
	while the background image is loading */
	background-color: var(--bkclr);
}
	
@media only screen and (max-width: 700px) {
    body {
    /* The file size of this background image is 93% smaller
    to improve page load speed on mobile internet connections */
    background-image: var(--bkimgsm);
    }

    .column-toggle .hide-mobile {
        display: none;
    }

    .column-toggle .show-mobile {
        display: block;
    }

    .column-toggle.ip-address {
        display: none;
    }

    .title, h1 {
        font-size: 16pt;
    }

    .row {
        flex-direction: column;
        padding: 2px;
        border-bottom: 1px solid #000;
        font-size: 13px;
    }

    .cell {
        padding: 1px 0;
        border: none;
    }

    .cell::before {
        content: attr(data-label);
        font-weight: bold;
        display: inline-block;
        /* width: 120px; */
    }

    .responsive-break {
        display: inline;
    }

    
    .label-cell {
        flex: 0 0 auto;
    }
}

