﻿.bootstrapped
{
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 14px;
}


div.alert-success, div.alert-danger
{
    padding: 5px 15px 5px 15px;
}


.form-control
{
    height: 32px;
}

div.resource-add, div.resource-edit, div.resource-manage
{
    max-width: 786px;
}

.bootstrapped label
{
    font-weight: 700;
}


.loading .field-validation-error
{
    display: none;
}

.field-validation-error
{
    color: #cc5555;
}

input.readonly
{
    cursor: default !important;
}


.resource-type, .resource-type .btn, .resource-editpage, .resource-editpage .btn
{
    font-size: 13px;
    padding-left: 15px;
    padding-right: 15px;
}

.resource-type a
{
    min-width: 100px;
}


.resource-editpage a
{
    min-width: 130px;
}


.form-controls a.button-back, .form-controls button
{
    float: right;
    margin-left: 15px;
}

.resource-add input.form-control, .resource-add .btn-file, .resource-edit input.form-control, .resource-edit .btn-file
{
    padding-top: 3px;
    padding-bottom: 3px;
    height: 28px;
}

.resource-add div.form-controls
{
    margin-top: -20px;
    margin-bottom: 15px;
}

.resource-add div.alert
{
    margin-bottom: 30px;
}

a.button-back
{
    background-color: #ddd;
    color: #333;
    margin-left: 5px;
}

.resource-manage a.button-back
{
    position: absolute;
    left: 720px;
    padding: 2px 10px 2px 10px;
}


.btn-file {
    position: relative;
    overflow: hidden;
    font-size: 13px;
    line-height: 20px;
}

.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}


div.structure-text
{
    margin-top: 6px;
    
}

.resource-add div#domains, .resource-add div#categories, .resource-edit div#domains, .resource-edit div#categories
{
    margin-top: 0px;
}


.bootstrap-select button.btn
{
    padding-top: 1px;
    padding-bottom:1px;
}

.structure-text i
{
    margin-right: 2px;
}

span.structure-type
{
    color: #777;
    font-family: monospace;
    font-weight: bold;
}

div.structure-domain
{
    padding-left: 5px;
}

div.structure-category
{
    padding-left: 30px;
}

div.structure-program
{
    padding-left: 50px;
}




/*Resource Manage*/

.manage-resource-add
{
    margin-bottom: 7px;
}

div.manage-resources-list
{
    border: solid 1px #bbb;
    border-radius: 3px;
    max-width: 780px;
}

.manage-resources-list div.manage-resource + div.manage-resource
{
    border-top: 1px solid #eee;
}

.manage-resource-placeholder
{
    height: 32px;
    background-color: #f4f4f4;
}

div.manage-resource {
    min-height: 32px;
    line-height: 32px;
    padding-left: 53px;
    padding-right: 55px;
    background-repeat: no-repeat;
    background-position: 22px 4px;
    font-size: 12px;
    font-family: Verdana;
    color: #333;
}

div.manage-resource:hover
{
    background-color: #f9f9f9;
    cursor: pointer;
}

div.manage-resource-title
{
    font-size: 13px;
    font-family:  Arial, sans-serif;
    font-weight: bold;
    padding-left: 13px;
    min-height: 28px;
    line-height: 28px;
    color: #333;
}

div.manage-resource-description
{
    font-size: 12px;
    font-family:  Arial, sans-serif;   
    color: #333;
    padding-left: 25px;
    font-style: italic;
    line-height: 20px;
}

div.manage-resource-controls
{
    display: none;
    float: right;
    padding-right: 4px;
    font-size: 13px;
    font-family: Arial;
    margin-right: -55px;
}

div.manage-resource:hover div.manage-resource-controls
{
    display: block !important;
}

.manage-resource-controls a.btn-warning
{
    line-height: 21px;
    height: 21px;
    padding: 0 2px 0 2px;
}

.manage-resource-controls a.btn-danger
{
    margin-right: 4px;
    line-height: 22px;
    line-height: 21px;
    height: 21px;
    padding: 0 0 1px 0;
}

div#resource_success
{
    background-color: #cbffca;
    font-size: 12px;
    position: absolute;
    left: 300px;
    margin-top: -26px;
    padding: 1px 10px 1px 10px;
    border-radius: 3px;

}

div#resource_error
{
    background-color: #eea1a1;
    font-size: 12px;
    position: absolute;
    left: 300px;
    margin-top: -26px;
    padding: 1px 10px 1px 10px;
    border-radius: 3px;
}



/*RESOURCE LIST*/


.resource-list div.row
{
    max-width: 800px;
}

.resource-list a.button-back
{
    margin-top: -35px;
    float: right;
}

.resource-list a#btnAddResource
{
    margin-bottom: 5px;
}

div.overview-resources-list
{
    border: solid 1px #bbb;
    border-radius: 3px;
}

.overview-resources-list div.overview-resource + div.overview-resource
{
    border-top: 1px solid #eee;
}

.resource-list span.label {
    margin-left: 10px;
}

.overview-resource-placeholder
{
    height: 32px;
    background-color: #f4f4f4;
}

div.overview-resource {
    min-height: 32px;
    line-height: 32px;
    padding-left: 53px;
    background-repeat: no-repeat;
    background-position: 22px 4px;
    font-size: 12px;
    font-family: Verdana;
    color: #333;
}

div.overview-resource:hover
{
    background-color: #f9f9f9;
}

div.overview-resource-title
{
    font-size: 13px;
    font-family:  Arial, sans-serif;
    font-weight: bold;
    padding-left: 13px;
    min-height: 28px;
    line-height: 28px;
    color: #333;
}

