@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&subset=latin-ext');

html{

}

body{
  background-color: #dedede;
  font-family: 'Roboto', sans-serif;
  min-height: 100vh;
}

.col-sm{
  margin: 0 auto;
  width: 800px;
  max-width: 100%;
}

.basecard{
  background-color: #fff;
  box-shadow: 0px 5px 8px -5px rgba(0,0,0,0.6);
  padding: 1em;
  border-radius: 4px;
  margin: 1em auto 0 auto;
	/*min-height: calc(100vh - 4em);*/
  display: inline-block;
  width: 1000px;	
  position: relative;
  text-align: left;
  max-width: 95%;
}

.basecard-menu{
  background-color: #fff;
  box-shadow: 0px 5px 8px -5px rgba(0,0,0,0.6);
  border-radius: 4px;
  margin: 1em auto 0 auto;
  display: inline-block;
  width: 1000px; 
  position: relative;
  text-align: left;
  max-width: 95%;
}

.base-cont{
  display: inline-block;
  width: 1000px; 
  max-width: 95%;
}

.navbar{
  border-radius: 4px;
}

.col-sm {
  text-align: center;
}

.form-row>.col, .form-row>[class*=col-] {
  padding-right: 5px;
  padding-left: 5px;
  min-width: 150px;
}

#pdfV{
	margin-top: 1em;
	width: 100%;
	min-height: calc(100vh - 8em);
	border: 0;
	box-shadow: 0;
	background-color: #eee;
}

.basecard p{
  text-align: justify;
}


.pdf-btns{
	height: 2em;
	display: inline-block;
}

#editor{
	width: 100%;
	min-height: calc(100vh - 8em);
}

.pad-wrapper-inner {
  width: 650px;
  overflow: hidden;
  height: 200px;
  position: relative;
}

#signature-pad{
  position: absolute;
  top: 0;
  height: 200px;
  left: 0;
  width: 650px;
}

.empty #signature-pad{
  background-color:  rgba(255, 235, 59, 0.5);
}


label{
	font-weight: bold;
	text-transform: uppercase;
  font-size: 80%;
  letter-spacing: 1px;  
}

.form-check label{
	font-weight: normal;
	text-transform: unset;	
}

#sign-data{
	width: 100%;
}

.pad-wrapper{
	width: 100%;	
	margin-bottom: 2em;
  position: relative;
  display: inline-block;  
}

.pad-wrapper-inner{
  position: relative;
  float: left;
}

.pad-wrapper-inner:after{
  content: "";
  display: inline-block;
  position: absolute;
  left: 2em;
  top: calc(200px - 4.5em); 
  z-index: 15;
  pointer-events: none;
  width: calc(650px - 4em - 6px);
  height: 1px;
  background-color: rgba(0,0,0,0.3);
}

.pad-wrapper-inner:before{
  content: "";
  display: inline-block;
  position: absolute;
  left: 2em;
  top: 2em;
  z-index: 10;
  pointer-events: none;
  width: calc(650px - 4em - 6px);
  height: calc(200px - 4em);
  border: 3px solid rgba(0,0,0,0.8);
}

#pad-clear{
  margin-left: 15px;
  display: inline-block;
  height: calc(200px - .5rem + 8px);
  width: calc(100% - 650px - 15px);
}

.orient-warning{
  width: 100%;
  margin-top: 1em;
}

@media (orientation: landscape) {
  .orient-warning{
  	display: none;
  }
}

@media (orientation: portrait) {
  .orient-warning{
  	display: inline-block;
  }
}

#page {
  margin-bottom: 15px;
}

.redsup{
  color: #f00;
  vertical-align: super;
  font-size: smaller;
}

.card{
  margin-top: 1em;
}

.card-header{
  text-transform: uppercase;
  letter-spacing: 2px;
}

h3{
  text-transform: uppercase;
  padding-top: 1em;
  padding-bottom: 1em;
  margin-bottom: 1em;
  color: #000;
  border-bottom: 1px solid rgba(0,0,0,0.2);
}

h4{
  margin-top: 1em;
}

h5{
  margin-top: 1em;
}

table tr td p:last-child{
  margin-bottom: 0;
}

table tr td{

}

.form input.empty{
  background-color: rgba(255, 235, 59, 0.5);
}

.form input.empty:focus{
  background-color: unset;
}


.form textarea.empty{
  background-color: rgba(255, 235, 59, 0.5);
}

.form textarea.empty:focus{
  background-color: unset;
}

.form select.empty{
  background-color: rgba(255, 235, 59, 0.5);
}

.form select.empty:focus{
  background-color: unset;
}

.form-check-inline input,
.form-check-inline label{
 padding: 10px 5px!important;
}

.form-check-inline input{
  transform: scale(1.5);
  margin-left: 5px!important;
}

.contract-type-field.empty .form-check-inline{
  background-color: rgba(255, 235, 59, 0.5);
}

