html {
    height: 100%;
}
p {
    text-align: justify !important;
    line-height: 1.5em;
}
body {
    height: 100%;
    font-size: 14px;
    font-family: 'Ubuntu';
    -webkit-font-smoothing: antialiased;
    background: url(../images/general/pattern.jpg) repeat;
}
a,
a:hover,
a:focus {
    outline: none;
    cursor: pointer;
    text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    cursor: default;
    font-weight: normal;
}
ul, ol {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
img {
    max-width: 100%;
}

b, strong {
    font-weight: normal;
    font-family: 'Ubuntu-Bold';
}

h2 {
    color: #e3000f;
    font-size: 24px;
    margin-bottom: 40px;
    font-family: 'Ubuntu';
}

h3 {
    color: #1a1a19;
    font-size: 18px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-family: 'Ubuntu-Bold';
}

h4 {
    color: #e3000f;
    font-size: 18px;
    margin-bottom: 15px;
    font-family: 'Ubuntu';
}

.mb20 {
    margin-bottom: 20px !important;
}

#page-wrapper {
    height: 100%;
}
#content {
    min-height: 100%;
    background: #fff;
}
#content > div {
    padding-bottom: 240px;
}
#bg {
    height: 25px;
    display: block;
    margin: 0 -15px;
    background: url(../images/general/pattern.jpg) repeat;
}
.generic-wrapper {
    margin: 0 15px;
    padding: 35px 20px;
    background: #f0f0f0;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 0 1px 2px 0 rgba(0,0,0,.25);
    -moz-box-shadow: 0 1px 2px 0 rgba(0,0,0,.25);
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.25);
}

/* @group header */
header {
    padding: 15px;
}
header h1 {
    float: left;
    padding-top: 40px;
}
header p {
    float: right;
    color: #434343;
    font-size: 13px;
    background: #fff;
    padding: 20px 55px 10px;
    text-transform: uppercase;
    font-family: 'Raleway-Bold';

    background: -moz-linear-gradient(top,  #ffffff 0%, #d6d5d5 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#d6d5d5));
    background: -webkit-linear-gradient(top,  #ffffff 0%,#d6d5d5 100%);
    background: -o-linear-gradient(top,  #ffffff 0%,#d6d5d5 100%);
    background: -ms-linear-gradient(top,  #ffffff 0%,#d6d5d5 100%);
    background: linear-gradient(to bottom,  #ffffff 0%,#d6d5d5 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#d6d5d5',GradientType=0 );

    -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,0.36);
    -moz-box-shadow: 0 1px 1px 0 rgba(0,0,0,0.36);
    box-shadow: 0 1px 1px 0 rgba(0,0,0,0.36);
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}
header p img {
    padding: 0 10px;
}

/* @group footer */
footer {
    height: 200px;
    margin-top: -200px;
    background: #e3000f;
}
footer .append {
    padding-top: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    background: #f0f0f0;
    -webkit-border-radius: 0 0 10px 10px;
    -moz-border-radius: 0 0 10px 10px;
    border-radius: 0 0 10px 10px;
    border-top: 1px solid #e3000f;
}

footer .append p {
    color: #3c3c3c;
    font-size: 14px;
}
footer .append p b {
    color: #e3000f;
    font-size: 12px;
    font-weight: normal;
    text-transform: uppercase;
    font-family: 'Ubuntu-Bold';
}
footer .append p a {
    color: #3c3c3c;
}
footer .append p a:hover,
footer .append p a:focus {
    color: #3c3c3c;
}
footer .copy,
footer .author {
    color: #fff;
    font-size: 12px;
    /* open sans ?? */
}
footer .copy {
    float: left;
}
footer .author {
    float: right;
}
footer .author img {
    padding-left: 20px;
    vertical-align: top;
}
footer img + img {
    margin-left: 10px;
}

/* @group site-choose */
.site-choose {
    margin: 0 15px;
    padding-top: 80px;
    padding-bottom: 80px;
    text-align: center;
    background: #f0f0f0;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 0 1px 2px 0 rgba(0,0,0,.25);
    -moz-box-shadow: 0 1px 2px 0 rgba(0,0,0,.25);
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.25);
}
.site-choose .button {
    color: #fff;
    font-size: 14px;
    padding: 7px 50px;
    background: #e3000f;
    display: inline-block;
    text-transform: uppercase;
    font-family: 'Ubuntu-Bold';
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 0 1px 2px 0 rgba(0,0,0,.63);
    -moz-box-shadow: 0 1px 2px 0 rgba(0,0,0,.63);
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.63);
}

/* @group about-page */
.about-page p {
    color: #1a1a19;
    font-size: 14px;
    font-family: 'Ubuntu';
}
.services {
    padding: 40px 0;
}
.services .service {
    float: left;
    margin-right: 30px;
}
.services .service:last-child {
    margin-right: 0;
}
.services .service img {
    float: left;
    margin-right: 30px;
}
.services .service p {
    float: left;
    padding-top: 20px;
}
.about-page .image-col {
    padding-top: 30px;
}

/* @group extended header */
header.xs {
    position: relative;
    margin-bottom: 35px;
}
header.xs h1 {
    padding-top: 13px;
}
header.transport {
    padding-top: 5px;
}
header.xs p {
    font-size: 10.6px;
    padding: 10px 30px;
    position: relative;
}
header nav {
    top: 85px;
    right: 20px;
    padding: 7px 0;
    position: absolute;
    background: #e3000f;
    padding-right: 500px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}
header.transport nav {
    padding-right: 320px;
}
.header_nav_ferramentas {
    top: 95px;
}

header nav li {
    margin: 0 15px;
    display: inline-block;
}
header nav a {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    font-family: 'Ubuntu-Bold';
}
header nav a:hover,
header nav a:focus {
    color: #fff;
}
header nav a.active {
    color: #ffd9d9;
}

/* @group contacts-page */
.contacts-page p {
    color: #1a1a19;
    font-size: 14px;
    margin-bottom: 0;
}
.contacts-page p a {
    color: #1a1a19;
}
.contacts-page .area-separator {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #000;
}
.contacts-page p + h4 {
    padding-top: 20px;
}
#map-block {
    height: 420px;
    background: #ccc;
}

/* @group form */
form .field {
    margin-bottom: 20px;
}
form .field label {
    display: block;
    color: #6f6f6f;
    font-size: 14px;
    margin-bottom: 0;
    font-family: 'Ubuntu-Bold';
}
form .field input,
form .field textarea {
    width: 100%;
    background: #fff;
    padding: 5px 10px;
    border: 1px solid #e1e1e1;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
}
form .field textarea {
    resize: none;
    height: 120px;
}
.form-actions {
    text-align: right;
}
.form-submit {
    color: #fff;
    font-size: 14px;
    background: #e3000f;
    padding: 9px 50px 7px;
    display: inline-block;
    text-transform: uppercase;
    font-family: 'Ubuntu-Bold';
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 0 1px 2px 0 rgba(0,0,0,.63);
    -moz-box-shadow: 0 1px 2px 0 rgba(0,0,0,.63);
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.63);
}
.form-submit:hover {
    color: #fff;
}

