.m0 {
    margin: 0!important;
}

blockquote {
    margin-top: 0!important
}

code {
    background: #00757c;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    border-radius: 3px;
    margin: 0 2px;
    padding: 1px 4px;
    white-space: nowrap;
    font-family: "Open Sans";
    font-size: 13px;
    color: #fff;
    font-weight: 400;
    letter-spacing: .5px;
}

video {
    display: block;
    max-width: 100%
}

.redactor {
    table-layout: fixed;
    display: table;
    width: 100%;
    line-height: 20px;
    font-size: 15px;
}

.redactor p {
    margin: 0 0 25px;
    font-size: 15px;
}

.redactor * p:last-child {
    margin-bottom: 0;
}

.redactor * p:first-child {
    margin-top: 0;
}

.redactor ul {
    margin: 0 0 15px;
    padding: 0;
    list-style-type: none
}

.redactor ul li {
    display: block;
    position: relative;
    padding-left: 20px;
    margin: 5px 0
}

.redactor ul li:before {
    content: '';
    position: absolute;
    top: 8px;
    background-color: #00757c;
    width: 7px;
    height: 7px;
    left: 0
}

.redactor ul li ul {
    margin: 10px 0
}

.redactor .title-img {
    background: #f0f0f0;
    text-align: center
}

.redactor .title-img span {
    display: inline-block;
    vertical-align: middle;
    padding: 10px 15px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase
}

.redactor .body-img {
    margin-bottom: 15px
}

.redactor .body-img.left {
    float: left;
    max-width: 50%;
    clear: left;
    margin-right: 15px
}

.redactor .body-img.right {
    float: right;
    clear: right;
    max-width: 50%
}

.redactor .body-img.center {
    max-width: 50%;
    margin: 0 auto;
    text-align: center
}

.redactor blockquote,.redactor .item-bg {
    background-color: #F0F0F0;
    margin: 0 0 15px;
    padding: 15px 20px
}

.redactor .item-bg {
    padding: 27px 30px
}

.redactor .item-bg h3 {
    margin-top: 0
}

.redactor .line-img {
    font-size: 0;
    text-align: center
}

.redactor .line-img img {
    display: inline-block;
    vertical-align: middle
}

.redactor .item-video {
    border: 3px solid #00757c;
    margin-bottom: 20px;
    max-width: 50%
}

.redactor .item-video.left {
    float: left;
    margin-right: 20px
}

.redactor .item-video.center {
    max-width: 100%;
    margin: 0 auto 20px
}

.redactor .item-video.right {
    float: right;
    margin-left: 20px
}

.redactor .photo-list {
    margin: -5px;
    -webkit-column-count: 4;
    -moz-column-count: 4;
    column-count: 4
}

.redactor .photo-list a {
    display: inline-block;
    width: 100%;
    margin: 5px;
    border: 0
}

table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px
}

div.editor_dialog table {
    width: 100%;
    max-width: 100%;
    margin-bottom: auto;
}
div.editor_dialog .content {
    margin: auto;
}

.table-bordered {
    border: 1px solid #ddd
}

.table-responsive {
    min-height: .01%;
    overflow-x: auto
}

.table-responsive:last-child>table {
    margin-bottom: 0
}

.table-responsive>table {
    background-color: #fff
}

table>tbody>tr>td,table>tbody>tr>th,table>tfoot>tr>td,table>tfoot>tr>th,table>thead>tr>td,table>thead>tr>th {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
}

.table-bordered table>tbody>tr>td,.table-bordered table>tbody>tr>th,.table-bordered table>tfoot>tr>td,.table-bordered table>tfoot>tr>th,.table-bordered table>thead>tr>td,.table-bordered table>thead>tr>th{
    border-top: 1px solid #ddd
}

th {
    text-align: left
}

td,th {
    padding: 0
}

table>caption+thead>tr:first-child>td,table>caption+thead>tr:first-child>th,table>colgroup+thead>tr:first-child>td,table>colgroup+thead>tr:first-child>th,table>thead:first-child>tr:first-child>td,table>thead:first-child>tr:first-child>th {
    border-top: 0
}

.table-bordered>thead>tr>td,.table-bordered>thead>tr>th {
    border-bottom-width: 2px
}

.table-bordered>tbody>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>thead>tr>th {
    border: 1px solid #ddd
}

table>thead>tr>th {
    vertical-align: bottom;
    border-bottom: 2px solid #ddd
}

@media screen and (max-width: 1023px) {
    .redactor ul {
        padding:0 0 0 10px
    }

    .redactor .photo-list {
        -webkit-column-count:3;
        -moz-column-count: 3;
        column-count: 3
    }
}

@media screen and (max-width: 767px) {
    .redactor {
        font-size: 13px;
        line-height: 18px;
    }
    .redactor p {
        margin: 0 0 20px;
        font-size: 13px;
    }
    .redactor ul {
        margin-left:10px;
        padding: 0 0 0 5px
    }

    .table-responsive {
        width:100%;
        margin-bottom: 15px;
        overflow-y: hidden;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        border: 1px solid #ddd
    }

    .table-responsive>table.table-bordered {
        border: 0
    }

    .table-responsive>table {
        margin-bottom: 0
    }

    .table-responsive>table>tbody>tr>td,.table-responsive>table>tbody>tr>th,.table-responsive>table>tfoot>tr>td,.table-responsive>table>tfoot>tr>th,.table-responsive>table>thead>tr>td,.table-responsive>table>thead>tr>th {
        white-space: nowrap
    }

    .table-responsive>table.table-bordered>tbody>tr>td:first-child,.table-responsive>table.table-bordered>tbody>tr>th:first-child,.table-responsive>table.table-bordered>tfoot>tr>td:first-child,.table-responsive>table.table-bordered>tfoot>tr>th:first-child,.table-responsive>table.table-bordered>thead>tr>td:first-child,.table-responsive>table.table-bordered>thead>tr>th:first-child {
        border-left: 0
    }

    .redactor .photo-list {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2
    }

    .redactor .item-video {
        max-width: 100%;
        margin: 0 0 20px;
        float: none
    }

    .redactor .body-img {
        max-width: 100%!important;
        margin: 0 auto!important;
        float: none!important;
        clear: none!important
    }

    .content.redactor {
        margin-bottom: 30p
    }
}

@media screen and (max-width: 479px) {
    .redactor ul {
        margin-left:5px;
        padding: 0
    }
    
    .redactor .photo-list {
        -webkit-column-count:1;
        -moz-column-count: 1;
        column-count: 1
    }
}

.responsive-block {
    background-color: #eee;
    border: 5px solid #00757c;
    width: 100%;
    display: block;
    padding-bottom: 62.25%;
    position: relative;
}

.responsive-block:after {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    background: url('../images/loading.gif');
    opacity: .05;
    position: absolute;
    left: 0;
    top: 0;
}

.responsive-block iframe,.responsive-block object,.responsive-block embed {
    position: absolute;
    width: 100%!important;
    height: 100%!important;
    z-index: 1;
}
