/****************************
	!Important + Independent styles
****************************/

html, body {
	margin: 0;
	padding: 0;
}

body {
	background: #ffffff;
	text-align: center;
	font-family: Tahoma;
	font-size: 12px;
	box-sizing: border-box;
}

*, *::before, *::after {
	box-sizing: inherit;
}

img {
	margin: 18px;
}

.dc-right {
	float: right !important;
}

#ri-cont {
	width: 100%;
	height: 100%;
	min-height: 100vh;
	text-align: left;
	position: relative;
	display: flex;
	flex-direction: column;
}

.ri-flex {
	display: flex;
}

/****************************
	Link  styles
****************************/

a:link {
	color: #710303;
}

a:visited {
	color: #710303;
}

a:hover {
	text-decoration: underline;
}

a {
	text-decoration: none;
}

/****************************
	Text  styles
****************************/

h1, .h1, a.h1 {
	font-weight: bold;
	color: #584848;
	font-size: 2em;
}

h2, .h2, a.h2 {
	font-size: 1.7em;
	font-weight: bold;
	color: #584848;
}

h3, .h3, a.h3 {
	font-size: 1.7em;
	font-weight: bold;
	color: #584848;
}

h4, .h4, a.h4 {
	font-size: 14px;
	font-weight: bold;
	color: #B8860B;
}

h5, .h5, a.h5 {
	font-size: 12px;
	font-weight: bold;
	color: #710303;
	text-align: left;
}

p {
	margin: 0px;
	padding: 4px 8px;
	font-size: 1.2em;
}

/****************************
	List  styles
****************************/

ul {

}

li {

}

/****************************
	Top nav styles
****************************/

#dc-top-nav {
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	width: 100%;
	
}

.dc-top-nav-empty {
	background: none !important;
	float: left;
	padding: 0px;
	height: 44px;
	width: 94px;
}

#dc-top-nav li {
	margin: 0;
	padding: 0;
	position: relative;
	display: flex;
	flex: 1 0 250px;
}

#dc-top-nav a:hover {
	background: #2a1770;
	color: #fff0f0;
}
 
#dc-top-nav a {
	display: flex;
	padding: 16px 10px;
	margin: 0;
	color: #2a1770;
	font-size: 1.8em;
	text-decoration: none;
	flex: 1;
	justify-content: center;
	align-items: center;
	white-space: nowrap;
	min-width: 250px;
}

#dc-top-nav li:hover > ul {
	display: flex;
}

#dc-top-nav ul {
	list-style: none;
	display: none;
	position: absolute;
	padding: 0px;
	margin: 0px;
	border: 1px solid #bf9595;
	background: #2a1770;
	z-index: 8;
}

#dc-top-nav .sub-nav {
	top: 57px;
	left: 0;
	flex-direction: column;
}

#dc-top-nav .sub-nav a:hover {
	background: #fff0f0;
	color: #2a1770;
}

#dc-top-nav .sub-nav li {
	margin: 0;
	padding: 0;
	display: flex;
	flex: 0 1 auto;
	justify-content: stretch;
}

#dc-top-nav .sub-nav a {
	display: flex;
	padding: 16px 10px;
	margin: 0;
	color: #fff0f0;
	font-size: 1.3em;
	text-decoration: none;
	flex: 1;
	justify-content: center;
	align-items: center;
	width: 16vw;
}

.sub-nav ul {
	top: 0px;
	left: 16vw;
	display: flex;
	flex-direction: column;
}

/****************************
	Social icon styles
****************************/

#ri-social {
	list-style: none;
	text-align: left;
	margin: 0;
	display: block;
	text-align: left;
}

#ri-social a {
	margin: 0 4px;
	display: inline-block;
}

#ri-social img {
	margin: 0;
	width: 34px;
}

/****************************
	Footer nav styles
****************************/

.dc-footer-nav-empty {
	list-style: none;
}

/****************************
	Header styles
****************************/
#ri-header {
	width: 100%;
	/*border-bottom: 1px solid #d1bda9;
	background: #ffffff;
	background-image: linear-gradient(to top, #FFFFFF 12%, #ffd7d7 300%);
	background-image: -ms-linear-gradient(bottom, #FFFFFF 12%, #ffd7d7 300%);
	background-image: -moz-linear-gradient(bottom, #FFFFFF 12%, #ffd7d7 300%);
	background-image: -o-linear-gradient(bottom, #FFFFFF 12%, #ffd7d7 300%);
	background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.12, #FFFFFF), color-stop(3, #ffd7d7));
	background-image: -webkit-linear-gradient(bottom, #FFFFFF 12%, #ffd7d7 300%);
*/}

