* {
    list-style:none;
    text-decoration:none;
    font-family: arial;
}
.rojo {
    color:#8a9b91;
}
.rojo:hover {
    color:#322b33;
}
a {
    color:#8A9B91;
    transition:1s;
}
a:hover {
    color:#322B33;
    transition:1s;
}
.electoral {
    margin-top:10px;
    width:600px;
    height:auto;
    background:white;
    color:black;
    padding:20px;
    text-align:justify;
    box-shadow: 13px 16px 19px 7px rgba(255,255,255,0.82);
-webkit-box-shadow: 13px 16px 19px 7px rgba(255,255,255,0.82);
-moz-box-shadow: 13px 16px 19px 7px rgba(255,255,255,0.82);
}
body {
    /*filter: grayscale(100%);*/
    margin:0px;
    padding:0px;
}
.fixed{position:fixed; top:0}
.cb-slideshow,
.cb-slideshow:after { 
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 0; 
}
.cb-slideshow:after { 
    content: '';
    background: transparent url(../images/pattern.png) repeat top left; 
}
.cb-slideshow li span { 
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    color: transparent;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: none;
    opacity: 0;
    z-index: 0;
	-webkit-backface-visibility: hidden;
    -webkit-animation: imageAnimation 36s linear infinite 0s;
    -moz-animation: imageAnimation 36s linear infinite 0s;
    -o-animation: imageAnimation 36s linear infinite 0s;
    -ms-animation: imageAnimation 36s linear infinite 0s;
    animation: imageAnimation 36s linear infinite 0s; 
}
.cb-slideshow li div { 
    z-index: 1000;
    position: absolute;
    bottom: 30px;
    left: 0px;
    width: 100%;
    text-align: center;
    opacity: 0;
    color: #fff;
    -webkit-animation: titleAnimation 36s linear infinite 0s;
    -moz-animation: titleAnimation 36s linear infinite 0s;
    -o-animation: titleAnimation 36s linear infinite 0s;
    -ms-animation: titleAnimation 36s linear infinite 0s;
    animation: titleAnimation 36s linear infinite 0s; 
}
.cb-slideshow li div h3 { 
    font-family: 'BebasNeueRegular', 'Arial Narrow', Arial, sans-serif;
    font-size: 240px;
    padding: 0;
    line-height: 200px; 
}
.cb-slideshow li:nth-child(1) span { 
    background-image: url(img24/1.jpg) 
}
.cb-slideshow li:nth-child(2) span { 
    background-image: url(img24/2.jpg);
    -webkit-animation-delay: 6s;
    -moz-animation-delay: 6s;
    -o-animation-delay: 6s;
    -ms-animation-delay: 6s;
    animation-delay: 6s; 
}
.cb-slideshow li:nth-child(3) span { 
    background-image: url(img24/3.jpg);
    -webkit-animation-delay: 12s;
    -moz-animation-delay: 12s;
    -o-animation-delay: 12s;
    -ms-animation-delay: 12s;
    animation-delay: 12s; 
}
.cb-slideshow li:nth-child(4) span { 
    background-image: url(img24/4.jpg);
    -webkit-animation-delay: 18s;
    -moz-animation-delay: 18s;
    -o-animation-delay: 18s;
    -ms-animation-delay: 18s;
    animation-delay: 18s; 
}
.cb-slideshow li:nth-child(5) span { 
    background-image: url(img24/5.jpg);
    -webkit-animation-delay: 24s;
    -moz-animation-delay: 24s;
    -o-animation-delay: 24s;
    -ms-animation-delay: 24s;
    animation-delay: 24s; 
}
.cb-slideshow li:nth-child(6) span { 
    background-image: url(img24/6.jpg);
    -webkit-animation-delay: 30s;
    -moz-animation-delay: 30s;
    -o-animation-delay: 30s;
    -ms-animation-delay: 30s;
    animation-delay: 30s; 
}
.cb-slideshow li:nth-child(2) div { 
    -webkit-animation-delay: 6s;
    -moz-animation-delay: 6s;
    -o-animation-delay: 6s;
    -ms-animation-delay: 6s;
    animation-delay: 6s; 
}
.cb-slideshow li:nth-child(3) div { 
    -webkit-animation-delay: 12s;
    -moz-animation-delay: 12s;
    -o-animation-delay: 12s;
    -ms-animation-delay: 12s;
    animation-delay: 12s; 
}
.cb-slideshow li:nth-child(4) div { 
    -webkit-animation-delay: 18s;
    -moz-animation-delay: 18s;
    -o-animation-delay: 18s;
    -ms-animation-delay: 18s;
    animation-delay: 18s; 
}
.cb-slideshow li:nth-child(5) div { 
    -webkit-animation-delay: 24s;
    -moz-animation-delay: 24s;
    -o-animation-delay: 24s;
    -ms-animation-delay: 24s;
    animation-delay: 24s; 
}
.cb-slideshow li:nth-child(6) div { 
    -webkit-animation-delay: 30s;
    -moz-animation-delay: 30s;
    -o-animation-delay: 30s;
    -ms-animation-delay: 30s;
    animation-delay: 30s; 
}
.cajalogo {
    margin-top:100px;
    width:100%;
    height:auto;
    text-align:center;
}
.logo {
    background: rgba(255,255,255,0.7);
    width:30%;
    height:auto;
    display:block;
    border-radius:40px;
    box-shadow: 20px 15px 15px #338A9B91;
    opacity:1;
}
.container{
	position: relative;
	text-align: center;
}
#widges {
    background:rgba(255, 255, 255, 0.5);
    width:100%;
    font-size:1.7em;
    height:auto;
    color: white;
    padding:7px 0px 7px 0px;
    text-align:right;
}
#widges a {
    color:#322B33;
    padding-right:15px;
}
#widges a:hover {
    color:#8A9C90;
}
.menu_bar {
	display:none;
}

