/*
Theme Name: Railweb.ch Theme 2019
Theme URI: http://www.railweb.ch/
Author: Henry Raymond
Author URI: http://www.henryraymond.com/
Description: Theme of Railweb.ch
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags:
Text Domain: railweb
*/


body {
    padding: 0;
    margin: 0;
    background: #fff;
    font-family: 'PT Sans', sans-serif;
    font-size: 16px;
    color: #333;
}

form, table {
    margin: 0;
    padding: 0;
    border: none;
}

img {
    border: 0;
}

a {
	text-decoration: none;
	color: #e00;
}

a:hover {
	text-decoration: underline !important;
}

strong {
	font-weight: bold;
}

em {
	font-style: italic;
}

.center {
	text-align: center;
}

.clear {
	clear: both;
}

.hidden {
    display: none;
}

#banner {
    height: 600px;
    background-size: cover;
}

#blog_post_banner
{
    height: 120px;
}

body.page-id-4 #banner,
body.page-id-12 #banner,
body.page-id-14 #banner,
body.page-id-52 #banner,
body.page-id-55 #banner,
body.page-id-57 #banner
{
    background: url(img/header/home.jpg) no-repeat center 0;
}

body.page-id-20 #banner,
body.page-id-24 #banner,
body.page-id-26 #banner
{
    background: url(img/header/services.jpg) no-repeat center 0;
}

body.page-id-28 #banner,
body.page-id-30 #banner,
body.page-id-32 #banner
{
    background: url(img/header/projects.jpg) no-repeat center 0;
}

body.page-id-34 #banner,
body.page-id-36 #banner,
body.page-id-38 #banner
{
    background: url(img/header/clients.jpg) no-repeat center 0;
}

body.page-id-40 #banner,
body.page-id-42 #banner,
body.page-id-44 #banner
{
    background: url(img/header/team.jpg) no-repeat center 0;
}

body.page-id-46 #banner,
body.page-id-48 #banner,
body.page-id-50 #banner
{
    background: url(img/header/contact.jpg) no-repeat center 0;
}
body.page-id-2255 #banner,
body.page-id-2308 #banner,
body.page-id-2336 #banner
{
    background: url(img/header/marketing.jpg) no-repeat center 0;
}

body.blog #banner
{
    background: url(img/header/reports.jpg) no-repeat center 0;
}

#header {
    height: 120px;
    background: #fff;
    padding: 0 30px;
}

#header_container {
    position: relative;
    max-width: 1320px;
    margin: 0 auto;
    left: 0;
    top: 0;
    height: 120px;
    z-index: 10;
}

#logo {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 520px;
    height: 120px;
}

#logo img {
    width: 520px;
    height: 120px;
}

#navigation_button {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 90px;
    height: 90px;
    cursor: pointer;
}

#navigation_button span {
    display: block;
    position: absolute;
    width: 28px;
    height: 0;
    left: 31px;
    border: 2px solid #777;
    border-radius: 2px;
    overflow: hidden;
}

#navigation_button span:nth-child(1) {
    top: 33px;
}

#navigation_button span:nth-child(2) {
    top: 43px;
}

#navigation_button span:nth-child(3) {
    top: 53px;
}

#navigation_foldout {
    position: absolute;
    left: 520px;
    right: 0;
    top: 0;
    height: 120px;
}

#language_navigation {
    position: absolute;
    right: 0;
    top: 0;
    width: 150px;
    height: 30px;
    font-size: 18px;
    line-height: 30px;
    text-align: right;
}

#language_navigation a {
    display: inline-block;
    color: #333;
    text-decoration: none !important;
}

#language_navigation a:hover {
    border-bottom: 2px solid #e00;
    text-decoration: none !important;
}

#language_navigation a.selected {
    font-weight: bold;
}

#navigation {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    font-size: 18px;
    text-align: right;
}

.navigation_element {
    display: inline-block;
    padding-left: 30px;
}

.navigation_element a {
    display: inline-block;
    height: 28px;
    color: #333;
    text-decoration: none !important;
    border-bottom: 2px solid #fff;
    line-height: 30px;
}

.navigation_element a:hover {
    border-bottom: 2px solid #e00 !important;
    text-decoration: none !important;
}

#tag_line_container {
    position: relative;
    max-width: 1380px;
    margin: 0 auto;
    left: 0;
    top: 0;
    height: 480px;
}

#tag_line {
    position: absolute;
    right: 0;
    bottom: 10px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 42px;
    text-align: right;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 1);
    border-radius: 2px;
}


