/*--------------------------------------------------------------------
LAYOUT BASE - NOR267 (modern browsers)

#####    ###  #########  #########  #########  #########  #########
######   ###  ###   ###  ###   ###        ###  ###        #########
### ###  ###  ###   ###  ###   ###  #########  #########       ###
###  ### ###  ###   ###  #########  #########  ###   ###      ###
###   ######  ###   ###  ### ###    ####       ###   ###     ###
###    #####  #########  ###  ###   #########  #########    ###

Version: 1.0 - 2014
author (webdesign / webdevelopment): Nor267 (Ivan Alves / Pedro campos)
email: geral@nor267.com
website: http://www.nor267.com
created with: Brackets --http://brackets.io/--
--------------------------------------------------------------------*/
/*------------------------------------------------------------------*/

/* TABLET */
.wrapper { padding: 144px 0 0 0; }
.wrapper.small { padding: 72px 0 0 0; }
.header {
    height: 144px;
    padding: 24px 0 0 0;
    box-shadow: none;
}
.header .logoLink .logo { width: 86px; height: 86px; margin: 4px 0; }
.header .logoLink span {
    height: 96px;
    margin: 0 0 0 10px;
    padding: 21px 0 0 12px;
    overflow: hidden;
}
.header .logoLink .logoText { display: none; }
.header .logoLink .logoTextBig { display: block; width: 193px; height: 47px; }
.header .menu { top: 106px; }
.header .loginBtn { margin: 24px 0 12px 24px; }
.header .menuBtn { margin: 11px 0 0 0; }

/* header scrolled */
.header, .logoLink .logo, .header .logoLink span, .header .menuBtn, .header .loginBtn, .header .limited {
    -webkit-transition: height 0.2s 0s cubic-bezier(.77, 0, .17, 1), padding 0.2s 0s cubic-bezier(.77, 0, .17, 1), max-width 0.2s 0s cubic-bezier(.77, 0, .17, 1); 
    transition: height 0.2s 0s cubic-bezier(.77, 0, .17, 1), padding 0.2s 0s cubic-bezier(.77, 0, .17, 1), max-width 0.2s 0s cubic-bezier(.77, 0, .17, 1);
}
.header.touch, .logoLink .logo, .header.touch .logoLink span, .header.touch .menuBtn, .header.touch .loginBtn, .header.touch .limited {
    -webkit-transition: none; transition: none;
}
.noScroll .header, .header.scrolled, .header.small {
    height: 72px;
    padding: 0;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
}
.noScroll .header .limited, .header.scrolled .limited, .header.small .limited { padding: 0 48px; max-width: 100%; }
.noScroll .header .logoLink .logo, .header.scrolled .logoLink .logo, .header.small .logoLink .logo { width: 36px; height: 36px; margin: 18px 0; }
.noScroll .header .logoLink span, .header.scrolled .logoLink span, .header.small .logoLink span {
    height: 48px;
    margin: 12px 0 0 10px;
    padding: 18px 0 0 4px;
    border-left: 1px solid #003B5C;
    float: left;
}
.noScroll .header .logoLink .logoText, .header.scrolled .logoLink .logoText, .header.small .logoLink .logoText { display: block; }
.noScroll .header .logoLink .logoTextBig, .header.scrolled .logoLink .logoTextBig, .header.small .logoLink .logoTextBig { display: none; }
.noScroll .header .menu, .header.scrolled .menu, .header.small .menu { top: 72px; }
.noScroll .header .menuBtn, .header.scrolled .menuBtn, .header.small .menuBtn { margin: 0; }
.noScroll .header .loginBtn, .header.scrolled .loginBtn, .header.small .loginBtn { margin: 12px 0 12px 24px; }

/* HOME */
.home .limited { padding: 72px 48px; }
.newsList { width: 66.6666666%; padding: 0 24px 0 0; }

