@import url(http://fonts.googleapis.com/css?family=Abel);
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #fefdfb;
    color: #555;
    font-family: 'Abel', sans-serif;
    font-size: 14px;
    font-weight: normal;
    margin: 0;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: teal;
    color: #fff;
}

.nav-links a {
    color: #fff;
}


/* LOGO */

.logo {
    font-size: 24px;
}

.img {
    height: auto;
    width: auto;
    max-height: 72px;
    max-width: 250px;
}


/* NAVBAR MENU */

.menu {
    display: flex;
    align-items: center;
    gap: 1em;
    font-size: 18px;
}

.menu li {
    padding: 0 15px;
}


/* DROPDOWN MENU */

.services {
    position: relative;
}

.dropdown {
    background-color: rgb(1, 139, 139);
    padding: 1em 0;
    position: absolute;
    /*WITH RESPECT TO PARENT*/
    display: none;
    border-radius: 8px;
    top: 35px;
}

.dropdown li+li {
    margin-top: 10px;
}

.dropdown li {
    padding: 0.5em 1em;
    width: 8em;
    text-align: center;
}

.dropdown li:hover {
    background-color: #4c9e9e;
}

.services:hover .dropdown {
    display: block;
}

a:hover {
    color: #FC436B;
    text-decoration: underline;
}

a:visited {
    color: default;
}

a img {
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
}

.icon,
.hide {
    font-size: 20px;
}

.right {
    text-align: right;
}

.hide {
    display: none;
}

.flag {
    background-repeat: no-repeat;
    display: inline-block;
    overflow: hidden;
    width: 20px;
    height: 15px;
    background-size: 100% 100%;
}

.united-kingdom {
    background-image: url('en.png');
}

.bulgaria {
    background-image: url('bg.png');
}

.russia {
    background-image: url('ru.png');
}

.ukraine {
    background-image: url('ua.png');
}

.germany {
    background-image: url('de.png');
}


/*CONTAINERS*/

.container-languages {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 150px;
}

.container-languages div {
    display: flex;
    align-items: center;
}


/*RESPONSIVE NAVBAR MENU STARTS*/


/* CHECKBOX HACK */

input[type=checkbox] {
    display: none;
}


/*HAMBURGER MENU*/

.hamburger {
    display: none;
    font-size: 24px;
    user-select: none;
}


/* APPLYING MEDIA QUERIES */

@media (max-width: 768px) {
    .menu {
        display: none;
        position: absolute;
        background-color: teal;
        right: 0;
        left: 0;
        text-align: center;
        padding: 16px 0;
    }
    .menu li {
        display: flex;
        justify-content: center;
    }
    .menu li:hover {
        display: inline-block;
        background-color: #4c9e9e;
        transition: 0.3s ease;
    }
    .menu li+li {
        margin-top: 12px;
    }
    input[type=checkbox]:checked~.menu {
        display: block;
    }
    .hamburger {
        display: block;
    }
    .dropdown {
        left: 50%;
        top: 30px;
        transform: translateX(35%);
    }
    .dropdown li:hover {
        background-color: #4c9e9e;
    }
    .pageitem p {
        padding: 0;
    }
    .col {
        float: left;
        margin: auto;
        width: 100%;
        text-align: center;
    }
    .col ul#sub {
        clear: both;
        float: none;
        margin: auto;
    }
    .col ul#sub li {
        text-align: center;
    }
    ul#bottomnav {
        display: list-item;
        list-style-type: none;
    }
    ul#bottomnav li {
        display: block;
        text-align: center;
    }
    #credits p {
        text-align: center;
    }
}


/* #menu {
width:100%;
min-height:35px;
background-color: #FC436B;
position:fixed;
top:0; left:0; 
}

#menu a {
background-color:inherit;
color: #fff;
}

#menu a:hover {
background: inherit;
color: #ccc;
text-decoration:none;
} */


