/****************************************************************/
/* Cascade style sheet - Micro Website "KOALAFUND" by Koalaboox */
/****************************************************************/

/** General css **/

/* Font and general style for html/body */

@font-face {
    font-family: 'ProximaNova';
    src: url('../fonts/ProximaNovaRegular/proximanova-regular-webfont.eot');
    src: url('../fonts/ProximaNovaRegular/proximanova-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/ProximaNovaRegular/proximanova-regular-webfont.woff2') format('woff2'),
         url('../fonts/ProximaNovaRegular/proximanova-regular-webfont.woff') format('woff'),
         url('../fonts/ProximaNovaRegular/proximanova-regular-webfont.ttf') format('truetype'),
         url('../fonts/ProximaNovaRegular/proximanova-regular-webfont.svg#proxima_nova_rgregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'ProximaNovaBold';
    src: url('../fonts/ProximaNovaRegular/mark_simonson_-_proxima_nova_semibold-webfont.eot');
    src: url('../fonts/ProximaNovaRegular/mark_simonson_-_proxima_nova_semibold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/ProximaNovaRegular/mark_simonson_-_proxima_nova_semibold-webfont.woff') format('woff'),
         url('../fonts/ProximaNovaRegular/mark_simonson_-_proxima_nova_semibold-webfont.ttf') format('truetype'),
         url('../fonts/ProximaNovaRegular/mark_simonson_-_proxima_nova_semibold-webfont.svg#proxima_nova_semibold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'ProximaNovaItalic';
    src: url('../fonts/ProximaNovaRegular/proxima_nova_alt_regular_italic-webfont.eot');
    src: url('../fonts/ProximaNovaRegular/proxima_nova_alt_regular_italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/ProximaNovaRegular/proxima_nova_alt_regular_italic-webfont.woff2') format('woff2'),
         url('../fonts/ProximaNovaRegular/proxima_nova_alt_regular_italic-webfont.woff') format('woff'),
         url('../fonts/ProximaNovaRegular/proxima_nova_alt_regular_italic-webfont.ttf') format('truetype'),
         url('../fonts/ProximaNovaRegular/proxima_nova_alt_regular_italic-webfont.svg#proxima_nova_altRgIt') format('svg');
    font-weight: normal;
    font-style: normal;

}


body{
    font-family: "ProximaNova";
    margin:0;
    padding:0;
}

*{
    outline: 0;
}

.bold{
    font-family: "ProximaNovaBold";
}

.italic{
    font-family: "ProximaNovaItalic";
}

button{
    display: none;
}

.green{
    color:#90cf36;
}

.center{
    text-align:center;
}

.text{
    line-height:155%;
    text-align: justify;
}

.sectionTitle{
    padding:70px 0 15px 0;
    font-size: 22px;
    font-weight: 600;
}

.sectionDescription{
    font-size:48px;
    padding: 3px 0;
    padding-bottom: 45px;
}

.titleColorGrey{
    color: #3b454d;
}

.lastElementOfSection{
    padding-bottom: 110px;
}

.articleWidth{ 
    width:46%;
}

.articleLeft{
    float:left;
}

.articleRight{
    float:right;
}

.articleLeft{
    float:left;
}

/* Container take x % of the page width */

.containerNav{
    width:65%;
    margin:0 auto;
    padding:0 auto;
    overflow: hidden;
    height:78px;
}

.containerNavScroll{
    width:65%;
    margin:0 auto;
    padding:0 auto;
    overflow: hidden;
    height:50px;
}

.container {
    width:65%;
    margin:0 auto;
    padding:0 auto;
    overflow: hidden;
}


.containerFoot{
    width:64%;
    margin:0 auto;
    padding:0 auto;
    overflow: hidden;
}

/* Responsive design for general style and container */

@media screen{
    .container{
        //min-width: 750px;
    }
}

@media all and (max-width: 1717px) {

    .containerNav{
        width:80%;
    }

    .containerNavScroll{
        width:70%;
    }

    .container {
        width:70%;
    }

    .containerFoot{
        width:75%;
    }
}

@media all and (max-width: 1400px) {

    .containerNav{
        width:85%;
    }

    .containerNavScroll{
        width:80%;
    }

    .container {
        width:80%;
    }

    .containerFoot{
        width:93%;
    }

    .text{
        line-height:130%;
    }

    .sectionDescription{
        font-size:38px;
        padding-bottom: 40px;
    }

    .sectionTitle{
        padding:60px 0 15px 0;
        font-size: 19px;
    }
}

@media all and (max-width: 1200px) {

    .containerNav{
        width:90%;
    }

    .sectionDescription{
        font-size: 35px;
    }

    .sectionTitle{
        font-size: 20px;
    }

    .text{
        line-height:110%;
        font-size: 18px;
    }

    .container {
        width:85%;
    }

}



@media all and (max-device-width: 1000px) and (min-width:800px) and (orientation:portrait) {

    .containerNav {
        height: 95px;
    }
}

@media screen and (max-device-width: 750px){

    .articleLeft{
        float:none;        
    }

    .articleRight{
        float:none;        
    }

    .articleWidth {
        width:100%;
    }

    .container {
        width:85%;
    }

    .text{       
        text-align: left;
        line-height:130%;
        font-size: 25px;
    }

    .lastElementOfSection {
        padding-bottom: 160px;
    }

    .sectionDescription{
        font-size:60px;
        padding-bottom: 40px;
    }

    .sectionTitle{
        padding:60px 0 15px 0;
        font-size: 25px;
    }
}

/* Font for principal elements */

nav,ul,li,.dosis{
    font-family: 'Dosis', sans-serif;
}

/* Logo and Navigation topbar style */

.headForTop{ /* Topbar general style */
    background-color: #3b454d;
    margin:0;
    padding:0;
    position: fixed;
    z-index:99;
    width:100%;
}

.headForScroll{ /* Topbar will change at scroll */
    background-color: #3b454d;
    opacity: 0.85;
    margin:0;
    padding:0;
    position: fixed;
    z-index:99;
    width:100%;
}

.logo{
    width:150px;
    padding:31px 0 30px 0;
}

.logoForScroll{
    width:150px;
    padding:17px 0 16px 0;
}

#navBar {
    float:right;
    width:70%;
}

#navButtonForMobile{
    display:none;
}

