@white: #ffffff;
@darkBlue: #0f518e;
@formBorder: #407bb3;
@inputBorder: #e8e8e8;
@placeholderColor: #bebebe;

html {
	height: 100%;
	font-size: 62.5%;
}

body {
	height: 100%;
	margin: 0;
	font-family: 'Source Sans Pro', sans-serif;
  font-size: 16px;
  font-size: 1.6rem;
	background: -moz-radial-gradient(center, ellipse cover, rgba(133,196,255,1) 0%, rgba(99,146,190,1) 100%); /* ff3.6+ */
	background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, rgba(133,196,255,1)), color-stop(100%, rgba(99,146,190,1))); /* safari4+,chrome */
	background:-webkit-radial-gradient(center, ellipse cover, rgba(133,196,255,1) 0%, rgba(99,146,190,1) 100%); /* safari5.1+,chrome10+ */
	background: -o-radial-gradient(center, ellipse cover, rgba(133,196,255,1) 0%, rgba(99,146,190,1) 100%); /* opera 11.10+ */
	background: -ms-radial-gradient(center, ellipse cover, rgba(133,196,255,1) 0%, rgba(99,146,190,1) 100%); /* ie10+ */
	background:radial-gradient(ellipse at center, rgba(133,196,255,1) 0%, rgba(99,146,190,1) 100%); /* w3c */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#85C4FF', endColorstr='#6392be',GradientType=1 ); /* ie6-9 */
}

* {
	box-sizing: border-box;
}

a {
	text-decoration: none;
}

tr, th, td {
	padding: 0;
}

p {
	line-height: 120%;
}

a:hover {
  text-decoration: underline;
}

input {
  font-family: 'Source Sans Pro', sans-serif;
}

input[type="submit"] {
  display: inline-block;
  padding: 12px 78px;
  color: #ffffff;
  font-size: 2rem;
  font-size: 20px;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: 1px;
  border: 1px solid #ffffff;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;

	&:hover {
		background: @darkBlue;
		border-color: @darkBlue;
	}
}

#bodyContainer {
	width: 100%;
	max-width: 980px;
	margin: 0 auto;

	@media(max-width: 767px) {
		padding: 0 15px;
	}
}

#logo {
    margin-left: 1em;
}

#header {

	&:after {
    content: '';
    display: table;
    clear: both;
	}

	#headerInfo {
		display: none;
	}

	#languages {
		float: right;
		margin-right: 43px;
		margin-top: 41px;
	}

  #languages ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline;
  }

  #languages ul li {
    display: inline-block;
    margin: 5px;
  }

  #headerContent h2 {
		display: none;
  }
}

#LoginPage {
  width: 100%;
  max-width: 514px;
  padding-top: 164px;
	margin: 0 auto;
  margin-top: 179px;
	background: url('../cz.studentagency.PPAdmin.resource.images.ImagesAnchor/kralovna/kralovna.png') no-repeat;
	background-position: center top;

  .control {
    text-align: center;
    margin: 0.5em;
    padding: 0;
  }
}

.inputTable {
	padding: 28px 31px 49px 31px;
	margin-bottom: 38px;
  border: 5px solid @formBorder;
  border-radius: 15px;
  background-color: #ffffff;
  width: 100%;

	@media(max-width: 499px) {
		padding: 15px 15px 30px 15px;
	}

  th {
  	padding-bottom: 21px;
		color: #10508D;
		font-size: 24px;
		font-weight: 400;
  }

  td.legend {
    display: none;
  }

  td.obligate {
      text-align: right;
  }

	input[name='login'],
	input[name='password'],
        input[name='operatorContainer:operatorLogin'] {
		width: 100%;
		padding: 9px 19px;
		font-size: 2.2rem;
		font-size: 22px;
		color: @placeholderColor;
		border: none;
		border-bottom: 1px solid @inputBorder;
		outline: none;
	}

        input[name='operatorContainer:operatorLogin'] {
            margin-bottom: 20px;
        }

	input[name='password'] {
		margin-top: 20px; 
	}
}

.loginLinks {
	text-align: center;

	a {
		display: block;
		color: @formBorder;
		margin: 30px 0;
	}
}

@media(max-width: 499px) {
	#header {
		#languages {
	    position: absolute;
	    right: 15px;
	    top: 22px;
			margin: 0;
		}
	}

	#LoginPage {
		padding-top: 65px;
		margin-top: 15px;
    background-position: left top;
    background-size: 150px;

    .inputTable {
    	padding: 15px 15px 30px 15px;
    }
	}
}


@media(max-height: 850px) {
	#LoginPage {
		margin-top: 15px;
	}
}

@media(max-height: 650px) {
	#LoginPage {
		padding-top: 65px;
    background-position: left top;
    background-size: 150px;

    .inputTable {
    	padding: 15px 15px 30px 15px;
    }
	}
}

.feedbackPanel {
    margin: 0 auto;
    width: 100%;
    max-width: 440px;
    padding: 15px 15px 15px 30px;
    font-size: 15px;
    color: #D72428;
    list-style: none;
    border-radius: 8px;
    border: 2px solid #B7475D;
    background: #D2E3F3;
}

.feedbackPanel li {
    position: relative;
    padding-left: 15px;
    margin-bottom: .5em;
}

.feedbackPanel li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 5px;
    height: 5px;
    background: #D72428;
    border-radius: 20em;
}

@media(max-width: 499px) {
    .feedbackPanel {
        margin-top: 70px;
    }
}