/*
    8manos - nicolazgarcia = @nicolazg
-------------
Custom reset.css && normalize.css
-------------
reset.css v2.0 http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 && normalize.css v2.1.3 | MIT License | git.io/normalize */
@import url("ps/as/font/stylesheet.css");
@import url('https://fonts.googleapis.com/css?family=IM+Fell+Great+Primer:400i');

*,:after,:before{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden],template{display:none}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{line-height:1;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}:focus,a:active,a:hover{outline:0}::selection{background-color:#000;color:#666;text-shadow:none}a{color:#007FFF;text-decoration:none;-webkit-transition:.22s linear all;-moz-transition:.22s linear all;-o-transition:.22s linear all;-ms-transition:.22s linear all;transition:.22s linear all}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}hr{box-sizing:content-box;height:0}hr,input[type=search]{-moz-box-sizing:content-box}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{overflow-x:auto;border:1px solid #e6e6e6;border-left-width:5px;font-size:.875em;background:#fcfcfc;white-space:pre;word-wrap:normal;margin:1.6em 0;padding:1.25em}q{quotes:\201C \201D \2018 \2019}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0;max-width:100%}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0;background:none}button,input{line-height:normal}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{padding:0}input[type=search]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}textarea{overflow:auto;vertical-align:top;resize:vertical}table{border-collapse:collapse;border-spacing:0}ul,ol{list-style:none} ::-webkit-input-placeholder { color: #000;} ::-moz-placeholder { color: #000;} :-ms-input-placeholder { color: #000;} :-moz-placeholder {color: #000;} input:focus {outline: 2px solid #f3af3380;background: #f3af3314;}input{padding: .5em 1em;}

html, body {
    height: 100%;
}
body {
    background: url(ps/as/fondo.jpg) no-repeat fixed right 0;
    background-size: cover;
    text-align: center;
    font-family: 'Built Titling Rg';
}
body:before,
body:after {
    content: '';
    position: fixed;
    z-index: -2;
}
body:before {
    width: 100%;
    height: 50%;
    /* top: 0; */
    left: 0;
    /* right: 0; */
    bottom: 7%;
    background: url(ps/as/fn_g.png) no-repeat 50% 85%;
    background-size: contain;
}
body:after {
    width: 35%;
    max-width: 542px;
    height: 53vh;
    max-height: 458px;
    background: url(ps/as/fn_g_n.png) no-repeat 50% 50%;
    top: 12%;
    right: 13%;
    background-size: contain;
    opacity: .8;
}
.fb_hide, .hide {
    display: none;
}
.rodillones {
    display: inline-block;
    width: 220px;
}
.rodillones a {
    display: block;
    width: 100%;
    height: 0;
    padding-top: 120px;
    overflow: hidden;
    background: url(ps/as/rodillones.png) no-repeat 50% 50%;
    background-size: contain;
}
footer {
    position: fixed;
    right: 10%;
    bottom: 10%;
}
.social {
    margin-bottom: 6px;
}
.social li {
    width: 22px;
    display: inline-block;
    margin: 0 5px;
}
.social li:first-child {
    width: auto;
    vertical-align: top;
}
.social li a {
    display: block;
}
.social li a:hover {
    transform: scale(.9);
}
p {
    width: 80%;
    max-width: 540px;
    font-family: 'IM Fell Great Primer', serif;
    position: absolute;
    top: 8em;
    left: 50%;
    transform: translateX(-6%);
    font-size: 19px;
    line-height: 1.684em;
    letter-spacing: .15em;
    z-index: -1;
}
h3 {
    width: 80%;
    max-width: 380px;
    margin: 0 auto;
}
.lema {
    font-size: 23px;
    font-weight: bold;
    position: absolute;
    top: 3em;
    left: 50%;
    transform: translateX(-110%);
    line-height: 1.783em;
    letter-spacing: .2em;
}
.copy {
    position: absolute;
    bottom: 3%;
    width: 100%;
    font-family: 'IM Fell Great Primer', serif;
}
.copy span {
    font-size: .8em;
    letter-spacing: .3em;
    font-family: monospace;
}
input {
    width: 90%;
    padding: .5em .3em;
    max-width: 256px;
    border: 1px solid;
    text-align: center;
}
input, .custom-select {
    font-size: 24px;
    letter-spacing: .2em;
    margin: 10px;
} 
.error {
    color: #ff2a2a;
    padding: 1em;
    font-size: 1.5em;
}
.dynamic-form {
    margin-top: 18vh;
}
.imgcont {
    max-width: 40vw;
    margin: 3% auto 0;
}
.custom-select {
    position: relative;
    width: 100%;
    max-width: 256px;
    display: inline-block;
    vertical-align: top;   
}
.cookie .lema,
.cookie p{
    /*opacity: .3;*/
}
body.cookie:before,
body.cookie:after{
    opacity: .1;
} 
select {
    display: none;
}
.select-element {
    border: 1px solid;
    position: relative;
    width: 100%;
    padding: .6em .5em;
    cursor: pointer;
    text-align: left;
}
.select-element.active .select-caret svg {
    transform: rotate(90deg);
}
.select-element.active + .select-dropdown {
    visibility: visible;
    opacity: 1;
    top: 0;
    left: 0;
}
.select-element .select-caret {
    width: 46px;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
}
.select-element .select-caret svg {
    margin: .6em;
    transition: transform linear .4s;
}
.select-dropdown {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    background-color: #EEEEEE;
    width: 100%;
    transition: all .3s ease-in-out;
}
.select-dropdown li {
    padding: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
    cursor: pointer;
}
.select-dropdown li:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.25);
}
.select-dropdown li:hover {
    background: #f3af3347;
}
[type="submit"]:hover {
    background: #f6e2a34d;
}
[type="submit"] + svg {
    position: relative;
    margin-left: -17px;
    z-index: -1;
    transform: translateX(-33px);
}
#buttf {
    display: inline-block;
    vertical-align: middle;
}
.btn {
    color: #232323;
    padding: 0.2em .5em;
    border: 2px solid;
    vertical-align: middle;
    display: inline-block;
    margin-left: 10px;
}
.btn:hover {
    background: #e9bd5b6e;
}
/*1408*/
@media screen and (min-width: 88em){
    .imgcont {
        max-width: 50vw;
        margin-top: 8%;
    }
    .action-btns {
        right: 15%;
    }
}
/*1216*/
@media screen and (min-width: 65em){
    h3 {
        top: 2.5em;
        transform: translateX(-5%);
    }
    p {
        top: 6.5em;
        text-align: left;
    }
    .imgcont {
        margin-top: 8%;
    }
    .action-btns {
        margin: 3.2em 0 0;
        width: 170px;
        text-align: left;
        position: absolute;
        top: 12em;
        right: 11%;
    }
    .action-btns .btn {
        margin: .9em 0 0;
        font-size: 19px;
    }
}
/*960*/
@media screen and (max-width: 60em){
    body:before {
        background-size: cover;
    }
    .lema {
        font-size: 18px;
        max-width: 310px;
    }
    p {
        font-size: 16px;
        max-width: 350px;
    }
    .imgcont {max-width: 85vw;}
    body:after {
        width: 65%;
        top: 15%;
        right: -14%;
    }
    .action-btns {
        margin: 1.2em 0;
    }
}
/*640*/
@media screen and (max-width: 40em){
    body {
        background-position: 50% 0;
    }
    .rodillones {
        display: block;
        width: 160px;
        margin-left: 3%;
    }
    .lema {
        font-size: 14px;
        max-width: 230px;
        transform: none;
        top: 2em;
        left: initial;
        right: 0;
    }
    p{
        font-size: 14px;
        max-width: initial;
        transform: none;
        top: 9em;
        position: initial;
        width: 85%;
        text-align: justify;
        margin: 4% 0 0 7.5%;
    }
    .dynamic-form {
        margin-top: 3vh;
    }
    input, .custom-select {
        margin-bottom: 22px;
    }
    body:after {
        width: 85%;
        opacity: .6;
    }
    .copy {
        position: initial;
    }
    
    .cookie .lema,
    .cookie p{
        opacity: 1;
    }
    body.cookie:before,
    body.cookie:after{
        opacity: .3;
    } 
}
@media screen and (max-width: 26em){
    .lema {
        top: 1em;
        right: 5%;
        width: 40%;
    }
}
@media screen and (max-width: 40em) and (orientation: portrait) {
    .cookie .copy {
        position: absolute;
    }
}
@media screen and (max-height: 38em){
    
    /*.lema { 
        font-size: 11px;
        max-width: 100px;
        transform: translateX(-145%);
        top: 5em;
    }
    p {
        font-size: 11px;
        max-width: 240px;
        top: 12em;
        text-align: right;
    }*/
}
