/* fuentes */
@import url(https://fonts.googleapis.com/css?family=Droid+Serif:400,700);
@import url(https://fonts.googleapis.com/css?family=Lato:300,400,700,400italic,900);
body {font-family: 'Lato', sans-serif}
.f-droid {font-family: 'Droid Serif', serif}


/* bootstrap */
a {
    color: #2d2b2d;
}
a:hover, a:focus {
    text-decoration: none;
    color: #e1252f;
}
h1 {
    margin: 0 0 10px;
}
h2, h3, h4 {
    margin: 0;
}
.form-control {
    color: #2d2b2d;
    border-color: #2d2b2d;
}
.form-control::-moz-placeholder         {color: #2d2b2d}
.form-control:-ms-input-placeholder     {color: #2d2b2d}
.form-control::-webkit-input-placeholder{color: #2d2b2d}
.btn {border-radius: 0}
.btn-corp {
    background-image: none;
    background-color: #2d2b2d;
    color: white;
}
.btn-corp:hover {
    background-color: #e1252f;
    color: white;
}


/* colores */
.tx-white,
.th-white:hover,
.tx-white:focus,
.tx-white:active    {color: white}
.tx-grey,
.th-grey:hover,
.tx-grey:focus,
.tx-grey:active     {color: #717171}
.tx-black,
.th-black:hover,
.tx-black:focus,
.tx-black:active    {color: #2d2b2d}
.bg-white,
.bh-white:hover     {background-color: white}
.bg-grey,
.bh-grey:hover      {background-color: #717171}
.bg-black,
.bh-black:hover     {background-color: black}


/* estructura */
.header1 {
    padding-top: 50px;
    padding-bottom: 20px;
}
.header2 {
    padding-top: 15px;
    padding-bottom: 80px;
}
header #menu {
    text-transform: uppercase;
}
header #menu .menu-tit, header #menu .menu-txt {
    display: block;
}
header #menu .menu-txt {
    font-size: 8px;
}
header #header-idiomas {
    position: relative;
}
header #header-idiomas {
    margin-left: 35px;
}
header #header-idiomas.idiomasOpen > div {
    display: block;
}
header #header-idiomas > div {
    padding: 2px 5px;
    background-color: white;
    position: absolute;
    z-index: 50;
    top: 100%;
    left: 0;
    display: none;
}
header #header-idiomas a {
    white-space: nowrap
}
section.container, #bottom .container {
    max-width: 584px;
}
section {
    font-size: 14px;
    font-weight: 300;
    color: #717171;
    text-align: justify;
    line-height: 1.2;
}
section h1 {
    font-family: 'Droid Serif', serif;
    font-size: 36px;
    font-weight: 400;
    color: #2d2b2d;
    text-align: center;
    text-transform: lowercase;
}
#bottom {
    padding: 30px 0;
    margin-top: 20px;
    background-color: #383838;
}
#bottom h3 {
    margin-bottom: 10px;
    font-family: 'Droid Serif', serif;
    font-size: 13px;
}
#bottom p {
    margin-bottom: 5px;
}
#bottom a, footer a {
    color: white;
}
#bottom a:hover, footer a:hover {
    color: #e1252f;
}
#bottom .bg-black, #bottom .bg-corp {
    padding-top: 2px;
    padding-bottom: 2px;
    display: inline-block;
    vertical-align: top;
}
#bottom .bg-black {
    padding-left: 15px;
    width: calc(100% - 50px);
}
#bottom .bg-corp {
    width: 50px;
    text-align: center;
}
#bottom a:hover .bg-corp {
    background-color: black;
}
footer {
    padding: 15px 0 5px;
    margin-top: 120px;
    background-color: #383838;
    background-image: url(../images/footer.png);
    background-repeat: repeat-x;
}
#bottom + footer {
    margin-top: 10px;
}
#modalContacto {
    background-color: white;
}
#modalContacto .modal-dialog {
    max-width: 440px;
}
#modalContacto .modal-content {
    border: 0;
    box-shadow: none;
}
#modalContacto .row > div:first-of-type {
    box-shadow: 10px 0 10px -10px #777;
}

@media (max-width: 583px) {
    #bottom .container > .row > div {
        width: 100%;
        text-align: center;
    }
    #bottom .container > .row > div:first-of-type {
        margin-left: 0;
    }
    #bottom .container > .row > div + div {
        margin-top: 20px;
    }
}


/* menu: estructura */
header #menu .menu-elem {
    text-align: center;
}
header #menu .menu-elem .menu-sub   {margin-left: 5px}
header #menu .open > nav            {display: block!important}
@media all and (min-width: 584px) {
    header #menu-mini {display: none}
    header #menu, header #header-idiomas {
        display: inline-block;
        vertical-align: top;
    }
    header #menu > .menu-elem {
        display: inline-block;
        vertical-align: top;
        position: relative;
    }
    header #menu > .menu-elem + .menu-elem {
        margin-left: 35px;
    }
    header #menu > .menu-elem > .menu-link {
        display: block;
    }
    header #menu > .menu-elem > .menu-link-activo {
        background-image: url('../images/menuSel.png');
        background-repeat: no-repeat;
        background-position: right top;
    }
    header #menu > .menu-elem > .menu-link {
        padding-right: 10px;
    }
    header #menu nav {
        position: absolute;
        z-index: 50;
        top: 100%;
        left: 0;
        text-align: left;
        white-space: nowrap;
        display: none;
    }
    header #menu nav nav {
        top: 0;
        left: 100%;
    }
}
@media all and (max-width: 583px) {
    header {position: relative}
    header #menu-mini, header #header-idiomas {
        display: inline-block;
        vertical-align: top;
    }
    header nav {display: none}
    header #menu {
        width: 100%;
        position: absolute;
        z-index: 50;
        top: 100%;
        left: 0;
        text-align: center;
    }
    header #menu.open {display: block!important}
    header #menu > .menu-elem > .menu-link span + span {
        display: none;
    }
}

/* menu: colores */
header #menu .menu-link:hover,
header #menu .menu-sub:hover    {color: #e1252f}
@media all and (max-width: 583px) {
    header #menu {background-color: white}
    header #menu .menu-elem,
    header #menu .menu-sub {
        line-height: 32px;
    }
    header #menu .menu-elem {border-top: 1px solid}
    header #menu > .menu-elem:first-of-type {border-top: 0}
    header #menu .menu-sub {
        width: 32px;
        border-left: 1px solid;
        border-right: 1px solid;
    }
}