﻿*
{
    box-sizing: border-box;
}

html
{
    height: 100%;
    width: 100%;
    position: relative;
}

body
{
    height: 100%;
    width: 100%;
    position: relative;
    background: url('../Images/bg.jpg') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

    /* BREAKS IE7 ON ENABLE -- FIND FIX */
    /*filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='Images/bg.jpg', sizingMethod='scale');
    -ms-filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='Images/bg.jpg', sizingMethod='scale');*/
}

form
{
    height: 700px;
    width: 1000px;
    margin: auto;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding: 10px;
    background-color: #ffffff;
    overflow: hidden;

    -webkit-box-shadow: 0 0 10px 10px rgba(0,0,0,.25);
    -ms-box-shadow: 0 0 10px 10px rgba(0,0,0,.25);
    box-shadow: 0 0 10px 10px rgba(0,0,0,.25);

    -webkit-border-radius: 10px;
    -ms-border-radius: 10px;
    border-radius: 10px;
}

form > header
{
    text-align: center;
}

form > main
{
    padding: 10px;
}


form > main > fieldset
{
    /* BREAKS IE7
    width: 100%;
    height: 100%;*/
    margin: 0;
    display: block;
}

form > main > fieldset > legend
{
    font-size: 1.5em;
    clear: both;
    padding: 10px;
    display: block;
    text-align: center;

    /* BREAKS IE7
    width: 100%;*/
}

form > main > fieldset > div
{
    padding: 8px 10px;
    text-align: center;
    display: block;
    /* BREAKS IE7
    width: 50%;*/
    width: 49%;
    float: left;
}

form > main > fieldset > div > label
{
    text-align: left;
    display: block;
    margin-bottom: 5px;

}

form > main > fieldset > div.descripcion
{
    width: 98%;
    /* BRRAKS IE7
    width: 100%;*/
    clear: both;
}

form > main > fieldset > div.submit
{
    width: 98%;
    /* BRRAKS IE7
    width: 100%;*/
    clear: both;
}

form > main > fieldset > div > input[type=text],
form > main > fieldset > div > input[type=email],
form > main > fieldset > div > input[type=tel],
form > main > fieldset > div > select,
form > main > fieldset > div > textarea
{
    width: 100%;
    /* BRRAKS IE7
    width: 100%;*/
    padding: 5px;
    font-size: 1.15em;
    height: 35px;
    border: 2px solid #1a75cf;
}

form > main > fieldset > div > select
{
    color: #808080;
    font-style: italic;
}

form > main > fieldset > div > select > option
{
    color: #000000;
    font-style: normal;
}

form > main > fieldset > div > select > option:first-child
{
    color: #808080;  
    font-style: italic;
}

form > main > fieldset > div > textarea
{
    height: 160px;
}

form > footer
{
    text-align: center;   
}

form > footer > small
{
    font-size: 0.8em;
}


/* LIGHTBOXES */
#secLightboxes
{
    background-color: rgba(0, 0, 0, 0.25);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
}

#secMessage
{
    /*display: none;*/
    background-color: #ffffff;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    padding: 30px 50px;
    width: 600px;
    height: 410px;

    -webkit-box-shadow: 0 0 10px 10px rgba(0,0,0,.25);
    -ms-box-shadow: 0 0 10px 10px rgba(0,0,0,.25);
    box-shadow: 0 0 10px 10px rgba(0,0,0,.25);

    -webkit-border-radius: 10px;
    -ms-border-radius: 10px;
    border-radius: 10px;
}

#secMessage > h1
{
    font-size: 1.5em;
    font-weight: 800;
    margin: 0 0 15px 0;
    padding: 0;
    text-align: center;
}

#secMessage > h2
{
    font-size: 2em;
    font-weight: 800;
    color: #ff6a00;
    margin: 0 0 20px 0;
    text-align: center;
}

#secMessage > p
{
    font-size: 1em;
    margin: 0 0 15px 0;
}

#secMessage > div
{
    text-align: center;
    padding-top: 10px;
}

/* GENERIC */
::-webkit-input-placeholder 
{
   color: #808080;
   font-style: italic;
}

:-moz-placeholder 
{ /* Firefox 18- */
   color: #808080; 
   font-style: italic; 
}

::-moz-placeholder 
{  /* Firefox 19+ */
   color: #808080;  
   font-style: italic;
}

:-ms-input-placeholder 
{  
   color: #808080;  
   font-style: italic;
}

.invalid
{
    background-color: #ff0000;
}

input[type=button],
input[type=submit],
input[type=reset],
button
{
    background-color: #ffffff;
    color: #1a75cf;

    -webkit-border-radius: 10px;
    -ms-border-radius: 10px;
    border-radius: 10px;

    margin: 0 10px;
    border: 2px solid #1a75cf;
    padding: 10px;
    font-size: 1.25em;
}

input[type=button]:hover,
input[type=submit]:hover,
input[type=reset]:hover,
button:hover
{
    background-color: #1a75cf;
    color: #ffffff;
}