﻿/*----HEADER----*/
.header-border {
	padding: 20px 0px 0px 0px;
	background-color: white;
}
/* Sets header logo and modal image postions in middle - apply to container not to element*/
.header-product-ranking, .header-menu> summary, .header-location, .header-location-code, .header-screen, .header-logo, .header-admin> summary, .header-user> summary, .header-list-count, .header-list> summary, .item-search-image, .item-view-image, .item-country-image, .item-search-input, .item-result-ranking, .item-palette-image, .item-detail-image, .item-bullet-image {
	background-color: white;
	height: 100%;
	display: grid;
	/* L - Middle - R*/
	justify-content: center;
	/* T - Middle - B*/
	align-items: center;
	text-decoration: none;
	-webkit-appearance: none;
}

.menu-filter> summary {
	width: calc(100% - 22px);
	background-color: white;
	display: grid;
	/* L - Middle - R*/
	justify-content: center;
	/* T - Middle - B*/
	align-items: center;
	text-decoration: none;
	-webkit-appearance: none;
}
.pagination-page> summary {
	width: calc(100% - 42px);
	background-color: white;
	display: grid;
	/* L - Middle - R*/
	justify-content: center;
	/* T - Middle - B*/
	align-items: center;
	text-decoration: none;
	-webkit-appearance: none;
}

.item-bullet-headline {
	background-color: white;
	display: grid;
	/* L - Middle - R*/
	justify-content: left;
	/* T - Middle - B*/
	align-items: center;
	text-decoration: none;
	-webkit-appearance: none;
}

.header-location-code {
	margin-top: 0px;
	font-size: 0.6rem;
	color: black;
	font-weight: bold;
	opacity: 80%;
}
.header-list-count {
	font-size: 0.7rem;
	color: black;
	font-weight: bold;
	opacity: 80%;
}
/* Put border around flag */
.header-location> img {
	border: 0.5px solid grey;
}

/* Sets for text version*/
.header-logo> p {
	text-decoration: none;
	color: #3B3B3B;
	font-weight: bold;
	text-align: center;
	font-size: 2.0rem;
	padding: 0px 0px 0px 0px;
}
.user-email {
	margin: 20px 20px 20px 20px;
}
.user-password {
	margin: 0px 20px 0px 20px;
}

.user-login {
	margin: 20px 20px 20px 20px;
}
.user-logout {
	margin: 20px 20px 20px 20px;
}
.user-terms {
	margin: 40px 20px 0px 20px;
}
.user-terms> p{
	font-size: 1.0rem;
}
.user-terms> p> a {
	font-size: 1.0rem;
	font-weight: bold;
}



.user-register {
	margin: 30px 20px 20px 20px;
}
.user-forgot-password {
	margin: 20px 20px 40px 20px;
}
.user-change-password {
	margin: 20px 20px 40px 20px;
}

/* Sets main header menu spacing*/
.header-nav> ul> li {
	padding: 0px;
	border: 0px;
	/* Sets even space between each item*/
	margin: 10px 10px;
	list-style: none;
}
/* Sets main header menu font size*/
.header-nav> ul> li> a {
	font-size: 1.4rem;
}

