.error {
	border-color: red !important;
}

.error-message {
	color: red;
	/*font-style: italic;*/
  margin-bottom: 1em;
  margin-top: 5px;
}

.nota{
  border-left: 5px solid #ddd;
  padding: 10px 20px;
}

#frm-peticion-cita{
  max-width: 500px;
}

#frm-peticion-cita input, #frm-peticion-cita textarea, #frm-peticion-cita select {
  color: black;
}

label {
  margin-bottom: 0 !important;
}

#ajaxBusy {
  /*
  display: none;
  margin: 0px;
  padding: 0px;
  position: absolute;
  right: 3px;
  top: 3px;
  width: auto;
  */  
  visibility: hidden;
  width: 150px;
  /*height: 150px;*/
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -25px 0 0 -25px;

}
#text-success {
  position: absolute;
  top: 10px;
  right: 10px;
}

#txtResult h2 {
    line-height: 35px;
    border-bottom: 1px solid;
}

.form-control {
	border: 1px solid #e1e1e1 !important;
	font-size: 15px !important;	
}


.row.tit {
    border-bottom: 1px dashed gray;
    padding: 5px 10px;
    margin-right: 0px;
    margin-left: 0px;
    cursor: pointer;
}
.row.tit:last-child {
    border-bottom:none;
}
.asig {
    width: 55%;
    padding: 5px 0 0 0;
}
.prof {
    font-weight: bold;
    padding: 5px 0 0 0;
}
.dia {
    padding: 5px 0 0 0;
}
.hora {
    padding: 5px 0 0 0;
}
.lbl {
    float: left;
    padding: 0 10px;
    width: 75%;
}
.fld {
    float: right;
    padding: 0 10px;
    width: 25%;
}
.tutor {
    background-color: #001228;
    color: #FFFFFF;
}

i {
    padding: 1px 7px !important;
}



/* popup */

.popup{
    width: 100%;
    height: 100vh;
    display: none;
  
    position: fixed;
    top: 0;
    right: 0;
    margin: 3rem;
  }
  
  #popup-frm:target{
    display: flex;
    z-index: 2;
  }
  
  .popup::before{
    content: "";
    box-sizing: border-box;
    width: 100%;
    background-color: #c0c0f0;
  
    position: fixed;
    left: 0;
    top: 50%;
    will-change: height, top;
    animation: open-animation .6s cubic-bezier(0.83, 0.04, 0, 1.16) .65s both;
    opacity: 60%;/*---*/
  }
  
  .popup::after{
    content: "";
    width: 0;
    height: 6px;
    background-color: #c0c0f0; /*#0E649B; */ /*dodgerblue;*/
  
    will-change: width, opacity;
    animation: line-animation .6s cubic-bezier(0.83, 0.04, 0, 1.16) both;
  
    position: absolute;
    top: 50%;
    left: 0;
    /*margin-top: -3px;*//*---*/
  }
  
  @keyframes line-animation{
  
    0%{
      width: 0;
      opacity: 1;
    }
  
    99%{
      width: 100%;
      opacity: 1;
    }
  
    100%{
      width: 100%;
      opacity: 0;
    }  
  }
  
  @keyframes open-animation{
  
    0%{
      height: 0;
      top: 50%;
    }
  
    100%{
      height: 100vh;
      top: 0;
    }
  }
  
  .popup__block{
    height: calc(100vh - 40px);
    padding: 5% 15%;
    box-sizing: border-box;
    position: relative;
  
    margin: auto;
    overflow: auto;
    animation: fade .5s ease-out 1.3s both;
    background-color: #c0c0f0;/*---*/
  }
  
  @keyframes fade{
  
    0%{
      opacity: 0;
    }
  
    100%{
      opacity: 1;
    }
  }
  
  .popup__title{
    font-size: 2rem;
    margin: 0 0 3rem;
    line-height: 2.2rem;
  }
  
  .popup__close{
    width: 2rem;
    height: 2rem;
    text-indent: -9999px;
  
    position: fixed;
    top: 20px;
    right: 20px;
  
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    background-image: url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjMDAwMDAwIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4gICAgPHBhdGggZD0iTTE5IDYuNDFMMTcuNTkgNSAxMiAxMC41OSA2LjQxIDUgNSA2LjQxIDEwLjU5IDEyIDUgMTcuNTkgNi40MSAxOSAxMiAxMy40MSAxNy41OSAxOSAxOSAxNy41OSAxMy40MSAxMnoiLz4gICAgPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIvPjwvc3ZnPg==);
    background-color: #c0c0f0; /*---*/
    cursor: pointer;/*---*/
  }
  
  /*
  * demo page
  */
  
  /*
  body{
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Open Sans, Ubuntu, Fira Sans, Helvetica Neue, sans-serif;
    font-size: 1rem;
    color: #222;
    background-color: #512da8;
    margin: 0;
  }
  */

  p{
    margin: 0;
    line-height: 1.5;
  }
  
  p:nth-child(n+2){
    margin-top: 1rem;
  }
  
  .open-popup{
    /*color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    padding: .75rem 1.25rem;
    border: 1px solid;*/
    padding-right: 0.75rem;
  }
  
  /*.page{
    min-height: 100vh;
    display: flex;
  }
  
  .page__container{
    max-width: 1200px;
    padding-left: .75rem;
    padding-right: .75rem;  
    margin: auto;
  }*/


@media only screen and (max-width: 767px) {

    .asig {
        width: 100%;
    }
    .prof {
        width: 100%;
    	font-weight: bold;
        float: left;
    }
    .dia {
    	padding-right: 10px;
	}
    .hora {
        /*width: 65%;*/
        float: left;
    }
    .lbl {
        width: 100%;
    }
    .fld {
        float: left;
        width: 100%;
    }

}
