div.part-content {
    background-color:var(--lgrey);
}

div.part-content div.article-tags {
    
}

div.part-content div.article-tags:empty {
    display:none;
}

div.part-content div.history-back {
    margin: 10px 0;
}

div.part-content p,
div.part-content li,
div.part-content span {
    line-height: 1.6em;
}

div.part-content p {
    margin-bottom:20px;
}

div.part-content a {
    transition:0.3s;
    text-decoration:underline;
}

div.part-content a:hover {
    color:var(--pri);
}

div.part-content div.article-content > *:first-child {
    margin-top:0;
    padding-top:0;
}

div.part-content div.article-content::after {
    content:"";
    display:block;
    float:none;
    clear:both;
}

div.part-content div.article-content h1,
div.part-content div.article-content h2,
div.part-content div.article-content h3,
div.part-content div.article-content h4,
div.part-content div.article-content h5,
div.part-content div.article-content h6 {
    font-weight:bold;
    margin-bottom:15px;
    margin-top:24px;
    text-align:left;
}

div.part-content ul {
    margin-left:32px;
    margin-bottom:10px;
    margin-top:10px;
    padding: 0;
    list-style: none;
    overflow: hidden;
}

div.part-content ul li {
    padding-left:25px;
    margin-bottom:10px;
    position:relative;
}

div.part-content ul li::before {
    content:"";
    display:block;
    width:7px;
    height:7px;
    position:absolute;
    top:11px;
    left:0;
    background-color:var(--pri);
}

div.part-content ul li:last-child {
    margin-bottom:0;
}

div.part-content table {
    border-collapse: collapse;
    margin: 32px 0;
    max-width: 100% !important;
    height:auto !important;
}

div.part-content .table-wrappers:first-child table {
    margin-top:0;
}

.part-content table[style*="float: left"],
.part-content table[style*="float:left"] {
    margin-right:32px;
}

.part-content table[style*="float: right"],
.part-content table[style*="float:right"] {
    margin-left:32px;
}

div.part-content table tr {
    height:auto !important;
}

div.part-content table tr > th {
    padding: 10px;
    background: #333;
    border-right: 1px solid #d9d9d9;
    color: #fff;
}

div.part-content table tr > th * {
    color:#ffffff;
}

div.part-content table tr > th:nth-last-of-type(1) {
    border-right: 1px solid #333;
}

div.part-content table tr td {
    vertical-align:top;
    height:auto !important;
}

div.part-content table tr > td {
    border: 1px solid #c0c0c0;
    padding: 10px;
}

div.part-content table p {
    text-align:inherit;
}

div.part-content table img {
    width:auto;
    
}

div.part-content table[style*="border-style"] tr > td {
    border:none;
}

div.part-content .table-wrappers + .table-wrappers table {
    margin-top:0;
}



/*----- IMAGES -----*/

div.content .part-content img {
    margin-top:32px;
    margin-bottom:32px;

}

div.content .part-content table tr td img {
    margin:0;
    width:100%;
    height:auto;
}

/* Actions */

div.part-content .article-actions {
    padding-top:60px;
    margin-bottom:60px;
}

div.part-content .article-actions::after {
    content:"";
    display:block;
    float:none;
    clear:both;
}

div.part-content .article-actions .share-content::after {
    content:"";
    display:block;
    float:none;
    clear:both;
}

div.part-content .article-actions .share-title {
    display:none;
}

div.part-content .article-actions .share-content,
div.part-content .article-actions a {
    float:left;
    display:block;
}

div.part-content .article-actions a {
    width:48px;
    height:48px;
    background-position:center center;
    background-repeat:no-repeat;
    background-size:32px 32px;
    overflow:hidden;
    text-indent:-9999px;
    background-color:var(--bgd);
    transition:0.3s;
    margin-right:3px;
}

div.part-content .article-actions a:hover {
    background-color:var(--blk);
}

div.part-content .article-actions a.facebook {
    background-image:url('../gfx/cnt_action_fb.svg');
}

div.part-content .article-actions a.twitter {
    background-image:url('../gfx/cnt_action_tw.svg');
}

div.part-content .article-actions a.tools-print {
    background-image:url('../gfx/cnt_action_print.svg');
}

div.part-content .article-actions a.tools-pdf {
    background-image:url('../gfx/cnt_action_pdf.svg');
}

div.part-content .article-actions a.tools-email {
    background-image:url('../gfx/cnt_action_mail.svg');
}

/*----- MEDIA QUERIES -----*/

@media only screen and (min-width: 480px) {
    div.content .part-content img {
        max-width: 100%;
        height: auto;
    }

    div.content .part-content table td img {
        max-width:none;
    }

    div.content .part-content img[style*="float: left"],
    div.content .part-content img[style*="float:left"] {
        max-width: 50%;
        margin: 32px 32px 32px 0 !important;
    }

    div.content .part-content img[style*="float: right"],
    div.content .part-content img[style*="float:right"] {
        max-width: 50%;
        margin: 32px 0 32px 32px !important;
    }
}

