/*	LAYOUT ------------------------------------------------------------*/

html {
  height: 100%;
}

body {
  font-family: "Lucida Sans Unicode","Lucida Grande","Lucida Sans",Verdana,Arial,sans-serif;
  height: 100%;
  line-height: 20px;
  font-size: 14px;
  min-width: 320px;
  background-color: #f0f0f0;
  -webkit-text-size-adjust:none;
}

header {
  height: 72px; 
}

.top, #content, .bottom, footer {
  overflow: hidden;
}

.top {
  max-height: 620px;
  height: 80%;
}

#skipnav {
	position:absolute;
	left:-9999px;
	top:-9999px;
}

noscript, .ie-warning {
  background-color: #666;
  color: #FFFFFF;
  font-family: Arial,sans-serif;
  font-size: 16px;
  line-height: 48px;
  text-align: center;
  width: 100%;
  display: block;
}

.ie-warning {
  height: auto;
}

.js noscript {
  display: none;
}


/*	CONTAINERS, WRAPS, COLUMNS ------------------------------------------------*/

.container {
  max-width: 1100px;
  width: 96%;
  margin: 0 auto;
  overflow: hidden;
  height: 100%;
  padding: 30px 0;
  min-width: 300px;
  position: relative;
}

header .container {
  padding: 0;
}

.top .container { 
  padding: 0;
  max-height: 620px;
}


.wrap {
  position: relative;
  max-width: 870px;
  margin: 0 auto;
  height: 100%;
  overflow: hidden;
}

#content .container .wrap {
	min-height: 400px;
	margin-bottom: 40px;
}

.column {
  float: left;
  width: 260px;
  margin: 0 15px;
}

.double {
  width: 550px;
}

.column.gallery {
  margin: 5px 15px;
}

.column.gallery img {
  width: 100%;
  height: 170px;
}

/*  BACKGROUNDS AND DROP SHADOWS ------------------------------------------------*/

header {
  background: url(../images/fundo3.png) left top repeat scroll #0283c0;
  -webkit-box-shadow: inset 0 -7px 5px -5px rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 -7px 5px -5px rgba(0, 0, 0, 0.2);
}

header .container {
  background: url(../images/fundo3.png) left top repeat scroll #028cc8;
}

.top, #content {
  background: url(../images/fundo1.png) left top repeat scroll #f0f0f0;
}

#content {
  -webkit-box-shadow: inset 0 7px 5px -5px rgba(100, 100, 100, 0.1);
  box-shadow: inset 0 7px 5px -5px rgba(100, 100, 100, 0.1);
}

#content .container { 
  background: url(../images/fundo1.png) left top repeat scroll #f7f7f7;
  -webkit-box-shadow: inset 0 7px 5px -5px rgba(100, 100, 100, 0.3), 0 0 2px rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 7px 5px -5px rgba(100, 100, 100, 0.3), 0 0 2px rgba(0, 0, 0, 0.1);
}

.bottom { 
  background: url(../images/fundo2.png) left top repeat scroll #d5d5d5;
  -webkit-box-shadow: inset 0 7px 5px -5px rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 7px 5px -5px rgba(0, 0, 0, 0.1);
}

.bottom .container {  
  background: url(../images/fundo2.png) left top repeat scroll #dcdcdc;
  -webkit-box-shadow: inset 0 7px 5px -5px rgba(0, 0, 0, 0.1), 0 0 2px rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 7px 5px -5px rgba(0, 0, 0, 0.1), 0 0 2px rgba(0, 0, 0, 0.1);
}

footer {  
  background: url(../images/fundo3.png) left top repeat scroll #0182be;
  -webkit-box-shadow: inset 0 7px 5px -5px rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 7px 5px -5px rgba(0, 0, 0, 0.2);
}

footer .container {
  background: url(../images/fundo3.png) left top repeat scroll #018bc6;
  -webkit-box-shadow: inset 0 7px 5px -5px rgba(0, 0, 0, 0.2), 0 0 2px rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 7px 5px -5px rgba(0, 0, 0, 0.2), 0 0 2px rgba(0, 0, 0, 0.1);
}

