.modal{
  padding: 0px!important;
  margin-top:10px!important;
}
#grecaptcha-box {
    width: 260px;
    overflow: hidden;
    position: relative;
    height: 75px;
}
#grecaptcha-box .grecaptcha-badge {
    box-shadow: none !important;
}
#container1 {
display:none;
position: fixed;
width: 340px;
height: 280px;
top: 20%;
margin-top: -140px;
margin-left: -170px;
background: #fff;
border-radius: 3px;

box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
-webkit-animation-name: bounceIn;
-webkit-animation-fill-mode: both;
-webkit-animation-duration: 1s;
-webkit-animation-iteration-count: 1;
-webkit-animation-timing-function: linear;
-moz-animation-name: bounceIn;
-moz-animation-fill-mode: both;
-moz-animation-duration: 1s;
-moz-animation-iteration-count: 1;
-moz-animation-timing-function: linear;
animation-name: bounceIn;
animation-fill-mode: both;
animation-duration: 1s;
animation-iteration-count: 1;
animation-timing-function: linear;
}
#container1 form {
margin: 0 auto;
margin-top: 20px;
}
#container1 label {
color: #555;
display: inline-block;
margin-left: 18px;
padding-top: 10px;
font-size: 14px;
}
#container1  input[type=text], input[type=password] {
color: #777;
padding-left: 10px;
margin: 10px;
margin-top: 12px;
margin-left: 18px;
width: 290px;
height: 35px;
border: 1px solid #c7d0d2;
border-radius: 2px;
box-shadow: inset 0 1.5px 3px rgba(190, 190, 190, .4), 0 0 0 5px #f5f7f8;
-webkit-transition: all .4s ease;
-moz-transition: all .4s ease;
transition: all .4s ease;
}
#container1 input[type=text], input[type=password] {
color: #777;
padding-left: 10px;
margin: 10px;
margin-top: 12px;
margin-left: 18px;
width: 290px;
height: 35px;
border: 1px solid #c7d0d2;
border-radius: 2px;
box-shadow: inset 0 1.5px 3px rgba(190, 190, 190, .4), 0 0 0 5px #f5f7f8;
-webkit-transition: all .4s ease;
-moz-transition: all .4s ease;
transition: all .4s ease;
}
#lower {
background: #003366;
width: 100%;
height: 69px;
margin-top: 27px;
box-shadow: inset 0 1px 1px #fff;
border-top: 1px solid #ccc;
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
}
#lower input[type=button] {
float: right;
margin-right: 20px;
margin-top: 20px;
width: 80px;
height: 30px;
font-size: 14px;
font-weight: bold;
color: #fff;
background-color: #acd6ef;
background-image: -webkit-gradient(linear, left top, left bottom, from(#acd6ef), to(#6ec2e8));
background-image: -moz-linear-gradient(top left 90deg, #acd6ef 0%, #6ec2e8 100%);
background-image: linear-gradient(top left 90deg, #acd6ef 0%, #6ec2e8 100%);
border-radius: 30px;
border: 1px solid #66add6;
box-shadow: 0 1px 2px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .5);
cursor: pointer;
}

html, body {
  font-family: 'Roboto', 'Helvetica', sans-serif;
}
/* Absolute Center Spinner */

.loading {
  position: fixed;
  z-index: 9999;
  height: 2em;
  width: 2em;
  overflow: show;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}


/* Transparent Overlay */

.loading:before {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}


/* :not(:required) hides these rules from IE9 and below */

.loading:not(:required) {
  /* hide "loading..." text */
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.loading:not(:required):after {
  content: '';
  display: block;
  font-size: 10px;
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  -webkit-animation: spinner 1500ms infinite linear;
  -moz-animation: spinner 1500ms infinite linear;
  -ms-animation: spinner 1500ms infinite linear;
  -o-animation: spinner 1500ms infinite linear;
  animation: spinner 1500ms infinite linear;
  border-radius: 0.5em;
  -webkit-box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.5) -1.5em 0 0 0, rgba(0, 0, 0, 0.5) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
  box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) -1.5em 0 0 0, rgba(0, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
}


/* Animation */

@-webkit-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-moz-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-o-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

main, #messages-card, #messages-card2 {
  height: 95%;
  padding-bottom: 0;
}
#messages-card-container {
  height: calc(100% - 50px);
  padding-bottom: 0;
  width:100%;
  position: absolute !important;
}
#messages-card, #messages-card2 {
  margin-top: 15px;
}
.mdl-layout__header-row span {
  margin-left: 15px;
  margin-top: 17px;
}
.mdl-grid {
  max-width: 1800px;
  margin-right: auto;
}
.material-icons {
  font-size: 36px;
  top: 8px;
  position: relative;
}
.mdl-layout__header-row {
  padding: 0;
  margin: 0 auto;
}
.mdl-card__supporting-text {
  width: auto;
  height: 100%;
  padding-top: 0;
  padding-bottom: 0;
}
#messages,#messages-boss {
  overflow-y: auto;
  margin-bottom: 10px;
  height: calc(100% - 80px);
}

