@charset "utf-8";
/* CSS Document */
/*
 -----------------------------------------------------------------------------------------------------------------
 RESET
 -----------------------------------------------------------------------------------------------------------------
 */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
}
* {
    margin: 0px;
    padding: 0px;
}
html, body {
    height: 100%;
    width: 100%;
}
body {
    background-color: #630C0E;
    background-image: url(images/pattern2.jpg);
    background-repeat: repeat;
    background-position: left top;
    overflow-x: hidden;
}
/* ----------------------------------------------------text highlight/selection -----------------------------------------------------------------------------------------------------*/
::-moz-selection {
    color: #fff;
    background: #750b0e;
    text-shadow: none;
}
::selection {
    color: #fff;
    background: #750b0e;
    text-shadow: none;
}
/*----------------------------------------------------------------------------SPLASH PAGE-------------------------------------------------------------------------------------------------------------*/
#badera {
    background-image: url(images/fondo_bandera.png);
    background-repeat: no-repeat;
    background-position: center top;
    width: 720px;
    margin-right: auto;
    margin-left: auto;
    height: 1003px;
    margin-top: 0px;
    padding-top: 60px;
}
#badera #logo {
    height: 180px;
    width: 431px;
    margin-right: auto;
    margin-left: auto;
    background-image: url(images/logo_home.png);
    background-repeat: no-repeat;
    background-position: center center;
}
#badera #divisor {
    background-image: url(images/divisor.png);
    background-repeat: no-repeat;
    background-position: center center;
    height: 36px;
    width: 580px;
    margin-right: auto;
    margin-left: auto;
}
#badera #intro {
    width: 78%;
    padding-right: 11%;
    padding-left: 11%;
    padding-top: 10px;
}
.splash {
    background-image: url(images/pattern.jpg);
    background-repeat: repeat;
}
#badera #intro p {
    font-size: 1em;
    color: #750b0e;
}
#badera #botones {
    width: 82%;
    padding-right: 9%;
    padding-left: 9%;
    padding-top: 25px;
}
#badera #botones #resto {
    float: left;
    width: 46%;
    text-align: right;
    padding-right: 4%;
}
#badera #botones #eventos {
    float: left;
    width: 46%;
    padding-left: 4%;
}
#badera #botones h1 {
    font-size: 2.4em;
    font-family: 'Fanwood Text', serif;
    font-weight: 400;
    font-style: italic;
}
#badera #botones h1 a {
    color: #AF1014;
    text-decoration: none;
    -webkit-transition: all .25s;
    -moz-transition: all .25s;
    -o-transition: all .25s;
    transition: all .25s;
}
#badera #botones h1 a:hover {
    color: #B76000;
    text-decoration: underline;
}
.splash #badera #intro p {
    font-size: 1.2em;
    font-family: 'Fanwood Text', sans-serif;
    font-weight: 400;
    color: #500507;
    text-align: center;
}
#badera #botones #resto p {
    font-size: 1em;
}
#badera #botones #resto p a {
    color: #960E11;
    text-decoration: none;
}
/*----------------------------------------------------------------------------HEADER-------------------------------------------------------------------------------------------------------------*/
#header {
    margin: auto;
    width: 100%;
    max-width: 1024px;
    z-index: 4;
    position: relative;
}
#header ul {
    width: 80%;
    max-width: 1024px;
    list-style: none;
    *zoom: 0;
    margin-top: 0;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
}
#header ul:after {
    clear: both;
    display: table;
    content: "";
}
#header li {
    float: left;
    font-family: 'PT Serif', 'EB Garamond', serif;
    font-size: 1.1em;
    color: #000;
    font-weight: 400;
    text-transform: uppercase;
}
#header a {
    text-align: center;
    display: block;
    color: #98080D;
    -webkit-transition: all .25s;
    -moz-transition: all .25s;
    -o-transition: all .25s;
    transition: all .25s;
    text-decoration: none;
    padding-top: 44px;
    padding-right: 9px;
    padding-bottom: 14px;
    padding-left: 9px;
}
#header a:hover {
    color: #FF8B0F;
    text-decoration: none;
}
#header ul li a.logo {
    background-repeat: no-repeat;
    height: 168px;
    display: block;
    width: 250px;
    padding: 0;
    background-image: url(images/vivancologo.png);
    z-index: 1;
    position: relative;
}
.clearfix {
    *zoom: 1;
}
.clearfix:after {
    content: "";
    clear: both;
    display: table;
}
#resp-menu select {
    width: 100%;
    padding: 5px;
    margin-top: 20px;
}
/* ---------------------------------------------------------------------------FlexSlider Default Theme----------------------------------------------------------------------------*/
/* Browser Resets */
.flex-container a:active, .flexslider a:active, .flex-container a:focus, .flexslider a:focus {
    outline: none;
}
.slides, .flex-control-nav, .flex-direction-nav {
    margin: 0;
    padding: 0;
    list-style: none;
}
/* FlexSlider Necessary Styles
 *********************************/