.container {
  -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
}


/*  TIPOGRAPHY --------------------------------------------------------*/

h2 {
  font-weight: normal;
  text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.4), 1px 1px 1px rgba(255, 255, 255, 0.4);
 	font-size: 28px; 
 	color: #808080; 
 	line-height: 60px;
}

h3 {
	font-size: 18px;
  color: #8f8f8f;
  margin-bottom: 20px;
  font-weight: normal;
  text-shadow: -1px -1px 0 rgba(0, 0, 0, .2), 1px 1px 0 rgba(255, 255, 255, .5);
}

p, ul, ol { margin-bottom: 20px; }

ul, ol { list-style-position: inside; }

.element-invisible { display: none;}

#toolbar .toolbar-menu { overflow: hidden; }

/*  LINKS ---------------------------------------------------------------*/

a {
  color: #0b8cca;
  text-decoration: none;
  text-shadow: -1px -1px 1px rgba(255, 255, 255, .3), 1px 1px 1px rgba(0, 0, 0, .2);
}

a:hover, a:focus {
  color: #666;
}


/*	HEADER ------------------------------------------------------------*/


.logocorvo a {
	position: absolute;
  left: 20px;
  bottom: 0;
  display: block;
  width: 340px;
  height: 72px;
  text-indent: -9999px;
  background: url(../images/logo-pt.svgz) no-repeat left 10px transparent;
  background-size: contain;
}

html[lang=en] .logocorvo a {
	background-image: url(../images/logo-en.svgz);
}

.no-svg .logocorvo a {
  width: 333px;
  background: url(../images/logo.png) no-repeat top left transparent;
}

html.no-svg[lang=en] .logocorvo a {
  background-image: url(../images/logo.png);
  background-position: 0 -72px;
}

.logocorvo a:hover, .logo a:focus {
  opacity: 0.8;
}

.langswitch {
  position: absolute;
  right: 20px;
  bottom: 6px;
  font-size: 11px;
  color: #fff;
  font-weight: normal;
  background: url(../images/arrows.svgz) no-repeat right -120px transparent;
  padding-right: 26px;
}

.no-svg .langswitch {
  background-image: url(../images/arrows.png)
} 

.langswitch:hover, .langswitch:focus {
	opacity: 0.8;
	color: #fff;
}

/*  PANORAMA -------------------------------------------------------------*/

.top object, .top embed {
  height: 100% !important;
  width: 100% !important;
}

#panorama > div > div:nth-child(2) {
  cursor: move !important;
}

/*  HELP -------------------------------------------------------------*/

.helpbtn {
  position: absolute;
  right: 41px;
  top: 128px;
}

.helpbtn img {display:block;}

.helpbtn:hover, .helpbtn:focus {
  opacity: 0.7;
  cursor: pointer;
}

.overlay {
  position: relative;
  background-color : #ffffff;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  cursor: pointer;
}

.help, .help1, .help2, .help3 {
  cursor: pointer;
  position: absolute;
}

