Files
irma-website/css/irma.css
2020-07-15 15:03:03 +02:00

486 lines
7.0 KiB
CSS

/* Language elements */
#language {
font-size: 2em;
}
#language ol {
display: flex;
}
#language li {
margin-right: 0.5em;
list-style-type: none;
}
/* Scrolling to elements*/
html {
scroll-behavior: smooth;
}
strong {
font-weight: 700;
}
@media screen and (prefers-reduced-motion: reduce) {
html {
scroll-behavior: auto;
}
}
#twitter-widget-0 {
margin-top: 0.32em;
}
/* header */
.header {
background-color: #fff;
border-bottom: 1px solid #000;
box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
width: 100%;
height: 6rem;
z-index: 3;
position: sticky;
}
.header li {
border-right: 1px solid #f4f4f4;
}
.header a {
color: black;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}
.menu-icon {
border-right: 1px solid #f4f4f4;
}
#logo {
height: 100%;
display: block;
float: left;
}
.header img {
max-height: 100%;
max-width: 100%;
width: auto;
}
.header ul {
margin: 0;
padding: 0;
list-style: none;
overflow: hidden;
background-color: #fff;
}
.header .menu li {
padding-top: 16px;
padding-bottom: 16px;
}
.header .menu li:hover,
.header .menu-btn:hover,
.header .menu-icon:hover,
.header .lang-icon:hover {
background-color: #f4f4f4;
}
.header .lang-icon:hover
.header .logo {
display: block;
float: left;
font-size: 2em;
padding: 10px 20px;
text-decoration: none;
}
/* menu */
.header .menu {
clear: both;
max-height: 0;
transition: max-height .2s ease-out;
}
/* langmenu */
.header .langmenu {
clear: both;
max-height: 0;
transition: max-height .2s ease-out;
}
/* menu icon */
.header .menu-icon {
cursor: pointer;
float: right;
padding-right: 20px;
padding-left: 20px;
height: 100%;
position: relative;
user-select: none;
}
.header .menu-icon .navicon {
background: #333;
display: block;
height: 2px;
position: relative;
width: 22px;
top: 50%;
transform: translateY(-50%);
}
.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
background: #333;
content: '';
display: block;
height: 100%;
position: absolute;
width: 100%;
}
.header .menu-icon .navicon:before {
top: 7px;
}
.header .menu-icon .navicon:after {
top: -7px;
}
/* lang icon */
.header .lang-icon {
cursor: pointer;
float: right;
padding-right: 20px;
padding-left: 20px;
height: 100%;
position: relative;
user-select: none;
}
.header .lang {
float: right;
}
.header .selected-lang img {
position: relative;
top: 50%;
transform: translateY(-50%);
}
.header .lang-icon img {
max-height: 2rem;
}
/* menu btn */
.header .menu-btn {
display: none;
}
.header .menu-btn:checked ~ .menu {
max-height: 500px;
}
/* lang btn */
.header .lang-btn {
display: none;
}
.header .lang-btn:checked ~ .langmenu {
max-height: 240px;
}
@media (min-width: 700px) {
.header li {
float: left;
}
.header li a {
padding: 10px 20px;
}
.header .menu {
clear: none;
height: 100%;
float: right;
max-height: none;
}
.header .menu li {
height: 100%;
}
.header .menu li a {
position: relative;
top: 50%;
transform: translateY(-50%);
display: inline-block
}
.header .menu-icon {
display: none;
}
}
/* Scroll adjustment to make up for sticky header */
.destination {
position: absolute;
z-index: -1;
left: 0;
margin-top: -105px;
/* 90 (height of nav) and a 15 for extra space*/
}
/* Double call to action */
.button.primary.inverted {
margin-right: 10px;
margin-bottom: 10px;
}
/* Overwriting colors */
ul,
.faq-item {
font-weight: 400;
color: #666 !important;
}
.button.primary {
background-color: #004C92
}
.button.secondary {
border: 1.5px solid #004C92
}
.block-header-1 .nav-item.active a {
color: #004C92
}
.block-header-1 .nav-item.active a:hover {
color: #004C92
}
.block-header-1 .nav-item.active a {
color: #004C92
}
.block-header-1 .nav-item.active a:hover {
color: #004C92
}
.block-hero-1 {
--bg: #00B1E6
}
.block-hero-2 {
--bg: #004C92
}
.block-cta-bar {
background: #004C92
}
::-moz-selection {
background: #ffedbc
}
::-webkit-selection {
background: #004C92
}
::selection {
background: #004C92
}
.black {
color: #000000;
}
/* Increase font sizes */
column.text p {
font-size: 20px;
font-size: 1.25rem;
}
/* Style collapsible from https://www.w3schools.com/howto/howto_js_collapsible.asp */
/* Style the button that is used to open and close the collapsible content */
.collapsible {
background-color: #ECECEC;
display: block;
margin: auto;
width: 100%;
max-width: 900px;
color: #444;
cursor: pointer;
padding: 18px;
border: none;
border-bottom: 1px solid #fff;
text-align: left;
outline: none;
font-size: 16px;
font-size: 1rem;
}
/* Add a background color to the button if it is clicked on (add the .open class with JS), and when you move the mouse over it (hover) */
.open,
.collapsible:hover {
background-color: #ccc;
color: #313131;
}
/* Style the collapsible content. Note: hidden by default */
.content {
color: #444;
display: block;
margin: auto;
max-width: 900px;
padding: 0px 18px;
background-color: white;
max-height: 0;
overflow: hidden;
transition: max-height 0.2s ease-out;
}
.collapsible:after {
content: '\02795';
/* Unicode character for "plus" sign (+) */
font-size: 13px;
color: white;
float: right;
margin-left: 5px;
}
.open:after {
content: "\2796";
/* Unicode character for "minus" sign (-) */
}
.center {
display: block;
padding-bottom: 30px;
margin: auto;
text-align: center;
max-width: 900px;
}
.indent {
padding-left: 30px;
}
.block-footer-2 {
font-size: 12.8px;
font-size: .8rem;
color: white;
background: rgb(69, 68, 68);
text-align: left;
}
.block-footer-2 p {
font-weight: 400;
color: white;
}
.block-footer-2 a {
color: lightskyblue;
}
.block-footer-2 img {
max-width: 200px;
}
.block-footer-2 .column {
flex: 0 0 calc(100% - 4rem);
-ms-flex: 0 0 calc(100% - 4rem);
}
.block-footer-2 .column:first-child {
text-align: center;
}
.start > div > div > p {
text-align: left;
}
.start > div > div > h3 {
text-align: left;
}
.start > div > div > ul {
padding-left: 1em;
}
.start > div > div > ul > li {
text-align: left;
padding-bottom: 0.5em;
padding-left: 1em;
}
h1 span.bolder{
font-weight: 500 !important;
}
/* Adjusting the size of elements based on screen size */
@media screen and (min-width:700px) {
.block-hero-2 .column.text {
-ms-flex: 0 0 50%;
flex: 0 0 50%
}
.block-hero-2 .column.media {
-ms-flex: 0 0 50%;
flex: 0 0 50%
}
.block-hero-2 .column.media img {
width: 25vw;
max-width: 350px
}
header {
z-index: 9999;
background-color: #fff;
position: sticky;
top: 0;
width: 100%;
height: 90px;
}
.block-hero-2 {
padding: 5rem 4rem;
}
}
@media screen and (min-width:1200px) {
.block-footer-2 .column {
flex: 0 0 calc(25% - 4rem);
-ms-flex: 0 0 calc(25% - 4rem);
}
.block-footer-2 img {
max-width: 200px;
}
}