html {
    overflow-y: scroll;
}
    @media only screen and (min-width : 768px) {
        html {
            overflow-y: scroll;
        }
    }

html,
body {
    height: 100%;
    min-height: 100%;
}

body {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    z-index: 0;
}

    @media only screen and (min-width : 1200px) {
        body {
            background-position: center top;
            background-image: url("../img/bg-video.png");
        }
    }

    @media only screen and (min-width : 992px) and (max-width: 1199px) {
        body {
            background-image: url("../img/bg.jpg");
        }
    }

    @media only screen and (max-width : 992px) and (min-width: 769px) {
        body {
            background-image: url("../img/bg-sm.jpg");
        }
    }

    #bg {
        display: none;
    }

    @media only screen and (max-width : 768px) {
        body {
            min-height: 100vh;
        }

        #bg {
            display: block;
            background-image: url("../img/bg-xs.jpg");
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
        }

    }

body > .container-fluid {
    min-height: 100%;
    height: 100%;
}
    @media only screen and (max-width : 768px) {
        body > .container-fluid {
            min-height: auto;
            height: auto;
        }
    }

    @media only screen and (min-width : 768px) {
        body > .container-fluid {
            min-height: 766px;
        }

        /*body > .container-fluid.error {
            min-height: 835px;
        }*/
    }

.th-shadow-green {
    -webkit-box-shadow: inset -11px -12px 17px -8px rgba(136,169,66,1);
    -moz-box-shadow: inset -11px -12px 17px -8px rgba(136,169,66,1);
    box-shadow: inset -11px -12px 17px -8px rgba(136,169,66,1);
}

.th-shadow {
    -webkit-box-shadow: inset 0px -7px 13px -5px rgba(50, 50, 50, 0.8);
    -moz-box-shadow:    inset 0px -7px 13px -5px rgba(50, 50, 50, 0.8);
    box-shadow:         inset 0px -7px 13px -5px rgba(50, 50, 50, 0.8);
}

.th-facebook,
.th-gplus {
    width: 100%;
    color: #fff;
    padding:  0.5em 0em 0.4em 2.5em;
    text-align: left;
    font-size: 1.2em;
    height: 46px;
    border: 0;
    font-weight: bold;
}


.th-gplus {
    background: #bf4f42 url("../img/gplus.png") no-repeat 1em 1em;
}
    .th-gplus:hover {
        background-color: #e85e4e;
    }

.th-facebook {
    background: #49639f url("../img/facebook.png") no-repeat 1em 0.8em;
}
    .th-facebook:hover {
        background-color: #5a7ac5;
    }

hr {
    border-color: #9e9e9e;
}

#background {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    background-size: cover;
}

.menu {}

    @media only screen and (min-width : 1200px) {
        .menu {
            min-height: 100%;
        }
    }

    .menu input {
        border-radius: 0 !important;
    }

    .menu input[type="text"],
    .menu input[type="password"] {
        border: 0;
        border-bottom: 1px solid #a5a5a1;
        box-shadow: none;
    }

    .submit {
      background: #9cc44c;
      color: #fff;
      text-transform: uppercase;
      font-size: 1em !important;
    }

      .submit:hover {
        background: #82a639;
      }

    .form-group-lg .form-control {
        padding: 10px;
    }

.menu-padding {
    padding-top: 0.3em;
    padding-bottom: 0.3em;
    margin-bottom: 5px;
}
    @media only screen and (max-width : 1024px) and (max-height: 768px) {
        .container-fluid .menu-padding:nth-child(0) {
            display: none !important;
        }
}

.logo {
    margin-bottom: 1.5em;
}

.logo img {
    max-height: 65px;
    max-width: 200px;
}

.menu-box {
    position: relative;
    background: rgba(254,254,254,0.95);
    padding-top: 1.5em;
    padding-bottom: 1.5em;
    margin-top: 20px;
    margin-bottom: 20px !important;
    -webkit-box-shadow: 0px 0px 7px 0px rgba(163,161,163,1);
    -moz-box-shadow: 0px 0px 7px 0px rgba(163,161,163,1);
    box-shadow: 0px 0px 7px 0px rgba(163,161,163,1);
}

    @media only screen and (max-width : 1280px) {
        .menu-box {
            background: rgba(254,254,254,0.9);
        }
    }

    @media only screen and (max-width : 576px) {
        .menu-box {
            margin: 0px !important;
        }
    }


    @media only screen and (min-width : 768px) {
        .menu-box {
            max-width: 700px;
        }
    }

    @media only screen and (min-width : 1200px) {
        .menu-box {
            max-width: 390px;
            height: 100%;
        }
    }

    @media only screen and (max-height : 730px) {
        .menu-box {
            min-height: 490px !important;
        }
    }