.help {
  height: 100%;
  width: 100%;
  top: 0;
  right: 0;
  border: #000 solid 4px;
  z-index: 9000;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.help1 {
  top: -4px;
  right: -4px;
  z-index: 9001;
  width: 373px;
  height: 145px;
  background-image: url(/sites/default/themes/civic/images/help1_pt.png);
  background-size: 373px 145px;
}

.help2 {
  bottom: 0;
  left: 0;
  z-index: 9001;
  width: 291px;
  height: 170px;
  background-image: url(/sites/default/themes/civic/images/help2_pt.png);
  background-size: 291px 170px;
}

.help3 {
  top: 170px;
  right: 0;
  z-index: 9001;
  width: 373px;
  height: 254px;
  background-image: url(/sites/default/themes/civic/images/help3_pt.png);
  background-size: 373px 254px;
}

.node-type-pagina .help3 {
  background-image: url(/sites/default/themes/civic/images/help3_pt_vila.png);
}

.node-type-ponto .help3 {
  display: none;
}

html[lang=en] .help1 {
  background-image: url(/sites/default/themes/civic/images/help1_en.png);
}

html[lang=en] .help2 {
  background-image: url(/sites/default/themes/civic/images/help2_en.png);
} 

html[lang=en] .help3 {
  background-image: url(/sites/default/themes/civic/images/help3_en.png);
} 

html[lang=en] .node-type-pagina .help3 {
  background-image: url(/sites/default/themes/civic/images/help3_en_vila.png);
} 

/*  CONTENT --------------------------------------------------------------*/

.title {
  border-bottom: 1px solid rgba(0,0,0,.05);
  padding: 0 15px 30px;
}

.title p { font-size: 18px; margin-top: 6px; color: #808080; }

.sobrecorvo {
  font-size: 20px;
  position: absolute;
	right: 0;
	top: 0;
  padding: 12px 24px 22px 32px;
  -webkit-border-radius: 33px;
  border-radius: 33px;
  -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  color: #fff;
  text-decoration: none;
  text-shadow: -1px -1px 1px rgba(255, 255, 255, .4), 1px 1px 1px rgba(0, 0, 0, .4);
  width: 204px;
  height: 30px;
  margin: 0 15px 20px;
  background: url(../images/arrows.svgz) no-repeat right -50px #008acc;
}

.no-svg .sobrecorvo {
  background-image: url(../images/arrows.png);
}

.sobrecorvo span {
  font-size: 14px;
}

.sobrecorvo:hover, .sobrecorvo:focus {
  -webkit-box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
  background-color: #009de5;
  color: #fff;
}

.sobrecorvo.ilha {
  padding: 22px 24px 12px 32px;
}

.catright {
	margin-bottom: 60px;
}

.contbox, .cat {
  border-top: 1px solid #fff;
  padding-top: 20px;
  overflow: hidden;
}

.cat h3 {
  color: #8F8F8F;
  font-size: 16px;
  font-weight: normal;
  padding: 50px 0 6px;
  text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.2), 1px 1px 0 rgba(255, 255, 255, 0.5);
  background: url(../images/categories.svgz) no-repeat left top transparent;
}

.no-svg .cat h3 {
  background-image: url(../images/categories.png);
}

.cat ul { margin-bottom: 30px;}

.cat .gente h3 { background-position: 0 0; }
.cat .paisagens h3 { background-position: 0 -320px; }
.cat .areas h3 { background-position: 0 -160px; }

.cat a, .catright a {
  font-size: 12px;
  line-height: 17px;
  padding: 0 20px 0 0;
  background: url(../images/arrows.svgz) no-repeat right -2px;
}

.no-svg .cat a, .no-svg .catright a {
  background-image: url(../images/arrows.png)
}


.cat a:hover, .cat a:focus,
.catright a:hover, .catright a:focus {
  background-position: right -22px;
}

.catright h2 { font-size: 20px; color: #808080; line-height: 32px; }

.catright p { font-size: 15px; margin: 0; color: #808080; }

.catright h3 { 
	color: #8F8F8F;
	font-size: 14px; 
	margin: 10px 0 0; 
	padding: 24px 0 0;
	background: url(../images/categories.svgz) no-repeat left top transparent; 	
}

.no-svg .catright h3 {
  background-image: url(../images/categories.png);
}

.catright .gente h3 { background-position: 0 -480px;}
.catright .paisagens h3 { background-position: 0 -640px;}
.catright .areas h3 { background-position: 0 -560px;}

.imagens { margin: 0 15px; width: 260px; float: left;}

.imagens img { margin-bottom: 10px; }

/*  SUB-FOOTER -----------------------------------------------------------*/

.bottom h2 { font-size: 17px; margin-bottom: 20px;}

.bottom h3 { font-size: 15px; margin-bottom: 10px;}

.bottom p { color: #3f4a4f;}

.blog { float: left; }

.blog h2 { margin-left: 15px;}

.post {
  float: left;
  width: 260px;
  margin: 0 15px 30px;
}

/*  FOOTER ---------------------------------------------------------------*/

footer dt {
  color: #003F5C;
  font-size: 13px;
  text-shadow: -1px -1px 1px rgba(0, 0, 0, .2), 1px 1px 1px rgba(255, 255, 255, .2);
  margin-bottom: 10px;
}

footer dd {
	float: left;
	margin-right: 30px;
}

.logos {
  border-bottom: 1px solid rgba(0,0,0,.3);
	padding-bottom: 30px; 
}
	
.logos .coordination { width: 144px; }
.logos .partners { width: 318px; }
.logos .financing { width: 318px; }

.logo {
  text-indent: -9999px;
  height: 86px;
  display: block;
  width: 124px;
  background: url(../images/logos.svgz) no-repeat scroll 0 0 transparent;
}

.no-svg .logo {
  background-image: url(../images/logos.png);
}

.logo:hover, .logo:focus {
	opacity: 0.8;
}

.logo.spea { 
  background-position: 0 0;

}

.logo.camara { background-position: -124px 0;}

.logo.secretaria { background-position: -248px 0; }

.logo.life { background-position: -372px 0; }

.logo.rspb { background-position: -496px 0; }

.contact {
  width: 100%;
  padding: 30px 0 5px;
  border-top: 1px solid rgba(255,255,255,.3);
}
 
.contacts { width: auto; margin-bottom: 20px; margin: 0 7px 0 15px; }

.secondnav { width: auto; position: relative; margin: 0; }

.contacts li {
  float: left;
  margin-right: 8px;
}

.contacts a {
  display: block;
  padding: 20px 30px 10px;
  height: 30px;
  -webkit-border-radius: 33px;
  border-radius: 33px;
  -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  color: #fff;
  text-shadow: -1px -1px 1px rgba(255, 255, 255, .4), 1px 1px 1px rgba(0, 0, 0, .4);
  background: url(../images/social.svgz) top left no-repeat #4daed7;
	text-indent: -9999px;
}

.no-svg .contacts a {
  background-image: url(../images/social.png);
}

.contacts a:hover, .contacts a:focus {
  -webkit-box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
  background-color: #4dc0e0;
}

.menu-729 a { background-position: -58px 0; }

.menu-2657 a { background-position: -117px 0; }

.secondnav a {
  font-size: 13px;
  padding-right: 20px;
  color: #fff;
  background: url(../images/arrows.svgz) no-repeat right -42px;
}

.no-svg .secondnav a {
  background-image: url(../images/arrows.png);
}

.secondnav a:hover, .secondnav a:focus {
  opacity: 0.8;
  color: #fff;
}

.copyright {
  position: absolute;
  right: 15px;
  bottom: 0;
  font-size: 13px;
  color: #003F5C;
  text-shadow: -1px -1px 1px rgba(0, 0, 0, .2), 1px 1px 1px rgba(255, 255, 255, .2);
  margin-bottom: 4px;
}

.copyright a {
  color: #003F5C;
  text-shadow: -1px -1px 1px rgba(0, 0, 0, .2), 1px 1px 1px rgba(255, 255, 255, .2);
}

.copyright a:hover, .copyright a:focus {
  color: #fff;
  opacity: 0.8;
}

footer ul, .cat ul, .catright ul { list-style-type: none; }


/* SPOTS ------------------------------------------------------*/

.contbox img, .mejs-container, iframe, audio {
  margin-bottom: 20px;
}

.mejs-container { width: 550px !important; }
.me-cannotplay span { padding: 8px;}

audio {
	width: 100%;
	height: 30px;
}

.contbox img {display: block;}

/* FORM ------------------------------------------------------*/


#user-login,
#user-pass,
#user-pass-reset,
.messages {
	margin: 0 15px;
}

.messages {
  padding: 20px 0;
}

#user-login input,
#user-pass input,
#user-pass-reset input {
	font-size: 14px;
	width: 260px;
	display: block;
	margin: 10px 0;
	border: 1px solid #b3b2b1;
	padding: 10px;
}

#user-login .description {
	display: none;
}

#user-login div,
#user-pass div,
#user-pass-reset div {
	margin-bottom: 20px;
}

#user-login #edit-submit,
#user-pass #edit-submit,
#user-pass-reset #edit-submit {
	padding: 10px;
	-webkit-border-radius: 20px;
	border-radius: 20px;
	-webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
	color: white;
	text-decoration: none;
	text-shadow: -1px -1px 1px rgba(255, 255, 255, .4), 1px 1px 1px rgba(0, 0, 0, .4);
	height: 40px;
	margin: 50px 0 0;
	background: #008ACC;
  width: auto;
  min-width: 120px;
}

