/*
        Theme Name: Idento Framework
        Theme URI: http://idento.es
        Description: Idento Framework
        Version: 1.0.0
        Author: Idento (@idento)
        Author URI: http://idento.es
        Tags: Blank, HTML5, CSS3

        License: MIT
        License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
    -moz-box-sizing:border-box;
    box-sizing:border-box;
    -webkit-font-smoothing:antialiased;
    font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
    font-size:62.5%;
}
/*body {
    font:300 11px/1.4 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color:#444;
}*/
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
    max-width:100%;
    vertical-align:bottom;
	height:auto;
}

.full-height{height: 100%;}


/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
    * {
        background:transparent !important;
        color:#000 !important;
        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) ")";
    }
    .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;
    }
    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;
    }
}

/*! normalize.css v2.1.3 | MIT License | git.io/normalize */

/* ==========================================================================
   HTML5 display definitions
   ========================================================================== */

/**
 * Correct `block` display not defined in IE 8/9.
 */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
    display: block;
}

/**
 * Correct `inline-block` display not defined in IE 8/9.
 */

audio,
canvas,
video {
    display: inline-block;
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
    display: none;
    height: 0;
}

/**
 * Address `[hidden]` styling not present in IE 8/9.
 * Hide the `template` element in IE, Safari, and Firefox < 22.
 */

[hidden],
template {
    display: none;
}

/* ==========================================================================
   Base
   ========================================================================== */

/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */

html {
    font-family: sans-serif; /* 1 */
    -ms-text-size-adjust: 100%; /* 2 */
    -webkit-text-size-adjust: 100%; /* 2 */
}

/**
 * Remove default margin.
 */

body {
    margin: 0;
}

p, label, input, textarea, a{
    font-size: 14px;
}

/* ==========================================================================
   Links
   ========================================================================== */

/**
 * Remove the gray background color from active links in IE 10.
 */

a {
    background: transparent;
}

/**
 * Address `outline` inconsistency between Chrome and other browsers.
 */

a:focus {
    outline: thin dotted;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */

a:active,
a:hover {
    outline: 0;
}

/* ==========================================================================
   Typography
   ========================================================================== */

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari 5, and Chrome.
 */
/**
 * Address styling not present in IE 8/9, Safari 5, and Chrome.
 */

abbr[title] {
    border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
 */

b,
strong {
    font-weight: bold;
}

/**
 * Address styling not present in Safari 5 and Chrome.
 */

dfn {
    font-style: italic;
}

/**
 * Address differences between Firefox and other browsers.
 */

hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
}

/**
 * Address styling not present in IE 8/9.
 */

mark {
    background: #ff0;
    color: #000;
}

/**
 * Correct font family set oddly in Safari 5 and Chrome.
 */

code,
kbd,
pre,
samp {
    font-family: monospace, serif;
    font-size: 1em;
}

/**
 * Improve readability of pre-formatted text in all browsers.
 */

pre {
    white-space: pre-wrap;
}

/**
 * Set consistent quote types.
 */

q {
    quotes: "\201C" "\201D" "\2018" "\2019";
}

/**
 * Address inconsistent and variable font size in all browsers.
 */

small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

/* ==========================================================================
   Embedded content
   ========================================================================== */

/**
 * Remove border when inside `a` element in IE 8/9.
 */

img {
    border: 0;
}

/**
 * Correct overflow displayed oddly in IE 9.
 */

svg:not(:root) {
    overflow: hidden;
}

/* ==========================================================================
   Figures
   ========================================================================== */

/**
 * Address margin not present in IE 8/9 and Safari 5.
 */

figure {
    margin: 0;
}

/* ==========================================================================
   Forms
   ========================================================================== */

/**
 * Define consistent border, margin, and padding.
 */

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */

legend {
    border: 0; /* 1 */
    padding: 0; /* 2 */
}

/**
 * 1. Correct font family not being inherited in all browsers.
 * 2. Correct font size not being inherited in all browsers.
 * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
 */

button,
input,
select,
textarea {
    font-family: inherit; /* 1 */
    font-size: 100%; /* 2 */
    margin: 0; /* 3 */
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

button,
input {
    line-height: normal;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */

button,
select {
    text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button; /* 2 */
    cursor: pointer; /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
    cursor: default;
}

/**
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
 *    (include `-moz` to future-proof).
 */

input[type="search"] {
    -webkit-appearance: textfield; /* 1 */
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box; /* 2 */
    box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari 5 and Chrome
 * on OS X.
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/**
 * 1. Remove default vertical scrollbar in IE 8/9.
 * 2. Improve readability and alignment in all browsers.
 */

textarea {
    overflow: auto; /* 1 */
    vertical-align: top; /* 2 */
}

/* ==========================================================================
   Tables
   ========================================================================== */

/**
 * Remove most spacing between table cells.
 */

table {
    border-collapse: collapse;
    border-spacing: 0;
}


/*------------------------------------*\
    MISC
\*------------------------------------*/

/**
 * Cambiar color de texto seleccionado.
 */

::selection {
    background: #CCCCCC;
    color: #FFF;
    text-shadow: none;
}

::-webkit-selection {
    background: #CCCCCC;
    color: #FFF;
    text-shadow: none;
}

::-moz-selection {
    background: #CCCCCC;
    color: #FFF;
    text-shadow: none;
}

.thumb.cropped {
    text-align: center;
    overflow: hidden;
}

.thumb.cropped img {
    min-height: 100%;
    min-width: 100%;
    margin: auto;
}


/** ===================================  HEADER & FOOTER ELEMENTS =================================== **/


/** Top Header **/

#top-menu {
    background-color: #f2f2f2;
    padding: 5px 0 0 0;
}

#top-menu #box-contact {}

#top-menu #box-contact ul li a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

#top-menu #box-social {
    text-align: right;
}

#top-menu #box-social ul li {
    margin-left: 5px;
    margin-right: 5px;
}

@media screen and (max-width:767px) {
    #top-menu #box-contact {
        text-align: center;
    }
    #top-menu #box-social {
        text-align: center;
    }
}

