/*==========  Non-Mobile First Method  ==========*/
@media only screen and (min-width: 1199px) {
    /* Categories */
    .categories-list {
        width: 100%;
    }

    .category-item {
        width: 250px;
    }

    .category-item .flip-container, 
    .category-item .front, 
    .category-item .back {
        width: 230px;
    }

    .category-item:nth-child(3n+2), 
    .category-item:nth-child(3n+3) {
        width: 251px;
    }

    /* Download section */
    .download-section .container {
        width: 970px;
    }
            
    /* Added for switch from people slider to video links */
    .hero{
        background: linear-gradient(132deg, rgb(227, 244, 253) 0.00%, rgb(170, 209, 226) 100.00%);
    }
    
    .hero .container {
        background-size: 900px;
        background-position-y: 121%;
    }

}

@media only screen and (min-width: 992px) {
    /* Categories */
    .categories-list {
        height:568px;
    }

    /* flip the pane when hovered */
    .flip-container:hover .flipper, 
    .flip-container.hover .flipper {
        transform: rotateY(180deg);
        -moz-transform: rotateY(180deg);
        -webkit-transform: rotateY(180deg);
        -ms-transform: rotateY(180deg);
        -o-transform: rotateY(180deg);
    }
            
    /* Added for switch from people slider to video links */    
    .home-mobile-widget ul {
        width: 300px;
    }
}

@media screen and (min-width: 768px) {
    /* Categories */
    .category-item:nth-child(3n+2),
    .category-item:nth-child(3n+3) {
        margin-left: -1px;
    }

    .category-item:nth-child(n+4) {
        margin-top: -1px;
    }
    
    /* Condom Dispenser App - iFrame version */
    #cleanContainer input[type="text"],
    #cleanContainer input[type="password"],
    #cleanContainer input[type="email"],
    #cleanContainer textarea {
        width: 95%;
    }
    
    #cleanContainer label{
        font-weight: 700;
    }
}

@media screen and (max-width: 1199px) {
    .sidebar-widget.download-options .download-options-inner {
        background: rgba(0, 0, 0, 0) url("/Get The Facts/img/iphone-gold.png") no-repeat scroll center top 125px / 270px auto;
    } 
    
    /* Added for switch from people slider to video links */    
    .hero .container {
        background-size: contain;
        background-position-x: 190%;
        background-position-y: 118%;
    }
    
    #carousel-people, #home-vid-links {
        left: 34%;
    }
}

/* Medium Devices, Desktops */
@media screen and (max-width: 992px) {
    /* Header */
    .site-title img {
        width: 340px;
    }
    
    /* Hero */
    .hero {
        height: 650px;
    }
    
    .hero .container {
        padding-left: 0;
        padding-right: 0;
        background-size: contain;
        background-position-x: 0%;
        background-position-y: 120%;
    }
    
    .header-ll-2 {
        bottom: 0;
    }

    /*#carousel-people {
        width: 270px;
    }*/
    
    #carousel-people .item {
        background-size: 280px auto;
        background-position: right bottom;
    }
    
    #carousel-people .item-1 {
        background-size: 200px auto;
    }
     
    /* Categories */
    .category-item {
        width: 155px;
        height: 155px;
    }

    .category-item .flip-container, 
    .category-item .front, 
    .category-item .back {
        width: 135px;
        height: 135px;
    }

    .category-title {
        font-size: 18px;
    }

    .category-item-img {
        height: 60px;
        line-height: 60px;
    }
    
    /* Blog */
    .blog-section .col-sm-4 + .col-sm-4,
    .blog-section .col-sm-6 + .col-sm-6 {
        margin-top: 40px;
    }

    /* Carousel */
    .tab-carousel .carousel-indicators.nav-tabs li a {
        font-size: 16px;
    }
    
    .support-icon {
        margin-left: 0;
    }
    
    /* Quiz */
    .quiz {
        padding: 0 10px 0 25px;
    }
    
    .quiz p {
        font-size:16px;
    }

    /* 
     * Subpage 
     */
    
    /* Sidebar */
    .sidebar-widget.download-options .download-options-inner {
        background: url("/Get The Facts/img/iphone-gold.png") no-repeat scroll center top 160px / 200px auto;
    }

    .sidebar-widget.download-options h4 {
        font-size: 16px;
    }
    
    
    /* Google maps services */
    #map-canvas-outer {
        padding-left: 350px;    
    }
    
    .google-maps-services {
        width: 350px;
    }

    .google-maps-services h3 {
        font-size: 20px;
    }
    
    .enter-postcode .selectpicker {
        top: 9px;
        left: auto;
        width: 100%;
        position: relative;
    }

    .enter-postcode {
        padding: 20px 1%;
    }

    .looking-for-options {
        margin: 20px 0;
    }

    .need-help-options {
        margin-bottom: 20px;
    }

}

