/*  CSS file for portable phones with low screen width ------------------------------------------------------------- */
/*  Author Ulrich Boes                                ------------------------------------------------------------- */
/*  Version 9.1 of AFB site, August 2019                 ............................................................. */
* {
  box-sizing: border-box;
}
/* .... base colour Rebecca Purple #663399
                                                    */
body { background-color: #e6e6fa; color: #000; margin: 0;
     }

#topmostbar { height: 125px; width:100%; text-align: center; border-top: 5px solid #663399; border-bottom: 5px solid #663399; 
             background-image: url(../images/Ventoux1366x125.jpg);background-repeat: no-repeat;background-position: center top;
            }
#logovaucluse  {  height: 80px; width:auto; padding-top:25px;  padding-left: 10px;
             } 
#topimleft  {  float: left; width:10%;  }
#topimright  {  float: left; width:12%;   }
#toptitle {  float:left; width:65%; margin-left:20px; padding-top: 0px;  margin-top: 0px;  font-size:0.8em; color:#663399; 
          }
#logoasstop {  width:auto;height: 80px;padding-top:25px; padding-right:10px; 
              }
              
#banner { text-shadow: 0px 0px #B8860B }
#banner a:hover { background:  #8B0000; color:#ffe6e6;}
/* .............................................................................. */
#mainpart  { float:left; text-align: center; width: 99%;  border-right: none; }   
#welcometext  {}
#Welcomeleft   {  float:left; width: 45%; margin-left:5px;  }
#Welcomeright   {  float:left; width: 49%;  }

#mainpartblockl  { clear:both; float:none; width: 99%; height: 100%;   }
#mainpartblockm  { float:none; width: 99%; height: 100%;   }
#mainpartblockr  { float:none; width: 99%; height: 100%;   }
#mainpartblocknews  { float:none; width: 99%; height: 100%; /* border-left: 2px solid #663399;*/ }
.newstitle { margin-bottom:0px;padding-bottom:0px;text-transform: uppercase;line-height: 1.6;font-weight: bold; }

.newsformat { font-size:0.85em; }
#mpbim           { width:80%; height:auto; padding-top:5px;    }  

     
nav {  width: 100%;font-size: 0.9em; 
   padding: 0px; padding-left: 5%; padding-right:1%;
  position: relative;     top: 0; 
}



/* Style the list inside the menu ...............................................................*/

nav ul {
  list-style-type: none; width:100%;
  padding: 0; padding-top: 0px;
  color: white;
  overflow: hidden;  background-color: #ffffff;
}
nav li {    float: none;  border-right: none;background-color: #ffffff;
}
nav li:last-child {
  border-right: none;
}
nav li a {
   display: inline-block;  
  color: #663399;
  padding: 4px;
   text-align: center;
  padding: 7px 8px;
  text-decoration: none;
}

nav li a:hover {
  background-color: #111; color: #7899ff;
}
nav .active {
  background-color: #663399; color:#e6e6fa;
  }
  
.rightitem { float:right; display: inline;top:0px;  font-size:0.6em;border-right: none; } 
.respitem { display:inline;}
#otheritem { display: none;  }
/
.homeitem { display: inline;  }
#lflag { height:12px; }
  
    .otheritem.responsive {
    float: none;
    display: block;
    text-align: left;
    width: 50%;
  }
/* Clear floats after the columns */

section:after {
  content: "";
  display: table;
  clear: both;
}
/*
#topim { display:none; /*visibility:hidden; /*height: 125px; width:100%; text-align: center; background-image: url(../images/72/0.jpg);   background-repeat: no-repeat;background-position: center top; */
    
  #blm {  display:none;  }

#movim {   display:none;  }
  
      
#frtitle {  color: #00008B; line-height: 1.2; font-size: 1.0em; font-weight: bold;}      
#entitle {  color: #00008B; line-height: 1.2; font-size: 1.0em; font-weight: bold;}    
.penglish { color: #00008B; font-size:1.0em;
       }
.pfrench { color:#00008B;font-size:1.0em;       }

.newsitem { margin:10px; padding:5px; font-size:0.8em; color:#663399; background-color:white;  }
       
#bottomline { position:fixed; bottom:0; width:100%; background-color:#663399; text-align: center; font-size:0.8em; color:#e6e6fa; 
        }
 
 /*  styles for the horizontal menu in the subpages - here, for small screens ......................*/
#submenu481 { display:block;
  margin-left: 20px; font-size: 0.8em;
   } 
