html {
	position: relative;
	min-height: 100%;
}

body{
	font-family: 'Open Sans', sans-serif;
	background-color: #f9f9f9;
	width: 100%;
	height: 100%;
	overflow-x: hidden;
}

a{
	border-bottom: 1px solid rgba(0, 0, 0, 0);
	transition: all 200ms ease 0s;
	color: #0065B3;
}

a:focus{
	outline: none;
	text-decoration: none;
}

a:hover{
	border-bottom: 1px solid #004593;
	text-decoration: none;
}

.btn{
	transition: all 200ms ease 0s;
}

.btn-success:focus{
	background-color: #5cb85c;
	border-color: #4cae4c;
	color: #fff;
}

.btn.active.focus, 
.btn.active:focus, 
.btn.focus, 
.btn.focus:active, 
.btn:active:focus, 
.btn:focus{
	outline: none;
}

.loader{
    width: 37px;
    height: 37px;
    border-bottom: 5px solid #0065b3;
    border-left: 5px solid #0065b3;
    border-right: 5px solid transparent;
    border-top: 5px solid #0065b3;
    border-radius: 50%;
    margin: 0 auto;

    -webkit-animation: spin 1.2s linear infinite;
    -moz-animation: spin 1.2s linear infinite;
    -ms-animation: spin 1.2s linear infinite;;
    -o-animation: spin 1.2s linear infinite;
    animation: spin 1.2s linear infinite;
}

@keyframes spin{
    from { transform: rotate(0deg);   opacity: 1.0; }
    50%  { transform: rotate(180deg); opacity: 1.0; }
    to   { transform: rotate(360deg); opacity: 1.0; }
}

@-moz-keyframes spin{
    from { transform: rotate(0deg);   opacity: 1.0; }
    50%  { transform: rotate(180deg); opacity: 1.0; }
    to   { transform: rotate(360deg); opacity: 1.0; }
}

@-webkit-keyframes spin{
    from { transform: rotate(0deg);   opacity: 1.0; }
    50%  { transform: rotate(180deg); opacity: 1.0; }
    to   { transform: rotate(360deg); opacity: 1.0; }
}

@-ms-keyframes spin{
    from { transform: rotate(0deg);   opacity: 1.0; }
    50%  { transform: rotate(180deg); opacity: 1.0; }
    to   { transform: rotate(360deg); opacity: 1.0; }
}

@-o-keyframes spin{
    from { transform: rotate(0deg);   opacity: 1.0; }
    50%  { transform: rotate(180deg); opacity: 1.0; }
    to   { transform: rotate(360deg); opacity: 1.0; }
}

img.scale{
	width: 100%;
	height: auto;
}

section.content{
	margin: 100px 0 40px 0;
}

@media only screen and (min-device-width : 0px) and (max-device-width : 991px) {
	section.content{
		margin: 40px 0 0 0;
	}
}


/* ...............Header............... */
section.header a.logo{
	border: none;
}

section.header a.logo img{
	width: 55%;
	padding: 24px 0;
	min-width: 260px;
}

section.header .info{
	height: 115px;
}

section.header .phone i,
section.header .phone div,
section.header .phone a{
	display: inline-block;
}

section.header .phone{
	height: 100%;
}

section.header .phone i{
	font-size: 53px;
	margin-top: 34px;
}

section.header .phone div{
	font-size: 16px;
	margin: 0 0 0 15px;
}

section.header .time i,
section.header .time div,
section.header .time a{
	display: inline-block;
}

section.header .time{
	height: 100%;
}

section.header .time i{
	font-size: 53px;
	margin-top: 34px;
}

section.header .time div{
	font-size: 16px;
	margin: 0 0 0 15px;
}

@media only screen and (min-device-width : 0px) and (max-device-width : 991px) {
	section.header .info{
		height: auto;
		margin: 0 0 30px 0;
	}
	
	section.header .logo-wrapper{
		text-align: center;
		margin-bottom: 1%;
	}

	section.header .phone,
	section.header .time{
		float: left;
		width: 50%;
		text-align: center;
	}

	section.header .phone i,
	section.header .time i{
		margin-top: 0;
	}
}

@media only screen and (min-device-width : 0px) and (max-device-width : 580px) {
	section.header .info{
		height: auto;
		margin: 0 0 0 0;
	}

	section.header .phone,
	section.header .time{
		display: block;
		width: 100%;
		text-align: center;
	}

	section.header .phone i,
	section.header .time i{
		font-size: 42px;
		margin-top: 0;
	}

	section.header .time i{
		font-size: 35px;
	}

	section.header .phone div,
	section.header .time div{
		font-size: 14px;
		margin: 0 0 30px 15px;
	}

	section.header .time div{
		margin: 0 0 30px 11px;
	}
}


/* ...............Menu............... */
section.menu{
	background-color: #25292f;
	padding: 20px 0;
	text-align: center;
	box-shadow: 0 3px 3px 0 rgba(68, 68, 68, 0.45);
}