#message-filler,#message-filler-boss {
  flex-grow: 1;
}
.message-container:first-of-type {
  border-top-width: 0;
}
.message-container {
  display: block;
  margin-top: 10px;
  border-top: 1px solid #f3f3f3;
  padding-top: 10px;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.message-container.visible {
  opacity: 1;
}
.message-container .pic {
  background-image: url('/images/profile_placeholder.png');
  background-repeat: no-repeat;
  width: 30px;
  height: 30px;
  background-size: 30px;
  border-radius: 20px;
}
.message-container .spacing {
  display: table-cell;
  vertical-align: top;
}
.message-container .message  {
  display: table-cell;
  width: calc(100% - 40px);
  padding: 5px 0 5px 10px;
}
.message-container .messageBoss  {
  display: table-cell;
  width: calc(100% - 40px);
  padding: 5px 0 5px 10px;
}
.message-container .name {
  display: inline-block;
  width: 100%;
  padding-left: 40px;
  color: #bbb;
  font-style: italic;
  font-size: 12px;
  box-sizing: border-box;
}
#message-form {
  display: flex;
  flex-direction: row;
  width: calc(100% - 48px);
  float: left;
}
#image-form1 {
  display: flex;
  flex-direction: row;
  width: 600px;

  float: center;
}
#reciconf{
  display: flex;
  flex-direction: row;
  width: 10px;

}

#message-form .mdl-textfield {
  width: calc(100% - 100px);
}
#message-form button, #image-form1 button {
  width: 100px;
  margin: 15px 0 0 10px;
}
.mdl-card {
  min-height: 0;
}
.mdl-card {
  background: linear-gradient(white, #f9f9f9);
  justify-content: space-between;
}
#user-container {
/* position: relative;*/
  display: flex;
  flex-direction: row;
  top: 5px;
  width: 100%;
  right: 0;
  padding-left: 10px;
  justify-content: flex-end;
  padding-right: 10px;
}
#user-container #user-pic {
  top: -3px;
  position: relative;
  display: inline-block;
  background-image: url('/images/profile_placeholder.png');
  background-repeat: no-repeat;
  width: 40px;
  height: 40px;
  background-size: 40px;
  border-radius: 20px;
}
#user-container #user-name {
  font-size: 16px;
  line-height: 36px;
  padding-right: 10px;
  padding-left: 20px;
}
#user-container #date-hour {
  position: relative;
  display: inline-block;
  font-size: 16px;
  line-height: 36px;

}



#image-form1 #submitImage1 {
  width: auto;
  padding: 0 6px 0 1px;
  min-width: 0;
}
#image-form1 #submitImage .material-icons {
  top: -1px;
}
.message img {
  max-width: 300px;
  max-height: 200px;
}
#mediaCapture1 {
  display: none;
}
@media screen and (max-width: 610px) {
  header {
    height: 113px;
    padding-bottom: 80px !important;
  }
  #user-container {
    top: 72px;
    background-color: rgb(3,155,229);
    height: 38px;
    padding-top: 3px;
    padding-right: 2px;
  }
  #user-container #user-pic {
    top: 2px;
    width: 33px;
    height: 33px;
    background-size: 33px;
  }
}
.mdl-textfield__label:after {
  background-color: #0274D2 <!--0288D1-->;
}
.mdl-textfield--floating-label.is-focused .mdl-textfield__label {
  color: #0274D2;
}
.mdl-button .material-icons {
  top: -1px;
  margin-right: 5px;
}