@media (max-width: 1000px) {

    .not_on_mobile {
        display: none;
    }

    #banner {
        height: 420px !important;
    }
    
    #blog_post_banner {
        height: 90px !important;
    }

    #header {
        height: 90px !important;
        padding: 0 !important;
    }

    #header_container {
        width: auto !important;
        margin: 0 !important;
        height: 90px;
    }

    #logo {
        display: static !important;
        margin-left: 90px;
        width: auto !important;
        height: 85px !important;
        padding-top: 5px;
    }

    #logo img {
        width: 100% !important;
        max-width: 350px !important;
        height: 81px !important;
        object-fit: contain;
    }

    #navigation_button {
        display: block !important;
    }

    #navigation_foldout {
        display: none;
        left: 0 !important;
        top: 90px !important;
        height: auto;
        background: #fff;
        overflow: hidden;
    }

    #language_navigation {
        position: static !important;
        width: auto !important;
        padding: 11px 30px !important;
        height: 18px !important;
        line-height: 18px !important;
        border-top: 1px solid #777;
        text-align: center !important;
    }

    #navigation {
        position: static !important;
        bottom: 0 !important;
        text-align: left !important;
        border-top: 1px solid #777;
    }

    .navigation_element {
        display: block !important;
        padding: 0 !important;
        height: 60px !important;
        border-bottom: 1px solid #777;
    }

    .navigation_element a {
        display: block !important;
        padding: 0 30px !important;
        height: 60px !important;
        line-height: 60px !important;
        border-bottom: none !important;
    }

    .navigation_element a:hover {
        border-bottom: none !important;
        background: #eee;
        color: #e00 !important;
    }

    #tag_line_container {
        height: 300px !important;
    }

    #tag_line {
        font-size: 28px !important;
        padding: 15px !important;
        text-align: center !important;
    }

}











#body {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
}


/* FOR HOMEPAGE #body {
    max-width: 1380px;
    margin: 0 auto;
    padding: 30px 0;
}*/


h1 {
	clear: both;
	padding: 10px 0;
	margin: 0;
	font-weight: normal;
	font-size: 42px;
	line-height: 48px;
	color: #999;
}

h2 {
	clear: both;
    padding: 25px 0 10px;
    margin: 0;
    font-weight: normal;
    font-size: 28px;
    line-height: 32px;
    color: #999;
}

p {
    font-size: 18px;
    line-height: 27px;
    margin: 0;
    padding: 8px 0;
    color: #333;
}

ul,
ol {
	margin: 0 !important;
	padding: 0 0 10px !important;
}

ul li,
ol li {
	margin: 0 0 0 20px;
	padding: 10px 10px 0 5px;
    font-size: 18px;
    line-height: 27px;
    color: #333;
}

table {
	width: 100%;
	border-spacing: 0;
	border-collapse: collapse;
}

table tr:nth-child(2n+1) th,
table tr:nth-child(2n+1) td {
	background: #eee;
}

table th,
table td {
    font-size: 18px;
    line-height: 27px;
    color: #333;
	padding: 10px;
}

table th ul,
table td ul {
	padding-bottom: 0 !important;
}

table th ul li:first-child,
table td ul li:first-child {
	padding-top: 0 !important;
}


.blog_content img {
    max-width: 900px;
}

.blog_post {
    padding: 10px 0 20px;
    border-top: 2px solid #eee;
}

.blog_copyright {
    text-align: center;
}

.blog_back {
    text-align: right;
}

#blog_page_title {
    padding-bottom: 20px !important;
}

#blog_page_title a {
    color: #999 !important;
    text-decoration: none !important;
}


.home_icon_box {
    float: left;
    width: 440px;
    height: 440px;
    padding: 10px;
}

.home_icon_box a {
    display: block;
    width: 400px;
    height: 260px;
    text-decoration: none;
    padding: 180px 20px 0;
    transition: background-color 0.5s;
    border-radius: 3px;
    background-repeat: no-repeat;
    background-position: center 20px;
    background-size: 150px 150px;
}

.home_icon_box:nth-child(1) a {
    background-image: url(img/home/international.png);
}

.home_icon_box:nth-child(2) a {
    background-image: url(img/home/solutions.png);
}

.home_icon_box:nth-child(3) a {
    background-image: url(img/home/freight.png);
}

.home_icon_box:nth-child(4) a {
    background-image: url(img/home/car.png);
}

.home_icon_box:nth-child(5) a {
    background-image: url(img/home/sensors.png);
}

.home_icon_box:nth-child(6) a {
    background-image: url(img/home/communication.png);
}

.home_icon_box a:hover {
    background-color: #f5f5f5;
}

.home_icon_box h2 {
    font-size: 28px;
    font-weight: normal;
    color: #e00;
    text-align: center;
    line-height: 32px;
    margin: 0;
    padding: 0 0 8px;
}

.home_icon_box p {
    font-size: 18px;
    line-height: 27px;
    margin: 0;
    padding: 8px 0;
    color: #333;
    text-align: left;
}

@media (max-width: 1400px) {

    #body {
        max-width: 920px !important;
    }

}

@media (max-width: 1000px) {

    .home_icon_box {
        float: none !important;
        margin: 0 auto !important;
    }

}

@media (max-width: 460px) {

    .home_icon_box {
        width: auto !important;
        height: auto !important;
        padding: 0 10px !important;
    }

    .home_icon_box a {
        width: auto !important;
        height: auto !important;
    }

}



#body img {
	max-width: 100%;
}



#footer_container {
    clear: both;
    border-top: 60px solid #fff;
    background: #777;
}

#footer {
    max-width: 1340px;
    margin: 0 auto;
    padding: 40px 30px;
    color: #eee;
    font-size: 18px;
    line-height: 27px;
    min-height: 135px;
}

#footer a {
    color: #fff !important;
}

#footer_address_left,
#footer_address_right,
#copyright {
    float: left;
    width: 33%;
}


@media (max-width: 1000px) {

    #footer_address_left,
    #footer_address_right,
    #copyright {
        float: none !important;
        width: auto !important;
        padding-bottom: 30px;
    }

}