
/*------------------------------------------------------------------
[TABLE OF CONTENTS]

1. Buttons / .btn
2. Menu Bar / #menu-bar
3. Header / header
4. About / #about
5. Features / #features
6. Detailed Info / #detailed
7. Download Banner / #download-banner
8. Screenshots / #screenshots
12. Footer / footer
13. Owl Carousel / .owl-carousel
14. Media Queries / @media
-------------------------------------------------------------------*/

body{
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 300;
	font-size: 16px;
	background-color: #fff;
	color: #8a9599;
}
h2, h3, h4{
	color: #2d3b40;
	font-weight: 300;
}
h1{
	font-weight: 100;
	font-size: 62px;
	color: #fff;
	margin-top: 112px;
}
h2{
	font-size: 44px;
	text-align: center;
	margin: 0 0 22px;
	padding-bottom: 16px;
}
h2:after{
	content: '';
	display: block;
	margin: 0 auto;
	width: 180px;
	border-bottom: 1px solid;
	border-color: #bcc8cc;
	position: relative;
	top: 16px;
}
h3{
	font-size: 24px;
	margin-bottom: 12px;
}
h4{
	font-size: 20px;
	margin: 10px 0;
}
section, footer{
	padding: 80px 0;
	background-color: #fff;
	overflow: hidden;
}
p{
	margin-top: 0;
}
.icon{
	font-size: 64px;
}
.subtitle{
	font-size: 17px;
	font-weight: 300;
	font-style: italic;
	text-align: center;
	max-width: 320px;
	margin: 0 auto;
	margin-bottom: 60px;
}
a{
	color: #8a9599;
}
a:hover{
	color: #576266;
	cursor: pointer;
}
a:active, a:focus, a:hover, input:focus, button:focus{
	outline: 0;
	text-decoration: none;
}
input{
	font-size: 18px;
	min-height: 60px;
	border-radius: 40px;
	line-height: 24px;
	padding: 16px 30px 20px;
	border: none;
	margin-bottom: 10px;
	background-color: #e9f0f2;
	-webkit-transition: background-color 0.2s;
	transition: background-color 0.2s;
}
input:focus{
	background-color: #e4edf0;
}
span.pink {
	color: #e1017a;
}

/**********************
******1. Buttons****
**********************/
.btn{
	color: #fff;
	font-size: 18px;
	min-height: 60px;
	border-radius: 40px;
	text-decoration: none;
	display: inline-block;
	line-height: 24px;
	padding: 16px 30px 20px;
	z-index: 1;
	position: relative;
	border: none;
}
.btn-icon{
	line-height: 32px;
	padding: 16px 32px 20px;
}
.btn-icon .icon{
	vertical-align: bottom;
	font-size: 32px;
	margin-right: 10px;
	display: inline-block;
}
.btn-primary{
	background-color: #f54c54;
}
.btn-secondary{
	background-color: #09b8ed;
}
.btn:before{
	content: '';
	display: block;
	position: absolute;
	top: 1px;
	bottom: 1px;
	left: 1px;
	right: 1px;
	z-index: -1;
	border-radius: 40px;
	-webkit-transition-property: top, bottom, left, right;
	-webkit-transition-duration: 0.21s;
	-webkit-transition-timing-function: ease-in-out;
	transition-property: top, bottom, left, right;
	transition-duration: 0.21s;
	transition-timing-function: ease-in-out;
}
.btn:hover{
	text-decoration: none;
	color: #fff;
}
.btn:hover:before{
	top: -3px;
	bottom: -3px;
	left: -3px;
	right: -3px;
}
.btn-primary:before{
	background-color: #f54c54;
}
.btn-secondary:before{
	background-color: #09b8ed;
}

/**********************
******2. Menu Bar****
**********************/
#menu-bar{
	display: block;
	width: 100%;
	height: 54px;
	margin-bottom: 40px;
	margin-top: 20px;
	/*padding: 20px 0;*/
	background-color: #e1017a;
	color: #fff;
	position: relative;
	z-index: 2;
}
#menu-bar .logo{
	font-size: 40px;
	line-height: 54px;
	float: left;
}

