/*******************************************
 * CSS para a interface de escolha de sites.
 ******************************************/
 
 * {
	margin: 0;
	padding: 0;
	outline: 0;
	list-style: none;
	text-decoration: none;
}
 
 body {
	font-family: Arial;
	font-size: 13px;	
}
 
#interface_escolha_site {	
	width: 820px;
	left:80px;
	position: relative;
}

#barra-cabecalho {
	padding: 0 10px 0 0;
	height: 17px;
 	background-color: rgba(104, 153, 211, 0.5);
    opacity: 0.95;
    position: relative;
	color: #FFF;
}

#barra-explicacao {
	width: 100%;
	margin-top: 10px;
	height: 30px;
	border: 1px solid #D7D7D7;
	background-color: #EAEAEA;
	position: relative;
	line-height: 30px;
	vertical-align: middle;
	text-align: center;
	font-size: 15px;
	font-weight: bold;
	position: relative;
}

#cabecalho_barra_controle {
	z-index: 3; 
	height: 100%; 
	width: 100%;
	font-size: 15px;
	font-weight: bold;
	position: relative;
}

#cabecalho_barra_controle > img {
	float: left;
	vertical-align: middle;
	margin-left: -23px;
	margin-top: -5px;
}

#titulo_barra_controle {
	float: left;
	margin-top: 10px;
	color: #999999;
    font-family: Arial;
    font-size: 14px;
    font-style: normal;
    font-weight: bold;
    text-decoration: none;
}

#acoes_barra_controle {
	float: right;
	margin-right: 5px;
	display: none;
}

#acoes_barra_controle .saudacao {
	font-size: 13px;
}

#acoes_barra_controle .saudacao:after {
	content: "|";
	padding: 8px;
}

#acoes_barra_controle .link {
	float: right;
	font-size: 13px;
	color: #FFF;
	line-height: 18px;
}

#acoes_barra_controle .link:hover {
	text-decoration: underline
}

#escolha-sites {
	margin-top: 48px;
	min-height: 500px;
	border: 1px solid #CCC;
	position: relative;
	padding: 15px 25px 25px 25px;
}

#escolha-sites h2 {
	color: #666;
	font-size: 17px;
}

#lista-sites {
	height: 424px;
	overflow-y: auto;
}

#lista-sites li {
	border-bottom: solid 1px #CCC;
	border-radius: 0;
}

#lista-sites li:last-child {
	border: 0;
}

#lista-sites li > div {
	display: inline-block;
}
	
#lista-sites li .nome {
	font: bold 15px arial;
	color: #666;
    display: block;
    padding: 10px 0 5px 17px;
}

#lista-sites li .nome:hover {
	border-color: #999;
    background-color: #F2F2F2;
	font: bold 15px arial;
} 

.acoes-sites {
    bottom: 0;
    height: 80px;
    left: 0;
    margin-top: 10px;
    position: absolute;
    width: 100%;
	border-top: solid 1px #CCC;
	background: #F2F2F2;
	border-radius: 0px 0px 4px 4px;
}

.acoes-sites:first-child {
	margin-top: 85px;	
}

.acoes-sites button {
	width: 290px;
	height: 41px;
	top: 19px;
	left: 25px;
	font-weight: bold;
	position: relative;
	cursor: pointer;
	color: #666;
	border: solid 1px #999;
    border-radius: 5px;
	background-color: #F2F2F2;
	background-image: -webkit-linear-gradient(left, #F2F2F2, #E4E4E4); /* Chrome 10+, Saf5.1+ */
	background-image:    -moz-linear-gradient(left, #F2F2F2, #E4E4E4); /* FF3.6 */
	background-image:         linear-gradient(left, #F2F2F2, #E4E4E4);
}

#escolhaSite {
	border: solid 1px #CCC;
	border-top: solid 4px #CCC;
	margin: 17px 0;
	padding: 0;
	width: 360px;
	cursor: pointer;
}

/* Seletor moderno de sites */
html,
body {
	min-height: 100%;
}

body {
	margin: 0;
	background: #f4f7fb;
	color: #1f2a44;
	font-family: "Segoe UI", Tahoma, sans-serif;
	font-size: 14px;
}

#interface_escolha_site,
#interface_escolha_site * {
	box-sizing: border-box;
}

#interface_escolha_site {
	position: static;
	left: auto;
	width: 100%;
	padding: 42px 24px 64px;
}