.full-banner {
  box-sizing: border-box;
  margin: 0px 0px 10px 30px;
  width: 100%;
  height:30px;
  padding: 0.5rem;
  text-align: center;
}



.full-banner span span{
  white-space: nowrap;
  display:table;
  margin:0;
}

.full-width-bar {
/*  margin: 0 -9999rem;*/
  margin-top: 0px;
  height: 40px;
  width:'100%';

  /*overflow:hidden;*/
  /* add back negative margin value */
  /*padding: 0.25rem 9999rem;*/
  text-align: center;
/*  background: rgba(0, 0, 0, 0.5);*/
}




/*forulario boletin*/

.spacer{clear:both; height:1px;}
.myform .bannerform{
margin:0 auto !important;

height:450px !important;
padding:14px !important ;
}
#stylized{
border:solid 2px #b7ddf2 !important;
background:#ebf4fb !important;
display:none
}
#stylized h1 {
font-size:14px;
font-weight:bold;
margin-bottom:8px;
}
#stylized p{
font-size:11px;
color:#666666;
margin-bottom:20px;
border-bottom:solid 1px #b7ddf2;
padding-bottom:10px;
}
#stylized label{
display:block ;
font-weight:bold;
text-align:right ;
width:200px ;
float:left ;
}
#stylized .small{
color:#666666;
display:block;
font-size:11px;
font-weight:normal;
text-align:right;
width:200px;
}
#stylized input#cabeceraBoletin, input#cabecera,input#cabeceraBa, select#color, input#bannerr{
float:left !important;
font-size:12px !important;
padding:4px 2px !important;
border:solid 1px #aacfe4 !important;
width:550px !important;
margin:2px 0 20px 10px !important;
}


#stylized #bol textarea{
float:left;
font-size:12px;
padding:4px 2px;
border:solid 1px #aacfe4;
width: 400px;
margin:11px 0 0 0;
}

#stylized button{
clear:both;
margin-left:230px;
width:125px;
height:31px;
background:#666666 ;
text-align:center;
line-height:31px;
color:#FFFFFF;
font-size:11px;
font-weight:bold;
margin:15px 0 0 300px;
}

#stylized #input {
    -moz-appearance: textfield !important;
    -webkit-appearance: textfield !important;
    background-color: white !important;
    background-color: -moz-field !important;
    border: 1px solid darkgray !important;
    box-shadow: 1px 1px 1px 0 lightgray inset !important;
    font: -moz-field !important;
    font: -webkit-small-control !important;
    width:763px !important;
    height:280px !important;
	overflow: scroll !important;
}

#loading-page-1 {
   width: 100%;
   height: 100%;
   top: 0px;
   left: 0px;
   position: fixed;
   display: block;
   opacity: 0.7;
   background-color: #000;
   z-index: 99;
   text-align: center;
   color:#fff
}

#loading-content-1 {
  position: absolute;
  top: 50%;
  left: 50%;
  text-align: center;
  z-index: 100;
  color:#fff
}

.hide-loading-1{
  display: none;
}










/*barra menu*/
.mdl-layout__header-row {
    padding: 0;
    margin: 0 10px;
}
nav {
  display: block;
  /*text-align: left !important;*/
}
nav ul {
  margin: 0;
  padding:0 0 0 0px;
  list-style: none;
}





