/* Edit styles */
#ph-columns-container {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  margin-bottom:30px;
}
#ph-columns-container::after {
   content: " ";
   display: block;
   height: 0;
   clear: both;
}
.ph-column {
  float:left;
}
.ph-manage-column {
  width:35%;
  padding:10px 2%;
  box-sizing:border-box;
  border-right:4px dashed #ddd;
  min-height:200px;
}
.ph-edit-column {
  width:60%;
  padding:10px 0;
  box-sizing:border-box;
}
.cta {
  cursor:pointer;
  padding:5px;
  background-color:#2299ff;
  color:#fff;
  border:1px solid #0066bb;
  text-align:center;
}
#embed-editor {
  display:block;
  display:none;
}
.ph-form-row {
  clear:left;
  margin-bottom:5px;
  overflow:auto;
  padding:5px;
}
.ph-form-row label {
  display:block;
  float:left;
  width:35%;
  margin-right:5%;
}
.ph-form-field {
  float:left;
  width:60%;
}
.ph-error {
  background-color:#f99;
}
.hiddenItem {
  display:none;
}
.ph-embed-list-item {
  position:relative;
  border:1px solid #c22;
  padding;3px;
  cursor:grab;
  margin-bottom:3px;
  text-align:center;
  overflow:auto;
  font-size:0.8em;
}
.ph-icon {
  display:block;
  float:right;
  background-color:#e22;
  color:#fff;
  padding:2px !important;
  height:28px;
  width:28px;
  cursor:pointer;
}
.ph-icon.icon-edit {
  background-color:#000;
}
.ph-icon.glyphicon {
  top:0;
}
.ph-editing {
  color:#999 !important;
  border-color:#999 !important;
  cursor:default !important;
}
.ph-editing > .ph-icon {
  background-color:#999 !important;
  cursor:default !important;
}

/* View styles */
.podcast-hub-list {
  list-style-type: none;
  padding-left:0;
}
.ph-listing-item {
  background-image:url("/++plone++mediahub-static-files/mic-white.png");
  background-repeat:no-repeat;
  background-size:25px 50px;
  padding-left: 35px;
  cursor:pointer;
  min-height:50px;
}
.ph-listing-item-video {
  background-image:url("/++plone++mediahub-static-files/youtube.png");
  background-size:50px 50px;
  background-position:0 -3px;
  padding-left: 60px;
  margin-bottom:30px;
  padding-bottom:10px;
  border-bottom:2px dotted #d0d0d0;
}
.ph-listing-item-video h4 {
    padding-top:3px;
}
/* Special album view of folders */
.template-special_album_view .col-sm-3 {
    width:100%;
}
.template-special_album_view .col-sm-3 #portal-column-one {
    padding-top:0;
    padding-bottom:30px;
}
.template-special_album_view .col-sm-9 {
    width:100%;
}
.no-bullet {
    list-style-type:none;
    margin-left:0;
    padding-left:0;
}
li.special-album-view {
    float:left;
    width:18%;
    margin-right:2.5%;
    margin-bottom:40px;
}
li.special-album-view:nth-of-type(5n) {
    margin-right:0;
}
li.special-album-view:nth-of-type(5n+1) {
    clear:left;
}
.special-album-view {
    box-shadow:none;
    transition:box-shadow 0.5s;
}
.special-album-view:hover {
    box-shadow: 3px 5px 5px rgba(33,55,99,0.3);
}
.special-album-view a:hover {
    text-decoration:none;
}
.album-image-holder {
    height:140px;
    background-color:#F0F0F0;
    overflow:hidden;
}
.album-image-holder img {
    width:100%;
}
.album-image-holder.gallery-image {
    height:0;
    padding-bottom:100%;
    text-align:center;
}
.album-image-holder.gallery-image img {
    width:auto;
}
li.special-album-view h4 {
    font-size:1.1em;
    font-weight:bold;
    padding-left:3px;
}
li.special-album-view p {
    padding-left:3px;
}

/* responsive styling */
@media only screen and (max-width: 1111px) {
    li.special-album-view {
        width:23.5%;
        margin-right:2%;
    }
    li.special-album-view:nth-of-type(5n) {
        margin-right:2%;
    }
    li.special-album-view:nth-of-type(5n+1) {
        clear:none;
    }
    li.special-album-view:nth-of-type(4n) {
        margin-right:0;
    }
    li.special-album-view:nth-of-type(4n+1) {
        clear:left;
    }
    .portaltype-podcasthub .col-sm-9,
    .portaltype-podcasthub #sidebar {
        width:90%;
        margin-right:0;
    }
}
@media only screen and (max-width: 850px) {

    li.special-album-view {
        width:31%;
        margin-right:3.5%;
    }
    li.special-album-view:nth-of-type(5n) {
        margin-right:3.5%;
    }
    li.special-album-view:nth-of-type(4n) {
        margin-right:3.5%;
    }
    li.special-album-view:nth-of-type(4n+1) {
        clear:none;
    }
    li.special-album-view:nth-of-type(3n) {
        margin-right:0;
    }
    li.special-album-view:nth-of-type(3n+1) {
        clear:left;
    }
    .portaltype-podcasthub .col-sm-9,
    .portaltype-podcasthub #sidebar {
        width:80%;
        margin-right:0;
    }
    .ph-listing-item iframe {
        width:520px;
        height:300px;
    }
}
@media only screen and (max-width: 640px) {
    li.special-album-view {
        width:48%;
        margin-right:4%;
    }
    li.special-album-view:nth-of-type(5n) {
        margin-right:4%;
        clear:none;
    }
    li.special-album-view:nth-of-type(4n) {
        margin-right:4%;
    }
    li.special-album-view:nth-of-type(3n) {
        margin-right:4%;
    }
    li.special-album-view:nth-of-type(3n+1) {
        clear:none;
    }
    li.special-album-view:nth-of-type(2n) {
        margin-right:0;
    }
    li.special-album-view:nth-of-type(2n+1) {
        clear:left;
    }
    .ph-listing-item iframe {
        width:400px;
        height:300px;
    }
}
@media only screen and (max-width: 500px) {
    li.special-album-view {
        width:100%;
        margin-right:0;
        clear:both;
    }
    li.special-album-view .album-image-holder {
        height:180px;
    }
    .ph-listing-item iframe {
        width:300px;
        height:220px;
    }
}
@media only screen and (max-width: 375px) {
    li.special-album-view {
        width:100%;
        margin-right:0 !important;
        margin-bottom:20px;
    }
    .ph-listing-item iframe {
        width:250px;
        height:180px;
    }
}




