input, textarea, select, button {
    text-shadow: none;
    display: inline-block;
    margin: .5em .5em .5em 0em;
    border: 1px solid #ccc;
    border-radius: 3.01px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 4px 10px;
}

h1, h2, h3 {
    color: #333;
}

body {
    font-family: Arial, sans-serif;
    padding: 1em;
}

label {
    margin: .5em .5em 0 0;
}

.workspace {
    margin: 20px auto;
}

.workspace__main-content {
    display: flex;
    flex-direction: row;
}

.itemNameDialog {
    display: flex;
    flex-direction: column;
}

.itemNameDialog__header {
    padding: 2px 16px;
    background-color: #F5F5F5;
}

.itemNameDialog__body {
    padding: 2px 16px;
    display: flex;
    flex-direction: column;
}

.itemNameDialog__footer {
    padding: 2px 16px;
    background-color: #F5F5F5;
}

.workspace__epic-list, .workspace__story-list, .workspace__story-details {
    width: 30em;
}

.epicListItem, .storyListItem, .storyDetails {
    /*-webkit-box-shadow: 0px 0px 12px 1px rgba(184, 184, 184, 1);*/
    /*-moz-box-shadow: 0px 0px 12px 1px rgba(184, 184, 184, 1);*/
    /*box-shadow: 0px 0px 12px 1px rgba(184, 184, 184, 1);*/
    border: solid 1px #CCCCCC;
    margin: 1em 1em 1em 0;
    padding: 1em;
}

.epicListItem, .storyListItem, .storyEdit, .storyDetails {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.storyListItem {

}

.selectedItem {
    background: #EBF2F9;
}

.storyDetails {
    background: #EBF2F9;
}

.storyDetails textarea {
    width: 100%;
    height: 8em;
}

/* http://www.w3schools.com/howto/howto_css_modals.asp */

/* The Modal (background) */
.modal {
    display: block;
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal__content {
    position: relative;
    background-color: #fefefe;
    margin: 10% auto; /* 15% from the top and centered */
    padding: 0;
    border: 1px solid #CCCCCC;
    width: 20em;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.2s;
    animation-name: animatetop;
    animation-duration: 0.2s
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {
        top: -10px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -10px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}

/* The Close Button */
.modal__close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.modal__close:hover,
.modal__close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.epic_red {
    background: #F15C75;
}

.epic_orange {
    background: #F79232;
}

.epic_yellow {
    background: #D39C3F;
}

.epic_blue {
    background: #3B7FC4;
}

.epic_green {
    background: #8EB021;
}

.epic_purple {
    background: #654982;
}

.hide {
    display: none;
}

.epic_label {
    border: 1px solid #ccc;
    border-radius: 3.01px;
    display: inline-block;
    font-size: 14px;
    font-weight: normal;
    line-height: 1;
    padding: 1px 5px;
    margin: 0;
    text-align: left;
    text-decoration: none;
}
