/* Не удалось уменьшить размер. Содержимое возвращается без уменьшения.
(289,9): run-time error CSS1062: Expected semicolon or closing curly-brace, found '@media'
: run-time error CSS1066: Unexpected end of file encountered
 */
/* Move down content because we have a fixed navbar that is 50px tall */
@font-face {
    font-family: "Oswald";
    src: url("/Content/fonts/oswald/Oswald-VariableFont_wght.ttf") format("truetype");
}

body {
    padding-top: 50px !important;
    padding-bottom: 0!important;
    width: 100vw;
    overflow-x: hidden;
    font-family: Verdana, sans-serif,'Segoe UI', Tahoma, Geneva, Arial !important;
    font-size: 16px;
}


.text-oswald {
    font-family: 'Oswald';
}

.display-1, .display-2, .display-3, .display-4 {
  font-family: 'Oswald'; 

}
/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    max-width: 100%;
}
header {
    margin:0 0 0 0!important;
    padding:0 0 0 0!important;
   
}
footer a {
color:#ffffff;
}
footer a:hover {
    color: #ff6600;
}
/*Меню*/
.nav-item {
    padding:0 10px;
}

/*Слайдер*/

.owl-next, .owl-prev {
    position: absolute;
    top: calc(100vh / 2.5 / 2 - 16px);
    z-index: 20;
    color: #ffffff !important;
   // padding: 30px !important;
    background: transparent;
}

    .owl-next:hover, .owl-prev:hover {
        background: #ff6600;
    }

.owl-next {
    right: 40px;
}

.owl-prev {
    left: 20px;
}
.owl-dots {
    position:absolute;
    bottom:0px;
    background:rgba(34, 60, 80, 0.15);
    width:100%;
}
/*Новости*/
.news .newsblock {
    height: 550px;
    background: #164676 center;
    background-size: cover;
    position: relative;
}
    .news .newsblock .news-category {
        background: rgba(0,0,0,0.5);
        opacity: 0;
        transition: opacity .75s;
    }
    .news .newsblock:hover .news-category {
        opacity:0.85;
    }
.news a {
    height: auto;
    background: rgb(0,0,0);
    background: -moz-linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    background: -webkit-linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1);
    display: block;
    width: 100%;
    position: absolute;
    text-align: left;
    bottom: 0;
    left: 0;
    text-decoration: none;
}
    .news a span.news-header {
        text-decoration: none;
        background-image: linear-gradient(rgba(255,255,255,0.99), rgba(255,255,255,0.85));
        background-position: 0% 100%;
        background-repeat: no-repeat;
        background-size: 0% 1px;
        transition: line-height .7s;
        transition: background-size .7s;
        font-size: 2.15rem;
        color: #ffffff;
        line-height: 2rem;
    
    }
    .news a:hover span.news-header {
        background-size: 100% 1px;
        line-height: 2.75rem;
       
    }
.news-gallary-pic {
    height: 250px;
    background: #164676 center;
    background-size: cover;
    position: relative;
}
.news-img-square {
    background: #164676 center;
    background-size: cover;
    position: relative;
}

.news-detail-text:first-letter {
    font-size: 6.0rem;
    display: block;
    float: left;
    margin-right: 5px;
    margin-top: 0;
    padding-top: 0;
    line-height: 3.85rem;
    background-color: #ff6600;
    color: #ffffff;
    background-color: #ffffff;
    color: #000000;
    padding: 5px 5px;
    padding-top: 0 !important;
    padding-left: 0 !important;
    font-family: 'PlayFair';
}

/*---------Новости ALT*/
.newsalt .newsblock .news-category {
    background: rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity .75s;
}

.newsalt .newsblock:hover .news-category {
    opacity: 0.85;
}
.newsalt .newsblock {
    height: 220px;
    background: #164676 center;
    background-size: cover;
    position: relative;
}
.newsalt a {
    width: 100%;
    color:#164676;
    text-align: left;
    text-decoration: none;
}
.newsalt a span.news-header {
    text-decoration: none;
    background-image: linear-gradient(rgba(22,70,118,0.99), rgba(255,255,255,0.85));
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 1px;
    transition: line-height .7s;
    transition: background-size .7s;
    font-size: 1.15rem;
    color: #164676;
    line-height: 2rem;
}
.newsalt a:hover span.news-header {
    background-size: 100% 1px;
    line-height: 2rem;
}
/*------*/

.btn-collapsed {
    position:relative;
}
    .btn-collapsed::after {
        content: "\f106";
        font-family: FontAwesome;
        display: inline-block;
        position: absolute;
        right: 10px;
        top: calc(50% - 1.01rem);
        font-size:1.5rem;
    }



    .btn-collapsed.collapsed::after {
        content: "\f107";
        font-family: FontAwesome;
        display: inline-block;
        position: absolute;
        right: 10px;
        top: calc(50% - 1.01rem);
        font-size: 1.5rem;
    }
/*    Страны   */
#countries .nav-link {
    border:0 0 0 0;
    color:#164676;
}
    #countries .nav-link:hover {
        border-top: 0 !important;
        border-bottom: 0 !important;
        border-left: 0 !important;
        border-right: 0 !important;
        background: rgba(34, 60, 80, 0.05);
    }
    #countries .nav-link img {
        width: 36px;
        margin-right:25px;
    }
    #countries .nav-link.active {
        border: 0 0 0 0 !important;
        color: #ff6600;

        border-top: 1px solid rgba(0,0,0,0.5);
        border-bottom: 1px solid rgba(0,0,0,0.5);
        border-left: 0 !important;
        border-right: 0 !important;
    }
        #countries .nav-link.active img {
            width: 60px;
            margin-right: 25px;
        }


.fixed {
    position: fixed;
    left: auto;
    top: 0;
    right: auto;
    bottom: auto;
    width: unset;
    z-index:9;
}
.highlight { font-weight: bold; color: #17a2b8; } 
.list-item { margin-left: 20px; }

a.signature {
    position: relative;
}

    a.signature span {
        position: absolute;
        bottom: 3.75em;
        left: calc(25% - 12px);
        background-color: #164676;
        color: #ffffff;
        padding: 10px;
        font-size: 0.75em;
        display: none;
        white-space: nowrap;
        text-align: left;
    }

        a.signature span:after {
            border: 10px solid transparent;
            border-top: 10px solid #164676;
            content: '';
            position: absolute;
            left: 12px;
            bottom: -20%;
        }

    a.signature:hover span {
        display: block;
        /* Responsive: Portrait tablets and up */
        @media screen and (min-width: 768px) {
            .jumbotron {
                margin-top: 20px;
            }

            .body-content {
                padding: 0;
            }

            #RBLcategory label {
                display: inline-block;
                border-right: solid 1px #e9ecef;
                margin: 5px 10px;
                font-size: 0.85rem;
            }
        }

        @media screen and (min-width: 1640px) {
            #RBLcategory label {
                display: flex;
                justify-content: space-between;
                border: 0;
            }
        }


