body {
    background-color: aliceblue;
    margin:0px;
}

button {
    margin:10px;
}

p {
    font-size: 1em;
}

#main {
    width:100%;
}

#content {
    width:90%;
    overflow:auto;
    margin:0 auto;
    padding:20px;
    border-radius: 5px;
    border:1px solid #000;
    background-color:#fff;
}

#editButton, #deleteButton {
    /*height:15px;*/
    margin: 10px 0;
    border:1px solid #80888e;
    border-radius: 5px;
}

#editButton {
    background-color: #35a7ff;
}

#deleteButton {
    background-color: #f74c4c;
}


#addForm input {
    margin:20px;
}


#myCoinList table {
    width:100%;
    float:left;
    border:1px solid #000;
    border-collapse: collapse;
    margin-top:30px;
}

#myCoinList table tr:nth-child(even) {
    background-color: #ffffe3;
}

#myCoinList th {
    text-align: left;
    border: 1px solid #000;
    padding: 5px;
    background-color: #527284;
    color:#fff;
}

#myCoinList td {
    border:1px solid #000;
    padding:5px;
}


.coinListLable {
    padding:5px;
    background-color: #9ca7ad;
    display:none;
}

#mobileList {
    display:none;
}



/*.hideMobile {
    display:block;
}*/

#highlight {
    background-color: #ffff56;
}

#editUI ul {
    list-style-type: none;
}

#editUI label {
    margin: 0px 15px 0 0;
}
#editUI li {
    margin: 15px 0;
}

#searchOptions {
    width:100%;
    float:left;
    display: flex;
    border-top:1px solid #ccc;
    border-bottom:1px solid #ccc;
}

.searchOption{
    border-left:1px solid #aaa;
    margin:5px;
    padding:20px;
    width:20%;
}

#freeTextFilter, #faceValueFilter {
    width:135px;
}

.reset {
    float:left;
    margin:10px 5px;
}

input[type=submit]{
    margin:10px;
    background-color: #49fc7e;
    border-radius: 10px;
    border:1px solid #26ad2f;
    /*font-size: 14px;*/
    font-size: 1em;
    padding:10px;
}

input#cancelButton{
    background-color: #bdb4b2;
}

/*Start Navigation*/

#nav {
    width: 100%;
    overflow:visible;
    position:relative;
    z-index: 99;
    background-color: #0c2235;
    float:left;
    margin-bottom:20px;
}
#mainMenu {
    width: 25%;
    float:left;
}

#userbar {
    float:right;
    width:15%;
    color:#fff;
}

#userbarLabel {
    float:left;
    font-weight: bold;
}
/*
#mainMenu ul {
    float:left;
    list-style-type: none;
}

#userbar ul{
    list-style-type: none;
    margin:0;
    padding:0;
}

#userbar li {
    float:right;
}

#mainMenu li {
    float:left;
}

#mainMenu li, #userbar li {
    position: relative;
}

#mainMenu li a, #userbar li a {
    display: block;
    padding:10px;
    color:#fff;
    text-decoration: none;
}

#mainMenu ul ul {
    position:absolute;
    display:none;
    left:0;
    top:100%;
}

#mainMenu li:hover ul {
    display:block;
}

#mainMenu li a:hover, #userbar li a:hover {
    background-color: #ffb23c;
}

#mainMenu li li {
    background-color: #1b466b;
    width:100%;
}*/

#mainMenu a {
    float: left;
    font-size: 16px;
    color: white;
    text-align: center;
    padding: 16px;
    text-decoration: none;
    background-color: #2c4e6b;
}

#mainMenu a:hover, .dropDownNav button:hover {
    background-color: #7eb5e5;
}

.dropDownNav {
    position: relative;
    display: inline-block;
}

.dropDownNav button{
    background-color: #2c4e6b;
    color: white;
    padding: 14px 16px;
    font-size: 16px;
    border: none;
    outline:none;
    margin:0px;
}

.dropDownCnt {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}



/*End Navigation*/

/*Begin Small screens*/

@media 
only screen and (max-width: 1000px),
(min-device-width: 768px) and (max-device-width: 1024px){

    p {
        font-size: 1.5em;
    }

    input[type=submit], input[type=text], label, #gradeFilter, #unit, #gradeId, #coinType, #marketValueDate, #saleDate {
        font-size: 1.5em;
    }

    #mainMenu {
        width: 100%;
    }

    #mainMenu a {
        font-size: 1.5em;
        display: block;
        float: none;
    }

    #userbar {
        display: block;
        width: 100%;
        text-align: center;
    }

    /*Hide the list table from user, but it must be rendered by HTML so the JS table export can work */

    #myCoinList th, tr, tbody, thead {
        display: none;
    }

    #mobileList {
        display: block;
        float:left;
        width: 100%;
    }

    #mobileList b {
        color:#696969;
    }
    
    #mobileList ul {
        list-style-type: none;
    }
    
    #mobileList ul:nth-child(even){
        background-color: #ffffe3;
    }

    

    /* Force table to not be like tables anymore */
	/*table, thead, tbody, th, td, tr { 
		display: block; 
	}*/
	
	/* Hide table headers (but not display: none;, for accessibility) */
	/*thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}*/
	
	/*tr { border: 1px solid #ccc;
    margin:20px;}
	
	/*td { 
		/* Behave  like a "row" *
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}*/

    #searchOptions {
        width:100%;
        display: block;
        grid-template-columns: auto auto;
        border-top:1px solid #ccc;
        border-bottom:1px solid #ccc;
    }
    
    .searchOption{
        margin:0px;
        padding:2px;
        width:48%;
        display: block;
        float:left;
    }

    /*.searchOption p {
        font-size: 2em;
    }*/

    .coinListLable {
        display:block;
    }

    .hideMobile {
        display:none;
    }

    .tableexport-caption {
        display: grid;
        grid-template-columns: auto auto auto;
    }

    .button-default{
        font-size: 2em;
    }
	
}

/*End Small screens*/
