html {
  box-sizing: border-box;
  font-family: sans-serif;
}

*, *::before, *::after {
  box-sizing: inherit;
}

img {
  max-width: 100%;
}

article, aside, dialog, figcaption, figure, footer, header, hgroup, main, nav,
section {
  display: block;
}

body {
  background: url(../images/bg.jpg) repeat-x #08c1e1;
  margin: 0;
  line-height: 1;
}

p {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14px;
  color: #22596c;
  text-align: justify;
  line-height: 18px;
}

h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  font-weight: bold;
  color: #d65113;
  padding-bottom: 11px;
}

h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: #000;
}

h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: #e91800;
  padding-top: 10px;
}

#topmost {
  width: 1002px;
  margin: 0 auto;
  position: relative;
  height: 42px;
}

#topmost div.small-menu {
  position: absolute;
  top: 13px;
  right: 12px;
  vertical-align: middle;
}

#topmost div.small-menu img {
  vertical-align: middle;
}

#topmost div span.small-links {
  color: #ffffff;
  font-family: 'Oswald', sans-serif;
  font-size: 17px;
  padding-left: 6px;
  padding-top: 0px;
  display: inline-block;
  position: relative;
  top: 2px;
}

#wrapper {
  width: 1002px;
  margin: 0 auto;
          border-radius: 5px;
     -moz-border-radius: 5px;
       -o-border-radius: 5px;
  -webkit-border-radius: 5px;
  box-shadow: 0 5px 3px rgba(0,0,0,0.5);
}

#header {
  position: relative;
  height: 95px;
  background: #ffffff;
          border-top-left-radius: 5px;
     -moz-border-top-left-radius: 5px;
       -o-border-top-left-radius: 5px;
  -webkit-border-top-left-radius: 5px;
          border-top-right-radius: 5px;
     -moz-border-top-right-radius: 5px;
       -o-border-top-right-radius: 5px;
  -webkit-border-top-right-radius: 5px;
}

#header a.logo {
  position: absolute;
  height: 44px;
  width: 260px;
  left: 23px;
  top: 28px;
  background: url(../images/logo.png) no-repeat;
}

ul.top-big-navi, ul.top-big-navi ul {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute; /*float: right;*/
  top: 39px;
  z-index: 99;
  right: 20px;
  float: left;
}

/*Style for 1st level menu header*/

ul.top-big-navi li {
  position: relative;
  float: left;
  margin-left: 4px;
  font-family: 'Oswald', sans-serif;
  font-weight: bold;
  font-size: 18px;
          border-radius: 4px;
     -moz-border-radius: 4px;
       -o-border-radius: 4px;
  -webkit-border-radius: 4px; /*Needed for IE*//*background color of menu header (1st level)*/
}

ul.top-big-navi li:hover, ul.top-big-navi li:hover a {
  color: #ffffff;
  text-decoration: none;
  background: #e91800;
}

ul.top-big-navi li a {/*Menu link styles*/
  font-family: 'Oswald', sans-serif;
  font-weight: bold;
  font-size: 18px;
  padding: 7px 10px;
  display: block;
  color: #3b3b3b;
          border-radius: 4px;
     -moz-border-radius: 4px;
       -o-border-radius: 4px;
  -webkit-border-radius: 4px;
}

ul.top-big-navi li a:hover {
  color: #ffffff;
  text-decoration: none;
  background: #e91800;
}

/* Building menu items - for 2nd and more level menu items*/

ul.top-big-navi ul {
  display: none;
  position: absolute;
  width: 160px;
  background: #e35411;
  top: 94%;
  left: 0;
  text-align: left;
  box-shadow: 0 6px 4px -4px rgba(0,0,0,0.8);
}

ul.top-big-navi ul li:hover {
  background: none;
}

ul.top-big-navi ul li {
  color: #000;
  float: none;
  background: #e35411;
  margin-left: 0;
  display: block;
}

ul.top-big-navi ul li a {
  display: block;
  color: #000000;
  font-family: 'Oswald', sans-serif;
  font-size: 17px;
  color: #FFF;
  padding: 8px;
  font-weight: 500;
}

ul.top-big-navi ul li a:hover {
  border-radius: 0;
  background: #e9723a;
}

ul.top-big-navi ul li a.selected {
  border-radius: 0;
  background: #e9723a !important;
}

/* Menu item position for 3rd level and more */

ul.top-big-navi ul ul {
  left: 100%;
  top: 0;
}

/* Hover effect for menu*/

