/* Write your custom css code here */

.button-glavn{
display:inline-block;
width:30%;
border:none;
margin:auto;
text-align:center;
padding:0;
display: flex; flex-direction: column; flex-wrap: wrap
}

.border-button {
  text-decoration: none;
  /* display: inline-block; */
  padding: 10px 20px;
  margin: 10px 20px;
  position: relative;
  color: #9b2d30;
  border: 1px solid #c40e30;
  background: none;
  font-weight: 300;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 2px;
  }
.border-button:before, .border-button:after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  box-sizing: border-box;
}
.border-button:before {
  bottom: 0;
  left: 0;
  border-left: 1px solid #9b2d30;
  border-top: 1px solid #9b2d30;
  transition: 0s ease opacity .8s, .2s ease width .4s, .2s ease height .6s;
}
.border-button:after {
  top: 0;
  right: 0;
  border-right: 1px solid #9b2d30;
  border-bottom: 1px solid #9b2d30;
  transition: 0s ease opacity .4s, .2s ease width, .2s ease height .2s;
}
.border-button:hover:before, 
.border-button:hover:after {
  height: 100%;
  width: 100%;
  opacity: 1;
}
.border-button:hover:before {
  transition: 0s ease opacity 0s, .2s ease height, .2s ease width .2s;
}
.border-button:hover:after {
  transition: 0s ease opacity .4s, .2s ease height .4s, .2s ease width .6s;
}
.border-button:hover {
  background: rgba(255, 255, 255, .2);
}

/*header*/
#sunfw_section_header {
    background-color: #fff8dc;
    color: #0f3748;
	margin-top: 12px;
}
#sunfw_section_main-menu {
    background-color: #9b2d30;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: #0b1265;
}
.sw-border-icon, .border-menu:before {
    background: #2f246a;
}
.border-menu .container > .row {
    background-color: #9b2d30;
    border-color: #810401;
}
#menu_item_menu {
    background-color: #9b2d30;
}
ul.sunfw-tpl-menu > li > ul, .dropdown-menu {
    background: #9b2d30;
}
.sunfw-logo {
    padding-top: 5px;
    padding-bottom: 5px;
}
.sunfw-logo {
    margin-bottom: 10px;
    margin-left: 0;
}
.sunfw-social {
    text-align: right;
    padding: 30px 0;
    margin-right: 11px;
}
.school_name{
    color: #9b2d30;
    font-size: 25px;
    line-height: 28px;
    display: block;
    position: relative;
    font-family: arial;
    font-weight: bold;
    letter-spacing: 1px;
    top: 13px;
    text-align: center;
}
.schoold_description {
    color: #9b2d30;
    display: block;
    position: relative;
    font-size: 15px;
    font-family: arial;
    letter-spacing: 1px;
    top: 20px;
    font-weight: normal;
    text-align: center;
}
body {
    background-color: #fae5ba;
	background-repeat: inherit;
    background-size: inherit;
    background-attachment: inherit;
    background-position: 0 0;
    color: #1f2629;
    font-family: 'Trebuchet MS', Helvetica, sans-serif;
    font-size: 16px
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: Playfair Display;
    line-height: 1.4;
    color: #9b2d30;
    letter-spacing: 0.5px;
    font-weight: 600;
}
.text-info {
    background: #f5f5f5;
    border-bottom: 2px solid #dfe3e6;
    border-top: 2px solid #dfe3e6;
    padding: 10px;
}
/*menu*/
ul.sunfw-tpl-menu > li.dropdown-submenu ul {
    width: 340px;
	}
.sunfw-menu-head {
    margin: 1px 0;
}

/*left column*/	
sunfw-pos-left div.module-style, .sunfw-pos-right div.module-style {
    margin-top: 20px;
    padding: 8px 15px;
    margin-bottom: 20px;
    list-style: none;
    background-color: #eaf4fd;
    border-radius: 4px;
}
/*links*/
a:hover, a:focus {
    color: #ba4032;
    text-decoration: none;
}
/*кнопка поиска*/
.btn[class*="btn-"] {
    padding: 5px 20px;
}
/*кнопка версии для слабовидящих*/
.vsv{margin: 11px 0 0 11px;
}
/*ковид*/
.red {
background-color: red;
}


li {
   margin-bottom: 1em;
}

.wcommunity_footer .secondary.flat_button, .wcommunity_footer .secondary.flat_button:hover, .wcommunity_footer .secondary.flat_button:active {
	background-color: rgb(140 5 30);
	color: rgb(255 255 255)
}

.pagination > li > a, .pagination > li > span, a, .jsn-bootstrap3 a.link-action, .jsn-bootstrap3 a, .pb-element-heading.fa::before, .kfrontend .btn-link {
    color: #9b2d30;}