/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 300;
  src: local('Lato Light Italic'), local('Lato-LightItalic'), url(/fonts/Lato-LightItalic.ttf) format('truetype');
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(/fonts/Lato-Italic.ttf) format('truetype');
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  src: local('Lato Light'), local('Lato-Light'), url(/fonts/Lato-Light.ttf) format('truetype');
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(/fonts/Lato-Regular.ttf) format('truetype');
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(/fonts/Lato-Bold.ttf) format('truetype');
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  src: local('Lato Black'), local('Lato-Black'), url(/fonts/Lato-Black.ttf) format('truetype');
}

.basic .navbar-header {
	float: none;
}

.navbar-header {
	height: 90px;
}

.row {
	margin-left: 0px;
	margin-right: 0px;
}

footer {
	border-top: 5px solid #f1582c;
	padding-top: 20px;
	padding-bottom: 10px;
	margin-top: 8rem;
    padding-bottom: 52px;
}

footer a {
	color: #AAA;
}

footer .container {
	text-align: center;
	color: #444;
}

.btn.btn-primary {
	background: #f45830;
    border: 1px solid #ffd666;
    font-weight: bold;
}

.btn.btn-primary:hover {
	background: #E24A23;
}

.alignright {
    float:right;
}

#tutorial-detail .modal-footer {
    clear: both;
}

.list-group-item .checkbox {
	margin-top: 0;
	margin-bottom: 0;
}

h1, h2, h3, h4, h5, h6, h7 {
	font-family: 'Lato', sans-serif, 'FontAwesome';
	font-weight: 900;
	color: #f1582c;
}

.form-group.required .control-label:after {
	content: " *";
}

.training.tab-pane .glyphicon {
    font-size: 12px;
    color: #8d8c8a;
}

.training.tab-pane .glyphicon.glyphicon-ok-sign {
    color: #f05c2e;
}

.training.tab-pane tr td:first-child {
    width: 30px;
}

@media (max-width: 345px) {
	.navbar-brand > img {
		width: 140px;
	}
}

.site-logo {
    display: block;
    float:left;
}

nav.navbar.navbar-default {
    border-left: none;
    border-right: none;
    background: white;
    border-radius: 0;
    box-shadow: none;
}

body.full {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.full > .container {
    flex-grow: 1;
    max-width: 100%;
}

.full > .container.nogrow {
    flex-grow: 0;
}

tr.success {background-color: #dff0d8;border-right: 2px solid green;}

tr.warning {
    background-color: #fcf8e3;
    border-right: 2px solid orange;
}

tr.failure {
    background-color: #f7e3e3;
    border-right: 2px solid red;
}


p.history-item {
    padding: 1rem 1rem;
    background-color: #f4f4f4;
}

p.history-item.success {
    background-color: #cef3cc;
    border: 2px solid green;
}

p.history-item.warning {
    background-color: #fcf8e3;
    border: 2px solid orange;
}

p.history-item.failure {
    background-color: #f3cccc;
    border: 2px solid #d41313;
}

.table-container {
    max-width: 100%;
    overflow-x: auto;
}

body {
    font-size: 16px;
}

.wordbreakable {
    word-break: break-all;
}

.dashboard .page-header {
    position: relative;
}

.dashboard-icon {
    width: auto;
    height: 36px;
    float: right;
}

.pretext-icon {
    margin-right: 0.15em;
}

.add-button {
    float: right;
    color: inherit;
}

#contact-icons {
    position: fixed;
    bottom: 8px;
    right: 5px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 4px;
}

#contact-icons .btn {
    font-size: .8em;
    padding: 6px 6px 2px;
}

#contact-icons .btn > img {
    width: auto;
    height: 20px;
}

.input-button-combo {
  display: flex;
  flex-wrap: wrap;
}
.input-button-combo input {
  flex-grow: 1;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  width: auto;
}
.input-button-combo button {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.rating {
    font-size: 1.7em;
}

.rating button {
    padding: 0;
    border: none;
    background: none;
}

#tutorial-detail-body img {
    float: none;
    display: block;
    margin: 0.8em auto;
		max-width: 280px;
}

.section .table {
  margin-bottom: 0;
}
.section hr {
  margin-top: 0;
  margin-bottom: 0;
}

@media (min-width: 650px) {
	#tutorial-detail-body img.alignright {
		float: right;
	}
}

@media (min-width: 992px) {
    .dashboard-icon {
        float: none;
        position: absolute;
        width: 218px;
        height: auto;
        right: calc(33% - 218px/2);
        bottom: 5px;
    }    
}

ul#training-tabs > li > a {
	font-weight: bold;
}

h1 {
	position: relative;
}

h1 span {
	background: rgba(255, 255, 255, 0.9);
	padding-right: .2em;
}

.pdf-icon {
	border: 5px solid #f1582c;
	border-radius: 7px;
	width: 80px;
	height: calc(80px * 1.4);
	margin-left: auto;
	margin-right: auto;
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: bold;
	position: relative;
}

.pdf-icon div {
	color: white;
	background-color: #f1582c;
	padding: 3px 8px;
	border-radius: 3px;
}

.pdf-icon::after {
	content: '';
	position: absolute;
	right: -5px;
	top: -5px;
	height: 0;
	width: 0;
	border-bottom: 10px solid #f1582c;
	border-top: 10px solid white;
	border-left: 10px solid #f1582c;
	border-right: 6px solid white;
}
