:root {
    --prim-bg-color: #ffffff;
    --sec-bg-color: #f78f00;
    --sec-bg-color-70: #f79000b3;
    --prim-text-color: #222222;
    --prim-text-color-70: #222222b3;
    --sec-text-color: #ffffff;
    --sec-text-color-70: #ffffffb3;
    --max-screen-width: 1440px;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

@media screen and (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
    font-family: "Open Sans", sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 16px;
    color: var(--prim-text-color);
    background-color: var(--prim-bg-color);
    line-height: 30px;
    padding:0px;
    margin:0px;
    margin-left: auto;
    margin-right: auto;
    max-width: var(--max-screen-width);
}

main {
    padding-top: 105px;
}

div.pic {
    background-repeat: no-repeat;
    background-position: center;
}

.heroSection {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

div.pic.logo.header {
    background-size: contain;
    width: 105px;
    height: 85px;
    background-image: url('img/Xplanis_Logo.png');
}

div.pic.logo.footer {
    background-size: 70px 75px;
    width: 70px;
    height: 75px;
    margin:0px;
    background-image: url('img/Xplanis_Logo.png');
}

h1 {
    font-family: "europa",sans-serif;
    font-style: normal;
    font-weight: 100;
    font-size: 36px;
    color: var(--prim-text-color);
	text-transform: none;
	text-align: center;
    padding-top: 25px;
    padding-bottom: 10px;
    margin: 0;
}

h2 {
    font-family: "europa",sans-serif;
    font-style: normal;
    font-weight: 100;
    font-size: 36px;
    color: var(--prim-text-color);
	text-transform: none;
}

h3 {
    font-family: "europa",sans-serif;
    font-style: normal;
    font-weight: 100;
    font-size: 26px;
    color: var(--prim-text-color);
	text-transform: none;
    margin-top: 30px;
    margin-bottom: 10px;
}

h4 {
    font-family: "europa",sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    color: var(--prim-text-color);
	text-transform: none;
    margin-top: 3px;
    margin-bottom: 3px;
}

p {
    margin: 0;
    padding-bottom: 10px;
    color: var(--prim-text-color);
}

.container{
    display: flex;
    margin: 0px auto;
    width: 100%;
    min-height: 520px;
    padding: 25px;
}

div.pic.compLogo {
    background-size: 143px 80px;
    height:80px;
    margin-bottom: 5px;
}

div.pic.compLogo.wide {
    width: 100%;
}

div.pic.compLogo.fit {
    width: 143px;
    margin-left: 101px;
    margin-right: 101px;
    float:left;
}

div.pic.xGU {
    background-size: 756px 252px;
    width: 756px;
    height:520px;
    background-image: url('img/Xplanis_xGU_logo_756x252.png');
}

.img-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

#picSlide {
    max-width: var(--max-screen-width);
    width: 90vw;
    max-height: 659px;
    height: 53vw;
    background-position: left;
    background-size: contain;
}

div.pic.screen {
    margin-top: 10px;
    margin-bottom: 10px;
}

div.pic.screen.einfuehrung {
    background-image: url('img/xGU_01_Einfuehrung.png');
}

div.pic.screen.transAbrechnung {
    background-image: url('img/xGU_06_TransportAbrechnung.png');
}

div.pic.thumb {
    background-size: 168px 89px;
    width: 150px;
    height:89px;
}

div.thumb.overlay {
    width:150px;
    height:89px;
    background:rgba(0,0,0,0.5);
    color:var(--sec-text-color);
    font-size:20px;
    display:table-cell;
    vertical-align: middle;
    text-align:center;
    cursor: pointer;
}

section {
    overflow: hidden;
    background-color: var(--prim-bg-color);
    padding-bottom: 10px;
}

div.pic.download {
    background-size: 24px 24px;
    width: 24px;
    height:24px;
    background-image: url('img/Setup_Download_32x32.png');
}

div.pic.download.setup {
    background-image: url('img/Setup_Download_24x24.png');
}

div.pic.download.doc {
    background-image: url('img/Document_Download_24x24.png');
}

div.ajaxRes{
    position:absolute;
    left:50%;
    margin-left:-100px;
    background-color: var(--prim-bg-color);
    width:200px;
    text-align:center;
    line-height:30px;
    border-radius:5px;
    font-size:20px;
    font-weight:bold;
    padding:10px;
    z-index: 100;
    margin-top:1px;
    color: var(--prim-text-color);
    display:none;
}

.hero {
    background: rgba(0,0,0,0.5); 
    border-radius: 8px;
    display: block;
    position: relative;
    width: 500px;
    padding: 0 15px 0 15px;
    text-align: center;
    align-content: center;
}

.hero h1, .hero p {
    color: var(--sec-text-color);
}

.products .cards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    column-gap: 15px;
    row-gap: 15px
}

.card {
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    border-radius: 8px;
    border-color: var(--prim-text-color);
    border-width: 1.5px;
    border-bottom-style: solid;
    border-right-style: solid;
    padding: 5px 25px;
    max-width: 400px;
    min-height: 300px;
    cursor: pointer;
}

