/*==================================================
=                    Ivana                         =
==================================================*/

@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400);

/*Calendar week days*/
table.calendar > thead.calhead:before, 
table.calendar > thead.calhead:after {
	left: -10%;
	opacity: .6;
}

table.calendar > thead.calhead::before {
    top: 25%;
}


/*Calendar Pop-up*/

.white-popup {
    position: relative;
    background: #fbfaf6;
    padding: 40px;
    width: auto;
    max-width: 800px;
    margin: 20px auto;
    box-shadow:
	    inset 10px 10px 5px rgba(255,255,255,1),
	    inset 0 0px 8px rgba(0,0,0,0.3), 
	    3px 3px 10px rgba(0, 0, 0, 0.3);
}
.pop-left {
    color: #92603f;
    font-size: 16px;
}
.pop-left strong,
.pop-left em {
    font-size: 20px;
}
.pop-left a {
    color: #92603f;
    font-size: 24px;
    letter-spacing: 2px;
}

.pop-left>p:first-child { /*image*/
	margin-top: 9px;
}
.pop-left>p:first-child img {
	display: block;
	max-width: 100%; max-height: 350px;
	margin: auto;
	box-shadow: 8px 18px 10px rgba(0, 0, 0, 0.2);
}

.pop-right {
    font-size: 14px;
    text-align: justify;
    color: #b37500;
}

.pop-right p:first-child { 
	font-size: 25px;
}

.event-description {
    text-align: center;
    font-weight: bold;
    padding-top: 10px;
}
.event-description p, .event-description p em {
	font-size: 18px;
	margin-bottom: 15px;
}

.pop-left a.c-register-button { /*register button*/
	line-height: 1;
	display: block;
	width: 150px;
	font-size: 23px;
	text-align: center;
	background: #faf6f2;
	padding: 2px 0;
	margin: 27px auto;
	border-width: 2px 3px;
	border-style: solid;
	border-color: #fff #d3c3a5 #d3c3a5 #fff;
}
.pop-left a.c-register-button:hover,
.pop-left a.c-register-button:active,
.pop-left a.c-register-button:focus {
	color: #cca234 !important;
	background: #faf5ef;
} 

.white-popup .mfp-close {
	width: 40px; height: 40px;
	color: transparent; background: #fff;
	border-radius: 30px;
	margin: -12px -12px 0 0;
	opacity: 1;
    box-shadow: inset 2px 2px 2px #fff,
	    inset 0 0px 2px #aaa;
}

.white-popup .mfp-close:before,
.white-popup .mfp-close:after {
	content: ""; display: block; width: 25px; height: 3px;
	position: absolute; top: 0; right: 0; bottom: 0; left: 0;
	background: #edd68d;
	margin: auto;
	border-bottom: 1px solid #c9b35e;
	border-radius: 5px;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}
.white-popup .mfp-close:after {
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

/* Contact (i Subscribe) nav*/
#contact-logo {
	width: 18%;
	min-width: 125px;
}

#contact-menu {
	position: relative;
	margin-top: 7.5%;
}
#contact-menu > #main-menu {
    margin: 0 0 0 18%;
    padding: 0;
    width: 82%;
}
#contact-menu ul#main-menu > li {
	text-align: center;
	padding: 0; 
}

#contact-line {
	margin-top: -12.6%;
}

/*Subscribe*/
#subscribe-wrapper {
	max-width: 480px;
	margin: -10px auto 0 auto;
}

#subscribe-form {
    padding: 20.5% 22% 30%;
}

#subscribe-form .form-group {
}

#subscribe-form label, 
#subscribe-form input, #subscribe-form .form-control {
	font: 300 16px 'Open Sans', sans-serif;
	color: #af8732;

}
#subscribe-form label {
	width: 19%;
}

