@font-face {
    font-family: Roboto;
    src: url(Roboto-Medium.ttf);
}

body{
    background: #FFF none repeat scroll 0% 0% !important;
    color:3a3a3a; font-family: 'Roboto',sans-serif; font-size: 16px;
    overflow-y: auto !important;
}

*{
    transition: all 0.2s ease-in 0s; 
}

a{ color: #960e53; text-decoration: none; }
	h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {color: #fff;}
a:hover{ color: #888; }

ul, ul li{
    position:relative;
    list-style: none;
}
ul li{
    padding-left:1.3rem;
}
ul li:before{
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    position: absolute;
    top: 0px;
    left: 0px;
    font-family: FontAwesome;
    color: #666;
}
div.gallery_type1 ul li:before{ display:none;}
div.gallery_type2 ul li:before{ display:none;}
div.gallery_type3 ul li:before{ display:none;}
div.gallery_type4 ul li:before{ display:none;}
div.gallery_type5 ul li:before{ display:none;}
div.gallery_type6 ul li:before{ display:none;}

/* 
==============================
    LAYOUT
==============================
*/
    #container{
        background-color: #FFF;
        border: 0px none;
        margin: 0px auto;
        padding: 0px;
        width:100%;
        max-width:1170px;
    }

/* ======= FIRST HEADER ======= */

    #first_header_wrapper{
        /*background-color: #f5f5f5;*/
        margin-top:0px;
        padding:0.5rem 3rem;
        line-height:2em;
        border-bottom: 1px #ddd solid;
    }
        @media (max-width: 550px) {
            #first_header_wrapper *{
                text-align:center;
            }
        }
    
/* ======= SECOND HEADER ======= */   

    #second_header_wrapper{
        background-color: #f5f5f5;
        margin-top:0px;
        padding:1rem 3rem;
        background-color: #fff;
        /*border-bottom: 3px #888 solid;*/
    }
	.tb_logo_wrapper { width:100%; margin-bottom:0;}
	.tb_logo_wrapper td{ padding-top:2rem; text-align:left;}
	.tb_logo_wrapper td img{ max-width:100%;}
    @media (max-width: 550px) {
		.tb_logo_wrapper td{ padding:1rem; text-align:center;}
    }
    
/* ======= FOURTH HEADER (breadcrumb) ======= */   

    #fourth_header_wrapper{
        background-color: #999; color:#ddd;
        padding:1rem 2rem;
    }
    #fourth_header_wrapper p{
        margin:0;
    }
    #fourth_header_wrapper a{
        color:#fff;
    }
    #fourth_header_wrapper a:hover{
        color:#111;
    }
        
        
/* ======= CENTRAL WRAPPER ======= */

    #central_wrapper{
        color: #333;
        padding: 2em;
        background-color: #fff;
        font-size:14px;
    }
    #central_wrapper h1, #central_wrapper h2, #central_wrapper h3,
    #central_wrapper h4, #central_wrapper h5, #central_wrapper h6{
        color: #fff;
        background-color: #db8037; border-radius:2px;
        padding:3px 6px;
        border-bottom: none;
    }
		#central_wrapper h2{ line-height: 4rem; font-size:2.4rem; padding-left:1.5rem!important;}
		#central_wrapper h5{ line-height: 4rem; font-size:1.8rem; padding-left:1.5rem!important;}

        @media (max-width: 750px) {
                #sidebar { text-align:center;}
                #central_wrapper{ padding: 1em; }
        }
        @media (max-width: 550px) {
                #central_wrapper{ padding: 0.5em; }
        }
    #main { 
        min-height:30em;
    }