.card:hover {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.sec-bg {
    background-color: var(--sec-bg-color);
}

.templates {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 1390px;
}

.tableWrapper {
    width: 90vw;
    max-width: 1390px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.addin .pricing table, .webservice .pricing table, .distancelist .pricing table, .contact table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.addin .pricing th, .addin .pricing td, .webservice .pricing th, .webservice .pricing td, .distancelist .pricing th, .distancelist .pricing td, .contact th, .contact td {
    border: 1px solid darkgray;
    padding: 10px;
    text-align: center;
    background-color: ghostwhite;
}

.addin .pricing th, .webservice .pricing th, .distancelist .pricing th, .contact th {
    background-color: lightgrey;
}

.addin .details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.addin .details .sysreq {
    padding-right: 10px;
}

.docs-tuts {
    display: flex;
    flex-wrap: wrap;
}

.addin .details .docs, .addin .details .tuts {
    min-width: 200px;
}

.dir-col {
    display: flex;
    flex-direction: column;
}

.addin .details ul {
    margin: 0;
}

.addin .details p {
    padding: 0;
}

.fb {
    display: flex;
    flex-direction: row;
    gap: 10px;
}
 .fb div.dir-col {
    width: 50%;
 }

 footer {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 30px;
    font-size: 12px;
    line-height: 15px;
    margin-bottom: 50px;
    margin-top: 10px;
    padding-top: 25px;
    box-shadow: 0px -4px 2px -2px rgba(0, 0, 0, 0.1);
 }

 .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--prim-bg-color);
    padding: 10px 20px;
    position: fixed;
    box-shadow: 0 4px 2px -2px rgba(0, 0, 0, 0.1);
    z-index: 60;
    width: 100%;
    max-width: var(--max-screen-width);
}

.navbar-left, .navbar-right {
    display: flex;
    width: 50%;
}

.navbar-right {
    justify-content: flex-end;
}

.navbar-left .menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.navbar-left .menu li {
    min-width: 100px;
}

.navbar-left .menu .contact {
    display: none;
}

.navbar-left .menu li a {
    text-decoration: none;
    color: var(--prim-text-color);
    font-weight: bold;
    transition: color 0.3s;
}

.navbar-left .menu li a:hover {
    color: var(--prim-text-color-70);
}

.navbar-right .support-button {
    background-color: var(--prim-text-color);
    color: var(--sec-text-color);
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.navbar-right .support-button:hover {
    background-color: var(--prim-text-color-70);
}

.menu-toggle {
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    display: none;
}

.menu-toggle #toClose {
    display: none;
}

#videoContainer {
    position:fixed; 
    top:0; 
    left: 0;
    width:100%; 
    height:100%; 
    display:none; 
    background-image: url('data/img/background.png');
    background-color: var(--prim-text-color-70);
    z-index: 70;
}

.videoWindow {
    width: 90vw;
    max-width:800px; 
    height:fit-content; 
    position:absolute; 
    left:0; 
    top:0; 
    bottom:0; 
    right:0; 
    margin:auto;
}

#closebutton {
    z-index: 80;
    position: absolute;
    top: -8px;
    right: -8px;
    width: 16px;
    height: 16px;
    background-image: url('data/img/close.png');
}

.tutorialPlayer {
    display: none;
    width:100%;
    z-index:70;
}

.line {
    border: solid;
    border-width: thin;
    border-color: var(--prim-text-color-70);
    margin-top: 90px;
    margin-bottom: 20px;
}

#products, #addin, #webservice, #distancelist, #contact, #feedback {
    display: block;
    position: relative;
    top: -90px;
}

hr {
    border-top: 2px solid var(--prim-text-color-70);
    width: 70%;
    margin: 30px auto 10px auto;
}

.order {
    display: flex;
    flex-direction: column;
}

.order-btn {
    background-color: var(--sec-bg-color);
    color: var(--sec-text-color);
    width: fit-content;
    padding: 10px 15px;
    margin-bottom: 10px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.order-btn:hover {
    background-color: var(--sec-bg-color-70);
}

/* responsive */

@media (max-width: 1135px) {
    .menu {
        flex-direction: column;
    }

    main {
        padding-top: 217px;
    }

    #products, #addin, #webservice, #distancelist, #contact, #feedback {
        top: -200px;
    }
}

@media (max-width: 668px) {
    .menu-toggle {
      display: block;
    }
  
    .navbar-left, .navbar-right {
      display: none;
    }

    .navbar-left .menu .contact {
        display: flex;
    }    

    .navbar.active .navbar-left {
        display: flex;
    }

    .navbar.active .menu-toggle {
        align-self: flex-start;
        padding-top: 27px;
    }

    .navbar.active .navbar-center {
        display: flex;
        align-self: flex-start;
    }

    .navbar.active .menu {
        padding-left: 0;
    }

    .navbar.active .menu-toggle #toClose {
        display: block;
    }

    .navbar.active .menu-toggle #toOpen {
        display: none;
    }

    .navbar.active + main {
        padding-top: 262px;
    }

    main {
        padding-top: 105px;
    }

    #products, #addin, #webservice, #distancelist, #contact, #feedback {
        top: -90px;
    }
}
