/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
html, button, input, select, textarea {
    color: #222222;
    font-family: Arial,Helvetica,sans-serif !important;
}

body {
    background-color: #f3f2f2;
    font-size: 14px;
    margin: 0;
}

select, textarea, input{border-radius: 4px 4px 4px 4px;color: #555555;display: inline-block;font-size: 14px;line-height: 20px;margin-bottom: 10px;padding: 4px 6px;vertical-align: middle;}
button, input[type="button"], input[type="reset"], input[type="submit"] {cursor: pointer;}
input[type="submit"] { background-color: #446B70; border: medium none; border-radius: 5px 5px 5px 5px; color: #FFFFFF; line-height: 12px;}

input{height: 20px;}
select {border: 1px solid #cdcdcd;-webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;color: #d1d1d1;font-size: 15px;width: 181px;}


img{border: 0;}

.clear{clear: both;}

.MainContent, .MainContent1 { min-height:380px; background:url(/SiteCollectionImages/VIAS_TheBackground_03.jpg) bottom left no-repeat; margin: 0px 0px 10px 10px; padding: 0px; width: 940px;}
.MainContent1 { background:none; }
.container{background-color: #ffffff;margin: 0 auto;width: 960px;margin-top: 21px;padding: 10px 10px 10px 10px;-webkit-border-radius: 10px 10px 10px 10px;-moz-border-radius: 0 0 10px 10px;border-radius: 0 0 10px 10px;}
.header{height: 122px;}
.header .logo{background: url(/SiteCollectionImages/logo.png) no-repeat scroll 0 0 transparent;text-indent: -9999px;width: 529px;height: 116px;float: left;margin: 0px -6px 0px 0px}
.login ul li{list-style: none;float: left;}
.login ul .nome input{color: #5c5c5c;width: 155px;height: 24px;background-color: #f8f8f8;border: none;margin-right: 10px;}
.login ul .passe input{color: #5c5c5c;width: 130px;height: 24px;background-color: #f8f8f8;border: none;margin-right: 10px;}
.login ul li .but_login {background-color: #446b70;border: medium none;border-radius: 5px 5px 5px 5px;color: #FFFFFF;float: right;height: 31px;width: 64px;}
.login ul li .but_login:hover{background-color: #2a4e53;}
.login ul .recuperar a{text-decoration: underline;font-size: 12px;color: #000000;}
.login ul .recuperar a:hover{text-decoration: none;}
.slider{padding-bottom: 20px;}
.separate{border-top: 1px dashed #d0d0d0;margin-top: 5px;}
.main{margin-top: 30px;}
.main .video{width: 534px;float: left;}
.main .video .gestao, .main .registo .reg  {border-left:12px solid #5fa600;color: #000000;font-size: 18px;margin-bottom: 20px;padding: 0 0 0 10px;line-height: 16px;margin:0 0 15px 0;}
.main .video .gestao span, .main .registo .reg span{color: #606060;font-size: 14px;}
.main .video .videoContent{width: 514px;height: 288px;}
.main .registo{-webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;min-height: 334px;width: 420px;border: 1px solid #a8bcbd;background-color: #fafafa;float: left;position: relative;}
.main .registo .reg{margin: 15px 0 0 15px;}
.main .registo .email input{border: 1px solid #cdcdcd;-webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;color: #5c5c5c;font-size: 12px;margin-top:25px;margin-left: 15px;margin-bottom:10px;width: 375px;}
.main .registo .password input{border: 1px solid #cdcdcd;-webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;color: #5c5c5c;font-size: 12px;margin-left: 15px;width: 167px;float: left;}
.main .registo .repita input{border: 1px solid #cdcdcd;-webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;color: #5c5c5c;font-size: 12px;width: 167px;margin-left: 27px;}
.main .registo .utilizador select{border: 1px solid #cdcdcd;-webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;color: #5c5c5c;font-size: 12px;width: 181px;margin-left: 15px;height: 30px;float: left;}
.main .registo .habilitacoes select{border: 1px solid #cdcdcd;-webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;color: #5c5c5c;font-size: 12px;width: 181px;margin-left: 27px;height: 30px;}
.main .registo .data {position: relative; bottom: 9px;}
.main .registo .data ul{list-style: none;margin-left: 15px;padding: 0;}
.main .registo .data .nascimento{color: #040500;font-size: 12px;float: left;line-height: 30px;}
.main .registo .data ul li input{text-align:center; border: 1px solid #CDCDCD;border-radius: 5px 5px 5px 5px;color: #5c5c5c;float: left;font-size: 12px;height: 20px;margin-left: 15px;width: 39px;}
.main .registo .data ul .ano input{width: 91px;}
.main .registo .condicoes .check{float: left;}
.main .registo .condicoes .peq{font-size: 11px;color: #606060;line-height: 13px;}
.main .registo .condicoes .peq .link{color: #606060;}
.main .registo .condicoes .peq .link:hover{text-decoration: none;}
.main .registo .buttonRegistar .registar{background-color: #446B70;border: medium none;border-radius: 5px 5px 5px 5px;color: #FFFFFF;height: 31px;width: 389px;margin-left: 15px;margin-bottom: 15px;}
.main .registo .buttonRegistar .registar:hover{background-color: #2a4e53;}it
.checkbox {width: 19px;height: 25px;padding: 0 5px 0 0;background: url(/SiteCollectionImages/checkbox.png) no-repeat;display: block;clear: left;float: left;}
.wait {	background-color: #446B70; width:389px; height:31px; margin-left:15px; margin-bottom:15px; color:#FFFFFF; border-radius: 5px; border: medium none; text-align:center; line-height:31px; font-size:12px; }

.list {margin: 0 auto;width: 960px;}
.list ul{list-style: none;margin: 0;padding: 0;float: right;margin-top: 30px;}
.list ul li{float: left;}
.list ul .last a{margin: 0;}
.list ul li a{font-size: 12px; color:#8f8f8f;text-decoration: none;margin-right: 20px;font-weight: bold;}
.list ul li a:hover{color:#716f6f;}

/* Browser Resets */
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;} 

/* FlexSlider Necessary Styles
*********************************/ 
.flexslider {margin: 0; padding: 0; position:relative;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden; position: relative;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}

.slider .flexslider{width:100%; height:135px;}

/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
html[xmlns] .slides {display: block;} 
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}
/* FlexSlider Default Theme
*********************************/
.flexslider {margin: 0 0 0; background: #fff;  position: relative; zoom: 1; overflow: hidden;}
.flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
.loading .flex-viewport {max-height: 300px;}
.flexslider .slides {zoom: 1;}

.carousel li {margin-right: 5px}

/* Direction Nav */
.flex-direction-nav a {width: 30px; height: 30px; margin: -20px 0 0; display: block; background: url(/SiteCollectionImages/bg_direction_nav.png) no-repeat 0 0; position: absolute; top: 50%; cursor: pointer; text-indent: -9999px; opacity: 0; -webkit-transition: all .3s ease;}
.flex-direction-nav .flex-next {background-position: 100% 0; right: -36px; }
.flex-direction-nav .flex-prev {left: -36px;}
.flexslider:hover .flex-next {opacity: 0.8; right: 5px;}
.flexslider:hover .flex-prev {opacity: 0.8; left: 5px;}
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {opacity: 1;}
.flex-direction-nav .disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}

/* Control Nav */
.flex-control-nav {width: 100%; position: absolute; bottom: 0; text-align: center; height:11px}
.flex-control-nav li {margin: 0 3px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a {width: 7px; height: 7px; display: block; background-color: #ffffff;cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px;}
.flex-control-paging li a:hover { background-color: #ffffff;}
.flex-control-paging li a.flex-active { background-color: #cbde73;cursor: default; }

.flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
.flex-control-thumbs li {width: 25%; float: left; margin: 0;}
.flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
.flex-control-thumbs img:hover {opacity: 1;}
.flex-control-thumbs .active {opacity: 1; cursor: default;}
.flexslider .slides .overlay{position:absolute; top:0; left:0;}
.flexslider .slides .overlay h3 {color:#ffffff;font-size:18px;font-weight:normal;margin-left: 20px;margin-bottom: 10px;}
.flexslider .slides .overlay .textLink{background: url(/SiteCollectionImages/arrow.png) no-repeat 0 5px;margin-left: 20px;padding-left: 15px;}
.flexslider .slides .overlay .textLink a{color:#ffffff;font-size: 14px;text-decoration: none;}
/*End Slider*/


.footer{background-color: #ffffff;margin: 0 auto;width: 960px;height:40px;margin-top: 5px;padding: 17px 21px 24px 21px;-webkit-border-radius: 10px 10px 0 0;-moz-border-radius:10px 10px 0 0;border-radius:10px 10px 0 0;}
.footer ul{list-style: none;margin: 0;padding: 0;}
.footer .Left, .footer .Right li, .footer .Left li {float: left;}
.footer .Right{float: right;}

.ErrorLogin{color: red;}
.SuccessLogin{color: green;}

.Sucesso
{
    background-color: white;
    border: 2px solid green;
    color: green;
    margin: 0px 0px 17px 0px;
    padding: 10px;
    width: 433px;
    z-index: 100;
    display: block;
    left: 0px;
    line-height: 100%;
}

.Error
{
    background-color: white;
    border: 2px solid red;
    color: red;
    margin: 0px 0px 17px 0px;
    padding: 10px;
    width: 433px;
    z-index: 100;
    display: block;
    left: 0px;
    line-height: 100%;
}

.SucessoHide
{
    display: none;
}

.ErrorHide
{
    display: none;
}


.contactoForm
{
    margin-left: 25px;
} 


























/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

p
{
    margin: 0px 0px 0px 0px !important;
    padding: 0px 0px 0px 0px !important;
}

#uploadform
{
	margin-bottom:150px;
}