/*   
Theme Name: tlnkr
Theme URI: 
Author: Ivo Ahun
Author URI: https://kylezone.net
Description: The Template is created for Tallinna Keskraamatukogu
Tags: html5, css3, sass, gulp, bootstrap grid
Version: 1.0.0
*/

:root {
    /*--font-family: "Source Sans Pro";*/
    /*--font-family: "Open Sans rev=1";*/
    --font-family: "Open Sans";
    --font-size: 16px;
    --font-weight: 400;
    --font-style: normal;
    --line-height: 1.625;
    /*--heading-font-family: "Montserrat";*/
    /*--heading-font-size: 2.5rem;*/
    /*--heading-line-height: 1.3;*/
    /*--heading-font-weight: 700;*/
    --heading-font-family: "Open Sans";
    --heading-font-size: 2.5rem;
    --heading-line-height: 1.3;
    --heading-font-weight: 600;
    --heading-font-style: normal;
    --accent-color: #337ab7 !important;
    --el-gradient-start: #337ab7 !important;
    --el-gradient-end: #2d67b2 !important;
    --background-color: #ffffff;
    --background-secondary-color: #F0F4F8;
    --text-primary: #303036;
    --text-secondary: #63636b;
    --border-color: #D4D4E1;
    --placeholder-color: #6F6F76;
    --error-color: #ff3d0d;
    --alert-primary: #0065D1;
    --alert-success: #1CAB55;
    --alert-danger: #E91C1C;
    --alert-warning: #C79C00;
    --el-border-radius: 10px;
    --el-border-radius-min: 6px;
    --el-box-shadow: 2px 4px 20px 1px rgba(45, 45, 45, 0.13);
    --header-box-shadow: 0px 0px 14px 0px rgba(77, 82, 94, 0.15);
}
.iitem-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6rem;
    height: 6rem;
    min-width: 6rem;
    border-radius: 50%;
    overflow: hidden;
    background-color: #fff !important;
    background: linear-gradient(to right, var(--el-gradient-start) 0%, var(--el-gradient-end) 100%);
    margin: 0 auto 1.25rem;
    color: var(--background-color);
    fill: var(--background-color);
    stroke: transparent;
}

.iitem-icon > svg, .iitem-icon img {
    display: block;
    width: 3rem;
    height: 3rem;
}

.iitem-icon > img {
    -o-object-fit: contain;
    object-fit: contain;
}

.iitem-icon.iii-stroke {
    fill: transparent;
    stroke: var(--background-color);
}

.iitem-icon.iii-fill-stroke {
    fill: var(--background-color);
    stroke: var(--background-color);
}

.iitem-icon-bg {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 2rem;
    z-index: 1;
    opacity: 0;
    color: var(--background-color);
    fill: var(--background-color);
    stroke: transparent;
    transition: opacity 0.2s 0.1s;
}

.iitem-icon-bg.iii-stroke {
    fill: transparent;
    stroke: var(--background-color);
}

.iitem-icon-bg.iii-fill-stroke {
    fill: var(--background-color);
    stroke: var(--background-color);
}

.iitem-icon-bg i {
    font-size: 31.25rem;
}

.iitem-icon-bg i, .iitem-icon-bg svg {
    width: 31.25rem;
    height: 31.25rem;
}

.iitem-heading {
    margin-bottom: 1rem;
}

.iitem-desc {
    color: var(--text-secondary);
    transition: color 0.2s;
}

.iitem-icon,
.iitem-heading,
.iitem-desc {
    position: relative;
    z-index: 2;
    /*padding-top: 14px;*/
}
.bff {
    display: block;
    /*padding: 1rem 0;*/
    padding: 2px 0 !important;
    background: linear-gradient(to right, var(--el-gradient-start) 0%, var(--el-gradient-end) 100%);
    color: var(--background-color);
    text-decoration: none;
}
.header-fixed {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    /*padding: 0.75rem 0;*/
    padding: 0 !important;
    background-color: var(--background-color);
    font-size: 1rem;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    z-index: 101;
    box-shadow: var(--header-box-shadow);
}
.header-titlezone{
    /*margin-bottom: 10px !important;*/
    margin: 8px 0 !important;
}
.header-titlezone h2{
    padding: 0;
    font-size: 28px;
}
.header-languagezone{
    
}
.header-languagezone ul {
  padding: 2px 16px;
  list-style: none;
  float:right;
}
.header-languagezone ul li {
  display: inline;
  font-size: 18px;
  color: #fff;
}

/* Add a slash symbol (/) before/behind each list item */
.header-languagezone ul li+li:before {
  padding: 8px;
  color: white;
  content: "\007c";
}

/* Add a color to all links inside the list */
.header-languagezone ul li a {
  color: #fff;
  text-decoration: none;
}

/* Add a color on mouse-over */
.header-languagezone ul li a:hover {
  color: #fff;
  text-decoration: underline;
}

.header-languagezone ul li.activeLang a {
  color: #999999;
  text-decoration: none;
}
.header-languagezone ul li.activeLang a:hover {
  color: #cccccc;
  text-decoration: none;
}
/*Hidden class for adding and removing*/
.lds-dual-ring.hidden {
    display: none;
}

/*Add an overlay to the entire page blocking any further presses to buttons or other elements.*/
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,.8);
    z-index: 999;
    opacity: 1;
    transition: all 0.5s;
}

/*Spinner Styles*/
.lds-dual-ring {
    display: inline-block;
    width: 80px;
    height: 80px;
}
.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    margin: 5% auto;
    border-radius: 50%;
    /*border: 6px solid #fff;*/
    border: 6px solid #000;
    /*border-color: #fff transparent #fff transparent;*/
    border-color: #000 transparent #000 transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.ajax-dataloader{
    width: 100%;
    height: 200px;
    text-align: center;
    vertical-align: middle;
}
.loader-hidden{
    display:none;
}
h3.itemtitle{
    padding-top: 14px;
}
#ajaxEkogudData {
    margin: 0;
    padding: 0;
}
#ajaxEkogudData div{
    /*padding-left: 10px;*/
    /*padding-right: 10px;*/
}

#ajaxNewsfeedData {
    margin: 0;
    padding: 0;
}
#ajaxNewsfeedData div{
    /*padding-left: 10px;*/
    /*padding-right: 10px;*/
}
h1{
    margin: 0;
    height: 100px;
}
.logo {
    width: 290px !important;
}
.logo img {
    width: auto;
    max-height: 100%;
}
.counter-min-block{
    left: -20px;
    width: 9.4rem;
}
.counter-min-info {
    padding-left: 6.8rem;
    height: 100%;
    display: flex;
    border-radius: var(--el-border-radius);
    background-color: var(--background-secondary-color);
    align-items: center;
    padding-right: 0.625rem;
}
.counter-min-numb{
    font-size: 1.8rem;
}
.footer-links ul {
    display: flex;
    margin-bottom: -1rem;
    margin-left: 0px;
}
.footer-links ul li {
    margin-bottom: 0px;
    margin-left: 1.25rem;
}