section.menu ul{
	margin: 0;
	padding: 0;
	list-style: none;
}

section.menu ul li{
	display: inline;
	margin-right: 5%;
}

section.menu ul li:last-child{
	margin-right: 0;
}

section.menu ul li a{
	color: #f9f9f9;
	font-size: 18px;
	border-bottom: 1px solid #25292f;
	transition: all 200ms ease 0s;
}

section.menu ul li.active a,
section.menu ul li a:hover{
	text-decoration: none;
	border-bottom: 3px solid #0065B3;
}

section.menu .mobile-menu{
	display: none;
}

section.menu-mobile-overlay{
	position: absolute;
	z-index: 999;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-color: #f9f9f9;
}

section.menu-mobile-overlay ul{
	list-style: none;
	margin: 35% 0 0;
	padding: 0;
	text-align: center;
}

section.menu-mobile-overlay ul li{
	font-size: 17px;
	margin-bottom: 35px;
}

section.menu-mobile-overlay button.close{
	line-height: 0.6;
	opacity: 1;
	color: #434343;
	font-size: 60px;
	margin: 20px 20px 0 0;
}

section.menu-mobile-overlay ul li a{
	color: #25292f;
}

section.menu-mobile-overlay ul li a:hover{
	border-bottom: 3px solid #0065B3;
}

section.menu-mobile-overlay ul li.active a{
	border-bottom: 3px solid #0065B3;
	text-decoration: none;
}

@media only screen and (min-device-width : 0px) and (max-device-width : 675px) {
	section.menu ul li{
		display: inline;
		margin-right: 4%;
	}

	section.menu ul li:last-child{
		margin-right: 0;
	}

	section.menu ul li a{
		font-size: 15px;
	}
}

@media 	only screen and (min-width : 0px) and (max-width : 580px) {
	section.menu{
		padding: 0;
	}

	section.menu ul{
		display: none;
	}
	
	section.menu a.mobile-menu{
		display: block;
		color: #f9f9f9;
		border: none;
		padding: 18px 0;
	}

	section.menu a.mobile-menu:hover{
		text-decoration: none;
		color: #f9f9f9;
		border: none;
		cursor: pointer;
	}
	
	.content-wrapper .intro{
		padding: 60px 0 100px 0;
	}
}

/* ...............Slider............... */
section.slider #slider-img img{
	display: block;
	width: 100%;
	height: auto;
}



/* ...............Content............... */
section.content img{
	width: 100%;
}

section.content h1{
	margin: 0;
	font-family: 'Old Standard TT', serif;
	font-weight: bold;
}

section.content hr{
	width: 110px;
	border: 3px solid #0065B3;
}

/* ...............Intro............... */
section.intro p,
section.team p{
	font-size: 18px;
	line-height: 36px;
	font-weight: 100;
}

/* ...............Team............... */
section.team img{
	width: 60%;
}

section.team .col-md-6{
	margin: 20px 0 0;
	width: 100%;
}

@media 	only screen and (min-width : 0px) and (max-width : 580px) {
	section.team img{
		width: 100%;
	}
}

/* ...............Service............... */
section.service{
	/*background: #f2f2f2;*/
	background-image: url('../img/template/agsquare.png');
	background-repeat: repeat;
	padding: 70px 0;
}

section.service a{
	text-decoration: none;
	color: #333;
}

section.service a:hover{
	text-decoration: none;
	transition: all 0.2s ease-in-out 0s;
}

section.service a:hover img{
	transform: scale(1.15);
}

section.service img{
	width: 50px;
	transition: all 0.2s ease-in-out 0s;
}

section.service p{
	font-weight: 100;
	margin: 0;
	font-size: 15px;
}

section.service h2{
	font-family: 'Old Standard TT', serif;
	font-size: 26px;
	font-weight: 100;
	margin: 20px 0 0;
}

section.content hr.thin{
	width: 50px;
	border: 1px solid #acacac;
}

section.service .row{
	margin-top: 70px;
}

@media 	only screen and (min-width : 0px) and (max-width : 767px) {
	section.service a{
		margin-bottom: 40px;
		display: block;
		border: none;
	}

	section.service a:last-child{
		margin-bottom: 0;
	}

	section.service .row{
		margin-top: 40px;
	}
}

/* ...............Service - Detail............... */
section.service-detail p.intro{
	font-size: 18px;
	line-height: 36px;
	font-weight: 100;
}

section.service-detail .items{
	margin-top: 35px;
}

section.service-detail .items:last-child{
	margin-bottom: 35px;
}

section.service-detail .items .item{
	padding: 20px 55px;
}

section.service-detail .items h2{
	margin: 0;
	font-family: 'Old Standard TT', serif;
	font-weight: bold;
}

section.service-detail .items p{
	font-size: 16px;
	line-height: 30px;
	font-weight: 100;
	margin: 0;
}

