@CHARSET "ISO-8859-1";

body,html {
	margin:0; padding:0;
	background:#A5DEE5;
	background-repeat:repeat-x;
	font-family:Trebuchet MS,arial,sans-serif;
	font-size:16px;
}

#container { background:white; padding:10px; display: inline-block; margin: 20px 0 0 60px;}

select, input[type="text"], textarea {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

h1 { color:#1591A1; font-size:35px; margin:10px 10px 20px 0; }
th { text-align:left; }

a img { border:0 }
.pointer { cursor:pointer; }
.hidden { display:none; }
.offline .hideOffline { display: none; }

#fields label { width:100px; display:inline-block; }

#fields, #fotocontainer { float:left; margin-right:20px; }
#fields > div { margin-bottom:3px; }
.input { border:1px solid #ddd; border-radius:4px; line-height:19px; padding-left:5px; }
textarea.input { width:176px; height:80px; }

#sortImages { list-style-type:none; margin:0; padding:0; }
#sortImages li { width:150px; height:175px; float:left; text-align:center; margin:2px; padding:2px; background:#eee; }
#sortImages li img { max-width:150px; max-height:150px; }


.button_delete {
	width:16px;
	height:16px;
	background: url('../divelog/img/cross.png');
	text-indent:-1000px;
	border:0;
	cursor:pointer;
}

	.image-row div { border:10px solid white; float:left; background-size:cover; background-repeat:no-repeat; position:relative; }
	.image-row { width:1170px; zoom:0.5 }

input.photo_caption {
position: absolute;
bottom: 2px;
left: 2px;
opacity: 0.95;
border-radius: 4px;
border: none;
zoom:2
}

.sp-P { float:left; }
.sp-PR{ float:right; }

.overview td { border-bottom:1px solid #ccc; font-size:16px; padding-right:20px; }
.overview .newLocation td { border-top:3px solid #bbb; }
.overview .divenr { font-weight:bold; }

.button, .buttonAlt:hover {cursor:pointer;  border:1px solid #fff;  background:#1591A1; color:#fff; border-radius:4px; text-decoration:none; line-height:20px; display:inline-block; font-size:12px; padding:5px 10px; font-family:Trebuchet MS; margin-bottom:3px;}
.buttonAlt, .button:hover {cursor:pointer; border:1px solid #1591A1; background:#fff; color:#1591A1; border-radius:4px; text-decoration:none; line-height:20px; display:inline-block; font-size:12px; padding:5px 10px; font-family:Trebuchet MS; margin-bottom:3px;}

#newentry { margin:20px 0; }

.hidden { display:none; }

#message {
    background:#1591A1; color:#fff;
    text-align:center;
    height: 20px;
}

/* Login */
body:has(#login) #container {
    margin: 80px auto;
    display: block;
    width: 320px;
    padding: 30px 40px;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

#login h1 { margin-top: 0; }

#login form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#login label {
    font-size: 14px;
    color: #555;
}

#login input[type="text"],
#login input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#login label.remember {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #555;
    margin-top: 4px;
}

#login button {
    margin-top: 6px;
    padding: 9px;
    background: #1591A1;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

#login button:hover { background: #117a88; }

#login .error {
    background: #fdecea;
    color: #c0392b;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 8px 10px;
    font-size: 14px;
    margin: 0;
}

@media screen and (max-width: 700px) {
    .mHide {
        display:none;
    }
    
    #container { margin:0; width:100%; }
}


