@CHARSET "UTF-8";

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto/Roboto-Regular.ttf');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto/Roboto-Light.ttf');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto/Roboto-Bold.ttf');
    font-weight: 700;
    font-style: normal;
}

/**
 * ----------------- Portal de Reservas Públicas ----------------------
 */
body {
	font-family: Roboto;
	font-weight: 400;
	margin-botom: 70px;
	background: #FBFBFB;
}
 
#header-login {
	height: 58px;
	background:#4F4F4F;
	color:#BDBDBD; 
	font-family: Roboto;
	font-weight: 200;
	font-size: 13px;
}
 
#header-login .btn-header-login {
	text-align: center;
	height: 58px;
	padding: 7px 5px;
	color: #BDBDBD;
	text-decoration: none;
	transition: color .2s, background .2s;
}
 
#header-login .btn-header-login i {
	display: block;
}
 
#header-login .btn-header-login:hover {
 	color: white;
}
 
header {
	background-color: white;
 	background-image: url('../imagens/background-header.png');
 	background-position: right top;
 	background-repeat: repeat-y;
 	background-attachment: fixed;
 	height: 173px;
 	padding: 15px 0;
 	box-sizing: border-box; 
 	box-shadow: 0px 3px 5px #888888;
 	position: relative;
 	z-index: 2;
}
 
header .container {
 	height: 100%;
}

header .logo {
	display: inline;
}

header .logo img {
	display: block;
	margin-bottom: 10px;
}

header h1 {
	display: inline;
	font-family: Roboto;
	font-weight: 200;
	font-size: 24px;
	color:#BDBDBD;
	margin-top:10px;
	background: rgba(255, 255, 255, 0.8);
}

.tabs {
	position: relative;
	background:#A7CBEA;
	height: 66px;
}

.tabs .container {
	display: flex;
	justify-content: flex-end;
}

.tab {
	background: #75B4DE;
	color: white;
	font-family: Roboto;
	font-weight: 400;
	text-shadow: none;
	text-transform: uppercase;
	border: none;
	padding: 5px 2px;
	margin: 14px 0;
	transition: color .2s, background .2s;
}

.tab:hover, .tab.tab-selected {
	background: #007DC3;
}

.tabs #exibir {
	font-family: Roboto !important;
	display: inline-block;
	background: #75B4DE;
	font-family: Roboto;
	font-weight: 400;
	text-shadow: none;
	text-transform: uppercase;
	border: none;
	padding: 5px 2px;
	margin: 14px 18px;
	width: 115px;
}

.tabs #exibir .ui-inputfield {
	background: #75B4DE;
	color: white;
	border: none;
	box-shadow: none;
}

.tabs #exibir .ui-selectonemenu-trigger {
	background: #75B4DE;
}

.tabs #exibir .ui-selectonemenu-trigger:before {
	font-family: FontAwesome;
	content: "\f107";
	display: block;
	color: white;
	top: 8px;
	position: absolute;	
}

.tabs #exibir .ui-icon {
	display: none;
}

.tabs .btnToggleView {
	background: #75B4DE;
	color: white;
	font-family: Roboto;
	font-weight: 400;
	text-shadow: none;
	text-transform: uppercase;
	border: none;
	padding: 5px 2px;
	margin: 14px 0;
	transition: color .2s, background .2s;
	
	
	border-radius: 50%;
	width: 40px;
	height: 40px;
	font-size: 14px;
	outline: none;
}

.tabs .btnToggleView:hover {
    background: #007DC3;
}


.tabs .btnToggleView:before {
	font-family: FontAwesome;
	display: block;
	top: 3px;
	position: relative;
}

.tabs .btnToggleView.list:before {
	content: "\f00a";
}

.tabs .btnToggleView.grid:before {
	content: "\f0ca";	
}

.tabs .tab {
	display: none;
}
	
@media (min-width: 768px) {
	
	.tabs .container {
		display: flex;
		justify-content: space-around;
	}
	
	.tabs #exibir {
		display: none;
	}
	
	.tabs .tab {
		display: inline-block;
	}
	
}

#main {
	background: #FBFBFB;
	padding-bottom: 70px;
}

/**
* GRID VIEW
*/

.grid .evento-item {
	width: calc(100%);
	margin-top: 50px;
	float: left;
}

.grid .evento-item .evento-box {
    margin-left: 0px;
    margin-right: 0px;
}

	.grid .evento-item .evento-thumb {
		height: 225px;
	}

@media (min-width: 768px) {

	.grid .evento-item {
		width: calc(100% / 2);
		margin-top: 50px;
		float: left;
	}
	
	.grid .evento-item:nth-child(2n+1) .evento-box {
	    background: green;
	    margin-left: 0px;
	    margin-right: 40px;
	}
	
	.grid .evento-item:nth-child(2n+0) .evento-box {
	    background: red;
	    margin-left: 40px;
	    margin-right: 0px;
	}
	
	.grid .evento-item .evento-thumb {
		height: 134px;
	}
	
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {

	.grid .evento-item {
		width: calc(100% / 3);
	}
	
	.grid .evento-item:nth-child(3n+1) .evento-box {
		margin-left: 0px;
	    margin-right: 40px;
	}
	
	.grid .evento-item:nth-child(3n+2) .evento-box {
	    margin-left: 30px;
	    margin-right: 30px;
	}
	
	.grid .evento-item:nth-child(3n+0) .evento-box {
	    margin-left: 40px;
	    margin-right: 0px;
	}
	
}

.grid .evento-box {
	border-radius: 4px;
	border: 1px solid #75B4DE;
	overflow: hidden;
}

.grid .evento-item .evento-thumb {
	width: 100%;
	overflow: hidden;
	position: relative;
	background: #afafaf;
}

.grid .evento-item .evento-thumb img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	/*
	max-width: 100%;
	max-height: 100%;
	*/
	min-width: 100%;
	min-height: 100%;
}

