/*
Theme Name: پوسته نیدکو 
Theme URI: http://nnidco.com
Author: Artan Roshani
Author URI: https://ponisha.com/artanroshani
Description: پوسته وردپرسی نیدکو
Requires PHP: 7.2
Version: 1.0.0
Text Domain: nnidco
*/

html, body, div, span, appwlet, object, iframe, h,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {display: block;}
ol, ul {list-style: none;}
blockquote, q {quotes: none;}
blockquote:before, blockquote:after,
q:before, q:after {content: '';content: none;}
table {border-collapse: collapse;border-spacing: 0;}
a:active, a:focus {outline: none;}
html {overflow-y: scroll;overflow-x:hidden;}
::selection {background: #2196f3;color: #fff;  }
::-moz-selection {background: #2196f3; color: #fff; }
body {min-height:100vh;background:#fff; font-family:  IRANSansX,tahoma;font-size:13px;direction:rtl;overflow: hidden !important;line-height: 1;text-align:right;position:relative;}
html {height: auto;scroll-behavior: smooth;}
body a {text-decoration:none;color:#245AA4;transition:0.3s;font-family:IRANSansX;}

/* فونت ها */
@font-face {
	font-family: IRANSansX;
	font-style: normal;
	font-weight: 100;
	src: url('resources/fonts/woff/IRANSansX-Thin.woff') format('woff'),   
	url('resources/fonts/woff2/IRANSansX-Thin.woff2') format('woff2');		
}

@font-face {
	font-family: IRANSansX;
	font-style: normal;
	font-weight: 200;
	src: url('resources/fonts/woff/IRANSansX-UltraLight.woff') format('woff'),   
	url('resources/fonts/woff2/IRANSansX-UltraLight.woff2') format('woff2');	
}

@font-face {
	font-family: IRANSansX;
	font-style: normal;
	font-weight: 300;
	src: url('resources/fonts/woff/IRANSansX-Light.woff') format('woff'),   
	url('resources/fonts/woff2/IRANSansX-Light.woff2') format('woff2');		 
}

@font-face {
	font-family: IRANSansX;
	font-style: normal;
	font-weight: 500;
	src: url('resources/fonts/woff/IRANSansX-Medium.woff') format('woff'),   
	url('resources/fonts/woff2/IRANSansX-Medium.woff2') format('woff2');		 
}

@font-face {
	font-family: IRANSansX;
	font-style: normal;
	font-weight: 600;
	src: url('resources/fonts/woff/IRANSansX-DemiBold.woff') format('woff'),   
	url('resources/fonts/woff2/IRANSansX-DemiBold.woff2') format('woff2');	 
}

@font-face {
	font-family: IRANSansX;
	font-style: normal;
	font-weight: 800;
	src: url('resources/fonts/woff/IRANSansX-ExtraBold.woff') format('woff'),   
	url('resources/fonts/woff2/IRANSansX-ExtraBold.woff2') format('woff2');		 
}

@font-face {
	font-family: IRANSansX;
	font-style: normal;
	font-weight: 900;
	src: url('resources/fonts/woff/IRANSansX-Black.woff') format('woff'),   
	url('resources/fonts/woff2/IRANSansX-Black.woff2') format('woff2');		 
}

@font-face {
	font-family: IRANSansX;
	font-style: normal;
	font-weight: bold;
	src: url('resources/fonts/woff/IRANSansX-Bold.woff') format('woff'),   
	url('resources/fonts/woff2/IRANSansX-Bold.woff2') format('woff2');	 
}

@font-face {
	font-family: IRANSansX;
	font-style: normal;
	font-weight: normal;
	src: url('resources/fonts/woff/IRANSansX-Regular.woff') format('woff'),   
	url('resources/fonts/woff2/IRANSansX-Regular.woff2') format('woff2');	
}

/* Main Style - استایل کلی */
#main {width:90%;max-width:1200px;margin:0 auto;display:block;clear:both;}
#onlyonphone , #onlyontablet {display:none;}

.sidenav {height: 100%;width: 100%;position: fixed;z-index: 91;top: 0;left: 0;background-color: rgba(0,0,0,0.9);overflow-x: hidden;transition: 0.5s;display:none;}

/* Header - سربرگ */
header.main-header {display: flex; float: right; width: 100%; padding: 15px 0; background: white; color: #313131; line-height: 2; border-bottom: 1px solid #eee;position:relative;border-bottom:1px solid #ddd;overflow:hidden;}

header.main-header #main {display: flex;align-items: center;flex-direction: row;justify-content: space-between;}

header.main-header .right-side {float:right;}
header.main-header .left-side {float:left;padding-left:50px;}

header.main-header .main-nav {float:right;margin-left:20px;color:#313131;}
header.main-header .main-nav span.lnr {font-size: 25px; position: relative; bottom: -10px;}

header.main-header .logo {float:right;width:155px;height:50px;}
header.main-header .logo img {width: 100%; height: auto;}

header.main-header .left-side a {font-size:22px;padding-left:15px;color:#313131;display:inline-block;}
header.main-header .left-side img {position: absolute; left: auto; top: 0;}

header.main-header {position: fixed; z-index: 92; top: 0; right: 0; left: 0; background:transparent; border-bottom: 0;}
header.main-header span.lnr {color:white;}
header.main-header .logo img {background: white; padding: 2px 12px 1px 15px; border-radius: 6px; margin-right: -12px; bottom: 0;}

header.main-header.darkbg {background:white;border-bottom:1px solid #ddd;}
header.main-header.darkbg span.lnr {color:#313131;}
header.main-header.darkbg .logo img {background:unset;}

header.main-header.side-header {background:unset !important;border:0 !important;z-index:93 !important;}
header.main-header.side-header span.lnr {color:white !important;}
header.main-header.side-header .logo img {background: white !important; padding: 2px 12px 1px 15px !important; border-radius: 6px !important; margin-right: -12px !important; bottom: 0 !important;}

/* Home - صفحه اصلی */
body.home .elementor-swiper-button {background: rgba(0,0,0,0.25); color: white; border-radius: 100px; padding: 12px; font-size: 32px !important; margin: 0 20px;}
body.home .elementor-slides .swiper-slide-inner {padding: 0; max-width: 1200px; width: 90%;}
body.home .elementor-2 .elementor-element .swiper-slide-contents {text-shadow: 0 0 10px black;}

#latest-news .elementor-container {max-width: 1200px; width: 90%;}

.sidenav#mySideSearch #main {top: 50%;left: 50%;transform: translate(-50% , -50%);position: absolute;}
.sidenav#mySideSearch .section-title {display: block;clear: both;text-align: center;color: white;font-size: 27px;line-height: 2;padding-bottom: 10px;font-weight: 600;}
.sidenav #searchform {position: relative; width: 100%; max-width: 600px; display: block; clear: both; margin: 0 auto;}
.sidenav #searchform #searchsubmit {position: absolute; left: 0; opacity: 0; width: 50px; height: 100%;z-index:96;}
.sidenav #searchform #s {line-height: 3; padding: 4px 20px; width: 100%; max-width: 100%; border-radius: 5px; border: 0 !important; box-sizing: border-box; font-family: iransansx; outline: none !important;position:relative;z-index:94;}
.sidenav #searchform:after {position: absolute; left: 0; z-index: 95; top: 0; bottom: 0; width: 50px; text-align: center; line-height: 44px; background: #F88A3B; border-radius: 5px 0 0 5px; color: white; content: "\e86f"; font-family: Linearicons-Free; font-size: 22px;}

.sidenav#mySideMenu {padding-top:85px;}
.sidenav .main-nav {height: calc(100vh - 150px); overflow-y: auto;}
.sidenav .main-nav ul li a {display: block; clear: both; color: white; line-height: 2.5; padding: 0 30px; font-size: 15px;}
.sidenav .main-nav ul.sub-menu {margin-right: 32px; border-right: 1px solid #7b7b7b; margin-bottom: 25px;}
.sidenav .main-nav ul.menu li.menu-item-has-children:nth-child(3) {margin-top:25px;}

/* Page - برگه ها */
.page-content {width:100%;overflow:hidden;}
.page-content #page-cover {width:100%;float:right;position:relative;margin-bottom:35px;z-index:1;}
.page-content #page-cover img {width:100%;height:auto;position:relative;z-index:2;}
.page-content h1 {font-weight: 700; color: white; z-index: 3; top: 50%; position: absolute; left: 50%; transform: translate(-50%,-50%); font-size: 35px; text-shadow: 0 0 10px rgba(0,0,0,0.25);line-height:2;text-align:center;}

/* Post - پست ها */
.post-content {width:100%;overflow:hidden;}
.post-content #main {line-height:2.75;}
.post-content #post-cover {width:100%;float:right;position:relative;margin-bottom:35px;height:100vh;overflow:hidden;z-index:1;}
.post-content #post-cover img {width:100%;height:auto;z-index:2;position:absolute;min-height:100vh;min-width:100%;top:50%;left:50%;transform:translate(-50%,-50%);filter: brightness(80%);}
.post-content #post-cover .post-header {position:absolute;top:50%;left:50%;max-width:90%;transform:translate(-50%,-50%);line-height:2;display:flex;flex-direction:column;color:white;text-align:center;width:600px;z-index:3;}
.post-content #post-cover .post-header h1 {font-weight: 700; font-size: 40px; line-height: 1.5; margin-bottom: 15px;}
.post-content #post-cover .post-categories {display: flex; flex-direction: revert; gap: 10px; justify-content: center;}
.post-content #post-cover .post-categories a {color:white;}
.post-content #post-cover .post-categories li {border: 1px solid white; padding: 0 10px; border-radius: 7px; font-weight: 300;}
.post-content strong {font-weight:700;}

.post-content #main h1, .post-content #main h2, .post-content #main h3, .post-content #main h4, .post-content #main h5, .post-content #main h6 {display: block; margin-top: 15px; font-weight: 600;margin-bottom: 5px;}
.post-content #main h1 , .post-content #main h2 {font-size:27px;font-weight:700;} 
.post-content #main h3 , .post-content #main h4 , .post-content #main h5 , .post-content #main h6 {font-size:22px;}


/* Page PANEL - پنل سهامداران */
.page-template-panel .page-content #main {text-align:center;}
.page-template-panel .page-content h2 {font-size: 28px;word-spacing: -3px;font-weight: 600;color: #313131;line-height: 35px;margin-bottom: 35px;display: inline-block;margin-top: 15px;clear: both;width: 100%;}
.page-template-panel .page-content strong {font-weight: 300;font-size: 17px;display: block;clear: both;margin-bottom: 15px;}
.page-template-panel .page-content .middle-content {width: 450px;max-width: 90%;display: block;clear: both;margin:0 auto;text-align: center;}
.page-template-panel .page-content form {position:relative;display: block; clear: both;width:100%;}
.page-template-panel .page-content form input {border: 1px solid #ccc;padding: 8px 25px;line-height: 2;text-align: center;box-sizing: border-box;border-radius: 100px;margin: 15px auto;font-family: iransansx;font-weight: 300;position:relative;display: block; clear: both;width:100%;}
.page-template-panel .page-content form button {position: absolute;top: 4px;left: 5px;border: 0;background: unset;font-size: 20px;border-radius: 100px;padding: 6px 8px;color: #4f4f4f;cursor: pointer;}

.page-template-panel .page-content .user-alert {background: #fafafa; padding: 15px 25px; border-radius: 8px; display: block; clear: both; margin: 15px auto; box-sizing: border-box;}
.page-template-panel .page-content .user-success {background: #76fa76;}
.page-template-panel .page-content .user-fail {background: #ff3737;}
.page-template-panel .page-content .user-alert strong {margin: 0; padding: 0; font-size: 15px; word-spacing: -1px;}
.page-template-panel .page-content .get-help {background: #fafafa;clear: both;margin: 15px auto;box-sizing: border-box;padding: 20px 10px;display: flex;flex-direction: row;line-height: 2;text-align: right;gap: 17px;align-items: center;border-radius: 8px;}
.page-template-panel .page-content .get-help span.lnr {font-size: 35px;color: #323232;}
.page-template-panel .page-content .get-help strong {font-weight: 600;margin-bottom: 5px;line-height: 35px;color: #313131;}
.page-template-panel .page-content .get-help p {font-weight: 200;line-height: 32px;}
.page-template-panel .page-content .get-help p a {font-weight:500;}

.page .page-content .stock-template {border: 15px #FFA500 solid;border-radius: 8px;padding: 25px;box-sizing: border-box;line-height: 2;margin-top: 45px;position:relative;}
.page .page-content .stock-template .custom-logo {max-width: 150px; position: absolute; height: auto; right: 25px; top: 25px; z-index: -1;}
.page .page-content .stock-template .stock-title {color: red;font-weight: 600;font-size: 25px;word-spacing: -2px;margin-bottom: 0;}
.page .page-content .stock-template small.stock-company {font-weight: 300;font-size: 15px;}
.page .page-content .stock-template strong.stock-company {font-weight: 800;font-size: 20px;color: #323232;}
.page .page-content .stock-template .stock-amount {font-size: 18px;font-weight: 700;color: red;display: block;max-width: 90%;clear: both;margin: 0 auto;margin-bottom: 5px;}
.page .page-content .stock-template .stock-current {font-size: 14px; text-align: right; max-width: 90%; display: block; clear: both; margin: 0 auto; line-height: 35px;}
.page .page-content .stock-template .stock-current code {margin-left: 50px; margin-right: 4px; padding: 0 5px; text-decoration: underline;}
.page .page-content .stock-template date {line-height: 35px; margin-top: 15px; display: block; text-align: left;}

.page-template-panel .page-content #stockPrint {background: #eee;transition: 0.3s;border: 0;font-family: iransansx;line-height: 35px;display: block;clear: both;margin: 30px auto 0 auto;padding: 2px 35px;border-radius: 5px;font-size: 15px;}
.page-template-panel .page-content #stockPrint:hover {transition:0.3s;background:#ddd;}
.page-template-panel .page-content #stockPrint i {font-size: 14px;margin-left: 10px;position: relative;bottom: -3px;}




/* Footer - پاورقی */
footer.main-footer {display: block; clear: both; width: 100%; margin-top: 75px; box-sizing: border-box; padding: 20px 0; position: relative; z-index: 1; background: #0a2299; color: white;}
footer.main-footer #main , .bottom-footer #main {display: flex; flex-direction: row; align-items: center; justify-content: space-between;}

footer.main-footer #main.top-footer {gap:50px;align-items: self-start;padding: 35px 0;}
footer.main-footer .footer-box {flex: 1 1 0px;line-height: 2;}
footer.main-footer .footer-box.address-box {display: flex; flex-direction: row; align-items: self-start; gap: 15px;}
footer.main-footer .footer-box.address-box span {display: block; border-bottom: 1px solid #ffffff3d; padding-bottom: 7px; margin-bottom: 7px; font-weight: 700;}
footer.main-footer .footer-box.address-box span:last-child {border-bottom:0;}
footer.main-footer .footer-box.address-box span address, footer.main-footer .footer-box.address-box span tel, footer.main-footer .footer-box.address-box span a {font-weight: 400; color: white; display: inline; margin-right: 5px;}
footer.main-footer .footer-box.about-us .box-title {padding-bottom:5px;font-size:17px;font-weight:700;display:block;}
footer.main-footer .footer-box.about-us p {font-weight: 400;}

.bottom-footer {background: #0a208e; position: relative; padding: 12px 0px 20px; line-height: 2; color: white;}
.bottom-footer #main .box-copyright , .bottom-footer #main .box-follow , .bottom-footer #main .menu {position:relative;z-index:3;display:inline-flex;}
.bottom-footer .box-follow a {display: inline-block; width: 27px; margin-right: 7px; opacity: 0.7; transition: 0.3s;height:27px;}
.bottom-footer .box-follow a:hover {transition:0.3s;opacity:1;}
.bottom-footer .box-follow a img {width: 100%; height: auto;filter:invert(1);}
.bottom-footer #goUP {position: absolute; top: -40px; left: 50%; transform: translate(-50%,0); background: #eee; color: black; padding: 10px 13px; font-size: 20px; border-radius: 100px; border: 20px solid white; z-index: 2;display:none;}
.overlay-1 {position: absolute; z-index: 0; background: rgba(0,0,0,0.08); width: 500px; height: 100%; transform: skewX(-30deg); top: 0; right: 18%;}
.overlay-2 {position: absolute; z-index: 0; background: rgba(0,0,0,0.05); width: 100px; height: 100%; transform: skewX(-30deg); top: 0; right: 18%;}
.overlay-1 , .overlay-2 {right: 7.35%;}

.bottom-footer #main .footer-nav {width: 100%; padding: 3px 0 12px; border-bottom: 1px solid #ffffff42; margin-bottom: 15px; display: block; text-align: center;}
.bottom-footer #main .footer-nav ul {display:inline;}
.bottom-footer #main .footer-nav ul li {display:inline-block;margin: 0 15px;}
.bottom-footer #main .footer-nav ul li a {color: #fafafa; font-weight: 500; padding: 5px 0; display: inline-block;transition:0.3s;}
.bottom-footer #main .footer-nav ul li a:hover {transition:0.3s;color:white;}

.bottom-footer .box-copyright {display: inline-flex; flex-direction: row; gap: 25px; text-shadow: 0 0 0 #8993c7; color: #989fc1;}
.bottom-footer .box-copyright a {color:#ddd;}

body.home footer.main-footer {margin-top:0;}
body.home .bottom-footer #goUP {background: #fff;box-shadow: 0 0 15px rgba(0,0,0,0.075);border:0;top:-20px;} 