/* ---------------------------------------------------------------------------
   Mobile consultant app (app.franservesupport.com) stylesheet.

   THIS is the copy the .NET pages under /dotnet/webapp/* load, and the one to
   edit. It sits here with the other stylesheets rather than in webapp/css/ so
   the mobile pages are not reaching into the classic tree for their chrome.

   webapp/css/styles-app.css is a COPY, kept only because the classic
   webapp/*.asp pages still load it by that path. Until those are retired, a
   change made here has to be made there too.

   The two differ in exactly one way, and only because they sit at different
   depths: background images resolve relative to the stylesheet's own folder,
   so what is ../../images/ in webapp/css/ is ../images/ here.

   The three url(images/...) references below are left as they are. They point
   at a folder that does not exist from either location, so those backgrounds
   have never rendered - fixing them would be a visible change, not a port.
   --------------------------------------------------------------------------- */

@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css);

/******* Containers/Structure ******/

body{
  margin: 0;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  
  line-height: 1.6em;
  background-color: #FFFFFF;
  color: #333333;
}
header{
  border-bottom: 2px solid #ba9855; /*golden*/
  padding-bottom: 5px;
  background-color: #f8f3e6; /*beige*/
  background-image: linear-gradient(to bottom left, #d4c096, #ffffff);
}
.header-btn{
  float: left; padding: 17px 0 0 10px; font-size: 2em;
}
.brand{
  padding-top: 11px; 
  width: 91px; max-width: 100%;
}
footer{
  position: fixed; 
  left: 0; 
  bottom: 0; 
  width: 100%; 
  height: 40px; 
  background-color: #f4f4f4; 
  border-top: 1px solid #999999;
  vertical-align: middle;

}
.main-container{
  clear: both; 
  padding: 64px 10px 40px 10px;
  box-sizing: border-box;
}
.main-container img{
  max-width: 100%;
}
.subheader{
  position: fixed; 
  top: 64px;
  width: 100%;
  height: 160px;
  background-color: #fff;
  padding: 0 10px;
  
  z-index: 0;
  box-sizing: border-box;
  box-shadow: 0px 1px 2px #e4e4e4;
}
.subheader2{
  position: fixed; 
  top: 64px;
  width: 100%;
  height: 40px;
  background-color: #fff;
  padding: 11px;
  
  z-index: 0;
  box-sizing: border-box;
  box-shadow: 0px 1px 2px #e4e4e4;
  text-align: center;
}
.details-container2{
  padding-top: 104px;
}


.details-container{
  padding-top: 160px;
}
.a-z{
  position: fixed;
  top: 150px;
  right: 0px;
  width: 25px;
  font-size: 0.8em;
  
  
  background-color: rgba(255, 255, 255, 0.5);
  text-align: center;

}
.longtextbox{
  height: 300px; 
  width: 100%; 
  overflow: auto; 
  border: 1px solid #aaaaaa; 
  padding: 15px;
  margin-bottom: 15px;
}



.col-67{
  width: 67%;
  float: left;
  box-sizing: border-box;
  padding-right: 0px;
}
.col-33{
  width: 33%;
  float: left;
  box-sizing: border-box;
}
.col-25{
  width: 25%;
  float: left;
  box-sizing: border-box;
  padding: 0px;
}
.btn-choice{
  width: 100%;
  border: none;
  
  background: none;
  padding: 8px;
  border-radius: 5px;
  font-weight: bold;
  color: #004d95;
  
}
.btn-selected, .btn-selected2{
  background-color: #e7f3fe;
}
.blue-border{
  border: 1px solid #004d95;
   margin: 8px 0;
   border-radius: 5px;
}
.col-50{
  width: 50%;
  float: left;
  box-sizing: border-box;
}
.col-34{
  width: 34%;
  float: left;
}
.col-80{
  width: 80%;
  float: left;
}
.col-20{
  width: 20%;
  float: left;
  box-sizing: border-box;
  padding: 0 10px;
  text-align: center;
}
.col-20 img{
  width: 100%;
  box-sizing: border-box;
  max-width: 50px;
  background-color: #f8f3e6;
  border-radius: 50%;
  border: 1px solid #ba9855;
  padding: 5px;
}
.col-16{
  width: 16%;
  float: left;
}
.col-17{
  width: 17%;
  float: left;
}
.progress-bar{
  background-color: #e4e4e4;
  height: 30px;
  border: 1px solid #ffffff;
  box-sizing: border-box;
}
.progress-bar-caption{
  font-size: .8em; line-height: 1.2em;
  text-align: center;
}

.item{
  padding: 10px 0px;
  border-bottom: 1px solid #999999;
  font-weight: bold;

}
.element{
  margin-bottom: 10px;
}
.expandable{
  display: none;

}
.expanded{
  display: block;
  padding: 10px 10px 10px 23px;
   border-bottom: 1px solid #999999;
   line-height: 1.6em;
   transition: all 2s;
   box-sizing: border-box;
  
}
.expanded-item{
  line-height: 1.6em;
}
.expanded select, .expanded-item select{
  width: 100%;
}
.expandable-title{
  padding: 10px 0px 10px 5px;
  border-bottom: 1px solid #999999;
  font-weight: bold;
  font-size: 1.2em;
  
  z-index: 1;
  
}
.expandable-title:before{
  
  content: "\f054 ";
  
    font-family: "FontAwesome";
    top: 0;
    padding-top: 10px;
    padding-right: 10px;
    left: 0;
    color: #ba9855;
    z-index: 1;
}
.expanded-title{
  padding-left: 3px;
  
  border: none;
}
.expanded-title:before{
  
  content: "\f078";
  
    font-family: "FontAwesome";
    top: 0;
    padding-top: 10px;
    padding-right: 10px;
    left: 0;
    color: #ba9855;
}
.highlighted{
  background-color: #f8f3e6;
}
.highlighted-bonus{
  background-color: #004d95;
  color: #ffffff;
  text-transform: capitalize;
  text-align: center;
  border: none;

}
.highlighted-bonus:before, .highlighted-main:before{
  content: "";
}
.highlighted-main{
  text-align: center;
  background-color: #f8f3e6;
  border: none;
  box-shadow: 0 1px 2px #cccccc;
  margin: 10px 0;
}
.bordered{
  border: 2px solid #004d95;
  padding: 0;
}
.highlighted2{
  background-color: #e7f3fe;
  border-bottom: 1px solid #999999;
}
.icon-main{
  height: 25px; 
  padding: 0;
}
.icon-home{
  height: 35px; 
  margin:5px;
}
.stand-out{
  font-weight: bold;
  font-size: 1.1em;

}

.center{
  text-align: center;
}
.text-left{
  text-align: left;
}
.text-right{
  text-align: right;
}

.form-label{
  padding: 10px 0;
  clear: both;
  font-weight: bold;
}



.clear{
  clear: both;
}


a:visited {
	color: #ba9855;
}
a:link {
	color: #004d95;
}
h1 {
  font-size: 2em;
  padding: 10px 0;
  font-weight: bold;
  line-height: 1.4em;

}
h2 {
  font-size: 1.6em;
  padding: 8px 0;
  font-weight: bold;
  margin: 0;

}
h3{
  margin: 20px 0 10px 0;
}
.RightColumnFont {

	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	line-height: 16px;
	white-space: nowrap;
}

a:hover {
	color: #FF6600;
}
ul {
  list-style-type: none;
  padding: 8px 5px;
  margin: 0px;
}

ul li {
  background-image: url(../images/bullet-point.png);
  background-size: 8px 9px ;
  background-repeat: no-repeat;
  background-position: 0px 5px;
  padding-left: 18px;
}

a{
  text-decoration: none;
}

#menu {
margin: 0 0 0px 0;
padding: 0;
font-size: 0.9em;

}