#user-login #edit-submit:hover, #user-login #edit-submit:focus,
#user-pass #edit-submit:hover, #user-pass #edit-submit:focus,
#user-pass-reset #edit-submit:hover, #user-pass-reset #edit-submit:focus {
	-webkit-box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
	box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
	background-color: #009DE5;
	color: white;
}

#user-login .error,
#user-pass .error {
	outline: red;
}

/*  OPENLAYERS ------------------------------------------*/

.openlayers-map { z-index:0; position:relative; }

.openlayers-controls { z-index: 1000; }

body .olImageLoadError { background: transparent; }

/*  MEDIA QUERIES ------------------------------------------*/

@media screen and (max-width: 930px) {
	.wrap, .logos, .footerfooter { width: 580px; }
	.logos .financing { margin-top: 20px; }
	footer .wrap.contact{ height: 120px; }
	.columnright { width: 580px; margin-top: 50px; }
	.column.gallery { width: 100%; margin-top: 50px; }
	.column.gallery img { width: 280px; height: auto; float: left; height: 180px; }
	.secondnav, .conthead { width: 260px; }
	.blogs { width: 290px; }
	.cordination { width: 550px; }
	.imagens { width: 550px;}
	.imagens img { margin-right: 10px; }
}

@media screen and (max-width: 630px) {
	.wrap, .logos, .footerfooter { width: 307px; }
	footer .wrap.contact { height: 220px; }
	.secondnav { margin: 25px 15px; }
	.categlist { width: 290px; }
	.columnright { width: 290px; }
	.logos .column { margin-bottom: 15px; }
	.logos .financing { margin-top: 0; }
	.logo { margin: 4px 0 0; }
	.cordination { width: 260px; }
	.adopte { margin: 30px 15px 10px; }
	.double { width: 280px;}
	.conthead h2 { font-size: 24px; }
	.sobrecorvo { display: block; position: inherit; clear: left; }
	.mejs-container { width: 280px !important;}
	iframe {width: 280px !important; height: 210px !important; }
	.contbox img { width: 280px; height: auto; }
	.copyright { right: 10px;}
	.mejs-container, iframe, .contbox img, audio { margin-bottom: 10px;}
  .copyright { left: 10px; right: auto;}
}

