html {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

body{
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  font-weight: 100;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  text-align: justify;
}

/*----BOXES----*/
.center-box {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  overflow: hidden;
}

.white-box{
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  padding: 20px;
  margin: 30px 0 40px 0;
  overflow: hidden;
}

.white-box img{
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  display: block;
  margin-bottom: 5px;
}

.grey-bg{
  background-color: #fafafa}

.float-left{
  float: left;
  margin-right: 20px;
}

.float-right{
  float: right;
  margin-left: 20px;
}

/*----TOP----*/
#top{
  background-image: url(../img/dobokocka_header.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 70vh;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  padding: 0;
  overflow: hidden;
}

/*----BUTTON----*/
.button{
  text-align: center;
  margin: 20px 0 10px 0;
  font-size: 15px;
}

.button a{
  margin: 20px 0;
  padding: 5px 10px;
  text-decoration: none;
  text-transform: uppercase;
  color: #333333;
  font-weight: 400;
  transition: background 0.6s ease 0s;
  border: 2px solid #333333;
  border-radius: 5px;
}
  
.button a:hover{
  color: #e3141b;
  border: 2px solid #e3141b;
}

#top .button{
  text-align: left;
  padding: 20px 0 0 40px;
}

/*----SIGN---*/
.sign{
  width: 80px;
  height: auto;
  padding-top: 20px;
}

/*----PROLOG----*/
#prolog{
  padding: 20px 10px;
  margin-bottom: 20px;
}

#prolog p{
  font-size: 18px;
  padding-top: 20px;
}

#prolog p a{
  text-decoration: none;
  font-weight: 400;
  color: #333333;
}

#prolog p a:hover{
  text-decoration: underline;
  color: #e3141b;
}

/*----COURSE----*/
#course{
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  padding: 20px 0 20px 0;
}

#course h3{
  padding: 20px 0 10px 0;
}

#course img{
  width: 100%;
  margin: 0 auto;
}

#course-large h3{
  padding-top: 0;
}

/*----COLLECTION----*/
#collection{
  padding: 20px 0;
}

#collection h2{
  margin-bottom: 30px;
}

#collection p{
  font-size: 18px;
  padding: 10px 0 25px 0;
}

#collection a{
  text-decoration: none;
  color: #333333;
}

.sign-bg{
  padding: 10px 5px 0 5px;
}

.sign-bg:hover{
  background: rgb(200,223,237);
  background: -moz-linear-gradient(163deg, rgba(200,223,237,1) 0%, rgba(129,180,199,1) 100%);
  background: -webkit-linear-gradient(163deg, rgba(200,223,237,1) 0%, rgba(129,180,199,1) 100%);
  background: linear-gradient(163deg, rgba(200,223,237,1) 0%, rgba(129,180,199,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#c8dfed",endColorstr="#81b4c7",GradientType=1);
  transition: background 3s ease 0s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}

/*----PORTRAIT----*/
#portrait{
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  padding: 20px 0;
}

#portrait .center-box{
  max-width: 800px;
}

#portrait img{
  width: 100%;
  margin: 0 auto;
}

#portrait h3{
  font-size: 25px;
  text-align: center;
  padding-bottom: 0;
}

#portrait p{
  font-size: 20px;
  padding: 0 0 20px 0;
  text-align: center;
}

.teacher h3{
  padding-top: 0;
}

.teacher img{
  width: 100%;
  margin: 0 auto;
}

/*----COMMENTS----*/
#comment{
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  padding: 20px 0;
}

#comment img{
  float: left;
  width: 80px;
  margin-right: 20px;
}

#comment p{
  padding: 0;
}

/*----DESCRIPTION----*/
#description{
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

#description h1{
  padding-bottom: 0;
}

#description h3{
  padding-top: 0;
  margin-bottom: 10px;
}

.line-box{
  border-bottom: 2px solid #8fb8c9;
  margin-bottom: 30px;
  padding-bottom: 20px;
  text-align: center;
}

