* {
  outline: none; 
}

/* General */ 
html {
    height: 100%;
    font-family: 'Roboto', sans-serif;
}

h1 {
    color: #ccc;
    margin-bottom: 20px;
    font-size: 23px;
}

h2 {
    font-size: 20px;
}

h3 {
    font-size: 16px;
    margin-bottom: 10px;
    margin-top: 5px;
}

h4 {
    font-size: 15px;
    margin-bottom: 9px;
    margin-top: 5px;
}

p {
    margin: 5px;
}

/* Body and content wrapper */ 

body {
    margin: 0;
    background-image: url("images/bg.png"); 
    height: 100%; 
}

.wrapper {
    width: 960px;
    margin: 0 auto;
    position: relative;
    min-height: 100%; 
    padding-bottom: 100px;
    -webkit-box-shadow: 0px 5px 10px 0px rgba(15, 15, 15, 0.9);
    -moz-box-shadow: 0px 5px 10px 0px rgba(15, 15, 15, 0.9);
    box-shadow: 0px 5px 10px 0px rgba(15, 15, 15, 0.9);
    background-color: #222;
}

#slider {
    width: 960px;
    height: 350px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

#slider .msg {
    position: absolute; 
    top: 10px; 
    right: 10px;
    color: white; 
    text-align: right;
    z-index: 100;
}

#slider .msg a {
    text-decoration: none; 
    color: #fff;
}

#slider .msg h2 {
    background-color: black;
    padding: 5px 10px;
    text-align: right;
    opacity: 0.7;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 5px;
    margin-top: 5px;
}

#slider .msg h2:hover {
    font-style: oblique;
}

#slider img {
    width: 100%;
    display: none;
    z-index: -1;
}

#slider img.active {
    display: initial;
}

/* Home content */ 

#content {
    width: 720px;
    margin: 0 auto;  
    margin-top: 50px;
}

/* Info od Index */ 

.intro-info {
    display: inline-block;
    border-radius: 60px;
    background-color: #181818;
}

.intro-info img {
    float: left;
    max-width: 120px;
    margin-right: 50px;
}

.intro-info p {
    color: #ccc;
    margin-right: 50px;
    font-size: 14px;
    margin-top: 18px;
}

/* Info Content */ 

#info-content {
    width: 840px;
    color: #ddd;
    margin: 0 auto;
    margin-top: 50px;
    display: block;
}

#info-content div {
    width: 400px; 
    margin-right: 15px;
    display: inline-block;
    font-size: 14px;
}

/* Contact */ 

#contact-content {
    width: 720px;
    margin: 0 auto;
    margin-top: 50px;
    color: #ccc; 
}

#contact-content img {
    width: 300px;
    height: auto;     
    display: inline-block;
    float: left;
    margin-right: 15px;
    border-radius: 5px;
}

#contact-content p {
    font-size: 13px;
}

#contact-content p.inline {
    display: inline;
    margin-right: 5px;
}

#contact-content a {
    text-decoration: none;
    color: #ed3838;
    font-weight: bold;
}

#contact-content a:hover {
    text-decoration: underline;
}

/* Footer */ 

#footer {
    position: absolute; 
    bottom: 0; 
    width: 100%; 
    margin: 0;
    border-top: 1px dashed #444; 
    color: #aaa;
    text-align: center;
    padding-bottom: 5px;
}

#footer p {
    margin-bottom: 0;
    font-size: 13px;
}

#footer a {
    text-decoration: none; 
    color: #aaa;
}

/* Phones and similar devices */ 

@media screen and (max-width: 959px) {    
    /* General */

    .wrapper, #content {
        width: 100%; 
    }
    
    /* Navigation */ 

    #navbar td {
        height: 50px;
    }  

    #navbar td a {
        font-size: 16px;
        font-weight: bold;
    }

    /* Slider */  

    #slider {
        width: 100%;
        max-height: 200px;;
    }
    
    .msg h2 {
        font-size: 18px;
    } 
    
    /* Intro bubble */   

    .intro-info {
        width: 90%; 
        font-size: 14px;
        border-radius: 70px;
        margin-left: 10px;
    }

    .intro-info img {
        margin-right: 20px;
        max-width: 140px;
    }

    .intro-info p {
        margin-top: 15px;
    }
    
    /* Informations */ 

    #info-content, #contact-content {
       width: 95%;  
    }
    
    #info-content div {
       display: block; 
       margin-bottom: 15px;
       font-size: 15px;
       width: 90%; 
    } 
     
    #info-content h2, #contact-content h2 {
        font-size: 25px;
    }
    
    /* Contact */ 

    #contact-content img {
        width: 75%; 
        float: none;
        margin-bottom: 15px;
    }

    #contact-content p, #contact-content a {
        font-size: 14px;
    }

    #contact-content a {
        color: #f94f4f;
    }
}

@media screen and (max-width: 639px) { 
    /* Slider */ 
    .msg h2 {
        font-size: 15px;
    } 
    
    /* Info bubble (or bubble no more) */  

    .intro-info {
        width: 95%; 
        margin: 0 auto; 
        padding: 10px;
        text-align: center;
        border-radius: 0;
    }

    .intro-info img {
        display: none;
    }

    .intro-info p {
        margin: 0;
        font-size: 15px;
    }
    
    /* Contact */ 

    #contact-content img {
        width: 90%; 
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 479px) {
    .msg h2 {
        font-size: 14px;
    }   

    #slider img {
        height: 350px;
        width: auto;
        vertical-align: top;
    }
}

@media screen and (max-width: 319px) {    
    /* No more fitting to screen (screen to tight) */ 

    .wrapper {
        width: 319px; 
    }
}