#ri-header-inner {
	max-width: 1920px;
	min-width: 300px;
	width: 100%;
	margin: 10px auto;
	padding: 0 5px 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}

#ri-header-logo {
	margin: 0;
	flex: 1;
}

#ri-header-logo img {
	margin: 0;
	width: 300px;
}

#ri-languages-select {
	list-style: none;
	padding: 10px;
	margin: 5px;
	display: flex;
	align-self: center;
	border: 1px solid #d1bda9;
	position: relative;
	font-size: 1.2em;
	width: 60px;
	box-sizing: content-box;
}

#ri-languages-select::after {
	content: "";
	width: 0;
	height: 0;
	border-top: 0.5em solid #d1bda9;
	border-left: 0.3em solid transparent;
	border-right: 0.3em solid transparent;
	position: relative;
	top: 7px;
	left: 3px;
}

#ri-languages-select:hover {
	cursor: pointer;
	border-bottom: 1px solid transparent;
}

#ri-languages-select:hover #ri-languages {
	display: block;
}

#ri-languages {
	display: none;
	list-style: none;
	padding: 0;
	position: absolute;
	margin: 0;
	border: 1px solid #d1bda9;
	border-top: 0;
	background: #fff;
	left: -1px;
	top: 2em;
	z-index: 10;
}

#ri-languages li {
	padding: 10px;
	display: block;
	width: 60px;
}

#ri-languages img {
	margin: 0;
}

.ri-important {
	background: #f7f5f5;
	color: #424242;
	font-size: 1.3em;
	padding:  16px 0;
	display: block;
	width: 100%;
	max-width: 1920px;
	margin: 0;
	text-align: center;
}

#ri-top-data {
	font-size: 1.2em;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-content: center;
	padding: 0 !important;
	margin-right: auto;
	
}

#ri-top-phone {
	
}

#ri-top-email {
	
}

#ri-top-clock {
	
}

[id^="ri-top-"], [id*=" ri-top-"] {
	padding: 5px 20px;
}

[class^="ri-icon-"], [class*=" ri-icon-"] {
	display: inline-block;
	width: 16px;
	height: 16px;
	vertical-align: baseline;
	background-size: contain !important;
	position: relative;
	top: 3px;
}

.ri-icon-phone {
	background: url(pictures/phone.png) no-repeat;
}

.ri-icon-email {
	background: url(pictures/email.png) no-repeat;
}

.ri-icon-clock {
	background: url(pictures/clock.png) no-repeat;
}

#ri-search {
	height: 38px;
	min-width: 300px;
	max-width: 900px;
	position: relative;
	background: rgba(255,255,255,0.8);
	border: 1px solid #b5b1a8;
	margin: 0;
	box-sizing: content-box;
}

#ri-input {
	border: 0;
	outline: none;
	width: 90%;
	max-width: 870px;
	position: absolute;
	background: transparent;
	height: 36px;
	left: 0;
	top: 0;
	margin: 0;
	padding-left: 3px;
	font-size: 1.2em;
}

#ri-submit {
	width: 16px;
	height: 18px;
	color: transparent;
	background: url(pictures/dc-icons.png) -82px 0px no-repeat;
	position: absolute;
	right: 3px;
	top: 10px;
	border: 0;
	cursor: pointer;
}

.ri-navigation {
	width: 100%;
	border-bottom: 1px solid #9c8b6f;
}

.ri-navigation-inner {
	max-width: 1920px;
	min-width: 300px;
	width: 100%;
	margin: 0px auto;
	display: flex;
	flex-wrap: wrap;
}

/****************************
	Body styles
****************************/

#ri-body {
	max-width: 1920px;
	min-width: 300px;
	margin: 0;
	background: #ffffff;
	position: relative;
	flex: 1;
	display: flex;
	flex-direction: column;
}

#ri-promotion {
	max-width: 1920px;
	min-width: 300px;
	margin: 0 auto;
	position: relative;
}

#ri-promotion-images {
	width: 100%;
	display: grid;
	overflow: hidden;
}

#ri-promotion-images img {
	grid-row: 1;
	grid-column: 1;
	z-index: 1;
	width: 100%;
	margin: 0;
}

#ri-promotion-images .active {
	z-index: 3;
	animation: zoom 10000ms;
	animation-fill-mode: forwards;
}