ul.top-big-navi li:hover > ul {
  display: block;
  color: #ffffff;
}

#header ul.top-big-navi a.selected {
  background: #e91800;
  text-decoration: none;
  color: #ffffff;
}

#header ul.top-big-navi a.selected.dont-select {
  background: none;
  color: #000;
}

#header ul.top-big-navi li:hover a.selected.dont-select {
  color: #fff !important;
}

ul.top-big-navi li a.home-icon {/*background: url(../images/home-icon-black.png) no-repeat;*/
  width: 22px;
  height: 18px;
}

ul.top-big-navi li a.icon {
  padding: 5px 5px;
}

#banner {
  position: relative;
}

#banner img {
  display: block;
}

#banner > a {
  position: absolute;
  top: 148px;
  left: 536px;
  width: 140px;
  border-radius: 4px;
  height: 39px;
  color: transparent;
  background: rgba(0,0,0,0.01);
}

#content {/*width: 1002px;*/
  background: #FFF;
  background: #C1EDFD;
  overflow: hidden;
  min-height: 400px;
}

#content .content-row1 {
  float: left;
  width: 152px;
  width: 18%;
  background: #c1edfd;
  overflow: hidden;
}

#content .content-row1 span.state {
  background: #002e45;
  display: block;
  font-family: 'Oswald', sans-serif;
  font-weight: bold;
  font-size: 16px;
  padding: 14px;
  text-align: center;
  color: #ffffff;
}

#content .content-row3 span.quick-info {
  background: #002e45;
  display: block;
  font-family: 'Oswald', sans-serif;
  font-weight: bold;
  font-size: 16px;
  padding: 14px;
  text-align: center;
  color: #ffffff;
  line-height: 1.3;
}

#content .content-row1 ul.state {
  padding-top: 0px !important;
}

#content .content-row1 ul li {/*height: 30px;
  padding-left: 16px;
  padding-bottom: 8px;*/
  border-bottom: 1px solid #dcf9ff;
}

#content .content-row1 ul li.last {
  border-bottom: none;
}

#content .content-row1 a.state-link {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 17px;
  color: #002936;
  text-decoration: none;
  display: block; /*padding-top: 10px;*/
  padding: 8px;
}

#content .content-row1 a.state-link:hover {
  color: #d65113; /*background-color:#000;*/
}

#content .content-row1 ul.state a.selected {
  color: #d65113;
}

#content .content-row1 a.state-link > span {
  float: right;
  padding-left: 0 !important;
}

#content .content-row2 {
  float: left;
  width: 600px;
  width: 62%;
  padding: 16px 18px 18px 18px;
  background: #fff;
  min-height: 376px;
  overflow: hidden;
}

#content .content-row2 .content-row2-part1 {
  width: 280px;
  width: 47%;
  float: left;
}

#content .content-row2 .content-row2-part1 h1.welcome {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  font-weight: bold;
  color: #e91800;
  border-bottom: 1px solid #d1d1d1;
  padding-bottom: 11px;
}

#content .content-row2 .content-row2-part1 a.readmore {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14px;
  color: #e91800;
  display: block;
  margin-top: 14px;
  text-decoration: none;
  font-style: italic;
}

#content .content-row2 .content-row2-part1 a.readmore:hover {
  color: #1d647b;
}

.mini-text {
  font-size: 13px;
  color: #000;
}

#content .content-row2 .content-row2-part2 .medical-entrance-examination {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: #e91800;
  border-bottom: 1px solid #dedd9c;
  text-align: center;
}

#content .content-row2 .content-row2-part2 table tr td.text {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14px;
  color: #55530c;
  border-bottom: 1px dotted #55530c;
}

#content .content-row2 .content-row2-part2 table tr td.date {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14px;
  color: #55530c;
  border-bottom: 1px dotted #55530c;
  text-align: center;
}

#content .content-row2 .content-row2-part2 a.view-all {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14px;
  color: #e91800;
  display: block;
  padding-top: 5px;
  padding-left: 14px;
  text-decoration: none;
  font-style: italic;
}

#content .content-row2 .content-row2-part2 a.view-all:hover {
  color: #1d647b;
}

#content .content-row3 {
  float: left;
  width: 220px;
  width: 20%;
  padding: 0;
  min-height: 200px;
  overflow: hidden;
}

#content .content-row3 .form-div {
  padding-left: 14px;
  padding-bottom: 6px;
}

.content-row3 .form form {
  padding: 10px 0 0 5px;
}