.navBarUl{
    display: flex;
    justify-content: space-between;
    margin: 28px 0;
    list-style-type: none;
}

.navBarUlForScroll{
    display: flex;
    justify-content: space-between;
    margin: 11px 0 12px 0;
    list-style-type: none;
}

#navBar li{
    margin:0;
}

.homeAnchor{
    background: url(../images/home.png) no-repeat center;
    padding: 25px 20px 23px 20px
}

.homeAnchorForScroll{
    background: url(../images/home.png) no-repeat center;
    padding: 11px 20px 12px 20px;
}

.navBarAnchor{
    color:#ffffff;
    list-style-type: none;
    text-decoration: none;
    padding: 25px 20px 23px 20px;
    font-size: 17px;
    border-bottom: solid;
    border-bottom-width: 5px;
    border-bottom-color: #3b454d;
}

.navBarAnchorForScroll{
    color:#ffffff;
    list-style-type: none;
    text-decoration: none;
    padding: 11px 20px 12px 20px;
    font-size: 17px;
    border-bottom: solid;
    border-bottom-width: 5px;
    border-bottom-color: #3b454d;
}

.lastMenuAnchor{
    border-right-width: 1px;
}

.navBarAnchor:hover{
    border-bottom-color: #90cf36;
}

.navBarAnchorForScroll:hover{
    border-bottom-color: #90cf36;
}

/* Responsive design for Menu and mobile menu */

@media screen and (max-width: 1600px) {

    #navBar {
        width:76%;
        height: 78px;
    }  

   .navBarAnchorForScroll{
        padding: 14px 16px 12px 16px;
    } 
}

