
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');


body {
    font-family: 'Lato', sans-serif;
    background-color: #fff;
    
}


header,
main,
article,
section,
aside,
footer {
    /*width:100%;*/
    padding:0;
    margin:0;

}

.head-area {
    background: rgb(195,194,194);
    background: linear-gradient(4deg, rgba(235,234,234,1) 0%, rgba(255,255,255,1) 100%); 
    margin: -6px;
    padding: 2px;
    padding-bottom: 20px;
}



h1 {
    color: #3A3737;
}




a {
    color: #3A3737;
}
a:visited {
    color: inherit;
}
a:hover {
    color: #B5121B;
}


header {
    margin-top: 1.5em;
    margin-left: 1.5em;

}

nav {
    vertical-align:middle;
    
}
nav ul {
    font-size: 120%;
    width: 80%;
    height: 12.5em;
}

nav li {
    height:42px;
    list-style-type: none;
    margin: 0em 0em;
    position: relative;
    top:-1.64em;
    text-align: left;
    font-size: 120%;
    margin-top: 10px;
    bottom:-200px;
}

.active {
    color: #B5121B;
}


nav a {/* 
    color: #B5121B; */
    font-family: 'Oswald', sans-serif;
    padding-right: 1.4em;
    text-decoration: none;
}


.navigation-home {
    /*margin: 1px;
  /*  background-color: #B5121B;*/
    /*text-align: center;
    margin-right: 1.8em;
    padding: 0.8em 0.8em 0.1em 0.8em;*/
    font-size: 100%;
    margin-right: 51.8em;
    
}


main {
    background-color: #fff;
    margin:-6px;
    padding:0px;
    border: 2px groove #d4d4d4;
}



hr.navi {
    background-color: #757070;
    border: 0;
    margin-left:-10px;
    height: 2px;
   /* background-image: linear-gradient(to right, rgba(181, 18, 27, 0.45), rgba(181, 18, 27, 0.45), rgba(181, 18, 27, 0.45), rgba(181, 18, 27, 0.45), rgba(181, 18, 27, 0.45));*/
}

hr.left{
    color: #CFD4D4;
    border: 0;
    height: 1px;
    width: 100%;
    margin-left:-10px;
    height: 2px;
    margin:0px;
    background-image: linear-gradient(to right, rgba(181, 18, 27, 1), rgba(181, 18, 27, 0.2),  rgba(255, 255, 255, 1), rgba(255, 255, 255, 1));
}

hr.right{
    color: #CFD4D4;
    border: 0;
    height: 1px;
    width: 100%;
    margin:0px;
    margin-right:1px;
    height: 2px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1), rgba(181, 18, 27, 0.2), rgba(181, 18, 27, 1));
}





section {
    background: #FdFdFd;
    
    background: linear-gradient(4deg, rgba(233,233,233,1) 0%, rgba(253,253,253,1) 30%, rgba(255,255,255,1) 100%); 
    padding: 1.5em;
    font-size: 110%;
    /*margin-bottom: 6em;*/
    /*border-radius: 5px;*/
    /*width: 90%;*/
}


section.SmartSystems {
    background: inherit;
    
    background: inherit; 
    padding: 1.5em;
    font-size: 110%;
    /*margin-bottom: 6em;*/
    /*border-radius: 5px;*/
    /*width: 90%;*/
}

li.SmartSystems {
    line-height: 1.5em;
    font-size: 95%;
}

section.SmartSystems p {
    color:#333;
}

article {

    box-shadow: inset 0 5px 10px #133e40;

    line-height: 1.7em;

    background: #fff;
    background-size: 100%;

   background: inherit;
    background-size: inherit;
    background-repeat: inherit;


    padding: 0em;
    
    /*margin-bottom: 6em;*/
    text-align: left;

    /*border-radius: 5px;*/
}