.flexslider {
    margin: 0;
    padding: 0;
}
.flexslider .slides > li {
    display: none;
    -webkit-backface-visibility: hidden;
    position: relative;
    z-index: -4;
}/* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {
    width: 100%;
    display: block;
    position: relative;
    z-index: -3;
}
.flex-pauseplay span {
    text-transform: capitalize;
}
/* Clearfix for the .slides element */
.slides:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
html[xmlns] .slides {
    display: block;
}
* html .slides {
    height: 1%;
}
/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {
    display: block;
}
/* FlexSlider Default Theme
 *********************************/
.flexslider {
    margin: -60px 0 40px 0;
    background: #fff;
    position: relative;
    zoom: 1;
    z-index: -5;
    zoom: 1;
    float: left;
}
.flex-viewport {
    max-height: 2000px;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    transition: all 1s ease;
    position: relative;
    z-index: -5;
}
.loading .flex-viewport {
    max-height: 300px;
}
.flexslider .slides {
    zoom: 1;
}
.carousel li {
    margin-right: 5px
}
/* Direction Nav */
.flex-direction-nav {
    *height: 0;
}
.flex-direction-nav a {
    width: 30px;
    height: 30px;
    margin: -20px 0 0;
    display: block;
    background: url(images/bg_direction_nav.png) no-repeat 0 0;
    position: absolute;
    top: 50%;
    z-index: 10;
    cursor: pointer;
    text-indent: -9999px;
    opacity: 0;
    -webkit-transition: all .3s ease;
}
.flex-direction-nav .flex-next {
    background-position: 100% 0;
    right: -36px;
}
.flex-direction-nav .flex-prev {
    left: -36px;
}
.flexslider:hover .flex-next {
    opacity: 0.8;
    right: 5px;
}
.flexslider:hover .flex-prev {
    opacity: 0.8;
    left: 5px;
}
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {
    opacity: 1;
}
.flex-direction-nav .flex-disabled {
    opacity: .3 !important;
    filter: alpha(opacity=30);
    cursor: default;
}
/* Control Nav */
.flex-control-nav {
    width: 100%;
    position: absolute;
    bottom: -40px;
    text-align: center;
}
.flex-control-nav li {
    margin: 0 6px;
    display: inline-block;
    zoom: 1;
    *display: inline;
}
.flex-control-paging li a {
    width: 11px;
    height: 11px;
    display: block;
    background: #666;
    background: rgba(0,0,0,0.5);
    cursor: pointer;
    text-indent: -9999px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -o-border-radius: 20px;
    border-radius: 20px;
    box-shadow: inset 0 0 3px rgba(0,0,0,0.3);
}
.flex-control-paging li a:hover {
    background: #333;
    background: rgba(0,0,0,0.7);
}
.flex-control-paging li a.flex-active {
    background: #000;
    background: rgba(0,0,0,0.9);
    cursor: default;
}
.flex-control-thumbs {
    margin: 5px 0 0;
    position: static;
    overflow: hidden;
}
.flex-control-thumbs li {
    width: 25%;
    float: left;
    margin: 0;
}
.flex-control-thumbs img {
    width: 100%;
    display: block;
    opacity: .7;
    cursor: pointer;
}
.flex-control-thumbs img:hover {
    opacity: 1;
}
.flex-control-thumbs .flex-active {
    opacity: 1;
    cursor: default;
}
@media screen and (max-width: 860px) {
    .flex-direction-nav .flex-prev {
        opacity: 1;
        left: 0;
    }
    .flex-direction-nav .flex-next {
        opacity: 1;
        right: 0;
    }
}
/* -------------------------------------------------------------------MAIN CONTENT-----------------------------------------------------------*/
#contenido {
    background-image: url(images/ornament1.png);
    background-repeat: no-repeat;
    background-position: center bottom;
    width: 100%;
    max-width: 1024px;
    margin-right: auto;
    margin-left: auto;
}
#contenido #clearboth {
    clear: both;
    width: 100%;
    height: 20px;
}
#divider {
    background-image: url(images/ornament2.png);
    background-repeat: no-repeat;
    background-position: center center;
    width: 100%;
    height: 35px;
    margin-bottom: 40px;
    clear: both;
    margin-top: 10px;
}
.divider {
    background-image: url(images/ornament2.png);
    background-repeat: no-repeat;
    background-position: center center;
    width: 100%;
    height: 35px;
    margin-bottom: 40px;
    clear: both;
}
#contenido  img {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 15px;
}
#contenido #news-home form {
    float: left;
    margin-left: 30px;
    padding-bottom: 5px;
    padding-top: 5px;
}
/* === Button Style === */
button.submit {
    background-color: #870A0B;
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-size: 1em;
    color: white;
    font-weight: bold;
    text-align: center;
    -webkit-transition: all .25s;
    -moz-transition: all .25s;
    -o-transition: all .25s;
    transition: all .25s;
    padding-top: 10px;
    padding-right: 15px;
    padding-bottom: 10px;
    padding-left: 15px;
    border-top-style: solid;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
    vertical-align: middle;
    border-top-width: 1px;
    border-top-color: #870A0B;
}
button.submit:hover, button.submit:focus {
    cursor: pointer;
    background-color: #FF8B0F;
    border-top-color: #FF8B0F;
}
button.submit:active {
    background-color: #3F2F30;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: #3F2F30;
}
/* === Form Elements === */