@media screen and (max-width: 1400px) {

    #navBar {
        width:84%;
        height: 78px;
    } 


    .navBarAnchor{  
        
        font-size: 15px;
       
    }  
}

@media screen and (max-width: 1200px) {

    #navBar {
        width:80%;
    }   

    .navBarAnchor{  
        padding: 27px 10px 25px 20px;
        font-size: 15px;
        border-bottom-width: 5px;
    }

    .navBarAnchorForScroll{
        padding: 13px 12px 14px 17px;
        font-size: 15px;
        border-bottom-width: 5px;
    }

    .homeAnchor{ 
        padding: 25px 20px;
    }

    .homeAnchorForScroll{
        padding: 11px 20px 14px 20px;
    }
}

@media screen and (max-width: 1000px){

    .navBarUl{
        width: 90%;
        margin: 28px;
        padding-left:0;
        font-size: 15px;
    } 

    .navBarAnchor {
        padding: 27px 8px 25px 12px;
        font-size: 15px;
    }

    .containerNav {
        width: 95%;
    }

    #navBar {
        width: 75%;
    }
}

@media screen and (max-width: 1050px) {

    #navBar {
        display: none;
    }

    #navButtonForMobile{
        display:block;
    }

    .navButtonForMobile,  .navButtonForMobileClose{
        position:relative;
        top: 20px;
        right:30px;
        float:right;
        width:50px;
        height:34px;
        display:inline-block;
        background: url(../images/menuWhite.png) no-repeat center;
        -webkit-background-size: cover; 
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover; 
        border:none;
        cursor: pointer;
    }
 
    #navBarForMobile{
        width: 70%;
        background-color: #3b454d;
        position: absolute;
        top: 82px;
        right: 4px;
        z-index: -1;
        font-size: 20px;
        opacity: 0.9;
        display: none;
    }  

     #navBarForMobile ul{
        padding: 0px;
    }  

    a{
        padding: 5px;
    }

    #navBarForMobile li,  #navBarForMobile a{
        color:#ffffff;
        display:block;   
        padding: 5px 5px 5px 40px;     
        list-style-type: none;
        text-decoration: none;       
    }  

    #navBarForMobile a{
        color:#ffffff;
        display:block;
        border-left: 4px solid #3b454d;  
        padding: 5px 5px 5px 20px;          
    }  

    #navBarForMobile a:hover{       
        border-left: 4px solid #90cf36;
    }  
}

@media all and (max-device-width: 1000px) and (orientation:portrait){

    .navBarUl{
        width: 90%;
        margin: 28px;
        padding-left:0;
    } 

    .navBarAnchor {
        padding: 27px 8px 25px 12px;
        font-size: 18px;
    }

    .containerNav {
        width: 90%;
    }

    #navBar {
        width: 75%;
    }
}

@media all and (max-device-width: 1000px) and (orientation:portrait) {

    .logo {
        width: 175px;
        padding: 35px 0 40px 0;
    }

    .navBarAnchor {
        padding: 27px 8px 25px 12px;
        font-size: 19px;
    }

    #navBar{
        height:95px
    }

    .navBarUl {
        width: 90%;
        margin: 40px;
        padding-left: 0;
    }

    #contact img{
        width: 170px;
    }

    .contactType{
        font-size: 26px;
    }
}

@media all and (max-device-width: 750px) {  /* Mobile navigation */

    button{
        display: block;
    }

    #navigationForJquery{
        overflow:visible;
    }

    .containerNav{
        height:100px;
        width: 90%;
    }

    .logo{
        width:180px;
        padding:51px 0;
    }

    #navBar{
        display: none;
    }

   .navButtonForMobile,  .navButtonForMobileClose{
        position:relative;
        top: 20px;
        right:30px;
        float:right;
        width:50px;
        height:34px;
        display:inline-block;
        background: url(../images/menuWhite.png) no-repeat center;
        -webkit-background-size: cover; 
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover; 
        border:none;
        cursor: pointer;
    }
 
    #navBarForMobile{
        width: 70%;
        background-color: #3b454d;
        position: absolute;
        top: 204px;
        right: 4px;
        z-index: 1;
        font-size: 45px;
        opacity: 0.9;
        display: none;
    }  


    #navBarForMobile li,a{
        color:#ffffff;
        display:block;
        padding:5px;
        list-style-type: none;
        text-decoration: none;
    }  
}

