/*  Este estilo serve de alicerce para todas as páginas */
/*  Fonte customizada   */
@import url(https://fonts.googleapis.com/css?family=Roboto);
/*  LINKS   */
a:link{color: inherit;text-decoration: none;}
a:visited{color: inherit;text-decoration: none;}
a:hover{color: inherit;text-decoration: none;}
a:active {color: inherit;text-decoration: none;}

html,body{
    min-width: 1260px;
    min-height: 100%;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;}
body > div.main{padding: 5px 15px;}
/*  LOGIN   */
body > div.login{
    height: 100vh;
    width: 100%;
    background: #f6c799;
    display: table;
    margin:0;}
body > div.login > div.login_container{display: table-cell;vertical-align: middle;}
body > div.login > div.login_container > div.splash{
    background: url(../img/yawp_big.png) no-repeat  center;
      -webkit-background-size: contain;
      -moz-background-size: contain;
      -o-background-size: contain;
      background-size:contain;
    max-height:278px;
    max-width:400px;
    margin:0 auto;
    height:278px;
    width:400px;}
	body > div.login > div.login_container > div.splash2{
    background: url(../img/manutencao.png) no-repeat  center;
      -webkit-background-size: contain;
      -moz-background-size: contain;
      -o-background-size: contain;
      background-size:contain;
    max-height:378px;
    max-width:700px;
    margin:0 auto;
    height:378px;
    width:700px;}
body > div.login > div.login_container > form{ /*    FORMULÁRIO DO LOGIN */
    display:block;
    width:400px;
    margin:0 auto;
    font-family:Roboto;}
/*  CABEÇALHO   */
header{margin-bottom: 15px;}
body > header > div{
    padding: 10px;
    background-color: #f6c799;
    max-height: 111px;
    min-height: 111px;}
body > header > div > div.logo{/*   LOGO   */
    display: inline-block;
    min-height: 111px;
    min-width: 280px;
    max-height: 111px;
    max-width: 280px;
    background-image: url(../img/logo_inside.png);
    background-repeat: no-repeat;
    background-position:center;
    float:left;}
body > header:first-child > div:first-child > div.logo:last-child{/*   LOGO - Se a empresa é premium e não tem o logo na base de dados  */
    float:right;
	padding: -20px;
	min-height: 111px;
    min-width: 135px;
    max-height: 111px;
    max-width: 135px;


    /*background-image: url(logo.png);*/}

body > header:first-child > div:first-child > div.logo2:last-child{/*   LOGO 2 -Premium - Se a empresa é premium e tem o logo na base de dados   */
	position: relative;
    float:right;
	right: 220 px;
	padding-right: 0px;
	min-height: 100px;
    min-width: 190px;
    max-height: 100px;
    max-width: 190px;
	background-repeat: no-repeat;
	border-radius: 10px;
	border: 2px solid #dccbb7;
	-moz-border-radius: 10px;
	background-color:#FFF;
    /*background-image: url(logo.png);*/}
/*  MENU    */
body > header > nav > ul{
    font-size: 0px;
    background-color: #9c2237;
    list-style-type: none;
    padding: 0;
    margin: 0;
    color:#fff;}
body > header > nav > ul li {
    font-family: 'Roboto', Helvetica, Arial, Sans-Serif;
    display: inline-block;
    font-size: 16px;
    *display: inline; /* IE7*/
    padding:10px 35px;}
body > header > nav > ul li > i{margin-right: 10px;}
body > header > nav > ul > li > i{margin-right: 0;margin-left: 10px;}
body > header > nav > ul li:hover{background-color: #9c2237;}
body > header > nav > ul li.active{
    background: #fff;
    color:#000;}
body > header > nav > ul li.active > ul{color: #fff;}
/*  SUBMENU */
body > header > nav > ul > li{
    position: relative;
    cursor:pointer;
    float:right;
    z-index: 500;}
body > header > nav > ul > li > ul{
    border-bottom: 3px solid #410515;
    background-color: #660a23;
    list-style-type: none;
    position: absolute;
    display: none;
    width: 260px;
    padding: 0;
    right: 0px;
    top:39px;}
body > header > nav > ul > li:hover > ul{display: block;}
body > header > nav > ul > li:hover > ul > a:hover > li{
    background-color: #410515;
    display: block;}
/*  DASHBOARD   */
/*  GRID    */
body > div.main > div.grid{
    /*background: yellow;*/
    text-align: center;
    font-size: 0px;}
body > div.main > div.grid > div.row{
    /*background: green;*/
    display: inline-block;
    overflow: hidden;
    margin: 0 auto;}
/*  FUTURAS MELHORIAS   */
body > div.main > div.grid > div.row:first-child > div{padding-bottom: 14px;margin-right: 7px}
body > div.main > div.grid > div.row:last-child > div{padding-bottom: 14px;margin-left: 7px}
body > div.main > div.grid > div.row > div > a:first-child{margin-right: 7px;}
body > div.main > div.grid > div.row > div > a:last-child{margin-left: 7px;}
body > div.main > div.grid > div.row > div > a{
    /*margin-left: 7px;
    margin-right: 7px;*/}
/*---------------------------------------------------*/
body > div.main > div.grid > div.row > div > a > div{
    border-radius: 10px;
    text-align: left;
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 295px;
    height: 228px;
    max-height: 228px;
    max-width: 295px;}
body > div.main > div.grid > div.row > div > a > div > img{
    float: right;
    padding: 8px;
}
body > div.main > div.grid > div.row > div > a > div > div{
    font-family: Roboto;
    position: absolute;
    padding: 0;
    bottom: 0;
    width: 100%;}
body > div.main > div.grid > div.row > div > a > div > div > p:first-child{
    margin-bottom: 10px;
    padding-left: 10px;
    font-size: 18px;}
body > div.main > div.grid > div.row > div > a > div > div > p:last-child{
    margin: 0;
    padding: 0;
    color: #660a23;
    font-size: 20px;
    background-color: rgba(255,255,255,.5);
    padding: 5px 0px 10px 20px;
}
div.pos1{background-image: url(../img/pos1.png)}
div.pos2{background-image: url(../img/pos2.png)}
div.pos3{background-image: url(../img/pos3.png)}
div.pos4{background-image: url(../img/pos4.png)}
div.pos5{background-image: url(../img/pos5.png)}
div.pos6{background-image: url(../img/pos6.png)}
div.pos7{background-image: url(../img/pos7.png)}
div.pos8{background-image: url(../img/pos8.png)}
body > div.chart{
    margin-top: 5%;
    background: #ffe9d3;
    padding: 10px 20px;
    font-size: 16px;
    font-family: Roboto;}
body > div.chart > #chart{
    cursor: pointer;
}
/*  FOOTER  */
footer{
    border-top: 2px solid #660a23;
    padding-top: 12px;
    padding-bottom: 12px;
    font-family: Roboto;
    text-align: center;
    color:#660a23;
}
div.chart > div.content{
    overflow: hidden;
    transition: height 0.2s ease;
    height: 0px;
    background-color: #fff;
}
div.chart > div.content > div.charts{
    width: 89%;
    height: 100%;
    background: #fff;
    display: inline-block;
    overflow: hidden;
}
div.chart > div.content > div.charts > div.chart{
    display: inline-block;
    width: 48.8%;
    padding-top: 15px;
    height: 250px;
}
div.chart > div.content > div.charts > div.chart:first-child{
    padding-right: 5px;
}
div.chart > div.content > div.charts > div.chart:last-child{
    padding-left: 5px;
}
div.chart > div.content > div.data{
    height: 100%;
    width: 10%;
    display: inline-block;
    position: relative;
}
div.chart > div.content > div.data > div{
    height: 100%;
    width: 100%;
    position: absolute;
}
div.chart > div.content > div.data > div > div{
    border-radius: 6px;
    border: 1px solid #bbb;
    position: relative;
    color: #bbb;
    transition:all 0.2s ease;
    max-width: 110px;
    margin:35px 0px 0px auto;
    font-family: Roboto;
    font-size: 18px;
}
div.chart > div.content > div.data > div > div:hover{
    color: #000;
    border-color: #000;
}
div.chart > div.content > div.data > div > div p{
    margin: 0;
    padding: 5px;
    text-align: right;
}
div.chart > div.content > div.data > div > div i{
    position: absolute;
    left: 5px;
    bottom: 5px;
}
/*  FORM    */
form div.form-group{
    display:flex;
    width:100%;
    border:1px solid grey;
    margin:4px 0px;}
form > p.subtext{
    text-align: center;
    font-size: 12px;
    margin:-5px 0 5px 0;
    padding:0;
    cursor: pointer;}
form div.form-group label{
    padding: 5px 10px 0px 10px;
    color: grey;
    background-color:#fff;
    font-size:1.6em;}
form div.form-group input[type=text],form div.form-group input[type=password]{
    border:none;
    outline:none;
    padding: 5px 5px 3px 0px;
    width:100%;
    font-size:18px;
    font-weight:100;}
form div.form-group.submit{border: none;}
input[type=submit]{
    height: 100%;
    border-radius: 6px;
    font-size: 1.5em;
    cursor: pointer;
    padding: 15px;
    background: #9e2130;
    color: white;
    border:none;
    width:100%;
    outline: none;}

textarea{
    border:1px solid rgba(0, 0, 0, .1) !important;
}