/* ======= FIRST FOOT ======= */
    #first_foot_wrapper{ 
        padding:1em; padding-bottom:0.6em;
        border-top: 1px #d6d6d6 solid;
        background-color: #fff;
    }
    #first_foot_wrapper h1, #first_foot_wrapper h2, #first_foot_wrapper h3,
    #first_foot_wrapper h4, #first_foot_wrapper h5, #first_foot_wrapper h6{
        text-align:left;
        position:relative;
        color: #fff;
        background-color: #db8037;
        padding:3px 6px;
    }
    #first_foot_wrapper h1:before, #first_foot_wrapper h2:before, #first_foot_wrapper h3:before, 
    #first_foot_wrapper h4:before, #first_foot_wrapper h5:before, #first_foot_wrapper h6:before{
        content: '';
        display:inline-block;   margin-right:5px;
        width:0.8em;  height:0.8em;
        background: url('edging_yellow.gif') center center repeat;    
    }
    #first_foot_wrapper .social ul{
        text-align:left;
    }
    #first_foot_wrapper .social ul a{
        color: #999;
    }
    @media (max-width: 750px) {
        #first_foot_wrapper .social ul,
        #first_foot_wrapper .horizontal_menu{
            text-align:center;
        }
        #first_foot_wrapper .social ul{
            margin-bottom:0.8rem;
        }
    }
    
/* ======= SECOND FOOT ======= */
    #second_foot_wrapper{ 
        padding:1em; padding-top:2em;
        border-top: 1px #d6d6d6 solid;
        background-color: #fff;
    }
        #second_foot_wrapper h3{
            font-size:16px;
            font-weight: 900;
			color: #fff;
			background-color: #db8037; border-radius:2px;
			padding:3px 6px;
			line-height: 3em;
			text-align: center;
        }
        #second_foot_wrapper a { 
            display:inline-block;
            color:inherit;
        }
        #second_foot_wrapper li a:hover { 
            color: #960e53;
            margin-left: -4px;
        }
        #second_foot_wrapper li a:hover:before { 
            color: #960e53;
        }
        #second_foot_wrapper ul, #second_foot_wrapper ul li{
            position:relative;
            list-style: none;
        }
        #second_foot_wrapper li{
            padding-left:1.3rem;
        }
        /*
        #second_foot_wrapper li a:before{
            content: "";
            display: block;
            width: 12px;
            height: 12px;
            position: absolute;
            top: 0px;
            left: 0px;
            font-family: FontAwesome;
            font-size: 12px;
            color: #666;
        }*/
        
/* ======= THIRD FOOT ======= */
    #third_foot_wrapper{
        padding-top:2rem;
        border-top: 1px #d6d6d6 solid;
        /*background-color: #eee;*/
        line-height: 1.3;
    }   

/* 
==============================
    MAIN MENU
==============================
*/

    #main_nav{
        /* we show the main menu */
        display:block;
        margin-top:1.7rem;
    }
    #main_nav_mini{
        /* we hide the mini menu */
        display:none;
    }
    /*
    #main_nav_mini a{
        background-color: #666;
        color:#fff;
        line-height: 0.8em;
        border-radius: 2px;
        font-weight: bold;
        font-size: 1em;
        margin-left:1rem;
    }
    */
    @media (max-width: 550px) {
        #main_nav{
            /* we hide the main menu */
            display:none;
            background-color: rgba(0,0,0,0.1);
            margin:1em 0;
        }
            #main_nav ul > li{
                display:block!important;
                width:100%;
                margin-top:0;
                padding-top:0;
                margin-bottom:0;
                padding-bottom:0;
            }
            #main_nav ul > li a:before{
                content: ">";
                display: inline-block;
                margin-right: 0.5em;
                font-weight: bold;
            }
            #main_nav ul > li a{
                text-align:center;
            }
        #main_nav_mini{
            /* we show the mini menu button */
            display:inline-block;
        }
        div.social{
            margin-top: 0.3em;
        }
    }
  
