body{
    background-color: hsla(192, 21%, 91%, 0.75);
    background-image: url("back2.webp");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% 100%;
    opacity: 1;
}
h3{
    text-align: center;
}
#principal{ 
   width:1200px;
   margin:0 auto;
}
#antet{ 
    min-height: 180px;    
    width:1200px;
    background: center/30% url(bg.jpg);
}
#baner {  
    font-family: Lucida Handwriting; 
    font-size: 40px;
    color:#01070e;
    }
#baner img { 
    width: 80px;
    height:100px;
}
#meniu {        
    position: absolute;
    min-height: 50px;
    width:1200px;
}
#tabel{ 
    margin-left: 10px;
    margin-top: 10px;
    width: 550px;
}
#tabel th,#tabel td {
    border-collapse: collapse;
    border-radius: 1px;
    border-color: #ffffff;
    text-align: center;
    font-size: 13px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    line-height: 20px;
    background: linear-gradient(to left, #155885,#68a1c7,#f0f6fa);
}
#tabel td a:hover{
    display:block;
    text-decoration: none;
    line-height: 20px;
}
#tabel th ,#tabel td a:hover { 
    background: linear-gradient(to right, #155885,#68a1c7,#f0f6fa) ;
}
ul#navmeniu { 
    margin-bottom: 0;
    list-style-type: none;    
}    
ul#navmeniu li { 
    margin-left: 1px;
    width:160px;
    text-align:center;       
    float:left;  
}
ul#navmeniu a { 
    text-decoration:none;        
    display:inline-block;
    font-weight:bold;
    font-size:12px;
    color:rgb(5, 43, 126);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    width:160px;      
    line-height:40px;
    background-color:  #99d2f8;
    text-transform:uppercase;
    border-radius: 5px;        
}    
ul#submeniu li { 
    display: none;
    margin-top: 1px;
}
ul#submeniu a { 
    text-decoration:none;        
    display:inline-block;
    font-weight:bold;
    font-size:12px;
    color:rgb(5, 43, 126);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    width:160px;      
    line-height:40px;
    background-color:  #99d2f8;
    text-transform:uppercase;
    border-radius: 5px;        
}    
ul#navmeniu li:hover ul#submeniu li {
    display: block;
}
ul#navmeniu li:hover a:hover {
    background: linear-gradient(to right, #99d2f8,#f0f6fa);
    border-bottom: 2px solid rgba(37, 16, 3, 0.658);
}
#continut{ 
    width: 1200px;           
}
#continut_st{ 
    width: 580px;
    float:left;
}
#continut_dr{ 
    width: 580px;
    float:right;
}
#caseta{ 
    width: 1180px;
    float:right;
}
.noutati{
    list-style-type: none; 
}
.noutati li { 
    margin-top: 10px;
    margin-bottom: 5px;
    color: rgb(209, 215, 230);
    font-weight: bold;
    font-size:20px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    width: 500px;
}
.noutati a {        
    color:rgb(5, 43, 126);
    font-weight:bold;
    font-size:14px;
    float: left;
    text-decoration: none;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    line-height: 30px;
    width: 500px;
    background: linear-gradient(to left, #99d2f8,#f0f6fa);
    border-radius: 5px;        
}
.noutati li:hover a:hover {
    background: linear-gradient(to right, #99d2f8,#f0f6fa);
    border-bottom: 2px solid rgba(37, 16, 3, 0.658);
}
.caseta{
    list-style-type: none;
}
.caseta li{    
    margin-top: 10px;
    margin-left: 20px;
    float:left;    
    width:354px;
    min-height: 200px;  
}
.caseta a{
    display:inline-block;
    text-decoration: none;
    background: linear-gradient(to right, #155885,#68a1c7,#f0f6fa);
    font-weight:bold;
    font-size:30px;
    text-align: center;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    height: 198px;
    width: 352px;
    background-color: #e9eef1;
    border-radius: 5px;        
}
.caseta li a:hover{
    background: linear-gradient(to left, #155885,#68a1c7,#f0f6fa);
    border-bottom: 2px solid rgba(37, 16, 3, 0.658);
}
#subsol{
    width: 101%;
    float:left;
    min-height: 200px;
    border-radius: 5px;
    background: linear-gradient(to left, #155885,#68a1c7,#f0f6fa);
}
.div-subsol{
    width: 200px;
    padding-left: 10px;
    float:left;
}
.div-subsol a {
    text-decoration: none;
    display:inline-block;
    font-size:12px;
    color:rgb(5, 43, 126);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    width:160px;     
    border-left: 2px solid #23282e;
    line-height:20px;
    text-transform:uppercase;
    border-radius: 2px;    
}
.div-subsol li{
    list-style-type: none;
    margin-top: 2px;
}
.div-subsol a:hover{ 
    background:#68a1c7 ;
    filter: brightness(150%);
}
.fa{
    padding: 10px;
    font-size: 20px;
    width: 15px;
    text-align: center;
    text-decoration: none;
    border-radius: 50%;
}
.fa:hover {
    opacity: 0.7;
}
.fa-facebook {
    background: #3B5998;
    color: white;
}
.fa-google {
    background: #dd4b39;
    color: white;
}
.fa-youtube {
    background: #bb0000;
    color: white;
}
.fa-yahoo {
    background: #430297;
    color: white;
}
#center-subsol{
    width: 715px;
    font-family: Lucida Handwriting; 
    padding: 10px;
    float:left;
}
#media{
    float:left;
}
#media table {
    min-height: 150px;
    float:left;
    text-align: center;
    font-size: 14px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
#icon {
    margin-left: 20px;
    display: none;
    cursor: pointer;
}
#icon div{
    width: 35px;
    height: 3px;
    background-color: rgb(248, 242, 242);
    margin: 6px 0;
    transition: 0.4s;
}
.open .bar1 {
    -webkit-transform: rotate(-45deg) translate(-6px, 6px);
    transform: rotate(-45deg) translate(-6px, 6px);
}
.open .bar2 {
    opacity: 0;
}
.open .bar3 {
    -webkit-transform: rotate(45deg) translate(-6px, -8px);
    transform: rotate(45deg) translate(-6px, -8px);
}
.meniu-mobil {
    display: none;
    margin-top: 20px;
    left: 25px;
    width: 100%;
    list-style-type: none;
}
.open .meniu-mobil {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.meniu-mobil li { 
    margin-left: 1px;
    width:160px;
    text-align:center;       
    float:left;  
}
.meniu-mobil a { text-decoration:none;        
    display:inline-block;
    font-weight:bold;
    font-size:12px;
    color:rgb(5, 43, 126);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    width:300px;      
    line-height:60px;
    background-color:  #99d2f8;
    text-transform:uppercase;
    border-radius: 5px;        
}
.meniu-mobil li:hover .submeniu li {
    display: block;
}
.meniu-mobil li:hover a:hover {
    background: linear-gradient(to right, #99d2f8,#f0f6fa);
    border-bottom: 2px solid rgba(37, 16, 3, 0.658);
}
/**.meniu-mobil a{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: large;
    background-position-x: 50px;
    background-color: #01070e;
    color:#ffffff;
}**/
#antet2{
    display:none;
    height:160px;  
    width:auto;
    background-color: transparent;
    background-image: url("bg.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    list-style-type: none;
    font-family: Lucida Handwriting;
}
#antet2 img{
    width:90px;
    height:60px;
    float: left;
}
#antetm{
    font-family: Lucida Handwriting;
    font-weight: bold;
    float: left;
}
#antetm2{
    font-family: Lucida Handwriting;
    font-weight: bold;
    margin-left: 0px;
}
ul{
    padding-inline-start: 10px;
}
@media only screen and (max-width: 600px){
    #antet{
        display: none;
    }
    #antet2{
        display: block;
        background-size: 600px 160px;
    }
    #icon{
        display: block;
    }
    #antetm{
        font-size: 30px;
    }
    #antetm2{
        font-size: 20px;
    }
}

