/* Global */
@font-face { 
    font-family: "architex";
    src: url("Architex.otf") format("opentype"); 
}
@font-face { 
    font-family: "poppins";
    src: url("Poppins-Regular.ttf") format("truetype"); 
}


body{
    margin: -5px 0;
    padding: 0;
    font-family: "poppins", "Tw Cen MT", sans-serif;
    
    -moz-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto; 
    
    word-wrap:break-word;
    
    background-color: #fff;
}

a{
    color: #000;
    font-weight: bold;
    text-decoration: none;
    transition: .1s;
    transition-timing-function: ease-in-out;
}

a:hover{
    color: #b42041;
}

.a_active{
    cursor: default !important;
    color: #b42041 !important;
}



/*  JS Warning  */
#jswarning{
    margin: 0;
    padding: 0.6rem 2rem;
    position: fixed;
    bottom: 0;
    left: 0;
    color: #000;
    background-color: #b42041;
}

#jswarning a:hover{
    color: #fff;
}




/*  Navbar  */
#navbar{
    margin-top: 1.5rem;
    background-color: #fff;
}

#navbar > div{
    margin-bottom: 15px;    
    border-bottom: 5px solid #000;
}

#navbar > div > a > img{
    margin-left:40px;
    margin-bottom: -15.2px;
    height: 34px;
}

#navbarlogo_mobile{
    display: none;
}

#navbar ul{
    margin-left: 30px;
    padding: 0;
    background-color: #fff;
}

#navbar li{
    width: 180px;
    padding-bottom: 0.2rem;
    list-style-type: none;
    text-align: center;
    float: left;
}

#navbar li:not(.nav_active){
    border-bottom: 4px solid #fff;
}

.nav_active{
    border-bottom: 4px solid #b42041;
}

.nav_active > ul a{
    cursor: default !important;
}

.nav_active > ul  a:hover{
    color: #000 !important;
}

#navbar > a{
    display: none;
}

@media(max-width:770px){
    #navbar{
        margin-top: 1rem;
    }
    
    #navbar > div{
        margin-bottom: 0;
        height: 25.2px;
    }
    
    #navbar > div > a > img{
        margin-left: 1rem !important;
        position: absolute;
        z-index: 100;
    }
    
    #navbar ul{
        display: none;
        position: absolute;
        margin: 0;
        padding-left: 2.3rem;
        padding-top: 0.5rem;
        box-sizing: border-box;
        width: 100%;
        z-index: 99;
        -webkit-box-shadow: 0px 2px 11px -1px rgba(0,0,0,0.75);
        -moz-box-shadow: 0px 2px 11px -1px rgba(0,0,0,0.75);
        box-shadow: 0px 2px 11px -1px rgba(0,0,0,0.75);
    }
    
    #navbar li{
        float: none;
        text-align: left;   
        padding: 0 0.9rem;
        margin: 0.5rem 0; 
        border-bottom: none;
    }
    
    #navbar li:last-of-type{
        margin-bottom: 1rem;
    }    
    
    .nav_active{
        border-left: 4px solid #b42041;
    }
    
    #navbar li:not(.nav_active){
        border-left: 4px solid #fff;
    }
    
    #navbar > a{
        display: block;
        float: right;
        margin: -0.25rem 0.8rem 0 0;
    }
}

@media(min-width:1100px){
    #navbar > div > a > img{
        margin-left:140px !important;
    }
    
    #navbar ul{
        margin-left: 130px !important;
    }
}

@media(min-width:1300px){
    #navbar > div > a > img{
        margin-left: 240px !important;
    }
    
    #navbar ul{
        margin-left: 230px !important;
    }
}



/*  Welcome  */
#welcome{
    width:100%;
    max-height: 40rem;
    min-height: 6rem;
    align-content: center;
    position: relative; 
    overflow: hidden;
    z-index: 50;
}

#welcome > img{
    width:100%;
    
}

#welcome > b{
    font-family: "architex";
    font-size: 4rem;
    font-weight: bold;
    text-align: center;
    float: left;
    position: absolute; 
    top: 50%;
    left: 50%;
    margin: 0;
    transform: translate(-50%,-40%);
    word-break: normal;
}

@media(max-width:200px){
    #welcome > img{
        height: 8rem;
        width: auto;
    }
}

@media(max-width:460px){
    #welcome > b{
        font-size: 2rem !important;
    }
}

@media(max-width:600px){
    #welcome > b{
        font-size: 3rem;
    }
}

@media(min-width:880px){
    #welcome > b{
        font-size: 6rem;
    }
}



/* Welcome Spacing */
#welcomespacing{
    width:100%;
    max-height: 5rem;
    position: relative; 
    overflow: hidden;
    z-index: 50;
}

#welcomespacing > img{
    width: 100%;
}


/*************/
/*************/
/*  Content  */
/*************/
/*************/

