/* Official public portal only. MAD, vehicle taxation and tariff pages excluded. */
body.douane-portal img{max-width:100%!important;height:auto}
body.douane-portal[dir=rtl]{font-family:DouanePortalArabic,Tahoma,Arial,sans-serif!important}
body.douane-portal :is(strong,b,small){font-family:inherit!important}
body.douane-portal span:not(.fa):not(.fas):not(.far):not(.fab):not(.glyphicon):not(.dashicons):not([class*="icon-"]){font-family:inherit!important}
body.douane-portal .top-row a.btn-style-1{background:#fff!important;color:#104382!important;border-color:#fff!important}
@font-face{font-family:DouanePortalArabic;src:url('fonts/Tajawal-Regular.ttf') format('truetype');font-display:swap;font-weight:400}
@font-face{font-family:DouanePortalArabic;src:url('fonts/Tajawal-Bold.ttf') format('truetype');font-display:swap;font-weight:700}
body.douane-portal{--dp-blue:#104382;--dp-red:#d33030;--dp-ink:#173a68;--dp-line:#dce5f1;--dp-muted:#58708c;background:#f5f8fd!important;color:var(--dp-ink)!important;font:15px/1.75 'Segoe UI',Arial,sans-serif!important}
body.douane-portal :is(h1,h2,h3,h4,h5,h6){font-family:inherit!important;color:var(--dp-blue)!important;text-shadow:none!important;letter-spacing:normal!important;text-transform:none!important;line-height:1.35!important}
/* White titles remain legible on official interior-page photo banners. */
body.douane-portal #inner-banner .inner-banner-heading :is(h1,h2,h3,em){color:#fff!important;text-shadow:0 2px 5px #000,0 0 18px #000b!important}
body.douane-portal{--mad-navy:#104382;--mad-blue:#104382;--mad-gold:#d33030;--mad-ink:#173a68;--mad-line:#dce5f1}
body.douane-portal.mad-site-experience #wrapper .mad-news-copy h3,body.douane-portal.mad-site-experience #wrapper .mad-news-copy h3 a{color:#104382!important}
body.douane-portal.mad-site-experience #wrapper .mad-banner{background:linear-gradient(120deg,#104382,#0c3264)!important}
body.douane-portal.mad-site-experience #wrapper .mad-banner :is(strong,span){color:#fff!important}
body.douane-portal.mad-site-experience #wrapper .mad-intro{background:linear-gradient(120deg,#104382,#0c3264)!important}
body.douane-portal.mad-site-experience #wrapper .mad-intro :is(h1,p,a,strong,span){color:#fff!important}
body.douane-portal :is(p,li,label,input,select,textarea,button,td,th,caption){font-family:inherit!important;color:var(--dp-ink);line-height:1.7}
body.douane-portal :is(p,li){font-size:15px!important}body.douane-portal a{color:var(--dp-blue)}body.douane-portal a:hover{color:var(--dp-red)}
body.douane-portal :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #d33030!important;outline-offset:3px}
body.douane-portal :is(.top-row,.blue-box){background:#104382!important;color:#fff!important}body.douane-portal .top-row :is(a,p,span){color:#fff!important}
body.douane-portal #header{background:#fff!important;border-bottom:1px solid #dce5f1}body.douane-portal #header :is(#nav a,.search-box a){color:#104382!important}body.douane-portal #nav>li>a:hover{color:#d33030!important}body.douane-portal #nav>li.current-menu-item>a{border-bottom:3px solid #d33030}
body.douane-portal #nav li ul{border-top:3px solid #d33030!important;background:#fff!important;box-shadow:0 12px 28px #10438215}body.douane-portal #nav li ul a:hover{background:#edf3fc!important;color:#104382!important}
body.douane-portal .mad-context-bar{background:#edf3fc!important;border-color:#dce5f1!important;color:#104382!important}body.douane-portal .mad-context-bar a{color:#104382!important}
body.douane-portal :is(.main-content,.page_content,.entry-content-cp){background:transparent}body.douane-portal .main-content{padding-block:30px!important}
body.douane-portal .main-content :is(h1,h2){font-size:clamp(25px,2.5vw,36px)!important}body.douane-portal .main-content h3{font-size:23px!important}body.douane-portal .main-content h4{font-size:19px!important}
body.douane-portal :is(.mad-legacy-card,.mad-news-card){border-color:#dce5f1!important;border-radius:12px!important;box-shadow:0 4px 16px #10438207}body.douane-portal :is(.mad-news-image,.mad-news-picture){background:#edf3fc!important}body.douane-portal .mad-news-copy :is(h3,h3 a){color:#104382!important}body.douane-portal .mad-news-copy :is(p,time){color:#58708c!important}
body.douane-portal :is(.mad-news-more,.mad-news-archive,.mad-button){border-color:#104382!important;color:#104382!important}body.douane-portal :is(.mad-news-more,.mad-news-archive,.mad-button):hover{color:#d33030!important;border-color:#d33030!important}
body.douane-portal :is(.section-title-3,.breadcrumb,.breadcrumbs){color:#104382!important;background:#edf3fc!important;border-color:#dce5f1!important}
body.douane-portal .main-content table{border-color:#dce5f1!important}body.douane-portal .main-content table th{background:#104382!important;color:#fff!important}body.douane-portal .main-content :is(blockquote,.vc_message_box){border-color:#d33030!important;background:#f2f6fc!important;color:#173a68!important}
body.douane-portal :is(#footer,footer){background:#104382!important;color:#e4edfa!important}body.douane-portal :is(#footer,footer) :is(a,p,span,h2,h3,h4){color:#e4edfa!important}body.douane-portal :is(#footer,footer) a:hover{color:#ffcece!important}
body.douane-portal #footer :is(.footer-section-2,.footer-section-3){background:#104382!important;color:#e4edfa!important}body.douane-portal #footer :is(strong,.copyrights){color:#e4edfa!important}
html[dir=rtl] body.douane-portal,body.douane-portal.rtl{font-family:DouanePortalArabic,Tahoma,Arial,sans-serif!important}html[dir=rtl] body.douane-portal :is(p,li,label,td,th){font-size:17px!important}
@media(max-width:767px){body.douane-portal .main-content{padding-block:18px!important}body.douane-portal .main-content h1{font-size:27px!important}body.douane-portal :is(p,li){font-size:14px!important}body.douane-portal .mad-context-bar{gap:10px!important;padding:14px 18px!important}}
@media print{body.douane-portal{background:#fff!important;color:#000!important}body.douane-portal :is(#header,#footer,.mad-context-bar){display:none!important}}
/* Match the specificity of the legacy shared skin, including cached markup. */
body.douane-portal.mad-site-experience #wrapper .tablepress{border-color:#dce5f1!important;color:#173a68!important}
body.douane-portal.mad-site-experience #wrapper .tablepress th{background:#104382!important;color:#fff!important;border-color:#104382!important}
body.douane-portal.mad-site-experience #wrapper .tablepress th :is(a,span,div){color:#fff!important}
body.douane-portal.mad-site-experience #wrapper .tablepress td{background:#fff!important;color:#173a68!important;border-color:#dce5f1!important}
body.douane-portal.mad-site-experience #wrapper .tablepress tbody tr:nth-child(even) td{background:#f3f6fc!important}
body.douane-portal.mad-site-experience #wrapper .tablepress tbody tr:hover td{background:#eaf1fb!important}
body.douane-portal.mad-site-experience #wrapper .mad-accordion{border-color:#dce5f1!important;background:#fff!important}
body.douane-portal.mad-site-experience #wrapper .mad-accordion summary{color:#104382!important;background:#fff!important;font-family:'Segoe UI',Arial,sans-serif!important}
body.douane-portal.mad-site-experience #wrapper .mad-accordion[open] summary{background:#edf3fc!important;border-color:#dce5f1!important;border-inline-start:3px solid #d33030}
body.douane-portal.mad-site-experience #wrapper :is(.main-content,.entry-content,.entry-content-cp){background-color:transparent;color:#173a68!important}
body.douane-portal.mad-site-experience #wrapper :is(p,a,li,td,th,label,input,select,textarea,button){font-family:'Segoe UI',Arial,sans-serif!important}
body.douane-portal.mad-site-experience #wrapper :is(h1,h2){font-family:Georgia,'Times New Roman',serif!important;letter-spacing:normal!important}
body.douane-portal.mad-site-experience #wrapper :is(h3,h4,h5,h6){font-family:'Segoe UI',Arial,sans-serif!important}
body.douane-portal.mad-site-rtl #wrapper :is(h1,h2,h3,h4,h5,h6,p,a,li,td,th,label,input,select,textarea,button,summary){font-family:DouanePortalArabic,Tahoma,Arial,sans-serif!important}
.douane-portal .dp-table-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;margin-block:16px;border:1px solid #dce5f1;border-radius:10px}
.douane-portal .dp-table-scroll>table{margin:0!important;min-width:0}
.douane-portal :is(.entry-content,.entry-content-cp,.mad-legacy-card,.mad-accordion){min-width:0;overflow-wrap:anywhere}
.douane-portal .mad-accordion summary{min-height:48px;line-height:1.6}
@media(max-width:767px){body.douane-portal.mad-site-experience #wrapper .tablepress{min-width:580px}.douane-portal .mad-accordion summary{padding:15px 17px!important;font-size:15px!important}.douane-portal .dp-table-scroll{margin-block:12px}}
/* Legacy editor fixed widths and embeds must fit the public content column. */
body.douane-portal:not(.douane-service) #main :is(.entry-content,.entry-content-cp,.text-box,.inner,.mad-legacy-card,p,a,div[style*="width"]){max-width:100%;overflow-wrap:anywhere}
body.douane-portal:not(.douane-service) #main :is(iframe,video,object,embed){max-width:100%!important}
body.douane-portal:not(.douane-service) #main iframe.wp-embedded-content{width:100%!important;max-width:calc(100% - 32px)!important}
body.douane-portal:not(.douane-service) #main :is(p,li){white-space:normal}
body.douane-portal:not(.douane-service) :is(.main-content,.entry-content,.entry-content-cp,.news-detail) :is(div[style*="width"],p,a){max-width:100%!important;overflow-wrap:anywhere!important;box-sizing:border-box}
body.douane-portal:not(.douane-service) :is(iframe,video,object,embed,img){max-width:100%!important;box-sizing:border-box}
body.douane-portal:not(.douane-service) iframe.wp-embedded-content[style*="clip:"]{width:1px!important;height:1px!important}
body.douane-portal:not(.douane-service) .entry-content-cp img{margin-inline:0!important}
body.douane-portal{--bs-success-rgb:16,67,130;--bs-form-valid-color:#104382;--bs-form-valid-border-color:#104382}
body.douane-portal :is(.btn-success,.label-success){background-color:#104382!important;border-color:#104382!important;color:#fff!important}
body.douane-portal .alert-success{background-color:#edf3fc!important;border-color:#b9cbe3!important;color:#104382!important}
body.douane-portal:not(.douane-service) iframe.wp-embedded-content[style*="visibility: hidden"],body.douane-portal:not(.douane-service) iframe.wp-embedded-content[style*="visibility:hidden"]{width:1px!important;height:1px!important}
/* TablePress: wide official content, notes above, readable column titles. */
body.douane-portal.douane-tables-page .main-content :is(.container,.container-res){width:100%!important;max-width:1680px!important;margin-inline:auto!important}
body.douane-portal.douane-tables-page .main-content{padding-inline:clamp(12px,2.4vw,48px)!important}
body.douane-portal.douane-tables-page #wrapper .dp-table-layout{display:flex!important;flex-direction:column!important;gap:18px!important;margin-inline:0!important;width:100%!important}
body.douane-portal.douane-tables-page #wrapper .dp-table-layout>:is(.dp-table-main,.dp-table-note){width:100%!important;max-width:100%!important;flex:0 0 auto!important;padding-inline:0!important;margin-inline:0!important;min-width:0}
body.douane-portal.douane-tables-page #wrapper .dp-table-note{order:0}
body.douane-portal.douane-tables-page #wrapper .dp-table-main{order:1}
body.douane-portal.douane-tables-page #wrapper .dp-table-note .mad-legacy-vc_column_text{padding:18px 24px!important;background:#edf3fc!important;border-inline-start:4px solid #d33030!important}
body.douane-portal.douane-tables-page #wrapper .dp-table-note p{margin:0!important}
body.douane-portal.douane-tables-page #wrapper .dp-table-main .mad-legacy-vc_column_text{padding:0!important;border:0!important;box-shadow:none!important}
body.douane-portal.douane-tables-page #wrapper .tablepress{width:100%!important;table-layout:auto!important;font-size:15px!important;min-width:700px;border-collapse:separate!important;border-spacing:0}
body.douane-portal.douane-tables-page #wrapper .tablepress col{width:auto!important}
body.douane-portal.douane-tables-page #wrapper .tablepress th{white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;min-width:100px;padding:18px 20px!important;vertical-align:middle!important;line-height:1.5!important}
body.douane-portal.douane-tables-page #wrapper .tablepress th :is(div,span,a){white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important}
body.douane-portal.douane-tables-page #wrapper .tablepress td{word-break:normal!important;overflow-wrap:break-word!important;padding:15px 20px!important;vertical-align:middle!important;line-height:1.7!important}
body.douane-portal.douane-tables-page #wrapper .tablepress .dp-table-compact{white-space:nowrap!important;overflow-wrap:normal!important;width:1%}
body.douane-portal.douane-tables-page #wrapper .tablepress .dp-table-download{text-align:center!important;min-width:170px}
body.douane-portal.douane-tables-page #wrapper .tablepress .dp-table-download img{width:38px!important;min-width:32px;height:auto!important;display:inline-block;margin:0!important}
body.douane-portal.douane-tables-page #wrapper .tablepress .dp-table-download br{display:none}
body.douane-portal.douane-tables-page #wrapper .tablepress .dt-column-header{display:flex;align-items:center;justify-content:space-between;gap:12px;position:relative}
body.douane-portal.douane-tables-page #wrapper .tablepress .dt-column-order{position:relative!important;inset:auto!important;display:inline-block;width:14px;min-width:14px;height:22px;flex:0 0 14px}
body.douane-portal.douane-tables-page .dp-table-viewport{display:block!important;max-width:100%;overflow-x:auto!important;-webkit-overflow-scrolling:touch;border:1px solid #dce5f1;border-radius:12px;margin-block:16px;clear:both}
body.douane-portal.douane-tables-page :is(.dt-container,.dataTables_wrapper,.dp-table-card){width:100%;max-width:100%;min-width:0}
body.douane-portal.douane-tables-page .dt-layout-row:not(.dt-layout-table){display:flex!important;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding-block:8px}
body.douane-portal.douane-tables-page .dt-layout-cell{min-width:0}
body.douane-portal.douane-tables-page :is(.dt-search,.dt-length){display:flex;align-items:center;flex-wrap:wrap;gap:8px}
body.douane-portal.douane-tables-page .dt-search input{width:clamp(170px,22vw,320px)!important;max-width:100%;margin:0!important}
body.douane-portal.douane-tables-page .dt-length select{width:auto!important;min-width:78px;margin:0!important}
@media(max-width:767px){body.douane-portal.douane-tables-page .main-content{padding-inline:12px!important}body.douane-portal.douane-tables-page #wrapper .tablepress{font-size:14px!important}body.douane-portal.douane-tables-page #wrapper .dp-table-note .mad-legacy-vc_column_text{padding:14px 16px!important}body.douane-portal.douane-tables-page .dt-layout-row:not(.dt-layout-table){align-items:flex-start!important}body.douane-portal.douane-tables-page .dt-search input{width:200px!important}}
body.douane-portal.douane-tables-page #wrapper .dp-table-layout{gap:12px!important}
body.douane-portal.douane-tables-page #wrapper :is(.dp-table-main,.dp-table-note) div[style*="height"]:empty{height:0!important;margin-block:0!important}
body.douane-portal.douane-tables-page .dp-table-card{margin:0}
body.douane-portal.douane-tables-page .dt-layout-row:not(.dt-layout-table){margin-block:0!important}
body.douane-portal.douane-tables-page .dp-table-viewport{margin-block:10px}
body.douane-portal.douane-tables-page #wrapper .dp-table-note.dp-table-empty{display:none!important}

/* Official language signatures: text, accessible links, no flag images. */
body.douane-portal .mad-language-switcher>span{gap:6px!important;flex-wrap:wrap}
body.douane-portal .mad-language-switcher a.mad-language-link{position:relative;display:inline-flex!important;align-items:center;justify-content:center;min-height:34px;min-width:52px;padding:5px 8px!important;border:1px solid #dce5f1!important;border-radius:9px!important;background:#fff!important;color:#104382!important;text-decoration:none!important;box-shadow:0 3px 10px #1043820b;transition:background .2s,border-color .2s}
body.douane-portal .mad-language-switcher .douane-language-signature{display:block;font-family:Georgia,'Times New Roman',serif!important;font-size:14px!important;font-weight:700!important;font-style:italic;line-height:1.3!important;letter-spacing:-.5px;text-transform:none!important;white-space:nowrap;color:inherit!important}
body.douane-portal .mad-language-switcher a[lang="ar"] .douane-language-signature{font-family:DouanePortalArabic,Tahoma,Arial,sans-serif!important;font-size:19px!important;font-style:normal;letter-spacing:0}
body.douane-portal .mad-language-switcher a[aria-current="page"]{background:#edf3fc!important;border-color:#104382!important}
body.douane-portal .mad-language-switcher a[aria-current="page"]:after{content:'';position:absolute;bottom:3px;width:18px;height:2px;background:#d33030;border-radius:2px}
body.douane-portal .mad-language-switcher a:hover{background:#edf3fc!important;border-color:#d33030!important}
body.douane-portal .mad-language-switcher a:focus-visible{outline:3px solid #d33030!important;outline-offset:3px}
