/* Large devices (desktops, 992px and up) */

@media (min-width: 992px) {
    .dropdown:hover>.dropdown-menu {
        display: block;
    }
    .dropdown>.dropdown-toggle:active {
        /*Without this, clicking will make it sticky*/
        pointer-events: none;
    }
}

@media (max-width: 768px) {
    .category-name {
        padding-left: 14px !important;
    }
    .sidebar {
        display: none;
    }
}

body {
    background-color: #FFFAF6 !important;
    background: url('../img/bg.png');
}

h1, h2, h3, h4, h5 {
    font-family: 'Open Sans', Arial;
}

.header-c {
    background-color: #1A809F;
}

header .navbar {
    min-height: 80px;
}

.logotype {
    font-size: 30px !important;
    font-weight: bold !important;
}

.btn-search {
    color: #fff !important;
    background-color: #C23054 !important;
    border-color: #C23054 !important;
}

.sidebar {
    background-color: #E8F1FA;
}

.sidebar h4 {
    font: 700 20px/20px 'Open Sans', Arial;
    text-transform: uppercase;
}

.sidebar li {
    border-bottom: 1px solid #1A809F;
}

.sidebar a:hover {
    color: #C23054 !important;
}

.card-title a {
    color: #C23054 !important;
    /*font: 700 20px/20px 'Open Sans', Arial;*/
    text-transform: uppercase;
}

.footer {
    padding: 2.5rem 0;
    color: #fff;
    text-align: center;
    background-color: #1A809F;
    border-top: .05rem solid #e5e5e5;
}

.category-name {
    padding-left: 300px;
    font: 700 20px/20px 'Open Sans', Arial;
    text-transform: uppercase;
}

.active-page a {
    background-color: #1A809F!important;
    z-index: 1;
    color: #fff;
    border-color: #1A809F;
}

.active-page a:hover {
    color: #C23054;
}

.tags-sidebar {
    background: #fff;
}

.tags a {
    background: #C23054;
    display: inline-block;
    padding: .25em .4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    margin-right: 3px;
    margin-bottom: 3px;
}

.tags a {
    color: #fff;
}

.tags a:hover {
    color: #fff;
    text-decoration: none;
}

.recent-posts li {
    min-height: 50px;
}

.recent-posts img {
    margin-right: 5px;
}

.list_contents {
    background: #fff;
    padding: 10px 0 10px 40px;
    border-radius: 10px;
}

.list_contents li {
    list-style-type: decimal;
}

.related-posts img {
    margin-right: 10px;
}

.blog-post {
    max-width: 100%;
}

.blog-post img {
    max-width: 100%;
    display: block;
    margin: 2em auto;
}

.blog-post table {
    border-collapse: collapse
}
.blog-post table td {
    padding:0.4em;
    border: 1px solid #000
}

h1 {
    font-size: 1.6em !important;
    margin:0.8em 0;
}

h2 {
    font-size: 1.5em !important;
    margin:1em 0;
}

h3 {
    font-size: 1.4em !important;
    margin:0.4em 0;
}

h4 {
    font-size: 1.3em !important;
    margin:0.2em 0;
}

h5 {
    font-size: 1.2em !important;
    margin:0.2em 0;
}

h5 {
    font-size: 1.1em !important;
}

h2.card-title {
    font-size: 1em !important;
}

.card img {
    max-width: 100%;
    height: auto;
    max-height: 150px;
}

.block_category_contents ol {
    counter-reset: index;
    list-style-type: none;
    padding: 0;
}
.block_category_contents ol li {
    margin: 0 0 0.4em 0;
    counter-increment: index;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}
.block_category_contents ol li:before {
    content: counters(index, ".", decimal-leading-zero);
    font-size: 1.5rem;
    text-align: right;
    font-weight: bold;
    min-width: 50px;
    padding-right: 12px;
    font-variant-numeric: tabular-nums;
    align-self: flex-start;
    background-image: linear-gradient(to bottom, aquamarine, orangered);
    background-attachment: fixed;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.block_category_contents ol li a {
    color: #C23054 !important;
}

.block_category_contents, .block_category_contents2 {
    background-color: #ffffff;
}

.block_category_contents2 div img {
    height: 50px;
    width: 50px;
    border-radius: 50px;
    margin: 0 1em 0 0;
    float:left;
}

.block_category_contents2 a {
    color: #C23054;
}

.widget-title {
    color: #C23054;
}

.list-group a {
    color: #1A809F;
}

.block_category_contents, .block_category_contents2 {
    background: #fff;
    border: 1px solid rgb(0 0 0 / 13%);;
}

.card img {
    max-width: 100%;
    height: auto;
    max-height: 150px;
}

.card-img-container {
    width:100%;
    height:150px;
    text-align:center;
    background: #E8F1FA;
    border-bottom: 1px solid #C0C2C5;
}

.card-img-container img {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.content-bg {
    background-color: #fff;
    margin: 0 15px;
    padding: 20px 0;
    border: 1px solid rgb(0 0 0 / 13%);;
}