.nav{
  vertical-align: top;
  display: inline-block;

  border-radius:6px;
}
.nav li {
  position: relative;
}
.nav > li {
  float: left;
  border-bottom: 4px #aaa solid;
  margin-right: 1px;
}
.nav > li > a {
  margin-bottom: 1px;

}
.nav > li:hover,
.nav > li:hover > a {
  border-bottom-color: orange;
}
.nav li:hover > a {
  color:orange;
}
.nav > li:first-child {
  border-radius: 4px 0 0 4px;
}
.nav > li:first-child > a {
  border-radius: 4px 0 0 0;
}
.nav > li:last-child {
  border-radius: 0 0 4px 0;
  margin-right: 0;
}
.nav > li:last-child > a {
  border-radius: 0 4px 0 0;
}
.nav li li a {
  margin-top: 1px;
}
.nav li a:first-child:nth-last-child(2):before {
  content: "";
  position: absolute;
  height: 0;
  width: 0;
  border: 5px solid transparent;
  top: 50% ;
  right:5px;
 }
 /* submenu positioning*/
.nav ul {
  position: absolute;
  white-space: nowrap;
  border-bottom: 5px solid  orange;
  z-index: 1;
  left: -99999em;
}
.nav > li:hover > ul {
  left: auto;
  margin-top: 5px;
  min-width: 100%;
}
.nav > li li:hover > ul {
  left: 100%;
  margin-left: 1px;
  top: -1px;
}
/* arrow hover styling */
.nav > li > a:first-child:nth-last-child(2):before {
  border-top-color: #fff;
}
.nav > li:hover > a:first-child:nth-last-child(2):before {
  border: 5px solid transparent;
  border-bottom-color: #fff;
  margin-top:-5px
}
.nav li li > a:first-child:nth-last-child(2):before {
  border-left-color: #fff;
  margin-top: -5px
}
.nav li li:hover > a:first-child:nth-last-child(2):before {
  border: 5px solid transparent;
  border-right-color: orange;
  right: 10px;
}

.textItem{
  word-wrap: break-word;
  font-weight: bold;
  padding-top: 10px !important;
  letter-spacing: 3px !important;
  font-size: 100%;
  text-transform: uppercase;
}

.mdl-color--light-blue-700 {
    background-color:  #003366!important  /*#003366 !important;*/
}
.nav{
  border: 1px solid white;
}
.nav a {
  display:block;
  background: #003366;
  color: #fff;
  text-decoration: none;
  padding: 0.8em 1.8em;
  text-transform: uppercase;
  font-size: 80%!important;
  letter-spacing: 2px;
  font-weight: bold !important;
  position: relative;
  border: 1px solid white;
}

.mdl-layout__header-row span{
  margin-top: 0 !important;
  text-align: center;
  padding-left: 20%
}
    .mdl-cell {
      margin: 5px !important;

    }
    .mdl-checkbox {
        position: relative;
        z-index: 1;
        vertical-align: middle;
        display: inline-block;
        box-sizing: border-box;
         width: 5px !important;
         height: 24px;
         margin: 28px 60px 0 10px;
         padding: 0;
    }
  .mdl-layout__header .mdl-layout__drawer-button {
    color: #fff !important;
  }
  #navlist li
  {
    display: inline;
    list-style-type: none;
    padding-right: 20px;
  }
  a.mdl-navigation__link {
    color: white !important;
  }
  .mdl-layout__drawer {
     width: 300px;
     left: -250px;
   }

.mdl-layout__drawer.is-visible {
 left: 0;
}
.demo-drawer-header {
box-sizing: border-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-webkit-justify-content: flex-end;
-ms-flex-pack: end;
justify-content: flex-end;
padding: 16px;
height: 151px;
}
.demo-avatar-dropdown {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
position: relative;
-webkit-flex-direction: row;
    -ms-flex-direction: row;
        flex-direction: row;
-webkit-align-items: center;
    -ms-flex-align: center;
        align-items: center;
width: 100%;
}
.demo-avatar {
width: 48px;
height: 48px;
border-radius: 24px;
}
.mdl-navigation__link {
display: -webkit-flex !important;
display: -ms-flexbox !important;
display: flex !important;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
color: rgba(255, 255, 255, 0.56);
font-weight: 500;
line-height: 40px!important;
}
.mdl-navigation__link:hover {
background-color: #00BCD4 !important;
color: #37474F !important;
}
.demo-avatar-dropdown {
display: -webkit-flex !important;
display: -ms-flexbox!important;
display: flex!important;
position: relative!important;
-webkit-flex-direction: row !important;
    -ms-flex-direction: row !important;
        flex-direction: row !important;
-webkit-align-items: center!important;
    -ms-flex-align: center!important;
        align-items: center!important;
width: 100% !important;
}
.mdl-navigation__link .material-icons {
font-size: 24px;
color: rgba(255, 255, 255, 0.56);
margin-right: 32px;
}
.material-icons {
top: 0px!important;
}

