﻿.navbar-custom {
    background-color: #33b5e5 !important;
}

.nav.navbar-nav.navbar-right a {
    color: #ffffff !important;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    float: left;
    width: 20%;
    text-align: center;
}
 .logo a img{
     flex:1;
     margin-left:auto;
     margin-right: auto;
     border:none;
}

 /**********************************************************/
.topnav {
    background-color: #33b5e5;
    position:relative;


    display:flex;
    justify-content:flex-start;
    align-items:center;
}

    .topnav a {
        float: left;
        display: block;
        color: #f2f2f2;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 17px;
    }

.active {
    background-color: #04AA6D;
    color: white;
}

.topnav .icon {
    display: none;
}

.dropdown {
    float: left;
}

    .dropdown .dropbtn {
        font-size: 1.1vw;
        /*font-size: 17px;*/
        border: none;
        outline: none;
        color: white;
        padding: 14px 16px;
        background-color: inherit;
        font-family: inherit;
        margin: 0;
    }

.dropdown-content {
    display: none;
    position: relative;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

    .dropdown-content a {
        float: none;
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        text-align: left;
    }

.topnav a:hover, .dropdown:hover .dropbtn {
    background-color: #555;
    background-color: #0099cc;
    color: white;
}

.dropdown-content a:hover {
    background-color: #ddd;
    color: white;
    background-color: #0099cc;
}

.dropdown:hover .dropdown-content{
    display: block;
    background-color: #33b5e5;
    position: absolute;
    
}


/*aliniere la centru pe vericala*/
.vertical-center {
    margin:0;
    position: absolute;
    top: 50%;
    -ms-transform: translatey(-50%);
    transform: translatey(-50%);
}

.horizontal-align {
    display: flex;
    /*align-items: center;*/
    justify-content: center;

}
 /**************************************************************/


/*Setare font Pentru formulare */

.form-control {
    font-size: 1.1vw;
    
}
.form-group {
    display: flex;
    flex-direction: column;
    margin-right: 20px; /* Adăugăm spațiu între form-group și buton */
}

.form-group label {
    font-size: 1.2vw;
    font-weight:bold;
    /*font-style:italic;*/
}


/*****************************************************************************/
/*Setari table */


/******************************************************************/


.btn-primary, .btn-primary:active, .btn-primary:visited {
    background-color: #4d83a4 !important;
    border: none !important;
}

    .btn-primary:hover {
        background-color: #0099cc !important;
    }

.mainpane > img {
    max-width: inherit;
    max-height: inherit;
    height: inherit;
    width: 100%;
    /*object-fit: cover;*/
    object-fit: contain;
    object-position: center;
}

.panel.panel-default {
    overflow: inherit !important;
}
/* Pentru a afisa detaliile pe linie  */

dl {
    display: grid;
    grid-template-columns: max-content auto;
}

dt {
    grid-column-start: 1;
}

dd {
    grid-column-start: 2;
}
/**************************************************/

.move-down {
    margin-top: 20px; /* Ajustați valoarea */
}

/*Custom button in LeftPage Search*/

.cusstom-btn {
    background-color: #33b5e5 !important;
/*    background-color: #2E493F !important;
*/    border-color: #2E493F !important;
    color: white !important;
}

    .cusstom-btn:hover {
        background-color: #253A30 !important; /* O nuanță mai închisă pentru hover */
        border-color: #253A30 !important;
    }

/******************/
/*aliniaza elmentele pe orizontala*/
.aliniere-custom {
    display: inline-flex;
    align-items: center;
}

/*Styluri HategIstoric*****/
.istoric-hateg h1 {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
}

.istoric-hateg article {
    margin-bottom: 2rem;
}

.istoric-hateg ul {
    padding-left: 1.5rem;
}

.istoric-hateg p, .istoric-hateg li {
    font-size: 1rem;
    line-height: 1.6;
}




/***************************/


