object {color-scheme:light;}

body {
	font-family: "Roboto", Helvetica Neue, Helvetica, Arial,sans-serif; 
	font-weight: normal;
	background: #e4eef3;
}
.social-media-container {
	background: transparent!important;
	padding: 15px!important;
	margin-top: 2px!important;
}
.menu-container {
	border-top-left-radius: 10px!important;
	border-top-right-radius: 10px!important;
	box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.03);
}
.menu-nav-container {
	padding-top: 20px;
	padding-bottom: 15px;
	border-top-right-radius: 10px!important;
	border-top-left-radius: 10px!important;
}
.carousel-controls {
	padding-top: 12px;
	cursor: pointer;
}
.btn-rilm-submit {
	padding: 0px 4px!important;
	position: relative;
	top: -8px!important;
	z-index: 1!important;
	font-size: 13px;
}
.products-box {
 	padding: 15px 13px; 
 }
.rilm-news-box {
	padding: 15px; 
 }
.container {
	padding: 0px;
	background: white; 
	max-width: 1080px;
	border-bottom-left-radius: 10px; 
	border-bottom-right-radius: 10px; 
}
.container-fluid.c-padding {
	padding: 15px;
	border-radius: 10px;
	box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.03);
}
.btn {margin-top: 15px;}

.img-fluid {width: 100%;}

h1, h2, h3 {
  font-family: "titillium"!important;
  font-style: bold;
  line-height: 1.02em!important;
  margin-bottom: 10px;
  background-color: transparent!important;
  background: transparent!important;
}
h1.carousel-header {
	font-size: 2.3em;
}
br.discretionary {display:none;}
h2.boxes-head {
  font-family: "titillium"!important;
  font-style: bold;
  font-size: 1.25em;
  padding-top: 8px;
  margin-bottom: 4px;
  line-height: 1.15em;
}
.bg-dark h2.boxes-head {
  color: white!important;
}

p.records {
	font-weight: 200!important; 
	font-size:14px; 
	opacity:.75;
}
p.carousel-p {
	font-size: 14px; 
	line-height:1.25em;
}

