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

/*
 * -- BASE STYLES --
 * Most of these are inherited from Base, but I want to change a few.
 */
body {
    font-size: 14px;
    font-family: lato;
    color:black;

}

h1,
h2,
h3,
h4,
h5,
h6,
label {
    font-family: lato, sans-serif;

}

.caixa_social .fa {
    font-size: 4em;
    

}







#map-canvas, #map-input {
    height:360px;
}



h2, h3 {
    margin:2em 0 1em 0 ;

} 

p {
        font-family: lato;

    margin-bottom:4em; 

}

.pure-img-responsive {
    max-width: 100%;
    height: auto;
}

.pure-g {

}



.hrs {
margin: 1em;
height: 2px; 
background-color: black; 
text-align: center;

}


.cinquenta {
    display:block;
width:50%;
margin-left: auto;
margin-right: auto;

}


.sessenta {
        display:block;

width:60%;
margin-left: auto;
margin-right: auto;

}



.coracao
{
    padding-right: 25px;
    padding-left: 25px;
    background-color: #F3EED7;
    position: relative; top: -0.5em;
    color:black;
}



/*
 * -- LAYOUT STYLES --
 * These are some useful classes which I will need
 */
.l-box {
    padding: 0 4em 0 4em;
}

.l-box-lrg {
    padding: 2em;
    border-bottom: 0 solid rgba(0,0,0,0.1);
}


.slideshu {
    padding: 0;
}

.is-center {
    text-align: center;
}



/*
 * -- PURE FORM STYLES --
 * Style the form inputs and labels
 */
.pure-form label {
    margin: 1em 0 0;
    font-weight: bold;
    font-size: 100%;
    text-transform: uppercase;
}

.pure-form input[type] {
    border: 1px solid black;
    box-shadow: none;
    font-size: 100%;
    margin-bottom: 1em;
    border-radius: 2px;

}


.form-group {
    display: inline;

}


/*
 * -- PURE BUTTON STYLES --
 * I want my pure-button elements to look a little different
 */
.pure-button {
    background-color: #D10019;
    color: white;
    padding: 1em 14em;
    border-radius: 2px;
    text-transform: uppercase;
    border-width: 1px;
    border-color: black;
    border-style: solid;


}

a.pure-button-primary {
    background: black;
    color: #1f8dd6;
    border-radius: 2px;
    font-size: 260%;
}


/*
 * -- MENU STYLES --
 * I want to customize how my .pure-menu looks at the top of the page
 */

.home-menu {
    padding: 0.5em;
    text-align: center;
    box-shadow: 0 1px 1px rgba(0,0,0, 0.10);
}
.home-menu.pure-menu-open {
    background: #2d3e50;
}
.pure-menu.pure-menu-open.pure-menu-fixed {
    /* Fixed menus normally have a border at the bottom. */
    border-bottom: none;
    /* I need a higher z-index here because of the scroll-over effect. */
    z-index: 4;
}

.home-menu .pure-menu-heading {
    color: white;
    font-weight: 400;
    font-size: 120%;
}

.home-menu .pure-menu-selected a {
    color: white;
}

.home-menu a {
    color: #6FBEF3;
}
.home-menu li a:hover,
.home-menu li a:focus {
    background: none;
    border: none;
    color: red;
}


/*
 * -- SPLASH STYLES --
 * This is the blue top section that appears on the page.
 */


