/*****************************************************************************************
	ssr.css
	Copyright 2015-2019 Derek Erb
	http://www.cabinetderekerb.com

	For www.ssr.horse
*****************************************************************************************/

/*********************************************************************
	DEFAULTS
*********************************************************************/

:root {
	/*
        DARK MODE
        --PgBack: #333333;
        --PgFore: #ffffff;
     */

	--PgBack: #ffffff;
	--PgFore: #000000;

	/*	Contents	*/
	--ContBack: #ffffff;
	--ContFore: black;

	--MainBack: #F0002E;
	--MainFore: white;

	/* Links		*/
	--LinkBack:	white;
	--LinkFore:	#990000;

	--LinkHoverBack:	#F0002E;
	--LinkHoverFore:	white;

	/*	Buttons		*/
	--BtnBack: #990000;
	--BtnFore: white;

	--BtnHoverBack:		pink;
	--BtnHoverFore:		darkred;

	--BtnSubBack: lightskyblue;
	--BtnSubFore: #990000;

	--BtnSubHoverBack:		#2e66c1;
	--BtnSubHoverFore:		white;

	/*	Tables & lists */
	--NewItemBack: mediumpurple;
	--NewItemFore: white;

	--ErrBack: darkred;
	--ErrFore: white;
}

/*********************************************************************
	OVERRIDES
*********************************************************************/

* {
	margin: 0;
	padding: 0;

	font-family: georgia, "times new roman", times, serif;
}

img, embed, object, video {
	max-width: 100%;
	border: none;
}

html {
	font-size: 14px;
}

	@media only screen and (min-width: 350px) {
		html {
			font-size: 16px;
		}
	}

	@media only screen and (min-width: 800px) {
		html {
			font-size: 18px;
		}
	}

	@media only screen and (min-width: 1200px) {
		html {
			font-size: 20px;
		}
	}

	/* -------- Smartphones & Tablets ----------- */
    @media only screen and (max-device-width: 1024px) {
        html {
            font-size: 16px;
        }
    }

    /* --------------- Printing ----------------- */
    @media only print {
        html {
            font-size: 12pt;
        }
    }

body {
	background-color: var(--PgBack);
	background-size: contain;
	color: var(--PgFore);
}

a:link, a:active, a:visited {
	color: #990000;
	text-decoration: underline;
	font-weight: normal;
}

    /* --------------- Printing ----------------- */
    @media print {
        a:link, a:active, a:visited {
            color: inherit;
            text-decoration: none;
            font-weight: normal;
        }
    }

a:hover {
	background-color: var(--LinkHoverBack);
	color: var(--LinkHoverFore);
	text-decoration: none;
}

.left {	float: left; }
.right { float: right; }
.clear { clear: both; }

strong {
	font-weight: bold;
}

abbr {
	text-decoration-style: dotted;
	text-decoration-color: lightgray;
}

	/* --------------- Printing ----------------- */
	@media print {
		abbr {
			text-decoration: none;
		}
	}

::-webkit-input-placeholder {
	padding-left: 1%;
}

:-moz-placeholder {
	padding-left: 1%;
}

::-moz-placeholder {
	padding-left: 1%;
}

:-ms-input-placeholder {
	padding-left: 1%;
}

/* SSR PAGES */

.pg {
	font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif;
}

/**************************************************
	TABLE OVERRIDES
**************************************************/

table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: inherit;

}
table {
	display: table;
	border-spacing: 0;
	border-collapse: collapse;
	border-style: solid;
	border-color: gray;
}

thead {
	display: table-header-group;
	vertical-align: middle;
	border-color: inherit;
}

tbody {
	display: table-row-group;
	vertical-align: middle;
	border-color: inherit;
}

tfoot {
	display: table-footer-group;
	vertical-align: middle;
	border-color: inherit;
}

table > tr {
	vertical-align: middle;
}

tr {
	display: table-row;
	vertical-align: inherit;
	border-color: inherit;
}

td, th {
	display: table-cell;
	vertical-align: inherit;
}

th {
	font-weight: bold;
}

caption {
	display: table-caption;
	text-align: -webkit-center;
}

/**************************************************
	TABLE DEFAULTS
**************************************************/