article.SmartSystems {
    box-shadow: inherit;

    line-height: 1.7em;

    background: inherit;
    background-size: inherit;
    background-repeat: inherit;

    padding: 0em;
    
    /*margin-bottom: 6em;*/
    text-align: left;

    /*border-radius: 5px;*/
}

#smart_living_img {
        width: 184px;
        height: 126px;
}

article h1 {
    color: #B5121B;
    font-family: 'Oswald', sans-serif;
    margin:0;
    padding:0;
}

article div {
    background-color: #fafafac0;
    padding: 1em;
    margin-right: 0px;
    /*border-radius: 5px;*/
}

aside {
    background: #ebf5d7;
    border-color: #8db243;
}

footer {
    /*background: #e4ebf2;
    border-color: #8a9da8;*/
    text-align: right;
    padding:1em;
    margin:1em;
    font-size: 80%;
    width: 95%;
    color: #433;
}


.article_standalone {
    padding: 1.5em;
    font-size: 100%;
    box-shadow: none;
    text-align: center;
}

article {
    text-align: justify;
}

article span {
    text-align: justify;
}


p img {
    width: 40px;
    height: 40px;
}



input, textarea{
    width:100%;
    font-family: 'Lato', sans-serif;
    font-size: 110%;
    border: solid 1px black;
}


button {
  background: #d1515a;
  background-image: -webkit-linear-gradient(top, #d1515a, #B5121B);
  background-image: -moz-linear-gradient(top, #d1515a, #B5121B);
  background-image: -ms-linear-gradient(top, #d1515a, #B5121B);
  background-image: -o-linear-gradient(top, #d1515a, #B5121B);
  background-image: linear-gradient(to bottom, #d1515a, #B5121B);
  -webkit-border-radius: 8;
  -moz-border-radius: 8;
  border-radius: 8px;
  font-family: Arial;
  color: #fff;
  font-size: 16px;
  padding: 6px 15px 6px 15px;
  border: solid #B5121B 2px;
  text-decoration: none;
}

button:hover {
  background: #f55f69;
  background-image: -webkit-linear-gradient(top, #f55f69, #ad1017);
  background-image: -moz-linear-gradient(top, #f55f69, #ad1017);
  background-image: -ms-linear-gradient(top, #f55f69, #ad1017);
  background-image: -o-linear-gradient(top, #f55f69, #ad1017);
  background-image: linear-gradient(to bottom, #f55f69, #ad1017);
  text-decoration: none;
}






/*section img {
    width: calc(468px*0.8);
    height: calc(287px*0.8);
}*/

#portfolio_img {
    width: calc(480px*0.4);
    height: calc(420px*0.4);
}

  

@media all and (min-width: 960px) {
    body {
        font-size: 110%;
    }

    nav ul {
        height: inherit;
    }
    
    nav li {
        text-align: center;
        display: inline;

        list-style-type: none;
        margin: 0em 0em;
        position: relative;
        top:0em;
        text-align: left;
    }

    article {
        
    }

    article div {
        margin-right: 42vw;
        padding: 2em; 
        min-height: 800px;
        max-height: 868px;
        height: 500px;
    }

    .article_alt_pos {
        margin-left: 0 40%;
    }

    .article_standalone {
        padding: 2em;
        line-height: 0.9em;
    }

    p img {
        width: 70px;
        height: 70px;
    }

    nav a {
       width: 140%;
    }

    article.article_standalone h4 {
        margin:0.8em;
    }

    /*section img {
        width: 468px;
        height: 287px;
    }*/

    #smart_living_img {
        width: 400px;
        height: 275px;

    }
    #portfolio_img {
        width: 480px;
        height: 420px;
    }

    #article_text_containter_r {
        margin-right: 55vw;
        position: relative;
        margin-left: 0em;
    }

    #article_text_containter_l {
        margin-left: 55vw;
        position: relative;
        margin-right: 0em;
    }

    #article_text_span {
        clear: both;
    }
}

#article_text_containter-r {
        margin-right: 2em;
}

#article_text_containter-l {
        margin-left: 2em;
}

   