/*
Theme Name: Schilling Abogados
Theme URI: http://www.jordicasanueva.cl
Description: Descripcion Template
Author: Jordi Casanueva
Author URI: http://www.jordicasanueva.cl/
Version: 0.1.0
*/

/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/*
  ========================================
  Boxmodel hack
  ========================================
*/

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

/* ====================
    Grilla de 3
   ==================== */


/*  SECTIONS  */
.section {
    clear: both;
    padding: 0px;
    margin: 0px;
}

/*  COLUMN SETUP  */
.col {
    display: block;
    float:left;
    margin: 1% 0 1% 1.6%;
    position:relative;
}

.col:first-child { margin-left: 0; }
.col2:first-child { margin-left: 0; }
.col3:first-child { margin-left: 0; }

/*  GROUPING  */

.agrupado { float:left; width:50%; }

.group:before,
.group:after { content:""; display:table; }
.group:after { clear:both;}
.group { zoom:1; /* For IE 6/7 */ }

/*  GRID OF FOUR  */
.span_4_of_4 {
    width: 100%;
}
.span_3_of_4 {
    width: 74.6%;
}
.span_2_of_4 {
    width: 49.2%;
}
.span_1_of_4 {
    width: 23.8%;
}

.span_2_of_4-2 {
    width: 49.2%;
}

/*  GO FULL WIDTH BELOW 480 PIXELS */
@media only screen and (max-width: 480px) {
    .col {  margin: 5% 0 5% 0%; }
    .span_1_of_4, .span_2_of_4, .span_3_of_4, .span_4_of_4 { width: 100%; text-align: center;}
}
.t10 {
    font-size:0.625em;
}

.t11 {
    font-size:0.688em;
}

.t12 {
    font-size:0.750em;
}

.t13 {
    font-size:0.813em;
}

.t14 {
    font-size:1em;
}

.t15 {
    font-size:1.071em;
}

.t16 {
    font-size:1.143em;
}

.t17 {
    font-size:1.214em;
}

.t18 {
    font-size:1.286em;
}

.t19 {
    font-size:1.357em;
}

.t20 {
    font-size:1.429em;
}

.t24 {
    font-size:1.714em;
}

.t28 {
    font-size: 2em;
}

.t32 {
    font-size:2.286em;
}

.t42 {
    font-size: 3em;
}

.negro-bg {
    background-color:#0b223c;
}

.azul-oscuro {
    color:#0b223c;
}

/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 15px/26px 'Open Sans', Helvetica, 'Helvetica Neue', Arial, sans-serif;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}

.wrapper-2 {
    width: 90%;
    margin: 0 5%;
}

/* ====================
    WIDE: CSS3 Effects
   ==================== */

    .header-container {
        -webkit-box-shadow: 0 5px 10px #aaa;
           -moz-box-shadow: 0 5px 10px #aaa;
                box-shadow: 0 5px 10px #aaa;
    }

    /* ==============
        Mobile: Formulario
       ============== */

    .formulario-contacto p {
        margin:0;
    }

    .titulo-formulario {
        color:white;
        text-align: center;
        background-color: #282a2b;
        padding:10px 0;
        text-transform: uppercase;
        font-size: .875em;
    }

    .nombre-apellido-contacto,
    .e-mail-contacto,
    .telefono-contacto,
    .que-necesitas-contacto {
        width: 80%;
        font-size: .875em;
        margin: 5px 10%;
        padding: 10px;
        color:#666;
    }

    .nombre-apellido-contacto {
        margin-top:20px;
    }

    .enviar-contacto {
        width: 50%;
        height: 50px;
        margin: 0% 25% 10% 25%;
        padding:10px;
        background-color: #282a2b;
        text-transform: uppercase;
        color:white;
    }

    .wpcf7 {
        width: 100%;
        background-color: #666;
    }

    .que-necesitas-contacto {
        height:80px;
    }

    .wpcf7-not-valid-tip {
        display:block;
    }

    .screen-reader-response {
        font-size: .8em;
        line-height: 1em;
        color:white;
        text-align: center;
        padding:5px;
        background-color: #282a2b;
    }

    .screen-reader-response ul {
        margin: 5px 0;
    }

    .wpcf7-response-output, .screen-reader-response ul {
        display:none;
    }

    .wpcf7-not-valid-tip {
        padding-left: 10%;
        font-size: 0.8em;
        margin: 0;
        color:white;
    }

/* ===================
    ALL: Orange Theme
   =================== */

.footer-container,
.main aside {
    background: white;
}

.footer-container {
    background: #282a2b;
}

.stealth {
    color:#555;
}

.title {
    margin: 10px 0;
}

.title img {
    width:180px;
}

h2 {
    line-height: 1em;
    display:block;
}

.izq {
    float:left;
}

.der {
    float:right;
}

.blanco {
    color:white;
}

.blanco-bg {
    color-background:white;
}

.ancho-80 {
    width:80%;
    margin: 2% auto;
}

.uppercase {
    text-transform: uppercase;
}

.bold {
    font-weight:bold;
}

.normal {
    font-weight: normal;
}

.espaciado {
    letter-spacing: 0.1em;
}

.alto-linea-1 {
    line-height: 1.5em;
}