table {
	border: 2px solid gray;
	background-color: #FFFFFF;
	margin: 0 auto 1% auto;
}

th, td {
	white-space: nowrap;
	border-right: 1px solid #e0e0e0;
	border-bottom: 1px solid #cccccc;
	padding: 0.25% 0.5%;
}

th {
	color: #ffffff;
	/*background-color: #646f7f;*/
	background-color: slategray;

}

tbody tr:nth-child(2n) {
	background-color:#f0f3f5;
}

th.total {
	text-align: right;
	padding-right: 1%;
}

th a:link, th a:active, th a:visited {
	color: #FFFFFF;
	text-decoration: none;
	font-weight: bold;
}

th a:hover {
	text-decoration: underline;
}

/*-----------------------------
    Selected & sorted columns
-------------------------------*/

th.sel {
	padding-left: 1.1em;
	padding-right: 1.1em;
}

th span.asc, th span.desc {
	color: white;
}

th span.asc:after {
	content: '\25B2';
	padding-left: 1.1em;
}

span.desc:after {
	content: '\25BC';
	padding-left: 1.1em;
}

/*-----------------------------
    Data formatting
-------------------------------*/

td.num {
	text-align: right;
}

/* Linked */
.lnk {
	color: #0263AE;
}

/* Calculated */
.calc {
	color: lightcoral;
}

td.cbox {
	text-align: center;
}

tr.newhorse td {
	background-color: var(--NewItemBack);
	color: var(--NewItemFore);
}

/**************************************************
	FORM ELEMENTS
**************************************************/
fieldset, div.infobox {
    display: block;
	padding: 0 5% 2% 1%;
	margin: 0.5% 1% 1% 4%;
}

fieldset {
    border: none;
}

	/* -------- Smartphones & Tablets ----------- */
	@media only screen and (max-device-width: 1024px) {
		fieldset {
			padding: 0 0 2% 2%;
		}
	}

fieldset label, div.infobox .infotit {
    display: block;
	font-size: 1.1em;
	font-weight: bold;
}

fieldset legend {
    font-size: 1.1em;
    font-weight: bold;

    padding: 0 1% 0 1%;
    margin-left: 1.5%;
}


fieldset input, fieldset select, fieldset textarea {
    display: inline-block;
	width: 70%;

	margin: 1% 0 0 1%;
	padding-left: 0.5%;

	font-size: 1.2em;
}

fieldset input {
	height: 1.5em;
	margin-bottom: 0;
}

fieldset input[type="checkbox"], fieldset input[type="radio"] {
	font-size: 0.5em;
	width: 20px;
	height: 20px;
}

fieldset select {
	width: 72%;
	padding: 1% 0 1% 1%;
	margin-left: 0;
}

fieldset textarea {
	width: 90%;
	padding: 0.5% 2% 0 1%;
}

	/* -------- Smartphones & Tablets ----------- */
	@media only screen and (max-device-width: 1024px) {
		fieldset input, fieldset textarea {
			font-size: 1.1em;
			width: 95%;
			padding-left: 2%;
		}

		fieldset input, fieldset select {
			height: 2em;
		}

		fieldset select {
			width: 85%;
		}
	}

form {
    background-color: #FFFFFF;

    border: solid 1pt #cccccc;

    -moz-box-shadow: 2px 2px 5px 1px rgba(0,0,0,0.15);
    -webkit-box-shadow: 2px 2px 5px 1px rgba(0,0,0,0.15);
    -ms-box-shadow: 2px 2px 5px 1px rgba(0,0,0,0.15);
    box-shadow: 2px 2px 5px 1px rgba(0,0,0,0.15);
}

    /* -------- Smartphones & Tablets ----------- */
    @media only screen and (max-device-width: 1024px) {
        form {
            margin: 5% auto 0 auto;
        }
    }


fieldset.rb, div.infobox {
    border: 1px solid darkgrey;
}

fieldset.cb, fieldset.rb {
    width: 82.5%;
}

fieldset.cb {
    padding: 0;
    margin: 0.5% 1% -0.5em 6%;
}

fieldset.rb {
    padding: 0.5em 0 0 0;
    margin: 0.5% 1% 2% 6%;
}

