﻿/*
* File name: size_responsive.css
*
*  FORM LAYOUT (sizes, widths, heights, margins, paddings etc.)
*
* Good tutorials
* The Difference Between CSS "Block" and "Inline" property
*                           http://www.impressivewebs.com/difference-block-inline-css/
* inline-block:             http://www.brunildo.org/test/inline-block.html
* hasLayout:                http://www.satzansatz.de/cssd/onhavinglayout.html
* Styling form controls:    http://www.456bereastreet.com/archive/200701/styling_form_controls_with_css_revisited/
----------------------------------------------------------------------------- */
#pix-cf {
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 0;
    vertical-align: middle;
    line-height: 12px;
}

#pix-cf fieldset {
    margin: 0;
    padding: 0;
}

#pix-cf legend {
    margin: 0 10px;
    padding: 0 10px 5px 10px;
    vertical-align: top;
}

div.inputFieldBox, div.textareaFieldBox, div.selectboxField, div.checkboxBox, div.radiobuttonsBox, div.securityFieldBox, div.submitButtonBox {
    display: block;
    margin: 1% auto;
    padding: 5px;
    text-align: right;
}

#pix-cf label {
    display: inline;
    margin-right: 3px;
    padding: 0;
    vertical-align: middle;
    cursor: pointer;
    white-space: nowrap;
}

#pix-cf input, #pix-cf select, input#captchaImg, img#captchaImg, #pix-cf textarea {
    position: relative;
    line-height: 1em;
    margin: 0;
    padding: 7px;
    border: none;
}

#pix-cf input {
    height: 34px;
    vertical-align: middle;
}

#pix-cf textarea {
    height: 90px;
    vertical-align: top;
}

#selectboxField select {
    line-height: 12px;
    margin: 0;
    padding: 5px 3px;
    height: 32px;
    vertical-align: middle;
}

span.checkboxWrapper {
    display: inline-block;
 /* set display:block; for vertical display */
    text-align: right;
    vertical-align: middle;
    margin: 0;
    padding: 0;
}

div#checkboxBox label {
    display: inline;
    vertical-align: middle;
    margin-left: 10px;
    padding: 0;
}

div#checkboxBox input {
    display: inline;
    vertical-align: middle;
    border: none;
    height: 20px;
    width: 20px;
    margin: 0;
    padding: 0;
}

span.radiobuttonsWrapper {
    display: inline-block;
 /* set display:block; for vertical display */
    text-align: right;
    vertical-align: middle;
    margin: 0;
    padding: 0;
}

div#radiobuttonsBox label {
    display: inline;
    vertical-align: middle;
    margin-left: 10px;
    padding: 0;
}

div#radiobuttonsBox input {
    display: inline;
    vertical-align: middle;
    border: none;
    height: 20px;
    width: 20px;
    margin: 0;
    padding: 0;
}

input#captchaImage {
    margin-right: 2px;
    text-align: center;
    vertical-align: middle;
    border: none;
}

img#captchaImg {
    padding: 0;
    vertical-align: middle;
    border: none;
}

.reloadCaptcha {
    margin: 0;
    padding: 0;
    vertical-align: top;
    cursor: pointer;
    border: none;
}

#pix-cf button {
    height: 36px;
    margin: 0;
    cursor: pointer;
    outline: none;
    border: none;
}

.resultMessageBox {
    display: inline-block;
    width: 100%;
    text-align: center;
    margin: auto;
    padding: 5px 0;
    line-height: 1.5;
}


#pix-cf input, #pix-cf select, #pix-cf textarea, #selectboxField select, #pix-cf button {
    width: 50%;
}
    /* Landscape phones and smaller */
    @media (max-width: 480px) {
        #pix-cf input, #pix-cf select, #pix-cf textarea, #selectboxField select, #pix-cf button {
            width: 70%;
        }
    }
input#captchaImage, img#captchaImg {
    width: 100px;
    height: 34px;
}


/* FORM COLORS
Primary Colors
blue    #005c99
yelow   #FFCC00
Text colors
blue    #054b7d
----------------------------------------------------------------------------- */
#pix-cf {
    background-color: transparent;
}

