/* Custom CSS */

body{
  font-size:16px;
}


.main-container {
  margin-top: 70px;
}

.carousel-inner img {
line-height: 1;
}

.carousel {
  margin-bottom: 1em;
  width:100%;
}

.dashboard {
  margin-bottom:1em;
}

.dashboard .row {
  margin-bottom:1em; 
}


#cv {
  -webkit-border-radius: 14px;
  border-radius: 14px;
  margin: auto;
  text-align: center;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 5px;
  margin: 30px auto 30px auto !important;
  display: block;
}

.container p img, .container-fluid p img {
  display: block;
  padding: 4px;
  line-height: 1;
  max-width: 100%;
  border: 1px solid #ddd;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
  -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
  margin-left: auto;
  margin-right: auto;
  margin-top: 15px;
  margin-bottom:15px;
  -webkit-border-radius: 14px;
  -moz-border-radius: 14px;
  border-radius: 14px;

}

legend { 
	margin:3px; 
	text-align:center;
	width:100%; 
	font-size: 14px; 
	border: 0px;   
	line-height: 18px;
	}

.pic {
  margin:3px; 
  text-align:center;
  width:100%;
  display: block;
  padding: 4px;
  width: 940px;
  line-height: 1;
 /*  border: 1px solid #ddd;
  -webkit-border-radius: 14px;
  -moz-border-radius: 14px;
  border-radius: 14px;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
  -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
  */
  margin-left: auto;
  margin-right: auto;
  margin-top:20px;
  margin-bottom:20px;
}
.jumbotron {
padding: 30px;
margin-bottom: 1.4em;

}

.documentation-link{
  margin-top: 10px;
}

.license-container {
      font-size: 0.5rem; 
      float: right;
      margin-right: 3rem;
      

}

footer .license img {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    margin-bottom:0;
    margin-top:0;
}

.license { 
/*      text-align: center;*/
      margin-bottom: 0.4rem;

     }
     

.license p{
    margin-bottom: 0;
}
.contact, .md-footer-social{ 
      font-size: 12px; 
      text-align: left;
     }
.contact p {
  margin-bottom: 0.6rem;
}

.md-footer-social__link{
  display:inline-block;
  width:1.5rem;
  height:1.5rem;
  font-size:1.2rem;
  text-align:center;
}
.md-footer-social__link:before{
  line-height:1.9
}
.md-footer-social{
  float:right
}
.md-footer-social{
  float:left}

.students_group{
  margin-bottom: 2rem;
}
.students_group ul{
  margin-bottom: 0.5rem;
}
.students_group .card-body {
  padding-bottom: 0.5rem;
  padding-top: 0.5rem;
}

/* CSS from Bootstrap website: */



/* Sticky footer styles
-------------------------------------------------- */

html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height + a 30px margin */
  margin-bottom: 170px;
}


footer {
  position: absolute;
  bottom: 0px;
  width: 100%;
  padding-top: 1rem;
  padding-bottom: 1rem;
}


/*  Fix iframe size
	From http://www.bymichaellancaster.com/blog/fluid-iframe-and-images-without-javascript-plugins/
	*/
	
.fluidMedia {
    position: relative;
    padding-bottom: 56.25%; /* proportion value to aspect ratio 16:9 (9 / 16 = 0.5625 or 56.25%) */
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.fluidMedia iframe {
    position: absolute;
    padding: 0px;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
}

/* List items for fa-ul */
.fa-ul li {
    margin-top: 1.5em;
}
[data-fa-i2svg] + span, .fa-li + span {
    margin-left: 1.5em;
}

/*
* Submenu support
*/
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
}

.dropdown-submenu >.dropdown-toggle::after {
    border-top: .3em solid transparent;
    border-right: .3em solid transparent;
    border-bottom: .3em solid transparent;
    border-left: .3em solid;
    right: 0px;
    top: 33%;
    position: absolute;
}


/*
 * Side navigation
 *
 * Scrollspy and affixed enhanced navigation to highlight sections and secondary
 * sections of docs content.
 */

/* By default it's not affixed in mobile views, so undo that */


ul.nav .main {
  font-weight: bold;
}

#toc-collapse > ul{
  width:100%;

}


.bs-sidebar.affix { /* csslint allow: adjoining-classes */
    position: static;
    margin-bottom: 20px;
}

.bs-sidebar.well { /* csslint allow: adjoining-classes */
    padding: 0;
    max-height: 90%;
    overflow-y: auto;
}

/* First level of nav */
.bs-sidenav {
    padding-top:    10px;
    padding-bottom: 10px;
    border-radius: 5px;
}

/* All levels of nav */
.bs-sidebar .nav > li > a {
    display: block;
    padding: 5px 20px;
    z-index: 1;
}
.bs-sidebar .nav > li > a:hover,
.bs-sidebar .nav > li > a:focus {
    text-decoration: none;
    border-right: 1px solid;
}
.bs-sidebar .nav > .active > a,
.bs-sidebar .nav > .active:hover > a,
.bs-sidebar .nav > .active:focus > a {
    font-weight: bold;
    background-color: transparent;
    border-right: 1px solid;
}

/* Nav: second level (shown on .active) */
.bs-sidebar .nav .nav {
    display: none; /* Hide by default, but at >768px, show it */
    margin-bottom: 8px;
}
.bs-sidebar .nav .nav > li > a {
    padding-top:    3px;
    padding-bottom: 3px;
    padding-left: 30px;
    font-size: 90%;
}

/*Media and video special*/
 
.project-video{
  margin-bottom: 2rem;
  margin-top: 2rem;
}


@media (min-width: 992px) {
    /* Workaround a Safari bug when zooming to < 100%
       https://github.com/mkdocs/mkdocs/issues/1050 */
    .col-md-9 {
        box-sizing: border-box;  /* csslint allow: box-sizing */
        padding-left: 15%;
        width: 100%;
    }
    .bs-sidebar .nav > .active > ul {
        display: block;
    }
    /* Widen the fixed sidebar */
    .bs-sidebar.affix, /* csslint allow: adjoining-classes */
    .bs-sidebar.affix-bottom { /* csslint allow: adjoining-classes */
        width: 300px;
    }
    .bs-sidebar.affix { /* csslint allow: adjoining-classes */
        position: -webkit-sticky;/* Undo the static from mobile first approach */
        position: sticky;
        top: 80px;
    }
    .bs-sidebar.affix-bottom { /* csslint allow: adjoining-classes */
        position: absolute; /* Undo the static from mobile first approach */
    }
    .bs-sidebar.affix-bottom .bs-sidenav, /* csslint allow: adjoining-classes */
    .bs-sidebar.affix .bs-sidenav { /* csslint allow: adjoining-classes */
        margin-top: 0;
        margin-bottom: 0;
    }
}
@media (min-width: 1200px) {
    /* Widen the fixed sidebar again */
    .bs-sidebar.affix-bottom, /* csslint allow: adjoining-classes */
    .bs-sidebar.affix { /* csslint allow: adjoining-classes */
        width: 300px;
    }
    .col-md-9 {
    padding-left: 10%;
  }
}
  @media (min-width: 1600px) {
    /* Widen the fixed sidebar again */
    .bs-sidebar.affix-bottom, /* csslint allow: adjoining-classes */
    .bs-sidebar.affix { /* csslint allow: adjoining-classes */
        width: 350px;
    }
    .col-md-9 {
    padding-left: 5%;
  }
   :not(.homepage) > .main-container {
      max-width: 1800px;
  }
}