#content .content-row3 input {
          border-radius: 5px;
     -moz-border-radius: 5px;
       -o-border-radius: 5px;
  -webkit-border-radius: 5px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14px;
  color: #004055; /*font-weight: bold;*/
  padding-left: 10px;
  border: 1px solid #83cbf3;
  height: 30px;
  width: 181px;
  width: 90%;
}

#content .content-row3 textarea {
          border-radius: 5px;
     -moz-border-radius: 5px;
       -o-border-radius: 5px;
  -webkit-border-radius: 5px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14px;
  color: #004055; /*font-weight: bold;*/
  border: 1px solid #83cbf3;
  padding-left: 12px;
  resize: none;
  height: 103px;
  width: 181px;
  width: 90%;
}

#content .content-row3 input.submit-image {
          border-radius: 8px;
     -moz-border-radius: 8px;
       -o-border-radius: 8px;
  -webkit-border-radius: 8px;
  padding-left: 0px !important;
  cursor: pointer;
  width: 181px;
  width: 90%;
}

#footer {
  padding: 7px 0 5px;
  background: #002e45;
  width: 100%;
  margin: 0 auto;
  font-family: 'ABeeZee', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  color: #ffffff;
  text-align: center;
}

#footer a {
  color: #ffffff;
  font-size: 11px;
}

#content .content-row2 .content-row2-part2 {
  float: right;
  background: #fffdbe;
  width: 50%;
  height: 630px;
  border: 1px solid #e5e4c4;
}

#content .content-row2 .content-row2-date .medical-entrance-examination {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: #d65113;
  border-bottom: 1px solid #dedd9c;
  text-align: center;
}

#content .content-row2 .content-row2-date table tr td.text {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14px;
  color: #55530c;
  border-bottom: 1px dotted #55530c;
}

#content .content-row2 .content-row2-date table tr td.link {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14px;
  color: #55530c;
  border-bottom: 1px dotted #55530c;
}

#content .content-row2 .content-row2-date table tr td.date {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14px;
  color: #55530c;
  border-bottom: 1px dotted #55530c;
  width: 150px;
}

#header ul.top-big-navi ul.submenu {
  position: absolute;
  top: 30px;
  width: 50px;
}

#header ul.top-big-navi ul.submenu li {
  float: left;
}

#content .content-row2 .content-row2-date table tr td.date a {
  font-size: 14px;
  color: blue;
  text-decoration: underline;
}

#content .content-row2 .content-row2-date table tr td.link a {
  font-size: 14px;
  color: blue;
  text-decoration: underline;
  font-family: 'Source Sans Pro', sans-serif;
}

a.nepal-banner {
  display: block;
  text-align: center;
}

div.info-mail {
  width: 191px;
  background: #f7f1dd;
  color: #694d11;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 12px;
  text-align: center;
  font-weight: bold;
  border: 1px solid #e5d4b0;
          border-radius: 5px;
     -moz-border-radius: 5px;
       -o-border-radius: 5px;
  -webkit-border-radius: 5px;
  margin-left: 14px;
  margin-bottom: 8px;
  padding-top: 7px;
  padding-bottom: 7px;
}

div.error {
  width: 191px;
  background: #f7f1dd;
  color: #694d11;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 12px;
  text-align: center;
  font-weight: bold;
  border: 1px solid #e5d4b0;
          border-radius: 5px;
     -moz-border-radius: 5px;
       -o-border-radius: 5px;
  -webkit-border-radius: 5px;
  margin-left: 14px;
  margin-bottom: 8px;
  padding-top: 7px;
  padding-bottom: 7px;
}

.table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 1rem;
  background-color: transparent;
  border: 1px solid #e9ecef;
  border-collapse: collapse;
}

.table th, .table td {
  padding: 0.75rem;
  vertical-align: top;
  border-top: 1px solid #e9ecef;
}

.table thead th {
  vertical-align: bottom;
  border-bottom: 2px solid #e9ecef;
  border-left: none;
  border-right: none;
  text-align: left;
}

.table tbody + tbody {
  border-top: 2px solid #e9ecef;
}

.table .table {
  background-color: #fff;
}

.table th, .table td {
  border: 1px solid #e9ecef;
}

.table tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.05);
}

.table th a {
  font-size: 13px;
}



/*modal window css*/

.modal *{
  box-sizing: border-box;
}

.modal {
  display: none;
  background: rgba(0,0,0,0.5) !important;
  position: fixed;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 9999;
}