.grid .evento-item .evento-descricao {
	background: white;
	padding: 10px 15px;
	color: #828282;
	font-weight: 200;
	font-size: 16px;
}

.grid .evento-item .evento-descricao h1 {
	color: #007DC3;
	margin: 0;
	font-size: 20px;
	margin-bottom: 10px;
	height: 48px;
	overflow: hidden;	
}

.grid .evento-item .evento-descricao p {
	position: relative;
	padding-left: 35px;
}

.grid .evento-item .evento-descricao p i {
	margin-right: 15px;
	font-size: 21px;
	position: absolute;
	left: 0;
	top: 0;	
}



/**
* LIST VIEW
*/

.list .evento-item {
	width: calc(100%);
	margin-top: 50px;
}

.list .evento-item .evento-box {
    margin-left: 0px;
    margin-right: 0px;
}

.list .evento-box {
	border-radius: 4px;
	border: 1px solid #75B4DE;
	overflow: hidden;
	position: relative;
}

.list .evento-item .evento-thumb {
	width: 100%;
	height: 225px;
	overflow: hidden;
	position: relative;
	background: #afafaf;
}

.list .evento-item .evento-thumb img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	/*
	max-width: 100%;
	max-height: 100%;
	*/
	min-width: 100%;
	min-height: 100%;
}

.list .evento-item .evento-descricao {
	width: 100%;
	background: white;
	padding: 36px 24px;
	color: #828282;
	font-weight: 200;
	font-size: 16px;s
}

.list .evento-item .evento-descricao h1 {
	color: #007DC3;
	margin: 0;
	font-size: 20px;
	margin-bottom: 20px;
}

.list .evento-item .evento-descricao p {
	position: relative;
	padding-left: 35px;
	margin-right: 40px;
}

.list .evento-item .evento-descricao p i {
	margin-right: 15px;
	font-size: 21px;
	position: absolute;
	left: 0;
	top: 0;	
}

@media (min-width: 576px) {
	
	.list .evento-item .evento-thumb {
		width: 30%;
		height: 100%;
		overflow: hidden;
		position: absolute;
	}
	
	.list .evento-item .evento-descricao {
		width: 70%;
		float: right;
	}
	
}

@media (min-width: 992px) {
	
	.list .evento-item .evento-descricao p {
		float: left;
	}
	
}


#evento-empty-state {
	padding: 0;
	border: none;
	text-align: center;
    width: 100%;
    background: transparent;
}

#evento-empty-state_content {
	display: inline-block;
	margin: 0 auto;
	padding: 50px 0;
	border: none;
	text-align: left;
}

.mensagem-vazio {
	text-align: center;
}

.mensagem-vazio i {
	font-size: 170px;
	float: none;
	margin: 25px 0px;
	color: #bdbdbd;
}

.mensagem-vazio .left {
	min-height: 170px;
	padding: 20px 0px;
}

.mensagem-vazio .left h1 {
	font-size: 48px; 
	color: #bdbdbd;
	font-family: Roboto;
	font-weight: 600;
}

.mensagem-vazio .left h2 {
	font-size: 20px; 
	color:#bdbdbd;
	font-family: Roboto;
	font-weight:200;
}

.mensagem-vazio .clear {
	font-size: 20px; 
	color:#007dc3;
	font-family: Roboto;
	font-weight:600;
	clear: both;
	padding: 40px 0;
}

.social-media {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-around;
}
.social-media a {
	display: inline-block;
}

.social-media i {
	background: #75b4de;
	border-radius: 50%;
	color: white;
	padding: 15px;
	width: 50px;
	height:50px;
    font-size: 20px;
}

.social-media a:hover i {
	background: #007DC3;
}

@media (min-width: 480px) {
	
	.mensagem-vazio {
		text-align: left;
	}
	
	.mensagem-vazio i {
		float: left;
	}
	
	.social-media i {
		width: 80px;
		height:80px;
	    font-size: 50px;
	    padding: 15px;
	}
	
}


footer {
	z-index: 100 !important;
	background: #4F4F4F; 
	font-size: 14px;
	color: white;
	font-weight: 200;
	position: fixed;
	bottom: 0;
	width: 100%;
	text-align: left;
	
}

footer .container {
	position: relative; 
	padding: 15px 15px;
}

footer .container span {
	margin-right: 75px;
	display: block;
}


#footer-logo {
	height: 42px;
	position:absolute;
	right: 0;
	top: 14px;
	right: 15px;
}

footer .rpesquerda img {
	height: 28px;
}

@media (min-width: 768px) {
	
	footer {
		text-align: center;
		font-size: 16px;
	}
	
	footer .container {
	
	}
	
	footer .container span:NTH-CHILD(1) {
		margin-right: 0px;
		display: inline;
	}

	footer .container span:NTH-CHILD(2) {
		margin-right: 75px;
		display: inline;
	}
	
	footer .container span:NTH-CHILD(1):after {
		content: " | ";
	}
	
}

#button_panel {
	text-align: center;
	background: transparent;
	padding: 25px 0;
	border:0;
	clear:both;
}

#button_panel .ui-button {
	color: white;
	font-family: Roboto;
	font-weight: 400;
	text-shadow: none;
	border: none;
	padding: 5px 2px;
	margin: 14px 0;
	transition: color .2s, background .2s;
	background: #75B4DE;
}

#button_panel .ui-button:hover {
	background: #007DC3;
}