/*----MOBILE----*/
@media only screen and (max-width: 600px) {

    .header-logo> img {
        height: 40px;
        width: auto;
        object-fit: contain;
        overflow: hidden;
    }
	.header-menu> summary> img, .header-location> img, .header-screen> img, .header-admin> summary> img, .header-user> summary> img, .header-list> summary> img {
		width: 20px;
        object-fit: contain;
        overflow: hidden;
        z-index: 1;
    }
	.heading-image, .heading-country-image, .item-feature-image {
        margin: 20px 0px 0px 0px;
        padding: 10px;
        background-color: white;
	}
	.menu-filter> summary> img, .menu-search> button> img, .pagination-prev> button> img, .pagination-prev> a> img, .pagination-next> button> img, .pagination-next> a> img {
        height: 10px;
        object-fit: contain;
        overflow: hidden;
        z-index: 1;
    }
	.item-search-image> img, .item-view-image> img {
		height: 50px;
		max-width: 100%;
		object-fit: contain;
        overflow: hidden;
        z-index: 1;
	}
	.item-country-image> img {
		border: 1px solid grey;
		max-width: 100%;
		object-fit: contain;
		overflow: hidden;
		z-index: 1;
	}
	.item-palette-image> img {
		height: 100px;
		max-width: 100%;
		object-fit: contain;
        overflow: hidden;
        z-index: 1;
	}
	.item-detail-image> img {
		max-height: 100px;
		max-width: 100%;
		object-fit: contain;
        overflow: hidden;
        z-index: 1;
	}
	.item-bullet-image> img {
		height: 50px;
		max-width: 100%;
		object-fit: contain;
        overflow: hidden;
        z-index: 1;
	}

}
/*----TABLET----*/
@media only screen and (min-width:600px) and (max-width: 1200px) {
	
	.header-logo> img {
		height: 50px;
		width: auto;
        object-fit: contain;
        overflow: hidden;
	}
	
	.header-menu> summary> img, .header-location> img, .header-screen> img, .header-admin> summary> img, .header-user> summary> img, .header-list> summary> img {
		width: 30px;
		object-fit: contain;
        overflow: hidden;
        z-index: 1;
	}
	.heading-image, .heading-country-image {
        margin: 40px 0px 0px 0px;
        padding: 20px;
        background-color: white;
	}
	.menu-filter> summary> img, .menu-search> button> img, .pagination-prev> button> img, .pagination-prev> a> img, .pagination-next> button> img, .pagination-next> a> img {
		height: 15px;
		object-fit: contain;
        overflow: hidden;
        z-index: 1;
	}
	.item-search-image> img, .item-view-image> img {
		height: 75px;
		max-width: 100%;
		object-fit: contain;
        overflow: hidden;
        z-index: 1;
	}
	.item-country-image> img {
		border: 1px solid grey;
		max-width: 100%;
		object-fit: contain;
        overflow: hidden;
        z-index: 1;
	}
	.item-palette-image> img {
		height: 150px;
		max-width: 100%;
		object-fit: contain;
        overflow: hidden;
        z-index: 1;
	}
	.item-detail-image> img {
		max-height: 150px;
		max-width: 100%;
		object-fit: contain;
        overflow: hidden;
        z-index: 1;
	}
	.item-bullet-image> img {
		height: 50px;
		max-width: 100%;
		object-fit: contain;
        overflow: hidden;
        z-index: 1;
	}

}
/*----DESKTOP----*/
@media only screen and (min-width:1200px) {
	
	.header-logo> img {
		height: 70px;
	}
	.header-menu> summary> img, .header-location> img, .header-screen> img, .header-admin> summary> img, .header-user> summary> img, .header-list> summary> img {
		width: 35px;
		object-fit: contain;
        overflow: hidden;
        z-index: 1;
	}
	.heading-image, .item-feature-image, .heading-country-image {
        margin: 40px 0px 0px 0px;
        padding: 20px;
        background-color: white;
    }
	.menu-filter> summary> img, .menu-search> button> img, .pagination-prev> button> img, .pagination-prev> a> img, .pagination-next> button> img, .pagination-next> a> img {
		height: 20px;
		object-fit: contain;
        overflow: hidden;
        z-index: 1;
	}
	.item-search-image> img, .item-view-image> img {
		height: 100px;
		max-width: 100%;
		object-fit: contain;
        overflow: hidden;
        z-index: 1;
	}
	.item-country-image> img {
		border: 1px solid grey;
		max-width: 100%;
		object-fit: contain;
        overflow: hidden;
        z-index: 1;
	}
	.item-palette-image> img {
		height: 200px;
		max-width: 100%;
		object-fit: contain;
        overflow: hidden;
        z-index: 1;
	}
	.item-detail-image> img {
		max-height: 200px;
		max-width: 100%;
		object-fit: contain;
        overflow: hidden;
        z-index: 1;
	}
	.item-bullet-image> img {
		height: 200px;
		max-width: 100%;
		object-fit: contain;
        overflow: hidden;
        z-index: 1;
	}

}

/*----HEADING----*/

