@font-face {
    font-family: 'IBM Plex Sans';
    src: url(/assets/fonts/IBM_Plex_Sans/IBMPlexSans-Regular.woff);
}

* {
    box-sizing: border-box;
    font-family: 'IBM Plex Sans';
    font-size:1rem;
}

.col-1 {
    width: 8.33%;
}
.col-2 {
    width: 16.66%;
}
.col-3 {
    width: 25%;
}
.col-4 {
    width: 33.33%;
}
.col-5 {
    width: 41.66%;
}
.col-6 {
    width: 50%;
}
.col-7 {
    width: 58.33%;
}
.col-8 {
    width: 66.66%;
}
.col-9 {
    width: 75%;
}
.col-10 {
    width: 83.33%;
}
.col-11 {
    width: 91.66%;
}
.col-12 {
    width: 100%;
}

[class*="col-"] {
    float: left;
    padding: 5px;
    padding-left: 8px;
}

@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    [class*="col-"] {
        width: 100%;
    }

    .header > img {
        width: 132px;
    }

    .select2 {
        width: 100% !important;
    }
}

.row::after {
    content: "";
    clear: both;
    display: table;
    padding-bottom: 5px;
}

/* Style the header */
.site-header {
    padding: 10px 16px;
    background: #fff;
    color: #f1f1f1;
    border-bottom: 1px solid #0056b3;
}

.main {
    display:table;
}

.site-footer {
    padding: 10px 16px;
    background-color: #004F9F;
    color: #fff;
    display:flex;
}

.site-footer > .middle {
    padding:20px 0px;
}

/* Page content */
.content {
    padding: 16px;
}

/* The sticky class is added to the header with JS when it reaches its scroll position */
.sticky {
    position: fixed;
    top: 0;
    width: 100%
}

/* Add some top padding to the page content to prevent sudden quick movement (as the header gets a new position at the top of the page (position:fixed and top:0) */
.sticky + .content {
    padding-top: 110px;
}

/* Create three unequal columns that floats next to each other */
.column {
    float: left;
    padding: 10px;
}

/* Left and right column */
.column.side {
    width: 17%;
}

/* Middle column */
.column.middle {
    width: 66%;
}

/* Clear floats after the columns */
.row::after {
    content: "";
    display: table;
    clear: both;
}

input {
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 4px;
    color: #444;
}

/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media screen and (max-width: 768px) {
    .column.side {
        display:none;
        visibility: hidden;
    }
    .column.middle {
        width: 100%;
    }
}

@media screen and (max-width: 1024px) {
    .column.side {
        display:none;
        visibility: hidden;
    }
    .column.middle {
        width: 80%;
    }
}


a, a:link, a:hover, a:visited {
    color:#004F9F;
    text-decoration: none;
}

.site-footer a, .site-footer a:link, .site-footer a:hover, .site-footer a:visited {
    color:#fff;
    text-decoration: none;
}

input[type=submit] {
    padding: 5px;
}



#requestform .error div, #requestform .error span {
    padding:15px 0 15px 5px;
    color:red;
}

input.error {
    border: 1px solid #800000;
    box-shadow: 0 0 5px 1px #800000;
}

.checkbox-error  {
    outline: 2px solid red;
    box-shadow: 0 0 5px 1px #800000;
}


span.error{
    outline: none;
    border: 1px solid #800000;
    box-shadow: 0 0 5px 1px #800000;
}


/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.modal-content a:link, .modal-content a:hover, .modal-content a:visited {
    color: #004F9F;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.loaderBackground {
    position: absolute;
    left: 0;
    top:0 ;
    width: 100%;
    height: 100%;
    background-color: #fefefe;
    opacity: 90%;
    display: none;
}
.loader {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 48px;
    height: 48px;
    border: 5px solid #FFF;
    border-bottom-color: #004F9F;
    border-radius: 50%;
    display: none;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#fbatchnr, #fbatchnr2 {
    text-align: center;
    width:5.5rem;
}

#fbatchline {
    width:1.5rem;
}

#farticlenr {
    text-align: center;
    width: 12.5rem;
}

#anim {
    padding: 5px;
}

.tooltip {
    position: relative;
    display: inline-block;
    border-radius: 100%;
    border: 1px solid #004F9F;
    color: #004F9F;
    padding: 5px 10px;
    margin: 0px 5px;
    font-size: 12px;
}

.tooltip:before {
    border-width: 10px 8px 0 8px;
    border-style: solid;
    border-color: #004F9F transparent transparent transparent;
    top: -15px;
    left: 5px;
    transform: translateY(20px);
}

.tooltip:before,
.tooltip:after {
    position: absolute;
    content: '';
    opacity: 0;
    transition: all 0.4s ease;
}

.tooltip:hover::before,
.tooltip:hover::after {
    opacity: 1;
    transform: translateY(-2px);
}

.tooltip .tooltipContent {
    visibility: hidden;
    width: 310px;
    height: 215px;
    background-color: #004F9F;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    top: -250px;
    left: -20px;
    border-radius: 5px;
    letter-spacing: 1px;
    transform: translateY(20px);

    /* Position the tooltip */
    position: absolute;
    z-index: 1;
}

.tooltip:hover .tooltipContent {
    visibility: visible;
    display: block;
}

/*
.tooltip .tooltipContent {
    visibility: hidden;
    display:none;
    position: relative;
}

.tooltip:hover .tooltipContent {
    visibility: visible;
    display: inline-block;
    
}
*/

@keyframes shake {
    0% {
        transform: rotate(2deg);
    }
    50% {
        transform: rotate(-3deg);
    }
    70% {
        transform: rotate(3deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

#anim:hover {
    animation: shake 500ms ease-in-out forwards;
}