/* globals */
body, html {
    padding: 0;
    margin: 0;
}

body {
    background-color: #F05258;

    color: #fff;
    font-family: "Helvetica Neue", 'helveticaneue', Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 20px;
}
h1 {
    font-size: 21px;
    line-height: 20px;
    text-transform: uppercase;
}

img {
    padding: 0;
    margin: 0;
    border: none;
    width: 100%;
    height: auto;
}


.text {
    text-align: justify;
}

/* helper */
.infinity {
    position: relative;
}
.infinity .left {
    position:absolute;
    z-index: -1;

    width:50%;
    height:100%;

    background-color:#ddd
}


/* menu */
.menu.fixed {
    position: fixed;
    z-index: 1030;

    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
}

.menu ul,
.menu li {
    padding: 0;
    margin: 0;
}
.menu li {
    list-style-type: none;
}

.menu.top .container {
    height: 40px;
    overflow: hidden;
}
.menu.top ul {
    float: left;
    clear: both;
    overflow: hidden;
}
.menu.top li {
    float: left;
    padding: 5px 10px;
}
.menu.top li.first {
    padding-left: 0;
}
.menu.top li.last {
    padding-right: 0;
}
.menu.top li a {
    display: block;
    padding: 5px 10px;
    text-align: center;
}

.menu.top li a img {
    max-width: 14px;
    max-height: 14px;
}

.menu.top .collapsible {
   display: none;
}

.menu.top .expand-button {
    padding: 8px 20px;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1;
}

@media only screen and (max-width: 512px) {
    .menu.top li {
        float: none;
        overflow: hidden;
    }
    .menu.top .collapsible {
        display: block;
        float: right;
    }
}



.menu.top.dark {
    color: #fff;
    background-color: #000;
}
.menu.top.dark a {
    color: #fff;
}


/*  */
.menu.fixed .page {
    height: inherit;
}



body {
    padding-top: 50px;
}
a {
    outline:none;
}

.page {
    width: 1024px;
    margin: 0 auto;
}

@media only screen and (max-width: 1024px) {
    .page {
        width: 100%;
    }
    .page .container {
        padding: 0 10px;
    }
}
@media only screen and (max-width: 512px) {
    .page .container {
        padding: 0 5px;
    }
}

section {
    margin: 20px 0;
}
section .content {
    width: 100%;
}

section h1 {
    margin: 0 0 20px 0;
    padding: 0 0 20px 0;
    border-bottom: solid 1px #fff;
}

footer {
    text-align: center;
}

/* locals */



#top_menu .icon {
    min-width: 30px;
}
#top_menu a {
    padding-left: 4px;
    padding-right: 4px;
    float: left;
    text-align: left;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    color: #28BAB7;
}

#top_menu li ul li {
    padding: 0 0 0 10px;
}
#top_menu li ul li a {
    padding-top: 2px;
    padding-bottom: 2px;
}
#top_menu li:hover > a {
    color: #fff;
}
#top_menu li.menu-item.active a {
    background-color: #28BAB7;
    color: #fff;
}
#top_menu li.menu-item:before,
#top_menu li.menu-item:after {
    float: left;
    content: "";
    width: 0px;
    height: 0px;
    border-style: solid;
    visibility: hidden;
}
#top_menu li.menu-item:before {
    border-width: 15px 4px 15px 0;
    border-color: transparent #28BAB7 transparent transparent;
}
#top_menu li.menu-item:after {
    border-width: 15px 0 15px 4px;
    border-color: transparent transparent transparent #28BAB7;
}
#top_menu li.menu-item.active:before,
#top_menu li.menu-item.active:after {
    visibility: visible;
}
@media only screen and (max-width: 512px) {
    #top_menu li {
        padding-left: 3px;
        padding-right: 3px;
    }
}




#overview h1 {
    margin: 0;
    padding: 0 0 0 20px;
    border: none;
}
#overview {
    display: table;

    float: none;
    clear: both;

    width: 100%;
    height: 100%;
}
#overview .logo,
#overview .slogan {
    display: table-cell;
    padding: 10px;
    width: 50%;
}
#overview .logo {
    text-align: right;
}
#overview .logo img {
    max-width: 400px;
}
#overview .slogan {
    text-align: left;
    vertical-align: middle;
}
@media only screen and (max-width: 512px) {
    #overview {
        display: block;
    }
    #overview .logo,
    #overview .slogan {
        display: block;
        float: none;
        padding: 0;
        width: 100%;
        text-align: center;
    }
    #overview .slogan {
        margin-top: 10px;
    }
    #overview .slogan h1 {
        padding: 0;
    }
}


