/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #fff;
}

body {
    font-size: 1em;
    line-height: 1.4;
    background: #335585;
    margin: auto;
    padding: auto;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1em;
    margin: 1em 0;
    padding: 0;
    background: url(../img/hr.png) center top no-repeat;
    border: none;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */


#wrap{
    background: #194584;
    max-width: 65.5em;
    margin:0 auto;
    position: relative;
    overflow: hidden;
    border: 1px solid #26354D;
}

#menu{
    margin: 0.1em;
    padding: 0.8em 0 0.1em 0;
    position: absolute;
    bottom: 1.1em;
    right: 1em;
    font-family: 'Volkhov', serif;
}
#menu ul{
    list-style-type:none;
    margin:auto;
    padding: 1em auto;
    width: auto;
    text-align: center;
}
#menu ul li{
    display: inline;
    margin: 0 1em;
}

#menu ul li a:hover{
    color: #ffcc00;
}

#menu ul li a{
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    font-size: 1em;
    font-style: italic;
    padding: 0 .5em;
    text-shadow: 2px 2px 3px rgba(50, 50, 50, 1);
}
#menu ul li  a.active{
    border-bottom: 1px solid #fff;

}
#top{
    background-image: url(../img/bg_cabecera.png);
    background-position: bottom right;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
}
/**** Cabecera ***/

#cabecera{
    float: left;
    background: #ebf4ff;
    margin: 0.1em;
    width: 99.7%;
}

img.logo{
    margin: 0 1.35em;
    float: left;
}
#slider{
    max-width: 904px;
    
    margin: 0 auto 2em auto;
}
#slider img{
   border: solid 1px #fff;
}
#thumb{
    margin: 0 5px;
    
}
#thumb img{
    border: 1px solid #fff;
}
/**** Contenido ***/

#contenido{
    width: 100%;
    float: left;
    text-align: justify;
}
#interior{
    float: left;
    width: 94%;
    padding: 0 0 2em 0;
}
#interior h1{
    border-bottom: 2px solid #ddd;
    font-size: 2em;
    color: #fff;
}
#interior h2{
    color: #fff;
    text-shadow: 2px 2px 3px rgba(50, 50, 50, 1);
}
#interior h3{
    text-shadow: 2px 2px 3px rgba(50, 50, 50, 1);
    margin: 1em 0 0 0;
}
#interior h4{

    margin: 1em 0 -1em 0;
}
#interior a{
    color: #00448b;
    font-weight: bold;
    text-decoration: none;
}
#interior a:hover{
    color: #caab00;
}
#interior img{
    float: right;
    margin: 0 0 0 1em;
    padding: 2px;
    background: #fff;
    border: 1px solid #00448b;
}
#interior ul{
    list-style-type:none;
    padding:0px;
    margin:1em 1.5em;
}
#interior ul li{
    background-image:url(../img/vineta_azul.png);
    background-repeat:no-repeat;
    background-position:0px 5px; 
    padding-left:14px;
    margin-bottom: 1em;
}
#destacado{
    width: 25%;
    margin: 0 3em 3em;
    text-align: center;
    font-size: .9em;
}
#destacado p{
    text-align: justify;
}
#destacado h1{
    font-size: 1.30em;
    padding: .5em 0;
    font-weight: bold;
    color: #08dafd;
    text-align: center;
    background: url(../img/bg_tit.png) center bottom no-repeat;
}
#destacado img{
    border: 2px solid #bcbcbc;
    max-width: 100%;
    margin: .5em auto;
}
#destacado span{
    margin: 1em;
}

.izq{
    margin: 0 2em;
    float: left;
}
.der{
    float: left;
}

.vermas a{
    background: #08295f;
    float: right;
    color: #fff;
    font-size: .95em;
    font-weight: bold;
    text-decoration: none;
    padding: 0.4em 1.2em;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    }
.vermas a:hover{
    color: #00f0ff;
}