#subscribe-form input, 
#subscribe-form .form-control {
	color: #a3a3a3;
	padding-top: 5px;
	margin: 0;
	border-color: #ccc;
}
#subscribe-form input:focus,
#subscribe-form .form-control:focus {
	color: #777;
}
#subscribe-form .form-group:nth-child(5)>div { /*subscribe button*/
	width: 100%;
	margin: 0;
}
#subscribe-form .submitbutton {
	display: block;
	padding-right: 10px;
	margin: 5px auto 0 auto;
}
@media only screen and (max-width : 768px) { /*ugly subscribe footer fix*/
	#subscribe #page-footer>div:first-child {
		max-width: 360px;
	}
}


/*Contact*/
#page-contact h3, #page-contact h3 a {
	font-size: 19px;
	letter-spacing: 1px;
	color: #a78846;
}
#page-contact .row>div:first-child {
	padding-top: 40px;
}
#page-contact .row>div:nth-child(2) { /*contact form*/
	margin-top: -57px;
}

#page-contact .row>div:first-child>div:nth-child(3) h3 {
	font-size: 17px;
}

/*info columns*/
#page-contact .row>div:first-child div { 
	height: 400px;
}
/*icons*/
#page-contact .row>div:first-child div p:first-child { 
	max-width: 110px;
}

#page-contact .row>div:nth-child(2) h3 {
	position: relative; top: -20px;
}

#page-contact #contact-wrapper {
	background: url('/img/contact/contact-form-bg-1.png') repeat-y;
	background-size: 100% auto;
	padding-bottom: 0;
}
#page-contact #contact-wrapper:after {
	content:""; position: absolute; left: 0; bottom: 40px; right: 0;
	display: block; width: 91%; height: 200px;
	background: url('/img/contact/contact-form-bg-2.png') no-repeat;
	background-size: 100% auto;
	margin: auto;
}

#page-contact #contact-form {
	padding-top: 40px;
	padding-bottom: 40px;
	margin-bottom: 200px;
}
#page-contact #contact-form .submitbutton {
	display: block; width: 165px;
	position: relative;
	left: 50%;
	margin-left: -10px\9; /*lte IE 8*/
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}

#page-contact #contact-wrapper label, 
#page-contact #contact-wrapper input, 
#page-contact #contact-wrapper .form-control {
	font: 300 14px 'Open Sans', sans-serif;
	color: #cfa954;
	margin-bottom: 0;
}
#page-contact #contact-wrapper #page-contact #contact-wrapper input, 
#page-contact #contact-wrapper .form-control {
	height: 30px;
	font-size: 13px;
	color: #a3a3a3;
	border-color: #ddd;
}
#page-contact #contact-wrapper input:focus,
#page-contact #contact-wrapper .form-control:focus {
	color: #777;
}
#page-contact #contact-wrapper textarea.form-control {
	width: 100%; height: auto;
}

/*Registration*/
#registration-page h2 {
	font-size: 42px;
    margin-bottom: 55px;
    min-width: 400px;
}
#registration-page p, label, input, textarea {
	font: 300 14px 'Open Sans', sans-serif;
	color: #a4854e;
}
#order-event {
	margin-bottom: 30px; /*form groups margin*/
}

#order-form .form-group {
	margin-bottom: 5px;
}
#order-form label {
	color: #a4854e;
}
.form-horizontal .control-label {
	text-align: left;
	width: auto;
	padding-right: 0;
}
/*input divs*/
#order-form .form-group>div { 
	width: 270px;
	padding-left: 12px;
}

