/* ---------------------------------------------

* Filename:     responsive.css
* Version:	1.0.0 (2017-05-23)
* Website:	http://www.caixamagica.pt
* Description:  Responsive Styles
* Author:	José Reis

-----------------------------------------------*/

@media screen and (max-width: 1439px){
	#logo img{
		float: left;
		margin-left: 4%;
	}
	#logo_pt{
		margin-left: -43%;
	}
	#main-menu{
		margin-right: 7%;
		margin-top: -5%;
	}
	#header .region.region-language{
		margin-top: -5%;
		margin-right: 1%;
	}

	.entities_list_title{
		font-family: TitlesFont;
		font-weight: normal;
	}
	.entities_list_img.entities_list_info,
	.entities_list_info.entities_list_other{
		max-width: 143px;
	}

	#views-exposed-form-lista-de-eventos-page select,
	#views-exposed-form-lista-entidades-page-1 select,
	#views-exposed-form-lista-edicoes-page-1 select,
	#views-exposed-form-lista-festivais-page select {
		max-width: 197px;
	}
	#views-exposed-form-lista-de-eventos-page input,
	#views-exposed-form-lista-entidades-page-1 input,
	#views-exposed-form-lista-edicoes-page-1 input,
	#views-exposed-form-lista-festivais-page input,
	#views-exposed-form-lista-de-eventos-page #edit-between-date-filter-1-value-datepicker-popup-1 {
		width: 100%;
		max-width: 197px !important;
	}
}

@media screen and (max-width: 1199px){
	.lista-noticias-home .views-row {
		height: 300px;
	}
}

@media screen and (max-width: 1159px) {
	.page-ebalcao-129 .views-row.views-row-2 .subservice_block_title {
		margin-top: -48%;
	}

	.ebalcao_block {
		padding: 10% 10%;
	}
}

@media screen and (max-width: 1152px) {
	.page-ebalcao-114 .views-row.views-row-1 .subservice_block_title,
	.page-ebalcao-119 .views-row.views-row-2 .subservice_block_title {
		margin-top: -48%;
	}
	.page-ebalcao-119 .views-row.views-row-3 .subservice_block_title {
		font-size: 27.2px;
	}
}

@media screen and (max-width: 1150px) {
	.page-ebalcao-129 .views-row.views-row-1 .subservice_block_title {
		margin-top: -48%;
	}
}

@media screen and (max-width: 1110px){
	.lista-servicos .views-row-7 .service_block_title {
		margin-top: -54%;
	}
}

@media screen and (max-width: 1074px) {
	.page-ebalcao-133 .views-row.views-row- .subservice_block_title {
		margin-top: -48%;
	}
}

@media screen and (max-width: 1035px) {
	.ebalcao_block {
		padding: 0% 10%;
		line-height: 1.8;
	}
}

@media screen and (max-width: 1023px){
	#logo img{
		float: left;
		width: 40%;
	}
	#logo_pt{
		margin-left: -71%;
		width: 40%;
	}
	#logo_pt{
		margin-left: -71%;
		width: 40%;
	}
	#main-menu{
		margin-right: 7%;
		margin-top: -7%;
	}
	#main-menu a{
		padding: 16px 15px;
	}
	#header .region.region-language{
		margin-top: -7%;
	}

	.entities_list_info.entities_list_other{
		min-height: 140px;
		height: 180px;
	}
	.entities_list_img img{
		width: 185px;
	}
	.entities_list_img.entities_list_info,
	.entities_list_info.entities_list_other{
		max-width: 183px;
	}

	.list-entities,
	#views-exposed-form-lista-entidades-page-1{
		display: none;
	}
	.list-entities-responsive4{
		display: block;
	}
	.list-entities-responsive4 .search-item .form-item-sort-order{
		display: grid;
	}
	.list-entities-responsive4 #edit-field-ano-de-apoio-value-wrapper .views-widget {
		display: flex;
	}
	.list-entities-responsive4 #edit-field-ano-de-apoio-value-wrapper{
		margin-top: 0px;
	}
	#views-exposed-form-lista-de-eventos-page,
	#views-exposed-form-lista-entidades-block-3,
	#views-exposed-form-lista-edicoes-page-1 {
		margin: 0% 0.6%;
	}
	.list-entities-responsive4 label[for=edit-field-ano-de-apoio-value-min],
	.list-entities-responsive4 label[for=edit-field-ano-de-apoio-value-max] {
		display: none;
	}
	.search-item input,
	.search-item select {
		width: 230px !important;
		max-width: 230px;
		max-height: 31px;
	}
	.search-item input[type=submit] {
		width: 100px !important;
		max-height: 31px;
	}
	.page-vnode-5 .search-item .form-item-field-datas-evento-value-value,
	.page-vnode-5 .search-item .form-item-field-datas-evento-value-value input {
		margin: 0;
	}
	.list-entities-responsive4 #edit-title-wrapper,
	.page-vnode-5 #edit-title-wrapper,
	.page-vnode-11 #edit-title-wrapper {
		height: 57.5px;
	}
	.page-vnode-11 #edit-field-tipo-festival-value-wrapper {
		margin-top: 20px;
	}
}

