/*My custom CSS*/

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 20px;
    color: #333;
}

/*Description du site*/
.container-header .site-description {
  padding-top : 10px ;
  padding-left : 10px ;
}

/*search*/
div.mod_search93 input[type="search"] {
  background-color:white;
}


/*Images*/
.left.item-image {
  float: left;
  padding : 10px 10px 10px 10px ;
}

.img-center{
    display: block;
    margin-left: auto;
    margin-right: auto;
}


.img-right{
  float : right;
  padding : 10px 10px 10px 10px ;
}


/*Main menu*/

.container-header .metismenu > li.level-1 > ul {
  max-width: 250px;
  border: solid ;
  border-width: 1px;
  border-color: #d3dfe3;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  border-bottom-left-radius: 30px;
  
}

.metismenu.mod-menu .metismenu-item > a, .metismenu.mod-menu .metismenu-item > button {
  text-overflow: ellipsis;
  white-space: normal;
  text-decoration: none;
  overflow: hidden;
}

.metismenu.mod-menu .metismenu-item > a:hover{
background: #d3dfe3;

}




/*classe pour image centrée et à la taille du div*/
.fit_to_div{
margin-left: auto;
margin-right: auto;
width: 100%;

}


/*style pour module last article et most popular*/
.pasdepuce {
    list-style-type: none; 
    text-indent: 0px;

}
.pasdepuce> ul {
    margin:2px 2px 2px 0px;

}
.pasdepuce> li {
    margin:10px 10px;
    line-height: 20px;
    text-indent: 0;
}

/*titre H2 article*/
.page-header {
	margin: 40px 10px 5px 0px;
	padding-bottom: 0px;
}
/*bouton read more à droite*/
.readmore{
text-align: right;
}


/*menu haut*/
.nav > li > a:hover, a:focus {
    box-shadow: 0 1px 0 #fff;
    border-bottom: solid 1px #ddd;
    color: #002b41;
    text-decoration: none;
  	background: #d3dfe3;
    text-align: left;
}

/*module in this section*/

.nav-pills > li > a {
  padding-top: 8px;
  padding-bottom: 8px;
  margin-top: 2px;
  margin-bottom: 2px;
  border-radius: 5px;
  display: block;
  text-decoration: none;
  border-bottom: solid 1px #ddd;
}
.nav > li > a:hover, a:focus {
  box-shadow: 0 1px 0 #fff;
  color: #002b41;
  background: #d3dfe3;
  text-align: left;
}


/*module most popular*/

.mod-list > li > a {
  padding-top: 8px;
  padding-bottom: 8px;
  margin-top: 2px;
  margin-bottom: 2px;
  border-radius: 5px;
  display: block;
  text-decoration: none;
  border-bottom: solid 1px #ddd;
}
.mod-list > li > a:hover, a:focus {
  box-shadow: 0 1px 0 #fff;
  color: #002b41;
  background: #d3dfe3;
  text-align: left;
  text-decoration: none;
}

/*adexample*/

.adexample {
  border-color: red; 
  border-style:solid;
  border-width: 2px; 
  border-radius: 10px;
}

.well.adexample.page-header {
    margin: 0px 0px 5px 0px;
  background: #e0e4e7;
   box-shadow: 0 1px 0 #fff;
  border-bottom: solid 1px #ddd;
}


/*admodule "well"*/

.admodule {
  border-color: grey; 
  border-style:solid;
  border-width: 1px; 
  border-radius: 10px;
  text-align: right;
}

.well.admodule.page-header {
    margin: 0px 0px 5px 0px;
  background: #e0e4e7;
   box-shadow: 0 1px 0 #fff;
  border-bottom: solid 1px #ddd;
}




/*Début calculator (AC/DC voltage drop)*/
form {  
  background-color: #fafafa;  
  padding-top: 1%;  
  padding-right: 1%;  
  padding-bottom: 1%;  
  padding-left: 1%;  
  width: 100%;
}

legend {  
  color: #df3f3f;  
  font-weight: bold;
}

label {  
  margin-top: 10px;  
  display: block;
}

label.inline {  
  display: inline;  
  margin-right: 2px;
}

