body {
    font-family: 'Raleway', sans-serif;
    font-size: 1.3rem;
}
h1 { font-size: 3.0rem; }
h2 { font-size: 2.4rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }
h5 { font-size: 1.2rem; }
ul { padding:0px }
ul li {
    list-style-type: none
}
figcaption { text-align: center }

form[role="search"] button {
    background: #ff7f2a;
    color:white;
    border: 1px solid transparent;
    border-left: 1px solid #ccc;
}

#footer {background-color:black;color:white;padding:1rem; margin-top:2rem}
#footer h3, #footer p {text-align:center}
#footer table {margin:0px auto;white-space:nowrap}
a.icon-social {
    display: inline-block;
    width: 4rem;
    height: 4rem;
}
a.icon-social img {max-width:80%}

.navbar-brand { padding:0px 15px }
.navbar-inverse {
    border: 0px;
    color: white;
    font-size: 1.5rem;
}
.navbar-left img {
    padding-left: 5%
}

.widget {
    padding: 0 10px 10px 10px;
    margin-bottom: 10px;
}

.widget h3, .widget h4 {
    color: #787800;
    background-color: #FBF8C7;
    border-color: #999999;
    border-width: 1px 0px 1px 0px;
    border-style: dotted;
    border-color: silver;
    padding: 0.5rem;
    text-transform:uppercase;
}
.widget ul li {
    margin-bottom:0.8rem;
}

button.avatar {
    background:none;
    border:none;
}
button.avatar img {height:100%; width:100% }
.avatar {
    width: 6.4rem;
    height: 6.4rem;
    padding: 0.8rem;
    text-align: center;
    display:inline-block;
}

.recipe-card .avatar {
    width: 4.0rem;
    height: 4.0rem;
    padding: 0.2rem;
    text-align: center
}

div.avatar img, .avatar-small img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-circle {
    background-color: orange;
    border-radius: 50%;
    text-transform: uppercase;
    font-size: 27px;
    font-weight: bold;
    color: white;
    font-family: 'courier new', monospace;
}

.avatar.avatar-unknown {
    background: url(/users/profile/0.gif) no-repeat;
}
img.fill { width:100%; height:auto; padding:0px}
#comments .media-left a {width:5rem;min-height:4rem;vertical-align:top}

/* grid rendering */
#grid .panel-body a {
    display: block;
    object-fit: cover
}

#grid .panel-body img {
    width: 100%
}

@media screen and (min-width: 1px) and (max-width: 767px) {
    #grid[data-columns]::before {
        content: '2 .col-xs-6';
    }
}

@media screen and (min-width:768px) and (max-width: 991px) {
    #grid[data-columns]::before {
        content: '2 .col-sm-6';
    }
}

@media screen and (min-width:992px) and (max-width: 9999px) {
    #grid[data-columns]::before {
        content: '4 .col-md-3';
    }
}




#method ol {
    list-style-type: none;
    list-style-type: decimal !ie; /*IE 7- hack*/
    margin: 15px 0 0 34px;
    padding: 0;
    counter-reset: li-counter;
}

#method ol > li {
    position: relative;
    margin-bottom: 6px;
    padding: 6px 14px;
    line-height: 24px;
}

#method ol > li:before {
    position: absolute;
    top: 3px;
    left: -34px;
    width: 34px;
    height: 34px;
    text-align: center;
    line-height: 32px;
    color: #999;
    font-weight: 700;
    font-size: 16px;
    background-color: #f4f4f4;
    content: counter(li-counter);
    counter-increment: li-counter;
    cursor: default;
}

#ingredients ul {
    padding: 0px;
}
#ingredients h3, #method h3 {
    border-bottom: 1px solid #e6e6e6;
    padding-bottom: 1.0rem;
}

span[data-id] {
    font-style: italic;
    color: dodgerblue;
}

/* desktops */
@media only screen and (min-width: 1200px) {
    #ingredients ul {
        column-count: 2;
        column-rule: 1px solid #f0f0f0;
        column-gap: 25px;
    }
}
/* tablets */
@media only screen and (min-width: 960px) and (max-width: 1389px) {
    #ingredients ul {
        column-count: 2;
        column-rule: 1px solid #f0f0f0;
        column-gap: 25px;
    }
}

/* phones */
@media only screen and (min-width: 960px) and (max-width: 1389px) {
    #ingredients ul li {
        border-bottom: 1px dashed #E5E2DB;
    }
}