#news-home input {
    font-family: 'Fanwood Text', serif;
    vertical-align: middle;
}
/* form element visual styles */
#news-home input {
    border: 1px solid #ccc;
    padding: 10px;
}
#news-home input:focus, {background: #fff; border:1px solid #555; box-shadow: 0 0 3px #aaa; }
#carta {
    height: 300px;
    clear: both;
    width: 100%;
    max-width: 1024px;
    clear: both;
    margin-top: -60px;
    position: relative;
    z-index: -4;
    margin-bottom: 40px;
    background-image: url(images/prueba.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    margin-right: auto;
    margin-left: auto;
}
#carta img {
    position: relative;
    z-index: -3;
    clear: both;
}
#divider2 {
    height: 1px;
    clear: both;
    width: 100%;
    max-width: 1024px;
    clear: both;
    margin-top: -60px;
    position: relative;
    z-index: -4;
    margin-bottom: 40px;
    background-image: url(images/dvisor1px.jpg);
    background-repeat: repeat;
    background-position: center center;
    margin-right: auto;
    margin-left: auto;
}
#contenido #main #map_div {
    height: 400px;
    width: 100%;
    margin-top: 20px;
    border: 1px solid #670707;
}

.error{
    color:#b03535;
    text-align:left;
}

.success{
    color:#008000;
    font-size: 120%;
    text-align: center;
}