#menu ul {	
list-style: none;
margin: 0 0 0px 0px;
padding: 0;
font-size: 1.1em;
}	

#menu li {
  background-image: none;
//float:left;
  background-position: 0px 0px;
  padding-left: 0px;
  display: inline-block;
}
#menu li a {
font-weight: normal;
height: 20px;
text-decoration: none;
color: #ffffff;
padding: 8px 8px;
margin: 0 0px;

border-left: 0px solid #67b8ff;
border-right: 1px solid #5086b4;
float:left;
  /*border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-top: 0px solid #ffffff;
  border-left: 0px solid #ffffff;
  border-right: 0px solid #ffffff;
  border-bottom: 0px solid #cdd5df;*/
}	
	
#menu li a:hover, #menu li .active {
color: #ffffff;
background: #00529b;
border-left: 0px solid #67b8ff;
border-right: 1px solid #5086b4;
  /*border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border: 0px solid #ffffff;
  border-bottom: 0px solid #999999;*/
}


/*#toggle {
  position: absolute;
  right: 20px;
  top: 15px;
  z-index: 999;
  width: 35px;
  height: 35px;
  cursor: pointer;
  float: right;
  transition: all 0.3s ease-out;
  visibility: hidden;
  opacity: 0;
}*/
#toggle {
  
  padding-top: 15px;
  z-index: 999;
  width: 35px;
  height: 35px;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease-out;
  visibility: hidden;
  opacity: 0;
}

