.erro{
	border: solid #ff0000 1px;
    border-radius: 10px;
    padding: 5px;
    background-color: #ffeeee;
    text-align: center;
    color: #ff0000;
    text-transform: uppercase;
    margin-bottom: 20px;	
}.sucesso{
	border: solid #64d264 1px;
    border-radius: 10px;
    padding: 5px;
    background-color: #eeffee;
    text-align: center;
    color: #64d264;
    text-transform: uppercase;
    margin-bottom: 20px;	
}
.cookiebutton{
    margin-top: -3px;
    background-color: rgba(0, 0, 0, 0.5);
    font-size: 10px;
    padding: 4px 8px;
    border: 0;
    border-radius: 5px;
    color: #fff;
}
/*procura*/
.pi_procura{
	display: inline-block;vertical-align: top;
}
.head_painel{
	color:#ffffff;font-family:roboto;font-weight:800;font-size:24px;margin-bottom:20px;text-shadow: 2px 2px #000;
}
.pi_procura form{
	margin-top: 20px;
    /*max-width: 500px;*/
}
.pi_procura select{	
	font-size: 14px;
    padding: 4px;
    width: 130px;
    border-radius: 5px 0 0 5px;
    border: 1px solid #ccc;
    margin-right: 0;
    background-color: #efefef;
    color: #666666;
    border-right:0;
}
.pi_procura input[type='text']{	
	font-size: 14px;
    padding: 5px;
    width: 200px;
    border-radius: 0;
    border: 1px solid #ccc;
    margin-left: -3px;
    border-left:0;
}

.pi_tools input[type='submit']{
	margin-top: 15px;
	font-weight: 400;
    border-radius: 5px;
    text-transform: none;
    border: 1px solid #e7e7e7;
    background-color:rgb(231,231,231);
    box-shadow:none;
    color:rgba(0,0,0,0.6);
    font-size:12px;
}
/*galeria*/
.pi_gallery {
	width:100%;height:300px;background-position:center;background-repeat:no-repeat;background-size:cover;margin-bottom:10px;
	border-radius: 5px 5px 0 0;border: 1px solid #cecece;
}
.pi_gallery .pi_title{
 	 position:absolute;top:0;left:0;background-color:rgba(0,0,0,0.3);width:100%;
 	 text-shadow: 1px 1px 2px#000;
}

.promo_precos h1,.promo_precos h2{
 	float:left;color:#d05756;padding-left:10px;padding-right:10px;
}
.pi_gallery h1,.pi_gallery h2{
 	 padding-left:10px;padding-right:10px;color:#fff;margin-bottom:5px;
}
.pi_tabs h2{
	border-bottom: 1px solid;	
}
/*galeria*/
.pi_gmap {
	width:100%;height:400px;margin:15px 0 10px 0;
	border-radius: 5px 5px 0 0;border: 1px solid #cecece;
}
/*keywords*/
.pi_keywords{
	font-size:8px;
	color:#cccccc;
	line-height:normal;
}

