@font-face {
    font-family: 'mainFontEn';
    src: url('/styles/fonts/English/Taminat_English.ttf') format('truetype');
}
/* @font-face {
    font-family: 'mainFontEn_Bold';
    src: url('./fonts/English/Cairo-Bold.ttf') format('truetype');
}
@font-face {
    font-family: 'mainFontEn_SemiBold';
    src: url('./fonts/English/Cairo-SemiBold.ttf') format('truetype');
}
@font-face {
    font-family: 'mainFontEn_Light';
    src: url('./fonts/English/Cairo-Light.ttf') format('truetype');
} */

@font-face {
    font-family: 'mainFontAr';
    src: url('/styles/fonts/Arabic/Taminat_Arabic.otf.ttf') format('truetype');
}
/* @font-face {
    font-family: 'mainFontAr_Bold';
    src: url('./fonts/Arabic/Windows/alfont_com_AlFont_com_Swissra-Condensed-Heavy.ttf') format('truetype');
}
@font-face {
    font-family: 'mainFontAr_Light';
    src: url('./fonts/Arabic/Windows/alfont_com_AlFont_com_Swissra-Condensed-Thin-1.ttf') format('truetype');
} */

:root {
    --primary: #005891;
    --primary-light: #83a4db;
    --primary-lighter: #b4c6e8;
    --secondary: #707272;
    --secondary-light: #b3b5b5;
    --secondary-lighter: #d1d1d1;
    --light-bg:#ECECEC;
    --dark-bg:#2E3039;
    --grey-bg: #666666;
    --light-gray-bg: #A7A9AC;
}

body {
    font-family: 'mainFontAr', 'mainFontEn';
    display: flex;
    flex-direction: column;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'mainFontAr', 'mainFontEn';
}

label, span, p, ul, ol, li, a {
    font-family: 'mainFontAr', 'mainFontEn';
}

input, textarea{
    font-family: 'mainFontAr', 'mainFontEn';
}

table, tr, th, td, thead, tbody, tfoot {
    font-family: 'mainFontAr', 'mainFontEn';
}

button {
    background-color: #005891;
    font-family: 'mainFontAr', 'mainFontEn';
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}

.round-square-btn {
    background-color: #005891;
    font-family: 'mainFontAr', 'mainFontEn';
    border: none;
    color: white;
    padding: 10px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 10px;
}

.round-btn {
    background-color: #005891;
    font-family: 'mainFontAr', 'mainFontEn';
    border: none;
    color: white;
    padding: 10px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 100px;
}

.round-btn:hover, .round-square-btn:hover {
    background-color: white;
    border: 1px solid #005891;
    color: #005891;
    box-shadow: 0 8px 10px 0 rgba(0,0,0,0.1), 0 10px 32px 0 rgba(0,0,0,0.05);
}

.card-button {
    background-color: white;
    padding: 12px 32px;
    margin: 0 auto;
    margin-top: 20px;
    text-decoration: none;
    color: #707272;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    height: 150px;
    width: 40%;
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.18), 0 17px 50px 0 rgba(0,0,0,0.12);
}

.card-button img{
    width: 60px;
}

.card-button:hover {
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}


.page-content {
    min-height: calc(100vh - (300px));
    background-image: url('./images/pattern.png');
    background-color: #ECECEC;
    background-position: bottom left;
    background-size: 600px;
    background-clip: padding-box;
    background-repeat: no-repeat;
    padding: 20px;
    width: 100hh;
}

.page-content-sahel {
    min-height: calc(100vh - (300px));
     background-color: #ECECEC;
    background-position: bottom left;
    background-size: 600px;
    background-clip: padding-box;
    background-repeat: no-repeat;
    padding: 20px;
    min-width: 100hh;
}
.text-field {
    width: 200px;
    padding: 4px;
    border: 3px solid #d1d1d1;
    font-family: mainFontEn;
    font-size: 14pt;
    border-radius: 5px;
}