fieldset.rb input, fieldset.cb input {
    display: inline-block;
    vertical-align: middle;

    margin: 0 0 0.5em 0;

    padding: 0;
}

fieldset.rb label, fieldset.cb label {
    display: block;
    /* margin to left of checkbox */
    margin-left: 2%;

    margin-bottom: 0.5em;
}

fieldset.rb label::before, fieldset.cb label::before {
    display: inline-block;
    vertical-align: middle;
}

fieldset.rb span.sprb, fieldset.cb span.spcb {
    /* margin between checkbox and label */
    margin-left: 0.5%;

    font-size: 1em;
    font-weight: bold;
}

div.infobox {
	width: 80%;
    padding: 0.5em 0 0 2%;
    margin: 2% 1% 1% 6%;
}

div.infobox .infolegend {
	background: #fff;
	margin-top: -1.2em;

	padding: 0 0 0 0.5%;

    width: 10%;

    font-weight: bold;
}

div.infobox .infotit {
    display: inline-block;
    width: 15%;
    margin: 0.25em 0 0.25em 0;
}

div.infobox .infotxt {
    display: inline-block;
    width: 75%;
    margin: 0.25em 0 0.25em 0;
	font-style: italic;
}

/*  PLACEHOLDERS */
::-webkit-input-placeholder {
    font-style: italic;
    color: lightgrey;
}

:-moz-placeholder { /* Firefox 18- */
    font-style: italic;
    color: lightgrey;
}

::-moz-placeholder { /* Firefox 19+ */
    font-style: italic;
    color: lightgrey;
}

:-ms-input-placeholder {
    font-style: italic;
    color: lightgrey;
}

:required {
	box-shadow: 4px 4px 20px rgba(200, 0, 0, 0.85);
}

input:read-only {
	font-style: italic;
	color: darkgray;
}

.ssrfld {
	background-color: transparent;
	border: 1pt solid darkgray;
}

/* Highlight field on focus */
.ssrfldactive {
	background-color: lightyellow;
	border: 1pt solid var(--MainFore);
}

.ssrform {
    margin: 1% auto 0 auto;
}

.ssrformctr {
    margin: 0 10% 0 2%;
    text-align: right;
    color: darkgray;
}

.ssrformctr, .ssrformerr, .ssrformerron, .ssrformerroff {
    font-size: 0.8em;
}

.ssrformerr, .ssrformerron, .ssrformerroff {
    margin: 1% 0 0 2%;
    color: var(--MainFore);
	background-color: var(--MainBack);
}

.ssrformerron {
    display: block;
}

.ssrformerroff {
    margin: 0;
    display: none;
}

.ssrformfoot, .ssrformhead {
    text-align: center;
    font-size: 1.25em;
    font-weight: bold;

    background-color: var(--MainBack);
    color: var(--MainFore);
}

.ssrformfoot {
    margin: 5% 0 0 0;
    padding: 1%;
}

.ssrformhead {
    padding: 2%;
}

.ssrformsubmit {
	cursor: pointer;
    background-color: var(--BtnSubBack);
	color: var(--BtnSubFore);
    margin: auto;

    font-family: sans-serif;
    font-size: 1em;

    padding-top: 0.75%;
    padding-bottom: 3%;

	display: block;
	width: 40%;

/*	box-shadow 0px 5px 10px rgba(darken(dodgerblue, 40%))
	transition all .3s
*/
    -moz-border-radius: 0.5em;
    -webkit-border-radius: 0.5em;
    border-radius: 0.5em;
}

#forgotunsubmit {
	padding-bottom: 3%;
}

#forgotpsubmit {
	padding-bottom: 3%;
}

.ssrformsubmit:hover {
	background-color: var(--BtnSubHoverBack);
	color: var(--BtnSubHoverFore);

/*	box-shadow 0px 15px 25px -5px rgba(darken(dodgerblue, 40%));
	transform scale(1.03); */
}

.ssrformsubmit:active {
/*	box-shadow 0px 4px 8px rgba(darken(dodgerblue, 30%));
	transform scale(.98);*/
}

.ssrformsubmit:enabled {
	color: darkred;
}

