﻿/* Custom styles for Bootstrap components*/

/**************/
/* Top margin */
/**************/

.top5 {
    margin-top: 5px;
}

.top7 {
    margin-top: 7px;
}

.top10 {
    margin-top: 10px;
}

.top15 {
    margin-top: 15px;
}

.top17 {
    margin-top: 17px;
}

.top25 {
    margin-top: 25px;
}

.top30 {
    margin-top: 30px;
}

.container {
    width: auto;
}

/******************/
/* custom CARD*/
/******************/

.card-container.card {
    max-width: 475px;
    padding: 20px 20px;
}

.card {
    background-color: #F7F7F7;
    /* just in case there no content*/
    padding: 20px 25px 30px;
    margin: 0 auto 25px;
    margin-top: 50px;
    /* shadows and rounded borders */
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
}

.main-img-card {
    width: auto;
    height: 90px;
    margin: 0 auto 10px;
    display: block;
}

@media screen and (max-height: 660px) {
    .card {
        margin-top: 5px;
    }

    .main-img-card {
        height: 60px;
        margin-bottom: 0px;
    }

    .card-container.card {
        padding: 10px 20px;
    }

    .sidenav {padding-top: 10px;}
    .sidenav a {font-size: 18px;}
}

@media screen and (max-width: 768px) {

    .card-container.card {
        max-width: 400px;
    }

    .card {
        margin-top: 5px;
    }

    .main-img-card {
        height: 60px;
        margin-bottom: 0px;
    }

    label {
        margin: 0;
    }

    .invisible-xl {
        display: none;
    }
}

/******************/
/* custom BUTTON */
/******************/


.btn.btn-azul-previva {
    background-color: rgb(47, 84, 128);
    font-weight: 700;
    height: 36px;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    cursor: default;
    font-size: 14px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border-radius: 0px;
    border: none;
    -o-transition: all 0.218s;
    -moz-transition: all 0.218s;
    -webkit-transition: all 0.218s;
    transition: all 0.218s;
    padding: 0px;
}

.btn.btn-azul-previva:hover,
.btn.btn-azul-previva:active,
.btn.btn-azul-previva:focus {
    background-color: rgb(0, 153, 204);
}


.btn-outline-white {
    background-color: transparent;
    color: #ffffff;
    margin-bottom: 5px;
}

.btn-outline-white:hover,
.btn-outline-white:active,
.btn-outline-white:focus {
    color: #ffffff;
}

/***************/
/* custom NAVS */
/***************/

.nav-bar-custom {
    background-color: #fff;
}

.navbar-avatar {
    vertical-align: middle;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 10px;
}

.navbar-avatar-icon {
    height: 20px;
    vertical-align: middle;
}

/***************/
/* custom TABS */
/***************/
.nav-tabs-custom {
    flex: 1;
    display: flex;
    flex-direction: row;
    border: none;
    /*background-color: rgba(47, 84, 128, .8);*/
    padding: .5em;
}

.nav-tabs-custom li {
    flex: 1;
    border: none;
}

.nav-tabs-custom li.active:hover,
.nav-tabs-custom li.active:active,
.nav-tabs-custom li.active:focus {
    border-radius: 0px;
    border: none;
}

.nav-tabs-custom li.active a,
.nav-tabs-custom li.active a:hover,
.nav-tabs-custom li.active a:active,
.nav-tabs-custom li.active a:focus {
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    border: none;
    color: #fff;
    background-color: rgb(89,118,153);
    /*background-color: rgba(255,255,255, .2);*/
}

.nav-tabs-custom li a:hover,
.nav-tabs-custom li a:focus {
    color: #fff;
    background-color: rgb(151,170,192);
    /*background-color: rgba(255,255,255,.5);*/
}

.nav-tabs-custom li a {
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    border: none;
    text-align: center;
    font-weight: bold;
    color: #fff;
    margin-right: 0px;
    padding: 5px 10px;
    font-size: 13px;
}


/**********************/
/* custom INPUT FORMS */
/**********************/

.form-control-custom {
    box-shadow: none;
    border-radius: 2px;
    transition: none;
    z-index: 0 !important;
    padding: 3px 6px;
    height: 28px;
}

.form-control-custom input {
    border: none;
}

.input-group-addon-custom {
    background-color: #fff;
    border-radius: 0px;
    border-left: 0px;
}

/*********************/
/* custom 5 COL GRID */
/*********************/

.container {
    padding: 0;
    margin: 0;
}

.col-sm-2-4 {
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 768px) {
    .col-sm-2-4 {
        float: left;
    }

    .col-sm-2-4 {
        width: 20%;
    }
}

/*********************/
/* custom colors */
/*********************/

.background-azul-previva {
    background-color: rgb(47, 84, 128);
}

.text-azul-previva {
    color: rgb(252, 253, 255);
}

/*********************/
/* Sidenav */
/*********************/

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 600;
    top: 0;
    right: 0;
    background-color: #F7F7F7;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 20px;
    border-left: solid 1px #636363;
}

.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover {
    color: #f1f1f1;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    margin-left: 50px;
}

.modal-header-custom {
    background-color: rgb(47, 84, 128);
    color: #fff;
}

.modal-footer-custom {
    border: none;
}

.modal-content-custom {
    border-radius: 0;
}

.panel-custom {
    margin-bottom: 20px;
    background-color: #f2f2f2;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    border-color: #ddd;
    padding: 10px 0px;
}