.mdl-color--light-blue-700 {
    background-color:  #003366!important  /*#003366 !important;  ejercicios : #F48802*/
}
.nav{
  border: 1px solid white;
}
.nav a {
  display:block;
  background: #003366;
  color: #fff;
  text-decoration: none;
  padding: 0.8em 1.8em;
  text-transform: uppercase;
  font-size: 80%!important;
  letter-spacing: 2px;
  font-weight: bold !important;
  position: relative;
  border: 1px solid white;
}

.mdl-layout__header-row span{
  margin-top: 0 !important;
  text-align: center;
  padding-left: 20%
}
    .mdl-cell {
      margin: 5px !important;

    }
    .mdl-checkbox {
        position: relative;
        z-index: 1;
        vertical-align: middle;
        display: inline-block;
        box-sizing: border-box;
         width: 5px !important;
         height: 24px;
         margin: 28px 60px 0 10px;
         padding: 0;
    }
  .mdl-layout__header .mdl-layout__drawer-button {
    color: #fff !important;
  }
  #navlist li
  {
    display: inline;
    list-style-type: none;
    padding-right: 20px;
  }
  a.mdl-navigation__link {
    color: white !important;
  }
  .mdl-layout__drawer {
     width: 300px;
     left: -250px;
   }

.mdl-layout__drawer.is-visible {
 left: 0;
}
.demo-drawer-header {
box-sizing: border-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-webkit-justify-content: flex-end;
-ms-flex-pack: end;
justify-content: flex-end;
padding: 16px;
height: 151px;
}
.demo-avatar-dropdown {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
position: relative;
-webkit-flex-direction: row;
    -ms-flex-direction: row;
        flex-direction: row;
-webkit-align-items: center;
    -ms-flex-align: center;
        align-items: center;
width: 100%;
}
.demo-avatar {
width: 100px;
height: 100px;
margin-bottom: 10px;
border-radius: 50%;
}
.mdl-navigation__link {
display: -webkit-flex !important;
display: -ms-flexbox !important;
display: flex !important;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
color: rgba(255, 255, 255, 0.56);
font-weight: 500;
line-height: 40px!important;
}
.mdl-navigation__link:hover {
background-color: #00BCD4 !important;
color: #37474F !important;
}
.demo-avatar-dropdown {
display: -webkit-flex !important;
display: -ms-flexbox!important;
display: flex!important;
position: relative!important;
-webkit-flex-direction: row !important;
    -ms-flex-direction: row !important;
        flex-direction: row !important;
-webkit-align-items: center!important;
    -ms-flex-align: center!important;
        align-items: center!important;
width: 100% !important;
}
.mdl-navigation__link .material-icons {
font-size: 24px;
color: rgba(255, 255, 255, 0.56);
margin-right: 32px;
}
.material-icons {
top: 0px!important;
}

h2#cp {
   color: #fff;
   font-family: times,Times New Roman,times-roman,georgia,serif;
   font-size: 25px;
   font-weight: bold;
   letter-spacing: -1px;
   line-height: 30px;
   margin: 0;
   padding: 0 0 0px;
   text-transform: none;
   width:200px

   }
   h3#cp {
   color: #fff;
   font-family: Gill Sans,Verdana;
   font-size: 11px;
   font-weight: bold;
   letter-spacing: 2px;
   line-height: 10px;
   margin: 0;
   padding: 5px 0px 0px 0px;
   text-transform: uppercase;
 }
 h3#cp a:active,h3#cp a:hover,h3#cp a:link{
   text-decoration:none;
   color: #fff;
 }