@media screen and (min-width: 768px) and (max-width: 991px) {
    body {
        overflow-x: hidden;
    }
    
    /* Categories */
    .categories-list {
        height:463px;
        width:463px;
    }
    
    /* Download section */
    .download-section .container {
        background-size: 350px auto;
    }

    .download-options.text-center {
        text-align: left;
    }
    
    .download-section h2 {
        margin: 0 0 35px;
    }

    .download-options .app-store {
        margin-right: 0;
    }

    .download-options a {
        width: 120px;
    }

    .download-options a img {
        max-width: 100%;
    }
    
    #carousel-people {
        left: 34%;
    }
    
    .header-ll-2 .youtube-ll{
        min-height: 100px;
    }
    
    .dynamicForms, .widgetbg, .widgetfg {
        padding-right: 0px;
    }

}

/* Small Devices, Tablets */
@media screen and (max-width: 768px) {
    .xs-mt-10 { margin-top: 10px; } 
    .xs-mb-10 { margin-bottom: 30px; }  
    
    .subpage-title h1,
    .blog-section h2, 
    .quiz h2,
    .ask-question-section h2,
    .download-section h2,
    .article-title {
        font-size: 18px;
        line-height: 22px;
    }

    .hide-me {
        padding-bottom: 5px;
        top: 150px;
        font-size: 14px;
    }

    /* Header */
    .site-header .container {
        padding: 0;
    }

    .site-header .row.mb-20 {
        margin-left: 0;
        margin-right: 0;
    }
    
    .site-header .row.mb-20 .col-md-5 {
        margin: auto;
        text-align: center;
    }
    
    .header-top {
        background-color: #00597b;
        margin-top: 0;
        padding: 10px 15px;
        height: 40px;
    }

    .social-icons a {
        color: #fff;
    }

    .msg-link {
        display: inline-block !important;
    }       
    
    .home-mobile-widget {
        margin-top: 250px !important;
     }
     
    .hero {
        height: 250px !important;
        background-position: top right 20%;
    }

    .site-title {
        padding-top: 0px;
        float: none !important;
    }

    .site-title img {
        max-width: 100%;
    }

    .main-features.pull-right {
        float: none !important;
        margin: 15px auto 0;
        clear: both;
        text-align: center;
    }

    .main-features .flip-container,
    .main-features .front,
    .main-features .back {
        width: 94px;
        height: 94px;
    }

    .main-features span {
        font-size: 13px;
        line-height: 1.1;
    }

    .main-features .back a {
        font-size: 13px;
        font-weight: normal;
    }

    .social-icons {
        position: relative;
        z-index: 9999;
    }
    
    .search-cnt {
        float: none !important;
        margin: 0 auto 10px auto;
        position: relative;
        top: -5px;
    }
    
    .basicSearchFormSubmitBtn {
        right: -10px;
    }
    
    #BasicSearch {
        margin: auto;
    }
    
    #BasicSearch .rcbSlide,
    #BasicSearch .rcbSlide > div {
       width: 280px !important;
    }
    
    #BasicSearch .rcbSlide {
        left: 0 !important;
    }
    
    .RadComboBox {
        width: 280px !important;
    }
    
    .slicknav_menu a:hover,
    .slicknav_menu a:focus{
        background-color: transparent;
    }
    
    /* Search results page */
    .pmSearchResultsView .resultsTable th .button {
        padding: 0 13px;
    }
    
    .searchHeaderDate,
    .resultsTable td:last-child {
        display: none;
    }
 
    .table-responsive > .resultsTable.table > tbody > tr > td, 
    .table-responsive > .resultsTable.table > tbody > tr > th, 
    .table-responsive > .resultsTable.table > tfoot > tr > td, 
    .table-responsive > .resultsTable.table > tfoot > tr > th, 
    .table-responsive > .resultsTable.table > thead > tr > td, 
    .table-responsive > .resultsTable.table > thead > tr > th {
        white-space: initial;
    }
    
    .pmSearchResultsView .table-responsive {
        border: 0;
        margin-bottom: 0;
    }

    /* Hero */
    .hero {
        margin-top: 0;
        height: auto;
    }

    #home-vid-links {
        width: auto;
        left: 0;
    }

    #carousel-people {
        width: auto;
        left: 0;
    }
    

    /* Menu */
    .ham-btn, #menu {
        display:none;
    }
    
    .slicknav_menu {
        display:block;
        width: 100%;
        position: absolute;
        z-index: 9999;
    }

    .slicknav_nav {
        clear: both;
    }

    .slicknav_btn {
        display: block;
        padding: 11px 0 10px;
        margin: 0 0 0 15px;
        width: 95px;
        position: relative;
    }

    .slicknav_icon-bar {
        background-color: #fff;
    }

    .slicknav_menutxt {
        color: #fff;
    }

    .slicknav_nav ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .slicknav_nav ul a a {
        padding: 0;
    }

    .slicknav_nav ul .slicknav_open > a,
    .slicknav_nav ul .slicknav_open > a > a  {
        background-color: #005032;
    }

    .slicknav_nav ul li ul li {
      border-top: 1px solid #fff;  
    }

    .slicknav_arrow {
        position: absolute;
        right: 7px;
        top: 50%;
        margin-top: -18px;
        padding: 8px;
    }

    .slicknav_nav > ul > li > ul > li > a,
    .slicknav_nav > ul > li > ul > li > a a {
        background-color: #004762;
    }

    .slicknav_nav > ul > li > ul > li > ul > li > a,
    .slicknav_nav > ul > li > ul > li > ul > li > a a {
        background-color: #003549;
    }

    .slicknav_nav > ul > li > ul > li > ul > li > ul li a,
    .slicknav_nav > ul > li > ul > li > ul > li > ul li a a {
        background-color: #002230;
    }

    /* Categories */
    .categories-list {
        width: auto;
        margin-top: auto;
    }
    
    .category-item {
        display: block;
        width: 100%;
        height: 55px;
        border: 0 none;
    }

    .category-item + .category-item {
        border-top: 1px solid #fff;
    }

    .category-item .flip-container, 
    .category-item .front, 
    .category-item .back {
        height: 35px;
        width: 280px;
    }
    
    .category-item-img {
        float: left;
        width: 58px;
        height: 100%;
        line-height: 1;
        margin: 0;
    }

    .category-item-img img {
        max-height: 100%;
    }

    .category-title {
        margin: 0;
        padding: 0;
        border: 0 none;
        text-align: left;
        font-size: 16px;
        padding: 10px 0 10px 70px !important
    }

    /* Carousel */
    .tab-carousel {
        margin-bottom: 80px;
    }

    .tab-carousel .carousel-indicators.nav-tabs li {
        text-align: left;
        width: 97px;
    }

    .tab-carousel .carousel-indicators.nav-tabs li:first-child {
        width: 96px;
    }

    .tab-carousel .carousel-indicators.nav-tabs li a {
        font-size: 13px;
        line-height: 1.1;
        padding: 6px 15px;
    }

    /* Quiz */
    .quiz {
        padding-left:20px;
    }

    /* Blog */
    .blog-section {
        padding-top: 50px;
    }

    .blog-section-article p {
        margin-bottom: 30px;
    }

    /* Download section */
    .download-section .container {
        padding: 30px 15px;
        background-size: 240px auto;
        background-position: top 75px center;
    }

    .download-section h2 {
        margin: 0 0 210px;
    }

    .download-options a {
        width: 120px;
    }

    .download-options img {
        max-width: 100%;
    }

    .download-options {
        margin: auto;
        text-align: center;
        width: 300px;
    }
    
    /* Ask question section */
    .ask-question-section {
        background-attachment: unset;
    }
    
    /* Condom Dispenser App */
    .dynamicForms, .widgetbg, .widgetfg {
        padding-right: 5px;
    }
    
    .dynamicForms .dFormLabel,
    .dynamicForms .dFormField{
        display: block;
        width: 100% !important;
    }
    
    .dynamicForms .submitRow{
        text-align: center;
    }
    
    .dynamicForms .submitRow .dFormSubmit{
        margin-left: 0;
    }
    
    #cleanContainer input[type="text"], #cleanContainer input[type="password"], #cleanContainer input[type="email"], #cleanContainer textarea {
        width: 95%;
    }

    /* Footer */
    .footer-menu {
        width: 240px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-menu li + li::before {
        left: -18px;
    }

    .footer-menu li + li {
        margin-left: 30px;
    }

    .footer-menu li + li.hide-before-mobile {
        margin-left: 0;
    }

    .footer-menu li + li.hide-before-mobile:before {
        display: none;
    }

    .copyright {
        text-align: center;
    }

    .copyright img {
        float: none;
    }

    .copyright p { 
        clear: both;
        margin-top: 15px;
        font-size: 13px;
        padding-left: 0;
    }

    /* 
     * Subpage 
     */
     
     .subpage-title {
         display: table;
         width: 100%;
     }
     
     .subpage-title .container {
         display: table-cell;
         vertical-align: middle;    
     }

    /* Content */
    .subpage-main-content h1 {
        font-size: 26px;
    }
    
    .subpage-main-content h2 {
        font-size: 22px;
    }
    
    .subpage-main-content .qscreen h2 {
        font-size: 18px;   
    }

    .subpage-main-content .h3 {
        font-size: 18px;
        margin: 0 0 15px;
    }
    
    .subpage-main-content img {
        max-width: 100%;
    }
    
    .subpage-sidebar {
        margin: 30px -15px 0 -15px;
    }

    .blockquote {
        padding: 30px;
        margin-top: 20px;
    }
    
    /* Sidebar */
    .widget-title,
    .widget-list li a {
        font-size: 16px;
    }
    
    .download-options-inner {
        text-align: center;
    }

    .download-options-links {
        margin: auto;
        width: 110px;
    }

    .sidebar-widget.download-options .download-options-inner {
        background-position: center top 180px;
    }
    
    .sidebar-widget.widget-quick-links a {
        padding-left : 70px;
    }
    
    .widget-quick-links a img {
        left: 20px;
    }
    
    /* Pages */

    /* Google maps services */
    .google-maps-services {
        width: auto;
        height: auto;
        top: 0;
        position: relative;
    }

    .enter-postcode .rcbInput {
        float: left;
        width: 140px;
    }
    
    .google-maps-services {
        padding: 20px 30px;
    }

    .google-maps-services .btn-green {
/*        float: left;
        height: 35px;
        line-height: 1;
        margin-left: 10px;
        width: 100px;
 */
        display: block !important;
    }

    .google-maps-services .checkboxanimate [type="checkbox"]:not(:checked) + label, 
    .google-maps-services .checkboxanimate [type="checkbox"]:checked + label {
        font-size: 13px;
    }

    #map-canvas-outer {
        border-top: 0 none;
        height: 520px;
        padding-left: 0;
    }
        
    #map-canvas {
        height: 520px;
    }
    
    #CommentForm input[type="submit"] {
        margin-left: 0;
    }
    
    .CommentMeta span {
        float: left;
        clear: both;
        margin-top: 5px;
    }
    
    .qscreen-holder{
        margin-bottom: 110px;
    }
    
    .qscreen-holder .qscreen p {
        font-size: 16px;
    }
    
    .qscreen-holder .round-button + .round-button {
        margin-left: 20px;
    }
    
    .qscreen-holder .qscreen .wrap {
        bottom: 10px;
     }
          
    .home-mobile-widget {
        /*margin-top: 405px;*/
        margin-top: 540px; 
        z-index: 1;
        padding-left: 0;
        padding-right: 0;
    }
    
    .hero .container {
        background: url("/Get The Facts/img/kids-actor-display-2019-2.png") no-repeat center 150px;
        background-size: 560px;
    }
    
    .header-ll {
        margin-top: 50px;
    }
    
    .header-ll-2 {
        top: 290px;
    }
    
    .header-ll-2 br {
        display: none;
    }
    
    .header-ll-2 h4 {
        font-size: 14px;
        text-align: left;
        padding-left: 10px;
        min-height: 40px !important;
        position: relative;
    }
    
    .header-ll-2 .fa {
        vertical-align: middle;
        padding-top: 5px;
    }
    
    .header-ll-2 span {
        padding-left: 3px;
        bottom: 30%;
        position: absolute;
    }
    
    .qscreen-holder .qscreen{
        min-height: 320px;
        height: 95%;
    }
}   

