/*
  File:              amoksys-materialize-card.css
  Version:           1.1.3
 */

.card{margin:.5rem 0;}
.card + .card{margin-top:1rem}
.card > .divider:first-child{display:none;}
.card > .divider:last-child{display:none;}
.card > .divider + .divider{display:none;}

.card > .collapsible{border-left:none!important;border-right:none!important;border-bottom:none!important}
.card > .collapsible > li > .collapsible-header{border-left:none!important;border-right:none!important;}

.card .collapsible.no-border-top > li.active:first-child > .collapsible-header{border-top:none!important}

.card .card-image .card-title{padding:1rem;}
.card .card-content{padding:1rem;}
.card .card-content .card-content-invalidate,
.card .card-content .card-content-full-width,
.card .card-content .card-content-child-full-width{margin-left:-1rem;width:calc(100% + 2rem);}
.card .card-content.card-content-title h5.two-lines{line-height:27px;min-height:54px;height:54px;display: -webkit-box;display: -webkit-flex;display: -ms-flexbox;display: flex;-webkit-box-align: center;-webkit-align-items: center;-ms-flex-align: center;align-items: center;}
.card .card-content.card-content-title h5.two-lines:after{display:table;content:"";clear:both;}
.card .card-content.card-content-title h5.two-lines .title-content{overflow: hidden;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;}

.card .card-content.card-content-title h5.twolines{line-height:27px;min-height:54px;height:54px;display: -webkit-box;display: -webkit-flex;display: -ms-flexbox;display: flex;-webkit-box-align: center;-webkit-align-items: center;-ms-flex-align: center;align-items: center;}
.card .card-content.card-content-title h5.twolines:after{display:table;content:"";clear:both;}
.card .card-content.card-content-title h5.twolines .title-content{overflow: hidden;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;}

.card.card-wide .card-image,
.card.card-image-wide .card-image,
.card.card-image-wide-vertical .card-image,
.card.card-image-squared .card-image,
.card.card-image-a4 .card-image{background-position:center;background-size:cover;height:0;padding-bottom:56.25%;}

.card.card-wide .card-image img,
.card.card-image-wide .card-image img,
.card.card-image-wide-vertical .card-image img,
.card.card-image-squared .card-image img,
.card.card-image-a4 .card-image img{opacity:0;}

.card.card-wide .card-image{padding-bottom:56.25%;}
.card.card-image-wide .card-image{padding-bottom:56.25%;}
.card.card-image-wide-vertical .card-image{padding-bottom:177.778%;}
.card.card-image-wide.card-image-wide-vertical .card-image{padding-bottom:177.778%;}
.card.card-image-squared .card-image{padding-bottom:100%;}
.card.card-image-a4 .card-image{padding-bottom:141.42857%;}


/* CARD LOADING */
.card-loading-effect{transition:all .3s;}

.card-loading.card-loading-effect:not(.only-empty),
.card-loading.card-loading-effect.only-empty:empty,
.card-loading .card-loading-effect{
    overflow:hidden;
    position:relative;
}

.card-loading-empty-min-height:empty{
    min-height:3rem;
}

.card-loading.card-loading-effect:not(.only-empty):not(.card-loading-dark),
.card-loading.card-loading-effect.only-empty:empty:not(.card-loading-dark),
.card-loading:not(.card-loading-dark):not(.only-empty) .card-loading-effect,
.card-loading:not(.card-loading-dark).only-empty .card-loading-effect:empty{
    background:white;
}

.card-loading.card-loading-effect:not(.only-empty)::before,
.card-loading.card-loading-effect.only-empty:empty::before,
.card-loading .card-loading-effect:not(.only-empty)::before,
.card-loading .card-loading-effect.only-empty:empty::before{ 
    display: block;content: "";position: absolute;top:0;left:0;width: 100%;height: 100%; 
    background:rgba(0,0,0,.15);
} 

.card-loading.card-loading-effect:not(.only-empty)::after,
.card-loading.card-loading-effect.only-empty:empty::after,
.card-loading .card-loading-effect:not(.only-empty)::after,
.card-loading .card-loading-effect.only-empty:empty::after{ 
    display: block;content: "";position: absolute;top:0;left:0;width: 100%;height: 100%; 
    transform: translateX(-100%); 
    background: -webkit-linear-gradient(180deg, transparent, rgba(255,255,255, 0.3), rgba(255,255,255, 0.5), rgba(255,255,255, 0.4), transparent); 
    background: linear-gradient(90deg, transparent, rgba(255,255,255, 0.3), rgba(255,255,255, 0.5), rgba(255,255,255, 0.4), transparent); 
    animation: cardloadinganim 1s infinite; 
} 