/*galeria pi*/
.pi_galeria .thumbbox{
	width:auto;
	height:117px;
	margin:3px;
	padding:3px;
	float:left;
	display:table;
	border-radius:6px;
	background-color:#eeeeee;
	text-align:center;
}
.pi_galeria .thumbbox:hover{
	background:#cccccc;
}
.pi_galeria .thumbbox img{
	width:auto;
	height:120px;
}
.pi_gallery img.v360{
	cursor:pointer;
	position:absolute;
	bottom:55px;
	left:10px;
}
.pi_btn{
	color:#fff;
	text-align:center;
	position: relative;
	margin-top: 15px !important;
	margin-bottom: 15px !important;
	width: 100% !important;
	border: none;
    -moz-box-shadow: inset 0 -3px 0 rgba(0,0,0,0.2);
    -webkit-box-shadow: inset 0 -3px 0 rgba(0,0,0,0.2);
    box-shadow: inset 0 -3px 0 rgba(0,0,0,0.2);
    border-radius: 6px;
    text-transform: uppercase;
    text-shadow: none;
    background: #d05756;
    display: inline-block;
    vertical-align: top;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    outline: none;
    -moz-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
	font-weight:800;
}
.promo_btn{
	background-color: #d05756;
    color: #fff;
    padding: 5px 20px;
    border-bottom: 4px solid #a74645;	
}
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.65);
    z-index: 10000;
}
#overlay_content{
	position:absolute;
	max-width:700px;
	min-height:100px;
    background-color: #ffffff;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    box-shadow: 1px 2px 6px rgba(0,0,0, 0.5);
    -moz-box-shadow: 1px 2px 6px rgba(0,0,0, 0.5);
    -webkit-box-shadow: 1px 2px 6px rgba(0,0,0, 0.5);
}
.overlayform form{
	margin:20px;
	max-width:560px;
}
.overlayform form .termos1{
	font-size:10px;
	line-height:12px;
}
.overlayform form .termos2{
	font-size:9px;
}
.overlayform form .alert{
	border:1px solid #ff0000!important;
}
.overlayform input[type='text']{
	margin-bottom:10px;
	max-width:100%!important;
}
.overlayform input[type='submit']{	
	width:100%;
	margin-bottom:10px;
}
.overlayform textarea{	
	width:100%;
	height:100px!important;
}
#overlay_content .close360{
	position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    cursor:pointer;
    background-image:url('http://www.cascaison.pt/img/close360.png');
    background-color:#424346;
}
.parceiropub{
	width:100%;
	max-height:80px;
	border: 1px solid #ececec;
	cursor:pointer;
	display:table;
	margin-bottom:20px;
	background-color:#ffffff;
}
.parceirotext{
	margin:10px;
}
.parceirotext h4{
	margin:0;
}
.redepub{
	width:100%;
	height:180px;
	border: 1px solid #ececec;
	cursor:pointer;
	display:table;
	margin-bottom:20px;
}

.redepub .imgbox{
	width:100%;
	height:100px;
	background-position:center center;
	background-size:cover;
}
.redepub .textbox{
	width:100%;
	height:80px;
	text-align:center;
	background-color:#ffffff;
}
.redepub .textbox .pubtitle{
	font-size:12px;
	font-weight:800;
	color:#ff0000;
	text-transform:uppercase;
	padding: 0 5px 0 5px;
	height: 22px;
    overflow: hidden;
}
.redepub .textbox .pubtext{
	font-size:12px;
	line-height:16px;
	padding: 0 5px 0 5px;
	max-height: 32px;
    overflow: hidden;
}
.redepub .textbox .puburl{
	font-size:10px;
	line-height:18px;
	color:#ff0000;
	padding: 0 5px 0 5px;
	height: 18px;
    overflow: hidden;
}

@media all and (max-width: 480px) {
    .pi_gallery {
        height:200px;
    }
    .pi_gallery h1{
        padding-left:5px;
        font-size:16px;
        line-height: 18px;
        margin-bottom:5px;
    }
}

@media all and (max-height: 360px) {
    #overlay_content{
		/*max-height:300px;	*/
	}
	.overlayform input[type='text'] {
		margin-bottom:0px;
	}
}
@media all and (max-width: 640px) {
    .pi_procura{
    	display: block;text-align:center;width: 100%;
	}
	#overlay_content{
		max-width:600px;	
	}
}
@media all and (max-width: 768px) {
    .pi_procura{
    	display: inline-block;vertical-align: top;
	}
	.pi_procura input[type='text']{	
		width:200px;
		
	}
}
@media all and (max-width: 700px) {
	.pi_procura{	
		margin-bottom:10px;
	}
	.pi_procura input[type='submit']{	
		margin-top:10px;
		font-size: 14px;
	}
}
@media all and (max-width: 920px) {
    .pi_tools{
    	display: none;
	}
}
@media all and (max-width: 980px) {
	.pi_procura input[type='text']{	
			
	}    	
}