@media screen and (min-width: 767px) and (max-width: 768px) {
    #masthead .header-top .top-menu,
    #masthead .header-top .top-controls{
        display: none;
    }
    
    .hero {
        height: 650px !important;
        background-position: center;
        background-size: contain;
    }
    
    .home-mobile-widget {
        margin-top: 610px !important;
        width: 100%;
    }
}

/* Extra Small Devices, Phones */ 
@media screen and (max-width: 479px) {
    /* Carousel */
    .tab-carousel .item {
        min-height: 200px;
        padding-top: 40px;
    }

    .support-content {
        width: 210px;
    }

    .support-info {
        width: 110px;
    }
    
    .support-icon {
        left: -6px;
        width: 90px;
        top: -50px;
    }

    .support-info p {
        line-height: 1;
    }

    .support-info .btn {
        margin-top: 10px;
        width: auto;
        padding: 0 10px;
    }
    .support-icon img {
        max-width: 100%;
    }
       
    /* Dynamic forms */
    .dynamicFormCon td,
    .dynamicFormCon th {
        float: left;
        width: 100%;
        clear: both;
    }
    
    .dFormTable tr > td.dFormLabel {
        padding-bottom: 5px;
    }
    
    .dFormSubmit {
        margin-left: 0;
    }    
    
    .hero .container {
        background: url("/Get The Facts/img/kids-actor-display-2019-2.png") no-repeat center 178px;
        background-size: 500px;
        background-position-x: 45%;
    }
    
    .header-ll-2 .blood-borne {
        /*bottom: 15%;*/
        bottom: 30%;
    }
    
    .sh-quiz .quiz-counter{
        right: 0;
        left: 20px;
        top: 135px;
    }
    
    .sh-quiz .progress{
        right: 0;
        left: 90px;
        top: 135px;
    }
    
    #questions .active-question p.question{
        margin-top: 45px;
    }
    
    .qscreen-holder .qscreen{
        min-height: 370px;
    }

}