/* 
==============================
    TREE MENU (for main menu at top page)
==============================
*/

    .tree_menu{
        padding:0px;
    }

    .tree_menu ul{
            margin: 2px 9px;
            padding: 6px;
            font-weight:normal;
    }
    .tree_menu ul li {
            line-height: 18px;
            margin: 0;
            padding: 0 0.3em;
            float: left;
            position: relative; 
            list-style: none;
    }
    .tree_menu ul li:before {
            display:none;
    }

    /* main level link */
    .tree_menu ul a {
            float:left;
            margin:2px 7px;
            min-width: 3rem;
            text-align:center;
            color:#555;
            font-size:1.1em;
            text-decoration:none;
            border-bottom:none;
            display: block;
            padding:  8px 3px;
            margin: 0;
    }
    /* main level link hover */
    .tree_menu ul a.current, .tree_menu ul li:hover > a {
            transition: background-color 0.2s ease-in-out 0s;
            color: #960e53;
    }

    /* sub levels link hover */
    .tree_menu ul ul li a{
            text-align: left;
    }
    .tree_menu ul ul li:hover{
            color: #f74!important;
    }
    .tree_menu ul ul li:hover a, .tree_menu ul li:hover li a {
            background: none;
            border: none;
            color: #777;
    }
    .tree_menu ul ul li a:hover {
            color: #960e53;
    }

    /* dropdown */
    .tree_menu ul li:hover > ul {
            display: block;
    }

    /* level 2 list */
    .tree_menu ul ul {
            display: none;
            z-index: 15;
            background-color:#f5f5f5;
            margin: 0;
            padding: 0.5em;
            position: absolute;
            top: 33px;
            left: 0;
            border-top:3px #960e53 solid;
            border-bottom:3px #ccc solid;
    }
    .tree_menu ul ul li {
            position: relative;
            width:100%;
            margin: 0;
            padding: 0;
            white-space: nowrap;
    }

    .tree_menu ul ul a {
            font-weight: normal;
            display:block!important;
    }

    /* level 3+ list */
    .tree_menu ul ul ul {
            left: 181px;
            top: -3px;
    }

    /* clearfix */
    .tree_menu ul:after {
            content: '.';
            display: block;
            clear: both;
            visibility: hidden;
            line-height: 0;
            height: 0;
    }
    .tree_menu ul {
            display: inline-block;
    }

    html[xmlns] .tree_menu ul {
            display: block;
    }

    * html .tree_menu ul {
            height: 1%;
    }

/* 
==============================
    HORIZONTAL MENU (for footer menu at bottom page)
==============================
*/
    .horizontal_menu{
        padding:0px; margin:0px;
        text-align: right;
    }

    .horizontal_menu ul{
            display: inline-block;
            margin: 0px;
            padding: 0px;
            font-weight:normal;
    }
    .horizontal_menu ul li:first-child {
            border-left: 0px;
    }
    .horizontal_menu ul li {
            display: inline-block;
            border-left: 1px #d6d6d6 solid;
            line-height: 1em;
            margin: 0;
            padding: 0 0.7em;
            position: relative;
            list-style: none;
    }
    .horizontal_menu ul li:before {
            display:none;
    }

    /* main level link */
    .horizontal_menu ul a {
            float:left;
            margin:2px 7px;
            text-align:center;
            color:#555;
            font-size:1.0em;
            text-decoration:none;
            border-bottom:none;
            display: block;
            padding:  8px 5px;
            margin: 0;
    }
    /* main level link hover */
    .horizontal_menu ul a.current, .horizontal_menu ul li:hover > a {
            transition: background-color 0.2s ease-in-out 0s;
            color: #960e53;
    }
    
/* 
==============================
    SOCIAL ICONS BAR
==============================
*/

    .social ul{
        list-style: none;
        white-space:nowrap;
        margin:0;
        text-align: right;
    }
    .social ul li{
        display:inline;
        padding-left:0;
    }
    .social ul li:before{
        display:none;
    }
    .social a{
        display:inline-block; padding: 4px 8px; margin:0px; 
        background-color: transparent; color: #666; border-radius: none;
        text-decoration:none; font-size: 1.5em; 
    }
    .social a:hover{
        color: #fff!important;
        background-color:#111;
    }
    
/* 
==============================
    MISCELANEOUUS
==============================
*/

