/*
Project Tile

Markup:
<div class="row tile projects">
<div class="col s12 m3 l2 xs12">
<div class="media-object">
        <div class="thumbnail-wrapper">
                <div class="thumbnail" style="background-image:url(https://www.bing.com/az/hprichbg/rb/FishingWarehouses_EN-IN11622673825_1920x1080.jpg)">                                                                
                </div> 
        </div>                                                          
        <div class="media-object-section">
                <div class="media-object-details">
                    <h4>Trimble Building</h4>
                    <p>Owner: Acme Co</p>
                </div>
                <div class="owner"><p>Acme Co</p></div>
                <div class="update"><p>02/03/2018</p></div>
                <div class="media-object-edit">
                    <ul>
                        <li class="dropdown-pane-container">
                            <button class="clear dropdownpane-link"><i class="i32 icon_blue_overflow"></i></button>
                            <div class="dropdown-pane is-open">
                                <ul class="dropdown-list">
                                    <li>FORCE LOGOFF</li>
                                    <li>Remove</li>
                                    <li>Suspend</li>
                                </ul>                                        
                            </div>
                        </li>
                    </ul>       
                </div>
        </div>
        <div class="owner"><p>Acme Co</p></div>
        <div class="update"><p>02/03/2018</p></div>      
        <div class="media-object-edit">
                    <ul>
                        <li class="dropdown-pane-container">
                            <button class="clear dropdownpane-link"><i class="i32 icon_blue_overflow"></i></button>
                            <div class="dropdown-pane is-open">
                                <ul class="dropdown-list">
                                    <li>FORCE LOGOFF</li>
                                    <li>Remove</li>
                                    <li>Suspend</li>
                                </ul>                                        
                            </div>
                        </li>
                    </ul>       
        </div>                          
</div>
</div>
</div>

Styleguide UI Elements.project-tile
*/
h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}

h1 {
  margin: 1rem 0;
  font-size: 1.5rem;
  font-weight: 300;
}

h2 {
  font-size: 1.25rem;
}

h3 {
  font-size: 1rem;
}

h4, p {
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
}

h5 {
  font-size: 0.75rem;
}

h4 {
  font-weight: 600;
}

/* @import url('https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800'); */
/* @mixin border-radius{
  border-radius: 2px;
} */
/* box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2); */
.end {
  display: flex;
  justify-content: flex-end;
}

.align-center {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
}

/*
Avatar

Avatar styles from trimble css

Markup:
Avatar:
<div class="avatar">
	<!-- <img src="" alt=""> -->
	<i class="i64 icon_solid_user"></i>
	<div class="edit-avatar">
		<i class="i16 icon_line_edit"></i>
	</div>
</div>

Styleguide UI Elements.avatar
*/
h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}

h1 {
  margin: 1rem 0;
  font-size: 1.5rem;
  font-weight: 300;
}

h2 {
  font-size: 1.25rem;
}

h3 {
  font-size: 1rem;
}

h4, p {
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
}

h5 {
  font-size: 0.75rem;
}

h4 {
  font-weight: 600;
}

/* @import url('https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800'); */
/* @mixin border-radius{
  border-radius: 2px;
} */
/* box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2); */
.end {
  display: flex;
  justify-content: flex-end;
}

.align-center {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
}

.avatar {
  position: relative;
  border-radius: 50%;
  border: solid 1px #7B7A86;
  background-color: #F3F3F7;
  width: 7rem;
  height: 7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar img {
  border-radius: 50%;
  width: auto;
  height: 100%;
}

.avatar img#avatar-output {
  display: none;
}

.avatar .edit-avatar {
  position: absolute;
  bottom: 8px;
  right: 3px;
  border-radius: 50%;
  background-color: #009AD9;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.avatar .edit-avatar input {
  display: none;
}

.avatar-small {
  position: relative;
  border-radius: 50%;
  border: solid 1px #7B7A86;
  background-color: #F3F3F7;
  width: 7rem;
  height: 7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 0;
  overflow: hidden;
}

.avatar-small img {
  border-radius: 50%;
  width: auto;
  height: 100%;
}

.avatar-small img#avatar-output {
  display: none;
}

.avatar-small .edit-avatar {
  position: absolute;
  bottom: 8px;
  right: 3px;
  border-radius: 50%;
  background-color: #009AD9;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.avatar-small .edit-avatar input {
  display: none;
}

.avatar-medium {
  position: relative;
  border-radius: 50%;
  border: solid 1px #7B7A86;
  background-color: #F3F3F7;
  width: 7rem;
  height: 7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0;
  overflow: hidden;
}

.avatar-medium img {
  border-radius: 50%;
  width: auto;
  height: 100%;
}

.avatar-medium img#avatar-output {
  display: none;
}

.avatar-medium .edit-avatar {
  position: absolute;
  bottom: 8px;
  right: 3px;
  border-radius: 50%;
  background-color: #009AD9;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.avatar-medium .edit-avatar input {
  display: none;
}