#toggle .span {
  width: 35px;
  height: 3px;
  background: #004d95;
  margin: 6px auto;
  backface-visibility: hidden;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -ms-transition: all 0.2s;
  -o-transition: all 0.2s;
  -transition: all 0.2s;
}

#toggle.on #one {
  transform: rotate(45deg) translateX(3px) translateY(3px);
}

#toggle.on #two {
  opacity: 0;
}

#toggle.on #three {
  transform: rotate(-45deg) translateX(8px) translateY(-12px);
}

#resize {
  z-index: 1000;
  position: fixed;
  top: 64px;
  
  background: rgb(248, 243, 230);
  border-bottom: 2px solid #ba9855;
  box-shadow: 0 1px 4px #cccccc;
  width: 100%;
  
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease-out;
  display: table;
  box-sizing: border-box;
}

#resize #menu2 {
  
  display: table-cell;
  vertical-align: middle;
  padding-left: 0;
}

#resize #menu2 li {
  display: block;
  text-align: center;
  padding: 15px 0px 5px 0;
  text-align: center;
  font-size: 1.6em;
  min-height: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease-out;
}


#resize #menu2 li:hover a {
  color: #FF6600;
  transition: all 0.3s ease-out;
}

#resize #menu2 li a {
  color: #333333;
}
#resize #menu2 li.submenu{
  font-size: 1.2em;
  font-weight: normal;
  
  padding: 6px 0;
  min-height: 0;
}
#resize #menu2 li a:hover {
  color: #FF6600 ;
}

#resize.active {
  visibility: visible;
  opacity: 1;
  z-index: 1000;
}


  #toggle {
    visibility: visible;
    opacity: 1;
  }
  nav #menu {
    display: none;
  }

  header {
    position: fixed;
    width: 100%;
  }

  header, nav{
    height: 64px;
    box-sizing: border-box;
    padding-top: 0;

  }
  nav #brand{
    display: none;
  }
  nav #brand-mobile{
    display: inline-block;
    height: 64px;
  }
  nav #brand-mobile img{
    padding-top: 15px;
    height: 34px;
  }
  .banner1{
  
  background-size: 800px;
  height: 180px; 
  
  }
  .banner1:after {
  
  height: 180px;
  
  }

.widget-title{
  font-weight: bold;
}
.widget-gold{
  border: 1px solid #ba9855;
  padding: 15px;
  border-radius: 5px;
}


