
/* ------------------- Basic Layout Styles ---------------- */

html,
body,
#page  {
  height: 100%;
}
#page-wrapper {
  min-height: 100%;
}
#header div.section,
#featured div.section,
#messages div.section,
#main,
#triptych,
#footer-columns,
#footer {
  width: 100%;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

/*
#header div.section {
  position: relative;
}
.region-header {
  float: right; 
  margin: 1em 5px 1.5em;
}

*/
li{
margin-bottom:1px;
border-radius:2px;
}
#secondary-menu {
  margin-top: 15px;
  margin-bottom:10px;
  overflow: hidden;
  width: 100%;
}
#main-wrapper {
min-height: 589px;
}

#breadcrumb {
  margin: 0 15px;
}

#footer-wrapper .section {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin-top: 10px;
float: none;
}
.region-triptych-first,
.region-triptych-middle,
.region-triptych-last {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0 20px 0;
}
.region-footer-firstcolumn,
.region-footer-secondcolumn,
.region-footer-thirdcolumn,
.region-footer-fourthcolumn {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
 
}


@media all and (min-width: 560px) and (max-width: 970px) {

  #sidebar-first,
  .region-triptych-first,
  .region-triptych-middle,
  .region-triptych-last,
  .region-footer-firstcolumn,
  .region-footer-secondcolumn,
  .region-footer-thirdcolumn,
  .region-footer-fourthcolumn {
    display: inline;
    float: left; /* LTR */
    position: relative;
  }
  #sidebar-first,
  #sidebar-second {
    width: 50%;
  }
  #sidebar-second {
    margin-left: 50%; /* LTR */
  }
  .one-sidebar #sidebar-first,
  .one-sidebar #sidebar-second {
    width: 100%;
  }
  .one-sidebar #sidebar-second {
    margin-left: 0; /* LTR */
	float: left;
	margin-bottom:10px;
  }
  body.node-type-lineas-ayuda ul.lista_ficheiros {
font-size: 10px;
padding: 0px 10px 10px 30px;
float: left;
}
body.node-type-linas-axuda ul.lista_ficheiros {
font-size: 10px;
padding: 0px 10px 10px 30px;
float: left;
}
  .region-triptych-first,
  .region-triptych-middle,
  .region-triptych-last {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 10px 0;
    width: 33%;
  }
  .region-footer-firstcolumn,
  .region-footer-secondcolumn {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
   
    width: 50%;
  }
  .region-footer-thirdcolumn,
  .region-footer-fourthcolumn {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 10px;
    width: 50%;
  }
  .region-footer-thirdcolumn {
    clear: both;
  }
}
svg#pdr text {
cursor: auto;
}
body.node-type-lineas-ayuda .node .content {
font-size: 14px;
text-align: justify;
}

body.node-type-lineas-ayuda ul.lista_ficheiros {
font-size: 12px;
padding: 10px 10px 10px 30px;
}
body.page-forum  #content {
margin-right: 0;
padding-left: 0;
border-left: none;
margin-top: 10px;
width: 100%
}
body.page-forum  .section {
float: none;
}

body.page-forum .gl {
float: none;
margin-right: 0;
}
@media all and (min-width: 971px) {

  #header div.section,
  #featured div.section,
  #messages div.section,
  #main,
  #triptych,
  #footer-columns,
  #footer {
    max-width: 960px;
	overflow: hidden;
	
  }
  #content,
  #sidebar-first,
  #sidebar-second,
  .region-triptych-first,
  .region-triptych-middle,
  .region-triptych-last,
  .region-footer-firstcolumn,
  .region-footer-secondcolumn,
  .region-footer-thirdcolumn,
  .region-footer-fourthcolumn {
    display: inline;
    float: left; /* LTR */
    position: relative;
  }
  .two-sidebars #content {
    margin-left: 25%;
    margin-right: 25%;
    width: 50%;
  }
body.front div#content{
    width: 624px;
  }
  .no-sidebars #content {
    width: 100%;
	margin-top: 0px;
  }
  .sidebar-first #content {

margin-right: 0;
padding-left: 47px;
border-left: solid 1px #767676;
margin-top: 10px;
width: 74%;
    min-height: 570px;
  }
  .sidebar-second #content {
    margin-right: 48px; /* LTR */
    margin-left: 0; /* LTR */
  }
  #sidebar-first {
    width: 20%;
  }
  #sidebar-second {
    width: 288px;
    margin-top: 14px;
    clear: none;
  }
  .region-triptych-first,
  .region-triptych-middle,
  .region-triptych-last {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 33%;
  }
  .region-footer-firstcolumn{
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 0px;
    width: 18%;

  }
  .region-footer-secondcolumn{
    -moz-box-sizing: border-box;
    box-sizing: border-box;
	height:53px;
    width: 70%;
	margin-top: 7px;
  }
  .region-footer-thirdcolumn{
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 10px;
    width: 28%;
  }
  .region-footer-fourthcolumn {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 10px;
    width: 12%;
  }
}
ul.lista_ficheiros_nova {
font-size: 12px;
list-style: none;
padding-top: 12px;
padding-left: 20px;
padding-bottom: 20px;
margin-top:0;
margin-bottom:48px;
}
.field.field-name-field-enderezo.field-type-text.field-label-inline.clearfix {
  margin: 20px 0 0 0;
}
article#node-41 {
  width: 624px;
}
article#node-29 {
  width: 624px;
}
@media all and (min-width: 460px) and (max-width: 970px) {
.region-footer-firstcolumn, .region-footer-secondcolumn, .region-footer-thirdcolumn, .region-footer-fourthcolumn{
float:left;
margin-left: 10px
}
}