header {
    display:block;
	width: 100%;
	height:100px;
	
}

.fixed{
    position:fixed; 
    top:0
}
#logot {
        width: auto;
        height:100px;
        padding-left:15px;
        padding-top:-10px;
        float:left;
        opacity:1;
    }
#logot1 {
    display:none;
}
header nav {
background: rgb(50,43,51);
background: linear-gradient(0deg, rgba(50,43,51,1) 0%, rgba(138,155,145,1) 100%);
	width:100%;
	text-align:right;
	height:100px;
	z-index:1000;
	position: absolute;
	border-bottom:8px solid  #8A9B91;
}

header nav ul {
	list-style:none;
	margin-right:100px;
	padding-top:25px;
	text-align:right;
}

header nav ul li {
	display:inline-block;
	position: relative;
	text-align:left;
	color:white;
}

header nav ul li:hover {
background:  #8A9B91;
transition:1s;
}

header nav ul li a {
	color: white;
	display:block;
	text-decoration:none;
	padding: 13px;
	font-size:1em;
}
header nav ul li a:hover {
    color:white;
}
header nav ul li a span {
	margin-right:10px;
	color:white;
}

header nav ul li:hover .children {
	display:block;
	color:#322B33;
}

header nav ul li .children {
    margin:0px;
    padding:0px;
	display: none;
	background: #322b33;
	position: absolute;
	width: 150%;
	z-index:1000;
	color:#68091e;
}

header nav ul li .children li {
	display:block;
	overflow: hidden;
	border-bottom: 1px solid white;
}

header nav ul li .children li a {
	display: block;
}

header nav ul li .children li a span {
	float: right;
	position: relative;
	top:3px;
	margin-right:0;
	margin-left:10px;
}

header nav ul li .caret {
	position: relative;
	top:3px;
	margin-left:10px;
	margin-right:0px;
	transition:1s;
}
.icon-menu {
    width:40%;
}

.imgtrans, .imgtranspie{
    display: grid;  
    grid-gap: 25px;  
    grid-template-columns: repeat(auto-fit, 310px);
    justify-content: center;
    align-items: center;
    padding:20px 0px 20px 0px;
}
.imgtrans img {
    width:300px;
    height:auto;
    opacity:0.5;
}
.imgtrans img:hover {
    opacity:1;
    transition:1s;
}
.imgtranspie img {
    width:300px;
    height:auto;
}
.generales {
    padding:50px;
    display: grid;  
    grid-gap: 25px;  
    grid-template-columns: repeat(auto-fit, 270px);
    justify-content: center;
    /*align-items: center;*/
}
.generales div {
    margin:0px;
    padding:0px;
}
.diva {
    background: #322B33;
    transition:1s;
    padding-top:30px;
    border-radius:0px;
    box-shadow: 5px 10px 8px #888888;
}
.generales div span {
    padding:10px 0px 10px 20px;
}
.generales div p {
    text-align:justify;
    color:white;
    padding:10px 15px 30px 15px;
}
.generales div h1 {
    padding-top:15px;
    text-align:center;
    font-size:1.3em;
    color:white;
}
.generales img {
    width:150px;
    height:auto;
    text-align:center;
}
.generales .diva:hover {
    border-radius:30px;
    transition:1s;
    background: #8A9B91;
    color:white;
    box-shadow: 10px 20px 10px #888888;
}
#frame0 {
    width:100%;
    height:auto;
    padding:90px 0px 20px 0px;
    text-align: center;
}
#frame0 h1 {
    color:black;
    font-size:5em;
    text-shadow: 2px 2px 4px white;
}
.contenido {
    width:100%;
    height:auto;
    display:flex;
    justify-content: center;
    align-items: center;
    
}
.contenido_ {
    width:90%;
    height:auto;
    margin:10px auto;
    padding:20px 0px 20px 20px;
    color:#6b6564;
    font-size:1em;
}
.fb {
    background:white;
}