.heading-image> img {
	max-height: 400px;
	/*Keep aspect ratio and resized to fit dimension */
	object-fit: contain;
	overflow: hidden;
}
.heading-country-image> img {
	border: 1px solid grey;
	max-height: 200px;
	/*Keep aspect ratio and resized to fit dimension */
	object-fit: contain;
	overflow: hidden;
}
.item-feature-image> img {
	max-height: 500px;
	/*Keep aspect ratio and resized to fit dimension */
	object-fit: contain;
	overflow: hidden;
}
/* Heading Headline */
h1 {
	text-align: center;
	font-size: 2rem;
	font-weight: normal;
	margin: 10px;
	color: black;
}
.heading-lead> p {
	text-align: left;
	font-size: 1.5rem;
	margin: 0px 20px 20px 20px;
}
.item-feature-lead> p {
	text-align: left;
	font-size: 1.5rem;
	font-weight: bold;
	margin: 0px 20px 20px 20px;
}
.heading-body> p {
	text-align: left;
	font-size: 1.5rem;
	margin: 0px 20px 20px 20px;
}
.item-feature-body> p {
	text-align: left;
	font-size: 1.5rem;
	margin: 0px 20px 20px 20px;
}

.item-feature-name-label> p {
	text-align: left;
	font-size: .5rem;
	border-bottom: solid 1px;
	border-color: grey;
}
.item-feature-weight-label> p, .item-feature-rank-label> p {
	text-align: center;
	font-size: .5rem;
	border-bottom: solid 1px;
	border-color: grey;
}
.item-feature-name-value> p {
	text-align: left;
	font-size: .8rem;
}
.item-feature-weight-value> p, .item-feature-rank-value> p {
	text-align: center;
	font-size: .8rem;
}
.item-feature-bar> progress, .item-feature-bar> progress {
	width: 100%;
}
.item-feature-text> p, .item-feature-ranking> p {
	text-align: center;
	font-size: 1.2rem;
	font-weight: bold;
}




/*----PAGE----*/

.page-menu, .page-nav, .page-pagination, .page-notify {
	padding: 20px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
	-moz-border-radius: 0px;
    -webkit-border-radius: 0px;
	border-radius: 0px;
	background-color: white;
}
.page-notify {
	background-color: orange;
	margin: 20px 0px 20px 0px;
	padding: 20px 0px 20px 0px;

}
.page-notify> div> div> p {
	font-weight: bold;
}
.page-nav, .page-pagination {
	margin: 20px 0px 20px 0px;
}
/* Adjust container for button to fit grid*/
.page-menu> nav, .page-nav> ul, .page-pagination> nav {
	margin: 0px 10px 0px 10px;
}
.page-menu> div> div, .page-menu> div> details, .page-pagination> div> div, .page-pagination> div> details {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0px 0px 20px 0px;
	width: 100%;
}
.page-nav> ul> li {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0px 0px 20px 10px;
	width: calc(100% - 20px);
}
.menu-filter> summary, .pagination-prev> a {
	margin: 0px 0px 0px 20px;
}
.menu-text> input, .menu-back> a, .pagination-page> summary, .pagination-back> a {
	margin: 0px 20px 0px 20px;
}
.menu-search> button, .pagination-next> a {
	margin: 0px 20px 0px 0px;
}

/*----LIST----*/
.list-border {
	padding: 20px 0px 10px 0px;
	margin: 20px 0px 20px 0px;
	-moz-border-radius: 0px;
    -webkit-border-radius: 0px;
	border-radius: 0px;
	background-color: white;
}
.list-border-bottom {
	padding: 20px 0px 10px 0px;
	margin: 0px 0px 40px 0px;
	-moz-border-radius: 0px;
    -webkit-border-radius: 0px;
	border-radius: 0px;
	background-color: white;
}




h2 {
	text-align: left;
	font-size: 1.2em;
	font-weight: bold;
	margin: 0px 20px 10px 20px;
	border-bottom: solid 2px;
	border-color: grey;
	color: black;
}
h2> input[type='text'] {
	text-align: left;
	font-size: 1.2em;
	font-weight: bold;
	margin: 0px;
	border: 0px;
	outline: none;
	color: black;
}

