/* ICIEC shared chrome — corporate header (#iiciec-heead) + footer styles.
   Extracted from the Annual Report theme so any subsite renders the
   fetched header/footer correctly. Self-contained (literal colors). */
#iiciec-heead {margin-bottom: 0 !important; padding-bottom: 0 !important}
#iiciec-heead .navtop{background:#fff;padding-bottom:0;overflow:hidden}
#iiciec-heead .navtop a{text-decoration:none}
#iiciec-heead .navtop a:hover{color:#fff}
#iiciec-heead .navtop ul{margin:0;padding:0;list-style:none}
#iiciec-heead .navtop .container{max-width:1300px}
#iiciec-heead .navtop .logo{padding-top:20px}
#iiciec-heead .navtop .right{padding-left:50px}
#iiciec-heead .navtop .right .info{z-index:2;align-items:center;padding:10px;display:flex;position:relative}
#iiciec-heead .navtop .right .info:after{content:"";z-index:-1;background:#3b3c3e;border-radius:0 0 0 60px;width:300%;height:100%;position:absolute;top:0;left:-30px}
#iiciec-heead .navtop .right .links ul{align-items:center;display:flex}
#iiciec-heead .navtop .right .links ul li{color:#61a34a;padding:5px 8px;font-size:12px}
#iiciec-heead .links ul li:last-child,#iiciec-heead .navtop .right .links ul li.active{color:#fff;border:1px solid #61a34a}
#iiciec-heead .links ul li:last-child>a{color:#fff}
#iiciec-heead .links ul li a:hover{color:#ffcd69b5}
#iiciec-heead .search-submit{background-color:#0000;border:0;cursor:pointer}
#iiciec-heead .navtop .right .search{align-items:center;margin-left:auto;margin-right:10px;display:flex}
#iiciec-heead .navtop .right .search .icon{color:#61a34a;font-size:18px}
#iiciec-heead .navtop .right .search .icon img{width:20px}
#iiciec-heead .navtop .right .search input{background:#fff;border:0;border-radius:30px;padding:7px 10px;font-size:13px}
#iiciec-heead .navtop .right .lang{padding-left:5px}
#iiciec-heead .navtop .right .lang a{color:#fff;border-right:1px solid #f5fbff33;margin-left:7px;padding-right:7px;font-size:12px;position:relative}
#iiciec-heead .navtop .right .lang a.active{color:#61a34a}
#iiciec-heead .navtop .right .lang a .icon{color:#61a34a;margin-left:5px}
#iiciec-heead .navtop .right .lang .icon{color:#61a34a;margin-left:5px;font-size:12px}
#iiciec-heead .navtop .right .menu ul{flex-direction:row;justify-content:flex-start;align-items:center;margin-left:15px;padding-top:0;display:flex}
#iiciec-heead .navtop .right .menu ul li{border-right:1px solid #0000;padding:35px 9px;transition:all .3s}
#iiciec-heead .navtop .right .menu ul li:hover{background-color:#b88d36}
#iiciec-heead .navtop .right .menu ul li:hover,#iiciec-heead .navtop .right .menu ul li:hover a{color:#fff}
#iiciec-heead .navtop .right .menu ul li:last-of-type{border:0}
#iiciec-heead .navtop .right .lang .icon,#iiciec-heead .navtop .right .lang a{float:right}
#iiciec-heead .lang{color:#61a34a}
#iiciec-heead .navtop .right .lang a{margin-left:5px}
#iiciec-heead .drop-nav a{font-size:16px}
#iiciec-heead .navtop .right .menu .drop-nav{position:relative}
#iiciec-heead .navtop .right .menu .drop-nav .drop-down{z-index:150;background-color:#3b3c3e;border-top:2px solid #b88d36;width:100%;min-width:200px;margin-left:0;transition:all .3s;position:absolute;top:120%;left:0;box-shadow:0 0 15px #0003;padding:0!important;display:none!important}
#iiciec-heead .navtop .right .menu .drop-nav>.drop-down.sub-menu{opacity:0;width:350px;left:90%}
#iiciec-heead .navtop .right .menu .drop-nav:hover>.drop-down.sub-menu{opacity:1;left:100%}
#iiciec-heead .navtop .right .menu .drop-nav .drop-down li{border-right:0;padding:0}
#iiciec-heead .navtop .right .menu .drop-nav:hover>.drop-down{top:100%;display:block!important}
#iiciec-heead .navtop .right .menu .drop-nav .drop-down .drop-nav .drop-down.sub-menu{top:0}
#iiciec-heead .navtop .right .menu .drop-nav .drop-down li p{color:#b88d36;border-bottom:1px solid #9995;padding:10px 15px 10px 25px;font-size:13px;line-height:1.5;position:relative;margin:0}
#iiciec-heead .navtop .right .menu .drop-nav .drop-down li:hover>p{color:#fff!important}
#iiciec-heead .navtop .right .menu .drop-nav .drop-down a{color:#fff;text-align:left;background-color:#3b3c3e;border-bottom:1px solid #9995;width:100%;padding:7px 15px;font-size:12px;font-weight:500;line-height:2;transition:all .3s;display:block}
#iiciec-heead .navtop .right .menu .drop-nav .drop-down a:hover{color:#fff;background-color:#b88d36}
#iiciec-heead .nav-toggle{margin-top:30px;margin-left:20px;display:none;cursor:pointer}
#iiciec-heead .nav-toggle span{background-color:#111;width:35px;height:4px;margin:7px 0;transition:all .6s;display:block}
#iiciec-heead .nav-toggle.active span:first-of-type{transform:rotate(45deg) translate(15px)}
#iiciec-heead .nav-toggle.active span:nth-of-type(2){opacity:0}
#iiciec-heead .nav-toggle.active span:last-of-type{transform:rotate(-45deg) translate(15px)}
.mmain__iciecnet{transition:visibility .3s,opacity .3s,all}
.mmain__iciecnet:hover>.sub-menu{visibility:visible!important;opacity:1!important}
li.mmain__iciecnet{position:relative}
li.mmain__iciecnet .sub-menu{visibility:hidden;opacity:0;background:#fff;flex-direction:column;position:absolute;top:40px;transform:translate(-10px);box-shadow:0 6px 12px #0000002e;padding:.6rem .8rem!important}
li.mmain__iciecnet .sub-menu li a{font-family:Poppins;color:#b88c26!important}
li.mmain__iciecnet i{display:none}
li.mmain__iciecnet .sub-menu>li{width:100%}
li.mmain__iciecnet .sub-menu>li:last-child{border:0!important}
footer{background:#fff}
footer .sub-footer{color:#eee;background:#3b3c3e;padding:30px 0}
footer .sub-footer .uesful-links{text-align:center}
footer .sub-footer .uesful-links li{margin:0 10px;display:inline-block}
footer .sub-footer .uesful-links li a{color:#fff;font-family:Poppins,sans-serif;font-size:.85rem;text-decoration:none;transition:color .3s ease-out}
footer .sub-footer .uesful-links li a:hover{color:#61a34a;text-decoration:none}
footer .sub-footer ul{margin:0;padding:0;list-style:none}
footer .companies{font-family:Poppins,sans-serif}
footer .companies>li{border-right:1px solid #000;padding:0 11px;font-size:.8rem}
footer .companies>li:last-child{border-right:0}
footer .companies a{color:#212529;text-decoration:none}
.social-linkss ul li a{text-align:center;color:#fff;background:#3b3c3e;border-radius:5px;justify-content:center;align-items:center;width:40px;height:30px;line-height:30px;display:flex;padding:0!important}
@media (min-width:1200px){.companies{width:33%}.company-footer-logo{width:300px!important}}
@media screen and (max-width:767px){
  #iiciec-heead .navtop .right .links ul{justify-content:center}
  #iiciec-heead .navtop .right .links ul li{padding:5px;font-size:11px}
  #iiciec-heead .navtop .right .info:after{border-radius:0}
  #iiciec-heead .navtop .right{margin-top:30px;padding-left:0}
  footer .sub-footer .uesful-links li{line-height:2.2}
  #iiciec-heead .navtop .right .menu ul li{float:left;border:0;width:48%;padding:5px}
  #iiciec-heead .navtop .right .search{justify-content:center;margin:20px 0}
}
@media screen and (max-width:787px){#iiciec-heead .navtop .right .menu .drop-nav .drop-down.sub-menu{width:100%;left:0!important}}
@media screen and (max-width:1199px){
  #iiciec-heead .nav-toggle{display:block}
  #iiciec-heead .navtop .right{display:none}
  #iiciec-heead .navtop .logo{padding-top:15px;padding-bottom:15px;justify-content:space-between;display:flex}
  #iiciec-heead .navtop .right .menu ul li{border-bottom:1px solid #9993;width:100%}
  #iiciec-heead .menu a{padding:5px 0;font-size:13px}
  #iiciec-heead .navtop .right .menu .drop-nav:hover>.drop-down{position:relative}
  .lang{justify-content:center;display:flex}
  .lang>*{border:0!important}
  .lang>.icurr_lang{border-left:1px solid #ccc!important;border-right:1px solid #ccc!important;padding:0 .4rem!important;font-size:12px!important}
}
.icurr_lang{border-right:1px solid #606265;padding-right:5px}
#iiciec-heead .lang{font-size:12px}

/* --- Integration overrides (header lives in flow, not fixed) --- */
#iiciec-heead .navtop{position:static!important;box-shadow:none;overflow:visible!important}
#iiciec-heead .navtop .logo a{display:inline-block}
#iiciec-heead .navtop .logo img{max-width:300px}
.company-footer-logo{max-width:300px;height:auto}
footer .companies a:hover{color:#61a34a}
/* mobile: reveal the collapsed menu when the burger is tapped */
@media screen and (max-width:1199px){
  #iiciec-heead .navtop .right.is-open{display:block!important}
  #iiciec-heead .navtop .right.is-open .info{display:block;padding:16px 12px}
  #iiciec-heead .navtop .right.is-open .info:after{border-radius:0}
  #iiciec-heead .navtop .right.is-open .links ul{flex-wrap:wrap;justify-content:center}
  #iiciec-heead .navtop .right.is-open .menu ul{display:block;margin-left:0}
}

/* ---- RTL (Arabic) ---- */
[dir="rtl"] body { font-family: "Cairo", "Poppins", sans-serif; }
[dir="rtl"] #iiciec-heead .navtop .right { padding-left: 0; padding-right: 50px; }
[dir="rtl"] #iiciec-heead .navtop .right .info:after { border-radius: 0 0 60px 0; left: auto; right: -30px; }
[dir="rtl"] #iiciec-heead .navtop .right .search { margin-left: 10px; margin-right: auto; }
[dir="rtl"] #iiciec-heead .navtop .right .lang { padding-left: 0; padding-right: 5px; }
[dir="rtl"] #iiciec-heead .navtop .right .lang a { border-right: 0; border-left: 1px solid #f5fbff33; margin-left: 0; margin-right: 7px; padding-right: 0; padding-left: 7px; float: right; }
[dir="rtl"] #iiciec-heead .navtop .right .lang a .icon,
[dir="rtl"] #iiciec-heead .navtop .right .lang .icon { margin-left: 0; margin-right: 5px; }
[dir="rtl"] #iiciec-heead .navtop .right .menu ul { margin-left: 0; margin-right: 15px; }
[dir="rtl"] #iiciec-heead .navtop .right .menu .drop-nav .drop-down { left: auto; right: 0; }
[dir="rtl"] #iiciec-heead .navtop .right .menu .drop-nav > .drop-down.sub-menu { left: auto; right: 90%; }
[dir="rtl"] #iiciec-heead .navtop .right .menu .drop-nav:hover > .drop-down.sub-menu { left: auto; right: 100%; }
[dir="rtl"] #iiciec-heead .navtop .right .menu .drop-nav .drop-down a { text-align: right; }
[dir="rtl"] #iiciec-heead .nav-toggle { margin-left: 0; margin-right: 20px; }
[dir="rtl"] #iiciec-heead .icurr_lang { border-right: 0; border-left: 1px solid #606265; padding-right: 0; padding-left: 5px; }
[dir="rtl"] footer .companies > li { border-right: 0; border-left: 1px solid #000; padding: 0 11px; }
[dir="rtl"] footer .companies > li:last-child { border-left: 0; }
