body, html {
  width: 100%;
  height: 100%;
  margin: 0;
  font-family: Open Sans,Arial,sans-serif;
font-size: 18px;
line-height: 2em;
  color:#666;
  
}

h2 {
    font-size: 18px;
  padding-bottom: 2px;
    line-height: 1em;
    font-weight: 500;
}
.containerlogin {
  width: 100%;
  height: 100%;
}

.leftpane {
  width: 20%;
  height:70.7%;
  float: left;
  background-color: #57717e;
  display: flex;
  justify-content: center;
  align-items: center;
}

.leftpane img{
	margin:auto;
}
.leftpane p{
	color:white;
	text-align:center;
    font-size:17px;
	font-style:italic;
	padding: 0px 30px;
  	line-height: 1.4em;
  	margin-top: 0px;
}

.middlepane {
    width: 60%;
    height: 70%;
    float: left;
    /*background-color: #FFF; */
    border-collapse: collapse;
	display:flex;
	align-items:center;
}

.rightpane {
  width: 20%;
  height: 66.3%;
  position: relative;
  float: right;
  background-color: #f4f4f4;
  border-collapse: collapse;
padding: 1% 0%;
}

.toppane {
text-align: center;  
width: 100%;
height: auto;
border-collapse: collapse;
background-color: #FFF;
box-shadow: 0 2px 6px 0 rgba(0,0,0,.12);
padding: 0.8% 0% 0% 0%;
font-size: 24px;
font-weight: normal;
color: #57717e;
}

.idiomapane {
text-align: center;  
width: 100%;
height: auto;
border-collapse: collapse;
background-color: #57717e;
padding: 0.8% 0% 0.8% 0%;
font-size: 14px;
font-weight: normal;
color: #FFF;
padding: 0% 0%;
 line-height: 1.7em; 
}

.escudos {width:77px; height:100px;}
.escudos2 {max-height:60px;}
table{
  margin-left: auto; 
  margin-right: auto;
  text-align: center;
}

#pie{
  width: 100%;
  height: auto;
  border-collapse: collapse;
  background-color: #57717E;  
  display:inline-block;
  float: left;
}

#pie1{
	background-color:black;
	color:white;
	height:5%;
	clear:both;
	display:inline-block;
	width:100%; 
}
#pie1 p{
	margin-left:5%;
}
#egaz{
	text-decoration:underline;
	text-decoration-color:#C65AC8;
}
#iniciativa {
  	width: 80%;
	color:white;
	clear:both;
	display:flex;
	padding:0% 2% 0% 2%;
  float: left;
  background-color: #57717E;
	}
#iniciativa h1{
	margin: auto;
}
#imagenes {
  display: flex;
  	width: 50%;
    margin: auto;
    position: relative;
  	padding: 1% 25%;
  background-color: #57717E;
  line-height: 1em;
}

#imagenes a {
  margin: auto;
  text-decoration:none;
  text-align: center;
}
#formiframe {height:400px;width:600px;border:none;}
.pueblo{
	color:white;
	font-size: 16px;
  	font-weight: 700;
}


#id_tdportalempleo {width: 33%;text-align: left;padding-left: 5%;}
#id_tdportalempleo2 {width: 33%;}

.cssinput {
  color: #57717E;
  background-color: rgba(255,255,255,0.9);
  font-size: 14px;
    padding: 16px;
  border: 1px solid #bbb;
}
@media only screen and (max-width: 1300px) {
  #formiframe {height:350px;width:450px;}
}
@media only screen and (max-width: 1100px) {
  #formiframe {height:300px;width:400px;}
}

@media only screen and (max-width: 900px) {
  .leftpane {width: 100%;height:auto;padding-top: 10px;margin-bottom:10px;display:none;}
  .middlepane {width: 100%;height:auto} 
  .rightpane {width: 100%;height:auto}
  #pie {display:none}
#logoegaz {display:inline-block;}
 
}
 
@media only screen and (max-width: 800px) {
  .leftpane {width: 100%;height:auto}
  .middlepane {width: 100%;height:auto} 
  .rightpane {width: 100%;height:auto}
  #pie {display:none}
#logoegaz {display:inline-block;}
#id_tdportalempleo {width: 1%;}
#id_tdportalempleo2 {width: 1%;}  
}

.container {
  position: relative;
  width: 45%;
	cursor:pointer;
	border: 0px solid #57717e;
	margin: 8% auto;
	background-color: rgba(58,52,42,.7);
}

.image {
  opacity: 0.5;
  display: block;
  width: 100%;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
}