.label{
  font-weight: bold;
  text-transform: uppercase;
  font-size: 80%;
  letter-spacing: 1px;
  display: inline-block;
  width: 100%;
  margin-bottom: .5rem;    
}

.material-icons{
  vertical-align: top;
}

#resetFromButton{
  position: absolute;
  right: 1em;
  top: 38px;
}

#resetFromButton .material-icons{
  line-height: 20px;
  font-size: 20px;
}

button .material-icons{
  line-height: 20px;
  font-size: 20px;
}

#successPage{
  display: none;
  text-align: center;
}

#successPage .basecard{
  text-align: center;
}

#successPage .basecard p{
  text-align: center;
}

#successPage h2{
  margin-top: 100px;
}

#successPage h2 .material-icons{
  font-size: 80px;
}

#errorPage{
  display: none;
  text-align: center;
}

#errorPage .basecard{
  text-align: center;
}

#errorPage .basecard p{
  text-align: center;
}

#errorPage h2{
  margin-top: 100px;
}

#errorPage h2 .material-icons{
  font-size: 80px;
}


/*
  Set the color of the icon
*/
.loader svg path,
.loader svg rect{
  fill: #FF6700;
}

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

  .pad-wrapper-inner {
    width: 100%;
  }

  .pad-wrapper-inner:before {
    width: calc(100% - 4em - 6px);
  }

  .pad-wrapper-inner:after {
    width: calc(100% - 4em - 6px);
  }

  #signature-pad{
    left: calc(50% - 325px);
  }

  .pad-wrapper-inner {
    width: 100%;
  }

  .pad-wrapper-inner:before {
    display: none;
  }

  .pad-wrapper-inner:after {
    /*display: none;*/
  }  

  .loader {
    margin: 1em 0;
    text-align: center;
    width: 100%;
  }

}

@media only screen and (max-width: 700px) {
  #resetFromButton {
    position: relative;
    right: unset;
    top: unset;
    width: 100%;
  } 

  #signature-pad {
    //max-width: 100%;
  }  

  #formSubmitButton{
    width: 100%;
  }

  body{
    font-size: 17px;
    line-height: 1.6em;
  }

  table tr{
    display: inline-block;
    margin-bottom: 0.4em;
    width: 100%;
  }

  table tr td{
    
    width: 100%;
    display: inline-block; 
  }

  .basecard {
    padding: 1em 0;
  }  

  .card {
    border-radius: 0rem;
  }

  .form-group{
    padding: 0px 1em;
  }

  .card-body .form-group{
    padding: 0px;
  }

  .basecard h2,
  .basecard h3,
  .basecard h4,
  .basecard h5,
  .basecard p{
    padding-left: 1em; 
    padding-right: 1em; 
  }

  .btn {
    border-radius: 0rem;
  }

  .btn-primary{
    width: 100%;
  }

  .label-pad{
    padding-left: 1em; 
    padding-right: 1em; 
  }

}

@media only screen and (max-width: 900px) {
  #pad-clear {
    width: 100%;
    margin-left: 0px;
    display: inline-block;
    height: auto;
  } 
}

.custom-file-label::after {
  content: "Megnyitás";
}

.logo-wrapper{
  max-width: 80%;
  width: 800px;
  margin: 20vh auto 0 auto;
}

.logo{
  filter: drop-shadow(0 0 10px rgba(0,0,0,0.8));
  transition: all 0.3s cubic-bezier(0.77, 0, 0.175, 1);
}

.logo:hover{
  filter: drop-shadow(0 0 15px rgba(0,0,0,0.8));
  transition: all 0.3s cubic-bezier(0.77, 0, 0.175, 1);
}

.logo img{
  max-width: 100%;
  height: auto;
}

.switch-wrapper{
  max-width: 80%;
  width: 800px;
  margin: 5vh auto 5vh auto;
}

.switch-wrapper .material-icons {
    vertical-align: text-bottom;
}

a.back-link{
  display: inline-block;
  width: 100%;
  text-align: left;
  margin: 1em 0 0 0;
  color: #696969;
}

a.back-link .material-icons {
  vertical-align: middle;
  display: inline-block;
}

#paste-data{
  float: right;
}

#paste-data .btn-sm {
  padding: .0rem .5rem;
}

#header-row .basecard{
  background-color: #333;
  min-height: unset;
  text-align: center;
}

#header-row img{
  position: relative;
  margin: 1em auto;
  width: 90%;
  max-width: 400px;

}

.basecard p{
  
}

.basecard p a{ 
  overflow-wrap: break-word;
}

#global-overlay{
  position: absolute;
  z-index: 500;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,0.0);
  width: 100%;
  height: 100%;
  display: inline-block;
  visibility: hidden;
  transition: all 0.2s cubic-bezier(0.42, 0, 0.58, 1); 
}

#global-overlay.active{
  visibility: visible;
  background-color: rgba(0,0,0,0.6);
  transition: all 0.2s cubic-bezier(0.42, 0, 0.58, 1); 
}