.centrado {
    text-align: center;
}

.texto-izq {
    text-align: left;
}

.texto-der {
    text-align: right;
}

.t10 {
    font-size:0.625em;
}

.t11 {
    font-size:0.688em;
}

.t12 {
    font-size:0.750em;
}

.t13 {
    font-size:0.813em;
}

.t14 {
    font-size:1em;
}

.t15 {
    font-size:1.071em;
}

.t16 {
    font-size:1.143em;
}

.t17 {
    font-size:1.214em;
}

.t18 {
    font-size:1.286em;
}

.t19 {
    font-size:1.357em;
}

.t20 {
    font-size:1.429em;
}

.t24 {
    font-size:1.714em;
}

.t28 {
    font-size: 2em;
}

.t32 {
    font-size:2.286em;
}

.t42 {
    font-size: 3em;
}


/* ==============
    MOBILE: Menu
   ============== */

nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

nav a {
    display: block;
    margin-bottom: 10px;
    padding: 15px 0;

    text-align: center;
    text-decoration: none;
    font-weight: bold;

    color: white;
    background: #e44d26;
}

nav a:hover,
nav a:visited {
    color: white;
}

nav a:hover {
    text-decoration: underline;
}

/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 30px 0;
}

.main article h1 {
    font-size: 2em;
}

.main aside {
    color: white;
    padding: 0px 5% 10px;
}

.footer-container footer {
    color: white;
    padding: 20px 0;
}

.flexslider {
    display:none;
}

.formulario-titulo-schilling {
    padding-top:0;
}

.titulo-schilling {
    padding-bottom: 20px;
    text-align: center;
    color:#444;
}

.whatsapp {
    text-align: center;
    margin: 20px;
}

.whatsapp a,
.whatsapp a:active,
.whatsapp a:visited {
    color:#444;
    text-decoration: none;
}

.whatsapp a:hover {
    text-decoration: underline;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */















/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {

/* ====================
    INTERMEDIATE: Menu
   ==================== */

    nav a {
        float: left;
        width: 27%;
        margin: 0 1.7%;
        padding: 25px 2%;
        margin-bottom: 0;
    }

    nav li:first-child a {
        margin-left: 0;
    }

    nav li:last-child a {
        margin-right: 0;
    }

    .span_2_of_4 {
        text-align: center;
    }

/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }
}

@media only screen and (min-width: 768px) {


/* ============
    WIDE: Menu
   ============ */

    nav {
        float: right;
        width: 38%;
    }

    .menu-desktop {
        display:block;
    }

    .title img {
        width:255px;
    }

/* ============
    WIDE: Main
   ============ */

    .main aside {
        float: right;
        width: 28%;
    }

    .slider {
        position:relative;
    }

    .formulario-titulo-schilling {
        position:absolute;
        top:114px;
        z-index:10;
        color:white;
        padding-top: 30px;
    }

    .titulo-schilling,
    .formulario-schilling {
        width:50%;
        float:left;
    }

    .titulo-schilling {
        padding-right:10px;
        padding-bottom: 0;
        text-align: left;
        color:white;
    }

    .titulo-schilling h1 {
        font-size: 2.2em;
        line-height: 1em;
        margin: 0 0 .5em 0;
    }

    .titulo-schilling li {
        font-size: 1.2em;
        line-height: 1.8em;
    }

    .titulo-schilling h1,
    .titulo-schilling li {
        text-shadow: 0px 0px 20px #444;
    }

    .flexslider {
        display:block;
        height:360px;
    }

    .flexslider li {
        background-size: cover;
        padding-top: 350px;
        background-position: bottom;
    }

    .span_2_of_4 li {
        text-align: left;
	padding: 0 5px;
    }

    /* ==============
        DESKTOP: Formulario
       ============== */


    .formulario-contacto {
        width:350px;
        position:absolute;
        right:0;
        top:-60px;
        padding:20px;
    }

    .formulario-contacto p {
        margin:0;
    }

    .titulo-formulario {
        color:white;
        text-align: center;
        background-color: #282a2b;
        padding-bottom: 15px;
        text-transform: uppercase;
        font-size: .875em;
    }

    .nombre-apellido-contacto,
    .e-mail-contacto,
    .telefono-contacto,
    .que-necesitas-contacto {
        width: 80%;
        font-size: .875em;
        margin: 5px 10%;
        padding: 7px;
        color:#666;
    }

    .nombre-apellido-contacto {
        margin-top:20px;
    }

    .enviar-contacto {
        width: 50%;
        height: 50px;
        margin: 0% 25% 10% 25%;
        padding:10px;
        background-color: #282a2b;
        text-transform: uppercase;
    }

    .wpcf7 {
        width: 100%;
        background-color: #666;
    }

    .que-necesitas-contacto {
        height:80px;
    }

}

@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }

    .wrapper-2 {
        width: 80%;
        margin: 0 10%;
    }


    .formulario-titulo-schilling {
        position:absolute;
        right:50%;
    }

    .cuerpo-formulario-titulo-schilling {
        position:relative;
        right:-50%;
    }

    .formulario-contacto {
        top:-90px;
    }

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.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 {
    *,
    *:before,
    *:after {
        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) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]: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;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}