.navbar .titulo-pagina {
    color: #FFFFFF;
    font-size:1.9em;
    padding-top: 15px;
    position:relative;
    top:-5px;
    left:5px;
    float:left;
    display:none;
}
@media (max-width: 640px) {
    .navbar .titulo-pagina {
        font-size:1.5em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 70%;
        display:inline-block;
    }
}
@media (max-width: 360px) {
    .navbar .titulo-pagina {
        font-size:1.4em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 70%;
        display:inline-block;
    }
}

textarea.form-control {
    height: 100%!important;
}

.content-header {
    background: #fafafa;
}

.page-header {
    padding: 20px 15px 20px;
    margin: 0;
    background: #fff;
    border-top: solid 1px #ddd;
}
.page-header {
    padding-bottom: 9px;
    /*margin: 40px 0 20px;*/
    border-bottom: 1px solid #eee;
}
.page-header .breadcrumb {
    background-color: #ffffff;
    padding: 0;
    margin-bottom: 0;
    font-size: 15px;
}
.toolbar-line {
    margin: 15px 0;
    clear: both;
}
.gray-bg {
    background-color: #f3f3f4;
}
.btn-white {
    background: white;
    border: 1px solid #e7eaec;
}
.escala-gris {
    filter: url('#grayscale');
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
    filter: Gray();
}
.escala-gris:hover {
    -webkit-filter: grayscale(0%);
    -moz-filter: grayscale(0%);
    -ms-filter: grayscale(0%);
    -o-filter: grayscale(0%);
    filter: none;
}
.servicio{
    position: relative;
    color:#fff;
    background-color:#FFFFFF;
    height:120px;
    display:block;
    border:solid 1px #97c5eb;
    margin:10px 0;
    -ms-box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
    -moz-transition-duration:.5s;
    -o-transition-duration:.5s;
    -webkit-transition-duration:.5s;
    transition-duration:.5s;
    overflow: hidden;
}
.servicio .titulo {
    position: absolute;
    right: 0px;
    top: 10px;
    font-size:1.3em;
    color: #FFFFFF;
    background-color:#333333;
    opacity: 0.7;
    display:inline-block;
    padding: 3px 10px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}
.servicio .titulo span {
    opacity: 1;
    color:#fff!important;
}
/*
.servicio:hover{background-color:#97c5eb;-o-box-shadow:inset 0 0 0 80px rgba(0,0,0,.5);-ms-box-shadow:inset 0 0 0 80px rgba(0,0,0,.5);-moz-box-shadow:inset 0 0 0 80px rgba(0,0,0,.5);-webkit-box-shadow:inset 0 0 0 80px rgba(0,0,0,.5);box-shadow:inset 0 0 0 80px rgba(0,0,0,.5);text-decoration:none;cursor:pointer}
*/
.servicio:hover .titulo{background-color:#2d88db;text-decoration:none;cursor:pointer}

.servicio .imagen {
    position: absolute;
    /*width: 40%;*/
    overflow: hidden;
    left:0px;
    top: 0px;
    border:none!important;
}
.servicio .imagen img {
/*
    max-width:250px;
    max-height:140px;
*/
    max-width:600px;
    max-height:140px;
}
@media (max-width: 360px) {
    .servicio .imagen {
        width: 60%;
    }
}

.box{
    padding: 25px 5px;
    margin: 5px 0;
    border:solid 1px #3f729b;
    background-color:#2a88bd;
    text-align:center;
    cursor: pointer;
    height: 80px;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
    display: inline-flex;
}
a.serv .box {
    color: #ffffff!important;
}
.box:hover {
    border:solid 1px #2a88bd;
    background-color:#ffffff;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.5);
}
a.serv:hover > .box{
    color: #2a88bd !important;
    text-decoration: none!important;
    display: inline-flex;
}
@media (min-width: 768px) {
    .navbar-header {
        display: inline-block;
    }
}
hr {
    border-top: 1px solid #97c5eb!important;
}

ul.footer-bar-btns {list-style-type:none;margin:0;padding:0;text-align:center;}
ul.footer-bar-btns li {display:inline-block;position:relative}
ul.footer-bar-btns li.active a,
ul.footer-bar-btns li:hover{color: #FCFCFC!important;}
@media (max-width: 360px) {
    ul.footer-bar-btns li a{
        font-size: 0.9em!important;
    }
}
.wrap-cuadrados {
    position:relative;
    border-bottom: solid 2px #97c5eb;
    position:relative;
    top:0px;
    margin:0 0 50px 0;
    padding: 0px;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.cuadrados {
    background: url(/img/cuadrados.png) no-repeat;
    background-position: right bottom;
    position:absolute;
    width:100%;
    height: 90px;
    right: -2px;
    bottom: -34px;
}
.menu-search {
    position:absolute;
    top: 5px;
    right: 5px;
    display: inline-block;
    /*width: 200px;*/
    /*padding: 5px;*/
}
/* reset webkit search input browser style */
input.search {
    outline: none;
}

input.search[type=search] {
    -webkit-appearance: textfield;
    -webkit-box-sizing: content-box;
    font-family: inherit;
    font-size: 100%;
}
input.search::-webkit-search-decoration,
input.search::-webkit-search-cancel-button {
    display: none; /* remove the search and cancel icon */
}

/* search input field */
.search {
    background: #ededed url(/img/search-icon.png) no-repeat 12px center;
    border: solid 1px #ccc;
    padding: 9px 10px 9px 34px;
    width: 45px;

    -webkit-border-radius: 10em;
    -moz-border-radius: 10em;
    border-radius: 10em;

    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
}
.search:focus {
    width: 150px;
    background-color: #fff;
    border-color: #6dcff6;

    -webkit-box-shadow: 0 0 5px rgba(109,207,246,.5);
    -moz-box-shadow: 0 0 5px rgba(109,207,246,.5);
    box-shadow: 0 0 5px rgba(109,207,246,.5);
}

/* placeholder */
input:-moz-placeholder {
    color: #999;
}
input::-webkit-input-placeholder {
    color: #999;
}

/* demo B */
input[type=search] {
    width: 15px;
    padding-left: 10px;
    color: transparent;
    cursor: pointer;
}
input[type=search]:hover {
    background-color: #fff;
}
input[type=search]:focus {
    width: 130px;
    padding-left: 32px;
    color: #000;
    background-color: #fff;
    cursor: auto;
}
input:-moz-placeholder {
    color: transparent;
}
#demo-b input::-webkit-input-placeholder {
    color: transparent;
}