.ssrformsubmit:disabled {
	color: darkgray;
}

/* -------- Smartphones & Tablets ----------- */
@media only screen and (max-device-width: 1024px) {
    .ssrformsubmit {
        width: 180px;
        height: 30px;
        padding-bottom: 5%;
    }
}

.ssrformsucc {
    text-align: center;
    font-weight: bold;
    font-style: italic;

    background-color: midnightblue;
    color: #ffffff;
    opacity: 0.7;

    border: solid 1pt #cccccc;

    -moz-border-radius: 0.5em;
    -webkit-border-radius: 0.5em;
    border-radius: 0.5em;

    -moz-box-shadow: 2px 2px 5px 1px rgba(0,0,0,0.15);
    -webkit-box-shadow: 2px 2px 5px 1px rgba(0,0,0,0.15);
    -ms-box-shadow: 2px 2px 5px 1px rgba(0,0,0,0.15);
    box-shadow: 2px 2px 5px 1px rgba(0,0,0,0.15);

    font-size: 1.1em;

    margin: 1% 2% 1% 2%;
    padding: 1%;
}

.ssrformtit {
    text-align: center;
    font-size: 1.4em;
    font-weight: bold;
    margin: 1% 0 2% 0;
}

/**************************************************
	COOKIES MESSAGE
**************************************************/

div#cmsg {
	display: block;
	position: sticky;
	top: 0;
	left: 0;
	width: 100%;
	margin-top: 0;
	margin-left: 0;

	clear: both;

	padding: 0;
	background: #fde073;
	text-align: center;

	-webkit-box-shadow: 0 0 5px black;
	-moz-box-shadow: 0 0 5px black;
	box-shadow: 0 0 5px black;
}

div#cblk {
	display: table;

	margin-top: 0;
	width: 100%;
}

div#ctxt, div#cbtn {
	display: table-cell;
	text-align: center;

	padding-top: 0.25em;
	padding-bottom: 0.5em;
}

div#ctxt {
	width: 90%;
}

div#cbtn {
	width: 10%;
	text-align: right;
	vertical-align: middle;
}

button.cmsg {
	background-color: darkred;
	color: white;
	font-size: 1.2em;
	font-weight: bold;
	padding: 1% 8%;

	margin-right: 8%;

	-moz-border-radius: 0.5em;
	-webkit-border-radius: 0.5em;
	border-radius: 0.5em;

	-webkit-box-shadow: 0 4px 5px 0 rgba(0,0,0,0.24), 0 4px 5px 0 rgba(0,0,0,0.19);
	-moz-box-shadow: 0 4px 5px 0 rgba(0,0,0,0.24), 0 4px 5px 0 rgba(0,0,0,0.19);
	box-shadow: 0 4px 5px 0 rgba(0,0,0,0.24), 0 4px 5px 0 rgba(0,0,0,0.19);
}

button.cmsg:hover {
	background-color: darkgreen;
}

/* -------- Smartphones & Tablets ----------- */
@media only screen and (max-device-width: 1024px) {
	div#cmsg {
		font-size: 0.8em;
	}

	div#ctxt {
		width: 80%;
		padding: 0.5em 2em;
	}

	div#ctbn {
		width: 20%;
	}

	button.cmsg {
		background-color: darkgreen;
		color: white;
		padding: 0.5em 1em;
		margin-right: 0.5em;
	}
}

/* --------------- Printing ----------------- */
@media only print {
	#cmsg {
		display: none;
	}
}

/**************************************************
	HEADER
**************************************************/

#header {
	display: table;
	width: 98%;
	margin-left: 1%;

	border-bottom: 1px solid #999999;
	margin-bottom: 0.5%;
}

#hdrlogo {
	display: table-cell;
	width: 50%;

    padding: 0;
}

#ahdrlogo {
	display: block;
	background-repeat: no-repeat;
	background-position: 0 0;

    background-image: url('/imgs/SSRLogoH.gif');
    width: 244px;
    height: 140px;

    margin: 1% 0 2% 2%;

