/*
Theme Name:I'mama theme
Theme URI:
Author:chinh12hy@gmail.com
Author URI:
Description: Custom theme by Chinh Pham Duc
Version:
License:
License URI: http://www.gnu.org/licenses/gpl-3.0.en.html
Text Domain:
Domain Path:/languages/
Tags:white,right-sidebar,translation-ready,custom-background,responsive-layout,custom-menu,editor-style
*/
@font-face {
    font-family: IcielPony;
    src: url(./fonts/Iciel-Pony.ttf);
    /*src: url(./fonts/iCielPony.woff);*/
}
/*@font-face {*/
/*    font-family: Nunito;*/
/*    src: url(./fonts/Nunito-VariableFont_wght.ttf);*/
/*}*/

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    background-repeat: no-repeat;
}
:root {
    --font-size-base: 16px;
    --font-size-large: 24px;
    --text-color-base: #031E39;
    --primary-color: #79453E;
    --hover-btn-color: #E05C23;
    --focus-btn-color: #D44305;
    --screen-ipad: 768px;
    --screen-mobile: 576px;
    --menu-height: 109px;
    --primary-hover-color: rgba(240, 83, 48, 0.7)
}
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
    padding: 0;
    border: 0;
}

body {
    min-height: 100%;
    font-size: var(--font-size-base);
    line-height: 1.5;
    max-width: 1920px;
    margin: 0 auto;
    color: var(--text-color-base);
    /*font-feature-settings: 'pnum' on, 'lnum' on;*/
    background: #FFF8E7;
    font-family: "Nunito", ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
}

textarea, pre {
    font-family: "Nunito", ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
}

img {
    width: 100%;
    height: auto;
    object-fit: cover;
    vertical-align: middle;
}

ol,
ul {
    list-style: none;
}

h1,
h2 {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 2rem;
}


a {
    text-decoration: none;
    color: var(--text-color-base);
    /* visited link */
    /* mouse over link */
    /* selected link */
}

pre {
    white-space: inherit;
}

.iciel-font {
    font-family: IcielPony, ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
}

.margin-top-content {
    margin-top: var(--menu-height);
}

.padding-top-content {
    padding-top: var(--menu-height);
}

.flex-row {
    display: flex;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.space-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.item-center {
    align-items: center;
}

.align-right {
    text-align: right;
}

.align-justify {
    text-align: justify;
}

.flex-1 {
    flex: 1;
    min-height: 1px;
}


.main-container {
    /*max-width: 1240px;*/
    /*margin: 0 auto;*/
}

.w-50 {
    width: 50%;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

.h-100-vh {
    height: 100vh;
}

.overflow-y {
    overflow-y: auto;
}

.bg-white {
    background: white;
}

.p-absolute {
    position: absolute;
}

.p-relative {
    position: relative;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.two-row-content {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.three-row-content {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.pagination {
    display: flex;
    justify-content: center;
}

.pagination .page-numbers {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #F05330;
    color: #F05330;
    font-weight: 900;
    font-size: 20px;
    line-height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    transition: 0.2s;
    cursor: pointer;
}
.pagination .page-numbers:hover {
    background: #F05330;
    color: white;
}
.pagination .current {
    background: #F05330;
    color: white;
}

.ovfh {
    overflow: hidden;
}


@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    .margin-top-content {
        margin-top: 0;
    }
    .overflow-y-mobile {
        overflow-y: auto;
    }
    .h-100-vh-mobile {
        height: 100vh;
    }
}




