﻿html {
    min-width: 609px;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -ms-font-smoothing: antialiased;
    -o-font-smoothing: antialiased;
    font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default
input,
select,
textarea {
    max-width: 280px;
}*/

a {
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
    color: #232222;
    text-decoration: none;
}

    a:hover, a:focus, a:active {
        color: #000000;
        text-decoration: none;
    }

.alinks:hover {
    filter: Alpha(Opacity=70);
    -moz-opacity: 0.7;
    -khtml-opacity: 0.7;
    opacity: 0.7;
    color: #333333;
}

.has-error .help-block {
    font-size: 0.7em;
    color: red;
    margin: 0 15px 0 15px;
    background-color: white;
    padding: 0 5px 0 10px;
    border: #a94442 1px solid;
    border-top: none;
    -webkit-border-bottom-right-radius: 10px;
    -webkit-border-bottom-left-radius: 10px;
    -moz-border-radius-bottomright: 10px;
    -moz-border-radius-bottomleft: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.has-error .control-label {
    color: rgb(139, 139, 139);
}

/* ------------------------------------------------ */

/* MISC STUFF */

div#loginSection {
    z-index: 1035;
    position: fixed;
    top: -10px;
}

#loginPartial {
    clear: both;
    margin-top: 10px;
    margin-bottom: 10px;
}

#social {
    clear: right;
    margin: 20px 5px 0 5px;
    text-decoration: none;
}

@media (min-width: 768px) {
    #social {
        clear: right;
        margin: 10px 20px 15px 35px;
    }
}

#social a {
    color: #646464;
    /*margin-left: 5px;*/
    text-decoration: none;
}

    #social a:hover {
        color: black !important;
    }

.lngLink {
    /*text-decoration: underline;*/
    margin-left: 5px;
}

    .lngLink a {
        text-decoration: none;
        color: rgb(141, 131, 183);
    }

        .lngLink a:hover {
            text-decoration: none;
            color: black;
        }

/* /misc stuff */

/* ------------------------------------------------ */

/* NAVBAR default CUSTOM STYLES */
.navbar {
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
}

.navbar-brand {
    /*padding-left: 0;*/
    /*padding-right: 0;*/
    padding-top: 3px;
}

    .navbar-brand > img {
        /*top: -63px;*/
        position: relative;
    }

.navbar-nav {
    position: relative;
    top: 0;
    right: 10px;
    clear: right;
}

@media (min-width: 768px) {
    .navbar-nav {
        position: relative;
        top: 0;
        clear: right;
        right: 0;
    }

    .navbar-brand {
        /*padding-left: 0;*/
        /*padding-right: 0;*/
        padding-top: 20px;
    }
}

.navbar-default {
    background-color: #ffffff;
    background-color: rgba(255, 255, 255, .7);
    border: none;
    /*margin-bottom: 50px;*/
}

#navbar.in, #navbar.collapsing {
    background-color: #ffffff;
    background-color: rgba(255, 255, 255, .7);
    padding-right: 15px;
    text-align: right;
}

.navbar-default .navbar-toggle {
    /*margin-top: 42px;*/
    margin-top: 15px;
}

/* Items */
.navbar-default .navbar-nav > li {
    padding-left: 5px;
}

    .navbar-default .navbar-nav > li > a {
        color: #8d83b7;
        font-size: 1.4rem;
        padding: 3px 20px 17px 5px;
        text-transform: uppercase;
    }

@media (max-width: 767px) {
    .navbar-default .navbar-nav > li > a {
        padding: 10px 10px 5px 10px;
    }
}

/* Items activos/selecionados */

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > li.active a {
    font-weight: 700;
    color: #8d83b7;
    position: relative;
    background-color: transparent;
}


/*
@media (min-width: 997px) {

    .navbar-nav > li > a {
        font-size: 2rem;
    }
}
*/

/*.navbar-text {
    font-size: 2rem;
    margin-top: 14px;
    margin-bottom: 6px;
    margin-left: 16px;
}*/

.navbar-collapse {
    /*padding-right: 0;*/
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: rgba(255,255,255,0.4);
}

.navbar-toggle {
    padding: 10px 10px;
}
/* /navbar */

/* ------------------------------------------------ */

/* VARIAS SECTIONS */

div.setaNav {
    text-align: center;
    font-size: 3rem;
    position: relative;
    bottom: 135px;
    z-index: 10;
    -webkit-transition: all 1.3s linear;
    -moz-transition: all 1.3s linear;
    -o-transition: all 1.3s linear;
    transition: all 1.3s linear;
}

    div.setaNav a {
        color: white;
    }

        div.setaNav a:hover {
            color: #8d83b7;
        }

