/*
Theme Name:  Svenska Tungdykargruppen
Theme URI:   https://daladatorer.se/
Description: Based on Hello Elementor Child, a child theme of Hello Elementor, created by Elementor team
Author:      Daladatorer
Author URI:  https://daladatorer.se/
Template:    hello-elementor
Version:     1.0
Text Domain: hello-elementor-child
License:     GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags:        flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/



main h1, main h2, main h3 {
    color: #356087;
}

main h2,
footer h2 {
    font-size: 1.5rem;
    font-weight: bold;
}

main h3,
footer h3 {
    font-size: 1.2rem;
    font-weight: bold;
}

main h4,
footer h4 {
    font-size: 1rem;
    font-weight: bold;
}

main h5,
footer h5 {
    font-weight: bold;
}

main strong {
    font-weight: bold;
}

.elementor-type-footer h2, .elementor-type-footer h3 {
    color: white !important;
}

main a {
    color: #3a6a9b;
}

/******************************************************************************
Huvudmemnyn
 */

.main-menu nav a,
.main-menu nav a:hover,
.main-menu nav a:focus {
    /*line-height: 200px;*/
    text-align: center;
}

.main-menu nav .mobile-only {
    display: none;
}

.main-menu nav .logo_MOVEDTOELEMENTOR a:hover {
    background-image: url("/wp-content/uploads/stdginfra4-white.png");
}

.elementor-widget-nav-menu .elementor-nav-menu--main .logo a.elementor-item-active:hover:after,
.elementor-widget-nav-menu .elementor-nav-menu--main .logo a.elementor-item-active:hover:before {
    background-color: #3a6a9b;
}

.main-menu nav .logo_MOVEDTOELEMENTOR a {
    background-image: url("/wp-content/uploads/stdginfra4.png");
    width: 200px;
   height: 200px;
    background-size: 200px;
    background-repeat: no-repeat;
    color: transparent !important;
}

.elementor-widget-nav-menu .elementor-nav-menu--main .logo a.elementor-item-active:before,
.elementor-widget-nav-menu .elementor-nav-menu--main .logo a.elementor-item-active:after {
    background-color: white;
}

.elementor-nav-menu li .elementor-item-active {
    color: #cac9c9 !important;
}


/******************************************************************************
Projekt
 */

#showallprojects {
    margin-top: 20px;
    float: right;
}

#showallprojects a {
    color: #666666;
}

.project_bildmapp2 a {
    margin-right: 10px;
    margin-bottom: 10px;
    display: inline-block;
}

.project_images_loading::before {
    content: "Laddar bilder...";
}

.project_images_loading {
    float: none;
    border: 1px solid white;
    padding: 10px;
    background: white;
    margin-bottom: 10px;
}

/******************************************************************************
Nyhetsarkivet
 */

#newsarchive h5 {
    font-size: 16px !important;
    color: #356087 !important;
    font-family: "Open Sans", "Open Sans", Tahoma, sans-serif;
    margin-bottom: 5px;
}


/******************************************************************************
Diverse
 */

.coloredbutton div div a{
    height:60px !important;
}

.coloredbutton div div{
    padding-top:15px !important;
}


#testform {
    padding: 2% 2% !important;

}

#testform button, #contactform button, #tycktillform button {
    background-color: #356087 !important;
}

#info {
    color: red !important;
    font-size: 18px !important;
}

#archives-dropdown-REPLACE_TO_ID {
    font-family: "Open Sans", Tahoma, sans-serif;
    list-style-type: none;
    padding: 2px;
    background: #ffffff;
}


.FormHeaderGroup{
    color:#356087;
    margin-top:20px;
    font-size: 18px;
    font-weight: bold;
    font-family: "Open Sans", "Open Sans", Tahoma, sans-serif;
}





/******************************************************************************
Sökfuntionen med autocomplete på startsidan
 */

#tagsearch {
    border-radius: 20px;
    border: 0;
    height: 40px;
    width: 100%;
    box-shadow: inset 0 3px 7px -3px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    padding-left: 50px;
    background: #eee url(/wp-content/uploads/searchicon.png) no-repeat;
    background-size: 20px;
    background-position: 5% 65%;
    color: #777;
}

#tagsearchproject{
	border-radius: 20px;
    border: 0;
    height: 40px;
 	width: 40%;
    box-shadow: inset 0 3px 7px -3px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    padding-left: 50px;
    background: #eee url(/wp-content/uploads/searchicon.png) no-repeat;
    background-size: 20px;
    background-position: 5% 65%;
    color: #777;

}

.ui-autocomplete {
    max-width: 300px;
    background-color: #eee;
    padding: 5px 40px;
    border-radius: 20px;
    box-shadow: inset 0 3px 7px -3px rgba(0, 0, 0, 0.5);
}

.ui-autocomplete-input {
    float: left;
    background: #FFF;
}

.ui-autocomplete .ui-menu-item {
    text-align: left;
    font-size: 14px;
    font-family: "Open Sans", Tahoma, sans-serif;
    list-style-type: none;
    padding: 2px 10px;
    border-radius: 10px;
}

.ui-menu-item:hover,
.ui-menu-item.ui-state-focus {
    background: #ffffff;
    color: #356087;
    font-weight: bold;
    cursor: pointer;
}


@media (max-width: 820px) {
	#tagsearchproject{
		width:100%;
		font-size:14px;
	}
}



/******************************************************************************
Mobil
 */

@media (max-width: 767px) {

    .elementor-location-header_M {
        background-image: url("/wp-content/themes/elementor-hello-theme/images/stdg-infra-small.png");
        background-repeat: no-repeat;
        background-position: center top;
    }

    .elementor-location-header_M::before {
        width: 48px;
        height: 48px;
        background-image: url("/wp-content/themes/elementor-hello-theme/images/svenskatungdykargruppen-small.png");
        background-size: contain;
        position: absolute;
    }

    .main-menu nav a,
    .main-menu nav a:hover,
    .main-menu nav a:focus {
        line-height: 40px;
        text-align: center;
        display: block;
    }

    .main-menu nav .mobile-only {
        display: initial;
    }


    .main-menu nav .logo a:hover {
        background-image: none;
    }

    .main-menu nav .logo a {
        display: none;
        /*background-image: none;*/
        /*width: auto;*/
        /*color: inherit;*/
    }

    .page-id-18 .elementor-widget-image-box {
        margin: 0 auto;
    }

}