/* DEFINE FONT TYPES */
/*@font-face
{
    font-family: 'Ubuntu';
    src: url('fonts/Ubuntu-Regular.ttf') format('truetype');
}
@font-face
{
    font-family: 'Open Sans';
    src: url('fonts/OpenSans-Regular.ttf') format('truetype');
}
@font-face
{
    font-family: 'Acme';
    src: url('fonts/Acme-Regular.ttf') format('truetype');
}*/

/* HEADLINES */
h1, h2 {
    color: #313131;
    padding: 20px 25px 10px 25px;
    margin: 10px;
    /*font-weight: bold;*/
    font-family: 'Helvetica', sans-serif;
    text-align: center;
}
h1 {
    font-size: 40px;
    line-height: 40px;
}
h2 {
    font-size: 30px;
    line-height: 30px;
}

h3 {
    color: #313131;
    padding: 15px 25px 3px 0;
    font-size: 26px;
    line-height: 30px;
    /*font-weight: bold;*/
}

/* GENERAL TEXT */
p {
    color: black;
    line-height: 1.5;
}

strong {
    font-weight: bold;
}


@media screen and (max-width: 700px)
{
    h1, h2, h3, p {
        text-align: left;
    }
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #7d7d7d;
}

@media screen and (max-width: 600px)
{
    /*p, h1, h2, h3 {
        text-align: left;
    }*/

    h1 {
        font-size: 35px !important;
        line-height: 35px;
        padding: 20px 25px 3px 25px;
    }

    h2 {
        font-size: 33px;
        line-height: 33px;
    }

    h3 {
        font-size: 30px;
        line-height: 30px;
    }
}

/* HORIZONTAL LINES */
hr {
    width: 50px;
    margin: 40px auto 30px auto;
    height: 0;
    border: 0;
    border-bottom: 1px solid #313131;
    background: none;

}

/* WARNINGS WITH RED / GREEN BACKGROUND */
.green, .red, .grey, .yellow {
    margin: 15px 25px 0 25px;
    box-shadow: 0 0 6px 0 RGBA(0, 0, 0, 0.44);
}

.green p, .red p, .grey p, .yellow p {
    /*border: 1px solid rgba(13, 13, 13, 0.39);*/
    padding: 10px 15px;
}

.green p {
    background: rgb(219, 245, 219) none repeat scroll 0% 0%;
}

.red p {
    background: rgb(247, 218, 218) none repeat scroll 0% 0%;
}

.grey p {
    background: rgb(238, 238, 238) none repeat scroll 0% 0%;
}

.yellow p {
    background: rgba(255, 239, 99, 0.32) none repeat scroll 0% 0%;
}

.green a, .red a, .grey a {
    text-decoration: underline;
}

.green a:hover, .red a:hover, .grey a:hover {
    font-weight: bold;
}

.green i, .red i, .grey i {
    margin: 0 7px;
}

.red i {
    color: #bb0101;
}

.green i {
    color: green;
}

.grey i {

}

.maxwidth1500 {
    max-width: 1500px;
    margin: 0 auto;
}

.maxwidth1200 {
    max-width: 1200px;
    margin: 0 auto;
}
/*
.maxwidth900 {
    max-width: 900px;
    margin: 0 auto;
}

.maxwidth1200_900 {
    max-width: 1200px;
    margin: 0 auto;
}
@media screen and (max-width: 1200px)
{
    .maxwidth1200_900 {
        max-width: 900px;
    }
}
*/
.mainheader {
    margin-top: 0;
    padding-top: 15px;
}

.subheader {
    color: #384975;
    text-align: center;
    font-weight: bold;
    font-size: 25px;
    text-transform: uppercase;
    margin-top: 40px;
}

.title_category {
    color: #384975;
    padding: 30px 25px 0 25px;
    font-size: 24px;
    line-height: 24px;
    font-weight: bold;
    font-family: 'Helvetica', sans-serif;
    text-align: center;
    text-transform: uppercase;
}