/*
    background-image: url('/imgs/SSRLogo.svg');
    background-size: contain;
    width: 224px;
    height: 128px;
    padding: 0;
*/
}

    /* -------- Smartphones & Tablets ----------- */
    @media only screen and (max-device-width: 1024px) {
        #ahdrlogo {
            background-image: url('/imgs/SSRLogo-micro.gif');
            width: 112px;
            height: 64px;
        }
    }

    /* --------------- Printing ----------------- */
    @media only print {
        #ahdrlogo {
            display: block;
            background-repeat: no-repeat;
            background-position: 0 0;

            background-image: url('/imgs/SSRLogoH.gif');
            width: 244px;
            height: 140px;

            margin: 1% 0 2% 2%;
        }
    }

/**************************************************
	NAVIGATION
**************************************************/

ul.navSSR {
	list-style-type: none;
    margin: 0 1% 0.5% 1%;
	padding-left: 0;
	overflow: hidden;
	background-color: var(--MainBack);
	color: var(--MainFore);
}

ul.navSSR li {
	float: left;
	font-size: 0.9em;
}

ul.navSSR li#btnLogin {
    float: right;
}

ul.navSSR li a {
	display: inline-block;

    text-align: center;
	text-decoration: none;

	padding: 0.5em 1.5em;
    margin: 1% 1%;
    white-space: nowrap;

	transition: 0.3s;

	background-color: var(--MainBack);
    color: var(--MainFore);
	font-weight: normal;
	font-size: 1.05em;
}

ul.navSSR li a:hover {
	background-color: var(--LinkBack);
	color: var(--LinkFore);
	font-weight: normal;
	padding: 0.5em 1.5em;
}

ul.navSSR li.btnBlank, ul.navSSR li.icon {
	display: none;
}

	/* -------- Smartphones & Tablets ----------- */
	@media only screen and (max-device-width: 1024px) {
		ul.navSSR li {
			display: none;
		}

		ul.navSSR li.icon, ul.navSSR li#btnLogin {
			float: right;
			display: inline-block;
		}

		ul.navSSR li a:hover {
			background-color: transparent;
		}

		/* Menu dropped down */
		ul.navSSR.responsive {
			position: relative;
			background-color: darkgray;
		}

		ul.navSSR.responsive li.icon {
			position: absolute;
			right: 0;
			top: 0;
		}

		ul.navSSR.responsive li {
			float: none;
			display: inline;

			font-size: 1em;
		}

		ul.navSSR.responsive li a {
			display: block;
			text-align: left;

			margin: 1% 5% 1% 1%;
			border-bottom: 1px white solid;
			background-color: transparent;
			color: black;
			font-weight: bold;
			padding-left: 1em;
		}

		ul.navSSR.responsive li.btnBlank a, ul.navSSR.responsive li.icon a {
			background-color: transparent;
			border-bottom: none;
			color: white;
		}
	}

    /* --------------- Printing ----------------- */
    @media only print {
        ul.navSSR {
            display: none;
        }
    }

/**************************************************
	CONTENT
**************************************************/
div.content {

	display: block;
    margin-left: 1%;
    margin-bottom: 1%;
	width: 98%;
	padding-bottom: 1%;
	background-color: #EEEEEE;

	line-height: 1.3em;
}

/* --------------- Printing ----------------- */
@media only print {
	div.content {
		margin-left: 2%;
		margin-bottom: 2%;
		background-color: #ffffff;
	}
}

/**************************************************
	Prev / Next
**************************************************/

