html {
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
  height: 100vh; /* Avoid the IE 10-11 `min-height` bug. */
}
#wholepage2,
#wholepage-use {
  flex: 1 0 auto; /* Prevent Chrome, Opera, and Safari from letting these items shrink to smaller than their content's default minimum size. */
  padding: 0 0;
}
#footer {
  flex-shrink: 0; /* Prevent Chrome, Opera, and Safari from letting these items shrink to smaller than their content's default minimum size. */
  padding: 20px 0;
}


.toolsindex{
  background-image: url(images/bck_tools.jpg);
  background-repeat:  no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}



 




/************** TOOLS HEADERS ****************/




#tools-intro{
  margin-top: 100px;
}

#tools-intro h1{
  font-size:  70px;
  color: #fff;
  font-weight:  bold;
  text-align:  center;
  text-shadow: 0 0 5px #333;
  margin: 0;
  padding: 0;
}

.tools-separator{
  border-right: 1px solid #f09;
  padding: 0 10px 0 10px
}

a.about:link,
a.about:active,
a.about:visited{
  float: left;
  width: 29%;
}
a.about:hover{
  background-color: #333;
}

/************************* USE PAGE *******************************/

#wholepage-use{
  background-color: #ddd;
}

.useindex #use-sidebar-container {
    width: 100%;
    display: table;
}

.useindex #use-mobile-sidebar{
  display: none;
}
@media (max-width: 800px) {
#use .limit-1200{
  margin: 0 auto;
  padding: 0 0 30px 0;
}
}

#use{
  min-height:100vh;
  background-image: url(images/bck_use.jpg);
  background-repeat:  no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

#use h1,
#use-header h1{
  font-size: 50px;
  color: #fff;
  font-weight: bold;
  text-align: center;
  text-shadow: 0 0 5px #333;
  margin: 0 auto 20px auto;
  background-color: #f09;
  display: block;
  border-radius: 50%;
  height: 130px;
  width: 130px;
  line-height: 130px;
  position: relative;
  z-index: 9;
}
@media (min-width: 800px) {
  #use h1,
  #use-header h1{
    z-index: 1001;
  }
}

@media (max-width: 800px) {
#use-header h1{
  margin: 110px auto 20px auto;
  }
}

#use h2,
#use-header h2{
  font-size: 20px;
  color: #fff;
  font-weight: normal;
  text-align: center;
  text-shadow: 0 0 5px #333;
  margin: -53px auto 30px auto;
  max-width: 800px;
  width: 100%;
  line-height: 17px;
  position: relative;
  z-index: 9;
}
@media (min-width: 800px) {
#use h2,
#use-header h2{
  z-index: 1001;
  }
}


#wholepage-use h3{
  font-size: 65px;
  text-align: left;
  display: block;
  color: #fff;
  padding: 0;
  margin: 0 auto;
  position: relative;
  z-index: 9;
  text-align: center;
  text-shadow: 0 0 5px #333;
  line-height: 75px;
}
@media (max-width: 600px) {
#wholepage-use h3{
  font-size: 45px;
}
}


#usemenu{
  display: table;
  width: 100%;
}
#usemenu ul{
  display: table-cell;
  list-style-type:  none;
  list-style: none;
  margin:0;
  padding:0;
  width: 50%;
}

@media (max-width: 800px) {
  .useindex #usemenu ul{
    display: block;
    width: 100%;
  }
}



#usemenu ul li{
  display: block;
  list-style: none;
  list-style-type: none;
  padding: 0; 
  margin: 0;
}
#usemenu ul li a:link,
#usemenu ul li a:active,
#usemenu ul li a:visited{
  display: block;
  padding: 8px 20px;
  background-color: #333;
  color: #fff;
  margin: 20px 10px;
  border-left: 20px solid #ccc;
}
#usemenu ul li a:hover{
  background-color: #000;
  color: #f09;
}



/****************** USE PAGES - SUB PAGES *********************/



.sidebar{
    will-change: min-height;
}

