/*
Theme Name: saf.org.ua
Theme URI: https://saf.org.ua/
Version: 1.0
*/
body {font-family:'Rubik', sans-serif;cursor:default}
body, .text-uppercase a, .content .table a, .blog-title a,.breadcrumb a, .share-buttons a {color:#234466 !important}
.bg-blue, .btn-primary {background:#254465 !important;color:#fff}
.btn,.dropdown-menu,.img-thumbnail {border-radius:0}
.btn-blue {background:#254465;color:#fff}
.bg-blue .btn-link {color:#fff !important;text-decoration:none}
.btn-blue:hover,.btn-blue:focus,.btn-blue:active {color:#fff}
.bg-light {background-color:#f7f7f7}
a:hover {text-decoration:none !important}
.card,.modal-content {border-radius:0}
.row-0 {margin-right:0px;margin-left:0px}
.row-0 > div {padding-right:0px;padding-left:0px}
.row-5 {margin-right:-5px;margin-left:-5px}
.row-5 > div {padding-right:5px;padding-left:5px}
.row-10 {margin-right:-10px;margin-left:-10px}
.row-10 > div {padding-right:10px;padding-left:10px}
.btn-search {font-size:20px;height:40px;line-height:40px;}
.btn-search,.company-title,.company-name a,.nav-tabs .nav-link {color:#234466}

.wpm-language-switcher.wpm-switcher-list {margin:0;padding:0}
.wpm-language-switcher.wpm-switcher-list li.active {display:none}
.wpm-language-switcher.wpm-switcher-list li {list-style:none;text-transform:uppercase;height:40px;line-height:44px}
.wpm-language-switcher.wpm-switcher-list li a {font-size:20px;line-height:18px;color:#234466;outline:none !important}

.navbar-dark .navbar-nav .nav-link {color:#c8d0d8 !important}
.navbar-dark .navbar-nav .nav-link:hover {color:#fff !important}
.cover-entry {display:flex;width:100%;position:relative;overflow:hidden}
.cover-entry:after {content:'';position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(1, 1, 1, 0.3);z-index:-1}
.cover-entry video {position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:-1}
.cover-title {color:#fff;font-weight:bold}

@media (max-width:991px) {
.cover-body {margin:40px auto}
.cover-title {font-size:12px;line-height:16px;text-align:justify;margin:auto;width:80%}
.news-gallery .news-title, .events-gallery .events-title {font-size:16px;line-height:22px}
}

@media (min-width:992px) {
.cover-body {max-width:960px;margin:68px auto;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center}
.cover-title {font-size:26px;line-height:30px;max-width:940px;margin:20px auto;margin-bottom:34px;text-align:center}
.news-gallery .news-header {height:200px}
.news-gallery .news-title {font-size:18px;line-height:24px}
.events-gallery .events-header {height:200px}
.events-gallery .events-title a {font-size:22px;line-height:32px}
.events-gallery .events-meta {position:absolute;bottom:20px}
}

.news-gallery .news-header {width:100%;overflow:hidden;background-size:cover;background-position:center center;background-repeat:no-repeat;background-color:#234466;position:relative;display:flex;justify-content:top;align-items:top}
.news-gallery .news-title {width:100%;padding:24px 30px;color:#fff;font-weight:bold;line-height:22px;z-index:2}
.news-gallery .news-title a {color:#fff;display:block}
.news-gallery .news-title:after {pointer-events:none;content:"";position:absolute;top:0;bottom:0;right:0;left:0;background-color:rgba(0, 0, 0, 0.5);z-index:-1}

.events-gallery .events-header {width:100%;overflow:hidden;background-size:cover;background-position:center center;background-repeat:no-repeat;background-color:#234466;position:relative;display:flex;justify-content:top;align-items:top}
.events-gallery .events-title {width:100%;padding:24px 30px;color:#fff;font-weight:bold;z-index:2}
.events-gallery .events-title a {color:#fff;display:block}
.events-gallery .events-title:after {pointer-events:none;content:"";position:absolute;top:0;bottom:0;right:0;left:0;background-color:rgba(0, 0, 0, 0.7);z-index:-1}

.owl-carousel .owl-dot span {display:none !important}
.owl-carousel .owl-dots {position:relative;text-align:center;margin-top:30px}
.owl-carousel .owl-dots .owl-dot {position:relative;width:9px;height:9px;margin:0px 5px;display:inline-block;border-radius:50%;transition:all 0.3s ease;-moz-transition:all 0.3s ease;-webkit-transition:all 0.3s ease;-ms-transition:all 0.3s ease;-o-transition:all 0.3s ease}
.owl-carousel.owl-theme-1 .owl-dots .owl-dot {background-color:#234466 !important}
.owl-carousel .owl-dots .owl-dot:hover,
.owl-carousel .owl-dots .owl-dot.active {position:relative;width:22px;height:9px;border-radius:10px;opacity:1}

.partners-gallery .card img {opacity:0.7;-webkit-filter: grayscale(100%) brightness(100%) contrast(100%); filter: grayscale(100%) brightness(100%) contrast(100%); transition: filter 0.3s, box-shadow 0.3s; -webkit-transition: filter 0.3s, -webkit-filter 0.3s, box-shadow 0.3s}
.partners-gallery .card:hover img {-webkit-filter:none;filter:none;opacity:1}
.partners-gallery .card {border:0 none}

.company-header a {color:#234466 !important}
.company-gallery .company-name,
.blog-gallery .blog-title {font-size:16px;line-height:22px;min-height:75px;padding:0 10px}
.company-gallery .company-name,
.blog-gallery .blog-title {text-align:center;font-weight:700;flex-grow:1;display:flex;justify-content:center;align-items:center;width:100%}
.company-list .company-name {font-size:16px;line-height:22px;min-height:75px;padding:0 10px}

.accordion .card-header a {display:block;color:#234466 !important}
.accordion .list-group li:last-child {border:0 none}

.pagination {margin-top:10px}
.pagination .nav-links {padding:8px 0;text-align:center;width:100%}
.pagination .nav-links span.current,
.pagination .nav-links a.page-numbers {padding:8px 12px;display:inline-block;margin-bottom:5px}
.pagination .nav-links span.current {background-color:#d9d9d9}
.pagination .nav-links a.page-numbers {color:#fff;background-color:#234466;border:0 none;text-decoration:none}

.content {font-size:1.1rem}
.content .table-sm td, .content .table-sm th {padding:.4rem .8rem}
.content p {text-align:justify}
img {-webkit-user-select: none;-moz-user-select:none;-ms-user-select:none;user-select:none}

@media (max-width:991px) {
h1.h3 {font-size:24px;line-height:30px}
.content h2,.content h3 {font-size:24px;line-height:26px;margin-top:2rem;margin-bottom:1.5rem}
.content {font-size:16px;line-height:20px}
.content .lead {font-size:18px;line-height:20px}
}

@media (min-width:992px) {
.content h2,.content h3 {font-size:1.75rem;margin-top:2rem;margin-bottom:1rem}
.text-lg-uppercase {text-transform:uppercase}
}

.ico-download:before {font-family:"Font Awesome 5 Free";content:"\f019";font-style:normal;color:#fff;margin-right:10px;font-size:16px;font-weight:900;}
.ico-site:after {font-family:"Font Awesome 5 Free";content:"\f35d";font-style:normal;color:#fff;margin-left:10px;font-size:16px;font-weight:900;}
.content ul, .content ol {margin-bottom:2rem}
.content ul li, .content ol li {margin-bottom:0.5rem}
.content blockquote {padding: 20px 20px 20px 70px;position:relative;background-color:#f5f5f5}
.content blockquote:before {font-family:"Font Awesome 5 Free";font-weight:900;content:"\f10d";font-size:30px;font-style:normal;color:#cecece;position:absolute;top:10px;left:20px}
.content img {max-width:100%;height:auto}
.content img.aligncenter {display:block;margin-left:auto;margin-right:auto}
.content .wp-caption-text {font-size:80%;font-weight:400;padding-top:4px;color:#6c757d}
@media (max-width:991px) {.alignright,.alignleft,.aligncenter {display:block;margin: 20px auto}.wp-caption {width:100% !important}.content iframe {width:100%;height:240px;border:0;margin:10px 0}}
@media (min-width:992px) {
.alignleft {display:block;float:left;margin-right:25px;margin-bottom:10px}
.alignright {display:block;float:right;margin-left:25px;margin-bottom:10px}
.aligncenter {display:block;margin:20px auto}
.aligncenter .wp-caption-text {text-align:center}
.content iframe {width:100%;height:480px;border:0;margin: 20px 0}}
.breadcrumb {background:#fff;padding:0;margin-bottom:0}
#scroller {display:none;position:fixed;top:46%;right:0;width:60px;height:44px;padding-right:16px;cursor:pointer;background:#254465;color:#fff;text-align:center;opacity:0.9}
#scroller i {line-height:44px;}
#scroller:hover {opacity:1}
footer.bg-blue small a {color:#fff;border-bottom:1px dashed #fff}
.ebrr-main-column {display:flex;}
.ebrr-main-column .hr-main {width:70%; margin-left:0}
.ebrr-main-column p {text-align:left}
.ebrr-main-column .wp-block-column {margin-left:1em; margin-right:1em}
.ebrr-top {background:#fff6db; padding:16px}
.ebrr-top h2 {margin-top:unset!important}
.ebrr-footer figure {max-width:50%; float:right}
.ebrr-footer {margin-left:1em; overflow:hidden}
.ebrr-logos {display:flex!important; margin-top:2rem; justify-content:space-between}
.ebrr-logos img {height:50px!important; object-fit:contain; width:auto}

@media (max-width:600px) {
	.ebrr-main-column {margin-left:auto; margin-right:auto}
	.ebrr-main-column .wp-block-column {margin-left:auto; margin-right:auto}
	.ebrr-main-column h2 {font-size:1em}
	.ebrr-footer h2 {font-size:1em}
	.ebrr-footer p {text-align:left}
	.ebrr-main-column h4 {font-size:0.9em}
	.ebrr-main-column h5 {font-size:0.8em}
	.ebrr-main-column p {font-size:0.75em}
	.ebrr-footer img {display:none}
	.ebrr-logos img {height:25px!important;}

}
.nav-item .nav-link {font-size:1rem !important}
@media (max-width:1150px) {
	.nav-item .nav-link {font-size:0.9rem !important}
}