/* @group gallery */
.gallery-page .row {
    margin-bottom: 30px;
}
.gallery-page .row:last-child {
    margin-bottom: 0;
}
.gallery-page .img-overlay {
    top: 0;
    bottom: 0;
    left: 15px;
    right: 15px;
    display: none;
    position: absolute;
    background: rgba(0,0,0,.75) url(../images/gallery/magnify.png) center center no-repeat;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}
.gallery-page .row div:hover .img-overlay {
    display: block;
}

/* @group pagination */
.pag {
    float: right;
}
.pag li {
    float: left;
}
.pag a {
    width: 35px;
    height: 35px;
    display: block;
    color: #aeaeae;
    font-size: 16px;
    padding-top: 7px;
    margin-left: 10px;
    text-align: center;
    background-color: #fff;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}
.pag a.gray {
    color: #fff;
    background: #b6b6b6;
}

/* @group footer extended */
.phones-col p b {
    width: 65px;
    text-align: right;
    margin-right: 15px;
    display: inline-block;
}
.addresses-col p {
    position: relative;
    padding-left: 90px;
}
.addresses-col p b {
    left: 0;
    top: 3px;
    width: 60px;
    text-align: right;
    position: absolute;
}

/* @group routes page */
.routes-text {
    float: left;
    width: 520px;
}
.routes-map {
    width: 540px;
    background: #fff;
    float: right;
}

.routes-list-wrapper {
    padding-top: 20px;
    border-top: 1px solid #e02426;
}
.routes-list-wrapper h3 {
    color: #fff;
    font-size: 14px;
    padding: 5px 5px 4px;
    text-transform: none;
    background: #e02426;
    font-family: 'Ubuntu-Bold';
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
.routes-list-wrapper .left-list {
}
.routes-list-wrapper .right-list {
}
.routes-list-wrapper ul li {
    margin-bottom: 3px;
}
.routes-list-wrapper ul li a {
    color: #fff;
    display: block;
    font-size: 14px;
    text-align: center;
    padding-top: 2px;
    padding-bottom: 2px;
}
.routes-list-wrapper .left-list ul li a {
    background: #868686;
}
.routes-list-wrapper .right-list ul li a {
    background: #9c9c9c;
}
.alert {
    display: none;
}

.lang_selector {
    position: relative;
    float: right;
    margin-right: 10px;
    top: 38px;
}
.lang_selector > li{
    position: relative;
    float: left;
    margin: 0 5px;
}

.lang {
    position: relative;
    float: right;
    margin-right: 10px;
    top: 38px;
}
.lang > li{
    position: relative;
    float: left;
    margin: 0 5px;
}
.lang > li > a{
    background: #E3000F;
    color: #ffffff;
}

.lang .button {
    color: #fff;
    font-size: 14px;
    padding: 7px 10px;
    background: #e3000f;
    display: inline-block;
    text-transform: uppercase;
    font-family: 'Ubuntu-Bold';
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 0 1px 2px 0 rgba(0,0,0,.63);
    -moz-box-shadow: 0 1px 2px 0 rgba(0,0,0,.63);
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.63);
}
.lang.sobre {
    top: 0px;
    margin-bottom: 15px;
    margin-right: 0px !important;
}
.lang.sobre li{
margin-bottom: 10px;
}
nav ul ul {
    display:none;
    position:absolute;
    top:100%;
    left:0;
    background:#E3000F none repeat scroll 0% 0%;
    padding:0
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}
nav ul ul li
{
    position:relative;
    margin:0;
    padding:0;
    display: list-item;
    height: 30px;
}
nav ul ul li a
{
    padding: 15px 15px;
}

nav ul ul ul
{
    top:0;
    left:100%
}

nav ul li:hover > ul
{
    display:block
}