@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');
@font-face {
    font-family: 'JosefinSans';
    src: url('JosefinSans-Regular.ttf');
}
*
    {
        margin: 0px;
        /*padding: 0px;*/
        box-sizing: border-box;
    }
body
    {
        margin: 0px;
        padding: 0px;        
        transition: background-color 0.5s;
        width: 100vw;
        /*min-height: 100vh !important;  */
        min-height: 100vh !important;    
        height:fit-content;  
        z-index: 2;  
        font-family: 'JosefinSans';    
        overflow-x: hidden;  
        scroll-behavior: smooth;              
        display: block;
        flex-direction: column;
        justify-content: flex-start;
        position: relative;
    }

#top_bar
    {
        width: 100%;
        /*box-shadow: 2px 0px 3px #AAA;*/
        padding: 10px 0px;
        text-align: center;
        background: rgba(0,0,0,0.5);
        z-index: 10;
        font-size: 1em;      
        position: sticky;  
        top: 0px;
        height: 4.2em;
        transition: .25s;
        color: white;
    }
#menu_btn
    {
        margin-top: 0.4em;
        margin-right: 2em;
        float: right;
        vertical-align: middle;
        cursor: pointer;   
        z-index: 30 !important;  
        /*font-family: ;*/   
        padding: 5px 20px;
        text-shadow: 0px 0px 2px #000;
    }
#logo
    {
        width: 3em;
        vertical-align: middle;
    }
#top_bar_title
    {        
        display: block; 
        position: relative;
        margin-top: 0.1em;
        width:100%;
        text-align: center;
        z-index: 2 !important;
        text-shadow: 0px 0px 1px #000;
        color: white;
        
    }
#content
    {
        width: 100%;        
        /*font-family: 'Arial';*/
        position: relative;
        transition: .5s;
        display: block;
        height: fit-content;
    }
#content_left
    {
        padding: 50px;
        width: 100%;
        /*float: left;*/
        position: relative;
        /*padding: initial;*/
        clear: both;
    }
#content_right
    {
        width: 50%;
        float: right;
        padding: 50px;
    }
p   
    {
        margin: 1em 0;
    }
#footer
    {
        width: 100%;
        background-color: #333;
        height: fit-content;
        position: relative;        
        display: flex;
        justify-content: space-evenly;      
        flex-wrap: wrap;  
        color:white;        
        align-self: flex-end !important;
    }
.flex_item
    {        
        margin: 20px auto;     
        padding: 5 25;                 
        /*flex-grow: 1;*/
        /*text-align: center*/        
        flex-basis: 100%;
    }

.flex_item_full_width
    {
        flex-basis: 100%;
        text-align: center;  
        margin: 20px auto 30px auto;   
        font-size: .8em;   
    }
.footer_icon
    {
        height: 1.3em;        
    }
/*menu*/
#menu
    {   
        
        position: absolute;
        width: 60%;
        height: 100vh;
        right: calc(-80% - 10px);
        transition: 0.5s, top 0s;
        background-color: white;
        z-index: 10;
        box-shadow: 0px 3px 3px #444;   
        top: 0;     
        overflow-y: scroll;
    }
.menu_item_container_home
    {
        display: none;
    }
.menu_item_container_flag
    {
        display: inline-block;        
    }
.menu_item, .submenu_item,  .sub_submenu_item
    {
        text-decoration: none;
        display: inline-block;
        width: 100%;
        height: 2em;
        border-bottom: 1px solid white;
        padding: 7px 3px 0 3px;
        font-weight: bold; 
        color: #0037ff;       
        /*text-align: center;*/
        font-size: 1.3em;
        transition: 0.3s;
    }
.submenu_item
    {
        font-size: 1.05em !important;
        padding-left: 20px !important;        
    }
.sub_submenu_item
    {
        font-size: .9em !important;
        padding-left: 40px !important;
    }