.list-image> img {
	margin: 20px;
	max-height: 150px;
	width: calc(100% - 40px);
	/*Keep aspect ratio and resized to fit dimension */
	object-fit: contain;
	overflow: hidden;
}

.heading-aside, .page-aside, .list-detail, .list-tile, .list-item, .list-aside, .item-aside {
	margin: 10px 10px 10px 10px;
}
.heading-aside> details, .page-aside> details, .list-aside> details, .item-aside> details {
	margin: 10px;
}

.heading-aside> details> ul> li, .page-aside>details> ul> li, .list-aside> details> ul> li, .item-aside> details> ul> li  {
	margin: 10px 0px 0px 0px;
}
.heading-aside-document, .page-aside-document, .list-aside-document, .item-aside-document  {
	display: flex;
	align-items: center;
	justify-content: center;
}


.list-lead> p {
	text-align: left;
	font-size: 1.2em;
	font-weight: bold;
	/*white-space: nowrap;*/
	margin: 0px 20px 0px 20px;
}
.list-body> p {
	text-align: left;
	font-size: 1.2em;
	margin: 0px 20px 0px 20px;
}
.list-nav> ul> li {
	margin: 0px 10px 20px 10px;
}

/* Adjust container for button to fit grid*/
.list-nav> ul> li {
	width: calc(100% - 20px);
	display: flex;
  	align-items: center;
  	justify-content: center;
}


.item-select {
	width: calc(100% - 25px);
}

.item-nav {
	width: 100%;
	display: flex;
	align-items:end;
}
.item-nav> ul {
	width: 100%;
}
.item-nav> ul> li {
	margin: 20px 0px 0px 0px;
	width: calc(100% - 10px);
	display: flex;
  	justify-content: center;
}



/*----ITEM----*/

.item-search, .item-view, .item-country {
	margin: 0px 9px 20px 9px;
	border: 1px solid grey;
	padding: 10px;
	-moz-border-radius: 10px;
    -webkit-border-radius: 10px;	
	border-radius: 10px;
	background-color: white;
}

.item-search-headline, .item-search-lead, .item-search-body {
	padding: 0px 5px 5px 10px;
}
.item-view-headline, .item-country-headline {
	padding: 5px 5px 5px 10px;
	display: flex;
	align-items: center;
}


.item-border {
	margin: 9px;
	border: 1px solid grey;
	padding: 10px;
	-moz-border-radius: 10px;
    -webkit-border-radius: 10px;	
	border-radius: 10px;
	background-color: white;
}
.detail-border {
/*	margin: 0px 5px 0px 5px;*/
	margin: 20px;
}
.item-border> div, .detail-border> div {
	margin: 0px 5px 5px 5px;
}


.item-middle-center {
	display: flex;
	justify-content: center;
	align-items: center;
}

/* need to change justification to center input within container */
.input-container {
	height: 30px;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	text-decoration: none;
	-webkit-appearance: none;
}
.input-container> input {
	display: flex;
	justify-content: center;
	align-items: center;
	text-decoration: none;
}
h3 {
	text-align: left;
	font-size: 1.1em;
	color: black;
}
.item-search-headline> h3, .item-view-headline> h3, .item-link-headline> h3 {
	text-align: left;
	font-size: 1.2em;
	margin: 0px 0px;
}
.item-headline> h3, .item-country-headline> h3 {
	text-align: left;
	font-size: 1.2em;
	margin: 0px 0px;
}
.item-advice-lead> p {
	font-size: 1.3em;
	font-weight: bold;
	font-style: italic;
	/*white-space: nowrap;*/
	margin: 0px 0px 5px 0px;
}
.item-lead> p, .item-search-lead> p, .item-link-lead> p {
	font-size: 1.1em;
	/*font-weight: bold;
	white-space: nowrap;*/
	margin: 0px 0px 5px 0px;
}
.item-body> p, .item-search-body> p {
	text-align: left;
	font-size: 1.1em;
	margin: 0px 0px 5px 0px;
}
.item-tax> button {
	width: 100%;
	text-align: center;
	font-size: 1.1em;
}


