  @font-face {
  font-family: "Nanami";
  src: url("/themes/varna/fonts/fonts/NanamiRoundedW01Light.ttf");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Nanami-Light";
  src: url("/themes/varna/fonts/fonts/Nanami-Light.otf");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Nanami-Thin";
  src: url("/themes/varna/fonts/fonts/Nanami-Thin.otf");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "KG_Feeling";
  src: url("/themes/varna/fonts/fonts/KGFeeling22.ttf");
  font-weight: normal;
  font-style: normal;
}

/* WEBBAR BAR /

#webbar_upgraded {
  background: #5f2736;
}
#webbar_upgraded .container .search-content #search {
  background: #5f2736;
}
#webbar_upgraded .container .search-content::after {
  background: #5f2736;
}
#webbar_upgraded
  .container
  #google_translate_element
  .goog-te-gadget
  .goog-te-combo {
  background: #5f2736;
}
#webbar_upgraded .container .blogging .blogs_menu_list {
  background: #5f2736;
}
/ MENU ****/

ul#menu {
  width: 100%;
  text-align: center;
  float: none;
  margin: 0;
  padding: 0;
  list-style: none;
  display: block;
  font-size: 0;
  background: #fff;
}
ul#menu,
ul#menu li,
ul#menu ul {
  list-style: none !important;
  list-style-image: none !important;
}
ul#menu .topItem {
  display: inline-block;
  float: none !important;
  margin: 0 0px 0 0;
  padding: 0 0px;
  color: #473016;
  /*border-right: 1px solid #fff;*/
  position: relative;
  line-height: 20px;
  top: 0px;
  text-align: center;
  /*background: #f00;*/
}
ul#menu li {
  /*height: 40px;*/
  line-height: 2px;
  text-align: left;
  position: relative;
  text-decoration: none;
  display: block;
  /*top: 37px;*/
}
ul#menu li a {
  font-size: 13px;
  /*height: 30px;*/
  color: #fff;
  margin: 0px 0px;
  padding: 17px 12px;
  text-decoration: none;
  display: block;
}
ul#menu li a:hover {
  color: #fff;
}
ul#menu ul {
  display: none;
  position: absolute;
  top: 54px;
  margin: 0px;
  z-index: 598;
  white-space: nowrap;
  padding: 0px;
  font-size: 0;
}
ul#menu ul li {
  display: block;
}
ul#menu li:hover > ul {
  display: block;
}
ul#menu ul {
  text-align: left;
  z-index: 200 !important;
}
ul#menu ul ul {
  margin-left: 100%;
  top: 0px !important;
  position: absolute;
}
ul#menu .subItem a {
  display: block;
  padding: 20px 15px;
}
ul#menu .subItem a:hover {
  color: #fff;
}

ul#menu > li:nth-child(3) > ul {
  width: 450px;
  /*right: 0;*/
}
ul#menu > li:nth-child(3) > ul > li {
  width: 225px;
  float: left;
}
ul#menu > li:nth-child(8) > ul {
  width: 460px;
  right: 0;
}
ul#menu > li:nth-child(8) > ul > li {
  width: 230px;
  float: left;
}

@media screen and (max-width: 992px) {
  #main-menu {
    display: none;
  }
}

/*** STICKY MENU **/

.sticky {
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 100;
  border-top: 0;
  z-index: 9999;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.3) !important;
}

/ MOBILE MENU ***/

.slicknav_menu {
  background: #5f2736 !important;
  display: block;
}
.slicknav_btn {
  background-color: #94b8e0 !important;
}
.slicknav_nav .topItem a {
  color: #fff !important;
  font-size: 16px;
}
.slicknav_nav a:hover {
  background: #94b8e0 !important;
  color: #fff !important;
}
li.topItem.slicknav_parent.slicknav_open {
  background: #5f2736 !important;
}
.slicknav_nav .topItem.slicknav_open a,
.slicknav_nav .topItem:hover a {
  color: #fff !important;
}
@media screen and (min-width: 992px) {
  .slicknav_menu {
    display: none !important;
  }

  .col-md-1-half {
    width: 11.666667%;
  }
  .col-md-9th {
    width: calc(100% / 9);
  }
}
/ MENU END ***/

#slider,
#grade_slider {
  height: auto;
  margin: 0;
  padding: 0;
  border: none;
}
#slider > #slideshow .slider-item,
#grade_slider > #grade_slideshow .slider-item {
  width: 100% !important;
  height: auto !important;
}
.slider-item img {
  height: auto;
  width: 100%;
}

marquee {
  background: #5f2736;
  padding: 10px 0px;
  font-size: 20px;
  color: #fff;
  margin-bottom: -7px;
}

/ LOGIN STYLES ***/

.header-login {
  display: none;
}
#login {
  margin: 10px 0px;
}
#login .username {
  width: 100%;
  margin-bottom: 3px;
}
#login .password {
  width: 70%;
  margin-right: 0px;
}
#login .go {
  width: 30%;
}
#login .gobutton {
  background: #5f2736;
  color: #fff;
  padding: 4px 15px;
  cursor: pointer;
  width: 95%;
  margin-left: 5%;
  border-radius: 5px;
}
#login .gobutton:hover {
  background: #7a2a3f;
}

#login .textfield {
  width: 100%;
  border: 1px solid #575757;
  border-radius: 5px;
  color: #5f2736;
}
#login h2 {
  font-size: 28px;
  color: #5f2736;
}

