body {
margin:50px;
}

.container-fluid.brand{
    padding: 0;
}

.container-fluid.brand img{
    margin: 0 auto;
    float: none;
}

.affix {
    top: 0;
    width: 100%;
}


.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:focus, .navbar-inverse .navbar-nav > .active > a:hover {
    color: #fff;
    background-color: #9C007A;
}


.custom_layout .category_title,
.custom_layout #bottom .title,
.custom_layout .teaser_more{
    display: none;
}

.navbar-inverse {
    background-color: #00A8DA;
    border: transparent;
    z-index: 9;
    border-radius: 0;
}


.navbar-inverse .navbar-nav > li > a {
    color: white;
    font-weight: 700;
}


/* Main content */
.main-content{
     margin: 0 0 30px;
}

/* Zonas */

.custom_layout .teaser_icon .thumbnail img {
    margin-top: 0;
    width: 100%;
}

.custom_layout .teaser_icon,
.custom_layout .teaser_icon img{
    position: relative;
}

.custom_layout .teaser_icon .thumbnail .caption {
    text-align: center;
    position: absolute;
    top: 38%;
    left: 0;
    right: 0;
}

.custom_layout .teaser_icon .thumbnail .caption a {
    color: white;
}

.custom_layout .caption::before,
.custom_layout .caption::after{
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    height: 3px;
    width: 25%;
    border-top: 3px solid white;
    margin: 0 auto;
}

.custom_layout .icon_list_container .title {
    margin: 20px 0;
    height:auto;
    font-size: 2.5em;
}

.custom_layout .carousel{
    border: 3px solid black;
}

.custom_layout .thumbnail{
    padding: 0;
    border: 3px solid black;
    overflow: hidden;
    border-radius: 0;
    margin-bottom: 0;
}

.custom-layout.region#middle img{
    min-height: 606px;
}

.custom-layout.region#left img,
.custom-layout.region#right img{
    height: 290px;
}

.custom_layout .thumbnail img{
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
}

.custom_layout .thumbnail:hover img{
    -moz-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}

.custom_layout #bottom .text img {
    max-width: 100%;
    margin: 0 auto;
    display: block;
    float: none;
}

#bottom .tools.meta-content{
    display: none;
}

.input-group input.form-control,
.input-group-btn > button{
    background: transparent;
    border-color:#00A8DA;
    box-shadow: none;
    color: white;
    text-align: right;
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.form-control:focus {
    border-color: #9C007A !important;
}

.btn-default:focus, .btn-default:hover, .open > .dropdown-toggle.btn-default {
    color: white;
    background-color: #9C007A !important;
    border-color: #9C007A !important;
}

/*==================================================
=            Bootstrap 3 Media Queries             =
==================================================*/


    /* Large Devices, Wide Screens */
    @media only screen and (max-width : 1200px) {

    }

    /* Medium Devices, Desktops */
    @media only screen and (max-width : 992px) {
        body > nav > .container {
            width: 100%;
        }

        .custom_layout .icon_list_container .title {
            font-size: 1.5em;
        }

    }

    @media only screen and (min-width : 769px) {
         .regionview.menu.menuitems_hierarchy{
             display: inline-block;
         }
         .regionview.site.search{
             clear: both;
             width: auto;
             display: inline-block;
         }
         .navbar-form{
            margin: 0;
            top: 7px;
            position: absolute;
        }
    }

    /* Small Devices, Tablets */
    @media only screen and (max-width : 768px) {
        .custom_layout #left_category_left img,
        .custom_layout #right_category_right img,
        .custom_layout #center_category_middle img{
            min-height: 25vh;
            height: 25vh;
        }

        .navbar-inverse .navbar-form {
            border-color: transparent;
        }

        .navbar-brand {
            font-size: 16px;
            color: white !important;
        }

        .navbar-nav > li{
            display: block;
        }
    }

    /* Extra Small Devices, Phones */
    @media only screen and (max-width : 480px) {

    }

    /* Custom, iPhone Retina */
    @media only screen and (max-width : 320px) {

    }

