html {
    height: 100%; /* height:100% e samo zaradi grida trqbwa da se mahne w realen proekt */
    margin: 0;
    padding: 0;
    overflow-y: scroll !important;
    -webkit-text-size-adjust: none; /* Не позволява промяна на размера на текста при завъртане на екрана (landscape/portrait) */
}

body {
    height: 100%; /* height:100% e samo zaradi grida trqbwa da se mahne w realen proekt */
    margin: 0;
    font-family: sans-serif;
    font-size: 14px;
}

img {
    border: none;
    outline: none;
    line-height: 0;
    vertical-align: middle;
}

*:focus { outline: 0; }

.clear {
    clear: both;
    visibility: hidden;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
} /* clearfix */

* html .clearfix {
    zoom: 1;
} /* IE6 */

*:first-child+html .clearfix {
    zoom: 1;
} /* IE7 */


/* debug errors */
.errors {
    left: 50%;
    margin-left: -400px;
    top: 0;
    width: 800px;
    position: absolute;
    background-color: #FFFEE4;
    border: 1px solid #CC0000;
    border-top: none;
}

.errors div {
    display: none;
    padding: 10px 15px 0 15px;
    text-align: left;
    color: #FF0000;
}

.errors div:last-child {
    display: block;
    padding: 0 15px;
}
/*  */



/* form errors */
.errortooltip {
    position: absolute;
    /*width:520px;*/
    max-width: 520px;
    padding: 7px 20px 7px 10px;
    text-align: left;
    border-radius: 4px;
    color: #fff;
    background-color: #c40000;
    box-shadow: 1px 1px 3px 0 rgba(0,0,0,0.35);
    font-size: 12px;
}

.errortooltip:after {
    height: 0;
    width: 0;
    bottom: 100%;
    left: 25px;
    border: solid transparent;
    content: " ";
    position: absolute;
    border-color: rgba(196, 0, 0, 0);
    border-bottom-color: #c40000;
    border-width: 7px;
    margin-left: -7px;
}