@media screen and (max-height: 480px) {
	body { min-height: 100%; }
	.langswitch { right: 20px; bottom: 1px; font-size: 9px; }
  .logocorvo a { left: 10px; width: 240px; height: 50px; background-position: left 8px;}
  .no-svg .logocorvo a { left: 10px; width: 240px; height: 44px; background-position: 0 -144px; }
  html[lang=en] .no-svg .logocorvo a { background-position: 0 -216px; }
	header, header .container { height: 44px; }
  .help3 { display: none; }
}

@media screen and (max-width: 480px) {
	.title {padding-bottom: 10px;}
	h3 { margin-bottom: 10px;}
  .logocorvo a { left: 10px; width: 240px; height: 50px; background-position: left 8px;}
  .no-svg .logocorvo a { left: 10px; width: 240px; height: 44px; background-position: 0 -144px; }
  html[lang=en] .no-svg .logocorvo a { background-position: 0 -216px; }
	.langswitch { right: 10px; bottom: 1px; font-size: 9px; margin: 0 -9px; padding: 0 9px; background-image: none;}
	.langswitch:hover, .langwitch:focus { right: 10px; bottom: 1px; font-size: 9px; margin: 0 -9px; padding: 0 9px; background-image: none;}
  .no-svg .langswitch, .no-svg .langwitch:hover, .no-svg .langwitch:focus { background-image: none;} 
	header, header .container { height: 44px; }
  .helpbtn { right: 11px; top: 100px; }
  .help1 { right: -35px !important; top: -28px !important;}
  .help2 { left: -30px !important; bottom: -30px !important; top: auto !important;}
  .help3  { right: -35px !important; top: 120px !important;}
	.controls { top: -10px !important; right: -15px !important; left: auto !important; }
  .copyright { left: 10px; right: auto;}
}

