/*
Theme Name: Kiusamisest vabaks
Author:  AA
Author URI: http://adoberg.com/
Description: Kiusamisest vabaks / Free Of Bullying
License:
*/

body {
    font-family: 'Open Sans', sans-serif;
}

h1, h2, h3, h4 {
    font-family: 'GillSans', sans-serif;
}

.secondary-nav-mob .facebook-icon a:after,
.top-secondary-nav .facebook-icon a:after {
    background-image: url('./assets/images/fb-icon.png');
    background-size: 20px 20px;
    display: inline-block;
    width: 20px;
    height: 20px;
    content: "";
    top: 4px;
    position: relative;
}

.secondary-nav-mob .app-icon a:after,
.top-secondary-nav .app-icon a:after {
    background-image: url('./assets/images/mob-icon.png');
    background-size: 20px 20px;
    display: inline-block;
    width: 20px;
    height: 20px;
    content: "";
    top: 4px;
    position: relative;
}

.secondary-nav-mob .yt-icon a:after,
.top-secondary-nav .yt-icon a:after {
    background-image: url('./assets/images/yt-icon.png');
    background-size: 30px 20px;
    display: inline-block;
    width: 30px;
    height: 20px;
    content: "";
    top: 4px;
    position: relative;
}

.sidemenu a {
    font-weight: 600;
}

.page-lang-en.home section.call-to-action,
.page-lang-en.home section.news-block {
    display: none;
}

.card-in-past .date-box-wrap {
    background: #efefef;
    color: #7fa0a9;
}

.article-content li,
.article-content p {
    text-align: justify;
}

.card-x h2, .card-x h2 a {
    word-break: initial;
}

.autocomplete {
    position: relative;
    display: inline-block;
    width: 100%;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: 1px solid #d4d4d4;
    border-top: none;
    z-index: 99;
    top: 100%;
    left: 0;
    right: 0;
    height: 500px;
    overflow-y: scroll;
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}

.autocomplete-items div:hover {
    background-color: #e9e9e9;
}

.autocomplete-active {
    background-color: #14afc3 !important;
    color: #ffffff;
}

.vparent {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    display: none;
    text-align: center;
    z-index: 999;
}

.vparent:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.vparent:after {
    background: black;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.5;
    z-index: 10;
}

.centeredchild {
    position: relative;
    z-index: 20;
    display: inline-block;
    vertical-align: middle;
    width: 80%;
}

.videowrapper {
    position: relative;
    padding-top: 25px;
    padding-bottom: 56.25%;
    height: 0;
}

.videowrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

select {
    overflow: hidden;
    white-space: pre;
    text-overflow: ellipsis;
    -webkit-appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.card-prac img {
    border-radius: 10px 10px 0px 0px;
}

.card-prac .card-content {
    background: #fff;
    padding: 15px;
    border-radius: 0px 0px 10px 10px;
}

.card-prac h3 {
    color: #000;
    font-size: 24px;
    font-weight: 600;
    line-height: 26px;
}

.caption-text {
    text-align: center;
    display: block;
}

.shared-prac-banner {
    border-radius: 10px;
}

.download-desc {
    font-style: italic;
}

.material-content .downloads ul a {
    color: #000;
}

.material-content .downloads ul li .oi-cloud-download {
    color: #d20a46;
}


@media (max-width: 768px) {
   .article.narrow .container .row .article-content, 
	.article.narrow .container .row .grand-title{
		overflow:hidden;
	}
}