/* Menú tipo 1 */



/* --- Clearfix for floated Elements --- */


.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}

/* --- Elements --- */


#drop-down-cbox {
    display: none;
}

#drop-down-cbox + label {
    position: relative;
    display: none;
    overflow: hidden;
    background-color: transparent;
    transition: all 300ms ease-in-out;
}


/*--------------------------------------------------------------
## Menús
--------------------------------------------------------------*/

/* -- Menú 1 · Basado en el menú de WordPress _s -- */

.main-navigation {
    clear: both;
    display: block;
    width: 100%;
    text-align: right;
}

.main-navigation .contenedor-menu{
    text-align: right;
    display: inline-block;
    width: auto;
    vertical-align: top;
    margin-right: 0.5em;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.main-navigation ul ul {
	position: absolute;
    display: none;
    text-align: left;
}

.main-navigation.mobile ul ul {
	position: static;
    display: none;
}

.main-navigation ul ul ul {
    left: -999em;
    top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
    left: 100%;
}

.main-navigation .sub-menu li{
	display: block;
    z-index: 999999;
}

.main-navigation ul ul a {
    width: auto;
}

.main-navigation ul ul {
    min-width: 200px;
}

.main-navigation li {
    display: inline-block;
    position: relative;
    padding-left: .5rem;
	cursor: pointer;
}

.main-navigation a {
    display: block;
    text-decoration: none;
}

.menu-toggle{
    display: inline-block;
    background: none;
    border: 0px;
    box-shadow: none;
}

/* -- Menú 2 · A pantalla completa -- */

.t-2 .menu-toggle {
    display: inline-block;
    background: none;
    border: 0px;
    box-shadow: none;
}

.main-navigation.t-2 {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    display: none;
    z-index: 9999999999999;
    padding: 0 15px;
}

.main-navigation.t-2 .contenedor-menu,
.main-navigation.t-2 .menu-t2-container{
    height: 100vh;
    width: 100vw;
}

.main-navigation.t-2 .menu-t2-container{
    display: flex;
    overflow-y: auto;
}

.main-navigation.t-2 ul{
    display: inline-block;
    list-style: none;
    height: auto;
    padding: 0 0;
    margin: auto auto;
    z-index: 99999999999999999999999999999;
}

.main-navigation.t-2 ul ul {
    display: none;
}

.main-menu-wrapper.t-2,
.main-menu-wrapper.t-2 .menu-toggle{
    z-index: 99999999999999;
}

.main-navigation.t-2 .nav-menu > li.menu-item-has-children >a:after {
    display: inline-block;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f107";
    transition: ease 0.2s;
}

.main-navigation.t-2 .nav-menu > li.menu-item-has-children >a:after {
    display: inline-block;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f107";
    transition: ease 0.2s;
}

.main-navigation.t-2 li {
    display: block;
}

/*html.scroll-paralizado{overflow: hidden;} */

html.scroll-paralizado .main-menu-wrapper.t-2{position: fixed;}


@media screen and (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
    .main-navigation .nav-menu {
        display: block;
    }
}

@media screen and (max-width: 767px) {
    
    .main-navigation ul {display: none;}
    
    .main-navigation ul li{width: 100%;}
	
    .main-navigation ul li.focus > ul{
        position: static;
        float: none;
        display: block;
    }
}

.site-main .comment-navigation, .site-main
.posts-navigation, .site-main
.post-navigation {
    margin: 0 0 1.5em;
    overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    float: left;
    width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    float: right;
    text-align: right;
    width: 50%;
}



/** Main Header **/

#main-header {
    padding: 10px 15px;
}