#der{
    margin: 4em .67em;
    float: right;
    width: 25%;
}
#nuesemp{
    background: #ededed;
    overflow: hidden;
}
#nuesemp h3{
    margin: 0;
    background: #014f8d;
    color: #fff;
    padding: 5px;
    text-align: center;
    -moz-border-radius-topright: 5px;
    -webkit-border-top-right-radius: 5px;
    border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -webkit-border-top-left-radius: 5px;
    border-top-left-radius: 5px;
}
#nuesemp ul
{
    list-style-type:none;
    padding:0px;
    margin:1em 1.5em;
}
#nuesemp ul li{
    background-image:url(../img/vineta_azul.png);
    background-repeat:no-repeat;
    background-position:0px 9px; 
    padding-left:14px;
    line-height: 2em;
}
#nuesemp a, #servdest a{
    color:#838383;
    text-decoration: none;
}
#nuesemp a:hover, #servdest a:hover{
    color:#343434;
}
#servdest{
    background: #ededed;
}
#servdest h3{
    margin: 0;
    background: #caab00;
    color: #fff;
    padding: 5px;
    text-align: center;
    -moz-border-radius-topright: 5px;
    -webkit-border-top-right-radius: 5px;
    border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -webkit-border-top-left-radius: 5px;
    border-top-left-radius: 5px;
}
#servdest ul
{
    list-style-type:none;
    padding:0px;
    margin:1em 1.5em;
}
#servdest ul li{
    background-image:url(../img/vineta_gold.png);
    background-repeat:no-repeat;
    background-position:0px 9px; 
    padding-left:14px;
    line-height: 2em;
}
#finservdest{
    background: #c4c4c4;
    width: 100%;
    height: 1em;
    -moz-border-radius-bottomright: 5px;
    -webkit-border-bottom-right-radius: 5px;
    border-bottom-right-radius: 5px;
    -moz-border-radius-bottomleft: 5px;
    -webkit-border-bottom-left-radius: 5px;
    border-bottom-left-radius: 5px;
}
#galeria{
    clear: both;
    width: 100%;
    text-align: center;
}
#galeria img{
    float: left;
    margin-top: 1em;
}
/**** formulario ***/
input, textarea {
    background: #f3f3f3;
    border: 1px solid #ccc;
    color: #74665b;
    font: inherit;
    font-size: 14px;
    padding: 5px 10px;
    -moz-border-radius: 10px; /*radius of 10px*/
    -khtml-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    width: 250px;
    /*line-height: 29px;
    min-height: 30px;   
    */
}
input:focus, textarea:focus {
    border-color: #d5d5d5;
    outline: none;
}
textarea {
    /*height: 150px;*/
    resize: vertical;
}
input[type=submit] {
    background: #014f8d;
    color: #FFF;
    font: inherit;
    padding: 7px 30px;
    width: auto;
    float: right;
    font-weight: bold;
    margin: 0 1em;
}
input[type=submit]:hover{
    background: #caab00;
}

label {
    margin:0 0 5px 0;
    font-size:14px;
    color:#fff;
    font-weight:bold;
    cursor:pointer;
    display:block;
}
label span {
    color:#dc4b46;
}
table td, table th{
    vertical-align:top;
    padding:0.5em 1em;
    border: none;

}
/**** Footer ***/

#footer{
    margin: 0;
    width: 100%;
    background: #f2f2f2;
    border-top: 1px solid #d9d9d9;
    color: #777777;
    overflow: hidden;
    padding: 1em 0;
}

