/*
Theme Name: CPMA Theme
Theme URI: https://cpma.ir
Author: Amir Jahangiri - [09120851372]
Author URI: https://sabanweb.com
Description: Mobile, Tablet and Accessories Importers Association
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cpma
*/
/* 1. Use a more-intuitive box-sizing model */

/* +-------------------------------------------------------+ */
/* |    _              _                                   | */
/* |   / \   _ __ ___ (_)_ __                              | */
/* |  / _ \ | '_ ` _ \| | '__|                             | */
/* | / ___ \| | | | | | | |                                | */
/* |/_/  _\_\_| |_| |_|_|_|              _      _   _      | */
/* |    | | __ _| |__   __ _ _ __   __ _(_)_ __(_) (_)_ __ | */
/* | _  | |/ _` | '_ \ / _` | '_ \ / _` | | '__| | | | '__|| */
/* || |_| | (_| | | | | (_| | | | | (_| | | |  | |_| | |   | */
/* | \___/ \__,_|_| |_|\__,_|_| |_|\__, |_|_|  |_(_)_|_|   | */
/* |                               |___/                   | */
/* +-------------------------------------------------------+ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* 2. Remove default margin */
* {
    margin: 0;
}

body {
    /* 3. Add accessible line-height */
    line-height: 1.5;
    /* 4. Improve text rendering */
    -webkit-font-smoothing: antialiased;
}

/* 5. Improve media defaults */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

/* 6. Inherit fonts for form controls */
input,
button,
textarea,
select {
    font: inherit;
}

/* 7. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

/* 8. Improve line wrapping */
p {
    text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-wrap: balance;
}

/*
    9. Create a root stacking context
  */
#root,
#__next {
    isolation: isolate;
}

a {
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

em {
    font-style: normal;
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 900;
    src: url('assets/fonts/eot/IRANSansWeb(FaNum)_Black.eot');
    src: url('assets/fonts/eot/IRANSansWeb(FaNum)_Black.eot?#iefix') format('embedded-opentype'),
        /* IE6-8 */
        url('assets/fonts/woff2/IRANSansWeb(FaNum)_Black.woff2') format('woff2'),
        /* FF39+,Chrome36+, Opera24+*/
        url('assets/fonts/woff/IRANSansWeb(FaNum)_Black.woff') format('woff'),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
        url('assets/fonts/ttf/IRANSansWeb(FaNum)_Black.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: bold;
    src: url('assets/fonts/eot/IRANSansWeb(FaNum)_Bold.eot');
    src: url('assets/fonts/eot/IRANSansWeb(FaNum)_Bold.eot?#iefix') format('embedded-opentype'),
        /* IE6-8 */
        url('assets/fonts/woff2/IRANSansWeb(FaNum)_Bold.woff2') format('woff2'),
        /* FF39+,Chrome36+, Opera24+*/
        url('assets/fonts/woff/IRANSansWeb(FaNum)_Bold.woff') format('woff'),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
        url('assets/fonts/ttf/IRANSansWeb(FaNum)_Bold.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 500;
    src: url('assets/fonts/eot/IRANSansWeb(FaNum)_Medium.eot');
    src: url('assets/fonts/eot/IRANSansWeb(FaNum)_Medium.eot?#iefix') format('embedded-opentype'),
        /* IE6-8 */
        url('assets/fonts/woff2/IRANSansWeb(FaNum)_Medium.woff2') format('woff2'),
        /* FF39+,Chrome36+, Opera24+*/
        url('assets/fonts/woff/IRANSansWeb(FaNum)_Medium.woff') format('woff'),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
        url('assets/fonts/ttf/IRANSansWeb(FaNum)_Medium.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 300;
    src: url('assets/fonts/eot/IRANSansWeb(FaNum)_Light.eot');
    src: url('assets/fonts/eot/IRANSansWeb(FaNum)_Light.eot?#iefix') format('embedded-opentype'),
        /* IE6-8 */
        url('assets/fonts/woff2/IRANSansWeb(FaNum)_Light.woff2') format('woff2'),
        /* FF39+,Chrome36+, Opera24+*/
        url('assets/fonts/woff/IRANSansWeb(FaNum)_Light.woff') format('woff'),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
        url('assets/fonts/ttf/IRANSansWeb(FaNum)_Light.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 200;
    src: url('assets/fonts/eot/IRANSansWeb(FaNum)_UltraLight.eot');
    src: url('assets/fonts/eot/IRANSansWeb(FaNum)_UltraLight.eot?#iefix') format('embedded-opentype'),
        /* IE6-8 */
        url('assets/fonts/woff2/IRANSansWeb(FaNum)_UltraLight.woff2') format('woff2'),
        /* FF39+,Chrome36+, Opera24+*/
        url('assets/fonts/woff/IRANSansWeb(FaNum)_UltraLight.woff') format('woff'),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
        url('assets/fonts/ttf/IRANSansWeb(FaNum)_UltraLight.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: normal;
    src: url('assets/fonts/eot/IRANSansWeb(FaNum).eot');
    src: url('assets/fonts/eot/IRANSansWeb(FaNum).eot?#iefix') format('embedded-opentype'),
        /* IE6-8 */
        url('assets/fonts/woff2/IRANSansWeb(FaNum).woff2') format('woff2'),
        /* FF39+,Chrome36+, Opera24+*/
        url('assets/fonts/woff/IRANSansWeb(FaNum).woff') format('woff'),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
        url('assets/fonts/ttf/IRANSansWeb(FaNum).ttf') format('truetype');
}

body {
    font-family: IRANSans;
    line-height: 1rem;
    font-size: 1rem;
    direction: rtl;
    overflow-x: hidden;
}


:root {
    --light: #F5F8FD;
    --main: #2E3192;
    --sky: #16BECF;
    --sb-track-color: #f5f8fd;
    --sb-thumb-color: #2e3192;
    --sb-size: 7px;
}

body [class*="col-lg-"],
body [class*="col-md-"],
body [class*="col-sm-"],
body [class*="col-xs-"] {
    /* padding: 0; */
    /* margin: 0; */
    box-sizing: border-box;
}

li {
    list-style: none;
}

ul {
    padding: 0;
    margin: 0;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

body::-webkit-scrollbar {
    width: var(--sb-size)
}

body::-webkit-scrollbar-track {
    background: var(--sb-track-color);
    border-radius: 3px;
}

body::-webkit-scrollbar-thumb {
    background: var(--sb-thumb-color);
    border-radius: 3px;

}

@supports not selector(::-webkit-scrollbar) {
    body {
        scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
    }
}

.news_marquee {
    height: 45px;
}