section.service-detail .items img {
    display: block;
    margin: 0 auto 15px;
    width: 60px;
}

@media 	only screen and (min-width : 0) and (max-width : 991px) {
	section.service-detail .items .item{
		padding: 20px 15px;
	}

	section.service-detail .items{
		margin-top: 0;
		margin-bottom: 0;
	}
}

/* ...............Contact............... */
section.contact p.intro{
	font-size: 18px;
	line-height: 36px;
	font-weight: 100;
}

#map-canvas {
    height: 650px;
    width: 100%;
    margin: 80px 0 -195px;
    padding: 0px;
    display: inline-block;
}

#map-canvas .adres{
	font-family: 'Open Sans', sans-serif;
    color: #333;
	font-size: 16px;
	line-height: 30px;
	font-weight: 100;
    height: auto;
    width: 400px;
    text-align: center;
    display: inline-block;
    padding: 10px 0;
}

#map-canvas hr{
	width: 50px;
	border: 1px solid #0065b3;
	margin: 10px auto;
}

#map-canvas .adres strong{
	font-family: 'Old Standard TT', serif;
    font-size: 26px;
    font-weight: normal;
}

@media 	only screen and (min-width : 0px) and (max-width : 767px) {
	#map-canvas {
	    margin: 80px 0 -45px;
	}

	#map-canvas .adres{
		width: 100%;
	}
}


/* ...............Quote............... */
section.quotes #quote{
    font-size: 18px;
    font-weight: 100;
    margin: 70px auto 50px;
    width: 70%;
    min-height: 80px;
    font-style: italic;
}

section.quotes #quote-mobile{
	display: none;
}

section.quotes .col-sm-3 .rating{
	font-weight: bold;
	font-family: 'Old Standard TT', serif;
	font-size: 40px;
	height: 57px;
}

section.quotes .col-sm-3 p{
	font-weight: 100;
	margin: 0;
}

section.quotes .loader{
    display: inline-block;
    margin: 0 auto -8px;
}

@media 	only screen and (min-width : 0px) and (max-width : 767px) {
	section.quotes .col-sm-3{
		margin-bottom: 40px;
	}

	section.quotes .col-sm-3:last-child{
		margin-bottom: 0;
	}

	section.quotes #quote {
		margin: 40px auto;
	}

	section.quotes #quote{
	    display: none !important;
	}

	section.quotes #quote-mobile{
	    font-size: 18px;
	    font-weight: 100;
	    margin: 40px auto;
	    width: 90%;
	    font-style: italic;
	    display: block;
	}
}

/* ...............Row Image............... */
section.row-img img{
	width: 100%
}

section.row-img .row{
	margin: 0;
}

section.row-img .row div{
	padding: 0;
}

section.row-img .mobile{
	display: none;
}

@media 	only screen and (min-width : 0px) and (max-width : 630px) {
	section.row-img .mobile{
		display: block;
	}

	section.row-img .row div{
		display: none;
	}
}

/* ...............Partners............... */
section.partners img{
	width: 100%
}

section.partners .first{
	margin-top: 70px;
}

@media 	only screen and (min-width : 0px) and (max-width : 767px) {
	section.partners img {
	    max-width: 400px;
	    margin: 0 0 40px 0;
	}

	section.partners .first{
		margin-bottom: 0;
		margin-top: 30px;
	}
}

/* ...............Footer............... */
footer{
    background-color: #272727;
    margin: 190px 0 0;
    padding: 60px 0;
    color: #f9f9f9;
}

footer h3{
	font-family: 'Old Standard TT', serif;
	margin: 0 0 30px 0;
	font-size: 30px;
}

footer .time,
footer .contact,
footer .adres{
	display: inline-block;
	text-align: left;
	margin: 0 auto;
	font-size: 16px;
}

footer .adres{
	text-align: center;
}

footer .time strong,
footer .contact strong{
    color: #0065b3;
    display: inline-block;
    width: 40px;
}

footer .time div,
footer .contact div{
	margin:0 0 6px 0;
}

footer .time div:last-child,
footer .contact div:last-child{
	margin: 0;
}

footer .time strong.closed{
	color: #f9f9f9;
	width: auto;
}

footer .contact strong{
	width: 80px;
}

footer .contact a{
	color: #f9f9f9;
}

footer .contact a:hover{
	border-bottom: 1px solid #c9c9c9;
}

@media 	only screen and (min-width : 767px) and (max-width : 991px) {
	footer .time,
	footer .contact,
	footer .adres{
		font-size: 14px;
	}
}

@media 	only screen and (min-width : 0px) and (max-width : 767px) {
	footer{
		margin: 40px 0 0 0;
	}

	footer .time,
	footer .contact,
	footer .adres{
		font-size: 16px;
	}

	footer .col-sm-4{
		margin: 0 0 60px 0;
	}

	footer .col-sm-4:last-child{
		margin: 0 0 0 0;
	}
}