/* CSS for catalog's home page (gridster and widgets) */
.homepage-edit-block {
    position: fixed;
    bottom: 0;
    right: 10px;
    z-index: 100;
    padding: 0;
}
.homepage-edit-block > .button,
.homepage-edit-block .widget-commands {
    padding: 10px;
    display: inline-block;
    vertical-align: bottom;
    border: 0 none;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    box-shadow: 2px 3px 3px 0 rgba(0, 0, 0, 0.5);
}
.homepage-edit-block .widget-commands {
    padding: 5px 10px;
    background: #fff;
    border: 1px solid #ccc;
}
.gridster {
    margin: 0;
    padding: 0;
}
.gridster .preview-holder {
    background: rgba(100, 100, 100, 0.3);
}
.widget {
    display: block;
    position: relative;
}
.widget h2 {
    text-align: center;
}
.widget .edit-widget-bar {
    padding: 2px 4px;
    position: absolute;
    right: 5px;
    top: 5px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    z-index: 10;
}
.widget .edit-widget-bar .fa {
    padding: 4px 2px;
    opacity: 0.7;
}
.widget .edit-widget-bar .fa:hover {
    opacity: 1;
}
.widget .fa-arrows:hover, .widget .fa-sliders:hover {
    cursor: pointer;
}
.widget .fa-arrows:active {
    cursor: move;
}
.widget .widget-content {
    margin: 5px;
    padding: 5px;
    overflow: auto;
    display: block;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}
.widget.gs-w .widget-content {
    /* Change widget content position when gridster is ready */
    margin: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    position: absolute;
}
.widget.transparent .widget-content {
    padding: 0;
    background: transparent;
    border: 0 none;
    text-decoration: none;
    /* box shadow */
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    /* box radius borders */
    border-radius: 0;
}
.widget.non-visible .widget-content {
    background: transparent url("../images/lock_mask.png") 0 0 repeat;
}

.widget .title-widget {
    text-align: center;
}

/* element widget */
.widget .star-thumb {
    margin-bottom: 10px;
    display: block;
    text-align: center;
}
.widget .star-widget .star-thumb {
    margin-right: 10px;
    margin-bottom: 5px;
    float: left;
}
.widget .star-thumb img {
    max-width: 100%;
    display: inline;
}
.widget .star-link {
    margin-top: 10px;
    text-align: center;
}
.widget .star-link a {
    display: inline-block;
}
.widget .star-widget-big .star-line {
    overflow: hidden;
}
.widget .star-widget-big .star-line p {
    margin-top: 0;
}
.widget .star-widget-big .star-speaker,
.widget .star-widget-big .star-parent {
    float: left;
}
.widget .star-widget-big .star-creation,
.widget .star-widget-big .star-stats {
    float: right;
}
.widget .star-widget-big .star-stats span + span {
    margin-left: 20px;
}
.widget .star-thumb-full {
    display: block;
    text-align: center;
    overflow: hidden;
}
.widget .star-thumb-full-title {
    margin: 10px 0;
    text-align: center;
    font-weight: bold;
    font-size: 1.3em;
}
.widget .star-thumb-full-desc {
    text-align: center;
}
.widget .star-thumb-full img {
    max-width: 100%;
}
.widget .row {
    margin-right: 0px;
    margin-left: 0px;
}

/* picture widget */
.widget.PictureCatalogWidget .widget-content {
    text-align: center;
}
.widget.PictureCatalogWidget .widget-content img {
    max-width: 100%;
    max-height: 100%;
}

/* channels list */
.widget.ChannelListCatalogWidget .widget-content {
    overflow: auto;
}

/* cover list */
.widget.ChannelCarouselCatalogWidget header {
    top: 5px;
    left: 5px;
    right: 5px;
    position: absolute;
    z-index: 1;
}
.widget .cover-list {
    width: 100%;
    height: 100%;
}
.widget .cover-list canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

/* videos list */
.widget .tabs-container {
    padding: 1px 0;
}
.widget .videos-list {
    padding: 0 5px;
}

/* lives */
.widget .live-stream-list {
    display: block;
    overflow: hidden;
}
.widget .live-stream-list img {
    padding: 4px;
}
.widget .live-stream-list .live-stream-none {
    margin-top: 30px;
    text-align: center;
    display: block;
}
.widget .live-stream-list .live-stream-solo {
    text-align: center;
}
.widget .live-stream-list .live-stream-multiple img {
    float: left;
    display: block;
}
.widget .live-stream-list .live-stream-multiple ul {
    margin-top: 5px;
    margin-left: 140px;
    padding: 0;
}
.widget .live-stream-list .live-stream-multiple li {
    margin: 0;
    list-style-type: none;
    display: block;
}
.widget .live-stream-list .live-stream-multiple a {
    padding: 5px 15px;
    display: block;
}


/* tags */
.widget .tagcloud-container {
    text-align: center;
}
.widget .tagcloud-container .paragraph-block {
    margin: 20px;
}
.widget .tagcloud-container a {
    margin-right: 16px;
    line-height: 24px;
    font-size: 20px;
}
.widget .tagcloud-container a:hover,
.widget .tagcloud-container a.tag-type-2:hover,
.widget .tagcloud-container a.tag-type-3:hover,
.widget .tagcloud-container a.tag-type-4:hover {
    color: #086E9A;
    text-decoration: underline;
}
.widget .tagcloud-container a.tag-type-2 {
    font-size: 18px;
    color: #055679;
}
.widget .tagcloud-container a.tag-type-3 {
    font-size: 16px;
    color: #03435F;
}
.widget .tagcloud-container a.tag-type-4 {
    font-size: 14px;
    color: #01364D;
}
/** specific widget css **/
.widget.transparent.ElementCatalogWidget .widget-content {
    border-bottom: 2px solid #DDD;
}
.widget .widget-content .tab-buttons {
    text-align: center;
}
.widget.RssCatalogWidget {
    text-align: center;
}
@media (max-width: 800px) {
    .widget {
        float: left;
        clear: left;
        margin: 15px auto;
        position: relative!important;
        width: 100%!important;
        top: auto!important;
        left: auto!important;
        height: auto!important;
    }
    .widget .widget-content {
        position: relative!important;
    }
    .gridster > div {
        width: 100%!important;
    }
    .widget .star-widget .star-thumb {
        float: none;
    }
}