.card-loading.card-loading-dark.card-loading-effect:not(.only-empty)::after,
.card-loading.card-loading-dark.card-loading-effect.only-empty:empty::after,
.card-loading.card-loading-dark .card-loading-effect::after { 
    background: -webkit-linear-gradient(180deg, transparent, rgba(0,0,0, 0.05), rgba(0,0,0, 0.1), rgba(0,0,0, 0.05), transparent);
    background: linear-gradient(90deg, transparent, rgba(0,0,0, 0.05), rgba(0,0,0, 0.1), rgba(0,0,0, 0.05), transparent);

} 

.card-loading .card-loading-effect.card-loading-effect-background{display: block;content: "";position: absolute;top:0;left:0;width: 100%;height: 100%; }

@keyframes cardloadinganim {100% {transform: translateX(100%);}} 

.card .card-content.post-content:not(.post-content-title){padding-top:0;padding-bottom:0;}
.card .card-content.post-content:not(.post-content-title):after{display:table;content:"";clear:both;}

.card .card-content.post-content:not(.post-content-title) img.alignleft {float: left;margin:0.5em 1em 0.5em 0;}
.card .card-content.post-content:not(.post-content-title) img.alignright {float: right;margin: 0.5em 0 0.5em 1em;}
.card .card-content.post-content:not(.post-content-title) img.aligncenter {display: block;margin: 12px auto;padding: 0px;}

.card .card-content.post-content:not(.post-content-title) > ul {padding-left: 2rem;list-style-type: initial;}
.card .card-content.post-content:not(.post-content-title) > ul > li {list-style-type: initial;}

.card-content.post-content h2{font-size: 1.5em;font-weight: 700;margin-top: 0.83em;margin-bottom: 0.83em;}

.card-content.post-content:not(.post-content-title) h3{font-size: 1.17em;font-weight: 700;margin-top: 1em;margin-bottom: 1em;}
.card-content.post-content:not(.post-content-title) p{line-height:1.8;font-size:medium;margin-top: revert;margin-bottom: revert;margin-block-end: revert;margin-block-start: revert;}

.card .card-content:not(.post-content)>h1:only-child,
.card .card-content:not(.post-content)>h2:only-child,
.card .card-content:not(.post-content)>h3:only-child,
.card .card-content:not(.post-content)>h4:only-child,
.card .card-content:not(.post-content)>h5:only-child,
.card .card-content:not(.post-content)>h6:only-child,
.card .card-content:not(.post-content)>h7:only-child,
.card .card-content:not(.post-content)>h8:only-child{margin:0;}

.card .card-content:not(.post-content)>h1:first-child,
.card .card-content:not(.post-content)>h2:first-child,
.card .card-content:not(.post-content)>h3:first-child,
.card .card-content:not(.post-content)>h4:first-child,
.card .card-content:not(.post-content)>h5:first-child,
.card .card-content:not(.post-content)>h6:first-child,
.card .card-content:not(.post-content)>h7:first-child,
.card .card-content:not(.post-content)>h8:first-child{margin-top:0;}

.card .card-content.post-content.post-content-title>h1:only-child,
.card .card-content.post-content.post-content-title>h2:only-child,
.card .card-content.post-content.post-content-title>h3:only-child,
.card .card-content.post-content.post-content-title>h4:only-child,
.card .card-content.post-content.post-content-title>h5:only-child,
.card .card-content.post-content.post-content-title>h6:only-child,
.card .card-content.post-content.post-content-title>h7:only-child,
.card .card-content.post-content.post-content-title>h8:only-child{margin:0;}

.card .card-content.post-content.post-content-title>h1:first-child,
.card .card-content.post-content.post-content-title>h2:first-child,
.card .card-content.post-content.post-content-title>h3:first-child,
.card .card-content.post-content.post-content-title>h4:first-child,
.card .card-content.post-content.post-content-title>h5:first-child,
.card .card-content.post-content.post-content-title>h6:first-child,
.card .card-content.post-content.post-content-title>h7:first-child,
.card .card-content.post-content.post-content-title>h8:first-child{margin-top:0;}

.card img{max-width:100%;}