#escolha-sites {
	position: static;
	width: 100%;
	max-width: 1100px;
	min-height: 0;
	margin: 0 auto;
	padding: 30px;
	border: 1px solid #dfe5ef;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(30, 50, 85, .08);
}

.cabecalho-escolha-sites {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 24px;
}

.rotulo-secao {
	display: block;
	margin-bottom: 7px;
	color: #0867e8;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
}

#escolha-sites .cabecalho-escolha-sites h1 {
	margin: 0;
	color: #16213d;
	font-size: 25px;
	line-height: 1.2;
}

.cabecalho-escolha-sites p {
	margin: 7px 0 0;
	color: #68748d;
	font-size: 14px;
}

#contador-sites {
	flex: 0 0 auto;
	padding: 6px 10px;
	border-radius: 5px;
	background: #eef4ff;
	color: #145fc7;
	font-size: 12px;
	font-weight: 700;
}

.busca-sites {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	height: 44px;
	margin-bottom: 20px;
	padding: 0 14px;
	border: 1px solid #ccd6e5;
	border-radius: 6px;
	background: #fff;
	color: #71809c;
}

.busca-sites:focus-within {
	border-color: #3580e8;
	box-shadow: 0 0 0 3px rgba(8, 103, 232, .12);
}

.busca-sites svg {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
}

#busca-sites {
	min-width: 0;
	width: 100%;
	border: 0;
	outline: 0;
	background: transparent;
	color: #1f2a44;
	font: 14px "Segoe UI", Tahoma, sans-serif;
}

#busca-sites::placeholder {
	color: #8e99ae;
}

#lista-sites {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	height: auto;
	max-height: calc(100vh - 330px);
	min-height: 160px;
	margin: 0;
	padding: 2px 4px 2px 2px;
	overflow-y: auto;
	list-style: none;
}

#lista-sites .site-item {
	min-width: 0;
	border: 0;
}

#lista-sites .site-item .nome {
	display: flex;
	align-items: center;
	gap: 11px;
	width: 100%;
	min-height: 52px;
	margin: 0;
	padding: 8px 12px;
	border: 1px solid #e0e6ef;
	border-radius: 6px;
	background: #fff;
	color: #2a3857;
	font: 650 14px "Segoe UI", Tahoma, sans-serif;
	text-align: left;
	cursor: pointer;
	transition: border-color .15s, background-color .15s, box-shadow .15s;
}

#lista-sites .site-item .nome:hover,
#lista-sites .site-item .nome:focus,
#lista-sites .site-item .nome.selecionado {
	border-color: #80adf0;
	outline: 0;
	background: #f3f7ff;
	box-shadow: 0 2px 7px rgba(8, 103, 232, .1);
}

#lista-sites .site-item .nome span {
	min-width: 0;
	flex: 1 1 auto;
	overflow-wrap: anywhere;
}

#lista-sites .icone-site {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	color: #2875dc;
}

#lista-sites .icone-seta {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	color: #8b97ad;
}

#nenhum-site {
	display: none;
	margin: 36px 0 20px;
	color: #68748d;
	text-align: center;
}

@media (max-width: 820px) {
	#lista-sites {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	#interface_escolha_site {
		padding: 20px 12px 36px;
	}

	#escolha-sites {
		padding: 22px 16px;
	}

	.cabecalho-escolha-sites {
		align-items: flex-start;
	}

	#escolha-sites .cabecalho-escolha-sites h1 {
		font-size: 22px;
	}

	#lista-sites {
		grid-template-columns: 1fr;
		max-height: none;
	}
}