h1   {  

    background-image: url("http://www.joseguimaraes.pt/img/logo_so.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 220px ;
    margin: auto !important;


    height: 240px;
    width: 240px;
    text-indent: -3333px;
    border: 0;
    margin: 0;


}


.splash-container {
    background-color: #F3EED7;
    z-index: -1;
    overflow: hidden;

    border-width: 0;
    border-color: black;
        border-style: solid;


    /* The following styles are required for the "scroll-over" effect */
    width: 100%;
    height: 88%;
    top: 0;
    left: 0;
    position: fixed !important;
}

.splash {
    /* absolute center .splash within .splash-container */
    width: 80%;
    height: 50%;
    margin: auto;
    position: absolute;
    top: -80px; left: 0; bottom: 0; right: 0;
    text-align: center;

}

/* This is the main heading that appears on the blue section */
.splash-head {
    font-size: 20px;
    font-weight: bold;
    border: 0 solid white;
    padding: 1em 1.6em;
    font-weight: 300;
    border-radius: 5px;
    line-height: 1em;

}

/* This is the subheading that appears on the blue section */
.splash-subhead {
    color: black;
    opacity: 1;
}

/*
 * -- CONTENT STYLES --
 * This represents the content area (everything below the blue section)
 */
.content-wrapper {
    /* These styles are required for the "scroll-over" effect */

    border-width: 0;
    border-color: black;
        border-style: solid;
    position: absolute;
    top: 87%;
    width: 100%;
    min-height: 12%;
    z-index: 2;
    background-repeat:no-repeat;
    background-color: #F3EED7;

}

/* This is the class used for the main content headers (<h2>) */
.content-head {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.fale h2 {
    color: black;
}

.fale  {
    color: black;
}


.creme .caixa_social  {
    color: #F3EED7;  

}

.caixas {
    margin-bottom: 2em;  
    font-size: 75%;

}






#carouselo {
        margin: auto;
    }


.caixa_social {
text-decoration:none;

    background-color: #D10019;
    background-color: black;

    border-color: black ;
    border-style: solid;
    border-width: 2px;
    margin-left: 1%;
    margin-right: 1%;
    width: 23%;
height: 0;
padding-bottom: 20%;
text-align: center;
transition: background-color 0.6s ease;
}  







.creme .caixa_social:hover,
.creme .caixa_social:hover a

 { background-color: #F3EED7;
    text-decoration:none;

    color: black ;

}



.is-center {
    margin-left: auto;
    margin-right: auto;
   
    }     


.vermelho h2 {
    margin-top: 1em;
    }

.vermelho {
     background-color: black;
         color: #F3EED7; 
    }


.creme {
        background-color: #F3EED7;
    }





/* This is a modifier class used when the content-head is inside a ribbon */
.content-head-ribbon {
}

/* This is the class used for the content sub-headers (<h3>) */
.content-subhead  {
}

.content-subhead i {
        margin-right: 7px;
    }

/* This is the class used for the dark-background areas. */
.ribbon {
    background: black;
}

.ribbon {
    color: #F3EED7;

}

/* This is the class used for the footer */
.footer {
    background: #111;
}

/*
 * -- TABLET (AND UP) MEDIA QUERIES --
 * On tablets and other medium-sized devices, we want to customize some
 * of the mobile styles.
 */
@media (min-width: 48em) {

    /* We increase the body font size */
    body {
        font-size: 16px;
    }
    /* We want to give the content area some more padding */
    .content {
        padding: 1em;
    }

    /* We can align the menu header to the left, but float the
    menu items to the right. */
    .home-menu {
        text-align: left;
    }
        .home-menu ul {
            float: right;
        }

    /* We increase the height of the splash-container */
/*    .splash-container {
        height: 500px;
    }*/

    /* We decrease the width of the .splash, since we have more width
    to work with */
    .splash {
        width: 50%;
        height: 50%;
    }

    .splash-head {
        font-size: 250%;
    }


    /* We remove the border-separator assigned to .l-box-lrg */
    .l-box-lrg {
        border: none;
    }

}






/*
 * -- DESKTOP (AND UP) MEDIA QUERIES --
 * On desktops and other large devices, we want to over-ride some
 * of the mobile and tablet styles.
 */
@media (min-width: 78em) {
    /* We increase the header font size even more */
    .splash-head {

    }

    .caixa_social .fa {
}
}



@media (max-width: 1020px) {

    .caixa_social h2 {
        margin-top: 1.5em;
    }

    .caixa_social .fa {

    }
}



@media (max-width: 864px) {

h2 {
font-size:2em;

} 

    .caixa_social h2 {
font-size:140%;

} 

.vermelho {
padding: 1.2em;
} 

p {
margin-bottom: 1em;
}

.content {
margin-bottom: 1em;
}

h2, h3 {
margin-bottom: 0.2em;
}

.ribbon {
padding-top: 0;
}

} 



@media (max-width: 740px) {


.caixa_social h2 {
font-size: 120%;
margin-bottom: 0.6em;
} 

.caixa_social .fa {
    font-size: 200%;
} 

.pure-button {
    background-color: #D10019;
    color: white;
    padding: 1em 4em;
    border-radius: 2px;

}

a.pure-button-primary {
    background: black;
    color: #1f8dd6;
    border-radius: 2px;
    font-size: 260%;
}

} 



@media (max-width: 480px) {


.splash {
 top: -180px; 
}


    .content-head {
 letter-spacing: inherit; 
}


.pure-form input[type] {
    text-align: center;
margin-left: auto;
margin-right: auto;
}


.caixa_social h2 {
font-size:80%;
margin-top: 1em;

} 

.caixa_social .fa {
font-size: 160%;

} 

.content-wrapper {
    top: 100%;
}

.splash-container {
    height: 100%;
}


} 