/*!
Theme Name: hnsinfotech
Theme URI: http://underscores.me/
Author: webplus
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: hnsinfotech
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

hnsinfotech is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
--------------------------------------------------------------*/

/* === translation === */
.translate_language #language_btn img {
    max-width: 35px;
    /*filter: grayscale(1);*/
    opacity: 0.85;
}
.translate_language ul{
    border: none;
    padding: 25px 0 0 0;
    opacity: 0;
    visibility: hidden;
    transform: scaleY(0) !important;
    transition: 0.4s all;
    transform-origin: top;
    border-radius: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background: #ffffff;
    overflow: visible;
    left: auto;
    right: 0;
    box-shadow: 5px 15px 30px -5px rgb(22 32 42 / 20%);
    inset: auto 0 auto auto !important;
    min-width: auto;
    width: 100%;
}
.translate_language:hover ul{
    opacity: 1;
    transform: scaleY(1) !important;
    visibility: visible;
}
.translate_language ul li,.translate_language ul .gtranslate_wrapper a {
    border-bottom: 1px dotted rgb(0 0 0 / 20%);
}

.translate_language ul li a,.translate_language ul .gtranslate_wrapper a{
    color: rgb(68 68 68 / 92%);
    text-transform: capitalize;
    padding: 3px 4px 3px 8px;
    font-size: 13px;
    transition: all 0.4s;
    background-position: 100%;
    background: transparent;
    letter-spacing: 0.3px;
}
.translate_language ul li a:hover,.translate_language ul .gtranslate_wrapper a:hover {
    color: #0060af;
    background-color: rgb(0 0 0 / 3%);
}


.gtranslate_wrapper .glink{
    display: block;
    width: 100%;
    padding: 0.25rem 1rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}


/* === 29-12-2023 === */
section.thanks_error {
  position: relative;
  text-align: center;
  display: flex;
    justify-content: center;
}
section.thanks_error span {
  font-family: "berlingske_serifmedium";
  font-size: 80px;
  font-weight: 500;
  color: #003798;
  margin: 0px 0px 8px 0px;
  padding: 0 22px;
  background: #ffffff;
  position: relative;
  display: inline-block;
  z-index: 1;
}

section.thanks_error p {
  font-size: 16px;
  color: #444;
  line-height: 1.563;
  font-weight: 400;
  white-space: pre-line;
  margin: 0;
  position: relative;
}
section.thanks_error a {
  color: #ffffff;
  text-decoration: none;
  background: #003798;
  padding: 12px 30px;
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  margin: 25px 0;
}
section.thanks_error .wrapper {
  width: 100%;
  position: relative;
  padding: 30px 70px 30px 70px;
  max-width: 900px;
  overflow: hidden;
  margin: 0 30px;
}
section.thanks_error .wrapper:after {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  bottom: -90px;
  border: 10px solid rgba(74, 95, 120, 0.078);
  border-bottom: 0;
  pointer-events: none;
}

@media only screen and (max-width: 767px) {
    section.thanks_error span, section.thanks_error strong {
        font-size: 36px;
    }
    section.thanks_error .wrapper {
        padding: 25px 30px 17px 30px; 
    }
    section.thanks_error .wrapper:after {
        bottom: -50px;
        border: 5px solid rgba(74, 95, 120, 0.078);
    }
    section.thanks_error a{
        font-size: 14px;
    }  
}
.translate_language .dropdown-toggle {
    width: auto;
    height: auto;
    transform: translate(0px, 0px);
}

.translate_language .dropdown-menu {
    position: absolute;
}

.translate_language:hover .dropdown-menu *{
    opacity: 1; 
}
.translate_language ul .gtranslate_wrapper a{overflow: hidden;}
.dropdown-item.active, .dropdown-item:active {
    background-color: #fff;
}

/*.wpcf7-spinner{
    display: contents;
} */