/*
    Mevoco base style
*/

@import url(fonts.css);
body {
    margin: 0;
    padding: 0;
    font-family: "Roboto","Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana,Arial,sans-serif;
	font-weight: 400;
	font-size: 14px;
	color: #666;
    background: #fff;
    text-align: justify;
}

/* GLOBAL DEFAULTS */

h1 {
    font-weight: 300;
    font-size: 20px;
}

h2 {
	margin: 2em 0 1em 0;
	font-weight: 300;
    font-size: 18px;
}

h3 {
	margin: 0.5em 0 0.5em 0;
	font-weight: 300;
    font-size: 16px;
    font-style: italic;
}

h4 {
	margin: 0.5em 0 0.3em 0;
	font-weight: 300;
    font-size: 14px;
    font-style: italic;
    text-transform: uppercase;
}

hr {
	clear: both;
	width: 100%;
	border: none;
	border-top: 1px solid #999;
	margin: 3em 0;
}

ol {
	padding-left: 20px;
}

ol ol {
	list-style-type: upper-roman;
}

ol ol ol {
	list-style-type: lower-roman;
}

/* LINKS */

a {
	cursor: pointer;
}

a:link, a:visited {
    color: #447e9b;
    text-decoration: none;
}

a:focus, a:hover {
	color: #036;
}

a.section:link, a.section:visited {
	color: #fff;
    text-decoration: none;
}

var {
	font-style: normal;
}

/* TABLES */

table {
    border-color: #ccc;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

td, th {
    line-height: 16px;
    padding: 4px;
    font-family: "Roboto", "Lucida Grande", Verdana, Arial, sans-serif;
}

thead th,
tfoot td {
    color: #666;
    padding: 5px 10px;
    background: #fff;
    border-color: #ccc;
    border-bottom: 1px solid #eee;
}

.head_titles {
    font-size: 14px;
}

#err_connection_message {
    color: red;
}

/* FORM DEFAULTS */

input, textarea, select, .form-row p {
    margin: 2px 0;
    padding: 2px 3px;
    vertical-align: middle;
    font-family: "Roboto", "Lucida Grande", Verdana, Arial, sans-serif;
    font-weight: normal;
}

input[type=text], input[type=password], input[type=email], input[type=url],
input[type=number], textarea, select, .vTextField {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px 5px;
    margin-top: 0;
}

input[type=text]:focus, input[type=password]:focus, input[type=email]:focus,
input[type=url]:focus, input[type=number]:focus, textarea:focus, select:focus,
.vTextField:focus {
    border-color: #999;
}

/* FORM BUTTONS */

.button, input[type=submit], input[type=button], .submit-row input, a.button {
    background: #3cf;
    padding: 15px 20px;
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    opacity: 0.8;
}

.button:active, input[type=submit]:active, input[type=button]:active,
.button:focus, input[type=submit]:focus, input[type=button]:focus,
.button:hover, input[type=submit]:hover, input[type=button]:hover {
    opacity: 1;
}

.button[disabled], input[type=submit][disabled], input[type=button][disabled] {
    opacity: 0.3;
}

.button_1 {
    background: #3cf;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    opacity: 0.8;
}

.button_2 {
    background-color: white;
    color: black;
    border: none;               /* Remove default border */
    border-radius: 5px;         /* Rounded corners */
    padding: 0px 0px 0px 0px;         /* Padding around the text and symbol */
    font-size: 14px;            /* Font size for the text */
    display: inline-flex;       /* Flexbox to align text and plus symbol */
    align-items: center;        /* Vertically center align the items */
    cursor: pointer;           /* Pointer cursor on hover */
    opacity: 0.9;               /* Slight opacity for effect */
    transition: background-color 0.3s, opacity 0.3s; /* Smooth transition */
}

.plus-button:hover {
    background-color: #3cf;
    opacity: 1;
}

.plus-symbol {
    font-size: 20px;            /* Larger plus sign */
    margin-right: 10px;         /* Space between the + symbol and the text */
    font-weight: bold;          /* Make the + symbol bold */
    color: #3cf;
}

/* Password change fieldset */

