#row-562127 {
       padding-top: 38px;
}


.SkinPluginPro_icon
{
    left:0;
    right: auto;
}


.submenu.Menu ul li {
    background: url(/Portals/_default/Skins/dng-theme-pro/resource/images/menu_bullet_pascosteel.png) no-repeat right 15px;
    text-align: right;
}

.dng-megamenu .primary_structure>li.dir>a>span:after {
    -webkit-transform: rotate(140deg);
}


.dng-megamenu .primary_structure>li {
    float: right !important;
}

.dg-title .subtitle {
    float: right;
}

[class*="dg-ico"].size-sm
 {
    float: right;
}


.dg-sideiconbox.color-light, .dg-sideiconbox.color-light .title {
    text-align: right;
}

.mb-25 {
    padding-top: 120px;
}


.mb-15 {
    margin-bottom: 15px !important;
    float: right;
}




.timeline-custom .num {
 box-shadow:none !important ;
}



/*گواهی نامه*/

.cert-grid-dnn {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    direction: rtl;
    font-family: 'Vazirmatn', 'Tahoma', sans-serif;
    padding: 0 0 20px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.cert-card-dnn {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid rgba(200, 200, 200, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 12px 16px;
    text-align: center;
}

.cert-card-dnn:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0,0,0,0.10);
    border-color: rgba(160, 160, 160, 0.8);
}

.cert-image-dnn {
    width: 100%;
    max-width: 260px;
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
}

.cert-image-dnn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #ffffff;
    padding: 8px;
    pointer-events: none;
}

.cert-title-dnn {
    font-size: 1rem;
    font-weight: 700;
    color: #0f1e34;
    margin-bottom: 2px;
    pointer-events: none;
}

.cert-sub-dnn {
    font-size: 0.75rem;
    color: #5d7188;
    line-height: 1.4;
    pointer-events: none;
}

.cert-badge-dnn {
    display: inline-block;
    margin-top: 10px;
    background: #eef3f8;
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 0.6rem;
    font-weight: 600;
    color: #1a2b4a;
    transition: 0.3s;
    pointer-events: none;
}

.cert-card-dnn:hover .cert-badge-dnn {
    background: #e31b23;
    color: #fff;
}

.cert-link-dnn {
    margin-top: 10px;
    font-size: 0.75rem;
    color: #8fa0b5;
    text-decoration: none;
    transition: 0.3s;
    border-bottom: 1px dashed transparent;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    padding: 8px 16px;
    position: relative;
    z-index: 10;
}

.cert-card-dnn:hover .cert-link-dnn {
    color: #e31b23;
    border-bottom-color: #e31b23;
}

/* ===== پاپ‌آپ ===== */

.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(6px);
    animation: fadeIn 0.3s ease;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-content {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    max-width: 90vw;
    width: auto;
    max-height: 90vh;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    animation: scaleIn 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 3px solid rgba(200, 200, 200, 0.6);
}

.lightbox-content img {
    width: auto;
    height: auto;
    max-width: 85vw;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 12px;
    background: #f8fafc;
    padding: 15px;
    display: block;
}

.lightbox-close {
    position: absolute;
    top: 12px;
    left: 16px;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a2b4a;
    cursor: pointer;
    transition: 0.3s;
    background: #f0f4f8;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    line-height: 1;
    z-index: 20;
}

.lightbox-close:hover {
    background: #e31b23;
    color: #fff;
    transform: rotate(90deg);
}

.lightbox-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f1e34;
    margin-top: 16px;
    margin-bottom: 4px;
}

.lightbox-sub {
    font-size: 0.9rem;
    color: #5d7188;
    margin-bottom: 12px;
}

/* ===== انیمیشن‌ها ===== */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ===== ریسپانسیو ===== */

@media (max-width: 992px) {
    .cert-grid-dnn {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    .cert-image-dnn {
        max-width: 220px;
    }
}

@media (max-width: 576px) {
    .cert-grid-dnn {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .cert-image-dnn {
        max-width: 260px;
    }
    .lightbox-content {
        padding: 20px;
        width: 95%;
    }
    .lightbox-close {
        top: 8px;
        left: 10px;
        width: 34px;
        height: 34px;
        font-size: 1.4rem;
    }
}


#dnn_content {
    padding-top: 40px;
    padding-bottom: 15px;
    background: #ffffff;
}




/*----------- تندیس و تقدیرنامه-------------*/

.awards-tabs {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    font-family: 'Vazirmatn', 'Tahoma', sans-serif;
}

.awards-tabs .tab-list {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    border-bottom: 2px solid #eef3f8;
    flex-wrap: wrap;
}

.awards-tabs .tab-list li {
    cursor: pointer;
    padding: 12px 30px;
    border-radius: 30px 30px 0 0;
    font-weight: 600;
    font-size: 1rem;
    color: #5d7188;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    border-bottom: none;
    background: transparent;
    user-select: none;
}

.awards-tabs .tab-list li:hover {
    color: #0f1e34;
    background: #f0f5fa;
}

.awards-tabs .tab-list li.active {
    color: #0f1e34;
    background: #ffffff;
    border-color: rgba(200, 200, 200, 0.6);
    border-bottom: 2px solid #ffffff;
    margin-bottom: -2px;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.04);
}

