h1 {
	font-family:Verdana, sans-serif;
	font-size: 13px;
	padding-bottom: 6px;
	text-align: left;
}

p {
	font-family:Verdana, sans-serif;
	font-size: 12px;
	text-align: left;
}

a {
	color: #00247D;
	text-decoration: underline;
}

a:visited {
	color: #00247D;
	text-decoration: underline;
}

a:focus, a:hover, a:active {
	color: #F39800;
	text-decoration: underline;
}

pre {
	text-align: left;
}


.promptMessage {
	margin-top: 0;
}

.selectOptions {
	margin-bottom: 0;
}

.select2-result-repository__logo img {
	margin-top: 6px;
}

.select2-result-repository__title {
	font-size: 12px;
}

.box
{
	width: 600px;
	text-align: center;
	background-color: #FFFFFF;
	box-shadow: 1px 1px 8px #999999;
	border-radius: 13px;
	-webkit-box-shadow: 1px 1px 8px #999999;
	-webkit-border-radius: 13px;
	-moz-box-shadow: 1px 1px 8px #999999;
	-moz-border-radius: 13px;
	padding: 10px 24px 10px 24px;
}


/* IE 6 hack */
* html .box { border: 2px #969696 solid; }

/* IE 7 hack */
*+html .box { border: 2px #969696 solid; }


/* IE 8 hack */
@media \0screen {
	.box { border: 2px #969696 solid; }
}

.menu {
	width: 100%;
	padding-left: 2px;
	margin-top: 10px;
	margin-left: 0;
	float: left;
	background: url("https://satosagw-ds.garr.it//images/dual_line.png") repeat-x scroll 0 100% transparent;
	font-family: Verdana, sans-serif;
	font-size: 12px;
	line-height: 45px;
}

.menu li {
	float: left;
	list-style:none;
	line-height:35px;
	margin-right:10px;
}

.menu li.last {
	background: url("https://satosagw-ds.garr.it//images/separator.png") no-repeat scroll left center transparent;
	padding-left: 8px;
	float: left;
	list-style:none;
}

.serviceName {
	font-weight: bold;
}

.hostName {
	font-weight: bold;
}


#container, .container {
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -320px;
	margin-top: -200px;
}

#content, .content {
	width: 98%;
}

#header {
	width: 100%;
	display: inline-block;
	text-align: left;
}

#federationLogo {
	border: 0;
	float: left;
}

#organisationLogo
{
	border: 0;
	float: right;
}

#userInputArea, .userInputArea {
	margin-left: auto;
	margin-right: auto;
	background-color: #fafafa;
	border-color: #c0c0c0;
	border-width: 1px;
	border-style: solid;
	padding: 20px;
}

#userIdPSelection, .userIdPSelection {
	width: 460px;
	font-size: 12px;
}

input[name="Select"]{
	color: #fff;
	background-color: #0175E4;
	border-color: #007bff;
	border-radius: 4px;
	border-style: none;
}

input[name="Select"]:hover {
    background-color: #0069d9;
	border-color: #0062cc;
}

input[name="Select"]:active {
    background-color: #0062cc;
	border-color: #005cbf;
}

/* Device specific styles */
@media only screen and (max-device-width: 720px){
	.box {
		width: auto;
		box-shadow: none;
		border-radius: 0;
		-webkit-box-shadow: none;
		-webkit-border-radius: 0;
		-moz-box-shadow: none;
		-moz-border-radius: 0;
		padding: 0;
	}

	#content, .content {
		width: 96%;
	}

	#container, .container {
		width: 96%;
		position: auto;
		left: auto;
		top: auto;
		margin-left: 0;
		margin-top: 0;
	}

	#userIdPSelection, .userIdPSelection {
		width: 60%;
	}

	#userIdPSelection_iddwrap input {
		width:90%!important;
	}
}

html, body, form, fieldset, p, div, h1, h2, h3, h4, h5, h6 {
    -webkit-text-size-adjust:none;
}
* {
    box-sizing: border-box;
    font-family: Arial, sans-serif !important;
}

body {
    background-color: #F4F4F9;
}

p {
	text-align: justify;
    font-size: 0.9rem;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:visited {
    color: #007bff;
	text-decoration: underline;
}

a:focus, a:hover, a:active {
    color: #007bff;
	text-decoration: underline;
}

h1 {
    text-align: center;
    font-size: 1.2rem;
    padding: 0;
}

#container, .container {
    /* border: 5px solid red; */
    text-align: center;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
	margin-left: 0;
	margin-top: 0;
}

.box
{
	max-width: 600px;
	text-align: center;
	background-color: #FFFFFF;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	-webkit-box-shadow:  0 4px 8px rgba(0, 0, 0, 0.1);
	-moz-box-shadow:  0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

#header {
    display: flex;
    justify-content: center;
    gap: 15px;
}

#header a, #header img {
    align-content: center;
    object-fit: contain;
}

#federationLogo {
    max-width: 120px;
}

#organisationLogo {
    max-width: 190px;
}

.menu {
    display: flex;
    justify-content: center;

    /* Override default */
	width: auto;
	padding-left: 0px;
	margin-top: auto;
	margin-left: auto;
	float: none;
	background: none;
	font-size: 0.8rem;
    /* *************** */
}

.menu li {
	line-height: 25px;
}

.separator {
    border-top: 1px solid #ddd;
    margin: 15px 0;
}

#userInputArea, .userInputArea {
    border-style: none;
	background-color: #FFFFFF;
    padding: 0px 20px 0px 20px;
}

.promptMessage {
    font-size: 0.9rem;
    color: #666;
}

input[name="Select"], input[name="clear_user_idp"] {
	color: #fff;
	background-color: #007bff;
	border-color: #007bff;
	border-radius: 4px;
	border-style: none;
    padding: 10px;
    margin-top: 10px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s, box-shadow 0.3s;
}

input[name="Select"], input[name="clear_user_idp"]:hover {
    background-color: #0069d9;
	border-color: #0062cc;
}

input[name="Select"], input[name="clear_user_idp"]:active {
    background-color: #0062cc;
	border-color: #005cbf;
}

#footer ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0;
}

/* Device specific styles */
@media only screen and (max-device-width: 720px) {
    #header {
        flex-wrap: wrap;
    }

	#userIdPSelection_iddwrap input {
		width: 100% !important;
	}
}

/* Add dark light support */
@media (prefers-color-scheme: dark) {
    * {
        color: #ddd;
    }

    body {
        background-color: #333;
    }

    .box, #userInputArea {
        background-color: #444;
    }

    .promptMessage {
        color: #A8A095;
    }

    a, a:visited, a:focus, a:hover, a:active {
        color: #007bff;
    }

    #organisationLogo {
        content: url("https://assets.garr.it/img/LogoGARR_Bianco.png");
    }


}