/*
 * CSS code to be moved to the scss partials
 */

/* Global buttons */
.btn-success {
    background-color: #55BDB2;
    border-color: #55BDB2;
}

.btn-success:hover {
    background-color: #4292a3;
    border-color: #3f8c9c;
}

/* Overlay */
.has-overlay::before{
    background: rgba(0,0,0,0.1);
}

/* Lang and global websites dropdown */

.dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
}

.dropdown-menu .dropdown-item > img {
    margin-right: 5px;
    border-radius: 50%;
    height: 23px;
    width: 23px;
}

/* Footer global websites */
.flex-auto {
    flex: 0 0 auto !important;
}

.below-footer {
    position: relative;
}

.footer-global-websites .dropdown .dropdown-menu {
    top: auto;
    left: 50%;
    bottom: 100%;
    left: auto;
    padding: 10px;
    background-color: #004b87;
    transform: translateX(-50%);
}

.footer-global-websites .dropdown-toggle {
    padding-right: 10px;
    text-transform: none;
}

.footer-global-websites .dropdown-menu .dropdown-item {
    opacity: 1;
    padding: 5px 10px;
    font-size: 16px;
    text-transform: none;
}

.footer-global-websites .dropdown-menu .dropdown-item:hover {
    background: #fff;
    color: #004b87;
}


/* Filter form */

#productFilterForm .filter-rest-wrap {
    margin-top: 15px;
}


/* WordPress overrides */

.wp-post-image {
    height: auto;
}

/* Media screens */
@media only screen and (max-width: 767px) {
    main table tbody td, .cms-table tbody td {
        text-align: center;
    }

    .promo--bkg.small-banner-height {
        min-height: 10rem;
    }
}

@media only screen and (min-width: 768px) {
    .footer-global-websites {
        position: absolute;
        right: 0;
        bottom: 0;
        width: auto !important;
    }

    .footer-global-websites .dropdown .dropdown-menu {
        right: 0;
        left: auto;
        transform: none;
    }

    main table th, .cms-table th {
        text-align: left;
    }

    /* Filter form */
    #productFilterForm .form-control {
        padding-right: 35px;
    }

    #productFilterForm .select2-selection__rendered {
        overflow: hidden;
        display: block;
        padding-right: 30px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #productFilterForm .filter-rest-wrap {
        margin: 15px auto 0;
        max-width: 250px;
    }
}

@media only screen and (min-width: 1024px) {
    .menu__i[class*="wpml-ls"] {
        display: none;
    }

    .footer-global-websites {
        margin-top: -6px;
        bottom: auto;
    }

    /* Filter form */
    #productFilterForm {
        position: relative;
    }

    #productFilterForm .row {
        margin-right: -8px;
        margin-left: -8px;
    }

    #productFilterForm .col-md-3 {
        flex: 0 0 23.5%;
        max-width: 23.5%;
        padding-right: 8px;
        padding-left: 8px;
    }

    #productFilterForm .filter-rest-wrap {
        position: absolute;
        top: 50%;
        right: 0;
        margin-top: 0;
        max-width: inherit;
        transform: translateY(-50%);
    }

    #productFilterForm .btn-filter-reset {
        position: relative;
        background: #004b87;
        border-radius: 50%;
        height: 50px;
        width: 50px;
    }

    #productFilterForm .btn-filter-reset:before,
    #productFilterForm .btn-filter-reset:after {
        position: absolute;
        top: 50%;
        left: 50%;
        content: "";
        background-size: 100% !important;
        border-radius: 50%;
        transform: translateX(-50%) translateY(-50%);
    }

    #productFilterForm .btn-filter-reset:before {
        background: url('../images/reset.svg') no-repeat center center;
        height: 40px;
        width: 40px;
        z-index: 1;
    }

    #productFilterForm .btn-filter-reset:after {
        background: #fff;
        height: 35px;
        width: 35px;
    }
}

@media only screen and (min-width: 1280px) {
    .footer-global-websites {
        top: 50%;
        margin-top: 0;
        transform: translateY(-50%);
    }

    .footer-global-websites .dropdown-menu .dropdown-item {
        font-size: 20px;
    }

}
/*CSS FOR product page. Added bg white in section*/
@media only screen and (min-width: 992px) {
    .pt-md-20{
        padding-top: 20px;
    }
}

/*CSS FOR LOADER background in product page*/
.mfp-bg{
    background: #fff;
}

.mfp-bg img{
    position:relative !important;
}

.pagination{
    margin-bottom: 30px;
}

/*css for background-color for cms-page*/
/* .bg-faded {
    background-color: #fff !important;
} */

/*css for menu alignment*/
@media (min-width: 1024px){
    .is-shown .submenu-holder h3 {
         font-size: 1rem;
    }

    .submenu-holder .card__b{
        padding:2% 0;
    }
}

@media (max-width: 1440px) and (min-width: 1024px){
    .submenu-holder .container {
        width: 1200px;
    }
}

.bg-primary .card__b.bg-white h3{
    color: #004b87 !important
}

.modal-content{
    background: white;
    padding: 30px;
    }
    
#disclaimerModal button.close{
    position: absolute;
    top: 10px;
    right: 20px;
    }

.popup-image {
    cursor: pointer;
}

.blogList__item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.blogList__item:not(:last-child) {
    margin-bottom: 20px;
}

.blogList__thumb {
    flex-shrink: 0;
    max-width: 240px;
}

@media screen and (max-width: 560px) {
    .blogList__item {
        flex-direction: column;
        align-items: flex-start;
    }

    .blogList__item:not(:last-child) {
        margin-bottom: 40px;
    }
}

#newsroom .block--filter {
    min-height: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.newsroom-filter ul li {
    margin-bottom: 0 !important;
}

.isTouchDevice .page-template-template-worldwide .select2-container {
  display: none !important;
}
.isTouchDevice .page-template-template-worldwide .select2-hidden-accessible {
  display: block !important;
  width: 100%;
  padding: 1rem 0.833rem;
  font-size: 1rem;
  line-height: 1.25;
  border: 1px solid #b1b1b1;
  font-family: "Barlow Regular", Helvetica, Arial, sans-serif;
}