/*==================================================
=            Bootstrap 3 Media Queries             =
==================================================*/
/*==========  Mobile First Method  ==========*/
/* Custom, iPhone Retina */
@media only screen and (min-width: 320px) {
  .banner-carousel .tnc-desktop {
    display: none;
  }
  .banner-carousel .tnc-mobile {
    display: block;
  }
  .banner-carousel .tc-applied.banneropentandc {
    position: absolute;
    min-width: 200px;
    left: 50%;
    margin-left: -100px;
    top: auto;
    bottom: 5px;
    text-align: center;
    font-size: small;
  }
}
/* Extra Small Devices, Phones */
/* Small Devices, Tablets */
@media only screen and (min-width: 768px) {
  .header .header-block {
    height: 70px;
  }
  .header .header-block .joinnow-btn {
    display: block !important;
  }
  .header .header-block .join-btn {
    display: none !important;
  }
  .header .header-block .topright {
    top: 32px;
  }
  .header .header-block .topright .languageSelector {
    top: 2px;
  }
  .header .header-block .topright .btn-wrapper {
    width: 120px;
    top: -25px;
    position: relative;
  }
  .header .header-block .topright .btn-wrapper .cta-small {
    padding: 4px 5px;
    width: 100%;
    text-align: center;
  }
  .header .header-block .topright .btn-wrapper .create-account {
    margin-bottom: 5px;
  }

  .banner-carousel .banner-btn-cont .join-btn {
    line-height: 80px;
    min-width: 200px;
  }

  .desktop-section {
    display: block !important;
  }
  .desktop-section .footer-btn-wrp:last-child {
    width: 100%;
  }

  .mobile-section {
    display: none !important;
  }

  .footer-button-links {
    width: 100%;
    margin-top: 15px;
  }
  .footer-button-links .footer-btn-wrp {
    position: relative;
    float: left;
    display: inline-block;
    width: 50%;
  }
}
/* Medium Devices, Desktops */
@media only screen and (min-width: 992px) {
  .footer-btn-wrp {
    display: inline-block !important;
    width: 32% !important;
    padding-right: 1% !important;
    min-width: 0 !important;
  }

  .footer-button-links.desktop-section a {
    display: inline-block !important;
    width: 100%;
    min-width: 0 !important;
    line-height: 25px;
    padding: 0 5px;
    text-align: center;
  }
}
/* Large Devices, Wide Screens */
@media only screen and (min-width: 1201px) {
  .prod-bottom-section .btm-titles.single-line-txt {
    line-height: 44px;
  }
}
/*==========  Non-Mobile First Method  ==========*/
/* Large Devices, Wide Screens */
@media only screen and (max-width: 1200px) {
  .pdt-block .pdt-image-holder .prod-bottom-section {
    padding: 7px 0;
  }
  .pdt-block .pdt-image-holder .prod-bottom-section .btm-titles {
    margin-top: 3px;
  }
  .pdt-block .pdt-image-holder .prod-bottom-section .btm-titles .btm-t1, .pdt-block .pdt-image-holder .prod-bottom-section .btm-titles .btm-t2 {
    font-size: 18px;
  }
  .pdt-block .pdt-image-holder .prod-bottom-section .claim-btn-wrapper {
    margin-top: 0px;
  }

  .header .header-block .topright .languageSelector .language-area {
    width: 540px;
  }

  .prod-bottom-section .btm-titles.single-line-txt {
    line-height: 40px;
  }
}
/* Medium Devices, Desktops */
@media only screen and (max-width: 991px) {
  .pdt-block .pdt-image-holder .prod-bottom-section .btm-titles .btm-t1, .pdt-block .pdt-image-holder .prod-bottom-section .btm-titles .btm-t2 {
    font-size: 18px;
  }

  .banner-carousel .banner-btn-cont {
    bottom: 25px;
  }
}
/* Small Devices, Tablets */
@media only screen and (max-width: 767px) {
  .header .ladbrokes-logo {
    margin: 3px 0 0 10px;
  }
  .header .joinnow-btn {
    display: none !important;
  }
  .header .join-btn {
    display: block !important;
  }
  .header .cta-small {
    padding: 4px 3px;
  }
  .header .header-block .topright {
    margin: 0 5px 0 3px;
  }
  .header .header-block .topright .languageSelector {
    padding: 0px;
    float: right;
  }
  .header .header-block .topright .languageSelector .choose-lang {
    padding: 0 25px 0 5px;
    width: 58px;
    max-width: 58px;
  }
  .header .header-block .topright .languageSelector .choose-lang .lang-name {
    width: 0;
    display: none;
  }

  .footer-button-links.desktop-section {
    display: none !important;
  }

  .footer-button-links.mobile-section {
    display: block !important;
    width: 100%;
    margin-top: 15px;
  }
  .footer-button-links.mobile-section .footer-btn-wrp {
    position: relative;
    float: left;
    display: inline-block;
    width: 50%;
  }
  .footer-button-links.mobile-section a {
    font-size: 11px;
    min-width: 125px;
  }

  .footer-links-wrapper {
    display: none !important;
  }

  .footer-section .appendix {
    width: 100%;
    padding: 10px 15px !important;
  }
  .footer-section .appendix .licenses {
    margin: 0 !important;
  }
  .footer-section .appendix .licenses .footer-icons {
    padding: 0;
  }
  .footer-section .appendix .licenses .footer-icons div.container-fluid > div {
    text-align: center;
  }
  .footer-section .appendix .licenses .footer-icons div.container-fluid > div .license-icon {
    display: inline-block;
  }
  .footer-section .main-container .licence-txt {
    color: #ffffff;
    font-size: 10px;
  }
  .footer-section .copyright-ladbrokes {
    text-align: center;
    color: #ffffff;
    font-size: 10px;
  }

  .card-wrap {
    display: none;
  }
  .card-wrap h3 {
    width: 100%;
    text-align: center;
    padding: 0;
  }

  .banner-carousel .banner-bg-img {
    height: 320px;
  }
  .banner-carousel .banner-text-cont {
    position: absolute;
    width: 100%;
    left: auto;
    top: 20px;
  }
  .banner-carousel .banner-text-cont h1, .banner-carousel .banner-text-cont h2 {
    font-size: 36px;
    text-align: center;
  }
  .banner-carousel .banner-btn-cont {
    position: absolute;
    width: 100%;
    left: auto;
    bottom: 20px;
    top: auto;
  }

  .header .header-block .topright .languageSelector .language-area {
    width: 420px;
  }

  footer .footer-icons .license-icon {
    margin-top: 10px;
    margin-left: 5px;
    text-align: center;
  }
  footer .footer-icons .license-icon a.legal-icons {
    background: url("//media.ladbrokes.com/home/generic/legal-transparentV2@2x.png") no-repeat scroll 0 0 transparent;
    display: block;
    float: left;
    margin-right: 3px;
    text-indent: -999999px;
    margin: 0 6px;
    cursor: pointer;
    width: 44px;
    height: 48px;
    background-size: 172px 48px;
    -webkit-background-size: 172px 48px;
    -moz-background-size: 172px 48px;
    background-position: 0 0;
  }
  footer .footer-icons .license-icon a.legal-icons.eighteen_plus {
    background-position: 0 0;
    width: 44px;
    height: 48px;
  }
  footer .footer-icons .license-icon a.legal-icons.gov_of_gibraltar {
    margin-left: 10px;
    background-position: -46px 0;
    width: 44px;
    height: 48px;
  }
  footer .footer-icons .license-icon a.legal-icons.gambling_comission {
    margin-left: 10px;
    background-position: -92px 0;
    width: 85px;
  }
}
/* Extra Small Devices, Phones */
@media only screen and (max-width: 480px) {
  .pdt-block.col-xs-6 {
    padding: 0 4px;
  }

  section.pdt-list {
    padding: 15px 10px 0;
  }

  .odds-on-container {
    height: 100px;
  }
  .odds-on-container ul li.odds-on-wrapper {
    padding: 6px 10px;
  }
  .odds-on-container .event-heading {
    font-size: 16px;
    padding: 3px 15px;
    height: auto;
  }
  .odds-on-container .event-date-time {
    padding: 4px 0;
  }
  .odds-on-container .event-odds-on ul li {
    padding: 0;
  }
  .odds-on-container .event-odds-on .odds-name {
    font-size: 12px;
  }
  .odds-on-container .event-odds-on .odds-value {
    height: 23px;
    padding: 2px 2px;
  }

  .odds-on-container .odds-on-wrapper.primary {
    width: 100%;
  }

  .odds-on-container .odds-on-wrapper.secondary {
    display: none;
  }

  .pdt-block .pdt-image-holder .heading {
    height: 40px;
    font-size: 22px;
    line-height: 40px;
  }
  .pdt-block .pdt-image-holder .register-cta {
    font-size: 22px;
  }

  .header .ladbrokes-logo {
    background-size: 65%;
    background-repeat: no-repeat;
    background-position: 0 6px;
  }

  footer .footer-icons div.social-icon div.socials {
    float: left;
    margin-top: 10px;
  }
  footer .footer-icons .license-icon {
    display: inline-block;
  }

  .topright .cta {
    max-width: 72px;
  }

  .banner-bg-img {
    height: 168px;
  }
}
/* Custom, iPhone Retina */
/* Smartphones (PORTRAIT) ----------- */
@media only screen and (max-width: 767px) {
  .banner-carousel .banner-bg-img {
    height: 168px;
  }
  .banner-carousel .banner-text-cont {
    top: 20px;
    width: 100%;
    left: 0;
  }
  .banner-carousel .banner-text-cont h1, .banner-carousel .banner-text-cont h2 {
    text-align: center;
  }
  .banner-carousel .banner-btn-cont {
    bottom: 25px;
    top: auto;
  }
  .banner-carousel .banner-btn-cont .cta {
    font-size: 30px;
    padding: 5px 10px;
  }

  .header .header-block .topright .languageSelector .language-area {
    width: 272px;
  }
  .header .header-block .topright .languageSelector .language-area h3 {
    margin-bottom: 10px;
  }
  .header .header-block .topright .languageSelector .language-area ul {
    margin: 0 10px;
  }
}
/* Smartphones (LANDSCAPE) ----------- */
@media only screen and (min-width: 320px) and (max-width: 568px) and (orientation: landscape) {
  .pdt-block .pdt-details {
    width: 75%;
    padding-bottom: 55%;
  }
}
@media only screen and (min-width: 569px) and (max-width: 667px) and (orientation: landscape) {
  .pdt-block .pdt-details {
    width: 60%;
    padding-bottom: 44%;
  }
}
@media only screen and (min-width: 668px) and (max-width: 767px) and (orientation: landscape) {
  .pdt-block .pdt-details {
    width: 50%;
    padding-bottom: 37%;
  }
}
@media only screen and (min-width: 460px) and (max-width: 768px) and (orientation: landscape) {
  .banner-carousel .banner-bg-img {
    height: 200px;
  }
  .banner-carousel .banner-btn-cont .cta {
    font-size: 30px;
    padding: 5px 10px;
  }

  .header .header-block .topright .languageSelector .language-area {
    width: 420px;
  }
}
/* iPads (PORTRAIT) ----------- */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .banner-carousel .banner-bg-img {
    height: 448px;
  }
  .banner-carousel .banner-text-cont {
    top: 25px;
    text-align: center;
    right: 5%;
    width: 90%;
  }
  .banner-carousel .banner-text-cont h1.h1_medium, .banner-carousel .banner-text-cont h2.h2_medium, .banner-carousel .banner-text-cont h2.h2_semibold, .banner-carousel .banner-text-cont h1.h1_semibold, .banner-carousel .banner-text-cont h1, .banner-carousel .banner-text-cont h2 {
    text-align: center;
  }
  .banner-carousel .banner-btn-cont {
    position: absolute;
    width: 100%;
    left: auto;
    bottom: 25px;
  }

  .footer-section .social-icons {
    position: absolute;
    top: 15px;
    right: 15px;
  }

  .footer-section .footer-links-wrapper div:first-child {
    width: 70% !important;
    display: block !important;
  }
}
/* Desktop ----------- */
@media only screen and (min-width: 1024px) {
  .banner-carousel .banner-bg-img {
    height: 248px;
  }
  .banner-carousel .banner-text-cont {
    top: 69px;
  }
  .banner-carousel .tnc-desktop {
    display: block;
  }
  .banner-carousel .tnc-mobile {
    display: none;
  }
  .banner-carousel .tc-applied.banneropentandc {
    position: absolute;
    width: 200px;
    left: 50%;
    margin-left: -100px;
    bottom: 50%;
    margin-bottom: -60px;
    text-align: left;
    font-size: small;
  }

  .footer-section .social-icons {
    position: absolute;
    top: 15px;
    right: 15px;
  }

  .banner-carousel .banner-btn-cont {
    top: 84px;
    /*left: 5%;*/
    position: absolute;
    width: 100%;
    text-align: center;
  }
  .banner-carousel .banner-btn-cont .join-btn {
    padding: 0px 20px;
    margin: 0px;
  }

  /* related to desktop 3 column Product grid */
  .col_3_desktop {
    margin: 0 auto;
    width: 916px;
  }
  .col_3_desktop .pdt-block {
    margin-left: 10px;
    margin-right: 10px;
    padding: 0;
    width: 285px;
  }

  /* Making footer stick to bottom when content is less */
  html {
    min-height: 100%;
    position: relative;
    padding-bottom: 198px;
  }

  footer {
    position: absolute;
    bottom: 0px;
    width: 100%;
  }
}
@media only screen and (min-width: 768px) and (-webkit-min-device-pixel-ratio: 1) {
  ::i-block-chrome, .header .header-block .topright .btn-wrapper {
    top: -56px !important;
  }
}
@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev {
    opacity: 1;
    left: 0;
  }

  .flex-direction-nav .flex-next {
    opacity: 1;
    right: 0;
  }
}
/* Non conventional width media queries for footer link width fixes */
@media only screen and (min-width: 1084px) {
  .footer-section .footer-links-wrapper div.column:first-child {
    width: 80% !important;
  }

  .footer-section .social-icons {
    position: absolute;
    top: 15px;
    right: 15px;
  }
}
@media only screen and (max-width: 767px) {
  .banner-carousel .banner-bg-img {
    background-position: 50% 100%;
    height: 168px;
  }
}
/************* BS Modal **************/
@media (min-width: 768px) {
  .modal-dialog {
    width: 600px;
    margin: 30px auto;
  }

  .modal-content {
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  }

  .modal-sm {
    width: 300px;
  }
}
@media (min-width: 992px) {
  .modal-lg {
    width: 900px;
  }
}