/* Flex for items consisting of a picture and a name inside the picture */
.flex_items_nameontop {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 20px 20px 20px;
}
.flex_items_nameontop > div, .flex_items_nameontop_fg > div {
    height: 150px;
    width: 250px;
}
.flex_items_nameontop > div {
    margin: 15px 20px;
    box-shadow: 0 0 0 #d9d9d9, 0 0 7px 0 #84808069;
    position: relative;
    transition: transform .5s ease; /* for zoom animation */
}
.flex_items_nameontop > div:hover {
    transform: scale(1.04); /* for zoom animation */
}
.flex_items_nameontop_bg {
    width: 100%;
    height: 100%;
    background: white;
    opacity: 0.6;
    position: absolute;
}
.flex_items_nameontop_fg:hover ~ .flex_items_nameontop_bg {
    opacity: 0.7;
}

.flex_items_nameontop_fg {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.flex_items_nameontop_fg > div {
    display: table-cell;
    vertical-align: middle;
}
.flex_items_nameontop_fg p {
    font-size: 20px;
    hyphens: auto;
    font-weight: bold;
    text-align: center;
    text-shadow: 0 3px 10px #ffffffad, 0 2px 2px #918989;
}

.flex_items_withname_below {
    max-width: 1200px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto 20px auto;
    align-items: center;
}
.flex_items_withname_below > a, .flex_items_withname_below > div {
    height: 250px;
    width: 350px;
    margin: 15px 20px;
    cursor: pointer;
    transition: transform .5s ease; /* for zoom animation */
    border: 1px solid #dfdfdf;

    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    align-content: flex-start;
}
.flex_items_withname_below > a > div, .flex_items_withname_below > div > div, .flex_items_withname_below img {
    width: 100%;
}
.flex_items_withname_below img {
    object-fit: cover;
    height: 180px;
    width: 350px;
}
.flex_items_withname_below > a:hover, .flex_items_withname_below > div:hover {
    /*background: #fff9f1;*/
    transform: scale(1.04); /* for zoom animation */
}
.flex_items_withname_below_text {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.flex_items_withname_below_text, .flex_items_withname_below_text p {
    text-align: center;
}

.flex_items_withname_below_subtext > p {
    width: 100%;
    font-size: 16px;
    text-align: center;
}
.flex_items_withname_below_subtext > p:first-child {
    padding-bottom: 0;
    padding: 10px 5px 0 5px;
}
.flex_items_withname_below_subtext > p:last-child {
    padding: 0;
    color: #3c4b78;
}

/* Phones: the fixed 350px tiles + 40px margins overflow narrow viewports.
   Make them fluid (capped at the desktop 350px) and tighten the margins.
   Desktop layout above is unchanged. */
@media screen and (max-width: 430px)
{
    .flex_items_withname_below > a, .flex_items_withname_below > div {
        width: 100%;
        max-width: 350px;
        margin: 12px auto;
    }
    .flex_items_withname_below img {
        width: 100%;
    }
}

.list .list_item_link:hover {
    box-shadow: 0 0 0 #d9d9d9, 0 0 7px 0 #84808069;
}


/* Dropdown: */
#dropdown > div {
    margin: 10px;
    padding: 10px 15px;
}
#dropdown > div > div:first-child {
    border-bottom: 1px solid grey;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
#dropdown > div > div:first-child h4 {
    font-size: 20px;
    font-weight: bold;
    padding: 0;
    color: #000000c2;
}
#dropdown .dropdown_chevron i {
    color: grey;
    padding: 20px;
}
#dropdown > div > div:first-child:hover h4, #dropdown > div > div:first-child:hover i {
    color: black;
}
#dropdown > div > div:last-child p {
    padding: 15px 0;
    font-size: 17px;
    text-align: justify;
}
@media screen and (max-width: 450px)
{
    .dropdown_header h4 {
        hyphens: auto;
    }
}

/** LIST of items, with hr divider between **/
.list_dark_divider > a > div > div {
    margin: 10px;
}
.list_dark_divider > a > div:hover {
    background: #3a4a770a;
}