.navbar-toggle .icon-bar {
    background-color: #1d1d1d;
}

.navbar-brand {
    padding: 0!important;
    margin: 10px!important;
    height: auto!important;
}


/** Sidebar **/

.widget_sp_image img {
    width: 100%;
    height: auto!important;
}


/** Main Footer **/

footer .site-info{display: inline-block; float: right;}

footer .footer-menu-wrapper{display: inline-block;}
footer li{display: inline-block; list-style: none; padding: 0 1em;}


/* -- Idento -- */

.wrapper-idento {
    display: inline-block;
    vertical-align: middle;
}

.firma-idento {
    background: url(img/idento.svg);
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    display: inline-block;
    background-size: 53px;
    margin: 0;
    transition: width 0.3s;
    margin-top: 0px;
}

.firma-idento.white {
    background-image: url(img/idento_neg.svg);
}

.firma-idento:hover {
    width: 53px;
}


/** ===================================  MODULES =================================== **/


/** WIDGET SEARCH **/

form.search {
    width: 100%;
    margin: 5% auto;
}

form.search input.search-input {
    width: 91%;
    padding: 1% 4%;
}

form.search button.search-submit {
    width: 100%;
    margin-top: 10px;
}


/** WIDGET NAV MENU LATERAL **/

.widget_nav_menu {}

.widget_nav_menu ul {
    list-style: none;
    padding-left: 0;
}

.widget_nav_menu ul li {
    margin: 5px auto;
}

.widget_nav_menu ul li a {
    padding: 5px;
    padding: 10px;
    background-color: #f2f2f2;
    display: block;
    border-radius: 2px;
    text-decoration: none;
    color: #1d1d1d;
    font-weight: 600;
}

.widget_nav_menu ul li a:hover {
    background-color: #d2d2d2;
}

.widget_nav_menu ul.sub-menu {
    list-style: none;
    padding-left: 0;
}

.widget_nav_menu ul.sub-menu li {
    padding-left: 15px;
}

.widget_nav_menu ul.sub-menu li a {}

/**** CONTACT PAGES ****/

.p-icon p{
    display: inline-block;
}

.contact-section{
    margin-top: 20px;
}

