/* ########################################################################## */
/* TAGS */
/* ########################################################################## */

.tiles-block-wrap.full-width {
    overflow: hidden;
}

.tag_heading {
    width: 50%;
}

.tag_heading .tag_heading_description {
    font-family: 'Raleway', 'Arial', 'Helvetica', sans-serif;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.5;
    color: #141516;
    margin-top: 20px;
}

.tag_heading .tag_heading_description p {
    margin: 0;
}

.tag_tiles {
    background-color: #F4F4F4;
}

.tag_tiles .module_pre {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 90px;
    padding-bottom: 90px;
    text-align: center;
}

.tag_tiles .module_pre h2,
h2.orange,
.content_wrapper .com-content-article__body h2.orange {
    font-family: 'Poppins', 'Arial', 'Helvetica', sans-serif;
    font-size: 50px;
    font-weight: 400;
    color: #FF3900;
    margin-top: 0;
    margin-bottom: 48px;
}

.tag_tiles .module_pre p {
    font-family: 'Raleway', 'Arial', 'Helvetica', sans-serif;
    font-size: 20px;
    font-weight: 300;
    color: #141516;
    margin: 0;
}

.tag_tiles .tag_list_wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
}

.tag_tiles .tag_list_wrap .tag_item {
    overflow: hidden;
    display: flex;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    position: relative;
}

.tag_tiles .tag_list_wrap .tag_item:before {
    content: '';
    display: block;
    padding-top: 100%;
}

.tag_tiles .tag_list_wrap.tag-cols-1 .tag_item {
    width: 100%;
}

.tag_tiles .tag_list_wrap.tag-cols-2 .tag_item {
    width: 50%;
}

.tag_tiles .tag_list_wrap.tag-cols-3 .tag_item {
    width: 33.3333%;
}

.tag_tiles .tag_list_wrap.tag-cols-4 .tag_item {
    width: 25%;
}

.tag_tiles .tag_list_wrap .tag_item .tag_item_inner {
    padding: 35px 50px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;

    overflow: hidden;

    /*position: relative;*/
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
}

.tag_tiles .tag_list_wrap .tag_item .tag_item_inner:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    opacity: 0;
    background: rgb(0,0,0);
    background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(255,255,255,0) 100%);
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

.tag_tiles .tag_list_wrap .tag_item:hover .tag_item_inner:before {
    opacity: 1;
}

.tag_tiles .tag_list_wrap .tag_item .tag_item_inner h3,
.tag_tiles .tag_list_wrap .tag_item .tag_item_inner .tag_desc,
.tag_tiles .tag_list_wrap .tag_item .tag_item_inner .btn {
    z-index: 1;
}

.tag_tiles .tag_list_wrap .tag_item .tag_item_inner h3 {
    font-family: 'Poppins', 'Arial', 'Helvetica', sans-serif;
    font-size: 50px;
    line-height: 1.3;
    font-weight: 700;
    color: #fff;
    margin-top: 0;
    margin-bottom: 40px;
    padding-right: 3rem;

    flex: 1 0 auto;
    display: flex;
    align-items: flex-end;
}

.tag_tiles .tag_list_wrap .tag_item .tag_item_inner .tag_desc {
    font-family: 'Poppins', 'Arial', 'Helvetica', sans-serif;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
    color: #fff;
    height: 0;
    opacity: 0;
    overflow: hidden;

    transform: scaleY(0);
    transform-origin: bottom;
    transition: all 300ms ease-in-out;
}

.tag_tiles .tag_list_wrap .tag_item:hover .tag_item_inner .tag_desc {
    height: 40%;
    opacity: 1;

    transform: scaleY(1);
    transition: all 300ms ease-in-out;
}

.tag_tiles .tag_list_wrap.tag-cols-3 .tag_item:hover .tag_item_inner .tag_desc {
    height: 20%;
}

.tag_tiles .tag_list_wrap .tag_item .tag_item_inner .btn {
    border-color: #fff;
    color: #fff;
    margin: 0;
}

/* Styl clanku */

.tag_tiles .tag_list_wrap.tag-cols-1 {
    flex-direction: column;
    background-color: #fff;
}

.tag_tiles .tag_list_wrap .tag_item_article {
    width: 100%;
    display: flex;
}

.tag_tiles .tag_list_wrap .tag_item_article .tag_item_image,
.tag_tiles .tag_list_wrap .tag_item_article .tag_item_content {
    width: 50%;
    display: flex;
    flex-direction: column;
    position: relative;
}

/*.tag_tiles .tag_list_wrap .tag_item_article:nth-child(even) .tag_item_content {
    order: 1;
}

.tag_tiles .tag_list_wrap .tag_item_article:nth-child(even) .tag_item_image {
    order: 2;
}*/

.tag_tiles .tag_list_wrap .tag_item_article .tag_item_image:before {
    content: '';
    display: block;
    padding-top: 66.666666%;
}

.tag_tiles .tag_list_wrap .tag_item_article .tag_item_image a {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.tag_tiles .tag_list_wrap .tag_item_article .tag_item_content {
    padding: 2.5rem 10rem 2.5rem 5rem;
    align-items: flex-start;
    justify-content: center;
}

.tag_tiles .tag_list_wrap .tag_item_article:nth-child(even) .tag_item_content {
    padding: 2.5rem 5rem 2.5rem 10rem;
}

.tag_tiles .tag_list_wrap .tag_item_article .tag_item_content h3,
.tag_tiles .tag_list_wrap .tag_item_article .tag_item_content h3 a {
    font-family: 'Poppins', 'Arial', 'Helvetica', sans-serif;
    font-size: 50px;
    line-height: 1.3;
    font-weight: 700;
    color: #141516;
}

.tag_tiles .tag_list_wrap .tag_item_article .tag_item_content h3 {
    margin-top: 0;
    margin-bottom: 50px;
}

.tag_tiles .tag_list_wrap .tag_item_article .tag_item_content .tag_desc {
    font-family: 'Poppins', 'Arial', 'Helvetica', sans-serif;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
    color: #141516;
    padding-bottom: 50px;
}

.tag_tiles .tag_list_wrap .tag_item_article .tag_item_content .tag_desc p {
    margin: 0;
}

/* Animace nad seznamem clanku - pri nacteni */

.tag_list_wrap .tag_item_article:first-child .tag_item_image {
    opacity: 0;
    transform:translate3d(-100px,0,0);
    transition-property: opacity,transform;
}

.tag_list_wrap .tag_item_article:first-child .tag_item_content {
    opacity: 0;
    transform:translate3d(100px,0,0);
    transition-property: opacity,transform;
}

.tag_list_wrap .tag_item_article:first-child .tag_item_image.aos-animate,
.tag_list_wrap .tag_item_article:first-child .tag_item_content.aos-animate {
    opacity: 1;
    transform: translateZ(0);
}