:root {

    --steps-highlight:#F37037;

}


h1, h2 {
	text-align:center;
}

.tag-group {
	margin-bottom:30px;
	overflow:auto;
}

.media a {
    text-decoration:none;
}

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


.add-unit-button {
    float:right;
}

.toggleable-form {
    display:none;
}


/**
 * Admin heading
 */

.admin-header {
    margin-bottom:20px;
}

.admin-heading {
    border-bottom:1px solid #ccc;
    padding: 10px;
}

.admin-heading .admin-image {
    background-repeat: none;
    background-position: center;
    background-size: cover;
    display:block;
    float:right; 
    height:70px; 
    margin-right:0px; 
    width:70px; 
}



/**
 * Builder summary
 */

.builder-summary .required-steps-summary.well {
    background-color: #ccc;
	background-color: var(--steps-highlight, #ccc);
}

.builder-summary .optional-steps-summary.well {
	background-color:#777;
}

.builder-summary .well {
	border:none;
	border-radius:20px;
	color:white;
	font-size:16px;
	padding-top:10px;
	padding-bottom:10px;
}

.builder-summary img {
	width:30px;
	height:30px;
	max-width:inherit;
}


/**
 * Assessment results
 */

#assessment-results-accordion .step-status img {
    width:50px;
    margin-right:20px;
}


/**
 * Table lists (user list, course list etc)
 */

.table-card img {
    margin:0 10px;
    width:50px;
    height:50px;
}

.table-card  img.small {
    margin:0 10px;
    width:30px;
    height:30px;
}

.table-card i {
    margin-right:10px;
}

.table-card .alert {
    padding:5px;
}

.table-card .clickable-link:hover {
    cursor:pointer;
}

.table td, .table th {
    padding: .5rem;
}

/**
 * Import
 */

.import-record .selection {
    right:20px;
    background-image:url(/images/icons/checkbox.png);
    background-size:contain; 
    background-repeat:no-repeat;
    background-position:right;
    height:30px;
}


/**
 * Builder sorter (eg. unit sorter, slide sorter)
 */

.sorter li {
	width:auto;
}

.sorter .row {
	align-items:center;
	display:flex; 
	padding-top:4px; 
	padding-bottom:4px; 
	padding-left:10px; 
	padding-right:10px; 
}

.sorter .img {
	height:40px;
}

.sorter h3 {
	line-height:40px; 
	margin-top:0; 
	margin-bottom:0;
}

.sorter .handle-container {
	padding-left:10px;
    padding-top:5px;
    padding-bottom:5px;
}


/**
 * Activities
 */

 .activities-list .pagination-row {
    margin-top:20px;
    text-align:center;
 }


/**
 * Sortable
 */

.ui-sortable .btn-primary, .ui-sortable .btn-danger {
    color:white;
}

#sortable1, #sortable2 {
    border: 1px solid #eee;
    display:block;
    float:left;
    height:100vh;
    list-style-type:none;
    width: 100%;
    margin:0;
    margin-right:10px;
    padding:5px 0 0 0;
}
#sortable1 li, #sortable2 li {
    border-radius:10px;
    width:auto;
    margin:0 5px 5px 5px;
    padding-left:10px;
    padding-right:10px;
    padding-top:3px;
    padding-bottom:3px;
}

.sortable-dragitems {
    background:lavender;
    border:2px skyblue dashed !important;
    padding:5px !important;
}

.sortable-dragitems .ui-state-highlight {
	background:white;
}

.sortable-dropitems {
    background:lavender;
    border:2px lightgreen dashed !important;
    padding:5px !important;
}

#selectable .ui-selecting {
    background:#FECA40; 
}

#selectable .ui-selected {
    background:#F39814;
    color:white; 
}

#selectable { 
    cursor:pointer;
    list-style-type:none; 
    margin:0; 
    padding:0;
}

#selectable li {
    font-size:1.4em;
    margin:3px;
    padding:0.4em;
}