#ri-promotion-images .fadeout {
	animation: zoom 10000ms;
	animation-fill-mode: none;
	animation-delay: 0ms;
}

@keyframes zoom {
	0% {
		transform: scale(1);
	}
	100% {
		transform: scale(1.2);
	}
}

@keyframes fadeout {
	0% {
		opacity: 100%;
	}
	100% {
		opacity: 0%;
	}
}

#ri-welcome {
	display: block;
	max-width: 1920px;
	margin: 0 auto;
	padding: 0;
	width: 100%;
}

.ri-content {
	margin: 0;
	vertical-align: top;
	font-size: 1.2em;
}

.ri-content p {
	text-indent: 50px;
	padding: 16px;
	text-align: justify;
}

.ri-content h1 {
	display: flex;
	font-size: 2.5em;
	font-weight: normal;
	margin: 3vw auto;
}

.ri-content h1::before, .ri-content h1::after {
	content: "";
	flex: 1;
	border-bottom: 1px solid #9c8b6f;
	margin: auto 3vw;
}

.ri-content h2 {
	display: flex;
	font-size: 1.6em;
	font-weight: normal;
	margin: 3vw auto;
}

.ri-content h2::before, .ri-content h2::after {
	content: "";
	flex: 1;
	border-bottom: 1px solid #9c8b6f;
	margin: auto 3vw;
}

h2.ri-color-list {
	display: flex;
	font-size: 2.5em;
	font-weight: normal;
	margin: 3vw auto;
}

.ri-content h3 {
	color: #584848;
	display: flex;
	font-size: 1.5em;
	font-weight: normal;
	margin: 1.5vw auto 0.5vw;
}

.ri-content h3.left {
	white-space: nowrap;
	overflow: hidden;
}

.ri-content h3.left::before {
	width: 3vw;
}

.ri-content h3.left::after {
	width: 90vw;
}

.ri-content h3.left::before, .ri-content h3.left::after {
	content: "";
	flex: auto;
	border-bottom: 1px solid #9c8b6f;
	margin: auto 3vw;
}

.ri-content h4 {
	font-size: 1.4em;
	font-weight: bold;
	color: #B8860B;
	width: 100%;
	text-align: left;
}

.ri-content .ri-flex {
	flex-wrap: wrap;
	margin: auto 3vw;
	align-items: center;
}

.ri-content .ri-flex p {
	flex: 1 0 50%;
	font-size: 1.4em;
}

.ri-content .ri-page p {
	flex-basis: 100%;
	text-indent: 0;
}

.ri-flex.ri-page {
	justify-content: space-evenly;
}

.ri-flex.ri-page ol, .ri-flex.ri-page ul {
	flex-basis: 100%;
}

.ri-content .ri-page ol, .ri-content .ri-page ul {
	font-size: 1.4em;
}

.ri-content .ri-page ol a, .ri-content .ri-page ul a {
	color: #2a1770;
}

.ri-content .ri-page ol li, .ri-content .ri-page ul li {
	line-height: 1.6em;
}