.sidebar__inner{
    transform: translate(0, 0); /* For browsers don't support translate3d. */
    transform: translate3d(0, 0, 0);
    will-change: position, transform;
    background-color: none;
    padding: 0;
    margin: 0;
}
@media (max-width: 600px) {
.sidebar__inner{
  background-color: #ddd;
  padding: 10px 5% 10px 5%;
  margin: 0 -5% 0 -5% !important;
  z-index: 9999;
}
}


#use-header{
  padding: 10px 0 10px 0;
}


#use-mobile-sidebar{
  display: none;
}
@media (max-width: 600px) {
  #use-mobile-sidebar{
  display: block;
  background-color:  #333;
  padding: 8px;
  cursor: pointer;
  color: #fff;
  margin: 0 0 0 0;
  }
}

.usemenu-side-container{
  position:  relative;
  z-index: 9999;
  width: 28%;
  margin: 0 auto 0 auto;
  float: left;
}
@media (max-width: 600px) {
.usemenu-side-container{
  width: 100%;
  float: none;
}
}


 
.usemenu-side ul{
  display: block;
  list-style-type:  none;
  list-style: none;
  margin:0;
  padding:0;

}

@media (max-width: 600px) {
.usemenu-side #use-sidebar-container{
  height: 0;
  overflow: hidden;
  -webkit-transition: all 0.8s ease-in-out; 
  transition: all 0.8s ease-in-out; 
  -moz-transition: all 0.8s ease-in-out; 
  -o-transition: all 0.8s ease-in-out; 
  }
  .show-usemenu{
  height: 400px!important;
  margin-top: 10px;
  }
}

.usemenu-side ul li{
  display: block;
  list-style: none;
  list-style-type: none;
  padding: 0; 
  margin: 0;
}
.usemenu-side ul li a:link,
.usemenu-side ul li a:active,
.usemenu-side ul li a:visited{
  display: block;
  padding: 8px 20px;
  background-color: #333;
  color: #fff;
  margin: 0 10px 20px 0;
  border-left: 20px solid #f09;
}
.usemenu-side ul li a:hover{
  background-color: #000;
  color: #f09;
}

@media (max-width: 1000px) {
  .usemenu-side ul li a:link,
  .usemenu-side ul li a:active,
  .usemenu-side ul li a:visited{
    display: block;
    padding: 8px 10px;
    background-color: #333;
    color: #fff;
    border-left: 20px solid #f09;
    line-height: 20px;
    font-size: 17px;
    margin: 8px 10px 8px -12%;
  }
}

@media (max-width: 600px) {
  .usemenu-side ul li a:link,
  .usemenu-side ul li a:active,
  .usemenu-side ul li a:visited{
    margin: 0 0 10px 0;
  }
}




a.userl_active:link,
a.userl_active:visited,
a.userl_active:active{
  background-color: #000!important;
  color: #f09!important;
}

#wholepage-use .limit-1200 p{
  padding: 0 0 0 0;
  margin: 0 0 20px 0;
}

#wholepage-use .limit-1200 h4{
  font-size: 25px;
  margin: 0 0 10px 0;
  color: #777;
}

#wholepage-use .limit-1200 ul{
  list-style:  none;
  list-style-type: none;
  margin: 0 0 0 0;
  padding: 0;
}

.downloadsmenu{
  margin-bottom: 40px!important;
}

#userl_06::before, 
#userl_07::before, 
#userl_08::before{
  font-family: 'FontAwesome';
  content: "\f1c2";
  margin: 0 8px 0 8px;
  
}
#userl_06::after, 
#userl_07::after, 
#userl_08::after{
  font-family: 'FontAwesome';
  content: "\f0d7";
  margin: 0 8px 0 8px;
}


/*******************************************************/

.floatright70 ul li{
  list-style:  none;
  list-style-type: none;
  margin: 30px 0 10px 20px;
  padding: 0 0 0 20px;
  border-left: 10px solid #999!important;
}


.sub{
  list-style:  none;
  list-style-type: none;
  margin: 0 0 10px 50px!important;
  padding: 0 0 0 10px;
  border-left: 3px solid #999!important;
}

#wholepage-use h5{
  font-size: 20px;
  margin: 20px 0 10px 0;
  font-weight:  bold;
}