section {
    /*padding-bottom: 50px;*/
}

    section#backofficeMenu {
        padding-top: 105px;
        /*padding-bottom: 50px;*/
    }

    section .titulo {
        text-align: center;
        font-size: 3.3rem;
        font-weight: 300;
        margin-bottom: 20px;
    }

    section .descricao {
        text-align: center;
        margin-bottom: 40px;
    }



    section#first {
        padding-bottom: 0;
        margin-bottom: -200px;
        position: relative;
        top: -106px;
        overflow: hidden;
    }

        section#first img.barraBranca {
            position: relative;
            bottom: 60px;
            text-align: center;
            left: 50%;
            margin-left: -960px;
        }

        section#first img {
            margin: 0 auto;
        }

    /* ------------------------------------------------- */

    section#produtosEmDestaque {
        position: relative;
        top: -95px;
        margin-bottom: 50px;
        padding-top: 95px;
    }

        section#produtosEmDestaque .item {
            text-align: center;
        }

            section#produtosEmDestaque .item img {
                margin: 0 auto;
            }

        section#produtosEmDestaque .itemTitulo {
            margin-top: 20px;
            font-size: 1.8rem;
            line-height: 1.8rem;
        }

        section#produtosEmDestaque .itemDescricao {
            font-size: 1.7rem;
        }

div.circleWrap {
    max-width: 200px;
    max-height: 200px;
    overflow: hidden;
    position: relative;
    /* it is optional, for making this div centered in parent*/
    margin: 0 auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

    div.circleWrap div.circle-avatar {
        /* make it responsive */
        max-width: 100%;
        width: 100%;
        height: auto;
        display: block;
        /* div height to be the same as width*/
        padding-top: 100%;
        /* make it a cirkle */
        -ms-border-radius: 50%;
        border-radius: 50%;
        /* Centering on image`s center*/
        background-position: center center;
        background-repeat: no-repeat;
        /* it makes the clue thing, takes smaller dimention to fill div */
        -ms-background-size: cover;
        background-size: cover;
    }

/* ------------------------------------------------- */

section#quemSomos {
    overflow: hidden;
}

    section#quemSomos .barraLilas {
        position: relative;
    }

        section#quemSomos .barraLilas img {
            position: relative;
            top: 0;
            text-align: center;
            left: 50%;
            margin-left: -960px;
        }

        section#quemSomos .barraLilas .setaNav {
            bottom: 145px;
        }

            section#quemSomos .barraLilas .setaNav a {
                color: #8d83b7;
            }

/* ------------------------------------------------- */

section#produtos .titulo {
}

section#produtos .produtosItem {
}

    section#produtos .produtosItem .produtosHead {
        position: relative;
    }

    section#produtos .produtosItem .produtosHead .produtoImgWrap {
        width: 100%;
        max-height: 350px;

        overflow: hidden;
    }
        section#produtos .produtosItem .produtosHead .produtoImgWrap img {
            width: 100%;
        }
        section#produtos .produtosItem .produtosHead .produtosTitulo {
            position: absolute;
            bottom: 20px;
            text-align: center;
            background-color: rgba(255, 255, 255, 0.7);
            color: black;
            width: 100%;
            font-size: 2.3rem;
        }

    section#produtos .produtosItem .produtosBody {
        text-align: center;
        margin-top: 20px;
        margin-bottom: 50px;
    }

/* ------------------------------------------------- */

section#contactos {
    background-color: rgb(122, 195, 158);
    overflow: hidden;
    color: white;
    padding-bottom: 50px;
}

    section#contactos a {
        color: white;
    }

        section#contactos a:hover {
            color: white;
            text-decoration: underline;
        }

    section#contactos .barraVerde {
        position: relative;
        /*top: -1px;*/
    }

        section#contactos .barraVerde img {
            position: relative;
            top: 0;
            text-align: center;
            left: 50%;
            margin-left: -960px;
        }

        section#contactos .barraVerde .setaNav {
            top: -50px;
        }

            section#contactos .barraVerde .setaNav a {
                color: white;
            }

    section#contactos .morada {
        text-align: center;
    }

@media (min-width: 768px) {
    section#contactos .morada {
        text-align: left;
    }
}

section#contactos .formulario {
    margin-top: 33px;
}

div#footer {
    padding-top: 35px;
    padding-bottom: 10px;
}