.nav{
	float: right;
	padding: 0;
}
.nav ul{
	margin: 0;
}
.nav li{
	float: left;
	list-style-type: none;
	margin-left: 40px;
	text-transform: uppercase;
	position: relative;
}
.nav li a{
	color: #fff;
	font-size: 14px;
}
.nav li:after {
	opacity: 0;
	bottom: -8px;
	content: '';
	display: block;
	width: 100%;
	position: absolute;
	bottom: -4px;
	transition: all 0.2s;
	border-bottom: 2px solid;
}
.nav li.current:after{
	bottom: -8px;
	opacity: 1;
}
.nav li:not(.current):hover:after {
	opacity: 0.6;
	bottom: -8px;
}
#nav{
	margin: 25px 0 0;
}
#nav li a{
	color: #fff;
}
#nav > ul > li:first-child{
	display: none;
}
#nav li:after{
	border-color: #fff;
}
#menu-bar-fixed{
	display: block;
	width: 100%;
	height: 54px;
	padding: 0;
	background-color: #e1017a;
	position: fixed;
	bottom: 0px;
	z-index: 5;
	opacity: 0;
	transition: all 0.3s ease-out;
}
#menu-bar-fixed .logo{
	font-size: 28px;
	line-height: 54px;
	float: left;
	color: #fff;
}
#nav-fixed{
	margin: 25px 0 0 0;
}
#show-nav, #hide-nav{
	display: none;
}
#nav-fixed li a{
	color: #fff;
	font-weight: 400;
}
#nav-fixed li:after{
	border-color: #fff;
}
#off-nav{
	display: none;
}

/**********************
******3. Header****
**********************/
header{
	background-color: #3b224b;
	background-size: cover;
	min-height: 568px;
	max-height: 900px;
	position: relative;
	overflow: hidden;
}
header .container{
	position: relative;
	z-index: 3;
}
.slider-right h3 {
	color: #fff;
	text-align: center;
	font-size: 34px;
	line-height: 40px;
	font-weight: 700;
}
@media (max-width: 767px) {
	.slider-right {
		padding: 0;
	}
	.slider-right h3 {
		font-size: 26px;
		line-height: 30px;
		margin-top: 5px;
	}
	.bulgarian .slider-right h3,
	.macedonian .slider-right h3 {
		font-size: 22px;
		line-height: 27px;
	}
}
#header-img{
	margin: 0 auto;
}
div > a.btn:nth-of-type(2){
	margin-left: 30px;
}
#triangle{
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 900px 600px 0 0;
	border-color: #f54c54 transparent transparent transparent;
	position: absolute;
	top: 0;
	left: 0;
}

/**********************
******4. O programu****
**********************/
#o-programu p {
	font-size: 15px;
	line-height: 20px;
}
#o-programu h2 {
	text-transform: uppercase;
}
#o-programu h2:after{
	width: 200px;
	border-bottom: 1px solid;
	border-color: #e1017a;
}
#o-programu h4 {
	color: #e1017a;
}
#o-programu .subtitle{
	color: #e1017a;
	font-size: 17px;
	font-weight: 300;
	font-style: normal;
	text-transform: uppercase;
	margin-bottom: 40px;
}

#o-programu .col-sm-4.left {
	text-align: right;
}
#o-programu .col-lg-4 .row {
	margin-bottom: 30px;
	position: relative;
	left: 0;
	transition: all 0.3s;
	-webkit-transition: all 0.3s;
}
@media (min-width: 1200px) {
	.bulgarian #o-programu .col-lg-4 .row.box-1 {
		margin-bottom: 90px;
	}
	.bulgarian #o-programu .col-lg-4 .row.box-5 {
		margin-bottom: 70px;
	}

	.serbian #o-programu .col-lg-4 .row.box-1 {
		margin-bottom: 74px;
	}

	.macedonian #o-programu .col-lg-4 .row.box-5 {
		margin-bottom: 107px;
	}
}
@media (max-width: 768px) {
	#o-programu .col-lg-4 .row {
		margin-bottom: 20px!important;
	}
}