.ri-image-border {
	padding: 10px;
	min-width: 300px;
	max-width: 500px;
	background: linear-gradient(to right, transparent 0 10%, #9c8b6f 10% 90%, transparent 90% 100%),
				linear-gradient(to bottom, transparent 0 10%, #9c8b6f 10% 90%, transparent 90% 100%),
				linear-gradient(to left, transparent 0 10%, #9c8b6f 10% 90%, transparent 90% 100%),
				linear-gradient(to top, transparent 0 10%, #9c8b6f 10% 90%, transparent 90% 100%);
	background-position: top, right, bottom, left;
	background-repeat: no-repeat;
	background-size: 100% 3px, 3px 100%, 100% 3px, 3px 100%;
	filter: drop-shadow(0 0 3px #9c8b6f);
}

.ri-box-container {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	margin: 0;
	padding: 0;
}

.ri-box {
	margin: 11px;
	padding: 11px;
	border: 1px solid #d1bda9;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	background: #ffffff;
	background-image: linear-gradient(to bottom, #FFFFFF 25%, #b5b1a8 300%);
}

.ri-box .image, .ri-box .title {
	flex: 1 1;
}

.ri-box .image {
	border: 1px solid #b5b1a8;
	padding: 3px;
	display: grid;
	background: #fff;
}

.ri-box .image img {
	grid-row: 1;
	grid-column: 1;
	max-width: 280px;
	margin: 0;
}

.ri-box .image:hover .colored {
	opacity: 1;
}

.ri-box .image:hover .ncolored {
	opacity: 0;
}

.ri-box .image .colored {
	opacity: 0;
	transition: opacity 1s;
}

.ri-box .image .ncolored {
	opacity: 1;
	transition: opacity 1s;
}

.ri-box .title {
	font-size: 1.2em;
	margin: 5px auto;
}

.ri-color-navigation {
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	list-style: none;
	width: 100%;
}

.ri-color-navigation li {
	margin: 0;
	padding: 0;
	display: flex;
	flex: 1;
}

.ri-color-navigation a {
	display: flex;
	padding: 16px 10px;
	margin: 0;
	font-size: 1.3em;
	text-decoration: none;
	flex: 1;
	justify-content: center;
	align-items: center;
}

.ri-color-navigation li:first-of-type a, .ri-color-navigation li:last-of-type a {
	padding: 16px;
}

.ri-color-navigation a:hover {
	background: #f7eeee;
}

.ri-color-explanation {
	background: #f7f5f5;
	color: #000;
	font-size: 1.3em;
	padding:  16px;
	display: block;
	width: 100%;
	max-width: 1920px;
	margin: 3vw 0 0;
	text-align: justify;
	text-indent: 50px;
}

.ri-color-list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	padding: 0;
	overflow: hidden;
}

.ri-color-list .color {
	margin: 0.5em;
	padding: 0.5em;
	font-size: 1.2em;
	text-align: center;
	width: 11vw;
	min-width: 90px;
	overflow-wrap: break-word;
	transform: scale(1);
	transition-duration: 300ms;
	cursor: pointer;
}

.ri-color-list .color:hover {
	transform: scale(1.1);
	transition-duration: 300ms;
}

.ri-color-list .color .color-code {
	margin: 2em 0 0.5em;
	flex: 1;
}

.ri-color-list .color .color-name {
	margin: 0.5em 0;
	flex: 1;
}

.ri-color-list .color .color-comment {
	margin: 0.5em 0;
	flex: 1;
}

.ri-color-list .color.light {
	color: #fff;
}

.ri-color-list .color.dark {
	color: #000;
}

a.ri-color-header {
	text-decoration: none;
	overflow: hidden;
}

.ri-color-list .overlay-color {
	position: fixed;
	z-index: 11;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	font-size: 3em;
}

.ri-color-list .overlay-button {
	position: fixed;
	z-index: 12;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	padding: 1em 0;
	cursor: pointer;
	pointer-events: auto;
	font-size: 2em;
	text-align: center;
	background: #eb2615;
	color: #fff;
}

.overlay-bottom {
	pointer-events: none;
	overflow: hidden;
}

#ri-to-top {
	width: 50px;
	height: 50px;
	border-radius: 7px;
	background: #d1bda9;
	cursor: pointer;
	position: sticky;
	bottom: 1vw;
	left: 100vw;
	margin: auto 1vw 1vw;
}

#ri-to-top::after {
	content: "";
	width: 0;
	height: 0;
	border-bottom: 1em solid #fff;
	border-left: 0.8em solid transparent;
	border-right: 0.8em solid transparent;
	position: relative;
	top: 5px;
	left: 16px;
}

/****************************
	Footer styles
****************************/

#ri-footer {
	width: 100%;
	border-top: 1px solid #e5d4c0;
	background: #777777;
	color: #ffefef;
}

#ri-footer-inner {
	max-width: 1200px;
	min-width: 300px;
	width: 100%;
	margin: 0px auto;
}

#ri-footer-cr {
	padding: 8px 0px;
	border-top: 1px solid #e1dcdc;
	padding-top: 8px;
	text-align: center;
	font-size: 1.2em;
}

#ri-footer-nav{
	list-style: none;
	width: 100%;
	padding: 0 10px;
	text-align: right;
}

#ri-footer-nav li {
	margin: 0px 4px;
	height: 20px;
	display: inline-block;
}

#ri-footer-nav a {
	color: #ffefef;
	font-size: 1.2em;
}

@media only screen and (max-width: 500px) {
	.ri-double {
		width: 90%;
	}
	
	#ri-body {
		border: 0;
	}
}

@media only screen and (max-width: 700px) {
	#ri-header-inner {
		justify-content: center;
	}
	
	#ri-header-logo {
		flex-basis: 100%;
		display: flex;
		justify-content: center;
	}
}