.mainpage tr td .widget, .mainpage tr td .widget-title{
  border: none;
}
.mainpage tr td {
  padding: 0px;
  border-radius: 5px; 
}
.powersearch{
	position:fixed;
	left:2px;
	top:282px;
	width: 125px;
}
.clearsearch{
	position:fixed;
	left:2px;
	top:320px;
	width: 125px;
}
.btn, .btn-white, .btn-sm {
  color: #ffffff;
  font-weight: bold;
  background-color: #004d95;
  border-radius: 5px;
  border: none;
  padding: 6px 12px;
  width: 100%;
  
  height: auto;
  cursor: pointer;
  
}
.btn-1-2, .btn-grey-1-2{
  color: #ffffff;
  font-weight: bold;
  background-color: #004d95;
  border-radius: 5px;
  border: none;
  padding: 6px 12px;
  width: 50%;
  height: auto;
  cursor: pointer;
  box-sizing: border-box;
}
.btn-grey-1-2{
  background-color: #bbbbbb;
  float: right;
}
.btn-gold {
  color: #333333;
  font-weight: bold;
  background-color: #916B1E;
  background-image: url(../images/bg_widtitle.png);
  background-position: center -20px;
  border: 0px solid;
  border-color: #666666;
  border-radius: 5px;
  padding: 6px 12px;
  margin-bottom: 0;
  height: auto;
  cursor: pointer;
}
.btn-gold:hover,
.btn-gold:focus,
.btn-gold:active,
.btn-gold.active,
.open .dropdown-toggle.btn {
  background-color: #d5c49e;
  border-color: #999999;
  background-image: none;
}

.modal .btn{
	padding: 12px;
	font-size: 1.3em;
	margin-bottom: 20px;
}
.btn-sm {
  width: auto;
}

.btn-white{
  /*blue*/
  color: #004d95;
  
  background-color: #ffffff;
  border: 1px solid #004d95; 
  border-radius: 5px;
  padding: 6px 12px;
  font-size: .85em;
}
.btn:hover,
.btn:focus,
.btn:active,
.btn.active,
.open .dropdown-toggle.btn {
  background-color: #00529b;
  border-color: #999999;
  background-image: none;
}
a.btn,.btn a:link, .btn a:visited{
  color: #ffffff;
  text-decoration: none;
}

.btn-home{
  background-color: #ffffff;
  border: 2px solid #ba9855;
  box-shadow: 0px 1px 2px #ba9855;
  text-align: center;
  width: 100%;
  padding: 10px;
  
  box-sizing: border-box;
  border-radius: 10px;
  font-size: 1.3em;
  text-transform: uppercase;
  height: 100px;
  display: table-cell;
  vertical-align: middle;
}

.btn-grey {
  color: #444444;
  font-weight: bold;
  background-image: url(../images/bg_btngrey.png);
  border-radius: 5px;
  padding: 6px 12px;
  margin-bottom: 0;
  height: auto;
  border: none;
}
.btn-grey:hover,
.btn-grey:focus,
.btn-grey:active,
.btn-grey.active,
.open .dropdown-toggle.btn-grey {
  background-color: #bfbfbf;
  background-image: none;
  
}
.btn-link{
  border: none;
  background-color: #ffffff;
  
  text-decoration: none;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  cursor: pointer;
}
.btn-delete{
  color: #ff0000;
}
.btn-footer{
  background-color: #004d95;
  color: white;
  height: 40px;
  width: 100%;
  cursor: pointer;
  border: 1px solid #ffffff;
}
input {
  border-radius: 5px;
  border-color: #dddddd;
  margin: 5px 0px;
  
  border: 1px solid #ba9855;
  box-sizing: border-box;
  width: 100%;
}
input[type=file]{
  padding: 8px 8px;
  margin-bottom: 10px;
}
input[type=text],input[type=password],input[type=email] {
  height: 30px;
  padding: 0 0 0 5px;
  
  
}
input[type=checkbox]{
  width: auto;
}

