@import url(https://fonts.googleapis.com/css?family=Architects+Daughter);

/*.container {
    width: 960px;
    margin: 0 auto;
}*/

html {
  overflow-y: scroll;
}

.titolo {
    text-align: center;
}

.titolo h3 {
    margin-top: 0;
}

input {
    width: 200px;
}

input[type='number'] {
    -moz-appearance:textfield;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

body{
}

form {
    box-sizing: border-box;
    max-width:750px;
    margin: auto;
    border-radius: 5px;
    padding: 55px;
    padding-top: 25px;
/*    font-family: 'Architects Daughter', cursive;*/
    font-size: 16px;

    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#f7f094+0,f5ab66+47,ed3131+100&amp;0.9+0,0.9+100 */
    background: rgba(220,220,220,0.9); 

    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

span.titolo{
    box-sizing: border-box;
    color:  #222;
    width: 200px;
    padding: 0 0 12px;
}

span.titolo:after {
    content: "\000A";
    white-space: pre;
}

input{
    color:  #444;
    box-sizing: border-box;
    width: 300px;
    box-shadow: 1px 2px 4px 0 rgba(0, 0, 0, 0.08);
    padding: 12px 18px;
    border: 1px solid #dbdbdb;
    margin-top: 5px;
}

input[type="radio"] {
    margin-right: 5px;
    width: auto;
    display: inline;
    margin-top: 20px;
}

.radiogaga span {
    margin-right: 35px;
}

.results {
    margin-top: 20px;
    max-width: 300px;
    color: white;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#feffff+0,ddf1f9+62,a0d8ef+100 */
    background: #333333; /* Old browsers */
    border-radius: 5px;
    padding: 5px;
}

#regale {
    max-width: 605px;
}

#logo {
    width: 50%;
}

footer {
    margin-top: 20px;
}

.malpelo {
    color: red;
}

@media (max-width: 600px) {

    .form-labels-on-top{
        padding: 30px;
    }

    input{
        width: 240px;
    }

}

.errato {
    position: relative;
}

.errato:before {
    background: rgba(0, 0, 0, .8) none repeat scroll 0 0;
    border-radius: 5px;
    content: attr(title);
    display: inline;
    position: absolute;
    text-align: center;
    width: 300px;
    z-index: 98;
    color: red;
}

.errato:after {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: #000 transparent;
    border-image: none;
    border-style: solid;
    border-width: 6px 6px 0;
    content: "";
    bottom: 53px;
    left: 20px;
    position: absolute;
    z-index: 99;
}

.wprotein, .wteglia {
    background-color: rgba(173, 0, 0, 0.2);
    border-radius: 5px;
}

.wprotein p, .wteglia p {
    line-height: 16px;
    margin: 5px 5px 0 5px;
    text-align: justify;
    font-size: 12px;
}

.wteglia p {
    margin-bottom: 5px;
}

.wteglia {
    margin-top: 8px;
}

#teglia {
    width: auto;
    display: inline-block;
    margin-top: 22px;
    vertical-align: bottom;
}

.wteglia div:nth-child(2) {
    text-align: center;
}

.thanks {
    font-size: 10px;
}

.screenies {
    font-size: 14px;
    line-height: 18px;
}

.screenies a {
    line-height: 30px;
}

.titolaccio {
    margin-right: 20px;
}

.triofarine {
    display: flex;
}

@media (min-width: 768px) {
    .hiddenbig {display: none;}
}

@media (max-width: 767px) {
    .hiddensmall {display: none;}
    .wprotein, .wteglia {max-width: 300px;}
}

@media (max-width: 600px) {
    .wprotein, .wteglia {max-width: 240px; min-width: 240px;}
}

@media (min-width: 768px) {
    .miscela {margin-left: 25%;}
}