#order-form .form-group:nth-child(8)>div { /*checkbox*/
	width: 25px;
	margin-top: 0;
	top: -2px;
}
/*checkbox styles*/
#order-form .form-group:nth-child(8)>div label {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
#order-form .form-group:nth-child(8)>div input[type=checkbox].css-checkbox {
	position: absolute; 
    overflow: hidden; 
    clip: rect(0 0 0 0); 
    height:1px; 
    width:1px; 
    margin:-1px; 
    padding:0;
    border:0;
}
#order-form .form-group:nth-child(8)>div input[type=checkbox].css-checkbox + label.css-label {
	padding-left:20px;
	height:21px; 
	display:inline-block;
	line-height:15px;
	background-repeat:no-repeat;
	background-position: 0 0;
	font-size:15px;
	vertical-align:middle;
	cursor:pointer;
}
#order-form .form-group:nth-child(8)>div input[type=checkbox].css-checkbox:checked + label.css-label {
	background-position: 0 -21px;
}
#order-form .form-group:nth-child(8)>div .css-label{
	background-image:url(/img/register/checkbox.png);
	background-size: 100% auto;
}
/*end checkbox styles*/

#order-form .form-control { /*input field*/
	font-size: 14px;
	height: 32px; padding-top: 5px;
} 
#order-form .form-group:nth-child(14)>div { /*"pay now" button*/
	width: 75%;
	margin-left: 0;
	margin-top: 10px;
}
#order-form .form-group:nth-child(14)>div input { /*"pay now" button*/
	display: block;
	margin: auto;
}

#registration-page #order-total {
	font-size: 16px;
	padding-top: 30px; /*form groups margin*/
	padding-left: 1px;
	margin-bottom: 5px;
}
/*text under 'total'*/
#order-form .form-group:nth-child(10)>div { 
	width: 85%;
	padding-left: 16px;
}
#order-form .form-group:nth-child(10)>div p {
	font-size: 12px;
}
/*note*/
#note-message {
	padding-top: 17px;
}
#registration-page h3 {
	color: #a78846;
	font-size: 19px;
	letter-spacing: 1px;
	margin-bottom: 33px;
}
#note-form {
	background-position: bottom center;
	padding: 60px 28% 180px 30%;
}
#note-form .form-control { /*textarea*/
	height: auto;
	padding: 0;
}

#order-form .row>div:nth-child(2) { /*right column*/
	width: 28%;
}

/*Desktop footer*/
#page-footer .container {
	overflow: hidden;
	width: 100%;
	padding: 0 6% 0 0;
}
.bottom-menu-list, 
#page-bottom-menu {
	float: right;
	display: block;
	overflow: hidden;
	margin-bottom: 40px;
}
#page-bottom-menu > li,
.bottom-menu-list > li {
	display: block;
	float: left;
    vertical-align: top;
    padding: 15px 40px 0 0;
}
#page-bottom-menu > li:first-child, /*stealing image*/
#page-bottom-menu > li:last-child { /*share links*/
	padding-top: 0;
}
#page-bottom-menu > li:first-child { /*stealing image*/
	padding-right: 5px;
}
#page-bottom-menu > li:first-child img { /*stealing image*/
	display: block;
	margin-top: -15px;
}
#page-bottom-menu > li:last-child { /*share links*/
	padding-right: 0;
}
.copy-stealing, .copy-aartwerk, .copy-rights {
	font-size: 12px;
	letter-spacing: 1px;
}
.copy-aartwerk {
	font-size: 10px;
}

/*home page*/
#home .bottom-menu-list {
	float: none;
	padding-left: 160px;
	margin-bottom: 0;
}
#home .bottom-menu-list li {
	padding-top: 14px
}
#home .bottom-menu-list li:last-child { /*share links*/
	padding-top: 0;
}

@media only screen and (max-width : 1110px) { /*all footers*/
	#page-bottom-menu > li,
	.bottom-menu-list > li {
	    padding-right: 20px;
	}
	#page-bottom-menu > li:first-child { /*stealing image*/
		padding-right: 5px;
	}
	#page-bottom-menu > li:last-child { /*share links*/
		padding-right: 0;
	}
}

@media only screen and (max-width : 785px) { /*just home footer*/
	#home .bottom-menu-list {
		padding-left: 140px;
	}
}