#sm481top {
  color: #ffffff;  text-align:left;height:auto;
  background-color: #663399; 
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 1px;
  left: 0;
}
#sm481top a {color:white;text-decoration: none; }
#sm481top a:hover { background-color: #fff; color: #663399; }

#sm481det { display:none; position:relative;
  width: 40%; 
  height: auto; /* Full-height: remove this if you want "auto" height */
  /* width: 160px; /* Set the width of the sidebar */
  /* position: fixed; /* Fixed Sidebar (stay in place on scroll) 
  z-index: 1; /* Stay on top */
  /* top: 0; /* Stay at the top */
  left: 0;vertical-align:middle;
  background-color: white; 
  overflow-x: hidden; /* Disable horizontal scroll */ 
  padding-top: 1px;
}

#sm481det ul { text-align:left;
  list-style-type: none; 
  padding: 0; padding-top: 0px;
  overflow: hidden;  background-color: #ffffff;
}
#sm481det li {   text-align:left; }
#sm481det li:last-child {
  border-right: none;
}
#sm481det li a {
   display: block;  
  color: #663399;
   padding: 4px 2px 2px 2px;
  text-decoration: none;
}

#sm481det li a:hover {   background-color: #111; color: #7899ff;
}
#sm481det .active {
  background-color: #663399; color:#e6e6fa;
  }

#submenu { display: none; }
/*
  float: left; width: 100%; 
  height: auto; /* Full-height: remove this if you want "auto" height */
  /* width: 160px; /* Set the width of the sidebar */
  /* position: fixed; /* Fixed Sidebar (stay in place on scroll) 
  z-index: 1; /* Stay on top */
  /* top: 0; /* Stay at the top 
  left: 0;vertical-align:middle;
  background-color: #663399; 
  overflow-x: hidden; /* Disable horizontal scroll 
  padding-top: 1px;
} 
 /* The navigation menu links 
#submenu a { float: left;  width:16%; vertical-align:middle;
  padding: 3px 4px 6px 3px;
  text-decoration: none;
  font-size: 0.8em;
  color: #ffffff; border-bottom: 0px solid black;
  display: block;
}

/* When you mouse over the navigation links, change their color 
#submenu a:hover {   background-color: #111; color: #7899ff;   }
#submenu a.active {
  background-color: #fff;   font-weight: bold; height:100%;
  color: #000;
}
*/
/* Style page content */
.main {
  margin-left: 160px; /* Same as the width of the sidebar */
  padding: 0px 10px;
}
.pagetitle { border-bottom: 2px black solid; text-align:center; }
.toplink { clear:both; float:right; color:black; font-style:italic; font-size:0.9em;}
#maincontents { float:left;width: 100%;  padding-left: 5px; text-align: left;}
/* On smaller screens, where height is less than 450px, change the style of the sidebar (less padding and a smaller font size) */
#ima1top { padding-top:20px; display: block; width:90%;
  margin-left: auto;
  margin-right: auto;
}

.im2int {  clear: both;  padding-left:0px; padding-bottom:2px;  display: block; 
         width:80%;            margin-left: 10%;   margin-right: 10%;
}

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}
    
/*  ..............................................................................
  table style
.............................................................................  */
#bbceng {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

#bbceng td, #bbceng th {
  border: 1px solid #ddd;
  padding: 8px; vertical-align: top;
}

#bbceng tr:nth-child(even){background-color: #f2f2f2;}

#bbceng tr:hover {background-color: #ddd;}

#bbceng th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #663399;
  color: white;
}    
/* form formatting for password and username input  */

input[type=text] {   width: 99%;   padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}

label {
  padding: 12px 12px 12px 0;
  display: inline-block;
}

input[type=submit] {
  background-color: #04AA6D;
  color: white;
  padding: 12px 20px; width: 100%;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
input[type=reset] { display:none;
  /*  background-color: #04AA6D; margin-left:20px;
  color: white;
  padding: 12px 20px;  width: 100%;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: right;  */
}
input[type=submit]:hover {
  background-color: blueviolet;
}
input[type=reset]:hover {
  background-color: black;
}

.container { background-color: #663399; color:white; margin-left:20px; margin-right:20px;
  border-radius: 5px;
  /* background-color: #f2f2f2; */
  padding: 20px; border:5px solid purple;
}

/* Floating column for labels: 25% width */
.col-25 {
   width: 100%;  margin-top: 6px; 
}

/* Floating column for inputs: 75% width */
.col-75 {
  width: 100%;   margin-top: 6px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