@media all and (max-device-width: 750px) and (orientation:landscape){
    #navBarForMobile{
        width: 40%;
        top: 105px;
        font-size: 34px;
    }


    #navBarForMobile li,a{
        padding: 4px;
    }  
}

@media all and (max-device-width: 600px)  {

    .headForTop{
        position: inherit;
        z-index:1;
    }

    .containerNav{
        height:200px;
    }

    .logo{
        width: 370px;
        padding:80px 0;
    }

    #navBar{
        display: none;
    }

    .navButtonForMobile{
        position:relative;
        top:27%;
        right:30px;
        float:right;
        width:135px;
        height:94px;
        display:inline-block;
        background: url(../images/menuWhite.png) no-repeat center;
        -webkit-background-size: cover; 
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover; 
        border:none;
        cursor: pointer;
    }

    .navButtonForMobileClose{
        position:relative;
        top:27%;
        right:30px;
        float:right;
        width:135px;
        height:94px;
        display:inline-block;
        background: url(../images/menuWhite.png) no-repeat center;
        -webkit-background-size: cover; 
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover; 
        border:none;
        cursor: pointer;
    }
}

@media all and (max-device-width: 600px) and (orientation: landscape){

    .containerNav{
        height: 135px;
    }

    .navButtonForMobile{
        position: relative;
        top: 26%;
        width: 94px;
        height: 64px;
    }

    .navButtonForMobileClose{
        position: relative;
        top: 26%;
        width: 94px;
        height: 64px;
    }
    
    .logo {
        width: 260px;
        padding: 50px 0;
    }
}

/* Style for home section */

#home { 
    color:#ffffff;
    margin:0;
    padding:0;
    background: url(../images/financement.jpg) no-repeat center; 
    -webkit-background-size: cover; 
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover; 
    height:100%;
    width:100%;
    max-width: 100%
}

#invest{
    padding: 28% 0 0 0;
    font-size: 68px;
    text-shadow: 1px 1px #000;
    line-height: 80%
}

#trade{
    font-size: 75px;
    text-shadow: 1px 1px #000;
}

#secure{
    font-size: 34px;
    padding: 25px 0 23% 0;
   
}

#home a{

    position:absolute;
    bottom:30px;    
    -webkit-transform:scale(1.08);
    -moz-transform:scale(1.08);
    -ms-transform:scale(1.08);
    -o-transform:scale(1.08);
    transform:scale(1.08);
}

@media all and (max-width: 1450px) {

    #secure {
        font-size: 40px;
        padding: 25px 0 10% 0;
    }

    #invest{
        padding-top: 24%;
    }
}

@media all and (max-width: 1200px) {


    #trade{
        font-size: 64px;
    }

    #secure{
        font-size: 38px;
    }

    #home img{
        width: 55px;
    }    
}

@media all and (max-width: 1200px) and (orientation:portrait) {

    #invest{
        padding-top: 50%;
    }
}

@media all and (orientation:portrait) and (max-device-width: 1000px){

    #home a{
        display:block;
    }

    #home img{
        width: 70px;
    }
}

@media all and (max-device-width: 1000px) {


    #trade{
        font-size: 64px;
    }

    #secure{
        font-size: 38px;
    }
}

@media all and (max-device-width: 750px) and (min-device-height: 450px){

    #invest{
        font-size: 100px;
        line-height: 100px;
        padding-bottom: 24px;
    }

    #trade{
        font-size: 100px;
    }

    #secure{
        font-size: 65px;
    }
}

