@media (min-width: 768px){
  .navbar>.container .navbar-brand, .navbar>.container-fluid .navbar-brand {
    width: 300px;
    height: auto;
  }
  .dropdown-menu>li>a {
    font-size: 12px;
  }
  #youtube .red-box-round {
    padding: 15px 20px;
  }
  .socmed-icon {
    margin-right: 5px;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .navbar-default .navbar-nav>li>a {
    font-size: 12px !important;
  }
  .navbar>.container .navbar-brand, .navbar>.container-fluid .navbar-brand {
    margin-left: -35px;
  }
}
@media (max-width: 992px) {
  .navbar-nav>li>a {
    line-height: 20px;
  }
  .dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover {
    background-color: #d53737;
    color: #fff;
  }
  .top .text-box {
    padding: 5px 0;
  }
  .navbar-toggle {
    display: block;
  }
  .navbar>.container .navbar-brand, .navbar>.container-fluid .navbar-brand {
    margin-left: 0;
  }
  .dropdown-menu>li>a {
    font-size: 14px;
  }
  .back-text {
    margin-top: -120px;
    margin-bottom: -87px;
    font-size: 130px;
    white-space: nowrap;
  }
  .navbar-nav {
    margin: 7.5px -15px;
  }
  .navbar-nav>li, .navbar-right {
    float:none!important;
  }
  .navbar-nav .open .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    background-color: transparent;
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
  }
  .navbar-header {
    float: none;
  }
  .navbar-collapse.collapse {
    display: none!important;
  }
  .collapse.in {
    display: block!important;
  }
  .navbar>.container .navbar-brand, .navbar>.container-fluid .navbar-brand {
    width: 200px;
    height: auto;
  }
  .big-logo {
    width: 150px;
    margin: 0 auto;
  }
  #news .col-md-4 {
    margin-bottom: 10px;
  }
  footer .col-md-2, footer .col-md-3, #program-studi .col-md-6 {
    margin-bottom: 30px;
  }
}
@media (max-width: 768px) {
  .back-text {
    margin-top: -111px;
    margin-bottom: -87px;
    font-size: 110px;
  }
  #youtube .col-md-4 {
    padding: 0;
  }

  #register{
    background-size: 100%;
    background-position: center bottom;
    height: 450px;
  }
}

@media (min-width: 665px){
  #register{
    background-image: url(../images/register-bg-new.jpg);
  }
}

@media (max-width: 664px) {
  #register {
    background-image: url(../images/register-bg-mobile-new.jpg);
    width: 100%;
    height: 765px;
  }
}

@media (max-width: 466px) {
  .btn-primary-custom {
    margin-bottom: 10px;
  }

  .btn-primary-custom:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 480px) {
  .back-text {
    margin-top: -82px;
    margin-bottom: -55px;
    font-size: 62px;
  }
  .banner-text {
    font-size: 40px;
  }
  .nav>li>a, .navbar-default .navbar-nav .open .dropdown-menu>li>a {
    font-size: 13px !important;
  }
  .top>.container>.text-box a, .top>.container>.text-box p {
    font-size: 10px;
  }
  .top>.container {
    padding: 0;
  }
  .youtube-btn-container img {
    width: 140px!important;
  }

  #register{
    height: 640px;
  }

  .ckeditor>p>img {
    max-width: 100% !important;
    height: auto !important;
    width: auto !important;
  }
}
@media (max-width: 375px) {
  .back-text {
    margin-top: -80px;
    margin-bottom: -55px;
    font-size: 55px;
  }
  .navbar>.container .navbar-brand, .navbar>.container-fluid .navbar-brand {
    width: 190px;
  }
  .navbar-brand>img {
    margin-top: -22px;
  }
  .post-info p {
    font-size: 12px;
  }
  .ribbon {
    display: none;
  }

  #register{
    height: 600px;
  }
}
@media (max-width:1439px){
  .ribbon {
    display: none;
  }
}
@media (min-width:375px) and (max-width:768px){
  .ribbon {
    width: 60px;
    height: 90px;
    display: inline-block;
    position: absolute;
    top: 2px;
    z-index: 10;
    right: 125px;
    background-image: url(../images/ribbon.png);
    background-size: contain;
    background-repeat: no-repeat;
  }
}
@media (min-width:769px) and (max-width:991px){
  .small-ribbon {
    background-image: url(../images/ribbon.png);
    background-repeat: no-repeat;
    background-size: contain;
    height: 90px;
    width: 60px;
    margin-bottom: -40px;
    float: right;
    z-index: 10;
    position: relative;
  }

  #register{
    background-size: 100%;
    background-position: center bottom;
    height: 450px;
  }
}