

.navbar {

    background-color: #00264a!important;
    
    }

.site-footer {
    clear:both!important;
}

.main-navigation {

        margin-bottom: 5.5%!important;
    }
    
    .menu-logo-geodem-container {
    
        float: left;
        display: block;
     
    }
    
    ul#menu-logo-geodem {
    margin: 0;
        padding: 0;
        padding-left: 0px;
    
    }
    
    .nav-menu li a {
    
        color: #fff!important;
    }
    
    ul.nav-menu ul a, .nav-menu ul ul a {
    
        color: #00264a!important;
    }
    
    .nav-menu .sub-menu, .nav-menu .children {
        background-color: #fff!important;
    
    }
    
    li.menu-item-has-children:hover {
        background-image: url(https://www.eurogeography.eu/wp-content/themes/eurogeo/images/selected_white.png)!important;
    
    }
    
    .blueheader {
    
        height: 192px;
        position: absolute;
        background: #00264a;
        width: 100%;
        top: 0;
        left: 0;
        min-height: 192px;
    }
    
    .menu-social-icons-geodem-container {
        float: right;
    }
    
    #menu-social-icons-geodem li {
        display: inline-block;
    }
    
    ul#menu-social-icons-geodem.menu {
        padding-top: 29px;
        padding-left: 20px;
    }
    
    .geodem_logo_block {

        display: block;
        float: left;
        width: 38.25%;
        height: 216px;
        background: #fff;
        text-align: center;
    }

    .geodem_logo_block img {
        margin-top: 7.5%;
    }

    .geodem_block {

        display: block;
        float: left;
        height: 216px;
        background-repeat: no-repeat!important;
        background-size: cover!important;
 
    }

    .inner_block {
        display: block;
        height:216px;
    }

    div.geodem_block:nth-child(n+3) {

        margin-top: 2.5%;
    }

    div.geodem_block:nth-child(2n+8) {
        width: 28.4%;
        margin-right: 2.4166666666666665%;
    }

    div.geodem_block:nth-child(5n+10) {
        width: 28.4%!important;
        margin-right: 0!important;
    }

    div.geodem_block:nth-child(5n+11) {
        width: 48.78%!important;
        margin-right: 2.4166666666666665%!important;
    }

    div.geodem_block:nth-child(5n+12) {
        width: 48.78%!important;
        margin-right: 0!important;
    }

    div.geodem_block:nth-child(2n+9) {
        width: 38.25%;
        margin-right: 2.4166666666666665%;
    }

    div.geodem_block:last-child {
        margin-right: 0!important;
        
    }

    div.geodem_block:nth-child(1) {
        width: 28.833333333333332%;
        margin-right: 2.4166666666666665%;
    }

    div.geodem_block:nth-child(2) {
        width: 28.083333333333332%;
        
    }

    div.geodem_block:nth-child(3) {
        width: 28.833333333333332%;
        margin-right: 2.4166666666666665%;
       
    }

    div.geodem_block:nth-child(4) {
        width: 38.25%;
        margin-right: 2.4166666666666665%;
       
    }

    div.geodem_block:nth-child(5) {
        width: 28.083333333333332%;
       

    }

    div.geodem_block:nth-child(6) {
        width: 48.78%;
        
        margin-right: 2.4166666666666665%;
    }

    div.geodem_block:nth-child(7) {
        width: 48.78%;
       
    }


    

    a.geodem_link:hover {

        text-decoration: none;
    }

    .geodem_section_icon {
        display: block;
        float: left;
        padding-top: 140px;
        padding-left: 20px;
    }
    .geodem_section_title {

        display: table;
        font-size: 2em;
        font-weight: bold;
        color: #fff;
        padding-top: 138px;
        padding-left: 20px;
        line-height: 1em;
        text-align: left;
        height: 202px;
    
    }

    .geodem_section_cell {
        display: table-cell;
        vertical-align: middle;
    }

    .geodem_header {

        background-color: #fff;
        height: 186px;
    }

    .geodem_header img{

        padding-top: 1.5%;
        padding-left: 3%;
    }

    .geodem_page_title {
        float: right;
        font-size: 2.25em;
        font-weight: bold;
        padding-top: 79px;
        padding-right: 40px;
    }

    #menu-geodem-side-menu {

        padding-left: 0px;
    }

    .addmargin {
        margin-right: 2.4166666666666665%;
    }
    
    .addbottommargin {
        margin-bottom: 2.4166666666666665%;
        clear: both;
    }

    .nextrow {
        margin-top:2.5%;
    }
    
    .orangec {
        background: #ff8b00;
    }

    .bluec {
        background: #00bcff;
    }

    .greenc {
        background: #00ff8d;
    }

    .pinkc {
        background: #ff00bf;
    }

    .yellowc {
        background-color: #ffe100;
    }
    /* FOOTER */
    #nav_menu-2 {
        float: right!important;
        padding-top: 45px!important;
    }

    #nav_menu-4 {
        float: right!important;
        margin-right: 25px!important;
        clear: right!important;
        padding-top: 15px!important;
    }

    #nav_menu-3 {
        float: right!important;
        padding-top: 15px!important;
    }

    .site-footer {
        
        height: 154px!important;
    }

    .eu_logo {
        display:block;
        float: left;

    }

    .eu_text {

    
    float: left;
    width: 35%;
    font-size: 0.7em;
    text-align: left;
    margin-left: 2%;
    }

    @media (max-width: 1180px) {
    .menu-toggle div {
        background-color: #fff!important;
    
    }
    
    .nav-menu .sub-menu, .nav-menu .children {
        background-color: #00264a!important;
    
    }
    
    li.menu-item-has-children:hover {
        background-image: none!important;
    
    }

    .geodem_section_title {
        font-size:1.25em;
    }

    .geodem_logo_block img{
        width: 100%;
        padding: 4%;
        padding-top: 11%;
    }

    .geodem_page_title {
        
        max-width: 40%;
        text-align: right;
        line-height: 1em;
    }

    .footer-geodem {
        height: 900px!important;
        display: block;
      }

      .eu_logo {
        display:block;
        float: left;
       
        clear:both;
    }

    .eu_text {

    
        width: 45%;       
        }

    }

    @media (max-width: 917px) {
        .footer-geodem {
          min-height: 390px!important;
        }
        .eu_text {

    
            width: 90%;
            
             }

             #nav_menu-4 {
                float: left!important;
             }

             #nav_menu-3 {
                width: 64%!important;
                float: left!important;
            }
    }
    @media (max-width: 645px) {
    .menu-social-icons-geodem-container{
        float: left;
        /* width: 100%; */
        margin: 0 auto;
        clear: left;
    }
    
    ul#menu-logo-geodem.menu {
        padding-left: 24px!important;
        width: 85%;
    }
    
    ul#menu-social-icons-geodem.menu {
        padding-top: 0;
    }

    .geodem_block {
        width:100%!important;
    }

    .geodem_logo_block {

        width:100%!important;
        
    
    }

    .geodem_logo_block img {
    padding-top: 2%;

    }

    .geodem_section_title {
        font-size: 2em;
    }

    div.geodem_block:nth-child(5n+10) {

        width:100%!important;
    }

    div.geodem_block:nth-child(n+1) {

        margin-top: 2.5%;
    }

    div.geodem_block:nth-child(2n+8) {
        width:100%!important;
    }

    div.geodem_block:nth-child(5n+10) {
        width:100%!important;
    }

    div.geodem_block:nth-child(5n+11) {
        width:100%!important;
    }

    div.geodem_block:nth-child(5n+12) {
        width:100%!important;
    }

    div.geodem_block:nth-child(2n+9) {
        width:100%!important;
    }

    .geodem_header {
        display: table;
         padding-bottom: 8%;
    }

    .geodem_header img {
        padding-top: 1.5%;
        padding-top: 6.5%;
        padding-left: 10%;
        width: 91%;
        display: block;
    }

    .geodem_page_title {
       
        font-size: 2.25em;
        font-weight: bold;
        padding-top: 29px;
        text-align: center;
        display: block;
        float:none;
        padding-right:0;
        line-height: 1em;
        max-width: 100%!important;
    }

    }