/* ----------- MEDIUM SIZE ----------- */
@media (max-width: 1200px) {
  .xilinx-bs3 header .main-nav .navbar .navbar-search-toggle {
    padding: 15px;
  }
  .carousel-bg {
    top: -50px;
    height: 550px;
  }
  .carousel-bg .banner-text {
    top: 165px;
  }
  .mega-nav ul li a p {
    font-size: 13px;
  }
  #x-bg {
    background: none;
    height: auto;
    margin: 30px 0;
  }
  #x-bg .title {
    font-size: 15px;
  }
  #x-bg .x-icon {
    display: block;
  }
  #x-bg .front {
    display: none !important;
  }
  #x-bg .back {
    display: block !important;
  }
  #x-bg .back h1.small {
    display: none;
  }
  #x-bg .back .zone-icon {
    display: none;
  }
  #x-bg .back .button {
    display: block;
    margin-bottom: 15px;
  }
  #x-bg .back .button:hover {
    color: #000;
  }
  #x-bg #software {
    padding: 20px 20px 0 0;
  }
  #x-bg #software .button {
    float: right;
  }
  #x-bg #software .fa-ul {
    width: 100%;
  }
  #x-bg #software .fa-ul li.show {
    display: none !important;
  }
  #x-bg #software .fa-ul li.hide {
    display: block !important;
  }
  #x-bg #hardware {
    padding: 20px 0 0 20px;
  }
  #x-bg #hardware .button {
    float: left;
  }
  #x-bg #hardware .fa-ul {
    width: 100%;
  }
  #x-bg #hardware .fa-ul li.show {
    display: none !important;
  }
  #x-bg #hardware .fa-ul li.hide {
    display: block !important;
  }
  div#promos div.promo p {
    font-size: 13px;
    line-height: 18px;
  }
  div#components .blog-wrapper > ul {
    height: 310px !important;
  }
}
/* ----------- SMALL SIZE ----------- */
@media (max-width: 991px) {
  #x-bg {
    background: none;
    height: auto;
  }
  #x-bg .x-icon {
    display: block;
  }
  #x-bg .title {
    font-size: 15px;
  }
  #x-bg .front {
    display: none !important;
  }
  #x-bg .back {
    display: block !important;
  }
  #x-bg .back h1.small {
    display: none;
  }
  #x-bg .back .zone-icon {
    display: none;
  }
  #x-bg .back .button {
    display: block;
    margin-bottom: 15px;
  }
  #x-bg .back .button:hover {
    color: #000;
  }
  #x-bg .back .button p {
    font-size: 14px;
  }
  #x-bg #software {
    padding: 15px 20px 0 0;
  }
  #x-bg #software .button {
    float: right;
  }
  #x-bg #software .fa-ul {
    font-size: 13px;
    width: 100%;
  }
  #x-bg #software .fa-ul li.show {
    display: none !important;
  }
  #x-bg #software .fa-ul li.hide {
    display: block !important;
  }
  #x-bg #software .zone-icon {
    height: 100px;
  }
  #x-bg #hardware {
    padding: 15px 0 0 20px;
  }
  #x-bg #hardware .button {
    float: left;
  }
  #x-bg #hardware .fa-ul {
    font-size: 13px;
    width: 100%;
  }
  #x-bg #hardware .fa-ul li.show {
    display: none !important;
  }
  #x-bg #hardware .fa-ul li.hide {
    display: block !important;
  }
  #x-bg #hardware .zone-icon {
    height: 100px;
  }
  div#promos div.promo {
    text-align: center;
    width: 50%;
    min-width: 360px;
    margin: 0 auto 20px;
  }
  div#promos div.promo p {
    font-size: 15px;
    line-height: 20px;
  }
  div#components .component {
    width: 80%;
    margin: 0 auto 20px;
    max-width: 600px;
  }
  div#components .xilinxBlog {
    width: 80%;
    margin: 0 auto;
    max-width: 600px;
  }
  #footer footer .block {
    height: 112px;
    width: 112px;
  }
  #footer footer .block p {
    font-size: 14px;
    margin: 20px 0;
  }
  #footer footer .block p .semi {
    font-size: 20px;
  }
  #footer footer .copyright-menu {
    font-size: 12px;
  }
  #footer footer .copyright-menu li {
    padding: 0 6px;
    line-height: 14px;
  }
  #footer footer #social ul li {
    margin-left: 8px;
  }
  #footer footer #social ul li img {
    height: 18px;
  }
}
/* ----------- X-SMALL SIZE ----------- */
@media (max-width: 767px) {
  .carousel-bg {
    top: 0;
    height: 500px;
  }
  .carousel-bg .slick-list .slick-slide {
    height: 500px;
  }
  .carousel-bg .banner-text {
    top: 140px;
  }
  .carousel-bg .banner-text img {
    width: 40px;
    height: 40px;
  }
  .carousel-bg .banner-text h1 {
    font-size: 24px;
    line-height: 34px;
    text-shadow: 1px 2px 0px #000;
  }
  .carousel-bg .banner-text p {
    font-size: 16px;
    margin-bottom: 22px;
  }
  .carousel-bg .banner-text .learn-more-button {
    font-size: 14px;
  }
  .slick-dots {
    bottom: 5px;
  }
  .mega-nav ul li a p {
    display: none;
  }
  #x-bg {
    background: none;
    height: auto;
  }
  #x-bg .x-icon {
    display: block;
  }
  #x-bg .title {
    font-size: 15px;
  }
  #x-bg .front {
    display: none !important;
  }
  #x-bg .back {
    display: block !important;
    text-align: center;
  }
  #x-bg .back h1.small {
    display: none;
    font-size: 18px;
  }
  #x-bg .back .zone-icon {
    display: none;
  }
  #x-bg .back .button {
    display: block;
    margin-bottom: 15px;
  }
  #x-bg .back .button:hover {
    color: #000;
  }
  #x-bg .back .button p {
    font-size: 14px;
  }
  #x-bg #software {
    padding: 15px 0 0;
  }
  #x-bg #software .button {
    float: none;
    width: 250px;
    margin: 10px auto;
  }
  #x-bg #software .fa-ul {
    font-size: 13px;
    float: none;
    margin: 0 auto;
    width: 250px;
    text-align: left;
    direction: ltr;
  }
  #x-bg #software .fa-ul li {
    padding-left: 40px;
  }
  #x-bg #software .fa-ul li.show {
    display: none !important;
  }
  #x-bg #software .fa-ul li.hide {
    display: block !important;
  }
  #x-bg #software .fa-ul li i {
    right: auto;
    left: 0;
    transform: none;
  }
  #x-bg #software .zone-icon {
    height: 100px;
  }
  #x-bg #hardware {
    padding: 15px 0 0;
  }
  #x-bg #hardware .button {
    float: none;
    width: 250px;
    margin: 10px auto;
    left: 0;
  }
  #x-bg #hardware .fa-ul {
    font-size: 13px;
    float: none;
    margin: 0 auto;
    width: 250px;
    text-align: left;
    direction: ltr;
  }
  #x-bg #hardware .fa-ul li {
    padding-left: 40px;
  }
  #x-bg #hardware .fa-ul li.show {
    display: none !important;
  }
  #x-bg #hardware .fa-ul li.hide {
    display: block !important;
  }
  #x-bg #hardware .fa-ul li i {
    right: auto;
    left: 0;
  }
  #x-bg #hardware .zone-icon {
    height: 100px;
  }
  div#products .nav-tabs li a {
    font-size: 14px;
  }
  div#components .component ul {
    font-size: 13px;
    line-height: 18px;
  }
  div#components .component p.view-more {
    font-size: 13px;
  }
  div#components .xilinxBlog ul li.blog-title {
    font-size: 13px;
    line-height: 18px;
  }
  div#components .xilinxBlog ul li.info {
    font-size: 11px;
  }
  #footer footer .block {
    margin: 18px 18px 0px 0;
  }
  #footer footer .block:nth-child(3) {
    clear: both;
    margin-bottom: 30px;
  }
  #footer footer :first-child > h4 {
    margin-top: 30px;
  }
  #footer footer :last-child > ul {
    margin-bottom: 30px;
  }
  #footer footer h4 {
    margin-top: 15px;
  }
  #footer footer ul {
    margin-bottom: 0;
    font-size: 13px;
  }
  #footer footer h3 {
    font-size: 10px;
    margin-bottom: 0;
    text-align: center;
  }
  #footer footer img {
    height: 18px;
  }
  #footer footer .copyright-menu {
    text-align: center;
  }
  #footer footer .copyright-menu li:first-child {
    width: 100%;
    text-align: center;
    border-right: none;
    margin-bottom: 5px;
  }
  #footer footer .copyright-menu li:nth-child(2) {
    clear: both;
  }
  #footer footer #social ul {
    margin-top: 10px;
    text-align: center;
  }
}
/* ----------- XX-SMALL SIZE ----------- */
@media (max-width: 450px) {
  .carousel-bg {
    height: 400px;
  }
  .carousel-bg .slick-list .slick-slide {
    height: 400px;
  }
  .carousel-bg .banner-text {
    top: 90px;
  }
  .carousel-bg .banner-text h1 {
    font-size: 15px;
    line-height: 22px;
  }
  .carousel-bg .banner-text p {
    font-size: 13px;
    margin-bottom: 18px;
  }
  .carousel-bg .banner-text .learn-more-button {
    font-size: 12px;
  }
  .carousel-bg .banner-text .learn-more-button a {
    padding: 3px 10px;
  }
  .mega-nav ul li a img {
    width: 30px;
    min-width: 30px;
  }
  div#promos div.promo {
    width: 100%;
    min-width: 0;
  }
  div#promos div.promo p {
    font-size: 13px;
    line-height: 18px;
  }
  div#components .component {
    width: 100%;
  }
  div#components .xilinxBlog {
    width: 100%;
  }
}