fieldset {
	background: #eee;
	padding: 20px;
	margin: 20px;
}

fieldset label {
	display: block;
    padding: 4px 10px 0 0;
    float: left;
    width: 200px;
    word-wrap: break-word;
    line-height: 1;
}

/* GENERAL CLASSES */

.centered {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.floatRight {
	float: right;
}

.floatLeft {
	float: left;
}

.rounded {
	border: none;
    border-radius: 5px;
}

.statusOK {
	background: #9f9;
}

.statusWarning {
	background: #fb6;
}

.statusAlarm {
	background: #f66;
}

.btnOpen {
	background: #f33;
}

.btnClose {
	background: #f33;
}

.btnEarth {
	color: #333;
	background: repeating-linear-gradient(
		45deg,
		#ff0,
		#ff0 10px,
		#0c0 10px,
		#0c0 20px
);
}

.iconHide {
	display: none;
}

.iconAlarm {
	color: red;
}

.clickable {
	color: #666;
	cursor: pointer;
}

.clickable:hover {
	color: red;
}

.waiting {
	animation: dots 2s ease-in infinite;
}

.notification {
	border: none;
	width: 80%;
	margin: 20px auto;
	clear: both;
}

.notification i {
	font-size: 30px;
}

.notification td {
	padding: 0 15px 15px 15px;
}

.idea {
	background-color: #cfc;
}

.idea i {
	color: #0c0;
}

.warning {
	background-color: #ffa;
}

.warning i {
	color: #fc6;
}

/* BREADCRUMBS */

#breadcrumbsLinks {
	background: #3cf;
    padding: 10px 40px;
    border: none;
    color: #ddd;
    /* text-align: left; */
    display: flex;
    justify-content: space-between;
    align-items: center; 
    flex-wrap: wrap; 
    width: 100%;
    box-sizing: border-box;
}

#breadcrumbsLinks a {
    color: #fff;
}

#breadcrumbsLinks a:focus, #breadcrumbsLinks a:hover {
    color: #ddd;
}

.breadcrumbs {
	/* display: inline-block; */
    flex: 1 1 auto;
    /*
    grow:1 --> grow to take up any extra space, stay left
    shrink:1 --> shrink if the container becomes to small
    basis: auto --> initial size is based on it's content
    */
    padding-left: 40px;
    white-space: nowrap;
}

.links {
	/* float: right; */
	/* display: inline-block; */
    flex: 0 0 auto; 
    /*
    grow:0 --> don't grow to take up any extra space, stay right
    shrink:0 --> don't shrink if the container becomes to small
    basis: auto --> initial size is based on it's content
    */
	padding-right: 40px;
    white-space: nowrap;
    margin-left: auto;
	/*padding-left: 20px;*/
}

/* Optional: responsive small screens */
@media (max-width: 600px) {
    #breadcrumbsLinks {
        flex-direction: column;    /* Stack breadcrumbs and links vertically */
        align-items: stretch;
    }
    .breadcrumbs, .links {
        text-align: center;        /* Center text for small screens */
        flex: none;
        width: 100%;
        margin-left: 0;
        white-space: normal;       /* Allow wrapping inside */
    }
}

/* PAGE STRUCTURE */

#container {
    position: relative;
    width: 100%;
    min-height: 100%;
    min-width: 600px;
    padding: 0;
}

#header {
    width: auto;
    height: auto;
    padding: 10px 40px 5px 40px;
    background: #fff;
}

#content {
    padding: 15px 40px;
}

#content-main {
    float: left;
    width: 100%;
}

#user-tools {
    float: right;
    color: #0af;
    font-weight: 300;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: right;
    line-height: 25px;
}

#user-tools a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

#user-tools a:focus, #user-tools a:hover {
    text-decoration: none;
    border-bottom-color: #79aec8;
    color: #79aec8;
}

#user-tools input[type=submit] {
	-webkit-appearance: none;
	width: 30px;
	padding: 3px;
}

#footer, #switchgearFooter, #connectionfooter, #ipaddressfooter {
    clear: both;
    margin: 0 5%;
	font-size: 10px;
    color: #999;
}