@media all and (max-device-width: 750px) and (min-device-height: 450px) and (orientation:landscape){

    #home img{
       width : 100px;
    }

    #secure {
        font-size: 40px;
        padding: 25px 0 7% 0;
    }


     .articleLeft{
        float: none;
    }
}

@media all and (max-device-width: 750px) and (orientation:landscape){

    #invest{
        padding-top: 14%;
    }
}


@media all and (min-device-height: 800px) {


    #invest{
        font-size: 45px;
    }

    #trade{
        font-size: 30px;
    }

    #secure{
        font-size: 40px;
        padding: 25px 0 13% 0; 
    }
} 

@media all and (max-device-width: 700px){
    #home a{
        display: none;
    }
}


/* Style for 'About us' section */

#secureway{
    padding: 3px 0;
    color:#ffffff;
}

#andaboost{
     color:#ffffff;
}

#leftAboutPanel, #rightAboutPanel{
    color: #6c7c88;
    vertical-align: top;
}


/* Style for 'about' section */

#about{ 
    clear:both;
    background-color: #788896;
    color:#F4F5F7;
}

/* Style for 'investing' section */

#investing{ 
    clear:both;
    //color:#dae1e6;
}

#investing h1{ 
    //color:#ffffff;
    line-height: 105%;
}

#topInvesting{
    padding-bottom: 35px;  
    overflow: hidden;
}

#bottomInvesting{
    overflow: hidden;
}

.investPoint{
    padding-left: 20px;
}


@media all and (max-device-width: 1200px) {

    #investing h1{ 
        font-size: 19px;
    }
}

/* Style for 'the offer' section */

#offer{
    clear:both
}

#offer .containeroffer{
    padding:0 0 60px;
}

.containeroffer{
    width:80%;
    margin:0 auto;
    padding:0 auto;
    overflow: hidden;
}

#offer table{
    line-height: 200%;
}

#offer td{
    color:#6c7c88;
    padding-bottom: 7px;
}

.offerTitle{
    color: #4f5c67;
}

#leftOffer{
    width: 42%;
    padding-right: 25px;
    float: right;
}

#rightOffer{
        float: right;
    padding-left: 6%;
    width:43%;
    border-left:solid 1px #4f5c67; 
}

.tdRight{
    padding-left:45px;
}

.longTextForOffer{
    line-height: 100%;
}

@media screen and (max-width:1450px){

    .containeroffer{
        width:90%;
        margin:0 auto;
        padding:0 auto;
        overflow: hidden;
    }

    #leftOffer, #rightOffer{
        width: 100%;    
        padding: 0px;
        border: none;
    }

    #offer table{
        margin: 0 auto;
    }

    .offerTitle {
       text-align:center;
    }
}

@media screen and (max-width: 1200px) {
    #leftOffer, #rightOffer{
        width: 100%;    
        padding: 0px;
        border: none;
    }
}


@media all and (max-device-width: 1200px) {

    #offer table{
        font-size: 20px;
        line-height: 150%;
    }  

    #leftOffer{
        width:46%;
        padding-right: 2%;
    }

    #download .lastElementOfSection{
        padding-bottom: 60px;
    }
}

@media all and (max-device-width:750px) and (orientation: portrait) {

    #leftOffer, #rightOffer{
        width: 100%;
        padding: 0;
    }

    #rightOffer{
        margin-bottom: 130px;
    }

    #offer table{
        font-size: 47px;
    }

    #offer td {
        color: #6c7c88;
        padding-bottom: 15px;
    }
}

@media all and (max-device-width:750px) and (orientation: landscape) {

    #leftOffer, #rightOffer{
        width: 95%;
        padding: 0;
    }

    #rightOffer{
        margin-bottom: 130px;
    }

    #leftOffer{
        border-right:none; 
    }

    #offer table{
        font-size: 34px;
    }

    #offer td {
        color: #6c7c88;
        padding-bottom: 15px;
    }
}


/* Style for 'download' section */

#download {
    clear: both;
    background-color: #788896;
    color: #dae1e6;
    padding-bottom: 100px;
  
}