.illustration{
  width: 50%;
  margin: 0 25px 10px 0;
  float: left;
}

#description p a{
  text-decoration: none;
  font-weight: 400;
  color: #333333;
}

#description p a:hover{
  text-decoration: underline;
  color: #e3141b;
}

/*----TABLE----*/
#table{
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  padding-bottom: 20px;
}

table{
  width: 100%;
  text-align: center;
}

th{
  border-bottom: 1.5px solid #8fb8c9;
  vertical-align: middle;
}

tr{
  height: 50px;
}

td{
  width: 33.3%;
  border-bottom: 1.5px solid #8fb8c9;
  vertical-align: middle;
}

table h2{
  margin-bottom: 15px;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}

table h4{
  margin-top: 15px;
}

/*----COURSE LIST---*/
#course-list{
  text-align: center;
}

#course-list .one-third{
  padding-bottom: 20px;
  border-bottom: 1.5px solid #8fb8c9;
}

#course-list .last{
  border-bottom: none;
}

#course-list .one-third:hover{
  background: rgb(200,223,237);
  background: -moz-linear-gradient(163deg, rgba(200,223,237,1) 0%, rgba(129,180,199,1) 100%);
  background: -webkit-linear-gradient(163deg, rgba(200,223,237,1) 0%, rgba(129,180,199,1) 100%);
  background: linear-gradient(163deg, rgba(200,223,237,1) 0%, rgba(129,180,199,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#c8dfed",endColorstr="#81b4c7",GradientType=1);
  transition: background 3s ease 0s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}

#course-list ul{
  padding: 0;
}

#course-list ul li{
  list-style: none;
}

/*----CONTACT FORM----*/
#letter{
  padding: 30px 0 0 0;
}

#letter form{
  margin-top: 20px;
}

#letter form input[type="text"], #letter form input[type="email"]{
  box-sizing: border-box;
  width: 100%;
  padding: 10px;
  border: solid 1px rgba(0,0,0,0.2);
  margin: 0 0 25px 0;
  color: inherit;
  font-family:inherit;
  font-size: inherit;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
  outline: none; 
}

#letter form textarea{
  width: 100%;
  height: 190px;
  padding: 10px;
  border: solid 1px rgba(0,0,0,0.2);
  margin: 0 0 25px 0;
  color: inherit;
  font-family:inherit;
  font-size: inherit;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
  outline: none;
  resize: none;
}

#letter form input[type="submit"]{
  display: block;
  margin: 20px auto;
  padding: 5px 10px;
  font-size: 16px;
  text-decoration: none;
  text-transform: uppercase;
  color: #333333;
  background-color: #ffffff;
  font-weight: 400;
  border: 2px solid #333333;
  border-radius: 5px;
}
  
#letter form input[type="submit"]:hover{
  color: #e3141b;
  border: 2px solid #e3141b;
}

/*----FOOTER----*/
footer{
  background: rgb(200,223,237);
  background: -moz-linear-gradient(163deg, rgba(200,223,237,1) 0%, rgba(129,180,199,1) 100%);
  background: -webkit-linear-gradient(163deg, rgba(200,223,237,1) 0%, rgba(129,180,199,1) 100%);
  background: linear-gradient(163deg, rgba(200,223,237,1) 0%, rgba(129,180,199,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#c8dfed",endColorstr="#81b4c7",GradientType=1);
  clear: both;
  overflow: hidden;
  padding: 20px 0 10px 0;
  text-align: center;
  color: #333333;
  font-size: 14px;
}

footer ul{
  padding-bottom: 20px;
  padding-left: 0;
}

footer ul li{
  display: inline-block;
  border-right: solid 2px #333333;
}

footer li:last-of-type {
  border-right: none;
}

footer ul li a{
  padding: 0 25px;
  color: #333333;
  text-decoration: none;
}

footer ul li a:hover{
  text-decoration: underline;
  color: #e3141b;
}

footer p{
  padding: 0;
}