#content{
    max-width: 900px;
    margin: auto;
    padding: 1rem 3rem 3rem 3rem;
    text-align: justify;
}

#content h1{
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

#content h3{
    font-size: 1.5rem;
    margin-top: 2rem;
}

#content .small{
    font-size: 0.8rem;
}

#content .signature{
    font-size: 1.2rem;
}


@media(max-width:400px){
    #content h1{
        font-size: 2rem;
    }
    
    #content h3{
        font-size: 1.2rem;
    }
}

@media(max-width:770px){
    #content{
        padding: 1rem;
    }
}






/* Contact */

#contactform{
    padding: 0 3rem 0 3rem;
    font-size: 1rem;
}

@media (max-width : 600px ){
    #contactform{
        padding: 0;
    }
}

#contactform > form p{
    text-align: left !important;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 1rem;
    margin-bottom: 0;
}

#contactform > form p:first-of-type{
    margin-top: 0 !important;
}

#contactform > form input{
    width: 100%;
    font-size: 1rem;
    padding: 0.2rem 1rem;
    margin: 8px 0;
    box-sizing: border-box;
    border: 1px solid #353535;
    font-family: "poppins", "Tw Cen MT", sans-serif;
}

#contactform > form #send{
    width: 40%;
    font-family: "poppins", "Tw Cen MT", sans-serif;
}

@media (max-width : 600px ){
    #contactform > form #send{
        width: 70%;
    }
}

#contactform > form table{
    width: 80%;
    border: none;
    margin: auto;
}

#contactform > form textarea{
    box-sizing: border-box;
    border: 1px solid #000;
    width: 100% !important;
    height: 15rem;
    font-family: "poppins", "Tw Cen MT", sans-serif;
}

#contactform > #messageSend{
    width: 100%;
    text-align: center;
}

#contactform > .mSfalse{
    color: #F44336;
}

#contactform > .mStrue{
    color: #4CAF50;
}


/*  Error 404  */

#errpagenotfound > p{
    font-size: 1.5rem;
}

/*************/
/*************/
/*************/

/*  Footer  */
#footer{
    width: 100%;
    padding: 5rem 0; 
    background-color: #3b3b3a;
    color: #fff;
    clear: both;
}

#footer > div{
    border-bottom: 7px solid #fff;
    width: 100%;
}

#footer > div > img{
    height: 124px;
    margin-left: 40px;
    margin-bottom: -42px;
}

#footer > p{
    width: 100%;
    margin-top: 0.2rem;
    text-align: right;
}

#footer > p > a{
    color: #fff;
    font-weight: normal;
    margin: 0 0.7rem;
}

#footer a:hover{
    color: #b42041;
}

#footer span{
    margin: 0 0.7rem;
}

@media(max-width:390px){
    #footer > div{
        border-bottom: 4px solid #fff;
    }
    
    #footer > div > img{
        height: 71px;
        margin-bottom: -27px;
    }
    
    
    #footer > span{
        margin: 3rem 0 0 0 !important;
    }
}    
    
@media(max-width:600px){
    #footer{
        padding-bottom: 1rem;
    }
    
    #footer > div > img{
        margin-left: 0px !important;
    }
    
    #footer > p{
        line-height: 2;
    }
    
    #footer > p > a::after{
        content: "\A";
        white-space: pre;
        margin-right: 1rem;
    }
    
    #footer > p > span{
        display: none;
    }
    
    #footer > span{
        display: block !important;
        width: 100%;
        text-align: center;
        margin: 4rem 0 0 0;
    }
}

@media(max-width:680px){ 
    #footer > div > img{
        margin-left: 20px;
    }
}

@media(min-width:750px){
    #footer > p > a{
        margin: 0 1.3rem;
    }
    
    #footer span{
        margin: 0 1.3rem;
    }
}

@media(min-width:900px){    
    #footer > p{
        width: 880px;
        text-align: right;
    }
}

@media(min-width:1000px){ 
    #footer > div > img{
        margin-left: 90px;
    }
    
    #footer > p{
        width: 940px;
        text-align: right;
    }
}

@media(min-width:1100px){ 
    #footer > div > img{
        margin-left: 140px;
    }
    
    #footer > p{
        width: 990px;
        text-align: right;
    }
}

@media(min-width:1300px){ 
    #footer > div > img{
        margin-left: 240px;
    }
    
    #footer > p{
        width: 1090px;
        text-align: right;
    }
}



/*  Change to secure Connection Warning  */
#secureconnectionwarning{
    width: 50%;
    height: 50%;
    border: 2px solid #fff;
    -webkit-box-shadow: 0px 0px 25px 0px rgba(0,0,0,0.33);
    -moz-box-shadow: 0px 0px 25px 0px rgba(0,0,0,0.33);
    box-shadow: 0px 0px 25px 0px rgba(0,0,0,0.33);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 2rem;
}

#secureconnectionwarning > img{
    width: 100%;
    margin-bottom: 2rem;
}