{% load static %}
{% load i18n %}

/*  BOOTSTRAP - Размерность сайта по ширине*/
@media (min-width: 1281px) {
    .container {
        width: 1600px !important;
    }
}

body {
    font: 400 14px/21px 'Open Sans', Arial, Helvetica, sans-serif !important;
}


.tg-wrapper {
    max-width: 1600px !important;
}

/* END BOOTSTRAP */

.tg-nav {
    text-transform: none !important;
}

input[type="search"] {
    text-transform: none !important;
}

.notuppercase {
    text-transform: none !important;
}

.alllowercase {
    text-transform: lowercase;
}

.backgroundwhite {
    background: white !important;
}

.sizeleftcolumn {
    min-height: 70px; /* Высота области */
    margin: 0; /* Обнуляем отступы */
    overflow: hidden;
    max-width: 70px;
    object-fit: cover;
}


/* Для маленьких картинок страница InDEX Последние события */
.wrapper_small_events a img {
    width: 70px;
    height: 70px;
    /*border: 2px solid #8f8b8b;*/
    /*margin: 1em 2em;*/
    float: left;
    object-fit: cover; /* cover fill  */
}

/* Для картинок страница news */
.wrappernews a img {
    width: 100%;
    height: 230px;
    /*border: 2px solid #8f8b8b;*/
    /*margin: 1em 2em;*/
    float: left;
    object-fit: cover; /* cover fill  */
}

.detailevent_image {
    width: 100% !important;
    height: 80px !important;
    object-fit: cover !important;
}


.tg-pricebox img {
    width: 170px;
    height: 140px !important;
    object-fit: cover !important;
}

/* Карусель на старнице detail_news */
#tg-coursegalleryslider .item img {
    margin: 0;
    width: 100%;
    float: left;
    height: 538px !important;
    object-fit: cover !important; /* scale-down, fill, contaim, cover  */
}

#tg-coursegallerynav .item img {
    display: block;
    width: 121px !important;
    height: 121px !important;
    object-fit: cover !important;
}

.bastyk_photo_main img {
    width: 164px;
    height: 208px;
    object-fit: cover !important;
}

/* на слайдер Главной страницы  */
.slider_h1 {
    font-size: 30px !important;
    font-weight: 500;
}

h1.notuppercase span {
    font-size: 18px;
    font-weight: 500;
}

.slider_image {
    width: 1140px !important;
    height: 554px !important;
    object-fit: cover!important;
}

/* конец слайдер */


/*  Главное окно - Фотогалерея  */
.tg-gallery li:first-child {
    width: 36%;
}

.tg-gallery li:first-child figure {
    width: 236px !important;
    height: 236px !important;
}

.tg-gallery li:first-child figure img {
    width: 100%;
    height: 100% !important;
    object-fit: cover !important;
}

.tg-gallery li {
    float: left;
    padding: 5px;
    list-style-type: none;
    object-fit: cover !important;
}

.tg-gallery li figure {
    margin: 0;
    width: 72px;
    float: left;
    background: #333;
    position: relative;
    height: 72px !important;
    object-fit: cover !important;
}

.tg-gallery li figure img,
.tg-gallery li figure a img {
    z-index: 1;
    width: 100%;
    display: block;
    position: relative;
    height: 72px !important;
    object-fit: cover !important;
}

/*  КОНЕЦ Главное окно - Фотогалерея  */

.about-table tr td {
    text-align: left;
    border: none;
}

.marginleft5 {
    margin-left: 5px;
}

.margintopbottom10 {
    margin-top: 10px;
    margin-bottom: 10px;
}

.margintop25 {
    margin-top: 25px;
}

.margintop40 {
    margin-top: 40px;
}

.margintop-20 {
    margin-top: -20px !important;
}

.margintop-40 {
    margin-top: -40px !important;
}

.marginbottom5 {
    margin-bottom: 5px !important;
}

.marginleft10 {
    margin-left: 10px !important;
}

.marginleft20 {
    margin-left: 20px !important;
}

.marginbottom20 {
    margin-bottom: 20px !important;
}

.headoffice {
    width: 400px !important;
}

.headoffice figure img {
    height: 476px !important;
    object-fit: cover !important;
}

.employeephoto figure {
    width: 270px !important;
}

.employeephoto figure a img {
    height: 270px !important;
    object-fit: cover !important;
}

.historyimg {
    width: 50%;
    height: auto;
}

.veteransimg figure {
    width: 200px !important;
}

.veteransimg figure img {
    height: 260px !important;
    object-fit: cover !important;
}

/*p {*/
/*    font-size: 15px!important;*/
/*}*/

/*li {*/
/*    font-size: 14px!important;*/
/*}*/

.tg-facultyname h3 {
    font-size: 14px !important;
}


.item_onepage {
    height: 540px !important;
    width: 100% !important;
    object-fit: cover !important;
}

.item_menupage {
    height: 404px !important;
    width: 100% !important;
    object-fit: cover !important;
}

.headlogin a {
    color: white;
}

.headlogin a:hover {
    color: #b8b8dc;
}


ul.sub-menu {
    width: 250px !important;
}

.logosizeindex {
    height: 84px;
    width: 693px;
    margin-left: 120px;
}

.logosizeindex2 {
    height: 33px;
    width: 273px;
}

.tg-logoandnoticeboard {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

.tg-noticeboard-left {
    float: left;
}

.sizegerbindex {
    width: 104px!important;
    height: 104px!important;
    margin-right: 15px!important;
}


/*.tg-formsignupfree {*/
/*    width: 40% !important;*/
/*    float: right!important;*/
/*}*/


.tg-widgetfaq .tg-widgetcontent ul li {
    padding: 0 0 0 20px;
}

.tg-widgetfaq .tg-widgetcontent ul li:before,
.tg-footermiddlebar .tg-widgetcoursecategories .tg-widgetcontent ul li:before {
    width: auto;
    height: auto;
    display: block;
    color: #55acee;
    content: '\f059';
    background: none;
    border-radius: 0;
    font-size: 13px;
    line-height: 13px;
    font-family: 'FontAwesome';
}

.tg-widgetfaq .tg-widgetcontent ul li p {
    margin: 0;
}

.tg-widgetfaq .tg-widgetcontent ul li span,
.tg-widgetfaq .tg-widgetcontent ul li time {
    display: block;
}

.tg-footermiddlebar .tg-widgetcoursecategories .tg-widgetcontent ul li {
    width: 50%;
    margin: 0 0 10px;
    padding: 0 10px 0 15px;
}


.tg-homebannervtwo .tg-homeslider {
    width: 100% !important;
    float: left !important;
    /*padding: 20px!important;*/
}

.texth1color {
    color: yellow;
}


.tg-slidercontent .tg-titledescription h1 {
    margin-top: 10px!important;
    margin-bottom: 5px!important;
}

.tg-themecollapse > h3 > a {
    text-transform: none !important;
}


.top-navigator > ul > li {
	display: inline-block;
    margin-top: 6px;
	/*position: relative;*/
}

.top-navigator > ul > li > a {
	padding: 0 6px;
    display: block;
    color: rgba(255, 255, 255, 0.8);
    /*border-right: 1px solid rgba(255, 255, 255, 0.1);*/
    text-transform: uppercase;
    /*font-weight: bold;*/
}

.charstyle {
    text-transform: uppercase;
}

.charstyle li a:hover {
    color: red;
}

li a.selectedChar {
    color: red!important;
}


.linkyear {
    font-size: 15px;
}