.menu-title {
    font-size: 1.8em;
    padding-bottom: 1em;
}

    @media only screen and (max-width : 640px) {
       .menu-title {
            font-size: 1.3em;
        }
    }

.menu-logos {
    /*width: 100%;*/
    /*display: none;*/
}
    .menu-logos > div {
        position: relative;
        text-align: center;
    }

    .menu-logos img {
        text-align: center;
        position: relative;
    }

    @media only screen and (min-width : 768px) {

        .menu-logos img {
            text-align: inherit;
            display: inline-block;
            position: relative;
            margin: 0 auto;
        }

    }

    @media only screen and (max-width : 768px) {

        .menu-logos > .col-xs-12 {
            margin-bottom: 0px !important;
        }

    }

.logos {
    position: relative;
    width: auto;
    margin: 10px auto 0;
    display: inline-block;
    text-align: center;
}

    @media only screen and (min-width : 1024px) and (max-width: 1280px) {
       .logos {
            margin: 0;
        }
    }

    @media only screen and (max-width : 1280px) and (min-height: 768px) {
       .logos {
            position: relative;
            margin: 0; !important;
        }
    }

    @media only screen and (min-width : 1281px) {

    }

.logo-img {
    width: auto;
    height: 29px;
    float: left;
}
    .logo-img a {
        height: 40px;
        display: block;
        text-align: center;
    }

    .logo-img:nth-child(2) {
        margin: 0 40px;
    }

    @media only screen and (max-width : 768px) {
        .logo-img {
            display: block;
            margin: 15px 0 !important;
            width: 100%;
        }
    }

    @media only screen and (min-width : 768px) {
        .logo-img:nth-child(1) img { height: 18px; margin-top: 5px; }
        .logo-img:nth-child(2) img { height: 21px; }
        .logo-img:nth-child(3) img { height: 24px; }

        .logo-img:nth-child(2) {
            margin: 0 10px;
        }
    }

    @media only screen and (min-width : 1200px) {

        /* .logo-img:nth-child(1) { height: 21px; }
        .logo-img:nth-child(2) { height: 24px; }
        .logo-img:nth-child(3) { height: 29px; }
        */

        .logo-img:nth-child(2) {
            margin: 0 10px;
        }
    }

/** PANEL **/
.panel-group {
    margin-bottom: 0;
}


/** Backgrounds **/
.password {
    background: url("../img/lock.png") no-repeat left 17px bottom 12px !important;
    padding-left: 50px !important;
    font-size: 1em !important;
}

.protocolo {
    background: url("../img/pencil.png") no-repeat left 13px bottom 12px !important;
    padding-left: 50px !important;
    font-size: 1em !important;
}

.data-nascimento {
    background: url("../img/calendario.png") no-repeat left 13px bottom 12px !important;
    padding-left: 50px !important;
    font-size: 1em !important;
}

.email {
    background: #fff url("../img/arroba.png") no-repeat left 17px bottom 12px !important;
    padding-left: 50px !important;
    font-size: 1em !important;
}

    @media only screen and (max-width : 1170px) {
        .email,
        .protocolo,
        .password {
            background-color: #fff !important;
            border: 0px !important;
        }
    }


    @media only screen and (max-width : 1170px) {
        #form-protocolo .form-group {
            margin-bottom: 0px !important;
        }
    }



.medkit {
    background: transparent url("../img/medkit.png") no-repeat  1em 13px !important;
}

.user {
    background: transparent url("../img/user.png") no-repeat  1em 13px !important;
}

.icon-arrow {
    background: transparent url("../img/arrow.png") no-repeat  right 40px top 20px !important;
}

h4.icon-arrow .collapsed,
.icon-arrow.collapsed {
    background: transparent url("../img/arrow-up.png") no-repeat  right 40px top 20px !important;
}

@media only screen and (max-width : 768px) {
    .medkit,
    .icon-arrow,
    .user,
    h4.icon-arrow .collapsed,
    .icon-arrow.collapsed {
        background: none !important;
    }
}

