.shopitem td {
    vertical-align: top;
}

/*
 .article-details prevents search button to by styled with these styles
 */
.article-details .btn {
    color: white;
    background: #7380a6;
    background-image: -webkit-linear-gradient(top, #7380a6, #2d437b);
    background-image: -moz-linear-gradient(top, #7380a6, #2d437b);
    background-image: -ms-linear-gradient(top, #7380a6, #2d437b);
    background-image: -o-linear-gradient(top, #7380a6, #2d437b);
    background-image: linear-gradient(to bottom, #7380a6, #2d437b);
    -webkit-border-radius: 28;
    -moz-border-radius: 28;
    border-radius: 28px;
    text-shadow: 1px 1px 2px #292929;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    color: #ffffff;
    font-size: 14px;
    padding: 4px 12px 4px 12px;
    text-decoration: none;
    position: absolute;
    top:20px;
    right:20px;
}

.article-details .btn:hover {
    color: white;
    background: #afb7cd;
    background-image: -webkit-linear-gradient(top, #afb7cd, #7380a6);
    background-image: -moz-linear-gradient(top, #afb7cd, #7380a6);
    background-image: -ms-linear-gradient(top, #afb7cd, #7380a6);
    background-image: -o-linear-gradient(top, #afb7cd, #7380a6);
    background-image: linear-gradient(to bottom, #afb7cd, #7380a6);
    text-decoration: none;
}

.article-details .btn:visited {
    color: white;
}

.curbtn {
    display: inline-block;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    text-align: center;
    z-index: auto;
    width: 56px;
    height: 20px;
    position: static;
    cursor: default;
    opacity: 1;
    overflow: visible;
    margin: 0.5em;
    padding: 0px 2px 4px 2px;
    border: 1px solid #000000;
    -webkit-border-radius: 0.2em;
    border-radius: 0.2em;
    font: normal normal bold 1em/2em Verdana, Arial, Helvetica, sans-serif;
    color: #646464;
    -o-text-overflow: clip;
    text-overflow: clip;
    white-space: nowrap;
    background: #dddddd;
    -webkit-box-shadow: 0 0 1px 1px rgba(255,255,255,0.8) , 0 1px 0 0 rgba(0,0,0,0.298039) ;
    box-shadow: 0 0 1px 1px rgba(255,255,255,0.8) , 0 1px 0 0 rgba(0,0,0,0.298039) ;
    text-shadow: 0 1px 0 rgba(255,255,255,0.8) ;
    -webkit-transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1) 10ms;
    -moz-transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1) 10ms;
    -o-transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1) 10ms;
    transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1) 10ms;
    -webkit-transform: none;
    transform: none;
    -webkit-transform-origin: 50% 50% 0;
    transform-origin: 50% 50% 0;
}
.box {
    line-height: 1.6;
    display: inline-block;
    vertical-align: top;
    z-index: auto;
    width: 25%;
    /*height: auto;*/
    position: relative;
    margin: 20px;
    padding: 20px;
    overflow: hidden;
    border: none;
    -webkit-border-radius: 12px;
    border-radius: 12px;
    font: normal 12px Verdana, Geneva, sans-serif;
    color: rgba(0,0,0,1);
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    background: #ededed;
    -webkit-box-shadow: 1px 1px 1px 0 rgba(0,0,0,0.3);
    box-shadow: 1px 1px 1px 0 rgba(0,0,0,0.3);
}

.box br {
     line-height: 1.6;
}

.box img {
     display: inline;
}

@media only screen and (max-width: 1200px) {
    [class="box"] {
        width: 40%;
    }
}

@media only screen and (max-width: 1000px) {
    [class="box"] {
        width: 80%;
    }
}

#toc {
    line-height: 1.6;
    display: block;
    /*width: 100%;*/
    /*height: auto;*/
    /*position: relative;*/
    margin: 10px;
    padding: 10px;
    overflow: hidden;
    border: none;
    -webkit-border-radius: 12px;
    border-radius: 12px;
    font: normal 12px Verdana, Geneva, sans-serif;
    color: rgba(0,0,0,1);
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    background: #ededed;
    -webkit-box-shadow: 1px 1px 1px 0 rgba(0,0,0,0.3);
    box-shadow: 1px 1px 1px 0 rgba(0,0,0,0.3);
}

/*#toc nav ul {
    margin-bottom: 0;
}*/

.toc_h2 {
    margin-left: 10px;
    line-height: 1.8;
    -webkit-margin-before: 0;
    -webkit-padding-start: 0;
}

.toc_h3 {
    margin-left: 30px;
    font-style: italic;
    /*padding-left: 30px;*/
    -webkit-margin-before: 0;
    -webkit-padding-start: 0;
}

ol li {
    line-height: 1.5;
    margin-bottom: 10px;
}

.anchor {
    display: block;
    height: 180px; /*same height as header*/
    margin-top: -180px; /*same height as header*/
    visibility: hidden;
}

h2 {
    margin-top: 1.2rem;
    margin-bottom: 0.8rem;
}