@media only screen and (max-width: 500px){
    #antet{
        display: none;
    }
    #antet2{
        display: block;
        background-size: 450px 120px;
    }
    #icon{
        display: block;
    }
    #antetm{
        font-size: 25px;
    }
    #antetm2{
        font-size: 15px;
    }
    .noutati{
        list-style-type: none; 
    }
    
    .noutati li { 
        margin-top: 10px;
        margin-bottom: 5px;
        color: rgb(209, 215, 230);
        font-weight: bold;
        font-size:30px;
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        width: 200px;
    }
    .noutati a {        
        display:inline-block;
        color:rgb(5, 43, 126);
        font-weight:bold;
        font-size:15px;
        text-decoration: none;
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        line-height: 30px;
        width: 440px;
        background: linear-gradient(to left, #99d2f8,#f0f6fa);
        border-radius: 5px;        
    }
    .noutati li:hover a:hover {
        background: linear-gradient(to right, #99d2f8,#f0f6fa);
        border-bottom: 2px solid rgba(37, 16, 3, 0.658);
    }
    #noutati ul{
        padding: 15px;
    }
    #continut_st{ 
        width: 445px;
        display: inline-block;
    }
    #continut_dr{ 
        width: 445px;
        display: inline-block;
    }
    #caseta{ 
        width: 445px;
        display: flex;
    }
    #caseta ul{
        padding: 15px;
    }
    #caseta li{
        margin-left: 0px;
    }
    #principal{
        width:450px;
        margin: 0 auto;
    }
    #tabel{ 
        width: 300px;
    }
    #subsol{
        width: 420px;
    }
    #center-subsol{
        width: 400px;
    }
}
@media only screen and (max-width: 450px){
    .meniu-mobil a{
        width: 240px;
    }
    #antet{
        display: none;
    }
    #antet2{
        height: 85px;
        display: block;
        background-size: 450px 120px;
    }
    #icon{
        display: block;
    }
    #antetm{
        font-size: 20px;
        
    }
    #antet2 img{
        width: 40px;
        height: 40px;
    }
    #antetm2{
        font-size: 15px;
    }
    .noutati{
        list-style-type: none; 
    }
    .noutati ul{
       margin-left: 0px;
   }
    .noutati li { 
        margin-top: 10px;
        margin-bottom: 5px;
       
        color: rgb(209, 215, 230);
        font-weight: bold;
        font-size:15px;
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        width: 300px;
    }
    .noutati a {        
        display:inline-block;
        color:rgb(5, 43, 126);
        font-weight:bold;
        font-size:13px;
        margin-left: 10px;
        text-decoration: none;
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        line-height: 30px;
        width: 300px;
        background: linear-gradient(to left, #99d2f8,#f0f6fa);
        border-radius: 5px;        
    }
    .noutati li:hover a:hover {
        background: linear-gradient(to right, #99d2f8,#f0f6fa);
        border-bottom: 2px solid rgba(37, 16, 3, 0.658);
    }
    #continut_st{ 
        width: 295px;
        display: inline-block;
    }
    #continut_dr{ 
        width: 295px;
        display: inline-block;
    }
    #caseta{ 
        width: 295px;
        display: flex;
    }
    #caseta ul{
        padding: 12px;
    }
    #caseta li{
        margin-left: 0px;
    }
    #caseta a{
        width: 260px;
    }
    #principal{
        width:300px;
        margin: 0 auto;
    }
    #subsol{
        width: 270px;
    }
    #center-subsol{
        width: 240px;
    }
}
/* Add a black background color to the top navigation */
.topnav {
    background-color: #333;
    overflow: hidden;
}
  
  /* Style the links inside the navigation bar */
.topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}
  
  /* Add an active class to highlight the current page */
.active {
    background-color: #04AA6D;
    color: white;
}
  
  /* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
    display: none;
}
  
  /* Dropdown container - needed to position the dropdown content */
.dropdown {
    float: left;
    overflow: hidden;
}
  
  /* Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn {
    font-size: 17px;
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}
  
  /* Style the dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}
  
  /* Style the links inside the dropdown */
.dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}
  
  /* Add a dark background on topnav links and the dropdown button on hover */
.topnav a:hover, .dropdown:hover .dropbtn {
    background-color: #555;
    color: white;
}
  
  /* Add a grey background to dropdown links on hover */
.dropdown-content a:hover {
    background-color: #ddd;
    color: black;
}
  
  /* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
    display: block;
}
  
  /* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
    .topnav a:not(:first-child), .dropdown .dropbtn {
        display: none;
    }
    .topnav a.icon {
        float: right;
        display: block;
    }
}
  
  /* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
    .topnav.responsive {
        position: relative;
    }
    .topnav.responsive a.icon {
         position: absolute;
         right: 0;
         top: 0;
    }
    .topnav.responsive a {
        float: none;
         display: block;
         text-align: left;
    }
    .topnav.responsive .dropdown {
        float: none;
    }
    .topnav.responsive .dropdown-content {
        position: relative;
    }
    .topnav.responsive .dropdown .dropbtn {
         display: block;
         width: 100%;
         text-align: left;
    }
}