@media screen and (max-width: 991px){
	#carousel-bootstrap .carousel-caption h1 {
		margin-top: -16%;
	}
	#carousel-bootstrap .carousel-caption div {
		margin-top: -7%;
		margin-bottom: 3%;
	}

	.block-eventos {
		margin: auto;
		max-width: 636px;
	}
	.block-eventos .views-row {
		height: 220px;
	}

	.lista-noticias-home {
		margin: auto;
		max-width: 606px;
	}
	.lista-noticias-home .views-row {
		height: 320px;
	}

	.lista-servicos {
		margin: auto;
		max-width: 708px;
	}

	.lista-subservicos {
		margin: auto;
		max-width: 738px;
	}
	.lista-subservicos .views-row{
		height: 285px
	}

	.page-apoio-decorrer .top_data .col-sm-6 {
		padding-bottom: 3%;
	}
	.page-apoio-decorrer .end_dates {
		text-align: left;
	}

	.lista-servicos .views-row-7 .service_block_title {
		margin-top: -40%;
	}
}

@media screen and (max-width: 960px) {
	.block-servicos .other_top {
		margin-bottom: 3%;
	}

	.ebalcao_block {
		padding: 20% 10%;
		line-height: 2;
	}
}

@media screen and (max-width: 767px){
	.logo_wrap {
		float: none;
		display: block;
	}
	#logo{
		display: block;
	}
	#logo img{
		width: 25%;
		margin-left: 22%;
		margin-bottom: -2%;
	}
	#logo_pt{
		margin-left: 5%;
		width: 25%;
	}
	.menu-wrap{
		background: none;
	}
	#site-title{
		display: none !important;
	}
	#header .region.region-language{
		margin-left: 83%;
		float: left;
	}
	.language-switcher-locale-url {
		display: inline-flex;
	}
	#main-menu{
		margin-right: 0px;
		margin-top: 0px;
	}

	#carousel-bootstrap .carousel-caption {
		position: initial;
		margin-top: 12% !important;
		margin-bottom: 7% !important;
	}
	#carousel-bootstrap .carousel-caption div {
		margin-top: 0%;
		margin-bottom: 0%;
	}
	#carousel-bootstrap .carousel-caption span {
		color: #7b7b7b !important;
	}
	#carousel-bootstrap .carousel-caption div a {
		color: #7b7b7b !important;
		border-color: #7b7b7b !important;
	}

	.block-eventos {
		margin: auto;
		max-width: 315px;
	}

	.lista-noticias-home {
		margin: auto;
		max-width: 300px;
	}

	.lista-servicos {
		margin: auto;
		max-width: 351px;
	}
	.lista-servicos .views-row {
		margin: 4% 0%;
	}

	.lista-subservicos {
		margin: auto;
		max-width: 346px;
	}
	.lista-subservicos .views-row{
		height: 290px
	}

	.lista-eventos .views-field {
		height: 200px;
	}

	.page-apoio-decorrer .label {
		white-space: normal;
	}
	.page-apoio-decorrer .year,
	.page-apoio-decorrer .finances,
	.page-apoio-decorrer .dates{
		font-size: 18px;
	}
	.page-apoio-decorrer .top_data .label{
		font-size: 14px;
	}
	.page-apoio-decorrer .dates.col-xs-6 {
		padding-left: 30px;
		padding-right: 15px;
	}

	.entities_list_img.entities_list_info img{
		max-height: 540px;
	}
	.entities_list_info.entities_list_other{
		margin-top: -170px;
	}
	.entities_list_img.entities_list_info,
	.entities_list_info.entities_list_other{
		max-width: 152px;
	}
	.entities_list_info.entities_list_other {
		border-bottom: 1px solid #bbb;
		margin-bottom: 15px;
	}

	.microsite-menu {
		padding-bottom: 8%;
	}
}

@media screen and (max-width: 639px){
	.entities_list_img.entities_list_info,
	.entities_list_info.entities_list_other{
		max-width: 145px;
	}
	.entities_list_info.entities_list_other{
		margin-top: -210px;
	}

	.list-entities-responsive4{
		display: none;
	}
	.list-entities-responsive3{
		display: block;
	}
	#views-exposed-form-lista-de-eventos-page #edit-field-regiao-da-entidade-promoto-value-wrapper,
	.list-entities-responsive4 #edit-field-ano-de-apoio-value-wrapper{
		margin-left: 0px;
	}
	.list-entities-responsive3 label[for=edit-field-ano-de-apoio-value-min],
	.list-entities-responsive3 label[for=edit-field-ano-de-apoio-value-max] {
		display: none !important;
	}
	.list-entities-responsive3 .search-item .form-item-sort-order{
		display: grid;
	}
	.views-exposed-form .views-exposed-widget {
		float: none;
	}
	.entities_list_info.entities_list_other {
		border-bottom: 0px;
	}

	.microsite-menu {
		padding-bottom: 12%;
	}
}

@media screen and (max-width: 599px){
	#carousel-bootstrap .carousel-caption {
		margin-bottom: 20% !important;
	}
	#carousel-bootstrap .carousel-caption div {
		margin-top: -12% !important;
		margin-bottom: 5% !important;
	}
}

@media screen and (max-width: 499px){
	#logo img {
		width: 30%;
		margin-left: 15%;
	}
	#logo_pt {
		width: 30%;
	}
	#header .region.region-language {
		margin-top: -10%;
		margin-left: 80%;
	}

	#carousel-bootstrap .carousel-caption {
		margin-bottom: 35% !important;
	}

	.microsite-menu {
		padding-bottom: 15%;
	}
}

@media screen and (max-width: 408px){
	.lista-servicos .views-row-7 .service_block_title {
		margin-top: -54%;
	}

	.microsite-menu {
		padding-bottom: 19%;
	}
}
