/* JavaScript classes */
.hidden{
    display: none!important;
    height: 0;
    margin: 0;
}

/* Generic */
body {
    background: #FFF;
    box-sizing: border-box;
    color: #03435B;
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    word-break: break-word;
}

main {
    min-height: calc(100vh - 384px);
    padding-top: 100px;
    word-break: break-word;
}

::-moz-selection{ background: #77BAD4 }
::selection{ background: #77BAD4 }

/* Buttons */
a.button,
button{
    background-color: #D20224;
    border: none;
    color: #FFF !important;
    cursor: pointer;
    display: inline-block;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: normal;
    height: 40px;
    line-height: 40px;
    margin: 25px 15px 0 20px;
    outline: none;
    padding: 0 15px;
    position: relative;
    text-transform: uppercase;
    transition: color 0.5s ease;
    -webkit-transition: color 0.5s ease;
}

a.button.centered{
    display: table;
    margin: 0 auto;
}

a.button.skewed:before,
button:before{
    border-bottom: 40px solid #D20224;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    clear: both;
    content: '';
    height: 0;
    left: -20px;
    position: absolute;
    top: 0;
    width: 0;
}

a.button.skewed:after,
button:after{
    border-right: 20px solid transparent;
    border-top: 40px solid #D20224;
    clear: both;
    content: '';
    height: 0;
    left: 100%;
    position: absolute;
    top: 0;
    width: 0;
}

a.button:hover,
button:hover{
    background-color: #BF0221;
    cursor: pointer;
    transition: background .1s ease-in-out;
}

a.button.skewed:hover:after,
button:hover:after{
    border-right: 20px solid transparent;
    border-top: 40px solid #BF0221;
    clear: both;
    content: '';
    height: 0;
    left: 100%;
    position: absolute;
    top: 0;
    transition: background .1s ease-in-out;
    -webkit-transition: background .1s ease-in-out;
    width: 0;
}

a.button.skewed:hover:before,
button:hover:before{
    border-bottom: 40px solid #BF0221;
    border-left: 20px solid transparent;
    clear: both;
    content: '';
    height: 0;
    left: -20px;
    position: absolute;
    top: 0;
    transition: background .1s ease-in-out;
    -webkit-transition: background .1s ease-in-out;
    width: 0;
}

li.circle{
    list-style-type: circle;
}

li.disc{
    list-style-type: disc;
}

li.square{
    list-style-type: square;
}

/* Cookie */
.cookie-bar{
    background: #0D2737;
    bottom: 0;
    display: none;
    height: 40px;
    left: 0;
    margin-left: -40px;
    padding: 12px 40px 0 0;
    position: fixed;
    right: 0;
    width: 100%;
    z-index: 999;
}

.cookie-bar-description{
    color: #FFF;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    margin: -10px 0 0 0;
    text-align: center;
    width: 100%;
}

.cookie-bar a{
    color: #FFF;
    font-weight: 400;
    margin: 0 15px 0 0;
    text-decoration: underline;
}

.cookie-bar button{
    background-color: #D20224;
    color: #FFF;
    font-size: 14px;
    font-weight: 400;
    padding: 9px 15px 7px 15px;
}

.cookie-bar button:hover{
    background-color: #BB011F;
}

.cookie-bar button:after{
    border-top: 32px solid #D20224;
}

.cookie-bar button:before{
    border-bottom: 32px solid #D20224;
}

.cookie-bar button:hover:after{
    border-top: 32px solid #BB011F;
}

.cookie-bar button:hover:before{
    border-bottom: 32px solid #BB011F;

}

@media screen and (max-width: 1160px){
    main{
        min-height: calc(100vh - 384px);
        padding-top: 60px;
    }

    .cookie-bar {
        font-size: 12px;
    }

    .cookie-bar .cookie-hfm{
        display:none;
    }
}

@media screen and (max-width: 760px){
    body{
        background: #FFF;
        margin: 0;
        padding: 0;
    }

    main{
        min-height: calc(100vh - 265px);
        padding-top: 60px;
    }

    a.button,
    button {
        font-size: 12px;
        height: 34px;
        line-height: 34px;
        margin: 18px 12px 0 15px;
        padding: 0 8px;
    }

    a.button.skewed:before,
    button:before{
        border-bottom: 34px solid #D20224;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        left: -10px;
    }

    a.button.skewed:after,
    button:after{
        border-right: 10px solid transparent;
        border-top: 34px solid #D20224;
    }

    a.button.skewed:hover:after,
    button:hover:after{
        border-right: 10px solid transparent;
        border-top: 34px solid #BF0221;
    }

    a.button.skewed:hover:before,
    button:hover:before{
        border-bottom: 34px solid #BF0221;
        border-left: 10px solid transparent;
        left: -10px;
    }

    .dm{
        display: none;
    }

    .mm{
        background-color: #282828;
        display: block;
        height: 56px;
        position: fixed;
        width: 100%;
        z-index: 999;
    }
    .logo{
        top: 14px;
        width: 120px;
    }

    #hamburger{
        display: block;
        font-family: 'Open Sans', sans-serif;
        position: absolute;
        right: 18px;
        top: 18px;
        user-select: none;
        -webkit-user-select: none;
        width: calc(100% - 18px);
        z-index: 1;
    }

    #hamburger input{
        cursor: pointer;
        display: flex;
        float: right;
        height: 32px;
        opacity: 0;
        position: absolute;
        right: 0;
        top: -7px;
        width: 40px;
        z-index: 2;
        -webkit-touch-callout: none;
    }

    #hamburger ul a{
        color: #FFF;
        text-decoration: none;
        transition: color 0s ease;
    }

    #hamburger ul a:hover{
        color: #FFBB2A;
    }

    #hamburger .hamburger-bars{
        height: auto;
        position: absolute;
        right: 0px;
    }

    .hamburger-bars span{
        background: #CDCDCD;
        border-radius: 3px;
        display: block;
        height: 4px;
        margin-bottom: 5px;
        position: relative;
        right: 0;
        transition: background 0.2s cubic-bezier(0.77,0.2,0.05,1.0),
                    opacity 0.1s ease,
                    transform 0.2s cubic-bezier(0.77,0.2,0.05,1.0);
        transform-origin: 4px 0px;
        width: 33px;
        z-index: 1;
    }

    #hamburger  span:first-child{
        right: 0px;
        transform-origin: 0% 0%;
    }

    #hamburger  span:nth-last-child(2){
        right: 0px;
        transform-origin: 0% 100%;
    }

    #hamburger input:checked ~ .hamburger-bars > span{
        background: #cdcdcd;
        opacity: 1;
        right: -18px;
        transform: rotate(45deg) translate(-20px, 1px);
    }

    #hamburger input:checked ~ .hamburger-bars > span:nth-last-child(3){
        opacity: 0;
        transform: rotate(0deg) scale(0.1, 0.1);
    }

    #hamburger input:checked ~ .hamburger-bars > span:nth-last-child(2){
        transform: rotate(-45deg) translate(-20px, 0px);
    }

    #menu{
        background: #34454D;
        height: 100vh;
        list-style-type: none;
        margin: -100px 0 0 0px;
        padding: 0 50px 0px 0px;
        padding-top: 120px;
        position: absolute;
        right: -50px;
        transform: translate(0, -100%);
        transform-origin: 0% 0%;
        transition: transform 0.2s cubic-bezier(0.77,0.2,0.05,1.0);
        width: 100%;
        -webkit-font-smoothing: antialiased;
    }

    #menu li{
        font-size: 22px;
        padding: 10px 36px;
    }

    #hamburger input:checked ~ ul{
        transform: none;
    }
    /* End hamburger menu */

    /* Start search */
    form.nav-search{
        display: flex;
        margin: 20px 0 0 40px;
    }

    input[type=text]{
        background-color: transparent;
        background-image: url('../../../img/search.svg');
        background-position: 10px 10px;
        background-repeat: no-repeat;
        background-size: 16px 16px;
        border: 2px solid #ccc;
        border-radius: 4px;
        box-sizing: border-box;
        color: #FFF;
        font-size: 14px;
        padding: 9px 15px 9px 34px;
        transition: width 0.4s ease-in-out;
        width: 120px;
        -webkit-transition: width 0.4s ease-in-out;
    }

    input[type=text]:focus{
        color: white;
        outline: none;
        width: 150px;
    }

    .top-btn{
        display: none;
    }
}

@media screen and (max-width: 350px) {
    a.button,
    button {
        font-size: 11px;
        height: 28px;
        line-height: 28px;
        margin: 8px 10px 0 10px;
        padding: 0 8px;
    }

    a.button.skewed:before,
    button:before{
        border-bottom: 28px solid #D20224;
        border-left: 14px solid transparent;
        border-right: 14px solid transparent;
        left: -14px;
    }

    a.button.skewed:after,
    button:after{
        border-right: 14px solid transparent;
        border-top: 28px solid #D20224;
    }

    a.button.skewed:hover:after,
    button:hover:after{
        border-right: 14px solid transparent;
        border-top: 28px solid #BF0221;
    }

    a.button.skewed:hover:before,
    button:hover:before{
        border-bottom: 28px solid #BF0221;
        border-left: 14px solid transparent;
        left: -14px;
    }
}