#services {
    display: table;
    width: 100%;
}

#services .menu,
#services .content {
    display: table-cell;
    vertical-align: top;
    padding: 0;
    margin: 0;
}
#services .menu {
    width: 40%;
}
#services .content {
    width: 60%;
}




#left_menu {
    width: 350px;
    margin-left: 20px;

    color: #bbb;
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 10px 25px;
}

#left_menu li {
    border-bottom: 1px solid #bbb;
}
#left_menu li.last {
    border-bottom: none;
}

#left_menu a {
    display: block;
    color: #444;
    text-decoration: none;
    line-height: 35px;
}

#left_menu h1 {
    color: #28BAB7;
    margin-top: 0;
}

#left_menu .inner {
    padding: 20px;
}
#left_menu .text {
    font-size: 12px;
    line-height: 16px;

    margin-left: 10px;
    margin-bottom: 20px;
}

#left_menu.fly {
    position: fixed;
    z-index: 1030;
    top: 50px;
}
#services .menu.bottom {
    vertical-align: bottom;
    padding-bottom: 20px;
}


@media only screen and (max-width: 1024px) {
    #left_menu {
        width: 300px
    }
}
@media only screen and (max-width: 896px) {
    #left_menu {
        width: 250px
    }
}
@media only screen and (max-width: 800px) {
    #left_menu {
        width: 220px
    }
}
@media only screen and (max-width: 700px) {
    #left_menu {
        width: 200px
    }
}
@media only screen and (max-width: 650px) {
    #left_menu {
        width: 180px
    }
}
@media only screen and (max-width: 600px) {
    #left_menu {
        width: 165px
    }
}
@media only screen and (max-width: 550px) {
    #left_menu {
        width: 150px
    }
}
@media only screen and (max-width: 512px) {
    #services {
        display: block;
    }
    #services .menu {
        display: none;
    }
    #services .content {
        display: block;
        width: 100%;
    }
}





#contact_us {
    clear: both;
    overflow: hidden;
}
#contact_us h1 {
    font-size: 30px;
    line-height: 34px;
    border: none;
    padding: 0 0 0 50px;
    margin: 0 0 20px 0;
}
#contact_us.page {
    width: 1184px;
    overflow: hidden;
    height: 100%;
}
#contact_us section {
    float: left;
    clear: none;
    width: 1024px;
    margin: 0;
}
#contact_us section .content {
    float: left;
    color: #000;
    background-color: #ddd;
}
#contact_us section .content .inner {
    padding: 40px 0;
    padding-left: 100px;
    border-right: 2px solid #dddde0;
}

#contact_us .left,
#contact_us .right {
    position: inherit;
    z-index: inherit;
    float: left;
    width: 80px;
    height: 10px;
}
#contact_us .right.arrow {
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 0;
    border-color: transparent transparent transparent #ddd;
}


#contact_us ul,
#contact_us li {
    padding: 0;
    margin: 0;
}
#contact_us li {
    padding: 0 0 0 50px;
    margin: 10px 0;
    list-style-type: none;

    background-repeat: no-repeat;
    background-position: left center;
    background-size: 20px 20px;
}

#contact_us li.email {
    background-image: url(../img/icon-email.png);
}
#contact_us li.skype {
    background-image: url(../img/icon-skype.png);
}
#contact_us li.maps {
    background-image: url(../img/icon-maps.png);
}
#contact_us li.phone {
    background-image: url(../img/icon-phone.png);
}

#contact_us li a {
    text-align: justify;
    line-height: 22px;
    font-size: 20px;
    color: #28BAB7;
    text-decoration: underline;
}


@media only screen and (max-width: 1184px) {
    .infinity .left {
        width: 100%;
    }
    #contact_us.page {
        width: 1024px;
    }
    #contact_us.page section {
        width: 100%;
    }
    #contact_us .left,
    #contact_us .right {
        display: none;
    }
}
@media only screen and (max-width: 1024px) {
    #contact_us .content {
        width: 100%;
    }
    #contact_us.page {
        width: 100%;
    }
}

@media only screen and (max-width: 512px) {
    #contact_us section .content .inner {
        padding-left: 0px;
    }
}