#o-programu .left .row:hover{
	left: -5px;
}
#o-programu .right .row:hover{
	left: 5px;
}
.circle-icon-rspv {
    width:100%;
}
.circle-icon-rspv:after {
    content: "";
    display: block;
    width: 68px;
    height:68px;
    border: 2px solid #e1017a;
    -moz-border-radius: 50%; 
    -webkit-border-radius: 50%; 
    border-radius: 50%;
    -webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
.circle-icon-rspv .icon {
    float:left;
    width:100%;
    padding-top:0;
    line-height:1em;
    margin-top:-0.5em;
    text-align:center;
    color:#e1017a;
    -webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
@media (min-width: 1200px) {
	.circle-icon-rspv .icon {
		padding-top:50%;
	}
}

.circle-icon-rspv:hover:after {
	background-color: #e1017a;
}
.circle-icon-rspv:hover .icon{
	color: #fff;
	position: relative;
}
#o-programu .circle-icon-rspv:after {
	content: '';
	background-image: url("../img/avon-icons.png");
	background-repeat: no-repeat;
	background-position: 5px 3px;
	-webkit-transition: none;
	transition: none;
	margin: 0 auto;
}
#o-programu .circle-icon-rspv:hover:after,
#o-programu .left > .row:hover .circle-icon-rspv:after {
	background-position: 5px -51px;
}
#o-programu .box-2 .circle-icon-rspv:after {
	background-position: -49px 3px;
}
#o-programu .left > .row.box-2:hover .circle-icon-rspv:after {
	background-position: -49px -51px;
}
#o-programu .box-3 .circle-icon-rspv:after {
	background-position: -103px 3px;
}
#o-programu .left > .row.box-3:hover .circle-icon-rspv:after {
	background-position: -103px -51px;
}
#o-programu .box-4 .circle-icon-rspv:after {
	background-position: -157px 3px;
}
#o-programu .right > .row.box-4:hover .circle-icon-rspv:after {
	background-position: -157px -51px;
}
#o-programu .box-5 .circle-icon-rspv:after {
	background-position: -207px 3px;
}
#o-programu .right > .row.box-5:hover .circle-icon-rspv:after {
	background-position: -207px -51px;
}
#o-programu .box-6 .circle-icon-rspv:after {
	background-position: -265px 3px;
}
#o-programu .right > .row.box-6:hover .circle-icon-rspv:after {
	background-position: -265px -51px;
}

#o-programu .left > .row:hover .circle-icon-rspv:after, #o-programu .right > .row:hover .circle-icon-rspv:after {
	background-color: #e1017a;
}
#o-programu .left > .row:hover .icon, #o-programu .right > .row:hover .icon{
	color: #fff;
}
#o-programu .note {
	text-align: center;
}
.avon-girls {
	padding-left: 0!important;
	padding-right: 0!important;
}
@media (min-width: 992px) {
	#o-programu .left {
		padding-right: 0;
		padding-top: 35px;
	}

	#o-programu .right {
		padding-left: 0;
		padding-top: 35px;

	}
}

/**********************
******6.Pokloni dobrodoslice****
**********************/
#pokloni-dobrodoslice {
	background-color: #3b224b;
	background-image: url("../img/avon-poklon-sr-bgd.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: top center;
	color: #fff;
	position: relative;
	z-index: 1;
}
.bulgarian #pokloni-dobrodoslice {
	background-image: url("../img/avon-poklon-bg-bgd.jpg");
}
.macedonian #pokloni-dobrodoslice {
	background-image: url("../img/avon-poklon-mk-bgd.jpg");
}
@media (min-width: 1600px) {
	#pokloni-dobrodoslice {
		padding: 140px 0 190px 0;
	}
}
@media (min-width: 992px) and (max-width: 1400px) {
	#pokloni-dobrodoslice {
		padding: 50px 0 60px 0;
	}
}
@media (max-width: 991px) {
	.bulgarian #pokloni-dobrodoslice,
	.macedonian #pokloni-dobrodoslice,
	#pokloni-dobrodoslice {
		background-image: none;
		padding-bottom: 0;
	}
}

#pokloni-dobrodoslice h2{
	text-align: left;
	color: #fff;
	font-size: 40px;
}
@media (min-width: 990px) and (max-width: 1400px) {
	#pokloni-dobrodoslice h2{
		font-size: 34px;
	}
}
#pokloni-dobrodoslice h2:after{
	margin-left: 0;
}
#pokloni-dobrodoslice h4 {
	color: #e1017a;
}

#pokloni-dobrodoslice .subtitle{
	margin-left: 0;
	text-align: left;
	max-width: 580px;
	font-style: normal;
}
#pokloni-dobrodoslice .icon{
	color: #e1017a;
}
#pokloni-dobrodoslice .img{
	margin: -210px 0 -50px;
}