.menu_item:hover, .submenu_item:hover,  .sub_submenu_item:hover
    {
        transition: 0.3s;
        color: white;
        background-color: #0037ff;
        cursor: pointer;
    }
.flag
    {
        position: relative;        
        width: auto;
        height: 80%;
        box-shadow: 0px 0px 1px #000;
    }
.home_img
    {            
        display: none;        
    }
#top_bar_info
    {
        display: none;
    }
.article_img
    {
        width: fit-content;        
    }
.article_box
    {
        box-sizing: border-box;
        display: inline-block;
        width: 20vw;
        margin: 10px;
        border: 1px solid black;
        height: 330px;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 10px 10px;
    }
.article_box h2
    {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
.img_box
    {
        width: 100%;
        text-align: center;
        height: 160px;  
    }
.article_img
    {
        object-fit: cover;
        margin-bottom: 30px;      
        object-position: 50% 50%;
        height: 200px;
        width: 100%;
    }
#article_show > img
    {
        width: 100%;
        height: fit-content;
        margin: 20px 0;
    }
#article_show
    {
        width: 50%;
        position: relative;
        padding: 10px;
    }
#article_container
    {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }
#article_adnexa
    {
        width: 50%;
        padding: 10px;
        display: flex;
        flex-wrap: wrap;                
        gap: 10px;
        align-content: flex-start;
        justify-content: flex-start;
        cursor: pointer;
    }
.adnexa_img
    {        
        width: 100%;
        flex-grow: 1;
        object-fit: cover;
    }
.img_cover
    {
        height: 100px;
        text-align: center;
    }
#article_title
    {
        font-weight: bold;
        font-size: 1.5em;
        width: 100%;
        display: inline-block;
        height: fit-content;
    }
#carousel
    {        
        width: 100%;
        height: 100vh;
        position: relative;
        top: 0px;
        left: 0px;
        transition: background-image 1.5s ease-out;
        background-size: cover;
        background-position: 50% 50%;
        background-attachment: fixed;
        padding: 0px 0px 0 0;   
        margin-top: -4.2em;      
    }
#left_arr, #right_arr
    {               
        top: calc(50% - 3vw);
        background-color: rgba(0,0,0,0.45);
        color: white;
        text-align: center;
        padding: 2vw 2vw;
        position: relative;
        font-size: 4vh;
        font-weight: bold;
        border-radius: 5px;
        user-select: none;        
        cursor: pointer;
        display: inline-block;
        transition: 0.15s;
        position: relative;  
        margin: 0px 20px;      
    }
#left_arr:hover, #right_arr:hover
    {
        opacity: 1;
        background-color: rgba(0,0,0,0.8);
    }
#right_arr
    {
        position: absolute;
        right: 13px;
    }
@media only screen and (min-width: 800px)
{
    #menu
        {
            position: sticky;            
            width: 100vw;
            height: 6em;
            top: 0;
            left: 0;
            display: inline-block;
            padding: 0px;    
            padding-left: 15px;       
            text-shadow: 0px 0px 2px #AAA; 
            /*box-shadow: none;*/
            background: rgba(255,255,255,1);
            overflow: visible;
        }
    .menu_item_container
        {
            display: inline-block;
            /*border-right: 1px solid black;*/
            position: relative;
            top: 0px !important;
            vertical-align: top;
            /*float: left;*/
            clear: right;
            pointer-events: all;
        } 
    .menu_item_container_flag
        {
            display: none;
        }
    .menu_item, .submenu_item, .sub_submenu_item
        {
            pointer-events: all;
            padding: 2.5em 2em 3.5em 2em !important;
            text-decoration: none;
            font-weight: bold;               
            position: relative;
            max-height: calc(100% - 2em) ;
            width: 100%;
            text-align: center;
            border-bottom: 0px;    
        }    
    .menu_item  
        {
            z-index: 2;
            /*padding: 12px 40px !important;*/
            font-size: 1em !important;
        }
    .submenu_item
        {                
            box-shadow:  0px 1px 2px #000;                 
            z-index: 4;
            background-color: white;
            font-size: 1em !important;                  
            min-height: fit-content;     
            padding: 1.3em 0 1.9em 0 !important;           
        }
    .sub_submenu_item
            {
                padding: 6px 5px 8px 5px !important;               
                font-size: .8em !important;
                box-shadow:  0px 0px 1px #888;  
            }
    .submenu
        {
            display: none;
            /*width: fit-content;*/
            /*height: fit-content;*/
            position: absolute;
            z-index: 3;
            left: 0%;
            top: 101%;
            width: 100%;    
        }
    .sub_submenu
        {
            display: none;
            width: 100%;
            position: absolute;
            left: 100%;
            background-color: white;
            z-index: 5;
            /*padding: 0px;*/
        }
    .sub_submenu:hover
        {
            display: inline-block;
        }
    .submenu_item:hover + .sub_submenu
        {
            display: inline-block;
        }
    .menu_item_container_home
        {
            display: inline-block !important;            
            /*border-right: 1px solid black;*/
            position: relative;
            top: 0px !important;
            vertical-align: top;
            /*float: left;*/
            clear: right;*/
        }
    .menu_item_container:hover > .submenu 
        {
            display: inline-block;
        }
    #top_bar_info
        {
            display: inline-block;
            position: relative;
            height: 100%;
            width: 100%;            
            /*padding-top: .5em;*/
            text-align: left;
            vertical-align: middle;
        }        
    .top_bar_icon
        {
            text-decoration: none;
            /*float: left;*/
            margin: auto 10px;
        }
    .flag
        {         
            width: 1.4em;
            height: 1em;
            float: left;
            /*margin-right: 20px;            */
            position: relative;
            margin: .5em 20px .5em 0;
        }
    .social_media_btn
        {
            /*border-radius: 50%;*/
            width: 3em;
            height: 3em;   
            position: relative;             
            transition: .3s;
            padding: 12px;
        }
    .social_media_btn:hover
        {
            background-color: #aa0000;
            transition: .3s;
           /* border-radius: 20%;*/
        }
    .home_img
        {            
            height: 6em;
            display: initial;
            /*padding: 0px !important;*/
            padding: 10px;
        }
    .dot /*carousel*/
        {
            width: 20px;
            height: 20px;
            background-color: rgba(255,255,255,.5);
            border-radius: 50%;
            position: relative;
            left: auto;
            margin: 20px 30px;
            z-index: 5;
            display: inline-block;
            box-shadow: 0px 0px 3px #000;
            /*border: 2px solid black;*/
            cursor: pointer;
            transition: .2s;
        }
    .dot:hover  
        {
            background-color: rgba(255,255,255,1) !important;
        }
    #dots
        {
            position: absolute;
            top: 80%;
            width: 100%;
            text-align: center;
        }
    #top_bar
        {
            height: 3em;
            display: block;
            position: relative;
            background-color: #ff0000;
            margin: 0px;
            padding: 0px 20px;            
        }
    #carousel
        {
            position: relative;
            margin-top: 0px;
            height: calc(100vh - 8em) !important;
        }
    #menu_btn
        {
            margin-top: 0.4em;
            margin-right: 2em;
            float: right;
            cursor: pointer;   
            z-index: 30 !important;     
            padding: 5px 20px;
            text-shadow: 0px 0px 2px #000;
            display: none;
        }        
    #logo
        {
            width: 3em;
        }
    #top_bar_title
        {
            display: none;
            /*display: inline-block;    */    
            padding: 0 20px;
            text-align: left;
            z-index: 2 !important;
            text-shadow: 0px 0px 1px #000;
        }
    .adnexa_img
        {        
            height: 120px;
            width: auto;
            /*flex-grow: 1;*/
            object-fit: contain;
        }
    .flex_item
        {
            flex-basis: 20%;
        }
}