﻿/* DEFAULTS
----------------------------------------------------------*/

.menubody   
{
    background: #b6b7bc;
    font-size: .80em;
    font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif;
    margin: 0px;
    padding: 0px;
    color: #696969;
}

.menubody a:link, a:visited
{
    color: #005aa9;
    font-size: 9pt;
    font-weight: bold;
    text-decoration: none;
}

.menubody a:hover
{
    color: #1d60ff;
    text-decoration: underline;
}

.menubody a:active
{
    color: #034af3;
}

.menubody p
{
    /*margin-bottom: 10px;*/
    padding-bottom:10px !important;
    line-height: 1.6em;
}


/* HEADINGS   
----------------------------------------------------------*/

.menubody h1, h2, h3, h4, h5, h6
{
    font-size: 1.5em;
    color: #666666;
    font-variant: small-caps;
    text-transform: none;
    font-weight: 200;
    margin-bottom: 0px;
}

.menubody h1
{
    font-size: 1.6em;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

.menubody h2
{
    font-size: 1.5em;
    font-weight: 600;
}

.menubody h3
{
    font-size: 1.2em;
}

.menubody h4
{
    font-size: 1.1em;
}

.menubody h5, h6
{
    font-size: 1em;
}

/* this rule styles <h1> and <h2> tags that are the 
first child of the left and right table columns */
.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2
{
    margin-top: 0px;
}


/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

.page
{
    width: 950px;
    height: 570px;
    background-color: #fff;
    margin: 20px auto 0px auto;
    border: 1px solid #575757;
    background-image:url('Sagaweb_Splash.jpg');
    /*para as juntas de Agueda*/
    /*background-image:url('icons/SagawebPA_Splash.jpg');*/
    background-repeat:no-repeat;
}

.pageMenuSettings {
    background-image: url('medidata.jpg');
    height: 100%;
}

.bottom{
	position: absolute; 
	top: 550px; 
	width: 900px; 
	text-align: right;
}

.sagaweb_version
{
	font-size: 11px; width: 950px; margin: -20px auto 0; color: #ccc;
}

.header
{
    position: relative;
    margin: 0px;
    padding: 0px;
    /*background: #4b6c9e;*/
    width: 100%;
}

.header h1
{
    font-weight: 700;
    /*margin: 0px;
    padding: 0px 0px 0px 20px;*/
    margin: 0 20px 0 0;
    padding: 0px 0px 0px 20px;

    /*color: #f9f9f9;*/
    color:#3A4F63;
    border: none;
    line-height: 2em;
    font-size: 2em;
}

.main
{
    /*padding: 0px 40px 0;
    margin:0px 40px 0 20px;
    min-height: 420px;*/
    border-left: 3px solid #337C68;
    /*border-top: 2px solid #337C68;*/
    margin-left: 46px;
    padding-top: 3px;
}

.mainMenuSettings {
    border-top: 2px solid #337C68;
}

.main-content
{
    margin:10px;
    width:650px;
    /*max-height:420px;*/
    /*overflow:auto;*/
}

.leftCol
{
    padding: 6px 0px;
    margin: 12px 8px 8px 8px;
    width: 200px;
    min-height: 200px;
}

.footer
{
    color: #4e5766;
    padding: 8px 0px 0px 0px;
    margin: 0px auto;
    text-align: center;
    line-height: normal;
}



.LoginButton
{
	width: 90px; align-content: center; vertical-align: top;
}
.LoginButton input[type=button]
{
	vertical-align: bottom;color:#005aa9;border:0px;background-color:transparent;cursor:pointer;font-size:9pt;font-weight:bold;text-decoration: none;	
}

/* TAB MENU   
----------------------------------------------------------*/

div.hideSkiplink
{
    padding-left: 46px;
    /*padding-top: 13px;*/
    /*width: 800px;*/
    width:100%;
    
    /*border-bottom: 2px solid #337C68;
    margin-left: 47px;
    padding-top: 3px;*/
}

div.menu
{
    padding: 4px 0px 4px 8px;
}

div.menu ul
{
    list-style: none;
    margin: 0px;
    padding: 0px;
    width: auto;
}

div.menu ul li a, div.menu ul li a:visited
{
    background-color: #465c71;
    border: 1px #4e667d solid;
    color: #dde4ec;
    display: block;
    line-height: 1.35em;
    padding: 4px 20px;
    text-decoration: none;
    white-space: nowrap;
}

div.menu ul li a:hover
{
    background-color: #bfcbd6;
    color: #465c71;
    text-decoration: none;
}

div.menu ul li a:active
{
    background-color: #465c71;
    color: #cfdbe6;
    text-decoration: none;
}
/****************************/
table.menu
{
    /*padding: 4px 0px 4px 8px;*/
    /*padding:24px 0 4px 50px;*/
}

table.menu tr
{
    list-style: none;
    margin: 0px;
    padding: 0px;
    width: auto;
}

table.menu tr td a, div.menu tr td a:visited
{
    background-color: #2A7B68;
    border: 1px #4e667d solid;
    /*color: #dde4ec;*/
    color: #000000;
    display: block;
    line-height: 1.35em;
    padding: 4px 20px;
    text-decoration: none;
    white-space: nowrap;
}

table.menu tr td a:hover
{
    background-color: #bfcbd6;
    color: #465c71;
    text-decoration: none;
}

table.menu tr td a:active
{
    background-color: #465c71;
    color: #cfdbe6;
    text-decoration: none;
}

/* FORM ELEMENTS   
----------------------------------------------------------*/

.menubody fieldset
{
    /*margin: 1em 0px;
    padding: 1em;*/
    border: 1px solid #ccc;
}

.menubody fieldset p {
    /*margin: 2px 12px 10px 10px;*/
    margin: 0px 0px 0px 10px;
}

.menubody fieldset.login label, fieldset.register label, fieldset.changePassword label
{
    display: block;
}

.menubody fieldset label.inline 
{
    display: inline;
}

.menubody legend 
{
    font-size: 1.1em;
    font-weight: 600;
    padding: 2px 4px 8px 4px;
}

input.textEntry 
{
    /*width: 320px;*/
    width:200px;
    border: 1px solid #ccc;
}

input.passwordEntry 
{
    width: 320px;
    border: 1px solid #ccc;
}

div.accountInfo
{
    width: 100%;
}

/* MISC  
----------------------------------------------------------*/

.clear
{
    clear: both;
}

.title
{
    display: block;
    float: left;
    /*text-align: left;*/
    text-align: right;
    /*width: auto;*/
    width:100%;
    height:113px;
}

/*
.loginDisplay
{
    font-size: 1.1em;
    display: block;
    text-align: right;
    padding: 10px;
}

.loginDisplay a:link
{
    color: white;
}

.loginDisplay a:visited
{
    color: white;
   
}

.loginDisplay a:hover
{
    color: white;
   
}*/

.failureNotification
{
    font-size: 1.2em;
    color: Red;
}

.bold
{
    font-weight: bold;
}

.submitButton
{
    text-align: right;
    padding-right: 0px;
}

.pagetitle
{
    font-size: 1.5em;
    font-weight: 600;
    padding-bottom:30px;
}

.LoginButton {border:1px solid #FFFFFF;}
.LoginButton:hover {border:1px solid #939393; background-color:#D3D3D3;}

.WindowsSettingsLink {color:#005AA9;font-weight:bold;text-decoration:none;font-size:9pt;}


option {
    height:13px;
}


/*@media only screen and (max-device-width: 480px) {*/
@media (max-device-width: 480px) {
    .menubody {
        background: #FFFFFF;
		width:100%;
		font-size: 1.80em;
    }
	
	.menubody h1, h2, h3, h4, h5, h6
	{
		font-size: 2em;
	}
	
	.menubody p{
		font-size:1.4em;
	}
	
	
    .page {
        /*background-image: url('Sagaweb_Splash_Mobile.jpg');*/
		/*background-image: url('medidata.jpg');
		background-repeat:no-repeat;
		background-size: auto;*/
		background-image:none;
		border:0px;
		
		margin:0px;
		width:100%;
		height:100%;
		
		/*so para teste*/
		/*border:2px solid black;*/
    }
	
	.title
	{
		background-image: url('medidata.jpg');
		background-repeat:no-repeat;
		background-size: contain;
		display: block;
		float: left;
	
		text-align: right;
		/*width: auto;*/
		width:100%;
		
		height: 200px !important;
		border-bottom: 2px solid #337C68;
	}
	
    /*esta é a div que tem o link para o sigmadocweb. Nas apps nao interessa aparecer e estava a causar um problema em ATE que tem um titulo maior e surgia por cima do campo de login impedindo o aparecimento doteclado*/
	.bottom{
		
		display:none;
	}
	.sagaweb_version
	{
		font-size: medium; width: 100%; margin:0; margin-top: 10%; color: #ccc;
	}
	
	.main
	{
		border-left: 3px solid #337C68;
		/*border-top: 2px solid #337C68;*/
		/*margin-left: 40px;*/
		margin-left: 73px;
		padding-top: 3px;
	}
	
	.main-content
	{
		margin:30px;
		width:100%;
		max-height:none;
		/*overflow:auto;*/
	}
	
	div.hideSkiplink {
		padding-left: 46px;
		width: 100%;
		height: 0px;
	}
	
	input.textEntry {
		width: 90% !important;
		font-size:1.6em;
	}
	
	.LoginButton {
		width: 30%;
		padding-top: 20px;
		float: right;
		text-align: center;
		margin-right:5%;
	}
	
	.LoginButton input[type=button]{
		font-size: larger;
	}
	
	.LoginButton img{
		width:48px;
	}

    option {
        font-size:1.6em;
    }
	
}