#downloadtitle{
    color: #3b454d;
}

#download .articleLeft{
    margin: 50px 20px;
    width: 29%;
    float: left;
}

#download .articleLeft2{
    margin: 50px 20px;
    width: 43%;
    float: right;
}

#download a{
    display: block;
    text-align: center;
    font-size: 21px;
    background-color:#90cf36;
    text-decoration: none;
    color:#ffffff;  
    margin: 0 auto; 
    width: 270px;
    height: 55px;
    line-height: 45px; 
    padding-top: 10px;
}

#download .articleLeft p, .container2 .articleLeft2 p, .container2 .articleLeft3 p{
    padding: 5px 0 10px;
    margin: 0;
    text-align: center;
}

#download h1{
    color: #ffffff;
    margin: 30px 0;
}

.secondtitledl{
    clear:both;
}

#download .articleLeft3{
    margin: 50px 80px 50px 20px;
    width: 29%;
    float: right;
}

#download .articleLeft3 p{
    text-align: center;
   margin: 0;
}

#download .articleLeft4
{
    width: 90%;
}

@media all and (max-width: 1600px) {

   #download a {
        display: block;
        text-align: center;
        font-size: 20px;        
        height: 50px;
        line-height: 45px;
        width: 245px;
    }    
}

@media all and (max-width: 1200px) {

    #download a {
        display: block;
        text-align: center;
        font-size: 20px;      
        height: 50px;
        line-height: 45px;
        width: 250px;
    }

    #download  p{
        font-size: 17px;
    }

    #download .articleLeft {
        margin: 30px 10px;
    }

    #download .articleLeft2 {
        margin: 50px 20px 0px 20px;
    }

    #download .lastElementOfSection{
        padding-bottom: 60px;
    }
}

@media screen and (max-width: 1024px) {

    
    #download .articleLeft,  #download .articleLeft2,  #download .articleLeft3 {
        margin: 5px 0px;
        width: 100%;
        text-align: center;
    }  

    #download a{        
        display: block;
        padding: 0px;
        width: 250px;
        height: 45px;
        line-height: 45px;
        margin: 0 auto;
    } 

    #download .articleLeft p, .container2 .articleLeft2 p,  .container2 .articleLeft3 p{
        margin: 0px 0px 10px;
        padding: 10px 0px;
        //font-size: 25px !important;
    }   
}

@media all and (max-device-width: 800px) and (orientation:portrait) {

    #download .articleLeft, #download .articleLeft2,  #download .articleLeft3 {
        margin: 5px 0px;
        width: 100%;
        text-align: center;
    }  

    #download a{        
        display: block;
        padding: 0px;
        width: 250px;
        height: 45px;
        line-height: 45px;
        margin: 0 auto;
    } 

    #download .articleLeft p, .container2 .articleLeft2 p, .container2 .articleLeft3 p{
        margin: 0px 0px 10px;
        padding: 10px 0px;
        font-size: 25px !important;
    }   
}

@media all and (max-device-width: 750px) and (orientation:portrait) {

    #download .container2{
        margin: 0px;
        width: 100%;
    }

    #download .articleLeft,  #download .articleLeft2,  #download .articleLeft3 {
        margin: 5px 0px;
        width: 100%;
        text-align: center;
    }  

    #download a {
        display: block;
        padding: 14px;
        width: 90%;
        height: 100px;
        line-height: 100px;
        margin: 0 auto;
        font-size: 53px;
    }

    #download .articleLeft p, .container2 .articleLeft2 p, .container2 .articleLeft3 p{
        margin: 0px 0px 30px;
        padding: 30px 0px;
        font-size: 40px !important;
    }   

    .secondtitledl{
        margin: 0px;
    }
}