/*About*/ 
#page-about .row>div { /*all content*/
	margin-left: 22%;
}
#page-about p {
	text-align: justify;
}
#page-about .row>div>p:nth-child(3),
#page-about .row>div>p:nth-child(4) {
	width: 48%; float: left;
}
#page-about .row>div>p:nth-child(3) {
	margin-right: 4%;
}
.instructors {
	clear: both;
	padding-top: 30px;
}
.instructors div { 
	width: 400px;
	float: left; 
	/*border: 1px solid salmon;*/
}
.instructors .team-image { /*img*/
	display: block; position: relative; clear: both;
	/*width: 180px;*/
	width: 135px;
	margin: 0 30px 40px 0;
	/*border: 1px solid #fff;*/
	background: salmon;
}
.instructors .team-image:before { /*img*/
/*	content:""; display: block;
	position: absolute; top: 0; left: 0; right: 0; bottom: 0;
	margin: auto;
	box-shadow: 
		inset 5px 5px 2px rgba(255,255,255,1),
	    inset 0 0px 5px rgba(0,0,0,.3);
	z-index: 500;*/
}
.instructors .team-image img {
	width: 100%;
}
.instructors .team-name { /*name*/
	padding-top: 25px;
}
.instructors .team-bio { /*description*/
	/*clear: both;*/
}

@media only screen and (max-width : 1083px) { /*about page*/
	#page-about .row>div { /*all content*/
		width: 80%;
		margin-left: 16%;
	}
}

@media only screen and (max-width : 880px) { /*about page*/
	#page-about .row>div { /*all content*/
		width: 90%;
		margin-left: 5%;
	}

	.instructors .team-image { /*img*/
		width: 30%; max-width: 180px;
		margin-right: 5%;
	}
	.instructors .team-name, /*name*/
	.instructors .team-bio { /*description*/
		width: 64%; max-width: 400px;
	}
}
@media only screen and (max-width : 610px) { /*about page*/
	#page-about .row>div>p:nth-child(3),
	#page-about .row>div>p:nth-child(4) {
		width: 100%; float: none;
	}
	#page-about .row>div>p:nth-child(3) {
		margin-right: 0;
	}

	.instructors .team-image { /*img*/
		min-width: 150px;
		margin-bottom: 0;
	}
	.instructors .team-name, /*name*/
	.instructors .team-bio { /*description*/
		width: 100%; max-width: 100%;
	}
	.instructors .team-name { /*name*/
		padding-top: 17px;
	}
	.instructors .team-bio { /*description*/
		padding-bottom: 30px;
	}
}


/*Space*/
#space .row {
	position: relative; /*to absolutely position the slider*/
}
#space #main-menu {
	padding-top: 7px;
}

@media only screen and (max-width : 768px) { /*space*/
	#space #main-menu {
		display: none;
	}
	#space {

	}
	#space .container-fluid {
	    max-width: 100%;
	}
	#space .space-header-img {
		display: none;
	}
	#space-logo {
		position: relative;
		width: 20%;
		top: 0; left: 0;
		z-index: 5;
	}
}


/*-------------*/

/* course images hover */
/*.course-item img:nth-child(2) {
    position: absolute; top: 0; left: 0;
    height: auto; width: 100%;
    opacity: 0;
}
.course-item:hover img:nth-child(2) {
    opacity: 1;
}
.course-item.no-hover-img:hover img:nth-child(2) {
    opacity: 0;
}*/
/* end course images hover */



