/*form.mainform {margin:0 !important; padding: 0 !important; height:0px !important;}*/
/*-----------------------------------------
 
 copyright 2012 by mmc:agentur
 
 Version: 1
 
 Author: David Rerych, Marion Lesch, Christoph Weinhapl
 
 Author URI: http://www.mmc-agentur.at
 
 -------------------------------------------*/
/*--------------------------------------------
 [Table of contents]
 
  -) Form-Styling
    -) Standard-Forms
    -) Buttons
 
 ------------------------------------------------*/
/* ------------------------------
 * Form-Styling
 * ------------------------------*/
/* -------- Standard-Forms -------- */
/*form {
    margin-bottom: 1em;
}*/
.contact_layer form {
    margin: 0;
}

legend {
    font-size: 1.333em;
    font-weight: bold;
    color: #000;
    line-height: 1.063em;
    margin: 0 0 0.500em;
}

.form-list {
    list-style: none outside none;
    margin: 0;
    padding: 0;
}
.form-list>li {
    max-width: 280px;
    margin: 8px 0;
    *zoom: 1;
}
.form-list>li:after {
    content: '';
    display: table;
    clear: both;
}
.form-list>li>span {
    float: left;
    width: 100%;
    margin-left: 8px;
}
.ie9 .form-list>li>span {
    margin-left: 4px;
}
.form-list>li>span:first-child {
    margin-left: 0;
}
.form-list>li.title>span {
    width: auto;
    margin-left: 0;
}
.form-list .half_width {
    width: 136px;
}

input, textarea, select {
    color: #000;
}
label {
    display: block;
    font-size: 1em;
    line-height: normal;
    color: #000;
    margin-bottom: 2px;
}
input[type=text],
input[type=url], 
input[type=tel], 
input[type=number], 
input[type=color], 
input[type=email], 
input[type=password], 
input[type=search],
input[type=date], 
select, 
textarea {
    display: block;
    width: 100%;
    border: 0 none;
    background: #7d8080;
    color: #fff;
    line-height: normal;
    *overflow: visible;
    padding: 6px 10px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.-o- input[type=text], .-ms- input[type=text], 
.-o- input[type=url], .-ms- input[type=url], 
.-o- input[type=tel], .-ms- input[type=tel], 
.-o- input[type=number], .-ms- input[type=number],
.-o- input[type=color], .-ms- input[type=color], 
.-o- input[type=email], .-ms- input[type=email], 
.-o- input[type=password], .-ms- input[type=password], 
.-o- input[type=search], .-ms- input[type=search],
.-o- input[type=date], .-ms- input[type=date], 
.-o- select, .-ms- select, 
.-o- textarea, .-ms- textarea {
    background: #a5a6a6;
}
textarea {
    height: 76px;
}

input:focus {
    outline: none;
}

input::-webkit-input-placeholder {
    color: #fff;
}
input:-moz-placeholder {
    color: #fff;
} 
input.empty {
    color: #fff;
}

.form-checkbox-group>span, .form-radio-group>span {
    display: inline-block;
    vertical-align: top;
    margin-right: 20px;
    margin: 1px 20px 1px 0;
}
.form-checkbox-group>span:after, .form-radio-group>span:after {
    content: '';
    display: table;
    clear: both;
}
.form-checkbox-group label, .form-checkbox-group .label,
.form-radio-group label, .form-radio-group .label {
    display: inline;
    line-height: 1.53em;
}

.title .label {
    font-style: normal;
}

.form-checkbox-group.long-label>span, .form-radio-group.long-label>span {
    display: block;
    clear: both;
    margin: 5px 20px 5px 0;
}
.form-checkbox-group.long-label input, .form-radio-group.long-label input {
    float: left;
    margin-top: 2px;
}
.form-checkbox-group.long-label label, .form-checkbox-group.long-label .label,
.form-radio-group.long-label label, .form-radio-group.long-label .label {
    display: block;
    margin: 0 0 0 17px;
}

.error input[type=text],
.error input[type=url], 
.error input[type=tel], 
.error input[type=number], 
.error input[type=color], 
.error input[type=email], 
.error input[type=password], 
.error input[type=search],
.error input[type=date], 
.error select, 
.error textarea {
    background: #8d3636;
}
.-o- .error input[type=text], .-ms- .error input[type=text],
.-o- .error input[type=url], .-ms- .error input[type=url], 
.-o- .error input[type=tel], .-ms- .error input[type=tel], 
.-o- .error input[type=number], .-ms- .error input[type=number], 
.-o- .error input[type=color], .-ms- .error input[type=color], 
.-o- .error input[type=email], .-ms- .error input[type=email], 
.-o- .error input[type=password], .-ms- .error input[type=password], 
.-o- .error input[type=search], .-ms- .error input[type=search],
.-o- .error input[type=date], .-ms- .error input[type=date], 
.-o- .error select, .-ms- .error select, 
.-o- .error textarea, .-ms- .error textarea {
    background: #ba7e7e;
}




/* -------- Buttons -------- */
/* Link width blue arrow */
button[type=submit], input[type=submit], .btn {
    position: relative;
    border: 0 none;
    background: 0 none;
    color: #3ea4eb;
    font-size: 0.917em;
    line-height: 1em;
    font-weight: bold;
    letter-spacing: -0.02em;
    padding: 0 10px 0 0;
    margin: 10px 10px 0;
    white-space:nowrap; 
}
button[type=submit]:after, .btn:after {
    content: "";
    position: absolute;
    height: 7px;
    width: 5px;
    right: 0;
    top: 3px;
    white-space:nowrap; 
}
.size_1 button[type="submit"]:after, .size_1 .btn:after {
    top: 5px;
}
.size_2 button[type="submit"]:after, .size_2 .btn:after {
    top: 6px;
}
button[type=submit]:hover, input[type=submit]:hover, .btn:hover, 
button[type=submit]:focus, input[type=submit]:focus, .btn:focus {
    text-decoration: underline;
}

/* blue and white arrow-buttons */
.arrow {
    position: relative;
    display: inline-block;
    font-size: 0.833em;
    line-height: 22px;
    letter-spacing: -0.01em;
    font-weight: bold;
    padding: 0 5px;
    margin-top: 1em;
}
.arrow.big {
    font-size: 1em;
    line-height: 27px;
}
.arrow.white {
    background: #fff;
    color: #000;
}
.arrow.white:hover, .arrow.white:focus {
    background: #61a4d7;
    text-decoration: none;
}
.arrow.blue {
    background: #61a4d7;
    color: #fff;
}
.arrow.blue:hover, .arrow.blue:focus {
    background: #272b2c;
    text-decoration: none;
}
.arrow:after {
    content: "";
    position: absolute;
    top: 0;
    right: -10px;
    width: 10px;
    height: 22px;
    background: url(img/main_sprite.png) no-repeat;
}
.arrow.big:after {
    height: 27px;
    width: 13px;
    right: -13px;
}
.arrow.blue:after {
    background-position: -42px -25px;
}
.arrow.blue:hover:after, .arrow.blue:focus:after {
    background-position: -42px -52px;
}
.arrow.white:after {
    background-position: -17px -25px;
}
.arrow.white:hover:after, .arrow.white:focus:after {
    background-position: -42px -25px;
}
.arrow.blue.big:after {
    background-position: -28px -25px;
}
.arrow.blue.big:hover:after, .arrow.blue.big:focus:after {
    background-position: -28px -52px;
}
.arrow.white.big:after {
    background-position: -53px -25px;
}
.arrow.white.big:hover:after, .arrow.white.big:focus:after {
    background-position: -28px -25px;
}