body{
    background-color: #1B6C94;
  
  /*background: url(../images/img/background.jpg) repeat-y;
    -moz-background-size: 100%; /* Firefox 3.6+ */
    /*-webkit-background-size: 100%; /* Safari 3.1+ и Chrome 4.0+ */
    /*-o-background-size: 100%; /* Opera 9.6+ */
    /*background-size: 100%; /* Современные браузеры */
}
a{
  text-decoration: none;
  color: black;
}
.main-container{
  background-color: white;
  border-radius: 10px;
}
.container{
  padding-left: 0;
  padding-right: 0;
}
.active{
  color: red;
  font-weight: bold;
}
          /* Header */
/*===========================*/
.logo{
  width: 100%;
}
.main-title{
  color: #D50A0A;
  text-align: center;
  margin-left: -52px;
}
.top-menu{
  /*display: block;*/
  margin-top: -20px;
  margin-left: -5px;
  background-color: #00537C;
  width: 101%;
  /*height: 20px;*/
}
.drop-menu{
  margin-top: -0.5%;
  background-color: #00537C;
}
.drop-menu a,
.top-menu a{
  display: block;
  color: white;
  line-height: 40px;
}
.drop-menu a:hover{
  color: white;
}
.drop-menu a:hover,
.top-menu a:hover{
  background-color: red;
  -webkit-transition: .4s ease-in-out;
  -moz-transition: .4s ease-in-out;
  -ms-transition: .4s ease-in-out;
  -o-transition: .4s ease-in-out;
  transition: .4s ease-in-out;
  border-radius: 2px;
}
.nav-link-white{
  color: rgba(255,255,255,1)!important;
}
.navbar{
  padding: 0;
  padding-left: 35px;
}
.nav-item{
  padding-right: 20px;
}
.submenu-link:after {
  content: "\f107";
  font-family: "FontAwesome";
  color: inherit;
  margin-left: 10px;
}

.drop-submenu{
  position: absolute;
  top: 100%;
  background-color: #00537C;
  list-style: none;
  padding: 0;
  line-height: 10px;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: 0 0;
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -ms-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  z-index: 1000;
}
.drop-submenu a{
  text-decoration: none;
  padding: 5px;
}

.drop-submenu li{
  float: none;
  position: relative;
}

.drop-menu:hover > .drop-submenu{
  opacity: 1;
  transform: scaleY(1);
}

/* End Header */
/*==========================================*/

/* Sidebar */
/*==========================================*/
.sidebar{
  background-color: #EAEBEF;
  height: 100%;
  border-radius: 10px;
}

.border {
  list-style: none;
  padding: 4px;
}
.border li{
  padding: 7px 20px;
  margin-bottom: 10px;
  border-left: 6px solid #f05d22; 
  box-shadow: 2px -2px 5px 0 rgba(0,0,0,.1),
       -2px -2px 5px 0 rgba(0,0,0,.1),
      2px 2px 5px 0 rgba(0,0,0,.1),
      -2px 2px 5px 0 rgba(0,0,0,.1);
  font-size: 15px;
  transition: .3s ease-in-out;
}
.border li:nth-child(2){border-color: #8bc63e;}
.border li:nth-child(3){border-color: #fcba30;}
.border li:nth-child(4){border-color: #1ccfc9;}
.border li:nth-child(5){border-color: #493224;}
.border li:nth-child(6){border-color: #f05d22;}
.border li:nth-child(7){border-color: #8bc63e;}
.border li:nth-child(8){border-color: #fcba30;}
.border li:nth-child(9){border-color: #1ccfc9;}
.border li:nth-child(10){border-color: #493224;}
.border li:nth-child(11){border-color: #f05d22;}
.border li:nth-child(12){border-color: #8bc63e;}
.border li:nth-child(13){border-color: #fcba30;}
.border li:nth-child(14){border-color: #1ccfc9;}
.border li:nth-child(15){border-color: #493224;}
.border li:nth-child(16){border-color: #f05d22;}
.border li:nth-child(17){border-color: #8bc63e;}
.border li:nth-child(18){border-color: #fcba30;}
.border li:nth-child(19){border-color: #1ccfc9;}
.border li:nth-child(20){border-color: #493224;}
.border li:nth-child(21){border-color: #f05d22;}
.border li:nth-child(22){border-color: #8bc63e;}
.border li:nth-child(23){border-color: #fcba30;}
.border li:nth-child(24){border-color: #1ccfc9;}
.border li:nth-child(25){border-color: #493224;}


.border a:hover{
  color: blue;
  -webkit-transition: .3s ease-in-out;
  -moz-transition: .3s ease-in-out;
  -ms-transition: .3s ease-in-out;
  -o-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}
.border a:active{
  color: red;
}
.border li .inner-menu{
  padding: 0;
}
.border li .inner-menu li{
  padding: 0;
  border: none;
  box-shadow: none;
  margin-top: 10px;
  margin-bottom: 0;
  padding-left: 10px;
  background-color: #EAEBEF;
  list-style: none;
}

.border ul{
  display: none;
}
.border li.tap ul{
  display: block;
}
.border .sub-arrow::after{
    content: "\f107";
    font-family: "FontAwesome";
    float: right;
    margin-right: -10px;
}
.border li.tap .sub-arrow::after{
    content: "\f107";
    transform: rotate(180deg);
}

.inner-menu a:hover{  
  text-decoration: underline;
}
/* End Sidebar */
/*==========================================*/

/* Main Content */
/*==========================================*/
.main-content{
  padding-right: 40px;
  margin-bottom: 50px;
}
.main-content-title{
  margin-top: 3%;
  width: 100%;
  border-bottom: 3px solid blue;
}
.main-school-photo{
  margin-top: 3%;
  margin-bottom: 3%;
  width: 100%;
}
.main-page-news{
  border-bottom: 3px solid blue;
  color: #336BA3;
}
.card{
  width: 32%;
  margin-left: 1%;
}


/* End Main Content */
/*==========================================*/

/* Footer */
/*==========================================*/
footer{
  border-radius: 10px;
  background-color: silver;
  border-top: 2px solid white;
  width: 100%;
}
.logo-footer{
  margin-left: 50%;
  padding: 10px 0 10px 0;
  width: 50%;
}
.logo-footer:hover{
  opacity: .5;
}
#old-site-link{
  margin-top: 7%;
  display: block;
  width: 100%;
  height: 100%;
  background: url(../../static/old_site_blue.png) 0 0 no-repeat;
  background-size: 80%;
}
#old-site-link:hover{
  background: url(../../static/old_site_red.png) 0 0 no-repeat;
  background-size: 80%;
}
#old-site-link span{
  display: block;
  width: 0;
  height: 0;
  overflow: hidden;
}
/* End Footer */
/*==========================================*/

/* Button Up*/
/*==========================================*/
.btn-up{
  position: fixed;
  bottom: -50px;
  right: 2%;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #ccc;
  background: #333;
  z-index: 100;
  outline: 0!important;
  transition: .4s;
}
.btn-up:after{
  content: '';
  width: 10px;
  height: 10px;
  border-top: 2px solid #ccc;
  border-left: 2px solid #ccc;
  transform: rotate(45deg);
  position: absolute;
  top: 4px;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
.btn-up.active{
  bottom: 50px;
}
/*==========================================*/
@media screen and (max-device-width: 991px){
  .card{
    width: 49%;
    margin-left: 1%;
  }
}