/* nav {
display: table;
table-layout: fixed;
width: 70%;
margin: 0 auto;
}

ul#topnav  {
display: table-row;
padding: 0;
overflow: hidden;
position:relative;
bottom:0;
}

ul#topnav li {
list-style-type: none;
display: table-cell;
text-align:center;
vertical-align:middle;
}


ul#topnav li a {
display:block;
padding:4px 0px;
} */

#container {
    width: 100%;
    margin-top: 48px;
}

#pageheader {
    display: table;
    width: 62.5%;
    margin: auto;
}

.section {
    width: 62.5%;
    border-top: 1px solid #eee;
    padding: 20px 0;
    margin: auto;
}

.pageitem {
    display: table;
    width: 100%;
    margin-bottom: 15px;
    padding-top: 15px;
    text-align: center;
}

.pageitem h1 {
    font-weight: normal;
    color: #555;
    margin: 0;
    text-align: left;
}

.pageitem h2 {
    font-size: 32px;
    background-color: inherit;
    color: #444;
    margin-top: 0;
}

.pageitem p em {
    background-color: inherit;
    color: #444;
    font-size: 40px;
    font-style: normal;
    font-weight: 100;
}

.pageitem p {
    margin: 0;
    font-size: 18px;
    line-height: 200%;
}

.col {
    display: table-cell;
    margin-bottom: 15px;
}

.col ul#sub {
    float: right;
    padding: 0;
    margin: 0;
}

.col ul#sub li {
    display: inline;
    list-style-type: none;
    text-align: right;
}

.col ul#sub li a {
    padding: 5px;
    background-color: inherit;
    color: #777;
}

.col ul#sub li a:hover {
    color: #FC436B;
}

#footer {
    display: table;
    width: 100%;
    margin-bottom: 15px;
    padding: 15px 0;
    text-align: left;
    font-size: 13px;
    color: #999;
}

#footer p {
    text-align: left;
    padding: 0;
}

ul#bottomnav {
    display: table-row;
    padding: 0;
}

ul#bottomnav li {
    list-style-type: none;
    display: table-cell;
    text-align: left;
    font-weight: bold;
    vertical-align: top;
}

ul#bottomnav li ul {
    padding: 0;
    padding-bottom: 20px;
}

ul#bottomnav li li {
    display: list-item;
    font-weight: 100;
}

#credits {
    display: table;
    width: 100%;
    text-align: left;
    font-size: 12px;
    color: #999;
    line-height: 100%;
}

#show-menu {
    display: none;
}

.responsive {
    background-color: inherit;
    color: #fff;
    text-align: left;
    font-weight: normal;
    font-size: 1.5em;
    padding: 0;
    position: absolute;
    top: 10%;
    left: 5%;
    display: none;
}


/* UNICODE CHARACTER STYLING */

.contact-character:before {
    font-size: 25px;
}


/* @media screen and (max-width: 700px) { 
    menu
    ul#topnav {
        display: none;
    }
    .hide,
    .responsive {
        display: block;
    }
    .icon {
        display: none;
    }
    .logo {
        position: absolute;
        top: 10%;
        right: 50%;
    }
    .search {
        position: absolute;
        top: 10%;
        right: 5%;
    }
    #show-menu:checked~ul#topnav {
        display: block;
        position: absolute;
        top: 100%;
        width: 100%;
        margin: 0;
        overflow: visible;
    }
    ul#topnav li {
        display: block;
        text-align: left;
        margin: 0 0 1px -15%;
        background-color: #FC436B;
    }
    ul#topnav li a {
        padding-left: 20px;
    }
    .pageitem p {
        padding: 0;
    }
    .col {
        float: left;
        margin: auto;
        width: 100%;
        text-align: center;
    }
    .col ul#sub {
        clear: both;
        float: none;
        margin: auto;
    }
    .col ul#sub li {
        text-align: center;
    }
    ul#bottomnav {
        display: list-item;
        list-style-type: none;
    }
    ul#bottomnav li {
        display: block;
        text-align: center;
    }
    #credits p {
        text-align: center;
    }
}

*/