html{
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; 
}
body{
    font-family: 'Courier';
    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding: 14px;
    background: #eee url(../images/default_background.png);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; 
}
#background{    
    font-size: 22px;
    margin: 6px;
}

/* ******************************************* */
/* PREVIEW MENU */
/* ******************************************* */
#previewMenu{
    display: none;
}
#previewProjectObjects{
    height: 1px;
    visibility: hidden;
    background-color: white;
    color: black;
    font-family: 'Courier New', Courier, monospace;
}
#historyBackButton{
    color: black;
    background-color: white;
    font-family: 'Courier New', Courier, monospace;
}
#historyBackButton:hover{
    background-color: gray;
    color: white;
}
#showHidePreview{
    color: black;
    background-color: white;
    font-family: 'Courier New', Courier, monospace;
}
#showHidePreview:hover{
    background-color: gray;
    color: white;
}


/* ******************************************* */
/* COVER PAGE */
/* ******************************************* */
#title{
    font-weight: bolder;
    font-size: 36px;
    margin-top: 10px;
    margin-bottom: 10px;    
    color: #5C6653;
}
#cast{
    color: #009900;
    font-size: 15px;
    margin-bottom: 15px;
    color: #9A9A9A;
    font-style: italic;
}
#description{
    font-size: 26px;
    color: #888888;
    line-height: 24px;
    letter-spacing: 0.05em;    
    word-wrap: break-word;
    margin-top: 8px;
    margin-bottom: 8px;
}
#coverImage{
    margin-top: 6px;
    margin-bottom: 6px;
    width: 100%;
    max-width: 100%;
    padding: 40px;
}

/* ******************************************* */
/* USER MENU */
/* ******************************************* */
#userMenu{
    font-weight: bold;
    background-color: #afbcc1;
    margin-bottom: 20px;
}
#userMenuButtons > div{
    padding: 4px;
}
#inventoryButton:hover{
    background-color: white;
    color: #888888;
}
#actionsButton:hover{
    background-color: white;
    color: #888888;
}
div[name="item"]{
    padding: 4px;
}
div[name="item"]:hover{
    background-color: white;
    color: #888888;
}
div[name="action"]{
    padding: 4px;
}
div[name="action"]:hover{
    background-color: white;
    color: #888888;
}
#itemActions > div{
    padding: 4px;
}
#combineItemsTitle > div{
    padding: 4px;
}
#combineItemsMenu > div{
    padding: 4px;
}
#useItemQuestion{
    padding-left: 4px;
}

.ItemToCombine{
    background-color: #F7F7F7;
    color: #888888;
}
div[name="useItem"]:hover{
    background-color: white;
    color: #888888;
}
div[name="viewItem"]:hover{
    background-color: white;
    color: #888888;
}
div[name="dropItem"]:hover{
    background-color: white;
    color: #888888;
}
div[name="combineItem"]:hover{
    background-color: white;
    color: #888888;
}
div[name="backToInventory"]:hover{
    background-color: white;
    color: #888888;
}
div[name="combine"]:hover{
    background-color: white;
    color: #888888;
}
div[name="backToItemsMenu"]:hover{
    background-color: white;
    color: #888888;
}

#storyImage{
    width: 100%;
    max-width: 100%;
}

/* ******************************************* */
/* DECISIONS */
/* ******************************************* */
#decisions{
    text-align: center;
    color: black;
    font-weight: bold;
    font-size: 22px;
}

#decisions > div{
    padding: 4px;
}

#decisions > div > *{
    pointer-events: none;
}

#decisions > div > span{
    padding: 4px;
}
#decisions div:hover{
    color: black;
    text-decoration: underline;
    cursor: pointer;
}

/* ******************************************* */
/* PREVIEW OBJECTS */
/* ******************************************* */
#actionsList, #charactersList, #itemsList, #placesList, #eventsList, #storiesList{
    border-style: solid;
    border-color: #afbcc1;
    border-width: 1px;
    padding: 2px;
    margin: 4px;
}


#userDialog{
    background-color: #afbcc1;
    color: black;
    padding: 6px 6px 12px 6px;
    display: none;
}
@media only screen and (min-width: 500px) {
    #coverPage {
        width: 460px;
        margin-left: auto;
        margin-right: auto;
    }
    #background {
        width: 460px;
        margin-left: auto;
        margin-right: auto;
    }
}


/* Smartphones (portrait and landscape) ----------- */  
@media only screen  
    and (min-width : 320px)  
    and (max-width : 480px) {  
    /* Styles */  
}  
/* Smartphones (landscape) ----------- */  
@media only screen  
    and (min-width : 321px) {  
    /* Styles */  
}  
/* Smartphones (portrait) ----------- */  
@media only screen  
    and (max-width : 320px) {  
    /* Styles */  
}  
/* iPads (portrait and landscape) ----------- */  
@media only screen  
    and (min-width : 768px)  
    and (max-width : 1024px) {  
    /* Styles */  
}  
/* iPads (landscape) ----------- */  
@media only screen  
    and (min-width : 768px)  
    and (max-width : 1024px)  
    and (orientation : landscape) {  
    /* Styles */  
}  
/* iPads (portrait) ----------- */  
@media only screen  
    and (min-width : 768px)  
    and (max-width : 1024px)  
    and (orientation : portrait) {  
    /* Styles */  
}  
/* Desktops and laptops ----------- */  
@media only screen  
    and (min-width : 1224px) {  
    /* Styles */  
}  
/* Large screens ----------- */  
@media only screen  
    and (min-width : 1824px) {  
    /* Styles */  
}  
/* iPhone 4 ----------- */  
@media  
    only screen and (-webkit-min-device-pixel-ratio : 1.5),  
    only screen and (min-device-pixel-ratio : 1.5) {  
    /* Styles */  
} 

@media all and (orientation:portrait) { /*Reglas CSS*/ }  
@media all and (orientation:landscape) { /*Reglas CSS*/ } 