input[type=submit] {
  color: #ffffff;
  font-weight: bold;
  background-color: #00529b;
  background-image: url(images/bg_titlefr.png);
  border: 0px solid;
  border-color: #666666;
  border-radius: 5px;
  padding: 6px 12px;
  margin-bottom: 0;
  height: auto;

}
input[type=submit]:hover {
  background-color: #00529b;
  border-color: #999999;
  background-image: none;
}
input[type=radio]{
  width: 30px;
}
select {
  border-radius: 5px;
  height: 30px;
  padding: 3px;
  border: 1px solid #ba9855;
  margin: 5px 0px;
  width: 100%;
}
textarea {
  border-radius: 5px;
 
  margin: 1px 0;
  box-shadow: 0px 0 0 0 inset;
  border: 1px solid #ba9855;
  padding: 5px;
  width: 100%;
   margin: 5px 0px;
}
/* The footer bar of selects on the candidate list. The classic clients.asp gives all three
   the same id="category", so the .NET page at /webapp/clients uses .footer-select instead -
   same rules, one element per id. Keep both selectors until clients.asp is retired. */
#category,
.footer-select{
  background-color: #004d95;
  color: #ffffff;
  height: 40px;
  width: 100%;
  cursor: pointer;
  border: 1px solid #ffffff;
  padding: 0 0 0 5px;
  margin: 0 auto !important;
  border-radius: 0 !important;
  text-align: center !important;
  text-align-last: center !important;  
  -moz-appearance: none !important;
  -webkit-appearance: none !important;
   -ms-appearance: none !important;
         -o-appearance: none !important;
            appearance: none !important;
}
#category::-ms-expand,
.footer-select::-ms-expand {
    display: none;
}

.dynamicForm label.shortlbl, .dynamicForm label.midlbl, .dynamicForm label.longlbl{
  width: 120px;
  display: inline-block;
  font-weight: bold;
  text-align: right;
}
.dynamicForm label.longlbl{
  width: 320px;
  text-align: left;
  
}
.dynamicForm label.midlbl{
  width: 150px;
}
.dynamicForm input[type=text], .dynamicForm select{
  width: 200px;
  margin: 4px 0;
}
.dynamicForm input[type=text].midinputtext{
  width: 170px;
}
.dynamicForm input[type=text].longinputtext{
  width: 320px;
  margin: 0px 0 8px 0;
}

table.frlist {
}
table.frlist tr:nth-child(even){
  background: #eeeeee;
}
table.frlist tr:first-child{
  color: #ffffff;
  text-align: center;
  font-weight: bold;
}
table.frlist tr:first-child td:first-child {
  border-radius: 5px 0 0 0 !important;
  background-image: url(images/bg_tablehdr.png);
}
table.frlist tr:first-child td:last-child {
  border-radius: 0 5px 0 0 !important;
  background-image: url(images/bg_tablehdr.png);
}
table.frlist tr:first-child td {
  background-image: url(images/bg_tablehdr.png);
  font-size: 13px;
  text-align: center;
}
table.frlist tr:last-child td {
  border-bottom: 1px solid #eeeeee;
}
table.frlist tr:last-child td:first-child {
  border-radius: 0 0 0 5px !important;
}
table.frlist tr:last-child td:last-child {
  border-radius: 0 0 5px 0 !important;
}
table.frlist td:first-child {
  border-left: 1px solid #eeeeee;
}
table.frlist td:last-child {
  border-right: 1px solid #eeeeee;
}
table.frlist tr:first-child td:first-child {
  border-left: none;
}
table.frlist tr:first-child td:last-child {
  border-right: none;
}

table.simple_table tr:nth-child(odd){
  background: #eae0c8;
}
table.simple_table tr:first-child{
  
}
table.simple_table tr:first-child td:first-child {
  border-radius: 5px 0 0 0 !important;
  
}
table.simple_table tr:first-child td:last-child {
  border-radius: 0 5px 0 0 !important;
  
}
table.simple_table tr:first-child td {
  
  
}
table.simple_table tr:last-child td {
  border-bottom: 1px solid #eeeeee;
}
table.simple_table tr:last-child td:first-child {
  border-radius: 0 0 0 5px !important;
}
table.simple_table tr:last-child td:last-child {
  border-radius: 0 0 5px 0 !important;
}
table.simple_table td:first-child {
  border-left: 1px solid #eeeeee;
}
table.simple_table td:last-child {
  border-right: 1px solid #eeeeee;
}
table.simple_table tr:first-child td:first-child {
  border-left: none;
}
table.simple_table tr:first-child td:last-child {
  border-right: none;
}