.loader{
  margin: 0 0 0 1em;
  text-align: center;
  display: inline-block;
  vertical-align: top;
  display: none;
}

.loader svg{
  filter: hue-rotate(170deg);
}

.loader.active{
  display: inline-block;
}

#loader-wrapper{
  position: absolute;
  z-index: 501;
  display: inline-block;
  padding: 30px;
  top: calc(50% - 55px);
  left: calc(50% - 55px);
  visibility: hidden;
  background-color: rgba(255,255,255,1);
  border-radius: 10px;
  box-shadow: 0px 5px 8px -5px rgba(0,0,0,0.6);
}


#loader-wrapper .loader {
  margin: 0;
}

#loader-wrapper.active .loader{
  display: inline-block;
}

#loader-wrapper.active{
  visibility: visible;
}


#logout-button{

  display: inline-block;
}

.user-card #logout-button{
  float: right;
}

.user-card{
  line-height: 2.25;
}

.profile-block{
  position: relative;
  display: inline-block;
  width: 100%;
  margin-bottom: 1em;
}

.profile-block:last-child{
  margin-bottom: 0em;
}

.profile-pic{
  width: 10%;
  margin-right: 5%;
  float: right;
  display: inline-block;
}

.profile-data-wrapper{
  width: calc(100% - 20%);
  display: inline-block;
}

.profile-data-wrapper h3,
.profile-data-wrapper h4{
  padding: 0;
  margin: 0;
  border: 0;
}

.cons-img{
  width: 120px;
  height: 120px;
  display: inline-block;
  background-size: cover;
  background-position: center;
  border: 1px solid #000;  
  border-radius: 10px;
}

.cons-img-nopic .material-icons{
  width: 120px;
  height: 120px;
  border-radius: 10px;
  font-size: 120px; 
  color: #aaa;
  border: 1px solid #000;
}

.profile-data-line{
  display: inline-block;
  width: 100%;
  margin-bottom: 0.2em;
}

.profile-data-label{
  display: inline-block;
  color: #898989;
  text-transform: uppercase;
  font-size: 85%;
  letter-spacing: 1px;
  width: 140px;
  text-align: right;
  margin-right: 1em;
}

.profile-data-val{
  display: inline-block;
}

#profile-stat-sum{
  margin:0em auto 1em auto;
  padding: 1em 0;
  border-top: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
}

.ps-col{
  display: inline-block;
  margin: 0.5em 1em;
  padding: 0%;
  width: calc(32% - 2em);  
  vertical-align: top;
}

.ps-item{
  display: inline-block;
  margin: 0.5em 0em;
  padding: 0.5%;
  width: 100%;
}

.ps-label{
  font-weight: bold;
  letter-spacing: 1px;
  display: inline-block;
}

.ps-val{
  
  display: inline-block;
  position: relative;
  vertical-align: top;
  float: right;
}

@keyframes placeHolderShimmer {
  0% {
    background-position: 0px 0;
  }
  100% {
    background-position: 100em 0;
  }
}

.d-loading:after {
  content: "";
  animation-duration: 15s;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
  animation-name: placeHolderShimmer;
  animation-timing-function: linear;
  background: fff;
  background: linear-gradient(to right, #ffffff 8%, #dddddd 18%, #ffffff 33%);
  height: 100%;
  width: 100%;
  position: absolute;
  padding-top: 1rem;
  -webkit-backface-visibility: hidden;
  left:0;
  right:0;
  top:0;
  bottom:0;
}

ul.navbar-nav{
  display: inline-block;
  width: 100%;
}

ul.navbar-nav li{
  display: inline-block;
}

.f-right{
  float: right;
}

.seta-thumb{
  overflow: hidden;
  max-width: 100%;
  display: inline-block;
}

.seta-thumb img{
  max-width: 100%;
  display: inline-block;
  transition: all .3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.seta-thumb a{
  vertical-align: top;
  display: inline-block;
}

.seta-thumb:hover img{
  transform: scale(1.05);
  transition: all .3s cubic-bezier(0.4, 0.0, 0.2, 1); 
}

.data-label{
  display: inline-block;
  width: 100%;
  margin-bottom: 2px;
  font-size: 80%;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(0,0,0,0.6);
}

.data-value{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  width: 100%;  
}

.seta-row{
  padding-top: 1em;
  padding-bottom: 1em;
  border-bottom: 1px solid rgba(0,0,0,0.7);
}

.seta-row:first-of-type{
  padding-top: 0;
}

.seta-row:last-of-type{
  margin-bottom: 0;
  border-bottom: 0px;
}

.seta-row .col-8 .row{
  margin-bottom: 5px;
}

.seta-row .col-8 .row:last-child{
  margin-bottom: 0;
}

.btn-mr{
  margin-right: 0.5em;
}

.button-row{
  margin-top: 15px;
}