html {
	background-color: #000;
	color: #333;
	font-family: 'Abel', sans-serif;
	font-size: 100%;
    height: 100%;
}

body.home,
body.record-detail {
    background-image: url('../img/bg1.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100%;
}

textarea,
input[type="text"],
input[type="button"],
input[type="submit"],
input[type="search"] {
     -webkit-appearance: none;
     border-radius: 0;
}

header {
    width: 100%;
    position: fixed;
    /*height: 50px;*/
    background-color: rgba(0,0,0,.8);
    z-index: 9; 
}

main {
    position: relative;
    padding-top: 50px;
    z-index: 1;
}

.search {
    float: right;
    display: flex;
}

    .search input {
        height: 40px;
        line-height: 40px;
        border: 1px solid #666;
        border-radius: 1px 0 0 1px;
        background-color: rgba(0,0,0,.9);
        color: #fff;    
        margin-top: 5px;
        width: 420px;
        outline: none;
        padding: 0 10px;
        font-size: 20px;
        transition: all 100ms ease-in-out;
    }

        .search input:focus {
            background-color: #333;
        }

    .search button {
        height: 40px;
        border: 1px solid #666;
        background-color: #000;
        color: #fff;
        text-transform: uppercase;
        vertical-align: top;
        margin-top: 5px;
        border-radius: 0 1px 1px 0;
        cursor: pointer;
        margin-left: -1px;
        outline: none;
        transition: all 100ms ease-in-out;
        font-family: 'Abel', sans-serif;
        font-size: 16px;
    }

        .search button:hover {
            background-color: #333;
        }

.light {
    background-color: #eee;
}

.norecords {
    text-align: center;
    margin-top: 20vh;
    display: none;
}

    .norecords p,
    .norecords p i {
        color: #fff;
        font-size: 20px;
    }

    .norecords form {
        display: flex;
        text-align: center;
        width: 450px;
        margin: 20px auto;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .norecords input {
        height: 38px;
        line-height: 40px;
        border: 1px solid #666;
        border-radius: 1px 0 0 1px;
        background-color: rgba(0,0,0,.9);
        color: #fff;    
        margin-top: 5px;
        outline: none;
        padding: 0 10px;
        font-size: 20px;
        transition: all 100ms ease-in-out;
        width: 70%;
    }

        .norecords input:focus {
            background-color: #333;
        }

    .norecords button {
        height: 40px;
        border: 1px solid #666;
        background-color: #000;
        color: #fff;
        text-transform: uppercase;
        vertical-align: top;
        margin-top: 5px;
        border-radius: 0 1px 1px 0;
        cursor: pointer;
        margin-left: -1px;
        outline: none;
        transition: all 100ms ease-in-out;
        font-family: 'Abel', sans-serif;
        font-size: 16px;
        width: 25%;
    }

        .norecords button:hover {
            background-color: #333;
        }

        .norecords button.wait {
            background-color: orange;
            color: #000;
            outline: none;
        }

    .norecords .error {
        color: red;
        margin-top: 10px;
        text-align: right;
        display: none;
    }

.alert-message {
    font-size: 20px;
    color: #54f954;
    margin: 20px 0 30px 0;
}

    .alert-message.error {
        color: red;
    }

.back.button {
    font-size: 16px;
    border: 1px solid #444;
}

nav,
header .back {
    display: inline-block;
    float: left;
    line-height: 48px;
    margin-left: 10px;
}

    nav a,
    header .back a {
        color: #fff;
        border: 1px solid #888;
        line-height: 30px;
        display: inline-block;
        padding: 0 10px;
        text-transform: uppercase;
        border-radius: 1px;
        transition: all 100ms ease-in-out;
    }

        nav a:hover,
        header .back a:hover {
            text-decoration: none;
            background-color: #fff;
            border: 1px solid #fff;
            color: #000;
        }

    nav a.contact {
        color: #aaa;
    }

        nav a.contact:hover {
            color: #000;
        }

        nav a.contact.active {
            color: #000;
            background-color: #fff;
            border-color: #fff; 
        }

header .back {
    float: right;
}

.logo {
    float: left;
}

.wrapper {
    width: 90%;
    position: relative;
    margin: 0 auto;
    box-sizing: border-box;
}

    header .wrapper {
        width: 85%; 
    }

    .wrapper.narrow {
        width: 800px;
    }

    .wrapper.light {
        background-color: #fff;
        box-shadow: 0 0 3px 0 #AAAAAA;
        border-radius: 2px 2px 2px 2px;
        position: relative;
        margin: 0 auto 20px auto;
        padding: 30px 20px 20px 20px;
        min-height: 400px;
    }

.loading {
    text-align: center;
    width: 100%;
    color: #fff;
    height: 40px;
}

/*#wrapper {
	width:800px;
	background-color: #fff;	
	box-shadow: 0 0 3px 0 #AAAAAA;
	border-radius: 2px 2px 2px 2px;
	position:relative;
	margin: 50px auto 20px auto;
    padding: 70px 20px 20px 20px;
    min-height: 400px;
}
*/
.item {
	border-bottom:1px solid #ddd;
	padding: 10px;
}

.item-name {
	font-size: 1.4em;
}

.item-name a {    
    color: #004fb1;
}

.item-date {
	font-size: 0.8em;
}

a {
	/*color: #004fb1;*/
	text-decoration: none;
}

/*a:visited {
	color: #003d88;
}
*/
a:hover {
	text-decoration:underline;
}

h1 {
	color: #000000;
    font-size: 30px;
}
h2 {
	
    font-size: 22px;
    color: #333;
    margin-bottom: 12px;
}

.button {
    outline: 0;
	background-color: #000;
    background-image: none;
    padding: 7px;
    text-decoration: none !important;
    color: #fff;
   	border: 1px solid #000;
    text-transform: uppercase;
    font-size: 12px;
    transition: all 100ms ease-in-out;
}

	.button.corners-left {
		 border-bottom-left-radius: 1px;
		 border-top-left-radius: 1px; 
	}

	.button.corners-right {
		 border-bottom-right-radius: 1px;
		 border-top-right-radius: 1px; 
	}

	.button.corners-all {
		 border-bottom-left-radius: 1px;
		 border-top-left-radius: 1px; 
		 border-bottom-right-radius: 1px;
		 border-top-right-radius: 1px; 
	}

    .button.active {
        background-color: #e2e2e2;   
    }

	.button:hover {
		background-color: #fefefe;
		color:#222;
		cursor:pointer;
	}

	.button.post {
		background-color:#444 !important;
		color:#fff !important;
		border: 1px solid #777 !important;
	}

		.button:hover.post {
			background-color:#222 !important;
		}

    .button.delete {
        background-color:#b10000 !important;
        color:#eee !important;
        border: 1px solid #777 !important;
    }

        .button:hover.delete {
            background-color: #d70000 !important;
            color:#fff !important;
        }

#menu {
	position: absolute;
    right: 21px;
    top: 30px;
}

.context-menu-sep {
    width:7px;
    height:1px;
    float: left;
}

#logo {position: absolute;top:-43px;left:-42px;z-index:3;}

.editor-label 
{
    color: #777;
    font-style: italic; 
}

.editor-value
{
    margin-bottom: 12px;
    margin-top: 4px;
    position: relative;
}
    .editor-value input[type="text"], .editor-value input[type="password"]
    {
        width: 70%;
        border: 1px solid #ddd;
        padding: 5px 4px;
        color: #333;
    }

        .editor-value input[type="text"].datepicker {
            width: 30%;
        }

        .editor-value input[type="text"]:hover, .editor-value input[type="password"]:hover
        {
            border: 1px solid #ccc;
        }
        .editor-value input[type="text"]:focus, .editor-value input[type="password"]:focus
        {
            background-color:#fffee8;
            border: 1px solid #ccc;
        }

.center {
    text-align: center; 
}

p i {
    color: #999;
}

p a {
    color: #004fb1;
    border-bottom: 2px solid #004fb1;
    transition: all 100ms ease-in-out;
}

p a:hover {
    text-decoration: none;
    border-bottom: 3px solid #004fb1;   
}


#shelve {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

    .record {
        display: inline-block;
        padding: 10px;
        margin: 0;
        /* border: 1px solid #fff; */
        /*background: #444;*/
        border: 1px solid rgba(50,70,50,.7);
        background-color: rgba(50,60,50,.6);
        color: #bbb;
        width: 150px;
        min-height: 200px; 
        border-radius: 1px; 
        opacity: 1;
        transition: all 300ms ease-in;
    }

    .record:hover {
        background-color: rgba(50,70,50,1);
        transition: all 100ms ease-in;
    }

    .record.hidden {
        opacity: 0;
    }

    .record img {
        width: 150px;
    }

    .artist {
        font-size: 14px;
    }

    .title {
        font-size: 16px;
        /*font-weight: 700;*/
        color: #ddd;
    }

    .record a {
        color: inherit;
        display: inline-block;
        transition: all 100ms ease-in;
    }

        .record a:hover {
            text-decoration: none;
            color: #fff;
        }

    .catalog {
        font-size: 11px;
        font-family: "courier new", monospace;
        margin-top: 3px;
    }

.record-details {
    column-count: 2;
    display: flex;
}

    .record-details .col {
        break-inside: avoid;
        width: 78%
    }

    .record-details .col:first-of-type {
        width: 20%; 
        margin-right: 2%;
    }

   .record-details .col:first-of-type p {
        max-width: 100%;
        overflow-x: hidden;
        padding-left: 0;
    }

    .record-details .col p {
        padding: 5px;
    }

    .record-details .col p:nth-child(odd) {
        background-color: #eee;
    }

.fb-share {
    background-image: url(../img/fb.png);
    width: 31px;
    height: 31px;
    background-color: transparent;
    background-size: contain;
    border: 0;
    vertical-align: bottom;
}

.info {
    display: block;
    margin-top: 10px;
    border-top: dashed 1px #ccc;
    padding-top: 30px;
    display: none;
}

    .info > div {
        margin-top: 6px;
    }

    .info label {
        width: 131px;
        display: inline-block;
        text-align: right;
        vertical-align: top;
        padding: 2px 20px;
        position: relative;
    }

    .info label.req:after {
        position: absolute;
        content: '*';
        color: red;
    }

    .info input, 
    .info textarea {
        width: 400px;
        display: inline-block;        
        box-sizing: border-box;
        border: 1px solid #bbb;
        padding: 2px 5px;
    }

    .info textarea {
        height: 100px;
    }

    .info button {
        width: 400px;
    }

    .info button.wait,
    a#submit-subscribe.wait,
    a#submit-unsubscribe.wait {
        background-color: orange !important;
        color: #000 !important;
        outline: none;
    }

    .error {
        display: none;
        color: red;
    }

    .message {
        font-size: 16px;
        font-style: italic;
        display: none;
        background-color: #85ff85;
        margin-top: 10px;
    }

        .message.error {
            background-color: #ff8383;
        }

@media screen and (max-width: 1120px) {

    /*.search input {
        width: 340px;
    }*/

    header {
        padding: 10px 0;
    }

    main {
        padding-top: 100px; 
    }

    nav, header .back {
        float: right;
        line-height: 10px;
    }

    .search {
        display: block;
        float: none;
        text-align: right; 
    }

    .search input {
        width: 70%;
    }

    .wrapper.narrow {
        width: 96%;
    }

    .wrapper.narrow img {
        max-width: 98%;
    }
}

@media screen and (max-width: 680px) {

    header .wrapper {
        width: 96%; 
    }

    .search {
        float: right;
    }

    .search input {
        width: 55vw;
    }

    .search button {
        width: 25vw;
    }

    nav a, header .back a, .search input, .search button {
        font-size: 10px;
    }

    nav, header .back {
        margin-top: 20px;
    }

    nav a, header .back a {
        padding: 0 4px;
    }

    .info label {
        width: 100%;
        text-align: left;
        padding: 2px 0;
    }

    .info input, .info textarea {
        width: 100%;
    }

    .info button {
        width: 100%;
    }
}