/* Set width and adjust height to keep aspect ratio */
.item-image-diagnostic> img, .item-image-answer> img, .item-image> img {
	max-height: 250px;
	width: 100%;
	/* Keep aspect ratio and resized to fit dimension */
	object-fit: contain;
	overflow: hidden;
}
.item-section-image {
	height: 250px;
}
.item-section-image> img {
	height: 250px;
	width: 100%;
	/* Keep aspect ratio and resized to fit dimension */
	object-fit: contain;
	overflow: hidden;
}
.item-feature-image> img {
	max-height: 500px;
	/*Keep aspect ratio and resized to fit dimension */
	object-fit: contain;
	overflow: hidden;
}
.item-result-name-label> p, .item-link-name-label> p, .item-link-cost-label> p {
	text-align: left;
	font-size: .5rem;
	border-bottom: solid 1px;
	border-color: grey;
}
.item-result-weight-label> p, .item-result-rank-label> p, .item-link-dmin-label> p, .item-link-dmax-label> p{
	text-align: center;
	font-size: .5rem;
	border-bottom: solid 1px;
	border-color: grey;
}
.item-tax-label> p {
	margin: 10px 0px 0px 0px;
	width:100%;
	text-align: left;
	font-size: .5rem;
	border-bottom: solid 1px;
	border-color: grey;
}
.item-link-name-value {
	display: flex;
	/* L - Middle - R*/
	justify-content: left;
	/* T - Middle - B*/
	align-items: flex-start;
}
.item-result-name-value> p, .item-link-name-value> button, .item-link-cost-value> p {
	text-align: left;
	font-size: .8rem;
}
.item-result-weight-value> p, .item-result-rank-value> p, .item-link-dmin-value> p, .item-link-dmax-value> p {
	text-align: center;
	font-size: .8rem;
}
.item-result-bar> progress, .item-section-bar> progress {
	width: 100%;
}

.item-result-text> p, .item-result-ranking> p, .item-section-text> p, .item-section-ranking> p {
	text-align: center;
	font-size: 1.2rem;
	font-weight: bold;
}






.item-new> p {
	text-align: right;
	vertical-align: text-top;
	font-size: 1.0rem;
	color: red;
	font-weight: bold;
	transform: rotate(45deg);
	margin-top: 0px; 
}
.item-edit> a {
	font-size: 0.8rem;
	text-decoration: underline;
}
.item-tile> p {
	text-align: left;
	font-size: 1.1rem;
	font-weight: bold;
	border-bottom: 2px solid darkgrey;
	margin-bottom: 8px;
}

/*----TILE----*/

.tile-border {
	-moz-border-radius: 0px;
    -webkit-border-radius: 0px;	
	border-radius: 0px;

	background-color: hsla(0,0%,98%,1.00);
/*	background-color:rgba(47,109,235,0.82);
	background-color: whitesmoke;*/
}
.image-tile {
	height: 100px;
	width: auto;
	/* Keep aspect ratio and resized to fit dimension */
	object-fit: contain;
	overflow: hidden;
}

/*----FOOTER----*/

.footer-border {
	padding: 20px;
	background-color: white;
}
h4 {
	padding: 10px 0px 0px 0px;
	text-align: center;
	font-size: 1.0rem;
	color: black;
	border-color: grey;
}
.footer-border> nav> div> ul> li {
	width: auto;
	list-style: none;
	text-align: center;
}
.footer-border> nav> div> ul> li> a {
	font-size: 0.8rem;
}
.footer-border> nav> div> ul> li> p {
	font-size: 0.8rem;
	text-align: left;
}

.footer-social	{
	padding: 10px;
}
.footer-social> a> img {
	height: 30px;
	width: auto;
	/* Keep aspect ratio and resized to fit dimension */
	object-fit: contain;
	overflow: hidden;
}
.footer-copyright {
	padding: 10px 10px 20px 10px;
}
.footer-copyright> p {
	font-size: 0.8rem;
	text-align: center;
}
.footer-cookie {
	background-color: whitesmoke;
	text-align: center;
}
.footer-cookie> p{
	font-size: 0.8rem;
	padding: 0px;
    border: 0px;
	margin: 10px 10px 20px 10px;
}
.footer-cookie> p> a {
	font-size: 0.8rem;
	text-decoration: underline;
}