﻿/* General styles for the paragraph design. */

/* This container is used if paragraph contains more than one picture. */
.MultipleParagraphPictures
{
    margin-top: 20px;
}

.Paragraph > .ImportPicturesButton
{
    top: 10px;
    right: 65px;
}

.ParagraphPicture
{
    width: 200px;
    height: 200px;
    margin: 5px;
    position: relative;
    float: left; 
    border: 1px solid #ddd;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.ParagraphPicture:hover {
    border: 1px solid #96b829;
    box-shadow: 0 1px 4px rgba(150,184,41,0.5);
}

.ParagraphPicture img
{
    width: 180px;
    height: 180px;
    margin: 10px;
}

.ParagraphPicture .Title {
    position: absolute;
    height: 20px;
    padding: 5px;
    background-color: #96b829;
    color: #FFFFFF;
    font-size: 0.8em;
    bottom: 0;
    left: 0;
    right: 0;
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: none;
}

.ParagraphPicture > .EditButton
{
    top: 10px;
    right: 35px;
}

.ParagraphPicture > .DeleteButton
{
    top: 10px;
    right: 5px;
}

.RightParagraphPicture
{
    margin: 0 0 10px 10px;
    float: right;
}

.LeftParagraphPicture
{
    margin: 0 10px 10px 0;
}