@media only screen and (max-width: 639px) {

    div.part-content div.article-content ul {
        margin-left:10px;
    }

    div.content .part-content img {
        max-width: 100%;
        width:100%;
        /*width: auto;*/
        height: auto !important;
        max-height:none !important;
    }
    
    div.part-content .video-wrapper {
        position: relative;
        padding-bottom: 56.25%;
        /* 16:9 */
        padding-top: 25px;
        height: 0;
    }

    div.part-content .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }


}

@media only screen and (max-width: 479px) {

    div.part-content div.article-content h1,
    div.part-content div.article-content h2 {
        font-size: 24px;
    }

    div.content .part-content .awe_blokk div {
        width:auto !important;
        margin:0 !important;
    }

    div.content .part-content img {
        max-width: 100%;
        width:100%;
        /*width: auto;*/
        height: auto !important;
        margin-top: 10px;
        margin-bottom:10px;
        max-height:none !important;
    }
    
    div.part-content .article-actions a {
        width:48px;
        height:48px;
        background-size:24px;
    }

    div.content .part-content * {
        flex-direction:column !important;
    }

}

/* sablon */

/* sablon product */

div.part-content a.product {
    /* display:inline-table; */
    display:inline-block;
    width:244px;
    padding:20px;
    margin-right:10px;
    margin-bottom:10px;
    box-shadow:0 0 10px rgba(0,0,0,0.15);
    vertical-align:top;
    text-decoration:none;
    text-align:center;
}

div.part-content a.product * {
    display:block;
    text-align:center;
}

div.part-content a.product img {
    width:100%;
    height:204px;
    margin:0 0 20px 0;
    background:none !important;
    background-color:#ffffff;
    border:none;
    outline:none;
}

div.part-content a.product video {
    width:100%;
    height:204px;
    margin:0 0 20px 0;
    background:none !important;
    background-color:#ffffff;
    border:none;
    outline:none;
    object-fit:cover;
    object-position:center center;
}

div.part-content a.product span.product-name {
    font-weight:300;
    text-transform:uppercase;
    font-size:24px;
    margin-bottom:10px;
}

div.part-content a.product span.product-oldprice {
    text-decoration:line-through;
    height:16px;
    font-size:12px;
    color:#707070;
    margin-bottom:10px;
}

div.part-content a.product span.product-price {
    font-weight:bold;
    height:30px;
    color:var(--pri);
}

@media only screen and (max-width:639px) {
    div.part-content a.product {
        width:210px;
        padding:10px;
    }
    
    div.content .part-content a.product img {
        height:190px !important;
        margin-bottom:10px;
    }
}

@media only screen and (max-width:479px) {
    div.part-content a.product {
        width:43vw;
    }
    
    div.part-content a.product span.product-name {
        font-size:14px;
        margin-bottom:0;
        font-weight:bold;
    }
    
    div.part-content a.product * {
        font-size:14px;
    }
    
    div.content .part-content a.product img {
        height:37vw !important;
    }
    
    div.part-content a.product span.product-oldprice {
        margin-bottom:0;
    }
}

/* sablon-tabla */

div.part-content table.sablon-tabla {
    width:100%;
    min-width:624px;
}

div.part-content table.sablon-tabla td {
    vertical-align:top;
}

div.part-content table.sablon-tabla td:first-child {
    width:70%;
}

div.part-content table.sablon-tabla td:last-child {
    width:30%;
}

div.part-content table.sablon-tabla img {
    width:100%;
    max-height:400px;
}

div.part-content table.sablon-tabla.tabla-l td:first-child {
    width:30%;
}

div.part-content table.sablon-tabla.tabla-l td:last-child {
    width:70%;
}

@media only screen and (max-width:639px) {
    div.part-content table.sablon-tabla,
    div.part-content table.sablon-tabla tbody,
    div.part-content table.sablon-tabla tr, 
    div.part-content table.sablon-tabla td {
        display:block;
        width:auto !important;
        min-width:0;
    }
    
    div.part-content table.sablon-tabla td {
        border-bottom:none;
    }
    
    div.part-content table.sablon-tabla td:last-child {
        border-bottom:solid 1px #c0c0c0;
    }
}

/* p-blocks */

div.part-content.pblock .article-content {
    
}

div.part-content.pblock .article-content p {
    margin-bottom:1px;
    position:relative;
    z-index:1;
}

div.part-content.pblock .article-content p:hover {
    z-index:2;
}

div.part-content.pblock .article-content p a {
    padding:20px 20px 20px 50px;
    display:block;
    position:relative;
    text-decoration:none;
    text-transform:uppercase;
    font-size:20px;
    background-color:var(--bgl);
    transition:0.5s;
    box-shadow:0 0 0 rgba(0,0,0,0.2);
}

div.part-content.pblock .article-content p a::before {
    content:"";
    display:block;
    position:absolute;
    top:28px;
    left:20px;
    width:10px;
    height:10px;
    background-color:#707070;
    transition:0.5s;
}

div.part-content.pblock .article-content p a:hover {
    color:inherit;
    background-color:#ffffff;
    box-shadow:0 10px 20px rgba(0,0,0,0.2);
    transform:scale(1.02,1.02);
}

div.part-content.pblock .article-content p a:hover::before {
    width:16px;
    background-color:var(--pri);
}

div.part-content.pblock .article-content p.partners a {
    background-color:var(--blk);
    color:#ffffff;
}