.contactoc .contact-section i{
    margin-right: 0;
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.contact-block{
    margin-bottom: 20px;
}

.contact-block i{
    margin-right: 5px;
}

.contact-block .social_bar i{
    font-size: 2rem;
    margin-right: 5px;
}

.contact-block .h3{
    margin-bottom: 10px;
    font-size: 1.6rem!important;
}

.contacto-pg .contact-block i{
    font-size: 2rem;
    margin-bottom: 10px;
}

.contacto-pg .social-media{
    text-align: center;
}

.contacto-pg .social-media i{
    font-size: 2rem;
}

/** FORMS **/


/*input*/

input[type="text"], textarea{
    outline: none;
    border:1px solid #cccccc;
    padding: 15px!important;
}

input[type="text"]:focus, textarea:focus{
    border:1px solid green;
}

input[type="submit"] {
    background-color: green;
    /* ---> Change color*/
    border: 0;
    color: #ffffff;
    /* ---> Change color*/
    padding: 20px;
    margin-bottom: 10px;
}

input[type="submit"]:focus, input[type="submit"]:hover, input[type="submit"]:active{
    outline: none!important;
}

.gform_wrapper .gfield_required{
    display: inline-block;
}

.casilla-privacidad{
    margin-top: 0px!important;
}

.casilla-privacidad span.gfield_required{
    display: none!important;
}

.casilla-privacidad label{
    font-size: 14px!important;
}

.casilla-privacidad input{
    margin-top: 0!important;
}

.map_box{
    margin-top: 15px;
}

.gform_wrapper ul.gform_fields li.gfield {
    padding-right: 0px!important;
}

@media only screen and (max-width : 767px) {
    .map_box iframe{
        height: 300px!important;
    }
}

/*Error messages*/

.gform_wrapper div.validation_error {
    color: #E82C0C!important;
    /* ---> Change color*/
    font-size: 16px!important;
    font-weight: 700!important;
    margin-bottom: 15px!important;
    border-top: 0!important;
    border-bottom: 0!important;
    padding: 6px 0!important;
    text-align: left!important;
    margin-bottom: 0px!important;
}

.gform_wrapper .top_label .gfield_error{
    margin-top: 0px!important;
}

.gform_wrapper ul.gform_fields li.gfield.gfield_error+li.gfield.gfield_error {
    margin-top: 0px!important;
}

.gform_wrapper li.gfield_error input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), .gform_wrapper li.gfield_error textarea {
    border: 1px solid #E82C0C!important;
}

.gform_wrapper li.gfield_error div.ginput_complex.ginput_container label, .gform_wrapper li.gfield_error ul.gfield_checkbox, .gform_wrapper li.gfield_error ul.gfield_radio{
    color: #E82C0C!important;
}

li.gfield_error {
    color: #E82C0C!important;
    /* ---> Change color*/
    background-color: #ffffff!important;
    /* ---> Change color*/
    border-top: 0!important;
    border-bottom: 0!important;
}

.gform_wrapper li.gfield.gfield_error.gfield_contains_required div.gfield_description {
    font-size: 14px;
    color: #E82C0C;
    /* ---> Change color*/
    padding: 5px 0;
}

.gform_wrapper .gfield_error .gfield_label{
    color: #E82C0C!important;
}

.gfield gfield_error input, .gfield gfield_error textarea{
    border-color: #E82C0C!important;
}

/*Confirmation messages*/

#gform_confirmation_message_1 h3 {
    font-size: 18px;
    font-weight: 400;
}

#gform_confirmation_message_1 h3 span {
    color: green;
    /* ---> Change color*/
    font-weight: 800;
}

/** ===================================  BLOG & NEWS =================================== **/

/*SPECIFIC POST ---> Change colors*/

.post span.date,
.post span.author,
.post span.comments {
    padding-bottom: 20px;
    margin-right: 10px;
    display: inline-block;
}

.post span.date a,
.post span.author a,
.post span.comments a {
    text-decoration: none;
}

.post .comments h3 {
    margin-bottom: 0px;
    font-weight: 600;
}

.post .comments .logged-in-as {
    text-align: right;
}

.post .comment-form textarea,
.post .comment-form input[type="text"] {
    width: 100%;
    margin-top: 5px;
    margin-bottom: 10px;
    padding: 10px;
}

.post .comment-form textarea:focus,
.post .comment-form input:focus {
    outline: 0;
    border: 1px solid green;
    /* ---> Change color*/
}

.post .comments ul li {
    list-style: none;
}

._loop_box ._img_box img {
    max-width: 100%;
}



/*****/

@media (min-width: 768px) {
    .navbar-right {
        margin-right: 0px;
    }
}

.error404 img,
article img {
    max-width: 100%;
}

.fullheight {
    height: 100%;
}

.vcenter {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.tcenter {
    text-align: center;
}

@media screen and (max-width: 767px){
    .rowtable .column{
        height: auto !important;
    }
}

.right-sidebar .widget-area {
    width: 100% !important;
}

.list-inline li{display: inline-block !important;}

/* --- SLIDER --- */

/* --- SLIDER --- */

.slider_box {min-height: 40vh;}
.carousel .carousel-inner, .carousel .slider-overlay{height: 100%; min-height: inherit;}
.carousel .carousel-item{height: 100%; background-size: cover; background-position: center; min-height: inherit;}
.carousel .carousel-item .container{height: 100%;}
.carousel .carousel-item .container span {display: block;}
.carousel .slider-overlay{display: flex; justify-content: center; align-items: center;}