@media screen and (max-height: 320px) {
	.top { height: 90%; }
}

@media
  only screen and (-webkit-min-device-pixel-ratio: 1.3),
  only screen and (min-device-pixel-ratio: 1.3),
  only screen and (min-resolution: 120dpi) {
    .help1 {
      background-image: url(/sites/default/themes/civic/images/help1_pt_2x.png);
    }

    .help2 {
      background-image: url(/sites/default/themes/civic/images/help2_pt_2x.png);
    }

    .help3 {
      background-image: url(/sites/default/themes/civic/images/help3_pt_2x.png);
    }
    .node-type-pagina .help3 {
      background-image: url(/sites/default/themes/civic/images/help3_pt_vila_2x.png);
    }

    html[lang=en] .help1 {
      background-image: url(/sites/default/themes/civic/images/help1_en_2x.png);
    }
    html[lang=en] .help2 {
      background-image: url(/sites/default/themes/civic/images/help2_en_2x.png);
    }
    html[lang=en] .help3 {
      background-image: url(/sites/default/themes/civic/images/help3_en_2x.png);
    }
    html[lang=en] .node-type-pagina .help3 {
      background-image: url(/sites/default/themes/civic/images/help3_en_vila_2x.png);
    } 
}

/*  FACEPALM ------------------------------------------*/

.ie body {
	min-width: 930px;
}

.ie .help { border: #000 solid 4px; }

.ie .title {
  border-bottom: 1px solid #ccc;
}

.ie .sobrecorvo {
  background: url(../images/sobrecorvo.png) no-repeat 0 0 transparent;
  margin-bottom: 10px;
  width: 208px;
  height: 28px;
}

.ie .sobrecorvo:hover, .ie .sobrecorvo:focus {
  background-position: 0 -60px;
}

.ie .contbox, .ie .cat {
  border-top: 1px solid #fff;
  padding-top: 20px;
  overflow: hidden;
}

.ie .cat li, .ie .catright li {
	list-style-position: outside;
}

.ie .cat a, .ie .catright a {
  padding: 0;
  background: none;
}

.ie .contacts a {
  background: url('../images/contacts.png') no-repeat 0 0 transparent;
  height: 34px;
}

.ie .contacts a:hover, .ie .contacts a:focus {
  background: url('../images/contacts.png') no-repeat 0 -70px transparent;
}

.ie .menu-729 a { background: url('../images/contacts.png') no-repeat -60px 0 transparent; }

.ie .menu-729 a:hover, .ie .menu-729 a:focus {
	background: url('../images/contacts.png') no-repeat -60px -70px transparent; 
}

.ie .menu-2657 a { background: url('../images/contacts.png') no-repeat -120px 0 transparent; }

.ie .menu-2657 a:hover, .ie .menu-2657 a:focus {
	background: url('../images/contacts.png') no-repeat -120px -70px transparent;
}