/**********************
******8. pridruzi nam se****
**********************/
#pridruzi-nam-se {
	background-image: url('../img/pridruzi-se-bgd.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	padding-top: 0;
}
#pridruzi-nam-se .title-container {
	background-color: #fff;
	text-align: center;
	margin-bottom: 30px;
}
#pridruzi-nam-se .title-container h2 {
	margin: 30px 0;
	padding: 0;
	text-transform: uppercase;
	color: #3b224b;
}
#pridruzi-nam-se .title-container h2:after {
	content: '';
	display: none;
	margin: 0 auto;
	width: 0;
	border: none;
	top: 0;
}
#pridruzi-nam-se h4 {
	color: #fff;
	font-size: 20px;
	font-weight: bold;
	line-height: 24px;
	text-align: center;
	margin: 0 0 25px 0;
}
#pridruzi-nam-se img {
	margin: 0 auto;
}

/**********************
******12. Footer****
**********************/
footer{
	background-color: #3b224b;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: -4;
	text-align: center;
}
footer h2{
	color: #fff;
	margin-bottom: 30px;
}
footer h2 img{
	height: 48px;
}
footer #social-links{
	margin: 0;
}
footer #social-links .icon{
	color: #fff;
	font-size: 32px;
	position: relative;
	display: inline-block;
	width: 60px;
	height: 60px;
	border: 2px solid #fff;
	border-radius: 50%;
	opacity: 0.7;
	line-height: 55px;
	margin: 0 13px;
	-webkit-transition: opacity 0.2s;
	transition: opacity 0.2s;
}
footer #social-links .icon:hover{
	opacity: 1;
}
footer .copyright{
	font-size: 14px;
	margin: 50px 0 0;
}