.card-avatar {
  position: relative;
  border-radius: 50%;
  border: solid 1px #7B7A86;
  background-color: #F3F3F7;
  width: 7rem;
  height: 7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: solid 5px #E2E2E7;
  width: 7.5rem;
  height: 7.5rem;
  margin-bottom: 1rem;
  overflow: hidden;
  box-sizing: border-box;
}

.card-avatar img {
  border-radius: 50%;
  width: auto;
  height: 100%;
}

.card-avatar img#avatar-output {
  display: none;
}

.card-avatar .edit-avatar {
  position: absolute;
  bottom: 8px;
  right: 3px;
  border-radius: 50%;
  background-color: #009AD9;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.card-avatar .edit-avatar input {
  display: none;
}

.list .card-avatar {
  position: relative;
  border-radius: 50%;
  border: solid 1px #7B7A86;
  background-color: #F3F3F7;
  width: 7rem;
  height: 7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 0;
  overflow: hidden;
}

.list .card-avatar img {
  border-radius: 50%;
  width: auto;
  height: 100%;
}

.list .card-avatar img#avatar-output {
  display: none;
}

.list .card-avatar .edit-avatar {
  position: absolute;
  bottom: 8px;
  right: 3px;
  border-radius: 50%;
  background-color: #009AD9;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.list .card-avatar .edit-avatar input {
  display: none;
}

.tile .media-object {
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  border-radius: 2px;
  background-color: #FFFFFF;
  box-shadow: 1px 1px 5px #b5b4c5;
  margin: 0.75rem 0 0.75rem 0;
  box-sizing: border-box;
  height: 11.25rem;
}

.tile .media-object .thumbnail-wrapper {
  height: 100%;
  max-height: 130px;
}

.tile .media-object .thumbnail {
  max-height: 130px;
  background-size: cover;
  height: 100%;
}

.tile .media-object .media-object-edit {
  display: none;
}

.tile .media-object .media-object-section {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-between;
  height: 3.125rem;
  padding-left: 1rem;
  padding-right: 0;
}

.tile .media-object .media-object-section .media-object-details {
  overflow: hidden;
}

.tile .media-object .media-object-section .media-object-details h4, .tile .media-object .media-object-section .media-object-details p {
  color: #363545;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tile .media-object .media-object-section .media-object-details p {
  font-size: 0.75rem;
}

.tile .media-object .media-object-section .media-object-edit {
  display: block;
}

.tile .media-object .owner, .tile .media-object .update {
  display: none;
}

.list .media-object {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  box-shadow: none;
  border-bottom: solid 1px #EAEAEF;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  border-radius: 0;
  max-width: inherit;
  padding: 0;
  box-sizing: border-box;
  text-align: inherit;
  margin: 0;
  min-height: 3.75rem;
}

.list .media-object > div {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  flex-grow: 1;
  flex-basis: 0;
  padding: 1rem;
  word-break: break-word;
  min-width: 20px;
  width: 100px;
}

.list .media-object > div.thumbnail-wrapper {
  max-width: 100px;
}

.list .media-object > div.thumbnail-wrapper .thumbnail {
  position: relative;
  border-radius: 50%;
  border: solid 1px #7B7A86;
  background-color: #F3F3F7;
  width: 7rem;
  height: 7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0;
  overflow: hidden;
  flex: 0 0 auto;
  background-size: cover;
}

.list .media-object > div.thumbnail-wrapper .thumbnail img {
  border-radius: 50%;
  width: auto;
  height: 100%;
}

.list .media-object > div.thumbnail-wrapper .thumbnail img#avatar-output {
  display: none;
}

.list .media-object > div.thumbnail-wrapper .thumbnail .edit-avatar {
  position: absolute;
  bottom: 8px;
  right: 3px;
  border-radius: 50%;
  background-color: #009AD9;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.list .media-object > div.thumbnail-wrapper .thumbnail .edit-avatar input {
  display: none;
}

.list .media-object > div.media-object-edit {
  flex: 0 0 auto;
  justify-content: flex-end;
}

.list .media-object > div.owner p, .list .media-object > div.update p {
  color: #7B7A86;
  font-size: 0.875rem;
}

.list .media-object .media-object-section {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-between;
  height: 3.125rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.list .media-object .media-object-section .media-object-details {
  overflow: hidden;
}

.list .media-object .media-object-section .media-object-details h4 {
  color: #363545;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.list .media-object .media-object-section .media-object-details p {
  display: none;
}

.list .media-object .media-object-section .owner, .list .media-object .media-object-section .update, .list .media-object .media-object-section .media-object-edit {
  display: none;
}

.list .media-object:hover, .list .media-object.active, .list .media-object:active {
  background-color: #009AD9;
  cursor: pointer;
}

.list .media-object:hover .media-object-section .media-object-details h4, .list .media-object.active .media-object-section .media-object-details h4, .list .media-object:active .media-object-section .media-object-details h4 {
  color: #FFFFFF;
}

.list .media-object:hover > div p, .list .media-object.active > div p, .list .media-object:active > div p {
  color: #FFFFFF;
}

.list .media-object:hover i, .list .media-object.active i, .list .media-object:active i {
  filter: grayscale(100%) brightness(5);
}