.abstracts .color-box,
.box-yellow {display:block;width:80px;height:8px;background: #df9329; border-radius: 7px;}

.encyclopedias .color-box,
.box-red {display:block;width:80px;height:8px;background: #a32a33; border-radius: 7px;}

.mgg-online .color-box,
.box-blue {display:block;width:80px;height:8px;background: #2e5478; border-radius: 7px;}

.rise .color-box,
.box-green {display:block;width:80px;height:8px;background: #4f904a; border-radius: 7px;}

.deumm-online .color-box,
.box-orange {display:block;width:80px;height:8px;background: #f05023; border-radius: 7px;}

.publications .color-box,
.box-grey {display:block;width:80px;height:8px;background: #959ca4; border-radius: 7px;}

.rapmm .color-box,
.box-pink {display:block;width:80px;height:8px;background: #d3258c; border-radius: 7px;}

.box-dark {display:block;width:80px;height:8px;background: #30a9e4; border-radius: 7px;}

.box-dark-2 {display:block;width:80px;height:8px;background: #30a9e4; border-radius: 7px;margin-bottom:7px;}

.box-dark-3 {display:block;width:80px;height:8px;background: #22749d; border-radius: 7px;margin-bottom:7px;}
.box-white {display:block;width:80px;height:8px;background: #fff; border-radius: 7px;margin-bottom:7px;opacity:.8}
.box-brown {display:block;width:80px;height:8px;background: #a88f73; border-radius: 7px;}

.bg-light {
	background-color: white!important;
}
.bg-light-boxes {
	background: #fff!important; 
	height: auto;
	margin-bottom:15px;
	border-radius: 12px; 
	padding:20px 15px 25px!important;
	transition: transform 0.2s ease, box-shadow 0.2s ease;overflow:hidden;position:relative;}


.stretched-link::after{border-radius: 12px;width: calc(100% - 2px);height: calc(100% - 2px);top: 1px;left: 1px;}
.bg-light-boxes:hover {position:relative!important;transform: translateY(-4px);box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.05);}
/**/

/*.bg-light-boxes:after{content:'';box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.05);display:block;position:absolute;left:0px;top:0px;width:100%;height:100%;opacity: 0; transition: all 0.2s ease;pointer-events: none;}
.bg-light-boxes:hover:after{opacity:1;}*/

.bg-dark {background: #30a9e4!important; height:135px;margin-bottom:20px;border-radius: 2px;transition: transform 0.2s ease, box-shadow 0.2s ease;}
.bg-dark:hover {position:relative!important;transform: translateY(-4px);box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.05);}

h3.news-header-new {
	font-family: "titillium"!important;
  	font-style: bold;
  	font-size: 2.25em;
  	padding-top: 8px;
  	margin-bottom: 4px;
  	line-height: 1.15em;
  	letter-spacing: -.022em!important;
}
  
h3.bibliolore-header-new {font-family: "titillium"!important;
  font-style: bold;
  font-size: 1.85em;
  padding-top: 8px;
  margin-bottom: 4px;
  line-height: 1.15em;}
  
.news-posts {
    margin-top: 0px!important; 
    font-size: 0.95em;
    line-height: 1.15em;
}
  
.news-post-body {
  	margin-top: 0px!important;
}
.news-post-body h4 {
	font-family: "titillium"!important;
	color: #0a5f89!important;
	font-size: 1.15em;
	font-weight: bold;
	margin-bottom: 4px;
}
.new-bibliolore-post img {opacity:.85}
.new-bibliolore-post:hover img {opacity:1}
.new-bibliolore-post p.new-bibliolore-post-blurb {opacity:.65}
.new-bibliolore-post:hover p.new-bibliolore-post-blurb {opacity:1}

h4.new-bibliolore-post-title {
	color: #000;
	text-decoration:none;
	font-family: "titillium"!important;
  	font-style: bold;
  	font-size: 1.35em;
  	line-height: 1.1em!important;
  	margin-bottom: 6px!important;
  	margin-top: 20px!important;
  	margin-right: 40px;
}
p.new-bibliolore-post-blurb {
	color: #000;
	text-decoration:none;
	font-style: normal;
  	font-size: .9em;
  	line-height: 1.35em!important;
  	font-weight: 400!important;
  	opacity: .65;
}

.bibliolore-img {
	margin-top: 4px;
	border-radius: 10px;
}
.aboutus-langs {
    background: #3a4244!important;
    border-radius: 10px;
}
.aboutus-langs-description {
    background: #transparent!important;
    background-color: #transparent!important;
    background: #transparent!important;
    border-radius: 10px;
    background-color: rgb(255,255,255,0)!important;
}
.aboutus-langs .watermark {
    background-image: url(../rilm-watermark.svg);
    background-repeat: no-repeat;
    background-size: cover!important;
    opacity:.75;
}

.aboutus-langs-new {
    border-radius: 10px;
    background-image: url(../rilmNEW2.svg);
    background-repeat: no-repeat;
    background-size: cover!important;
    background-position: 0px -20px;
    background-color: #525f63!important;
    
}
.aboutus-langs-new .aboutus-langs-description {
    font-size: .8em;
    color: white;
}
.aboutus-langs-new h3 {color:white;background-color:transparent!important;}
.language-box {
	height:100%;
	background:white;
	border-radius:10px;
	display: flex;
  	justify-content: center;
  	align-self: center;
  	text-transform: uppercase;
}

.ratio-1x1{transition: transform 0.2s ease, box-shadow 0.2s ease;}
.ratio-1x1:hover {position:relative!important;transform: translateY(-4px);box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.25);}

.mySlides {display: none;}


/* Slideshow container */
.slideshow-container {
  /*height:400px;*/
  width:368px;
}


/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 5s;
}

@keyframes fade {
  0% {opacity: .4}
  25% {opacity: 1}
  100% {opacity: 1}
}


.products-top  {
	background: #eceef1;
	padding:20px 6px 6px 6px;
	border-radius:10px;
} 

.upper-menu a {
	text-decoration: none;
	width: 20px;
	opacity: .75;
}
.upper-menu a:hover {
	text-decoration: underline;
	opacity: 1;
}
.dropdown-toggle::after {
    display: inline-block;
    margin-left: -.3em;
    vertical-align: -.45em;
    content: " ";
    background-image: url('../expand_more_FILL0_wght400_GRAD0_opsz24.svg');
    background-size: 23px 23px;
    height: 23px;
    width: 23px;
    border-top: none;
}
.dropdown-toggle.show::after {
    display: inline-block;
    margin-left: -.3em;
    vertical-align: -.45em;
    content: " ";
    background-image: url('../expand_less_FILL0_wght400_GRAD0_opsz24.svg');
    background-size: 23px 23px;
    height: 23px;
    width: 23px;
    border-top: none;
}
.dropdown-toggle {
	text-transform: uppercase;
	letter-spacing: .025em; 
	font-size: .95em;
}
.navbar-toggler {
    border: none!important;
}
.navbar-toggler:focus {
    box-shadow: none!important;
}
.rainbow-back {
	background: linear-gradient(#27a6dd, #a3ceed);
	background: white;
	margin-top: -4px;
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	padding: 0px 15px 0px 15px;
}
.alert-warning {
	position: relative;
	min-height: 20px;
	background: linear-gradient(90deg, #275673,  #55953b, #d67e1f, #a12327 );
	color: #0a5f89;
	color: white;
	/*text-shadow: 1px 1px 2px rgba(0,0,0,.2);*/
	border: none!important;
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	font-weight: bold;
	font-family: "titillium";
	font-size: 1.15em;
	margin-bottom: 0px;
	padding-left: 30px;
	z-index: 1;
}
.alert-warning::before {
  	position: absolute;
  	top: 0;
  	right: 0;
  	bottom: 0;
  	left: 0;
  	min-height: 20px;
  	content: "";
	background: linear-gradient(90deg, #55953b, #d67e1f, #a12327, #275673 );
  	z-index: -1;
  	transition: opacity 1s linear;
  	opacity: 0;
  	border: none!important;
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	font-family: "titillium";
	font-size: 1.15em;
	margin-bottom: 0px;
	padding-left: 30px;
}
.alert-warning:hover::before {
  opacity: 1;
}

.btn-close {
	background: none!important;
	background-image: none!important;
}
.btn-close-focus-shadow {
	background: none!important;
	background-image: none!important;
	box-shadow: none!important;
}
button:focus:not(:focus-visible) {
    outline: none!important;
}
.btn-close:focus {
   box-shadow: none!important;
}
.alert-dismissible .btn-close {
   	width: 50px;
   	color: white;
  	font-family: "sarabun";
   	font-size: .7em;
   	font-weight: 400;
   	opacity: 1;
}
.card-title {opacity: .85;}
.card {
	background-color: #fff; 
	border:none!important;
	margin-top: -1px;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {position:relative!important;transform: translateY(-3px);!important;box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.09);}
.card:hover .card-title {opacity: 1;} 
.card:hover .rounded-start {opacity: 1;} 
.card:hover .card-column {background: #f5f7f9;} 


.card-column {background: #eceef1;
	padding:0px 6px 0px 0px;
	border-radius:10px;min-height: 55px;
}
.card-body {
	height:100%!important;
	padding: 7px 7px 0px 8px!important
}
.rounded-start {
    border-bottom-left-radius: 10px!important;
    border-top-left-radius: 10px!important;
    height: 55px!important;
    background: #d9dbde;
    min-width: 10px;
    opacity:.8;
}

.dropdown-divider {
    height: 0;
    margin: var(--bs-dropdown-divider-margin-y) 0;
    overflow: hidden;
    border-top: 1px solid #a4dfff!important;
    opacity: 1;
}


/* Small devices (tablets, 576px and up)*/
@media (min-width: 576px) {
 
.bg-light-boxes {
	background: #fff!important; 
	height:164px;
	margin-bottom:20px;
	border-radius: 12px; 
	padding:20px 15px 25px!important;
}	
.products-top  {
	padding:30px 15px 15px 15px;
} 
.container-fluid.c-padding {
	padding:30px;
}
.dropdown-menu.show {
	background:#a4dfff;
	background-image: linear-gradient(#a4dfff, white);
	border: none;
	margin:0 15px;
}	


hr {
    margin: 1rem 0;
    color: white!important;
    border: 0;
    border-top: var(--bs-border-width) solid;
    opacity: 1;
}
.navbar-nav {margin-top:40px;}
	
}

/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) { 

.navbar-nav {margin-top:0px;}

h1.carousel-header {
	font-size: 3.1em;
}
br.discretionary {display:inline;}

p.carousel-p {font-weight: 600;font-size: 16px; line-height:1.35em;}

.dropdown-menu.show {background:white;}	

}



/*@font-face {
  font-family: "titillium";
  src: url("https://fredgatesdesign.co/rilmnewweb/TitilliumWeb-SemiBold.woff2") format("woff2"), url("https://fredgatesdesign.co/rilmnewweb/TitilliumWeb-SemiBold.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "titillium";
  src: url("https://fredgatesdesign.co/rilmnewweb/TitilliumWeb-Bold.woff2") format("woff2"), url("https://fredgatesdesign.co/rilmnewweb/TitilliumWeb-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}*/

.new-header-left {
  position: absolute;
	height:0px;
	overflow:visible;
	margin-left: 30px;
	margin-top: 8px;
	padding-bottom: 10px;
  display: block;
}
.new-header-left a {
  height: 100%;
}
.new-header-left img {
  padding: 10px 0px;
  width: 123px;
  height: auto;
}
.new-header-left .header-left-text {
  position: absolute;
  top: 65px;
  margin-left: -10px;
  font-weight: bold;
  line-height: 1.355em;
  white-space: nowrap;
  font-size: .91em;color: #000000;left: 123px;
}
.new-header-left .header-left-text.f {
  opacity: 0;
  animation: french 30s linear 0s infinite;
}
.new-header-left .header-left-text.e {
  opacity: 0;
  animation: english 30s linear 0s infinite;
}
.new-header-left .header-left-text.g {
  opacity: 0;
  animation: german 30s linear 0s infinite;
}

@keyframes french {
  0% {
    opacity: 1;
    visibility: visible;
  }
  31% {
    opacity: 1;
    visibility: visible;
  }
  33% {
    opacity: 0;
    visibility: hidden;
  }
  98% {
    opacity: 0;
    visibility: hidden;
  }
  100% {
    opacity: 1;
    visibility: visible;
  }
}
@keyframes english {
  0% {
    opacity: 0;
    visibility: hidden;
  }
  31% {
    opacity: 0;
    visibility: hidden;
  }
  33% {
    opacity: 1;
    visibility: visible;
  }
  64% {
    opacity: 1;
    visibility: visible;
  }
  66% {
    opacity: 0;
    visibility: hidden;
  }
}
@keyframes german {
  0% {
    opacity: 0;
    visibility: hidden;
  }
  64% {
    opacity: 0;
    visibility: hidden;
  }
  66% {
    opacity: 1;
    visibility: visible;
  }
  98% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

#RILMcarousel .carousel-item .col-auto{position:relative;}
#RILMcarousel .carousel-item img{max-height: 400px;visibility:hidden;opacity:0;}
#RILMcarousel .carousel-item .img-div{display:block;width:100%;height:100%;position:absolute;left:0px;top:0px;background-size:contain;background-position:center;background-repeat:no-repeat;}

.line-divide a{pointer-events: none;padding: 0;font-size:0px;}
.visually-hidden {position: absolute;width: 1px;height: 1px;padding: 0;margin: -1px;overflow: hidden;clip: rect(0,0,0,0);white-space: nowrap;border: 0;}

.product-image-div{border-radius: 12px;overflow: hidden;}
.product-image-div img{max-width:100%;}
@media only screen and (max-width: 991px) and (min-width:950px){
	.new-header-left{display:none;}
}

@media only screen and (max-width: 1025px) and (min-width:768px){
	#RILMcarousel .carousel-item .col-auto{max-width:60%;}
	#RILMcarousel .carousel-item:last-child .img-div{background-size:contain;}
	h1.carousel-header {font-size: 1.9em;}
	p.carousel-p {font-size: 13px;}

}