.search_div{
    margin:0.5em auto;
    text-align:right;
}
.search_div *{
	margin-bottom: 0;
}
.search_div:after{
    font-family: 'FontAwesome'; font-size: 1rem; color:#666;
    content:"Buscar";
    display: inline-block;
    min-width:15px;
	font-size: 1rem;
	color: transparent!important;
	min-width: 15px;
	text-align: right;
	background: url('ic-mini-search.png') right center no-repeat;
	position: absolute;
	top: 35px;
	right: 10px;    
}
.telefonos_emergencia{
    background-color: #960e53!important;
    color:#fff;
    max-width:250px;
    margin:1em auto!important;
}
    .telefonos_emergencia h5{
        color:#fff!important;
        font-weight: 300;
        text-align:center;
        padding-bottom:0.5rem; margin-bottom:1rem;
        border-bottom:1px #eee dashed!important;
    }
    
hr{ border-style: dashed; }
    
/* 
==============================
    DON'T QUIT THESE "BARLLO" STYLES, BUT PLEASE CUSTOMIZE IT :)
==============================
*/
    .block {
        background-color: rgba(100,0,0,0.05);
        border-radius: 2px;
        padding: 1em;
        margin:1em 0em;
    }
    
/* ====== default style for buttons ===== */

    .bt, .banner_bt1, .banner_bt2, .banner_bt3{ 
        display:inline-block;
        padding:2rem 1rem; margin: 1rem 0;
        text-transform: uppercase; 
        text-align:center; 
        color: #fff!important;
        background-color: #960e53!important;
        border-radius:3px;
        cursor: pointer;
    }
    .bt {       background-color: #960e53; padding:0.5rem 1rem!important; }
    .bt:hover { background-color: #111; }
    .bt[rel=admin] { z-index:110; }
    
    .banner_bt1 {       background-color: #7DC142; }
    .banner_bt1:hover { background-color: #db8037; }
    .banner_bt2 {       background-color: #00B573; }
    .banner_bt2:hover { background-color: #8dca53; }
    .banner_bt3 {       background-color: #aaa; }
    .banner_bt3:hover { background-color: #333; }

/* ========= styles for alerted_field (error or missing data population forms) ======== */
    .alerted_field{background-color: yellow!important;background: yellow!important;}
    input[type=radio].alerted_field{box-shadow: 0px 0px 1px 4px yellow;}
    input[type=checkbox].alerted_field{box-shadow: 0px 0px 1px 4px yellow;}

/* ====== POPUP RSS ===== */

    .div_rss{background-color:#fff;color:#111;}
    .div_rss a{color:#111;}

/* ====== EXPANDIBLE button/box ===== */

    div.expandible{display:none;position:relative;}
    div.expandible a.bt_close{  position:absolute;top:5px;right:5px;display:inline-block;padding:3px 6px;
                                background-color:#555;color:white;font-weight:bold;text-decoration:none;
                                border-radius:2px;border:1px rgba(255,255,255,0.8) solid;}
    div.expandible a.bt_close:hover{ box-shadow: 0px 0px 2px 1px rgba(100,100,100,0.5);}
        

/* 
==============================
    DON'T TOUCH 
==============================
*/

    .clear{float:none;clear:both;}
    .n_w{white-space:nowrap;}
    .a_l{text-align:left;}
    .a_c{text-align:center;}
    .a_r{text-align:right;}
    .a_t{vertical-align:top;}
    .a_m{vertical-align:middle;}
    .a_b{vertical-align:bottom;}
    .c_b{color:#222;}

.w50{width:50px;max-width:100%;}
.w100{width:100px;max-width:100%;}
.w150{width:150px;max-width:100%;}
.w200{width:200px;max-width:100%;}
.w250{width:250px;max-width:100%;}
.w300{width:300px;max-width:100%;}
.w350{width:350px;max-width:100%;}
.w400{width:400px;max-width:100%;}

.w50p{min-width:50%;max-width:100%;}
.w70p{min-width:70%;max-width:100%;}
.w80p{min-width:80%;max-width:100%;}
.w100p{min-width:100%;max-width:100%;}

    @media (max-width: 750px) {
        form table td{
            display: block;
            text-align:center!important;
        }
        form table tr td:first-child{
            border-color: transparent;
        }
        form table{
            max-width:100%;
        }
    }    