/*query blocks*/
@media only screen and (min-width : 320px) {
	#contact-logo { z-index: 3; } /*da ne prelazi subscribe form preko njega*/

	/*Calendar pop-up*/
	.pop-left>p:first-child img {
		max-width: 100%;
	}
	.white-popup {
	    padding: 15px;
	}

	/*Subscribe*/
	#subscribe-wrapper {
		min-height: 480px;
		background-size: auto 100%;
		background-position: top center;
		margin-top: 100px;
	}
	#subscribe-form {
	    padding: 22% 22% 30% 22%;
	}
	#subscribe-form label, 
	#subscribe-form label+div {
		width: 100%;
	}
	#subscribe-form .form-group:nth-child(5)>div { /*subscribe button*/
		width: auto;
	}
	/*Contact*/
	#page-contact .row {
		width: 95%;
	}
	/*info columns*/
	#page-contact .row:first-child>div:first-child {
		margin-top: -50px;
	}
	#page-contact .row:first-child>div:first-child div {
		height: auto;
		padding-bottom: 20px;
		margin-left: 15%;
	}
	/*contact form*/
	#page-contact .row>div:nth-child(2) { 
		width: 100%;
		max-width: 350px;
		margin-top: 40px;
	}
	#contact-wrapper {
		margin: 0 auto;
	}
	/*map*/
	#page-contact .row:nth-child(2)>div {
		padding-bottom: 80px;
	}

	/*Register*/
	#registration-page h2 {
	    min-width: 100%;
	}
	/*input divs*/
	#order-form .form-group>div { 
		width: 85%;
		margin-left: 3px;
	}
	#order-form .form-group:nth-child(8) label { /*checkbox*/
		display: inline-block;
		width: 180px;
		margin-top: 20px;
	}
	#order-form .form-group:nth-child(8)>div { /*checkbox*/
		display: inline-block;
		width: 25px;
		padding-left: 0;
	}
	#order-form .form-group:nth-child(8)>div label { /*checkbox style*/
		margin-left: 0; margin-top: 8px;
	}

	#order-form .row>div:first-child { /*left column*/
		width: 80%;
		margin-left: 10%;
	}
	#order-form .row>div:nth-child(2) { /*right column*/
		width: 80%;
		padding-top: 0;
		margin-left: 10%;
		padding-bottom: 70px;
	}
}

@media only screen and (min-width : 480px) {

	/*Subscribe*/
	#subscribe-wrapper {
		min-height: auto;
		background-size: 100% auto;
	}
	#subscribe-form {
	    padding: 20.5% 22% 30%;
	}
	#subscribe-form label {
		width: 19%;
	}
	#subscribe-form label+div {
		width: 75%;
	}
	#subscribe-form .form-group:nth-child(5)>div { /*subscribe button*/
		width: 100%;
	}
	/*Contact*/
	#contact #page-contact .container-fluid {
		width: 100%; min-width: 100%; max-width: 100%
	}
	#page-contact .row {
		width: 100%;
	}
	/*info columns*/
	#page-contact .row:first-child>div:first-child {
		width: 100%;
		padding-left: 15%; 
		margin-top: -50px;
	}
	#page-contact .row:first-child>div:first-child div {
		width: 40%; 
		height: 350px;
		margin-left: 0;
	}
	/*contact form*/
	#page-contact .row>div:nth-child(2) { 
		margin-top: 0;
		margin-left: 13%;
	}
	/*map*/
	#page-contact .row:nth-child(2)>div {
		padding-top: 0; margin-top: 0;
	}
		
	/*Register*/
	#registration-page h2 {
	    min-width: 400px;
	}
	/*input divs*/
	#order-form .form-group>div { 
		width: 85%;
	}

	#order-form .row>div:first-child { /*left column*/
		width: 45%;
		margin-left: 5%;
	}
	#order-form .row>div:nth-child(2) { /*right column*/
		width: 40%;
		padding-top: 84px;
		margin-left: 0;
		padding-bottom: 0;
	}
	/*About*/
	#page-about .container-fluid {
		width: 100%; min-width: 100%; max-width: 100%
	}
}

@media only screen and (min-width : 610px) and (max-width: 732px) {
	#contact #page-contact .container-fluid {
		width: 100%;
	}
	#subscribe-wrapper {
		max-width: 480px;
		min-width: 480px;
		margin-left: -60px;
	}
}

