﻿
/* Think of this as a base class that all other input rows should inherit from.
   Applies generic border radii, shadow etc that can be used with all input rows.
*/
.generic-input-row {
    display: block;
    font-size: 16px;
    color: #444;
    line-height: 1.3;
    padding: 30px 5px;
    /*    margin: 0px 10px 0px 10px;*/
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    border: 0px solid #fff;
    border-radius: .0em;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
}

.lims-td-row {
    margin: 20px;
    padding: 3px;
}

/* Apply to selection (i.e. drop-down) input rows to get the down arrow icon */
.lims-select-row {
    background-color: #fff;
    /* Note: This background image is actually an inline SVG drawing the selection arrow */
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat, repeat;
    background-position: right 1.1em top 50%, 0 0;
    background-size: .65em auto, 100%;
}

.lims-select-row::-ms-expand {
    display: none;
}

.lims-select-row:hover {
    border-color: #888;
}

.lims-select-row:focus {
    border-color: #aaa;
    box-shadow: 2px 4px 8px 3px rgba(0,0,0,.17);
    box-shadow: 0 0 0 3px rgba(59, 153, 252, .7);
    color: #222;
    outline: none;
}

.lims-select-row option {
    font-weight: normal;
}

.no-focus {
    background: none;
    border: none;
}

.no-focus:focus {
    background: red;
    border: none;
    color: red;
}

/* 
    Refer:
    https://stackoverflow.com/questions/10019797/pure-css-close-button/20139794#20139794

    (with mods ;-) ;-) ;-) )
*/
.timesheet-close-icon {
    display: block;
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    border-width: 0px;
    border-style: solid;
    border-color: none;
    border-radius: 100%;
    background: -webkit-linear-gradient(-45deg, transparent 0%, transparent 46%, darkgrey 46%, darkgrey 56%,transparent 56%, transparent 100%), -webkit-linear-gradient(45deg, transparent 0%, transparent 46%, darkgrey 46%, darkgrey 56%,transparent 56%, transparent 100%);
    background-color: none;
    transition: all 0.3s ease;
}

/* POPUP AND MODAL DIALOGS */

/*html {
    font-family: Arial, Helvetica, sans-serif;
}*/

/* Popup container */
.popup {
    padding: 40px;
}

/* The Modal (background) */
.modal-overlay {
    display: none; /* Hidden by default */
    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/Box */
.modal-content-overlay {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */

    box-shadow: 2px 4px 8px 3px rgba(0,0,0,.17);
    border-radius: .60em;
}