#form-main{
    display: flex;
    text-align:center;
    justify-content: center;
    align-items: center;
    padding-top:100px;
    padding-bottom:100px;
}

#form-div {
	background-color:rgba(72,72,72,0.6);
	padding-left:3px;
	padding-right:3px;
	padding-top:3px;
	padding-bottom:3px;
	width: 75%;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
}
#form-data {
    font-size:1.2em;
    color:#3C2B3D;
}
#form-div > h1 {
    background:white;
    font-size:1.em;
    color:#3C2B3D;
}
.feedback-input {
	color:#3C2B3D;
  font-weight:500;
	font-size: 18px;
	border-radius: 0;
	line-height: 22px;
	background-color: #fbfbfb;
	padding: 13px 13px 13px 54px;
	margin-bottom: 10px;
	width:100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
  border: 3px solid rgba(0,0,0,0);
}

.feedback-input:focus{
	background: #fff;
	box-shadow: 0;
	border: 3px solid #8A9B91;
	color:red;
	outline: none;
  padding: 13px 13px 13px 54px;
}

.focused{
	color:#454C76;
	border:#454C76 solid 3px;
}

/* Icons ---------------------------------- */
#name{
	background-image: url(http://rexkirby.com/kirbyandson/images/name.svg);
	background-size: 30px 30px;
	background-position: 11px 8px;
	background-repeat: no-repeat;
}

#name:focus{
	background-image: url(http://rexkirby.com/kirbyandson/images/name.svg);
	background-size: 30px 30px;
	background-position: 8px 5px;
  background-position: 11px 8px;
	background-repeat: no-repeat;
}

#email{
	background-image: url(http://rexkirby.com/kirbyandson/images/email.svg);
	background-size: 30px 30px;
	background-position: 11px 8px;
	background-repeat: no-repeat;
}

#email:focus{
	background-image: url(http://rexkirby.com/kirbyandson/images/email.svg);
	background-size: 30px 30px;
  background-position: 11px 8px;
	background-repeat: no-repeat;
}

#comment{
	background-image: url(http://rexkirby.com/kirbyandson/images/comment.svg);
	background-size: 30px 30px;
	background-position: 11px 8px;
	background-repeat: no-repeat;
}

textarea {
    width: 100%;
    height: 150px;
    line-height: 150%;
    resize:vertical;
}

input:hover, textarea:hover,
input:focus, textarea:focus {
	background-color:white;
	color:#8a9b91;
}

#button-blue{
	float:left;
	width: 100%;
	border: #fbfbfb solid 4px;
	cursor:pointer;
	background: rgb(50,43,51);
    background: linear-gradient(0deg, rgba(50,43,51,1) 0%, rgba(138,155,145,1) 100%);
	color:white;
	font-size:24px;
	padding-top:22px;
	padding-bottom:22px;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
  margin-top:-4px;
  font-weight:700;
}

#button-blue:hover{
	background-color: rgba(0,0,0,0);
	color: #3C2B3D;
}
	
.submit:hover {
	color: #3498db;
}
	
.ease {
	width: 0px;
	height: 74px;
	background-color: #fbfbfb;
	-webkit-transition: .3s ease;
	-moz-transition: .3s ease;
	-o-transition: .3s ease;
	-ms-transition: .3s ease;
	transition: .3s ease;
}

.submit:hover .ease{
  width:100%;
  background-color:white;
}

#pie {
    width:100%;
    background: white;
	clear: both;
	text-align:center;
	border-top: 2px solid #8A9B91;
	color:#322B33;
	}
#cpie {
    font-style:none;
        font-size:100%;
        text-align:center;
        width:100%;
        height:auto;
        padding:50px 0px 50px 0px;
        display: grid;  
        grid-gap: 22px;  
        grid-template-columns: 250px 150px 250px 200px 200px;
        justify-content: center;
}
#cpie img {
    width:90%;
    height:auto;
}
#cpie h1 {
    font-size:0.8em;
    text-align:left;
    padding-bottom:10px;
}
#cpie p {
    margin:5px 0px 5PX 0px;
    font-size:0.7em;
    text-align:left;
}
#cpie a {
    font-weight: bold;
    color:#8A9B91;
}
#cpie a:hover {
    font-family: Arial, Helvetica, sans-serif;
    font-style: italic;
    color:#322B33;
}
#pie h3 {
    color: #58534f;
    font-size:0.6em;
    font-style:none
}
@media screen and (max-width: 1200px) {
    header nav ul li a {
        font-size:0.9em;
        padding:15px;
    }
}
@media screen and (max-width: 1140px) { 
    .cb-slideshow li div h3 { 
        font-size: 140px;
    }
    
}
@media screen and (max-width: 1050px) {
    header nav ul li a {
        font-size:0.8em;
        padding:4px;
    }
}
@media screen and (max-width: 900px) {
    header nav ul li a {
        font-size:0.7em;
        padding:2px;
    }
}