@media all and (max-device-width: 800px) and (orientation:landscape){

    #download .container2{
        margin: 0px;
        padding: 0px; 
        width: 100%;       
    }

    #download .articleLeft,  .container2 .articleLeft2,  .container2 .articleLeft3 {
        margin: 5px 0px;
        width: 100%;
        text-align: center;
    }  

    #download a{        
        display: block;
        padding: 0px;
        width: 100%;
        height: 45px;
        line-height: 45px;
        margin: 0 auto;
    } 

    #download .articleLeft p,  .container2 .articleLeft2 p,  .container2 .articleLeft3 p{
        margin: 0px 0px 10px;
        padding: 10px 0px;
        font-size: 25px !important;
    }   

    #download a {
        font-size: 40px;
        padding: 30px 25px;
    }
}


/* Style for 'directory' section*/

#directory .container{
    padding:0 0 60px;
}


#directory h1{
    margin: 40px 0;
}


#directory td{
    color: #6c7c88;
    //line-height:  200%;
}

#leftDirectory{
    width:48%;     
    padding-right: 25px;
}

#rightDirectory{
    border-left:solid 1px #4f5c67;
    padding-left: 6%;
    width:43%;
}

@media screen and (max-width: 1200px) {
    #leftDirectory, #rightDirectory
    {
        width: 100%;    
        padding: 0px;
        border: none;
    }
}

@media all and (max-device-width: 1200px) {
    #directory td{
       font-size: 20px;
    }
}

@media all and (max-device-width: 750px) {
    #directory td{
       font-size: 47px;
    }
}


@media all and (max-device-width: 1000px) and (max-width:800px) and (orientation:portrait) {

   
}



@media all and (max-device-width: 750px) and (orientation:landscape){

    #directory td{
       font-size: 34px;
    }
}


/* Style for 'contact' section */

#contact{
    padding: 80px 0 70px 0;
    background-color: #3b454d;
    overflow: hidden;
    color:#ffffff;
    line-height: 160%;
    text-align: left;
}


#contact a{
    color:#ffffff;
    text-decoration: none;
    padding: 0px;
    display: inline;
}

#contact a:hover{
    text-decoration: underline;
}

#hrFooter{
    background-color:#434e57;
    height:2px;
    margin-top: 8px;
}

.contactType{
    color:#748491;
    font-size: 22px;
}

.line{
    width:32%;
    margin-left: 25px
}

.adressWidth{
    padding-left: 3%;
    width:23%;
}


@media all and (max-width: 1460px) {

    .line {
        width: 23%;
        margin-left: 25px;
    }
}

@media all and (max-device-width: 1200px){
    .line {
        width: 10%;
        margin-left: 20px;
    }
  
    #contact .articleRight, #contact .articleLeft{
        font-size: 18px;
    }

    .contactType {
        font-size: 18px;
    }

    .adressWidth{
        padding-left: 3%;
        width:28%;
    }
}




@media screen and (max-width: 1024px){
    
   

    #contact .articleLeft{
        float: left;
    }

    #contact > div > div:first-child{
        width: 147px;
        height: 17px;
        float: left;
    }

    div.line {
        box-sizing: border-box;
        width: 70% !important;
        margin: 0px 0px 0px 20px;
        height: 17px;        
    }
  
    #contact div div #hrFooter{
        width: 100%;

    }
    
    .contactType {
        font-size: 18px;
    }

    #contact div div.adressWidth{
        padding: 20px 0px;
        width: 50%;
    }
}

@media screen and (max-width: 600px){
    
    #contact div div:first-child{         
        float: left;
    }

    div.line {
        box-sizing: border-box;
        width: 50% !important;
        margin: 0px 0px 0px 20px;
        height: 17px;            
    }
  
    #contact div div #hrFooter{
        width: 100%;

    }
    
    .contactType {
        font-size: 18px;
    }

    #contact div div.adressWidth{
        padding: 20px 0px;
        width: 50%;
    }
}



@media screen and (max-width: 480px){
    
    div.line {
        box-sizing: border-box;
        width: 35% !important;
        margin: 0px 0px 0px 20px;
        height: 17px;            
    }
  
    #contact div div #hrFooter{
        width: 100%;

    }
    
    .contactType {
        font-size: 19px;
    }

    #contact div div.adressWidth{
        padding: 20px 0px;
        width: 100%;
    }
}