/* -------------------------------------------------------------------TEXT-----------------------------------------------------------*/
#contenido p {
    font-family: 'Fanwood Text', sans-serif;
    font-weight: 400;
    font-size: 1em;
    color: #000;
}
#news-home h1 {
    font-size: 2.2em;
    font-family: 'Fanwood Text', serif;
    font-weight: 400;
    font-style: italic;
    color: #333;
    float: left;
    display: block;
}
#contenido #main h1 {
    font-size: 2em;
    font-family: 'Fanwood Text', serif;
    font-weight: 700;
    font-style: italic;
    color: #333;
    display: block;
    margin-bottom: 30px;
    border-bottom-width: 2px;
    border-bottom-style: dotted;
    border-bottom-color: #333;
}
#contenido #aside h1 {
    font-size: 1.6em;
    font-family: 'Fanwood Text', serif;
    font-weight: 700;
    font-style: italic;
    color: #333;
    display: block;
    margin-bottom: 10px;
}
#contenido h2 {
    font-size: 1.8em;
    font-family: 'Fanwood Text', serif;
    font-weight: 400;
    font-style: italic;
    color: #333;
}
#contenido #main p {
    font-family: 'Fanwood Text', sans-serif;
    font-weight: 400;
    font-size: 1em;
    color: #000;
}
/* -------------------------------------------------------------------FOOTER-----------------------------------------------------------*/
#footer {
    background-color: #71060A;
    background-image: url(images/pattern3.jpg);
    width: 100%;
    background-repeat: repeat;
    border-top-width: 10px;
    border-top-style: solid;
    border-top-color: #EEDECA;
    padding-top: 20px;
    padding-bottom: 20px;
}
#footer #center {
    width: 100%;
    max-width: 1024px;
    margin-right: auto;
    margin-left: auto;
}
#footer ul {
    list-style-type: none;
    width: 100%;
    max-width: 1024px;
    text-align: center;
}
#footer ul li {
    font-family: 'Open Sans', sans-serif;
    padding: 10px;
    text-transform: uppercase;
    color: #FFF;
    font-size: 0.95em;
    display: inline-block;
}
#footer #social {
    height: 45px;
    width: 100%;
    max-width: 1024px;
    clear: both;
    margin-right: auto;
    margin-left: auto;
}
#footer #copy {
    width: 100%;
    max-width: 1024px;
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    color: #fff;
    font-size: 0.8em;
    margin-top: 5px;
}
#footer #center ul li a {
    color: #FFF;
    text-decoration: none;
    -webkit-transition: all .25s;
    -moz-transition: all .25s;
    -o-transition: all .25s;
    transition: all .25s;
}
#footer #center ul li a:hover {
    color: #FF8B0F;
    text-decoration: underline;
}
#footer a {
    color: #FFF;
    text-decoration: none;
    -webkit-transition: all .25s;
    -moz-transition: all .25s;
    -o-transition: all .25s;
    transition: all .25s;
}
#footer a:hover {
    color: #FF8B0F;
    text-decoration: underline;
}
/* -------------------------------------------------------------------SIDEBAR-----------------------------------------------------------*/
#aside #subscribe {
    width: 100%;
    margin-bottom: 20px;
}
#contenido #aside {
    float: left;
    width: 28.25%;
}
#contenido #aside ul {
    list-style-type: none;
}
#contenido #aside ul li {
    font-family: 'Fanwood Text', sans-serif;
    font-weight: 400;
    font-size: 1.2em;
    color: #000;
    padding-bottom: 5px;
    padding-top: 5px;
}
/* === Button Style === */
button.submit2 {
    background-color: #870A0B;
    font-family: TitilliumText25L400wt, AsapRegular, Verdana, Geneva, sans-serif;
    font-size: 1em;
    color: white;
    font-weight: bold;
    text-align: center;
    -webkit-transition: all .25s;
    -moz-transition: all .25s;
    -o-transition: all .25s;
    transition: all .25s;
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    border-top-style: solid;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
    vertical-align: middle;
    border-top-width: 1px;
    border-top-color: #870A0B;
}
button.submit2:hover, button.submit2:focus {
    cursor: pointer;
    background-color: #FF8B0F;
    border-top-color: #FF8B0F;
}
button.submit2:active {
    background-color: #0D719B;
}
/* === Form Elements === */
#aside #subscribe input {
    font-family: 'Fanwood Text', serif;
    vertical-align: middle;
    width: 65%;
}
/* form element visual styles */
#aside #subscribe input {
    border: 1px solid #ccc;
    padding: 10px;
}
#aside #subscribe input:focus, {background: #fff; border:1px solid #555; box-shadow: 0 0 3px #aaa; }
/* -------------------------------------------------------------------ESTRUCTURE-----------------------------------------------------------*/
#contenido #main {
    float: left;
    width: 68%;
    padding-bottom: 40px;
    padding-right: 3.75%;
}
#contenido #main ul {
    list-style-type: none;
    margin-bottom: 30px;
    margin-top: 5px;
}
#contenido #main ul li {
    font-family: 'Fanwood Text', sans-serif;
    font-weight: 400;
    font-size: 1em;
    color: #000;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #999;
    padding-bottom: 5px;
    padding-top: 5px;
}
.col {
    float: left;
    width: 29.25%;
    padding-right: 1%;
    padding-left: 1%;
    margin-bottom: 60px;
}
.colcenter {
    float: left;
    width: 29.25%;
    margin-right: 3.125%;
    margin-left: 3.125%;
    padding-right: 1%;
    padding-left: 1%;
}
#news-home {
    width: 100%;
    max-width: 1024px;
    margin-bottom: 15px;
    clear: both;
    text-align: center;
    padding-left: 140px;
}
#contenido #aside  #subscribe form {
    float: left;
    margin-left: 30px;
    padding-bottom: 5px;
    padding-top: 5px;
    width: 100%;
}
#contenido #main img {
    width: 100%;
    height: auto;
}
#contenido #main h2 img {
    height: 36px;
    width: 36px;
    margin-right: 10px;
    float: left;
}
/*---------------------------------------------CONTACTO-------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* === Remove input autofocus webkit === */
*:focus {
    outline: none;
}
/* === Form Typography === */
.contact_form h2, .contact_form label {
    font-family: 'Fanwood Text', Georgia, Times, "Times New Roman", serif;
}
.form_hint, .required_notification {
    font-size: 0.8em;
}
/* === List Styles === */
.contact_form ul {
    width: 100%;
    list-style-type: none;
    list-style-position: outside;
    margin: 0px;
    padding: 0px;
}
.contact_form {
    margin-top: 40px;
}
.contact_form li {
    padding: 0px;
    position: relative;
    margin-top: 12px;
    margin-bottom: 12px;
}
#contenido #main #form .contact_form ul li {
    border-top-style: none;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
}
#contenido #main #form .contact_form ul li:first-child, #contenido #main #form .contact_form ul li:last-child {
    border-bottom-style: none;
    border-top-style: none;
    border-right-style: none;
    border-left-style: none;
}
/* === Form Header === */
.required_notification {
    color: #d45252;
    margin: 5px 0 20px 0;
    font-size: 1em;
}
/* === Form Elements === */
.contact_form label {
    width: 150px;
    margin-top: 3px;
    display: inline-block;
    float: left;
    padding: 3px;
}
.contact_form input {
    height: 30px;
    width: 220px;
    padding: 5px 8px;
}
.contact_form textarea {
    padding: 8px;
    width: 300px;
}
.contact_form button {
    margin-left: 156px;
}
/* form element visual styles */
.contact_form input, .contact_form textarea {
    border: 1px solid #aaa;
    padding-right: 30px;
    -moz-transition: padding .25s;
    -webkit-transition: padding .25s;
    -o-transition: padding .25s;
    transition: padding .25s;
}
.contact_form input:focus, .contact_form textarea:focus {
    background: #fff;
    border: 1px solid #555;
    box-shadow: 0 0 3px #aaa;
    padding-right: 70px;
}
/* === HTML5 validation styles === */
.contact_form input:required, .contact_form textarea:required {
    background: #fff url(images/red_asterisk.png) no-repeat 98% center;
}
.contact_form input:required:valid, .contact_form textarea:required:valid {
    background: #fff url(images/valid.png) no-repeat 98% center;
    box-shadow: 0 0 5px #5cd053;
    border-color: #28921f;
}
.contact_form input:focus:invalid, .contact_form textarea:focus:invalid {
    background: #fff url(images/invalid.png) no-repeat 98% center;
    box-shadow: 0 0 5px #d45252;
    border-color: #b03535
}
/* === Form hints === */
.form_hint {
    background: #d45252;
    border-radius: 3px 3px 3px 3px;
    color: white;
    margin-left: 8px;
    padding: 1px 6px;
    z-index: 999; /* hints stay above all other elements */
    position: absolute; /* allows proper formatting if hint is two lines */
    display: none;
}
.form_hint::before {
    content: "\25C0";
    color: #d45252;
    position: absolute;
    top: 1px;
    left: -6px;
}
.contact_form input:focus + .form_hint {
    display: inline;
}
.contact_form input:required:valid + .form_hint {
    background: #28921f;
}
.contact_form input:required:valid + .form_hint::before {
    color: #28921f;
}
a[href^="mailto:"] {
    color: #666666;
    text-decoration: underline;
}
#success {
    display: none;
    margin-top: 20px;
}
/*---------------------------------------------GALERIA-------------------------------------------------------------------------------------------------------------------------------------------------------*/
.popup-gallery a img {
    height: 170px;
    width: 170px;
}
#contenido #main .popup-gallery a {
    height: 170px;
    width: 170px;
}
#contenido #main .popup-gallery a img {
    height: 170px;
    width: 170px;
}
.popup-gallery {
    width: 100%;
    margin-top: 40px;
    margin-bottom: 40px;
    clear: both;
}

/*-------------------------------------------RESPONSIVENESS----------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (min-width: 1042px) {

    #main-logo {
        display: none;
    }
}

@media screen and (max-width: 1041px) {
    #main-menu {
        font-size: 80%;
        margin: 0 auto;
        position: relative;
        text-align: center;
    }

    #main-menu li {
        text-align: center;
        margin-left: 7%;
    }

    #main-logo {

        text-align: center;
    }
    #main-logo img {
        padding: 0 auto;
    }

    #main-menu a {
        padding: 5px;
    }

    #main-logo > a {
        padding: 0;
        display: inline;
    }
    #header ul li a.logo {
        display: none
    }

    #resp-menu {

        display: block;
        clear: both;
        padding: 5px;
    }
    
    #divider2{
        display:none;
    }

    .flexslider {
        margin-top: 10px;
    }
}

@media screen and (max-width: 927px) {
    #main-menu li {
        margin-left: 4%;
    }
}

@media screen and (max-width: 768px) {
	
}
@media screen and (max-width: 640px) {
	
}
@media screen and (max-width: 480px) {
	
}
@media screen and (max-width: 320px) {
	
}