@media screen and (max-width: 800px) { 
    .cb-slideshow li div h3 { 
        font-size: 50px; 
    }
    body {
		padding-top:70px;
	}
	#logot {
	    display:none;
	}
    .Menu_bar:focus + .principal {
        transform: translateX(0rem);
    }
	.menu_bar {
	    background: rgb(50,43,51);
background: linear-gradient(0deg, rgba(50,43,51,1) 0%, rgba(138,155,145,1) 100%);
		display:block;
		width:100%;
		position: fixed;
		top:0;
		text-align:center;
	}

	.menu_bar .bt-menu {
		display: block;
		padding: 20px;
		color: #fff;
		overflow: hidden;
		font-size: 25px;
		font-weight: bold;
		text-decoration: none;
	}

	.menu_bar span {
		float: right;
		font-size: 40px;
	}

	header nav {
		width: 90%;
		height: calc(100% - 90px);
		position: fixed;
		right:100%;
		margin: 0;
		overflow: scroll;
	}
    header nav ul {
	    
	}
	header nav ul li {
		display: block;
		border-bottom:1px solid rgba(255,255,255,.5);
	}

	header nav ul li a {
	    font-size:1.3em;
		display: block;
	}

	header nav ul li:hover .children {
		display: none;
	}

	header nav ul li .children {
		width: 100%;
		position: relative;
	}

	header nav ul li .children li a {
		margin-left:30px;
		margin-top:5px;
	}

	header nav ul li .caret {
		float: right;
	}
    .cajalogo {
        margin-top:-30px;
    }
    .logo {
        width:60%;
    }
    .imgtrans, .imgtranspie{
    display:block;
    }
    .imgtrans img {
        width:290px;
    }
    #cpie { 
        display:block;
    }
    #cpie img {
        width:70%;
        height:auto;
        align-items:center
    }
    #cpie h1 {
    padding-top:30px;
    padding-left:40px;
    }
    #cpie p {
    margin:1px;
    padding-left:10px;
    }
    #cpie a {
    padding-left:10px;
    }
    #pie h3 {
    padding-left:10px;
    }
}
@media only screen and (max-width: 580px) {
    #form-main{
        padding:5px;
    }
	#form-div{
		left: 3%;
		margin-right: 3%;
		width: 88%;
		margin-left: 0;
		padding-left: 3%;
		padding-right: 3%;
	}
}

/************************************************************************************************************************************Animaciones***************** */
@-webkit-keyframes imageAnimation { 
    0% { opacity: 0;
    -webkit-animation-timing-function: ease-in; }
    8% { opacity: 1;
         -webkit-animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}
@-moz-keyframes imageAnimation { 
    0% { opacity: 0;
    -moz-animation-timing-function: ease-in; }
    8% { opacity: 1;
         -moz-animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}
@-o-keyframes imageAnimation { 
    0% { opacity: 0;
    -o-animation-timing-function: ease-in; }
    8% { opacity: 1;
         -o-animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}
@-ms-keyframes imageAnimation { 
    0% { opacity: 0;
    -ms-animation-timing-function: ease-in; }
    8% { opacity: 1;
         -ms-animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}
@keyframes imageAnimation { 
    0% { opacity: 0;
    animation-timing-function: ease-in; }
    8% { opacity: 1;
         animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}
/* Animation for the title */
@-webkit-keyframes titleAnimation { 
    0% { opacity: 0 }
    8% { opacity: 1 }
    17% { opacity: 1 }
    19% { opacity: 0 }
    100% { opacity: 0 }
}
@-moz-keyframes titleAnimation { 
    0% { opacity: 0 }
    8% { opacity: 1 }
    17% { opacity: 1 }
    19% { opacity: 0 }
    100% { opacity: 0 }
}
@-o-keyframes titleAnimation { 
    0% { opacity: 0 }
    8% { opacity: 1 }
    17% { opacity: 1 }
    19% { opacity: 0 }
    100% { opacity: 0 }
}
@-ms-keyframes titleAnimation { 
    0% { opacity: 0 }
    8% { opacity: 1 }
    17% { opacity: 1 }
    19% { opacity: 0 }
    100% { opacity: 0 }
}
@keyframes titleAnimation { 
    0% { opacity: 0 }
    8% { opacity: 1 }
    17% { opacity: 1 }
    19% { opacity: 0 }
    100% { opacity: 0 }
}

.no-cssanimations .cb-slideshow li span{
	opacity: 1;
}