@media (min-width: 992px) {
  .header-login {
    display: block;
  }
  #container {
    width: 970px !important;
  }

  ul#menu > li:nth-child(7n + 1) a {
    background-color: #94b8e0;
  }
  ul#menu > li:nth-child(7n + 1) a:hover {
    background-color: #7194bd;
  }
  ul#menu > li:nth-child(7n + 2) a {
    background-color: #ff8b00;
  }
  ul#menu > li:nth-child(7n + 2) a:hover {
    background-color: #e27e04;
  }
  ul#menu > li:nth-child(7n + 3) a {
    background-color: #ffd600;
  }
  ul#menu > li:nth-child(7n + 3) a:hover {
    background-color: #dab605;
  }
  ul#menu > li:nth-child(7n + 4) a {
    background-color: #c90d88;
  }
  ul#menu > li:nth-child(7n + 4) a:hover {
    background-color: #ad0a74;
  }
  ul#menu > li:nth-child(7n + 5) a {
    background-color: #9acd31;
  }
  ul#menu > li:nth-child(7n + 5) a:hover {
    background-color: #81af24;
  }
  ul#menu > li:nth-child(7n + 6) a {
    background-color: #00acec;
  }
  ul#menu > li:nth-child(7n + 6) a:hover {
    background-color: #0294c9;
  }
  ul#menu > li:nth-child(7n + 7) a {
    background-color: #5f2736;
  }
  ul#menu > li:nth-child(7n + 7) a:hover {
    background-color: #551f2d;
  }
  ul#menu > li:nth-child(7n + 0) a {
    background-color: #ec14f3;
  }
  ul#menu > li:nth-child(7n + 0) a:hover {
    background-color: #c91fcf;
  }
}
@media (min-width: 1200px) {
  #container {
    width: 1170px !important;
  }
  ul#menu li a {
    font-size: 15px;
    padding: 17px 17px;
  }
  ul#menu > li:nth-child(3) > ul {
    width: 460px;
  }
  ul#menu > li:nth-child(3) ul > li {
    width: 230px;
  }
  ul#menu > li:nth-child(5) > ul {
    width: 500px;
    right: 0;
  }
  ul#menu > li:nth-child(5) ul > li {
    width: 250px;
    float: left;
  }
}

@media screen and (max-width: 1200px) and (min-width: 992px) {
  section#bottom-logos img {
    height: 60px;
  }
}

@media screen and (max-width: 992px) {
  .navbar {
    display: none !important;
  }
  #imageTop {
    display: none !important;
  }
  #imageBottom {
    display: none !important;
  }
  section#large-image {
    margin-top: 0px !important;
  }
  .sky_gradient {
    display: none;
  }

  #logo a {
    font-size: 28px;
  }
  html,
  body {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  #logo a {
    font-size: 20px;
  }
  .welcome-title {
    font-size: 45px;
  }
  #signpost .col-sm-12,
  #signpost .col-xs-12,
  #signpost .container {
    padding: 0;
  }
  section#tagline h2 {
    font-size: 28px;
  }
}

/ TWO COLUMN CONTACT STYLES ****/

@media (min-width: 992px) {
  / WE ONLY WANT IT FLEX FOR BIGGER BROWSERS ****/
  #contact .row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }
}

/ CAROUSEL STYLES ***/

.carousel_block {
  padding-top: 15px;
}
.carousel_block h1 {
  text-align: center;
}
.carousel-inner .item {
  padding: 20px 60px 100px;
  text-align: center;
  color: #fff;
  font-size: 18px;
}
.carousel-control.left,
.carousel-control.right {
  background-image: none;
}

/ CONTACT STYLES ***/

.map {
  background: url(/themes/varna/img/_map.png) no-repeat;
  background-size: 100% 100%;
}

/ LINK STYLES DO NOT REMOVE ***/

.file_gallery .file {
  background: #5f2736;
  color: #fff !important;
}
.file_gallery .file:focus,
.file_gallery .file:hover {
  background: #fff !important;
  color: #5f2736 !important;
  text-decoration: none;
}

.work_list .standard_box a {
  color: #5f2736 !important;
  padding: 5px;
  text-decoration: none !important;
}
#content .standard_box p {
  color: #5f2736 !important;
}
#content .standard_box:hover a,
#content .standard_box:hover p {
  color: #fff !important;
}
.work_list .standard_box a:hover,
#sub_page_list.work_list .standard_box:hover,
.work_list .standard_box:hover {
  background: #5f2736;
  color: #fff;
}
#class_menu li a {
  color: #fff !important;
}

/ MISCELLANEOUS STYLES DO NOT REMOVE ***/

#webblog_password_container h3 {
  color: #39c;
}
.standard_box h2 {
  color: #39c;
}
#governer_password h2 {
  color: #39c;
}
form label {
  color: #39c;
}

#google_translate_element_holding .goog-te-gadget {
  font-size: 0;
}
#google_translate_element_holding .goog-te-gadget {
  font-size: 0;
}
#google_translate_element_holding .goog-te-gadget .goog-te-combo {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0;
  text-align: center;
  text-align-last: center;
  padding: 10px;
  border: 0px;
  border-radius: 0px;
  outline-width: 0;
  text-transform: uppercase;
  background: black;
  border-top: 2px solid #ffffff;
  color: #ffffff;
}
#google_translate_element_holding .goog-te-gadget .goog-te-combo {
  background: #5f2736;
}
#google_translate_element_holding .goog-logo-link {
  display: none;
}

@media (max-width: 768px) {
  #google_translate_element_holding.pull-right {
    float: none !important;
    text-align: center;
  }
  #google_translate_element {
    display: inline-block;
  }
}
