@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&subset=latin,latin-ext);

body {
	color: #616161;
	font-size: 16px;
	padding: 0;
	margin: 0;
	font-weight: 400;
	font-family: 'Open Sans', sans-serif; 
	line-height: 170%; 
}

/* one-way css class  */
.fl{float:left;}
.fr{float:right;}
.center{text-align: center;}
.left {text-align: left;}
.right {text-align: right;}
.upper {text-transform: uppercase;}
.strong {font-weight: bold; }
.upper_off {text-transform: none;}
.fullwidth { width: 100%; }
.bgwh { background-color: white; }
.wh { color: white; }
small, .small {font-size: 13px; }
.text-shadow { text-shadow: 1px 1px 2px rgba(0, 0, 0, 1); }

/* common elements */

a {color: #343434; text-decoration:underline; }
a:hover {
	/* color: theme; */ 
	text-decoration:none;
}

.link_2 {text-decoration: none;}
.link_2:hover {text-decoration: underline;}

a.fa {text-decoration: none;}
a.fa:hover {text-decoration: none !important;}

.hidden{
	display: none;
}
.cleaner{
	clear: both;
	font-size: 0;
	visibility: hidden;
	border: none;
	margin: 0; padding: 0;
}

.clearfix {
  position: relative;
}
.clearfix:after {
  content: '\0020';
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0;
  clear: both;
}

.bold { font-weight: bold; }
.upper { text-transform: uppercase; }

button, input[type=button], .button {
	border: none;
	background-color: #fff;
	border: 1px solid #C31967;
	color: #C31967;
	font-size: 16px;
	font-weight: 400; 
	text-transform:uppercase;
	padding:5px 24px;
	display: inline-block;
	text-decoration:none;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	transition:all 0.3s ease 0s;
}

button:hover, input[type=button]:hover, .button:hover {
	color: #fff;
	background: #C31967;
	text-decoration:none !important;
}

/* template */

/* Envelope (responsive) */

.envelope_bg {width: 100%; background-color:#fff; }

.envelope_bg.bg1,.bg1 { background-color:#fff;}
.envelope_bg.bg2,.bg2 { background-color: #F5F5F5; }
.envelope_bg.bg3, .bg3 {  background-color: #222222; color: #FFFFFF;  }
.bg3 a, .bg3 h1, .bg3 h2, .bg3 h3, .bg3 h4, .bg3 h5, .bg3 h6 {color: #fff; }

.bg_dark { color: #fff; }
.bg_dark a, .bg_dark h1, .bg_dark h2, .bg_dark h3, .bg_dark h4, .bg_dark h5, .bg_dark h6 {color: #fff; }

.envelope {
	width: 100%;  
	max-width: 1920px;
	margin: 0 auto 0 auto; 
}
.envelope-pad-top {
	padding:  40px 3% 0 3%;
}
.envelope-pad-bottom {
	padding:  0 3% 40px 3%;
}
.envelope-pad-top-bottom {
	padding:  40px 3% 40px 3%;
}
.envelope-pad-top-bottom-only {
	padding:  40px 0px 40px 0px;
}
.envelope-pad {
	padding:  0 3%;
}

.envelope-pad-pre-header {
	padding:  80px 3%;
}
.envelope-pad-footer {
	padding:  40px 3% 70px 3%;
}

.envelope-pad-gallery {
	padding:  0 0 0px 0;
}

.envelope-border-top {
	border-top: 1px solid #CFCFCF;
	margin-top: 4px;
}

.border-top {
	width: 100%;
	border-top: 1px solid #CFCFCF;
	height: 4px;
}

.cont-maxwidth {
	max-width: 1170px;
	margin: 0 auto;
}

.maxwidth-none {
	max-width: none;
}

/* template */

div.effect {
	width: 100%;
}

div.effect img {
	width: 100%;
}

div.effect img { display: none; }
div.effect img.first { display: block; }

.effect .cycle-prev, .effect .cycle-next {
	width: 31px; height: 34px;
	position: absolute;
	cursor: pointer;
	top: 45%;
	z-index: 3000;
	background-position: 0px 2px;
	background-repeat: no-repeat;
	opacity: 0.85;
	transition: all 0.5s ease 0s;
	/* background-color: theme; */
}

.effect .cycle-prev:hover, .effect .cycle-next:hover {
	background-color: #333;
	opacity: 1.0;
}

.effect .cycle-prev {
	left: 0px;
	background-image: url('../img/template/cycle/prev.png');
}

.effect .cycle-next {
	right: 0px; 
	background-image: url('../img/template/cycle/next.png');
}

/* header */
#header_wrap{width: 100%; }
#header_picture { width: 100%; max-width: 1920px; margin: 0 auto; background-color: #fff; }
#header_picture img {width: 100%; }
.header_picture_bg { background-position: center top; background-repeat: repeat-x;}

#header_container {width: 100%; position: relative; color: #fff; }

#logo { border: 0px; }

/* menu */
#main_menu {
	width: 100%;
	max-width: 1920px;
	z-index: 10000;
	background-color: #222222;
	padding-top: 6px;
	/* bugfix: margin-bottom after inline-block element */
	line-height: 0;
}

#header_container .header_picture_bg #main_menu {
	position: absolute;
	bottom: 4px;
}

#main_menu:before {
	/* http://stackoverflow.com/questions/20581392/how-to-set-css-border-left-outside-of-box */
	z-index: 10000;
	background-color: #222222;
	content: "";
	display: block;
	width: 100%;
	height: 1px;
	position: absolute;
	top: -4px;
}

#superfish {
	/*
	center horizontally:
	http://stackoverflow.com/questions/14943907/css-center-ul-list-inside-a-100-width-div
	*/
	display: inline-block; 
	margin: 0 auto;
	padding: 20px 0;
}

/* titles */
h1, h2, h3, h4, h5, h6 {
	color: #030303;
}

.bg3 h1, .bg3 h2, .bg3 h3, .bg3 h4, .bg3 h5, .bg3 h6 {
	color: #ffffff;
}

h1, .h1 {
  font: 300 30px 'Open Sans', sans-serif;
  letter-spacing: 2px;
  margin-bottom: 30px;
  margin-top: 20px;
}
h2, .h2 {
  font: 300 29px 'Open Sans', sans-serif;
  letter-spacing: 2px;
  margin-bottom: 30px;
  margin-top: 20px;
}
h3, .h3 {
  font: 300 31px 'Open Sans', sans-serif;
  text-transform: uppercase;
  margin-bottom: 20px;
  margin-top: 10px;
}
h4, .h4 {
 	font: 400 24px 'Open Sans', sans-serif;
  text-transform: uppercase;
 	margin-bottom: 10px;
 	margin-top: 5px;
}
h5, .h5 {
  font: 400 18px 'Open Sans', sans-serif;
  text-transform: uppercase;
  margin-bottom: 10px;
  margin-top: 5px;
}
h6, .h6 {
  font: 400 18px 'Open Sans', sans-serif;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.c1, .c1 a {
	color: #E43082 !important;
}

.content > h1:first-of-type,
.content > h2:first-of-type,
.content > h3:first-of-type,
.content > h4:first-of-type,
.content > h5:first-of-type,
.content > h6:first-of-type 
{
	margin-top: 0;
}

.hline:after {
	content:"";
	position:relative;
	display:inline-block;
	width:44px;
	height:2px;
	top:-11px;
	margin-left:25px;
	overflow:hidden;
	border:none;
	background:#222222;
}
.hline:before {
	content:"";
	position:relative;
	display:inline-block;
	width:44px;
	height:2px;
	top:-11px;
	margin-right:25px;
	overflow:hidden;
	border:none;
	background:#222222;
}

.bg_dark .hline:after , .bg3 .hline:after {
	background-color: rgba(255,255,255,0.5);
}
.bg_dark .hline:before, .bg3 .hline:before {
	background-color: rgba(255,255,255,0.5);
}


/* home banner image effects */

/* hbanner boxes layout */
.hbanner {
	width: 100%;
}
.hbanner .hcol {
	float: left;
	width: 31%;
	padding-right: 2%;	
}

.hbanner .hcol.last {
	padding-right: 0;
}

.hbanner .item {
	text-align: center;
	margin: 0 auto;
	margin-bottom: 30px;
	max-width: 370px;
	overflow: hidden;
	position: relative;
}

.hbanner .item img {
	width: 100%;
	height: auto;
  -moz-transition: 0.5s all;
  -webkit-transition: 0.5s all;
  -o-transition: 0.5s all;
  transition: 0.5s all;
}

.hbanner .item:hover img {
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.hbanner .item .overlay {
  transition: all 0.5s ease 0s;
  position: absolute;
  left: 10px;
  right: 10px;
  top: 10px;
  bottom: 10px;
  border: 1px solid #fff;
  background: rgba(0, 0, 0, 0);
} 

.hbanner .item .blocklink {
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.hbanner .item:hover .overlay {
  /* background: rgba(190, 141, 0, 0.3); zlata barva */
  background: rgba(255, 255, 255, 0.3);
}

.hbanner .item .content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  padding: 0 30px;
  text-align: left;
  -moz-transition: 0.3s;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.4s;
}

.hbanner .item .content h3 {
	color: #fff;
	font-size: 28px;
	letter-spacing: 2px;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 1);
}


/* parallax-window */
.parallax {
	width: 100%;
	min-height: 400px;
	background: transparent;
}

/* footer */
.bg_footer .fa-social {
  display: inline-block;
  font: 500 30px/50px "FontAwesome";
  color: #fff;
  padding: 0 4px 0 5px;
  vertical-align: 2px;
  text-decoration: none;
  transition: all 0.3s ease 0s;
}
.bg_footer .fa-social:hover {
  color: #C31967;
}

.bg_footer_pre {
	background-image: url(../img/template/bg/footer_bottom.png);
	background-position: bottom right;
	background-repeat: repeat-x;
}

.bg_footer {
	background-image: url(../img/template/bg/logo_flower_arc.png);
	background-position: bottom right;
	background-repeat: no-repeat;
	min-height: 305px;
}


/* block 3 = 3 blocks with small space between */
.block-3 {
	width: 100%;
}
.block-3-1 {
	float: left;
	width: 31.2%;
	margin-right: 3%;
	margin-bottom: 30px;
}

.block-3-1.last {
	margin-right: 0;
}

.block-3-1 .pad {
	padding: 10px 20px;
}

.block-3-row {
	clear: both;
	font-size: 0;
	visibility: hidden;
	border: none;
	margin: 0; padding: 0;
}

.block-3-1 .more {
	margin-top: 20px;
	margin-bottom: 10px;
	text-align: left;
}


/* card - white floating box with image, title, short text */
.card {
	background-color: white;
	outline: 1px solid #CFCFCF;
	overflow: hidden;
}
.card img {
	width: 100%;
	margin-bottom: 3px;
   transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}

.card img:hover {
	opacity: 0.8;
  -moz-transform: scale(1.05);
  -ms-transform: scale(1.05);
  -o-transform: scale(1.05);
  -webkit-transform: scale(1.05);
  transform: scale(1.05);	
}

.card h3 {
	font-size: 18px;
	margin-bottom: 5px;
	text-transform: none;
	font-weight: 600;
}

.card .cont {
	text-align: left;
	height: 120px;
	overflow: hidden;
}


.card  a {
	text-decoration: none;
}
.card  a:hover {
	text-decoration: underline;
}

/* testimonials */

/* http://stackoverflow.com/questions/26421274/css-circular-cropping-of-rectangle-image */

.testimonials .item {
	width: 510px;
	max-width: 100%;
}

.tstmnl-img {
	margin: 0 auto;
	margin-bottom: 10px;
	width: 154px;
	height: 154px;
	padding: 5px;
	border-radius: 50%;
	background: rgba(217, 216, 215, 0.2);
	transition:all 0.3s ease 0s;
}

.tstmnl-img:hover {
	cursor: pointer;
	background: rgba(217, 216, 215, 0.6);
}

.tstmnl-img .ti-pad {
	width: 154px;
	height: 154px;
	position: relative;
	overflow: hidden;
	border-radius: 50%;
}

.tstmnl-img .ti-pad img {
    display: inline;
    margin: 0 auto;
    height: 100%;
    width: auto;
}

.testimonials .title {
	font-weight: bold;
	font-size: 16px;
	letter-spacing: 2px;
	margin-bottom: 5px;
}

.testimonials .title .date {
	margin-left: 10px;
	font-weight: normal;
}

/* pager */
.tstmnl-cycle-pager { 
  margin-top: 20px;
}
.tstmnl-cycle-pager span { 
   font-family: arial; font-size: 38px; width: 16px; height: 16px; 
   display: inline-block; color: #FFFFFF; cursor: pointer; 
   opacity:0.7; margin: 0 2px;
}
.tstmnl-cycle-pager span.cycle-pager-active { color: #B6B6B6;}
.tstmnl-cycle-pager > * { cursor: pointer;}