flex-row {
    display: flex;
    flex-direction: row;
    margin: 20px;
    justify-content: space-between;
    align-items: center;
}

hr {
    margin: 0;
    background-color: #005891;
    height: 10px;
}

hr.short {
    margin: 0;
    background-color: #005891;
    width: 100px;
    height: 5px;
}

.page-header {
    margin: 0;
    padding: 0px;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-content: center;
    max-height: 190px;
    background-color: white;
    background-image: url('/styles/images/pattern.png');
    background-position: bottom left;
    background-size: 300px;
    background-clip: padding-box;
    background-repeat: no-repeat;
}

.page-header .logo {
    width: 200px;
    height: auto;
    object-fit: cover;
}

.page-header .page-title {
    font-size: 26pt;
    font-family: 'mainFontAr';
    color: #707272;
    margin-right: 20px;
    align-self: center;
    max-width: 60%;
    display: block;
}

.page-header-sahel {
    margin: 0;
    padding: 0px;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-content: center;
    max-height: 190px;
    background-color: white;
    background-position: bottom left;
    background-size: 300px;
    background-clip: padding-box;
    background-repeat: no-repeat;
}

.page-header-sahel .logo {
    width: 200px;
    height: auto;
    object-fit: cover;
}
.page-header-sahel .page-title {
    font-size: 26pt;
    font-family: 'mainFontAr';
    color: #707272;
    margin-right: 20px;
    align-self: center;
    max-width: 60%;
    display: block;
    text-align:center;
}

.menu {
    width: 100%;
    text-align: right;
    margin: 0;
    padding: 1px;
    overflow: hidden;
    background-color: #005891;
    color: white;
    list-style-type: none;
}

.menu li {
    float: right;
}

.menu li a{
    font-size: 20px;
    padding: 0 15px 0 0;
    display: block;
    align-self: center;
    text-decoration: none;
}

.menu a:link, a:visited {
  background-color: #005891;
  color: white;
  padding: 10px 30px;
  text-align: center;
  text-decoration: none;
  display: block;
}

.menu a:hover, a:active {
  background-color: white;
  color: #707272;
}

.page-footer {
    background-color: #666666;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    padding: 5px;
}

.page-footer a {
    color: white;
}

.footer-icons img {
    fill: white;
}


@media only screen and (max-width: 500px) {
    .page-header .page-title {
        font-size: 16pt;
        width: 100%;
    }
    .page-footer {
        font-size: 9pt;
    }
    .card-button{
        width: 60%;
    }
    .menu li{
        font-size: 8pt;
    }
    .page-header .empty-box{
        display: none;
    }
    .menu{
        height: 45px;
    }
    .page-header-sahel .logo{
        width:20%;
        object-fit: scale-down;
    }
    .page-header-sahel .page-title {
        font-size: 16pt;
        width: 100%;
    }
}

@media only screen and (min-width: 1300px) {
    .card-button{
        width: 30%;
    }
}


/* ### The following part is related to the responsive navbar ### */
.topnav {
    background-color: #005891;
    overflow: hidden;
}
  
.topnav a {
    float: right;
    display: block;
    color: white;
    text-align: center;
    padding: 10px 16px;
    text-decoration: none;
    font-size: 17px;
}
  
.topnav a:hover {
    background-color: white;
    color: #666666;
    border: 1px solid #005891;
}
  
.topnav .icon {
    display: none;
}

@media screen and (max-width: 600px) {
    .topnav a {display: none;}
    .topnav a.icon {
      float: right;
      display: block;
    }
}
  
@media screen and (max-width: 600px) {
    .topnav.responsive {position: relative;}
    .topnav.responsive a.icon {
      position: relative;
      right: 0;
      top: 0;
    }
    .topnav.responsive a {
      float: none;
      display: block;
      text-align: right;
    }
}
/* ####################################### */