/**********************
******14. Media Queries****
**********************/
@media (max-width: 1199px){
	.nav li{
		margin-left: 30px;
	}
	#features .col-lg-4 .row{
		margin-top: 8px;
	}
	#features h4{
		margin-bottom: 2px;
	}
	#features .icon{
		font-size: 48px;
	}
}
@media (max-width: 991px){
	#o-programu .row .col-sm-4 .row .col-sm-3{
		display: none;
	}
	#o-programu .col-lg-4 .row{
		position: static;
	}
	#detailed .img{
		margin-top: 0;
	}
	h1{
		text-align: center;
		margin: -5px 0 40px;
	}
	section{
		padding: 60px 0;
	}
	#header-btn{
		text-align: center;
		margin: 0 0 70px;
	}
}
@media (max-width: 767px) {
	*{
		text-align: center;
	}
	h1{
		font-size: 56px;
	}
	#menu-bar{
		padding: 15px 0;
		height: auto;
		margin-bottom: 20px;
	}
	#menu-bar .logo{
		line-height: 42px;
	}

	#o-programu p{
		max-width: 345px;
		margin-left: auto;
		margin-right: auto;
		margin-top: 4px;
	}
	#o-programu img{
		max-width: 90%;
		margin: 30px auto;
	}
	#o-programu .col-lg-4 .row{
		margin-top: 12px;
	}
	#pokloni-dobrodoslice h2, #pokloni-dobrodoslice .subtitle{
		text-align: center;
		margin-left: auto;
	}
	#pokloni-dobrodoslice h2:after{
		margin: 0 auto;
	}
	#pokloni-dobrodoslice p{
		max-width: 345px;
		margin-left: auto;
		margin-right: auto;
	}
	#pokloni-dobrodoslice img{
		max-width: 90%;
		margin: 10px auto 0 auto;
	}
	#pokloni-dobrodoslice .visible-xs-block img{
		max-width: 110%;
		margin: 5% -5% 0 -5%;
	}

	/*Responsive navigation*/
	#nav-fixed li{
		position: relative;
    }
	#show-nav{
		display: block;
	}
    #nav-fixed > ul{
        height: auto;
        display: none;
        position: absolute;
        width: 100%;
        left: 0;
        background-color: #e1017a;
        border-top: 1px solid #3b224b;
        padding: 8px 0;
        z-index: 10;
    }
    #nav-fixed > ul > li{
        width: 100%;
        float: none;
        margin: 0;
    }
    #nav-fixed > ul >li:after{
    	content: none;
    }
    #nav-fixed > ul >li.current{
    	background-color: #3b224b;
    }
    #nav-fixed > ul >li:not(.current):hover{
    	background-color: rgba(228,235,237,.6);
    }
    #nav-fixed > ul > li > a{
        font-size: 18px;
        padding: 8px 0;
        display: inline-block;
        width: 100%;
    }
    #nav{
    	display: none;
    }
    #menu-bar-fixed{
    	height: 50px;
    	padding: 0;
    }
    #menu-bar-fixed .logo{
    	font-size: 22px;
		line-height: 22px;
    	padding: 8px 0;
    }
    #nav-fixed{
    	margin: 0;
    }
    #nav-fixed > a{
    	height: 50px;
    	width: 50px;
    }
    #nav-fixed > a > div, #nav-fixed > a > div:before, #nav-fixed > a > div:after{
    	background-color: #fff;
		height: 4px;
		margin: 0 auto;
		position: relative;
		top: 23px;
		width: 20px;
    }
    #nav-fixed > a > div:before {
		content: "";
		display: block;
		height: 4px;
		top: -8px;
	}
	#nav-fixed > a > div:after {
		content: "";
		display: block;
		top: 4px;
	}
	#off-nav{
		display: block;
		position: absolute !important;
		z-index: -1;
		top: 266px;
		width: 100%;
		height: 260%;
	}
}
@media (max-width: 530px) {
	h1{
		font-size: 42px;
		font-weight: 300;
	}
	h2{
		font-size: 42px;
	}
	h4, .btn{
		font-weight: 400;
	}
	section{
		padding: 45px 0;
	}
	#menu-bar .logo{
		line-height: 20px;
	}
	#header-btn{
		margin: 0 0 60px;
	}
	.subtitle{
		margin-bottom: 45px;
	}
	footer #social-links .icon{
		margin: 0 8px;
	}
}
@media (max-width: 399px) {
	#header-btn{
		margin-bottom: 38px;
	}
	#header-btn a{
		margin: 0;
	}
	#header-btn a:first-child{
		margin: 0 10px 20px;
		width: 179px;
	}
	#menu-bar{
		margin-bottom: 10px;
		padding: 10px 0;
	}
	#menu-bar-fixed .logo img{
		height: 24px;
	}
	h1{
		font-size: 33px;
		margin-bottom: 28px;
	}
	h2{
		font-size: 33px;
	}
	#menu-bar .logo{
		font-size: 26px;
	}
	footer #social-links .icon{
		margin: 0 2px;
	}
}
@media (min-width: 668px) and (max-width: 767px){
	h1{
		padding: 0 10%;
	}
}
@media (min-width: 768px) and (max-width: 991px){
	#o-programu img{
		max-width: 124%;
		position: relative;
		left: -12%;
		margin-top: 12px;
	}
	#menu-bar-fixed .logo img {
		max-width: 125px;
	}
	#nav-fixed li a {
		font-size: 13px;
	}
}
@media (min-width: 992px) and (max-width: 1199px){
	#header-img{
		max-width: 90%;
	}
	#pokloni-dobrodoslice img{
		margin-top: 58px;
	}
	#menu-bar{
		margin-bottom: 25px;
	}
}
@media (min-width: 1200px) and (max-width: 1599px){
	#menu-bar{
		margin-bottom: 35px;
	}
	.slider-right h3 {
		font-size: 32px;
		line-height: 38px;
	}
}
@media (min-width: 1600px){
	#menu-bar{
		margin-bottom: 60px;
	}
}
@media (min-width: 1200px){
	header{
		min-height: 700px;
	}
}
@media (-webkit-max-device-pixel-ratio: 1), (max-resolution: 119.9dppx){
	header{
		background: #3b224b url('../img/header-slider-bgd.jpg') no-repeat top center;
		background-size: cover;
	}
}
@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 120dppx){
	header{
		background: #3b224b url('../img/header-slider-bgd.jpg') no-repeat top center;
		background-size: cover;
	}
}
@media (-webkit-min-device-pixel-ratio: 1.1) and (max-width: 399px), (min-resolution: 120dppx) and (max-width: 399px){
	header{
		background: #3b224b url('../img/header-slider-bgd.jpg') no-repeat top center;
		background-size: cover;
	}
}

.visible-xs-block {
	display: none !important;
}
@media (max-width: 767px) {
	.visible-xs-block {
		display: block !important;
	}
}