.modal .box {
  background: white;
  height: 500px;
  max-width: 500px;
  position: relative;
  display: block;
  margin: auto;
  margin-top: 100px;
  z-index: 9999;
  border-radius: 4px;
  border: 1px solid #D7D6D6;
  box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.7);
  padding: 30px;
  overflow: auto;
}

.modal .close-btn {
  background: #e4e4e4;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5em;
  position: absolute;
  right: 10px;
  top: 10px;
  height: 40px;
  width: 40px;
  text-align: center;
  line-height: 40px;
  transition: all 0.2s ease 0s;
}

.modal .close-btn:hover {
  background: #C8C8C8;
}

.modal .box h3 {
  padding-bottom: 15px;
  padding-top: 0;
  text-transform: uppercase;
}

.modal .box p {
  font-size: 1.1em;
  line-height: 1.6;
}

#content .box .content-row3 {
  width: 100%;
}

/*-------------------------------
*  RESPONSIVE
--------------------------------*/

/* Large devices (desktops, 992px and up)*/

@media (max-width: 992px) {
  #topmost, #wrapper {
    width: 768px;
  }

  ul.top-big-navi li a {
    font-size: 16px;
    padding: 7px 5px;
  }

  #banner > a {
    top: 113px;
    left: 410px;
    width: 108px;
    height: 30px;
  }

  #content .content-row1 a.state-link {
    font-size: 14px;
  }

  #content .content-row2 .content-row2-part1 {
    width: 100%;
  }

  #content .content-row2 .content-row2-part2 {
    width: 100%;
    height: auto;
    margin-top: 20px;
    padding-bottom: 20px;
  }

  #content .content-row3 .form-div {
    padding-left: 6px;
  }

  #content .content-row3 input, #content .content-row3 textarea,
  #content .content-row3 input.submit-image {
    font-size: 14px;
    padding-left: 8px;
    width: 98%;
  }
}

/* Medium devices (tablets, 768px and up)*/

@media (max-width: 768px) {
  #topmost, #wrapper {
    width: 576px;
  }

  #header {
    height: 120px;
  }

  #header a.logo {
    left: 139px;
    top: 22px;
  }

  ul.top-big-navi {
    top: 83px;
    right: 0;
    width: 100%;
    text-align: center;
  }

  ul.top-big-navi li {
    float: none;
    margin-left: 4px;
    display: inline-block;
    vertical-align: middle;
  }

  #banner > a {
    top: 84px;
    left: 308px;
    width: 81px;
    height: 23px;
  }

  #content .content-row1, #content .content-row3 {
    float: left;
    width: 28%;
    padding:14px;
    background: #C1EDFD;
  }

  #content .content-row2 {
    float: right;
    width: 72%;
  }

  #content .content-row3 span.quick-info {
    line-height: 1.4;
  }

  #content {/*background: #FFF;*/
    background: #C1EDFD;
  }
.modal .box {
    height: 520px;
    padding: 30px 15px;
    margin: 10px;
}

/* Small devices (landscape phones, 576px and up)*/

@media (max-width: 576px) {
  #topmost, #wrapper {
    width: 480px;
  }

  #header a.logo {
    left: 21%;
    top: 22px;
  }

  ul.top-big-navi li a {
    font-size: 14px;
    padding: 7px 5px;
  }

  #banner > a {
    top: 70px;
    left: 256px;
    width: 67px;
    height: 21px;
  }
}

/* Small devices (small phones, 480px and up)*/

@media (max-width: 480px) {
  #topmost, #wrapper {
    width: 100%;
    min-width: 320px;
  }

  #header {
    height: 244px;
  }

  #header a.logo {
    left: 0;
    top: 17px;
    width: 100%;
    background-position: center;
  }

  #banner > a {
    top: 58%;
    left: 53%;
    width: 14%;
    height: 16%;
  }

  ul.top-big-navi li {
    float: none;
    margin-left: 4px;
    display: block;
    vertical-align: middle;
    margin: 2px 4px;
  }

  #topmost div.small-menu {
    position: relative;
    top: 13px;
    right: 0;
    width: 100%;
    text-align: center;
  }

  ul.top-big-navi ul {
    width: 50%;
    top: 99%;
    left: auto;
    text-align: left;
    right: 0;
  }

  #content .content-row1, #content .content-row3 {
    float: left;
    width: 100%;
    padding-bottom: 10px;
  }

  #content .content-row2 {
    float: right;
    width: 100%;
  }
}