.middle {
  transition: .3s ease;
  opacity: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

.container:hover .image {
  opacity: 0.1;
	
}

.container:hover .middle {
  opacity: 1;
}
.container:hover .text {
  border: 2px solid #fff;
  font-size: 17px;	
}
.text {
opacity: 1;
  background-color: transparent;
  color: white;
  font-size: 15px;
  padding: 10px 10px;
  font-weight: normal;
    line-height: 1.1em;
}

.scFormObjectFocusOdd, .ui-dropdownchecklist-selector-wrapper > .ui-dropdownchecklist-selector:focus {
  border-color: #57717e;
  border-width: 6px;
}
.sc-js-input, .scFormObjectOdd, .scFormObjectFocusOdd {
  background-color: #FFFFFF;
  background-image: none;
  opacity: 1;
  filter: alpha(opacity=100);
  border-color: #CCCCCC;
  border-style: solid;
  border-width: 1px;
  color: #666;
  font-family: Open Sans,Arial,sans-serif;
  font-size: 15px;
  padding: 10px 8px;
  letter-spacing: 4px 4px 4px 4px;
  text-decoration: none;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  font-size: 18px;
text-align: left;
}
.scButton_ok {color:#fff; font-size: 17px; font-weight: normal;text-decoration:none; border-width:1px; border-color:#57717e; border-style:solid; 
border-radius:10px; background-color:#57717e; background-image:none; filter: alpha(opacity=100); opacity:1; padding: 3% 30%; cursor:pointer; transition:all 0.2s;  }
.trigger-picker-ok .ui-datepicker-trigger {color:#fff; font-size: 17px; font-weight: normal;text-decoration:none; border-width:1px !important; 
border-color:#57717e !important; border-style:solid !important; border-radius:10px; background-color:#57717e !important; background-image:none !important; 
filter: alpha(opacity=100); opacity:1; padding: 3% 30% !important; cursor:pointer; transition:all 0.2s;  }
.scButton_ok:hover {color:#fff; font-size: 17px; font-weight: normal;text-decoration:none; border-width:1px; border-color:#57717e; border-style:solid; 
border-radius:10px; background-color:#57717e; background-image:none; filter: alpha(opacity=81); opacity:0.81; padding: 3% 30%; cursor:pointer; transition:all 0.2s;  }
.trigger-picker-ok .ui-datepicker-trigger:hover {color:#fff; font-size: 17px; font-weight: normal;text-decoration:none; border-width:1px !important; 
border-color:#57717e !important; border-style:solid !important; border-radius:10px; background-color:#57717e !important; background-image:none !important; 
  filter: alpha(opacity=81); opacity:0.81; padding: 3% 30% !important; cursor:pointer; transition:all 0.2s;  }
.scButton_ok:active {color:#fff; font-size: 17px; font-weight: normal;text-decoration:none; border-width:1px; border-color:#57717e; border-style:solid; 
border-radius:10px; background-color:#57717e; background-image:none; filter: alpha(opacity=77); opacity:0.77; padding: 3% 30%; cursor:pointer; transition:all 0.2s;  }
.trigger-picker-ok .ui-datepicker-trigger:active {color:#fff; font-size: 17px; font-weight: normal;text-decoration:none; border-width:1px !important; 
border-color:#57717e !important; border-style:solid !important; border-radius:10px; background-color:#57717e !important; background-image:none !important; 
  filter: alpha(opacity=77); opacity:0.77; padding: 3% 30% !important; cursor:pointer; transition:all 0.2s;  }
.scButton_ok.disabled {color:#fff; font-size: 17px; font-weight: normal;text-decoration:none; border-width:1px; border-color:#48717f; border-style:solid; 
border-radius:10px; background-color:#48717f; background-image:none; filter: alpha(opacity=33); opacity:0.33; padding: 3% 30%; cursor:default; transition:all 0.2s;  }
.scButton_ok.selected {color:#fff; font-size: 17px; font-weight: normal;text-decoration:none; border-width:1px; border-color:#57717e; border-style:solid; 
border-radius:10px; background-color:#57717e; background-image:none; filter: alpha(opacity=78); opacity:0.78; padding: 3% 30%; cursor:pointer; transition:all 0.2s;  }
.scButton_ok:focus {color:#fff; font-size: 17px; font-weight: normal;text-decoration:none; border-width:1px; border-color:#57717e; border-style:solid; 
border-radius:10px; background-color:#57717e; background-image:none; filter: alpha(opacity=81); opacity:0.81; padding: 3% 30%; cursor:pointer; transition:all 0.2s;  }

#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content, #caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}