table.candidate{
}
table.candidate tr:first-child td:first-child {
  border-radius: 5px 0 0 0 !important;
  background-image: url(images/bg_widtitle.png);
  color: #333333;
  border-left: 1px solid #eae0c8;
  border-top: 1px solid #eae0c8;
}
table.candidate tr:first-child td:last-child {
  border-radius: 0 5px 0 0 !important;
  background-image: url(images/bg_widtitle.png);
  color: #333333;
  border-right: 1px solid #eae0c8;
  border-top: 1px solid #eae0c8;
}
table.candidate tr:first-child td {
  background-image: url(images/bg_widtitle.png);
  color: #333333;
  border-top: 1px solid #eae0c8;
}
table.frlist2 {
}
table.frlist2 tr:first-child + tr {
  color: #ffffff;
  text-align: center;
  font-weight: bold;
}
table.frlist2 tr:first-child + tr td:first-child {
  border-radius: 5px 0 0 0 !important;
  background-image: url(images/bg_tablehdr.png);
}
table.frlist2 tr:first-child + tr td:last-child {
  border-radius: 0 5px 0 0 !important;
  background-image: url(images/bg_tablehdr.png);
}
table.frlist2 tr:first-child + tr td {
  background-image: url(images/bg_tablehdr.png);
}
table.frlist2 tr:last-child td:first-child {
  border-radius: 0 0 0 5px !important;
}
table.frlist2 tr:last-child td:last-child {
  border-radius: 0 0 5px 0 !important;
}

table.plprocess {
}
table.plprocess tr:first-child + tr {
  color: #ffffff;
  text-align: center;
  font-weight: bold;
}
table.plprocess tr:first-child + tr td:first-child {
  border-radius: 5px 0 0 0 !important;
  background-image: url(images/bg_tablehdr.png);
}
table.plprocess tr:first-child + tr td:last-child {
  border-radius: 0 5px 0 0 !important;
  background-image: url(images/bg_tablehdr.png);
}
table.plprocess tr:first-child + tr td {
  background-image: url(images/bg_tablehdr.png);
}
table.plprocess tr:last-child td:first-child {
  border-radius: 0 0 0 5px !important;
}
table.plprocess tr:last-child td:last-child {
  border-radius: 0 0 5px 0 !important;
}
table.plprocess tr:last-child td:first-child {
  background-color: #eeeeee;
}
table.plprocess tr:last-child td:last-child {
  background-color: #eeeeee;
}
table.plprocess tr:last-child td:first-child + td {
  border-bottom: 1px solid #eeeeee;
}

.imgright {
  float: right;
  padding: 0px 0 5px 15px;
}
.imgleft {
  float: left;
  padding: 0px 15px 5px 0;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    padding-top: 0px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ higher opacity for darker overlay */
}

/* Modal Content - Remove white background and borders */
.modal-content {
    z-index: 9999; /* Sit on top */
    background: transparent; /* Remove white background */
    margin: 0; /* Remove margins */
    padding: 0; /* Remove padding */
    border: none; /* Remove border */
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    display: flex; /* Use flexbox for centering */
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
}

/* The Close Button - Make it more visible against dark background */
.close {
    color: #ffffff;
    position: absolute; /* Position absolutely */
    top: 20px; /* Distance from top */
    right: 30px; /* Distance from right */
    font-size: 40px; /* Larger for better visibility */
    font-weight: bold;
    z-index: 10000; /* Above everything else */
}

.close:hover,
.close:focus {
    color: #cccccc; /* Light gray on hover */
    text-decoration: none;
    cursor: pointer;
}

#wrapper {
    min-width: auto; /* Remove fixed width */
    min-height: auto; /* Remove fixed height */
    display: flex;
    flex-direction: row;
    justify-content: center; /* Center the content */
    align-items: center;
    max-width: 95vw; /* Limit to 95% of viewport width */
    max-height: 95vh; /* Limit to 95% of viewport height */
    position: relative; /* For positioning nav buttons */
}