#pix-cf fieldset {
    background-color: transparent;
    color: #054b7d;
}

#pix-cf label {
    color: #054b7d;
}

#pix-cf legend {
    color: #616161;
    /* CSS3 text-shadow: h-offset, v-offset, blur, color */
    text-shadow: 1px 1px 0 #FFFFFF;
}

.required-mark {
    color: #C21D25;
}

div.inputFieldBox, div.textareaFieldBox, div.checkboxBox, div.radiobuttonsBox, div.selectboxField, div#securityFieldBox, div.submitButtonBox {
    color: #7F7F7F;
    background-color: rgba(255, 255, 255, 0.5);
    -webkit-box-shadow: 0px 0px 5px rgba(100, 100, 100, 025);
    -moz-box-shadow: 0px 0px 5px rgba(100, 100, 100, 0.2);
    box-shadow: 0px 0px 5px rgba(100, 100, 100, 0.2);
    text-shadow: 1px 1px 0 #FFFFFF;
}

#pix-cf input, #pix-cf select, #pix-cf textarea, input#securityCode, img.captchaImg {
    color: #EAEAEA;
    background-color: #005c99;
    box-shadow: 0px 0px 3px rgba(20, 20, 20, 0.5) inset;
}

#pix-cf input:focus, #pix-cf textarea:focus {
    color: #054b7d;
    background-color: #FFFFFF;
    border-color: #616161;
}

#selectboxField select:hover {
    color: #333333;
    background-color: #ACACAC;
    border-color: #616161;
}

#customCaptionText {
    color: #414141;
}

div.checkboxBox input {
    background-color: transparent;
}

#pix-cf button {
    color: #FFFFFF;
    text-shadow: #000000 1px 1px 0;
    background-color: #005c99;
    /* IE6 & IE7 hack to remove extra black border around submit button in active forms http://msdn.microsoft.com/en-us/library/ms532982%28v=vs.85%29.aspx */
    filter: progid:DXImageTransform.Microsoft.Chroma(color=#000000);
    outline: none;
}

#pix-cf button:hover {
    color: #444444;
    text-shadow: #EAEAEA 1px 1px 0;
    background-color: #FFCC00;
    outline: none;
}

#pix-cf button:focus {
    outline-style: none;
}

.resultMessageBox {
    color: #FF0000;
    text-shadow: #FFFFFF 1px 1px 0;
}


/* TYPHOGRAPHY
----------------------------------------------------------------------------- */
#pix-cf {
    font-family: "Ek Mukta", "Open Sans", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
}

#pix-cf label {
    font-weight: normal;
}

#pix-cf legend {
    font-family: "Merriweather", "Open Sans", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 22px;
    font-style: italic;
}

.required-mark {
    font-size: 16px;
    font-weight: normal;
}

#pix-cf button {
    font-family: "Ek Mukta", "Open Sans", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#pix-cf input, #pix-cf textarea, div.selectboxField, div.radiobuttonsBox, .checkboxBox, input#securityCode, img.captchaImg, div.resultText {
    font-family: "Ek Mukta", "Open Sans", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
}

.customCaptionText {
    text-align: left;
    font-size: 12px;
    font-weight: bold;
    font-style: italic;
    line-height: 16px;
}

.customBlockText {
    text-align: left;
    font-size: 12px;
    font-style: italic;
    line-height: 14px;
}

/* icon font face for "reload" captcha image (letter "e, d or h"), http://www.entypo.com */
@font-face {
    font-family: 'EntypoRegular';
    src: url('entypo-font/entypo-webfont.eot');
    src: url('entypo-font/entypo-webfont.eot?#iefix') format('embedded-opentype'),
         url('entypo-font/entypo-webfont.woff') format('woff'),
         url('entypo-font/entypo-webfont.ttf') format('truetype'),
         url('entypo-font/entypo-webfont.svg#EntypoRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

.reloadCaptcha {
    font-family: 'EntypoRegular';
    font-size: 50px;
    line-height: 20px;
    font-weight: normal;
}
.resultMessageBox {
    font-size: 14px;
}