/* sidebar */
.home .sidebar {
    display: block;
    width: 33.3333333%;
    float: left;
    padding: 0 0 96px 24px;
}
.home .sidebar .searchForm {
    position: relative;
    width: 100%;
    padding: 0 0 24px 0;
}
.home .sidebar .inputText {
    width: 100%; height: 48px;
    background-color: #EFF2F5;
    border: 1px solid #DFE6EB;
    border-radius: 3px;
    padding: 0 58px 0 12px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    font-family: Roboto, Arial;
    color: #608499;
    font-weight: 400;
    font-size: 14px;
    -webkit-transition: all 0.12s 0s cubic-bezier(.77, 0, .17, 1); transition: all 0.12s 0s cubic-bezier(.77, 0, .17, 1);
}
.home .sidebar .inputText:focus { border-color: #0EA8FF; color: #003B5C; }
.home .sidebar .inputSubmit {
    position: absolute;
    width: 48px; height: 48px;
    border: none;
    background-color: #0EA8FF;
    top: 0; right: 0;
    cursor: pointer;
    border-top-right-radius: 3px; border-bottom-right-radius: 3px;
    background-image: url(../images/layout/lupa.svg);
    background-size: 24px 24px;
    background-position: center center;
    background-repeat: no-repeat;
    -webkit-transition: all 0.12s 0s cubic-bezier(.77, 0, .17, 1); transition: all 0.12s 0s cubic-bezier(.77, 0, .17, 1);
}
.home .sidebar .inputSubmit:hover { background-color: #003B5C; }
.home .sidebar a {
    position: relative;
    display: block;
    width: 100%; min-height: 162px;
    margin: 24px 0 0 0;
    border-radius: 3px;
    overflow: hidden;
    background: rgba(0,58,92,1);
    background: -moz-linear-gradient(-45deg, rgba(0,58,92,1) 0%, rgba(14,167,255,1) 100%);
    background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(0,58,92,1)), color-stop(100%, rgba(14,167,255,1)));
    background: -webkit-linear-gradient(-45deg, rgba(0,58,92,1) 0%, rgba(14,167,255,1) 100%);
    background: -o-linear-gradient(-45deg, rgba(0,58,92,1) 0%, rgba(14,167,255,1) 100%);
    background: -ms-linear-gradient(-45deg, rgba(0,58,92,1) 0%, rgba(14,167,255,1) 100%);
    background: linear-gradient(135deg, rgba(0,58,92,1) 0%, rgba(14,167,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#003a5c', endColorstr='#0ea7ff', GradientType=1 );
}
.home .sidebar a .escala-16-8 { width: 100%; }
.home .sidebar a .cnt {
    position: absolute;
    width: 100%;
    left: 0; top: 0;
}
.home .sidebar a span {
    position: relative;
    display: block;
    width: 100%; height: 12px;
    background-color: #0EA8FF;
    overflow: hidden;
    -webkit-transition: all 0.2s 0s cubic-bezier(.77, 0, .17, 1); transition: all 0.2s 0s cubic-bezier(.77, 0, .17, 1);
}
.home .sidebar a span p {
    margin: 0;
    padding: 12px 22px 12px 22px;
    color: #003B5C;
    font-weight: 500;
    text-transform: uppercase;
}
.home .sidebar a h3 {
    width: 100%;
    font-size: 18px;
    color: #ffffff;
    font-weight: 700;
    line-height: 24px;
    text-transform: uppercase;
    padding: 20px 22px;
}
.home .sidebar a:hover span { height: 48px; }
.home .sidebar a.second span { background-color: #F3FF3F; }
.home .sidebar a.second {
    background: rgba(201,215,0,1);
    background: -moz-linear-gradient(-45deg, rgba(201,215,0,1) 0%, rgba(242,255,63,1) 100%);
    background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(201,215,0,1)), color-stop(100%, rgba(242,255,63,1)));
    background: -webkit-linear-gradient(-45deg, rgba(201,215,0,1) 0%, rgba(242,255,63,1) 100%);
    background: -o-linear-gradient(-45deg, rgba(201,215,0,1) 0%, rgba(242,255,63,1) 100%);
    background: -ms-linear-gradient(-45deg, rgba(201,215,0,1) 0%, rgba(242,255,63,1) 100%);
    background: linear-gradient(135deg, rgba(201,215,0,1) 0%, rgba(242,255,63,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c9d700', endColorstr='#f2ff3f', GradientType=1 );
}
.home .sidebar a.third span { background-color: #1ACCFF; }
.home .sidebar a.third {
    background: rgba(0,128,163,1);
    background: -moz-linear-gradient(-45deg, rgba(0,128,163,1) 0%, rgba(26,205,255,1) 100%);
    background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(0,128,163,1)), color-stop(100%, rgba(26,205,255,1)));
    background: -webkit-linear-gradient(-45deg, rgba(0,128,163,1) 0%, rgba(26,205,255,1) 100%);
    background: -o-linear-gradient(-45deg, rgba(0,128,163,1) 0%, rgba(26,205,255,1) 100%);
    background: -ms-linear-gradient(-45deg, rgba(0,128,163,1) 0%, rgba(26,205,255,1) 100%);
    background: linear-gradient(135deg, rgba(0,128,163,1) 0%, rgba(26,205,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0080a3', endColorstr='#1acdff', GradientType=1 );
}


/* CUSTOM PAGE */
.customPage .topImage { position: relative; }
.customPage .topImage .topImageText {
    display: block;
    position: absolute;
    width: 100%;
    bottom: 0; left: 0;
}
.customPage .topImage .topImageText h5 {
    width: 66.6666666%;
    font-size: 18px;
    color: #003B5C;
    line-height: 24px;
    font-weight: 300;
    padding: 0 0 42px 24px;
    float: right;
}
.customPage .topImage .topImageText h5 span {
    display: block;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
}
.customPage .limited { padding: 48px 48px; }
.customPage .sidebar { width: 33.3333333%; float: left; padding: 48px 24px 192px 0; border-radius: none; }
.customPage.serIpss .sidebar { padding: 48px 24px 0 0; }
.customPage .sidebar .getSize { display: none; height: 0;}
.customPage .sidebar a.title, .pesquisaDocs a.title { cursor: text; border-top-left-radius: 3px; border-top-right-radius: 3px; }
.customPage .sidebar a.title:before, .customPage .sidebar a.title:after{ display: none; }
.customPage .sidebar ul, .customPage .sidebar.open ul { max-height: 480px; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; }
.customPage .sidebar ul { max-height: inherit; }
.customPage.associados .sidebar ul { max-height: 0px; }
.customPageContent { width: 66.6666666%; float: right; padding: 4px 0 48px 24px; }
.customPageContent .content { padding: 40px 0 42px 0; }

/* ASSOCIAR PAGE */
.associarPage .limited { padding: 48px 48px; }
.associarPage .topImage {
    position: fixed;
    width: 33.3333333%; height: 100%;
    padding: 0 12px 0 0;
}
.associarPage .topImage span { height: 100%; }
.associarPageContent { width: 66.6666666%; float: right; padding: 4px 0 48px 24px; }

/* Contactos PAGE */
.contactosPage .limited { padding: 92px 48px; }
.contactosPage { padding: 0 0 90px 0; }
.contactosPage .info { width: 50%; padding: 0 24px 0 0; }
.contactosPage .form { padding: 0 0 0 24px; }


/* SER IPSS */
.customPage.serIpss { padding: 0 0 96px 0; }
.filesList { margin: 4px 0 0 0; }
.filesList h2 { width: 240px; }
.pageIpss .associados{ border:none;  }
@media(min-width: 990px) {
    .filesList h2 { width: 320px; }
}
.pesquisaDocs .filesList h2 { width: 400px; }
.pageIpss .associados, .pageIpss .documentos{
    width: 33.33%;
    height: calc(50vh - 48px);
    float: left;
}
.pageIpss .associados.half, .pageIpss .documentos.half{
    width: 50%;
}
.pageIpss .numerosUdipss{
    min-height: calc(50vh - 48px);
}
.pageIpss .dashboard{
    min-height: calc(50vh - 48px);
}
.pageIpss .dashboard .left{
    float: left;
    width: calc(50% - 1px);
}
.pageIpss .dashboard .right{
    float: right;
    width: calc(50% + 1px);
    /*border-left: 1px solid #1accff;*/
    padding: 48px;
}
.pageIpss .dashboard .filesList{
    margin-top: 36px;
}
.pageIpss .dashboard .right .filesList h2{
    width: 100%;
    float: none;
}
.pageIpss .dashboard .right .filesList h3{
    float: none;
    color: #1ACCFF;
    width: 100%;
}
.pageIpss .associados p, .pageIpss .documentos p{ line-height: 36px; font-size: 22px; margin-top: 20px; }
.iconIpss, .iconIpssDoc{ 
    height: 96px; width: 96px;
    padding: 24px;
    margin: calc((25vh - 106px) - 48px) 0 0 calc(50% - 48px); 
}
.iconIpssAssociados, .iconIpssDocumentos{ height: 48px; }
.associados .customPageContent{ padding: 48px 0 48px 24px; }
.associados .pagination{ width: calc(66.6666% - 24px); float: right; }


/* FOOTER */
.footer .left { padding: 0 24px 0 0; }
.footer .left .social { position: absolute; bottom: 0; padding: 22px 0 52px 0; }
.footer .middle { padding: 0 24px 46px 24px; }
.footer .right { padding: 0 0 46px 24px; }

/* Popup new */
.cookieSpacer{
    display: block;
    width: 100%;
    background-color: #FFFFFF;
    height: 80px;
}
.popupCookies{top:0; bottom: auto;}
.popupNewBg, .popupLoginBg, .popupQuestBg, .popupDadosBg, .popupAtrasoBg, .popupConsignarBg, .popupConsignarBg_certeza, .popupFichaBg_certeza, .popupQuestBg_certeza, .popupEliminarBg { background-color: rgba(0, 59, 92, 0.8); }
.popupNew .closeBg, .popupLogin .closeBg, .popupQuest .closeBg, .popupDados .closeBg, .popupResposta .closeBg, .popupEquipamento .closeBg, .popupEdificio .closeBg, .popupProjeto .closeBg, .popupServico .closeBg, .popupAtraso .closeBg, .popupOrganograma .closeBg, .popupConsignar .closeBg, .popupConsignar_certeza .closeBg, .popupFicha_certeza .closeBg, .popupQuest_certeza .closeBg, .popupInfo .closeBg, .popupEliminar .closeBg {
    display: block;
    position: absolute;
    width: 100%; height: 100%;
    top: 0; left: 0;
}
.popupNew .limited .box, .popupLogin .limited .box, .popupQuest .limited .box, .popupDados .limited .box, .popupResposta .limited .box, .popupEquipamento .limited .box, .popupEdificio .limited .box, .popupProjeto .limited .box, .popupServico .limited .box, .popupAtraso .limited .box, .popupOrganograma .limited .box, .popupConsignar .limited .box, .popupConsignar_certeza .limited .box, .popupFicha_certeza .limited .box, .popupQuest_certeza .limited .box, .popupInfo .limited .box, .popupEliminar .limited .box { padding: 96px; }
.popupNew .content, .popupLogin .content, .popupQuest .content, .popupAtraso .content, .popupConsignar .content, .popupConsignar_certeza .content, .popupFicha_certeza .content, .popupQuest_certeza .content, .popupInfo .content, .popupEliminar .content{
    position: relative;
    min-height:inherit;
    margin: 0 auto;
    top: inherit;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.2);
}
.popupDados .content { box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.2); }
.popupLogin .content, .popupAtraso .content, .popupConsignar .content, .popupConsignar_certeza .content, .popupFicha_certeza .content, .popupQuest_certeza .content, .popupInfo .content, .popupEliminar .content { width: 50%; }
.popupResposta .content, .popupQuest .content, .popupEquipamento .content, .popupEdificio .content, .popupProjeto .content, .popupServico .content{ width: 70%; }
.popupDados .content { right: -100%; -webkit-transition: all 0.4s 0s cubic-bezier(.77, 0, .17, 1); transition: all 0.4s 0s cubic-bezier(.77, 0, .17, 1); width: 75%; }
.popupDados .content.open { right: 0; }
.popupOrganograma .text{
    padding: 0;
}
.popupOrganograma .limited .box{
    padding: 96px 48px;
}
.popupOrganograma #organograma{
    display: block;
}
.popupOrganograma #organograma_mobile{
    display: none;
}

.searchNOT { margin: 0; }
#voltarFiles{ display: block; }

.editarEdificiosParent{
    width: calc(50% - 12px);
    margin-bottom: 24px;
}
.editarEdificiosParent:nth-of-type(2n){ margin-right: 0; }
.editarEdificiosParent:nth-of-type(3n){ margin-right: 24px; }
div.right .textoEditarEdificios .iconIpss{
    margin-left: auto;
    margin-right: auto;
    width: 48px;
    height: 48px;
    padding: 12px;
    margin-bottom: 16px;
}
div.right .textoEditarEdificios .iconIpss + p{
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 18px;
}