#wrapper img {
    max-width: 90vw; /* 90% of viewport width */
    max-height: 90vh; /* 90% of viewport height */
    width: auto;
    height: auto;
    object-fit: contain; /* Maintain aspect ratio */
}

/* Style the navigation buttons - fixed positioning relative to viewport */
.btn-modal {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
    position: fixed; /* Fixed position relative to viewport */
    top: 50%; /* Center vertically in viewport */
    transform: translateY(-50%); /* Perfect vertical centering */
    z-index: 10001; /* Above image */
}

.btn-modal:hover {
    background: rgba(255, 255, 255, 1);
}

/* Position previous button on the left side of viewport */
.btn-modal:first-child {
    left: 20px;
}

/* Position next button on the right side of viewport */
.btn-modal:last-child {
    right: 20px;
}



.row{
  padding-right: 8px; 
  padding-top: 12px;
  clear: both;
}
.success {
  color: #009944;
}

.icon-pen{
  width:24px;
  height: 24px;
  margin-bottom: -2px; 
  margin-left: 4px;
  

}
.icon-delete{
  width: 24px; height: 24px; float: right;border-radius: 50%; border: 1px solid #004d95; 
}
.divider{
  margin-top: 10px; border-top: 1px dotted #ba9855; width: 100%;
  margin-bottom: 10px;
}

.expandable table, .expandable tr, .expandable td, .expandable tbody, .expandable th, .expandable thead, .expandable tfoot, .expandable caption {
  display: block !important;

  width: 100% !important;
  font-size: 14px;
  line-height: 1.6em;
  box-sizing: border-box;
} 
#clients:before{
  content: ' \f0c0 '; font-family: 'FontAwesome'; color: #333333;
  padding-left: 10px;
  font-size: 40px;
}

/********************************************************************
*********************** Fonts & alignments **********************
*********************************************************************/
.font-red{
  color:  red;
}
.font-green{
  color:  green;
}
.font-normal{
  font-weight: normal;
}
.bg-green-highlight{
  background-color: #00ff00;
}

.center{
  text-align:  center;
}

/* ---------------------------------------------------------------------------
   .NET mobile pages (_WebappLayout)

   These used to live in a <style> block inside the layout, which put them AFTER
   this file in the cascade - so the .main-container img rule below outranked
   .col-20 img at equal specificity and blew the candidate-hub action icons up
   to the full column width. They belong here, in source order with everything
   else. Note .main-container img is already defined near the top of this file;
   it is not repeated.

   Deliberately no "height: auto" anywhere here: a CSS height beats an img
   height= attribute, which would blow up the height="32" social icons on Main.
   --------------------------------------------------------------------------- */

/* Layout-table cells drop to a single column on a phone. LAYOUT tables only -
   never one whose cells mean nothing without their row. */
table.stack-cells,
table.stack-cells tbody,
table.stack-cells tr,
table.stack-cells td {
  display: block;
  width: 100% !important;
  box-sizing: border-box;
  padding-left: 0;
  padding-right: 0;
}
table.stack-cells td {
  padding-bottom: 10px;
}
/* Grid padding cells - a row short of a full set - would otherwise stack as blank blocks. */
table.stack-cells td:empty {
  display: none;
}

/* For a table that is really a row of small chips (the glossary A-Z bar): let it
   wrap rather than stack, so 26 letters stay a couple of lines instead of 26. */