/** ALERTAS **/
.popover {
    border: 1px solid  #dca7a7;
    color: #a94442;
    background-color: #f2dede;
    max-width: none;
}

.possuiConta .popover {
    width: 300px;
}

.popover-title {
    color: #fff;
    background-color: #d9534f;
}

.popover.right > .arrow {
    border-right-color: #dca7a7;
    border-left-width: 0;
}
    .popover.right>.arrow:after {
        border-right-color: #f2dede;
    }

.alert.mobile {
    position: fixed;
    z-index: 999;
    width: 92%
}

    @media only screen and (min-width : 667px) {
        .alert.mobile {
            width: 95%
        }
    }

.displayNone {
    display: none;
}

li.active > a {
    background: #dad8d8 !important;
}


/** TABS **/

.full-width-tabs > ul.nav.nav-tabs {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.full-width-tabs > ul.nav.nav-tabs > li {
    float: none;
    display: table-cell;
}

.full-width-tabs > ul.nav.nav-tabs > li > a {
    text-align: center;
    font-weight: bold;
}

.take-all-space-you-can{
    width:100%;
}

.nav.nav-tabs li a {
    font-size: 1.3em;
    color: #555;
}

.tab-pane.active {
    background: #dad8d8 !important;
}

.tab-pane input[type="text"],
.tab-pane input[type="password"] {
    border: 0;
    border-bottom: 1px solid #a5a5a1;
    box-shadow: none;
    background-color: #fff !important;
    padding-left: 40px !important;
    background-position: 13px 12px  !important;
}

input[type="text"].captcha {
    font-size: 1em;
    padding-left: 10px !important;
}

@media only screen and (max-width: 1200px) {
    #boxCaptcha_protocolo img,
    #boxCaptcha_paciente img,
    #boxCaptcha_medico img {
        margin-bottom: 15px;
    }
}

.nav-tabs>li>a {
    margin-right: 0px;
}

.logins {
    margin: 3em 0;
}

#btEntrarProtocoloSenha,
#btEntrarPaciente,
#btEntrarMedico {
    border: 0;
    margin-top: 15px;
}

/** Overide bootstrap **/
@media only screen and (max-width : 992px) {
    .col-sm-12 {
        margin-bottom: 15px;
        float: none;
    }
}

@media only screen and (max-width: 1200px) {
    .col-md-12 {
        margin-bottom: 15px;
        float: none;
    }
}

@media only screen and (max-width : 768px) {
    .col-xs-12 {
        float: none;
    }
}

@media only screen and (min-width: 768px) {
    .text-right-sm {
        text-align: right;
    }
}

@media only screen and (min-width: 992px) {
    .text-right-md {
        text-align: right;
    }
}

@media only screen and (min-width : 1200px) {
    .text-right-lg {
        text-align: right;
    }
}

@media only screen and (min-width : 1024px) and (max-width: 1280px) {
    .forms {
        margin-top: 0.5em;
    }
}

.row.forms > .logins {
    margin: 1em 0 !important;
}

    @media only screen and (max-width : 1024px) and (max-height: 768px) {
        .row.forms > .logins {
            margin: 0 0 1em !important;
        }
    }

input.form-control {
    height: 42px;
}

/** possuiConta */
.possuiConta {
    display: block;
    font-size: 1.3em;
    margin-bottom: 25px;
    text-align: center;
}

#possuiConta {
    cursor: pointer;
}

    #possuiConta {
        color: #ccc !important;
    }

    #possuiConta:hover {
        color: #333 !important;
    }

/** POPOVER **/
.popover {
    border: 1px solid #286090;
    color: #a94442;
    background-color: #f2dede;
}

.popover-title {
    color: #fff;
    background-color: #286090;
    border-color: #204d74;
}

.popover-content {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

.popover.right > .arrow {
    border-right-color: #286090;
}

.popover.right>.arrow:after {
    border-right-color: #d9edf7;
}

.form-control:focus {
    outline: 1px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    outline:none !important;
    border:1px solid #4D90FE !important;
    -webkit-box-shadow: 0px 0px 5px  #4D90FE !important;
    box-shadow: 0px 0px 5px  #4D90FE !important;
}

.loading {
    font-size: 2em;
}

a:focus {
    outline: 0;
}