input, textarea, select, option {  
  background-color: #fafe72;
}

input.finalresult {  
  background-color: #def973;
}

input.result {  
  background-color: #def973;
}

input.compute {  
  background-color: #b9b9b9;
}

input, textarea, select {  
  padding-top: 3px;  
  padding-right: 1px;  
  padding-bottom: 3px;  
  padding-left: 1px;  
  border-top-width: 1px;  
  border-right-width: 1px;  
  border-bottom-width: 1px;  
  border-left-width: 1px;  
  border-top-style: solid;  
  border-right-style: solid;  
  border-bottom-style: solid;  
  border-left-style: solid;  
  border-top-color: #f5c5c5;  
  border-right-color: #f5c5c5;  
  border-bottom-color: #f5c5c5;  
  border-left-color: #f5c5c5;  -webkit-border-radius: 5px 5px 5px 5px;
  border-radius: 5px 5px 5px 5px;  
  width: 140px;  -webkit-box-shadow: 1px 1px 2px silver inset;
  box-shadow: 1px 1px 2px silver inset;
}

select {  
  margin-top: 1px;
}

input[type="radio"] {  
  background-color: transparent;  
  border-top-width: medium;  
  border-right-width: medium;  
  border-bottom-width: medium;  
  border-left-width: medium;  
  border-top-style: none;  
  border-right-style: none;  
  border-bottom-style: none;  
  border-left-style: none;  
  width: 10px;
}

input[type="submit"], input[type="reset"] {  
  width: 100px;  
  margin-left: 5px;  -webkit-box-shadow: 1px 1px 1px #d83f3d;
  box-shadow: 1px 1px 1px #d83f3d;  
  cursor: pointer;
}
.inlineblock1 {  
  display: inline-block;  
  margin-bottom: 30px;  
  vertical-align: top;
}

/*Slope calculator*/


.catsandstars {
  background-image:url("https://photovoltaic-software.com/images/nav/slope-roof-pitch-gradient.gif");
  background-color: transparent;
  width:358px;
  height:300px;
  border: 1px dashed black;
  position:relative;
  
}


.inputslope {
position: absolute;
top: 140px; left: 70px;
width:60px;
font-size:small;
padding-top: 1px;
padding-bottom: 1px;
line-height: 1.4em;
 
}
.inputslope1 {
position: absolute;
top: 164px; left: 70px;
width:60px;
font-size:small;
padding-top: 1px;
padding-bottom: 1px;
line-height: 1.4em;
}
.inputslope2 {
position: absolute;
top: 187px; left: 70px;
width:60px;
font-size:small;
padding-top: 1px;
padding-bottom: 1px;
line-height: 1.4em;
}
.inputrise {
position: absolute;
top: 120px; left: 290px;
color:blue;
width:60px;
font-size:small;
padding-top: 1px;
padding-bottom: 1px;
line-height: 1.4em;
}
.inputrun {
position: absolute;
top: 214px; left: 210px;
color:blue;
width:60px;
font-size:small;
padding-top: 1px;
padding-bottom: 1px;
line-height: 1.4em;
}
.inputtilted {
position: absolute;
top: 80px; left: 175px;
color:blue;
width:60px;
font-size:small;
padding-top: 1px;
padding-bottom: 1px;
line-height: 1.4em;
}
.labslope {
position: absolute;
top: 133px; left: 28px;
font-size:small;

}

.lab3 {
position: absolute;
top: 133px; left: 133px;
font-size:small;
}

.lab1 {
position: absolute;
top: 155px; left: 133px;
font-size:small;
}
.lab2 {
position: absolute;
top: 182px; left: 133px;
font-size:small;
}

.labrise {
position: absolute;
top: 112px; left: 255px;
font-size:small;
color:blue;
}

.labrun {
position: absolute;
top: 206px; left: 135px;
font-size:small;
color:blue;
}

.labtilted{
position: absolute;
top: 72px; left: 95px;
font-size:small;
color:blue;
}
.btncalculate{
position: absolute;
top: 260px; left: 60px;
font-size:large;
background-color:grey;
}
.btnerase{
position: absolute;
top: 260px; left: 200px;
font-size:large;
background-color:grey;
}