.awards-tabs .tab-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.awards-tabs .tab-panel.active {
    display: block;
}

/* ===== گرید کارت‌های تندیس و تقدیرنامه (همون استایل گواهینامه) ===== */

.awards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.award-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid rgba(200, 200, 200, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 12px 16px;
    text-align: center;
}

.award-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0,0,0,0.10);
    border-color: rgba(160, 160, 160, 0.8);
}

.award-image {
    width: 100%;
    max-width: 220px;
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
}

.award-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #ffffff;
    padding: 8px;
    pointer-events: none;
}

.award-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f1e34;
    pointer-events: none;
}

.award-link {
    margin-top: 10px;
    font-size: 0.75rem;
    color: #8fa0b5;
    text-decoration: none;
    transition: 0.3s;
    border-bottom: 1px dashed transparent;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    padding: 8px 16px;
    position: relative;
    z-index: 10;
}

.award-card:hover .award-link {
    color: #e31b23;
    border-bottom-color: #e31b23;
}

/* ===== ریسپانسیو برای تندیس‌ها ===== */

@media (max-width: 992px) {
    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    .award-image {
        max-width: 200px;
    }
}

@media (max-width: 576px) {
    .awards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .award-image {
        max-width: 220px;
    }
    .awards-tabs .tab-list li {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

/* ===== انیمیشن ===== */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ===== فاصله ===== */
[class*="dg-iconbox"] .box-right {
    text-align: left;
    padding-right: 20px;
}


/* ===== لوگو ===== */
.header-wrap .floating-header-logo.header-logo {
    padding-left: 10px;
    padding-bottom: 15px;
}

/* ===== مکعب ===== */
.dng-column>.dng-column-inner {
    padding-bottom: 40px;
}


.contact_info li {
    margin-right: 27px;
}






/* دسترسی های سریع */
#column-903022{
    padding-right:70px !important;
}

/* ارتباط با ما دقیقا هم‌راستا با آیکون‌ها */
#column-987249 .dnntitle{
    margin:0 0 20px 30px !important;
}

#column-987249 .contentmain{
    margin-right:30px !important;
}

/* آیکون ها */
.contact_info .fa{
    color:#d60000 !important;
    width:18px;
    text-align:center;
    margin-top:4px;
}

/* هر آیتم */
.contact_info li{
    display:flex;
    align-items:flex-start;
    gap:10px;
    margin-bottom:14px;
}

/* متن ها */
.contact_info li>div{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:wrap;
    gap:5px;
}

.contact_info li>div span:first-child{
    font-weight:700;
    white-space:nowrap;
}

.contact_info li>div span:last-child{
    line-height:1.8;
    flex:1;
}

/* نقشه */
#dnn_ctr1148_HtmlModule_lblContent img{
    width:320px !important;
    height:240px !important;
    object-fit:cover;
    display:block;
    margin:auto;
    border-radius:8px;
}




#column-987249 .contact_info {
    margin-right: -57px !important;
    padding-right: 0 !important;
}




/* ===========================
   Breadcrumb
=========================== */

.breadcrumb,
.breadcrumb ul,
.breadcrumb ol{
    direction: rtl !important;
    text-align: right !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center;
}

/* تغییر Home به خانه (در صورت سازگاری قالب) */

.breadcrumb li:first-child a,
.breadcrumb li:first-child span{
    font-size:0 !important;
}

.breadcrumb li:first-child a:after,
.breadcrumb li:first-child span:after{
    content:"خانه";
    font-size:14px;
    color:#666;
}

/* ===========================
   تیترها
=========================== */

.dnntitle,
.dnntitle h1,
.dnntitle h2,
.dnntitle h3,
.dnntitle h4,
.title{
    width:100%;
    text-align:right !important;
    float:none !important;
    margin:0 0 20px 0 !important;
    padding:0 !important;
}

/* ===========================
   متن صفحات
=========================== */

.Normal,
.Normal p,
.Normal li{
    direction:rtl;
    text-align:right !important;
}

/* ===========================
   لیست ها
=========================== */

.Normal ul,
.Normal ol{
    direction:rtl;
    text-align:right;
    padding-right:25px;
    padding-left:0;
}

/* ===========================
   فاصله تیتر با متن
=========================== */

.contentmain{
    text-align:right;
}

.contentpane{
    text-align:right;
}



.page-breadcrumbs > .container {
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: right !important;
}

.dg-title.title-style09 .decorated.r {
    position: relative; 
    border-bottom: 1px solid;
    width: 150px;
    display: block;
    margin: 0px auto 0px; 
     margin: 10px;
}