@media all and (max-device-width: 1000px) and (max-width:800px) and (orientation:portrait) {
    #contact .articleRight, #contact .articleLeft{
       width: 100% !important;
    }    

    .contactType{
        font-size: 26px;
    }
}

@media all and (max-device-width: 800px) and (orientation:landscape){

    #contact {
        line-height: 160%;
    }

    #contact .articleRight, #contact .articleLeft{
       width: 100% !important;
       float: left;
    }
    

    div.line {
       display: none;          
    }
}

@media all and (max-device-width: 750px) and (orientation:landscape){

    #contact .articleRight, #contact .articleLeft{
       line-height: 160%;
       width: 100% !important;
       float: left;
       font-size: 35px;
    }

    div.line {
       display: none;          
    }

    .adressWidth{
        font-size: 18px;
    }

    #contact img {
        width: 280px;
    }

    .contactType{
        font-size: 35px;
    }
}

@media all and (max-device-width: 750px) and (orientation:portrait){
    #contact .articleRight, #contact .articleLeft{
       line-height: 160%;
    }

    div.line {
       display: none;          
    }
  
    #contact div div #hrFooter{
        width: 100%;

    }
    
    .contactType {
        font-size: 42px;
        padding-top:10px;
    }

    #contact div div.adressWidth{
        padding: 20px 0px;
        width: 100%;
        font-size: 40px;
    }

    #contact img {
        width: 340px;
    }
}

/* style for modal */

#modal{
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 1500;
    background-color: #B5BCC8;
    opacity: 0.5;
}

#modalcontent{
    position:fixed;
    margin: 0 auto;
    top: 20%;
    left: 30%;
    width: 40%;
    z-index: 1501;
    background-color: rgba(255,255,255,1);
    text-align: justify;
    box-shadow: 8px 8px 60px #444444;
    overflow:hidden;
}

#modalcontent h1{
    background-color: #3b454d;
    color: #ffffff;
    padding: 15px;
    text-align: center;
    margin: 0;
    font-size: 20px;
} 

#modalcontent p{
    padding: 40px 50px;
    text-align: center;
}

#modalcontent #button{
    background-color: #90CF36;
    height: 45px;
    line-height: 45px;

    width: 200px;
    margin: 0 auto;
    text-align: center;   
    color: #ffffff;
    font-size: 19px;
    margin-bottom: 35px;
    cursor: pointer;
}

@media all and (max-width: 1200px){

    #modalcontent{
        left: 23%;
        width: 59%;
        top: 10%;
    }
}

@media all and (max-device-width: 900px) and (orientation:portrait){

    #modalcontent{
        width: 75%;
        height: 80%;
        top: 6%;
        height: 70%;
        left: 13%;
    }

    #modalcontent h1{
        font-size: 40px;
        padding: 28px;
    }

    #modalcontent p{
        font-size: 33px;
    }

    #modalcontent #button{
        font-size: 40px;
        height: 50px;
        width: 60%;
        padding-top: 16px;
    }
}

@media all and (max-device-width: 700px) and (orientation:portrait){

    #modalcontent
    {
        height: 60%;
    }

    #modalcontent h1{
        font-size: 34px;
        padding: 25px;
    }

    #modalcontent p{
        font-size: 34px;
    }

    #modalcontent #button{
        font-size: 38px;
        height: 30px;
        padding: 21px 0 31px;
    }
}

@media all and (max-device-width: 700px) and (orientation:landscape){

    #modalcontent
    {
        height: 90%;
        top: 15px;
    }

    #modalcontent h1{
        font-size: 18px;
        padding: 10px;
    }

    #modalcontent p{
        font-size: 16px;
        padding: 15px 25px;
    }

    #modalcontent #button{
        font-size: 20px;
        padding: 7px 0px 20px 0px;
        height: 30px;
    }
}