div.overview-resource-description
{
    font-size: 12px;
    font-family:  Arial, sans-serif;   
    color: #333;
    padding-left: 25px;
    font-style: italic;
    line-height: 20px;
}


div.overview-resource-controls
{
    display: none;
    float: right;
    padding-right: 4px;
    font-size: 13px;
    font-family: Arial;
}

div.overview-resource:hover div.overview-resource-controls
{
    display: block !important;
}

.overview-resource-controls a.btn-warning
{
    line-height: 21px;
    height: 21px;
    padding: 0 2px 0 2px;
}

.overview-resource-controls a.btn-danger
{
    margin-right: 4px;
    line-height: 22px;
    line-height: 21px;
    height: 21px;
    padding: 0 0 1px 0;
}



.overview-resource-category
{
    background-color: #e5e5e5;
    line-height: 20px;
    padding: 5px 10px 5px 15px;
    font-weight: bold;
    font-size: 14px;
    border-bottom: solid 1px #ddd;
}

.overview-resources-list div.overview-resource + div.overview-resource-category
{
    border-top: solid 1px #ddd;
}


div.select-resource-controls
{
    display: none;
    float: right;
    padding-right: 4px;
    font-size: 13px;
    font-family: Arial;
}

.select-resource-controls button
{
    padding-top: 1px;
    padding-bottom: 1px;
}

.selected-resource div.select-resource-controls
{
    display: block;
    margin-top: -1px;
    padding-right: 10px;
}


div.selected-resource
{
    background-color: #dce0ff !important;
}

.select-resources-list div.overview-resource
{
    cursor: pointer;
}

div.resource-use
{
    margin-top: 5px;
}

div.resource-delete-use
{
    padding-left: 20px;
    padding-right: 15px;
    background-color: #fff0f0;
    padding-top: 5px;
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 8px;
    border: 1px solid #ffcccc;
    margin-bottom: 15px;
    margin-top: 15px;
}

.resource-delete-use span
{
    color: #cc0000;
    
}

.resource-delete-use ul, .resource-use ul
{
    list-style-type: none;
    margin-top: 3px;
    padding-left: 20px;
}

.resource-delete-use li, .resource-use li
{
    background-image: url('/PTX/Images/icons/elearning24.png');
    background-repeat: no-repeat;
    background-position-y: 3px;
    padding-left: 30px;
    line-height: 30px;
}

.resource-delete-use li:hover, .resource-use li:hover
{
    background-color: #f4f4ff;
}

.resource-delete-use a, .resource-use a
{
    display: block;
    color: #333;
    text-decoration: none;
}



/*RESOURCE ICONS*/

.resource-word {
    background-image: url('/PTX/Images/icons/icon_word.png');
}
.resource-text {
    background-image: url('/PTX/Images/icons/icon_text.png');
}
.resource-powerpoint {
    background-image: url('/PTX/Images/icons/icon_powerpoint.png');
}
.resource-excel {
    background-image: url('/PTX/Images/icons/icon_excel.png');
}
.resource-image {
    background-image: url('/PTX/Images/icons/icon_image.png');
}
.resource-movie {
    background-image: url('/PTX/Images/icons/icon_movie.png');
}
.resource-archive {
    background-image: url('/PTX/Images/icons/icon_archive.png');
}
.resource-other {
    background-image: url('/PTX/Images/icons/icon_other.png');
}
.resource-pdf {
    background-image: url('/PTX/Images/icons/icon_pdf.png');
}
.resource-resourcelink {
    background-image: url('/PTX/Images/icons/icon_resourcelink.png');
}
.resource-resourcevideo {
    background-image: url('/PTX/Images/icons/icon_resourcevideo.png');
}
.resource-resourceyoutube {
    background-image: url('/PTX/Images/icons/icon_resourceyoutube.png');
}
.resource-webpage {
    background-image: url('/PTX/Images/icons/icon_other.png');
}

/*MEDIA PAGE*/

.media_wrapper h3
{
    font-size: 24px;
    color: #1986b6;
    margin-top: 15px;
    float: left;
}

video {
  width: 100%    !important;
  height: auto   !important;
}

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
    margin-top: 20px;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


/* COURSE DOCUMENTS*/




a.resource {
    line-height: 24px;
    height: 24px;
    margin-bottom: 6px;
    display: block;
    text-decoration: none;
    font-family: Verdana !important;
    color: black !important;
    font-size: 12px !important;
    margin-top: 6px;
    background-repeat: no-repeat;
    padding-left: 35px;
    /*max-width: 500px;*/
    margin-left: 5px;
    border-radius: 3px;
}




a.resource:hover {
    background-color: #f7f7ff;
    cursor: pointer;
}

.resource span {
    margin-left: 7px;
}

div.resource-title
{
    font-size: 14px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    margin-top: 20px;
}


div.resource-description
{
    font-size: 13px;
    font-family: Arial, sans-serif;
    color: #333;
    font-style: italic;
    line-height: 15px;
    margin-left: 5px;
   
}


/*WIDGET*/

div.widget-resources-list
{
    margin-left: 10px;
}

div.resource-controls
{
    display: none;
    float:right;
    margin-right: 10px;
}

div.resource-data
{
    margin-left: 25px;
    padding-left: 10px;
    padding-top: 3px;
    padding-bottom: 3px;
    margin-bottom: 10px;
    margin-top: 0px;
    border-left: 3px solid #337ab7;
    line-height: 20px;
    background-color: #eee;
    border-bottom-right-radius: 3px;
    max-width: 300px;
}

.resource-data span
{
    
}

.resource-data a
{
    font-size: 12px;
}


.resource-data a.resource-open
{
    margin-right: 30px;
}