/*! CONTENT CSS - common for page and tinymce */
*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    font-size: 8px;
}
body {
    font-size: 1.5rem;
}

iframe[data-src] {
    background: #eee url('/images/icons/video.svg') no-repeat center;
    background-size: 5rem;
    position: relative;
}

.ibs {
    display: block;
    font-size: 0.000001px;
    margin: -1rem;
    position: relative;
}

.ibs--space {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.ibs--center .ib {
    vertical-align: middle;
}

.ib {
    direction: initial;
    font-size: 1.5rem;
    font-size: 1.5rem;
    margin: 0;
    max-width: 100%;
    padding: 1rem;
    position: relative;
    vertical-align: top;
    display: block;
}

@media only screen and (min-width: 600px) {
    .ib--mleft {
        margin-left: 8.33%;
    }

    .ib {
        display: inline-block;
    }
    .ib--12 {
        width: 100%;
    }
    .ib--11 {
        width: 91.66%;
    }
    .ib--10 {
        width: 83.33%;
    }
    .ib--9 {
        width: 75%;
    }
    .ib--8 {
        width: 66.66%;
    }
    .ib--7 {
        width: 58.33%;
    }
    .ib--6 {
        width: 50%;
    }
    .ib--5 {
        width: 41.66%;
    }
    .ib--4 {
        width: 33.33%;
    }
    .ib--3 {
        width: 25%;
    }
    .ib--2 {
        width: 16.66%;
    }
    .ib--1 {
        width: 8.33%;
    }
    .ib--02 {
        width: 20%;
    }
    .ib--0125 {
        width: 12.5%;
    }
}

@media only screen and (min-width: 800px) {
    .ib-m--12 {
        width: 100%;
    }
    .ib-m--11 {
        width: 91.66%;
    }
    .ib-m--10 {
        width: 83.33%;
    }
    .ib-m--9 {
        width: 75%;
    }
    .ib-m--8 {
        width: 66.66%;
    }
    .ib-m--7 {
        width: 58.33%;
    }
    .ib-m--6 {
        width: 50%;
    }
    .ib-m--5 {
        width: 41.66%;
    }
    .ib-m--4 {
        width: 33.33%;
    }
    .ib-m--3 {
        width: 25%;
    }
    .ib-m--2 {
        width: 16.66%;
    }
    .ib-m--1 {
        width: 8.33%;
    }
    .ib-m--02 {
        width: 20%;
    }
    .ib-m--0125 {
        width: 12.5%;
    }
    .ib-m--push {
        margin-top: -5.9rem;
    }
}

@media only screen and (min-width: 1100px) {
    .ib-l--12 {
        width: 100%;
    }
    .ib-l--11 {
        width: 91.66%;
    }
    .ib-l--10 {
        width: 83.33%;
    }
    .ib-l--9 {
        width: 75%;
    }
    .ib-l--8 {
        width: 66.66%;
    }
    .ib-l--7 {
        width: 58.33%;
    }
    .ib-l--6 {
        width: 50%;
    }
    .ib-l--5 {
        width: 41.66%;
    }
    .ib-l--4 {
        width: 33.33%;
    }
    .ib-l--3 {
        width: 25%;
    }
    .ib-l--2 {
        width: 16.66%;
    }
    .ib-l--1 {
        width: 8.33%;
    }
    .ib-l--02 {
        width: 20%;
    }
    .ib-l--0125 {
        width: 12.5%;
    }
}

@media only screen and (max-width: 480px) {
    .ibs {
        direction: initial !important;
    }
    .ib {
        width: 100%;
        display: block;
    }
}

.ibs.flex {
    display: flex;
    flex-wrap: wrap;
}
.ibs.flex > .ib > div {
    min-height: 100%;
}

.ibs.justify {
    text-align: justify;
}
.ibs.justify:after {
    content: '';
    display: inline-block;
    height: 0;
    width: 100%;
}

.mceTmpl {
    border: 0 !important;
    padding: 0 !important;
}
.tinymce .ibs {
    font-size: 14px;
    font-size: var(--font-size);
    font-size: 1rem;
    margin: 1rem 0 !important;
    /*min-height: 25px;*/
    outline: 1px dashed #ccc;
    padding: 3px;
}
.tinymce .ibs:after {
    display: none;
}
.tinymce .ib {
    min-height: 25px;
    outline: 1px dashed #ccc;
    outline-offset: -3px;
}

.table-wrapper {
    overflow-x: auto;
    width: 100%;
}
@media only screen and (max-width: 600px) {
    table.flip {
        clear: both;
        display: block;
        white-space: nowrap;
        width: 100%;
    }
    table.flip thead {
        display: block;
        float: left;
    }
    table.flip thead tr {
        display: block;
    }
    table.flip tbody {
        display: block;
        overflow-x: auto;
        position: relative;
        width: auto;
    }
    table.flip tbody tr {
        display: inline-block;
        vertical-align: top;
    }
    table.flip th,
    table.flip td {
        display: block;
    }
}

.table {
    display: table;
}
.thead {
    display: table-header-group;
}
.tbody {
    display: table-row-group;
}
.tfoot {
    display: table-footer-group;
}
.tr {
    display: table-row;
}
.td {
    display: table-cell;
}

/******************************************************************************/

.gallery {
    display: block;
    font-size: 0.000001rem;
    padding: 2rem 0;
}
.gallery-item {
    display: inline-block;
    font-size: 0.000001rem;
    text-align: center;
    vertical-align: middle;
}
.gallery-a {
    display: block;
    max-width: 100%;
    overflow: hidden;
    padding: 0;
}
.gallery-a:hover {
    text-decoration: none;
}
.gallery-img {
    -webkit-transition: all 0.25s ease;
    -moz-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    transition: all 0.25s ease;
    will-change: transform;
}
.gallery-a:hover .gallery-img {
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
    transform: scale(1.05);
}
.gallery-name {
    display: block;
    padding: 0.3rem 0;
    text-align: center;
}

@media only screen and (max-width: 1000px) {
    .gallery-item {
        width: 25%;
    }
}

@media only screen and (max-width: 600px) {
    .gallery-item {
        width: 33.33%;
    }
}

@media only screen and (max-width: 360px) {
    .gallery-item {
        width: 50%;
    }
}

/******************************************************************************/

.con {
    display: block;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    line-height: 1.6;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.con img {
    max-width: 100%;
}

.con ol > li {
    list-style-type: decimal;
    padding: 0.3em 0;
}

.con ul,
.ul {
    margin: 1em 0;
    padding: 0;
}
.con ul > li,
.ul > li {
    list-style-type: none;
    margin: 0;
    padding: 0 0 0 2.5rem;
    position: relative;
}
.con ul > li::before,
.ul > li::before {
    background: #888;
    border: 0;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    content: '';
    height: 1.1rem;
    left: 0;
    position: absolute;
    top: 0.5em;
    width: 1.1rem;
}

.con .ul--ticks > li {
    padding: 0;
}
.con .ul--ticks > li:before {
    background: none;
    border: 0.4rem solid #888;
    border-left: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    border-top: 0;
    height: 1.6rem;
    left: -2rem;
    margin-top: -0.4rem;
    top: 0.5em;
    -webkit-transform: rotate(33deg);
    -moz-transform: rotate(33deg);
    -ms-transform: rotate(33deg);
    -o-transform: rotate(33deg);
    transform: rotate(33deg);
    width: 0.9rem;
}

.h0,
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5 {
    font-family: inherit;
    font-weight: bold;
    line-height: 1.3;
    margin: 1em 0 0.5em;
    padding: 0;
    text-transform: none;
}
h1,
.h1,
.-fs1 {
    font-size: 2.5rem;
    text-transform: uppercase;
    color: #811c22;
}
h2,
.h2,
.-fs2 {
    font-size: 2.1rem;
    text-transform: uppercase;
    color: #811c22;
}
h3,
.h3,
.-fs3 {
    font-size: 1.6rem;
}
h4,
.h4,
.-fs4 {
    font-size: 1.5rem;
    text-transform: uppercase;
}
h5,
.h5,
.-fs5 {
    font-size: 1.3rem;
}

.-c0 {
    color: #000;
}
.-c1 {
    color: #757575;
}
.-c2 {
    color: #811c22;
}
.-c3 {
    color: #9e222a;
}

.-fwm {
    font-weight: 500;
}

.-vab {
    vertical-align: bottom;
}
.-vam {
    vertical-align: middle;
}
.-vat {
    vertical-align: top;
}

.-tac {
    text-align: center;
}
.-taj {
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    position: relative;
    text-align: justify;
}
.-taj:after {
    content: '';
    display: inline-block;
    width: 100%;
}
.-tal {
    text-align: left;
}
.-tar {
    text-align: right;
}