nav.prevNext {
	width: 98%;
	margin-left: 1%;
	margin-bottom: 1%;
	display: flex;
	justify-content: space-between;
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (max-device-width: 1024px) {
	nav.prevNext {
		margin-bottom: 4%;
	}
}

a[rel=next], a[rel=prev] {
	cursor: pointer;

	background-color: var(--BtnBack);
	color: var(--BtnFore);
	text-decoration: none;

	padding: 0.5% 1.25%;

	text-align: center;
	font-weight: bold;

	font-size: 0.8em;
	white-space: nowrap;

	-moz-border-radius: 0.5em;
	-webkit-border-radius: 0.5em;
	border-radius: 0.5em;

	-webkit-box-shadow: 0 4px 5px 0 rgba(0,0,0,0.24), 0 4px 5px 0 rgba(0,0,0,0.19);
	-moz-box-shadow: 0 4px 5px 0 rgba(0,0,0,0.24), 0 4px 5px 0 rgba(0,0,0,0.19);
	box-shadow: 0 4px 5px 0 rgba(0,0,0,0.24), 0 4px 5px 0 rgba(0,0,0,0.19);
}

a[rel=next]:hover, a[rel=prev]:hover {
	background-color: var(--BtnHoverBack);
	color: var(--BtnHoverFore);
}

a[rel=next]:after {
	content: ' →';
}

a[rel=prev]:before {
	content: '← ';
}

/**************************************************
	FOOTER
**************************************************/

#footer {
	clear: both;

	margin: 1% 0 1% 1%;

	border-top: 1px solid #999999;
	padding-top: 1em;

	width: 98%;
	text-align: center;

	font-size: 0.8em;
	color: darkgray;
}

#footer a.vernum, #footer a.vernum:hover {
	background-color: transparent;
	text-decoration: none;
	color: darkgray;
	cursor: none;
}

#techsupp {
    font-size: 1.4em;
    color: black;
	margin-bottom: 1%;
}

	/* --------------- Printing ----------------- */
	@media only print {
		#techsupp {
			display: none;
		}
	}

/**************************************************
	CONTENT STYLES
**************************************************/

section.articletxt {
	background-color: white;
	border: 1px solid gray;

	margin: 0 1% 1% 1%;
	padding: 1% 0 1% 0;
}

    /* --------------- Printing ----------------- */
    @media only print {
        section.articletxt {
            border: none;
        }
    }

div.atxt {
	text-align: justify;

	margin: 0 2% 1% 2%;
}

	/* Smartphones (portrait and landscape) ----------- */
	@media only screen and (max-device-width: 1024px) {
		div.atxt {
			font-size: 1.1em;
			margin: 1% 4% 4% 4%;
		}
	}

ul.alist {
	margin-top: 0.5%;
}

ul.alist li {
	margin: 0.25% 0 0.5% 2%;
}
	/* Smartphones (portrait and landscape) ----------- */
	@media only screen and (max-device-width: 1024px) {
		ul.alist li {
			margin: 0.25% 0 0.5% 10%;
		}
	}

div.btnlinks {
	width: 60%;
	margin-left: auto;
	margin-right: auto;
	font-size: 1.1em;
	background-color: var(--BtnBack);
	color: var(--BtnFore);

	padding: 0.5%;

	text-align: center;
	font-weight: bold;

	-moz-border-radius: 0.5em;
	-webkit-border-radius: 0.5em;
	border-radius: 0.5em;

	-webkit-box-shadow: 0 4px 5px 0 rgba(0,0,0,0.24), 0 4px 5px 0 rgba(0,0,0,0.19);
	-moz-box-shadow: 0 4px 5px 0 rgba(0,0,0,0.24), 0 4px 5px 0 rgba(0,0,0,0.19);
	box-shadow: 0 4px 5px 0 rgba(0,0,0,0.24), 0 4px 5px 0 rgba(0,0,0,0.19);
}

div.btnlinks:hover {
	background-color: var(--BtnHoverBack);
	color: var(--BtnHoverFore);
}

div.btnlinks a:link, div.btnlinks a:active, div.btnlinks a:visited {
	text-decoration: none;
	font-weight: bold;

	background-color: var(--BtnBack);
	color: var(--BtnFore);

	padding: 0.5% 4%;
}

div.btnlinks a:hover {
	background-color: var(--BtnHoverBack);
	color: var(--BtnHoverFore);
	text-decoration: none;
}

	/* Smartphones (portrait and landscape) ----------- */
	@media only screen and (max-device-width: 1024px) {
		div.btnlinks {
			width: 96%;
		}
	}

span.errmsg {
	color: #990000;
	font-weight: bold;
}

tr.errmsg td {
	background-color: darkred;
	color: yellow;
	font-weight: bold;
}

div.tit {
	font-weight: bold;
	font-size: 1.6em;

	text-align: center;

	padding-top: 1%;
	padding-left: 4%;

	margin-bottom: 2%;
}