.floatright70{
  width: 70%;
  float: right;
}
@media (max-width: 600px) {
.floatright70{
  width: 100%;
  float: none;
  margin-top: 30px;
}
}

#wholepage-use hr{
  height: 1px;
  background-color: #999;
  border: 1px solid #999;
  margin: 40px 0;
}

.download-smaller{
  font-size: 12px;
  color: #ccc;
  line-height: 13px;
}

/****************** SOCIAL MEDIA *********************/


#social-media{
  color: #000;
  position: relative;
  z-index: 10;
}

.social-header{
  background-image: url(images/bck_social.jpg);
  background-position: bottom center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}



/**************** GRANT APPLICATIONS ********************/

.grant-application-header{
  background-image: url(images/bck_grantapplication.jpg);
  background-position: bottom center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

@media (max-width: 1200px) {
.grant-application-header{
  background-image: url(images/1200/bck_grantapplication.jpg);
}
}
@media (max-width: 800px) {
.grant-application-header{
  background-image: url(images/800/bck_grantapplication.jpg);
}
}

@media (max-width: 400px) {
.grant-application-header{
  background-image: url(images/400/bck_grantapplication.jpg);
}
}

/******************** FILES FORMATS *********************/

.calc-table {
  display: table; 
  border: 1px solid #f09;
  border-radius: 10px;
  font-size: 18px;
  line-height: 20px;
}
.calc-table-cell{
  display: table-cell; 
  padding: 15px 10px; 
  vertical-align: bottom;
  text-align: center;
}
#calculator input{ 
  border: 0px 
  solid #ccc; 
  border-radius: 5px; 
  padding: 5px; 
  margin-top: 6px;
  font-size: 14px;
  text-align: center;
  width: 51px;
}
#calculator .button{
  cursor: pointer;
  background-color: #222;
  color: #f09;
  padding: 5px 10px;
  font-size: 14px;
  width: 90px;
}

@media (max-width: 830px) {
  .calc-table {
    display: block;
  }
  .calc-table-cell{
    display: inline-block; 
    width: 45%;
    padding: 15px 2%;
    }
  .calc3,
  .calc4{
      width: 96%!important;
    }
}
@media (max-width: 380px) {
  .calc-table-cell{
    display: inline-block; 
    width: 96%;
  }
}

.result{
  font-weight:  bold;
  color: #f09;
  padding: 10px 0 0 0;
}
.pink{
  color: #f09;
}
#x,
#cmresult{
  color: #000;
}

.example{
  font-family: Arial, Helvetica, Sans-serif;
  color: #760040;
  font-size: 15px;
  font-style: italic;
}


/*************************** IMAGES **********/

.images-header{
    background-image: url(images/bck_image.jpg);
    background-position: bottom center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
@media (max-width: 1200px) {
.images-header{
    background-image: url(images/1200/bck_image.jpg);
}}
@media (max-width: 800px) {
.images-header{
    background-image: url(images/800/bck_image.jpg);
}}
@media (max-width: 400px) {
.images-header{
    background-image: url(images/400/bck_image.jpg);
}}


/************** VIDEOS ************/

.video-header{
    background-image: url(images/bck_video.jpg);
    background-position: bottom center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
@media (max-width: 1200px) {
.video-header{
    background-image: url(images/1200/bck_video.jpg);
}}
@media (max-width: 800px) {
.video-header{
    background-image: url(images/800/bck_video.jpg);
}}
@media (max-width: 400px) {
.video-header{
    background-image: url(images/400/bck_video.jpg);
}}
/************** PRFAQ ************/


.prfaq-header{
    background-image: url(images/bck_prfaq.jpg);
    background-position: bottom center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
@media (max-width: 1200px) {
.prfaq-header{
    background-image: url(images/1200/bck_prfaq.jpg);
}}
@media (max-width: 800px) {
.prfaq-header{
    background-image: url(images/800/bck_prfaq.jpg);
}}
@media (max-width: 400px) {
.prfaq-header{
    background-image: url(images/400/bck_prfaq.jpg);
}}