/**
 * Drag Drop
 */

 .drag-drop-item {
 	background-color:white;
 }

 .drag-drop-item img {
 	height:80px;
	margin:5px; 
	margin-right:10px; 
 }

.drag-drop-title {
	font-size:20px; 
	font-weight:400;
}


.builder-steps a {
	text-decoration:none;
}

.builder-steps * {
	transition: all 0.5s ease;
}

.builder-steps .badge {
	width:100%;
}

.builder-steps .status {
	width: 100%;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    line-height: 26px;
    text-align: center;
    background-color: #3e9bd5;
	background-color: var(--steps-highlight, #3e9bd5);
	padding-left: 0px;
	vertical-align:baseline;
}

.builder-steps .required-step.status {
    background-color: #3e9bd5;
	background-color: var(--steps-highlight, #3e9bd5);
	color:white;
}

.builder-steps .optional-step.status {
	background-color:#777;
	color:white;
}

.builder-steps .thumbnail {
    cursor:pointer;
	background-color:white;
    margin-bottom: 20px;
}

.builder-steps a:hover .status {
    background-color: #3e9bd5;
	background-color: var(--steps-highlight, #3e9bd5);
}

.builder-steps a:hover .caption {
    color: #3e9bd5;
	color: var(--steps-highlight, #3e9bd5);
}

.builder-steps .thumbnail.wip {
	border:2px solid red;
}

.thumbnail {
	position:relative;
}

.thumbnail img {
	/*margin-top:40px;*/
}

.thumbnail img.step-image {
    width:100%;
    padding:15px;
    max-width:200px;
}

img.completed-icon {
	position:absolute;
	top:10px;
	right:10px;
	height:40px;
	margin-top:0px;
}

div.step-info {
    position:absolute;
    top:10px;
    left:10px;
    height:40px;
    margin-top:0px;
    font-size:24px;
}

.manage-unit-lessons ul.lesson-list {
	list-style-type:none;
}

.manage-unit-lessons ul.lesson-list li {
	background-color:#87ebdc; 
	font-size:20px; 
	height:40px; 
	line-height:20px; 
	margin-bottom:10px;
	padding:10px; 
}

.manage-unit-lessons ul.lesson-list li:hover {
	background-color:#72c1b5;
	cursor:pointer;
}


/**
 * Address styles
 */

/* Always set the map height explicitly to define the size of the div element that contains the map. */
#map {
	width:100%;
	height:600px;
}
	
#pac-input.controls {
	background-color: #fff;
    border-radius: 2px;
    border: 1px solid transparent;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    font-family: Roboto;
    font-size: 15px;
    font-weight: 300;
    height: 40px;
    margin-left: 17px;
    margin-top: 10px;
    outline: none;
    padding: 0 11px 0 13px;
    text-overflow: ellipsis;
    width: 400px;
}

#pac-input.controls:focus {
    border-color: #4d90fe;
}

#infowindow-content .title {
    font-weight: bold;
}

#infowindow-content {
    display: none;
}

#map #infowindow-content {
    display: inline;
}



/**
 * Page Index
 */

.admin-index img {
	width:40px; 
	height:40px; 
	max-width:inherit;
}


.table-condensed td, 
.table-condensed th  {
	padding:1px !important;
}

.table-borderless td,
.table-borderless th {
    border:none !important;
}


/**
 * Pagination
 */
ul.pagination-equal-container {
	display:flex;
    align-items:stretch;
    justify-content:space-between;
    width:100%;
   	margin-left:0;
   	margin-right:0;
    padding-left:0;
    padding-right:0;
}

li.pagination-equal-item {
	display:block;
	flex:0 1 auto; 
	list-style-type:none;
}


.summary-separator {
	border-top: 1px solid lightgrey;
    border-bottom: 1px solid lightgray;
    background-color: #dbf3f7;
    height: 80px;
    line-height: 80px;
    text-transform: uppercase;
    margin-top: 20px;
}
