﻿body {
    margin: 0;
    padding: 0;
}

#logo {
    float: left;
    width: 200px;
    height: 75px;
    margin-top: 10px;
    background-color: #ffffff;
    text-align: center
}

.header {
    height: 120px;
    background: url(/Content/img/hbg.png) repeat-x bottom;
}
/* language menu*/

#main-menu {
    padding-top: 40px;
    float: right;
}

    ul#lang-menu, #main-menu ul {
        position:relative;
        list-style-type: none;
        margin: 0;
        padding: 0;
        float: right;
    }

        ul#lang-menu li, #main-menu ul li {
            float: left;
            padding: 2px;
        }

        #main-menu ul li {
            margin-left: 20px;
        }

    #main-menu a {
        display: block;
        text-decoration: none;
        padding: 3px;
        font-size: 1em;
        font-family: Arial;
        color: #f1f1f1
    }

        #main-menu a:hover {
            text-decoration: none;
            border-bottom: solid 1px #30425f;
        }


    #main-menu ul li ul {
        display: none;
        position:absolute;
        z-index:999;
        padding: 8px 15px;
        background-color: #05a0e4;
    }

    #main-menu ul li:hover ul {
        display: block;
    }



    .copy-right {
        color: #f1f1f1;
        font-size: 1em;
    }

.footer {
    margin-top: 30px;
    padding: 25px 0;
    background-color: #384d6e;
    min-height: 200px;
    -webkit-box-shadow: inset 0px 5px 5px 1px #000000;
    box-shadow: inset 0px 5px 5px 1px #000000;
    color: #f1f1f1;
    text-align: center
}

    .footer a {
        color: #f1f1f1
    }

    .footer hr {
        margin: 0;
        padding: 0;
    }


.navbar-toggle-over {
    position: relative;
    float: right;
    padding: 9px 10px;
    margin-top: 37px;
    margin-right: 10px;
    margin-bottom: 8px;
    background-color: transparent;
    background-image: none;
    border: 1px solid #444;
    border-radius: 4px
}

.icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    border: 1px solid #444;
    margin-bottom: 3px
}
  
#preload {
    background-color: rgba(5,160,228, 0.9);
}
.line {
    border-color: #384d6e;
}

.button, #portfolio .cbp-l-filters-alignRight .cbp-filter-item.cbp-filter-item-active, #portfolio .cbp-l-filters-alignRight .cbp-filter-item:hover {
    background-color: #384d6e
}
/*toggel menu*/
.overlay {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */
    height: 100%;
    width: 0;
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    background-color: rgba(5,160,228, 0.9); /* Black w/opacity */
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}


    .overlay ul {
        list-style-type:none;
        position:relative;
        top:10%;

    }
        .overlay ul li {
            text-align: center;
            border-top: solid 1px #20b5f7;
            border-bottom: solid 1px #1c96cd;
        }
            .overlay ul li a {
                padding: 30px;
                display: block;
                color:#f1f1f1;
            }
                .overlay ul li a:hover {
                    background-color: #20b5f7;
                }
                /* Position the content inside the overlay */
                .overlay-content {
                    position: relative;
                    top: 25%; /* 25% from the top */
                    width: 100%; /* 100% width */
                    text-align: center; /* Centered text/links */
                    margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
                }

/* The navigation links inside the overlay */
.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #405980;
    display: block; /* Display block instead of inline */
    transition: 0.3s; /* Transition effects on hover (color) */
}

    /* When you mouse over the navigation links, change their color */
    .overlay a:hover, .overlay a:focus {
        color: #f1f1f1;
    }

/* Position the close button (top right corner) */
.overlay .closebtn {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 60px;
}

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
    .overlay a {
        font-size: 20px
    }

    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}