#footer h3{
    text-align: center;
}
#datos{
    width: 50%;
    float: left;
    text-align: center;
}
#datos h2{
    padding: .5em 0;
    background: url(../img/bg_tit.png) center bottom no-repeat;
    margin: 0 0 1em 0;
    font-size: 1.3em;
}
#datos .d1, #datos .d2{
    float: left;
}
#datos img{
    margin-top: 3em;
}
#datos .d1{
    width: 100%;
    font-weight: bold;
    margin: 1em 0 1em 7em;
    text-align: justify;
    font-size: .9em;
}
#datos .d2{

    margin: 0 0 0 4em;
}
#carrusel{
    width: 50%;
    float: left;
}
#carrusel li{
    margin-right: 25px;
}
#carrusel li:last-child{
    margin-right: 0;
}
#carrusel img{
    border: 1px solid #ccc;
    background: #fff;
    padding: 2px;
}
#facebook{
    background-image: url(../img/ico_facebook.png);
    background-position: left center;
    background-repeat: no-repeat;
    height: 40px;
    padding: 18px 0 0 45px;
    width: 13em;
    float: left;
}
#facebook a, #footer a{
    text-decoration: none;
    color: #777777;
    font-weight: bold;
}
#facebook a:hover, #footer a:hover{
    text-decoration: none;
    color: #194584;
}
#politicas{
    font-size: .8em;
    clear: both;
    text-align: center;
    margin: 1em auto;
    width: 20%;
    display: block;
}
#cb-host{
    margin: 2em auto;
    text-align: center;
    font-weight: bold;
    font-size: .8em;
    clear: both;
}
#cb-host a{
    font-size: 0.8em;
    color: #8f8f8f;
}
#cb-host a:hover{
    color: #fb8e00;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}


@media only screen and (max-width : 780px) {
#top{
    background: none;
    text-align: center;
}
#menu{
    margin: 0.1em;
    padding: 0.2em 0 0.1em 0;
    height: auto;
    background: none;
    background-image:none;
    background-repeat: none;
    -moz-border-radius-topleft: 0;
    -webkit-border-top-left-radius: 0;
     border-top-left-radius: 0;
    -moz-border-radius-topright: 0;
    -webkit-border-top-right-radius: 0;
    border-top-right-radius: 0;
    clear: both;
    margin-top: 1em;
    position: relative;
    font-size: 1.2em;
}
#menu ul{
    list-style-type:none;
    margin:auto;
    padding: 1em auto;
    width: auto;
    text-align: center;
}
#menu ul li{
    display: inline;
    margin: .2em;
}

#menu ul li a:hover{
    background: none;
}

#menu ul li a{
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.75em;
    background: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    padding: 0.5em 0.5em;
    border: none;
    -webkit-box-shadow: none;
    -moz-box-shadow:    none;
    box-shadow:         none);
}
#menu ul li  a.active{
    text-decoration: none;
    background: none;

}
img.logo {
margin:0.5em auto;
float: none;
max-width: 95%;
position: relative;
}
#contenido ul{
    margin: 1em 0;
    float: left;
}
#destacado{
    width: 90%;
    float: left;
    padding: 0 1.2em;
    margin: 0 auto;
}
#destacado img{
    border: 2px solid #bcbcbc;
    max-width: 98%;
}
.izq{
    margin: 0 .2em;
}
#der {
margin: 1em .67em;
float: right;
width: 95%;
}
#interior #galeria img{
    float: left;
    clear: none;
}
#carrusel{
    display: none;
}
#datos{
    width: 100%;
}
#datos .d1{
    width: 100%;
    font-weight: bold;
    margin:1em 0 0 1em;
}
#datos .d2{
    width: 100%;
    margin: 0 0 0 1em;;
}
#interior {
float: left;
width: 98%;
font-size: 1.1em;
}
#interior img {
float: right;
margin: 0 0 0 1em;
padding: 2px;
background: #fff;
border: 1px solid #00448b;
clear: both;
max-width: 100%
}
table td, table th{
    vertical-align:top;
    padding: 0.2em;
    border: none;

}
input, textarea {
    background: #f3f3f3;
    border: 1px solid #ccc;
    color: #74665b;
    font: inherit;
    font-size: 14px;
    padding: 5px 10px;
    -moz-border-radius: 10px; /*radius of 10px*/
    -khtml-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    width: 150px;
    /*line-height: 29px;
    min-height: 30px;   
    */
}
form{
    margin: 1em;
}
}

/*========================================================================*/
@media only screen and (max-width : 1030px) {

#der {
margin: 4em .67em;
float: right;
width: 95%;
}
#interior {
float: left;
width: 98%;
font-size: 1.1em;
}
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}