@media only screen and (min-width : 630px) {
	/*Calendar*/
	.pop-left>p:first-child img {
		max-width: 500px;
	}
	/*Contact*/
	/*info columns*/
	#contact #page-contact .container-fluid {
		width: 100%;
	}
	#page-contact .row:first-child>div:first-child {
		width: 60%;
		padding-left: 8%; 
		margin-top: 50px;
	}
	#page-contact .row:first-child>div:first-child div {
		width: 50%; 
		height: 350px;
	}
	/*contact form*/
	#page-contact .row>div:nth-child(2) { 
		width: 39%;
		max-width: 350px;
		margin-top: 20px;
		margin-left: 0;
	}

@media only screen and (min-width : 768px) {
	/*Desktop footer*/
	#home-footer {
		position: absolute; left: 0; bottom: 0; right: 0;
	}
	/*Calendar pop-up*/
	.white-popup {
	    padding: 40px;
	}

	#contact-menu ul#main-menu > li {
		padding: 0;
	}

	/*Subscribe*/
	#subscribe-wrapper {
		max-width: 480px;
		margin-top: -10px;
	}

	/*Contact*/
	#contact #page-contact .container-fluid {
		width: 100%;
	}
	/*info columns*/
	#page-contact .row>div:first-child {
		margin-top: 0;
		padding-left: 20%;
	}
	#page-contact .row:first-child>div:first-child div {
		width: 50%; 
		height: 350px;
	}
	/*contact form*/
	#page-contact .row>div:nth-child(2) { 
		margin-top: 0;
		width: 39%;
	}
	/*map*/
	#page-contact .row:nth-child(2)>div {
		width: 60%;
		padding-left: 10%;
		margin-top: -50px;
	}

	/*Register*/
	/*input divs*/
	#order-form .form-group>div { 
		width: 270px;
		padding-left: 12px;
		margin-left: 0;
	}
	#order-form .form-group:nth-child(6)>div {
		width: 206px;
	}
	#order-form .form-group:nth-child(7)>div {
		width: 158px;
	}

	#order-form .form-group:nth-child(8) label { /*checkbox*/
		display: inline;
		width: auto;
		margin-top: 0;
	}
	#order-form .form-group:nth-child(8)>div { /*checkbox*/
		display: inline;
		width: 30px;
		margin-top: 9px;
	}
	#order-form .form-group:nth-child(8)>div label { /*checkbox style*/
		margin-left: 15px; margin-top: 0;
	}

	#order-form .row>div:first-child { /*left column*/
		width: 45%;
		margin-left: 10%;
	}
	#order-form .row>div:nth-child(2) { /*right column*/
		width: 28%;
		padding-top: 0;
	}
}
@media only screen and (min-width : 992px) {
	/*Calendar pop-up*/
	.pop-left>p:first-child img {
		max-width: 100%;
	}

	#contact-menu ul#main-menu > li {
		padding: 0;
	}

	/*Subscribe*/
	#subscribe-wrapper {
		max-width: 480px;
	}

	/*Contact*/
	/*info columns*/

	#page-contact .row:first-child>div:first-child {
		width: 55%;
		padding-top: 0;
		padding-left: 0;
	}
	#page-contact .row:first-child>div:first-child div {
		width: 25%; 
		height: 400px;
	}
	/*contact form*/
	#page-contact .row>div:nth-child(2) {
		width: 28%;
		margin-top: -40px;
	}
	/*map*/
	#page-contact .row:nth-child(2)>div {
		width: 40%;
		padding-left: 10px;
		padding-bottom: 0;
	}

	/*Register*/
	#order-form .row>div:first-child { /*left column*/
		width: 33.3333%;
		margin-left: 16.6666%;
	}
	#order-form .row>div:nth-child(2) { /*right column*/
		width: 28%;
	}
}

/*za mac safari calendar pop-up font*/
#calendar .mfp-content, #calendar .white-popup,
#calendar .mfp-content .pop-left p,
#calendar .mfp-content .pop-right p,
#calendar .white-popup .pop-left p,
#calendar .white-popup .pop-right p {
	font-family: 'Open Sans Condensed' !important;
}