table.wrap-cells,
table.wrap-cells tbody {
  display: block;
}
table.wrap-cells tr {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
table.wrap-cells td {
  display: inline-block;
}

/* Column headings that only make sense beside their columns. !important because the element
   is usually a row inside a stack-cells table, and table.stack-cells tr { display: block }
   out-specifies a bare class. */
.hide-on-mobile {
  display: none !important;
}

/* The round action icons in a candidate's subheader - mail, call, schedule,
   journal, edit. Sized here rather than inherited from .col-20 img so the row
   can be laid out however it needs to be without the icons changing size. */
.icon-action {
  width: 50px;
  max-width: 50px;
  box-sizing: border-box;
  background-color: #f8f3e6;
  border-radius: 50%;
  border: 1px solid #ba9855;
  padding: 5px;
}

/* The mobile header bar, previously inline style= attributes in _WebappLayout.
   .app-nav is the wrapper around the four nav cells; it narrows to make room for
   the back caret when a page asks for one (ViewData["WebappBackUrl"]). */
.app-nav {
  width: 100%;
  box-sizing: border-box;
}
.app-nav-back {
  float: left;
  width: 10%;
}
.app-nav-back + .app-nav {
  float: right;
  width: 90%;
}
.app-nav-cell {
  width: 25%;
  float: left;
  height: 62px;
  text-align: center;
  border-right: 1px solid #ffffff;
  box-sizing: border-box;
}
/* The two icon cells only - the logo carries .brand, which sizes it by width, and a
   max-height here would shrink it. Matches what the inline styles used to do. */
.app-nav-cell img:not(.brand) {
  max-height: 40px;
  padding-top: 11px;
}

/* #toggle's own rule sizes the hamburger itself (35x35). The classic markup beat that with an
   inline width/height to make the whole cell a quarter of the bar; now that the cell is a class,
   the ID rule outranks it and the toggle collapses to 35px at the left of its quarter. Re-assert
   the cell size here. */
#toggle.app-nav-cell {
  width: 25%;
  height: 62px;
}

/* Top padding that clears the fixed chrome. One class per page shape, because the .NET layout
   puts them on the SAME div as .main-container rather than nesting.

   .app-container            - header only (64px) + breathing room.
   .app-container-details    - header + the 160px candidate subheader. The classic page nested
                               .details-container inside .main-container so the two paddings
                               ADDED (64 + 160); on one div the class has to carry the total.
   .details-container2       - header + a 40px action bar. Classic used it on one div already,
                               so its 104px is right as-is and it is reused unchanged. */
.app-container {
  padding-top: 85px;
}
.app-container-details {
  padding-top: 224px;
}

/* Toggle button groups - copied verbatim from css/styles.css so the pick-one bars on the
   dual-routed pages (ManageTodo and friends) look the same on both surfaces. Keep the two copies
   in step: if one changes, change the other. */
.btn-toggle-group { display: inline-flex; gap: 0; }
.btn-toggle-group .btn-toggle {
  padding: 8px 20px;
  border: 1px solid #999;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  transition: background 0.15s, color 0.15s;
}
.btn-toggle-group .btn-toggle:first-child { border-radius: 5px 0 0 5px; }
.btn-toggle-group .btn-toggle:last-child { border-radius: 0 5px 5px 0; }
.btn-toggle-group .btn-toggle:not(:first-child) { border-left: none; }
.btn-toggle-group .btn-toggle.active {
  background: #004d95;
  color: #fff;
  border-color: #004d95;
}
.btn-toggle-group .btn-toggle:hover:not(.active) {
  background: #eee;
}

/* Brand names in the mobile brand lists (portfolio, favourites). Goes on a span around the name
   only - the row also carries notes previews and "**Resales ONLY" style notes, which stay as
   written. Uppercased in CSS rather than in the markup so the DOM keeps the real name: the search
   box filters on textContent, and the A-Z rail is built from the value the query ordered by. */
.brand-name {
  text-transform: uppercase;
}

/* Star / heart markers on the brand lists and the brand page. Lifted from css/styles-zornotes.css
   rather than linking that stylesheet here: the brand LISTS need nothing else from it, and it
   otherwise carries the whole zor-notes widget. /webapp/franchise does link it (it uses the notes
   widget), which redefines these two to the same values - keep them in step. */
.icon {
  height: 25px;
  margin-left: 7px;
  margin-bottom: -5px;
  cursor: pointer;
}
.icon-sm {
  height: 17px;
  margin-left: 3px;
  margin-bottom: -2px;
}
