/*
	Theme Name: upandgogarage
	Version: 1.0.0
	Author: upandgogarage
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* html element 62.5% font-size for REM use */
html {
    font-size: 62.5%;
}

body {
    font-family: 'Raleway', sans-serif;
	font-size: 14px;
	color: #172940;
	line-height: 1.5;
	font-weight: 600;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Khand', 'Raleway', sans-serif;
	font-weight: 700;
}

/* clear */
.clear:before,
.clear:after {
    content: ' ';
    display: table;
}

.clear:after {
    clear: both;
}

.clear {
    *zoom: 1;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

a {
    color: #e7222e;
    text-decoration: none;
}

a:hover {
    color: #e7222e;
}

a:focus {
    outline: 0;
}

a:hover,
a:active {
    outline: 0;
}

input:focus {
    outline: 0;
    border: 1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
    max-width: 1200px;
    padding: 0 15px;
    margin: 0 auto;
    position: relative;
}

/* header */
.header {
	background-color: #8b9091;
}

.header-contacts {
	margin-top: 10px;
}

.header-contacts a {
	display: inline-block;
	margin-right: 20px;
}

#mmenu-button {
    position: absolute;
    right: 15px;
    bottom: 10px;
}

#mmenu-button,
#mmenu-button span {
	display: block;
	width: 40px;
}

#mmenu-button span {
	background: #fff;
	height: 2px;
	margin-bottom: 5px;
}
/* logo */
.logo {}

.logo-img {
	padding: 5px 0;
	max-height: 90px;
}

/* nav */
.nav {
	display: none;
}

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

/* sidebar */
.sidebar {}

/* footer */
.footer {
	background: #1d1d1b;
	padding: 50px 0;
}

.footer .flex > div {
	min-width: 230px;
}

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

.footer,
.footer a {
	color: #fff;
}

.footer h3 {
	color: #e7222e;
    font-size: 20px;
    margin: 0 0 1em;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/



/*------------------------------------*\
    IMAGES
\*------------------------------------*/



p {
    margin: 0 0 1em;
}

.flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.flex-row {
	margin: 0 -10px;
}

.flex-row>div {
	padding: 0 10px;
}

.wrap {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.between {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.around {
    -ms-flex-pack: distribute;
    justify-content: space-around;
}

.center {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.start {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start
}

.end {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.align-top {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.align-bottom {
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}

.align-center {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.align-self-center {
    -ms-flex-item-align: center;
    align-self: center;
}

.align-self-end {
    -ms-flex-item-align: end;
    align-self: flex-end;
}

.button {
    background: #e7222e;
    color: #fff;
    font-family: Khand;
    font-size: 20px;
    display: inline-block;
    padding: 0 10px;
}

.button:hover {
	color: #1b1b1b;
}

.hidden-mobile {
    display: none;
}

.h1 {
	color: #fff;
    font-style: italic;
    font-size: 1.5em;
    line-height: 1;
    margin: 1em 0 2em;
}

.h1 span {
    font-size: 1.5em;
    font-family: "Khand", "Raleway", sans-serif;
    color: #1d1d1b;
    display: block;
    font-style: normal;
	font-weight: 700;
}

.text-center {
    text-align: center;
}

.slider .caption {
	position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    font-family: 'Khand';
    color: #fff;
    font-size: 2em;
	width: 70%;
    max-width: 700px;
    line-height: 1;
	margin: auto;
}

.frontpage-content {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 30px;
}

.buttons {
    margin-top: 1em;
    margin-bottom: 1em;
}

.buttons>div {
	width: 100%;
}

.buttons .button {
    display: block;
    text-align: center;
    padding: 5px 10px;
    color: #fff;
    font-family: 'Khand';
    font-size: 2em;
    margin: 10px 0;
    vertical-align: middle;
    width: 100%;
    text-transform: uppercase;
}

.buttons div:first-child .button {
    background: #ec1e32;
}

.buttons div:last-child .button {
    background: #1d5789;
}

.buttons .button img {
    vertical-align: middle;
    margin-right: 20px;
}

.blog-list.frontpage {
	background: #16588e;
	padding: 50px 0;
}

.blog-list .h1 span {
    color: #e7222e;
}

.blog-list .article {
	margin: 15px 0;
}

.blog-list .article>div {
	background: #fff;
	padding: 15px;
}

.blog-list .article img {
	width: 100%;
}

.blog-list .article b {
	display: block;
    margin: 10px 0;
	color: #172940;
}

.blog-list .article .button {
	background: #e7222e;
    color: #fff;
    font-family: 'Khand';
    display: block;
    text-transform: uppercase;
    font-size: 1.2em;
    padding: 5px 15px 2px;
    text-align: center;
    max-width: 150px;
    margin: 15px auto 5px;
}

.promo-section .content {
    text-align: center;
	text-transform: uppercase;
    color: #81c4ff;
    font-size: 20px;
    font-family: "Khand";
    font-weight: normal;
    line-height: 1.1;
    padding: 10px 0;
}

.promo-section .content p {
	margin: .5em 0;
}

.promo-section .content a {
	display: inline-block;
	font-weight: 700;
    font-size: .8em;
    background: #e7222e;
    color: #fff;
    padding: 5px 20px;
}

.testimonials-list {
	padding: 50px 0;
	background: #81c4ff;
}

.testimonials-list img {
	display: block;
	margin: 0 auto 1em;
	width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, .5);
}

.testimonials-list b {
	display: block;
	margin: 0 0 1em;
}

.testimonials-list .flex-row>div {
	width: 50%;
}

.contact-map {
	padding: 50px 0 80px;
	background: url(img/map_bg.jpg) center no-repeat;
	background-size: cover;
}

.contact-map .content {
	max-width: 370px;
	margin-left: auto;
}

.usp .owl-item {
	text-align: center;
}

.usp .owl-item img {
	width: auto;
    margin: 0 auto 1em;
    height: 50px;
}

.usp {
	padding: 50px 0;
}

.usp .owl-item b {
    display: block;
    margin: 1em 0 0;
    text-transform: uppercase;
    font-family: 'Khand', sans-serif;
    color: #1d1d1b;
    line-height: 1;
    font-size: 16px;
}

.usp .owl-item i {
	color: #81c4ff;
	font-weight: 500;
}

.usp .owl-dots {
    margin: 2em 0 0;
    text-align: center;
}

.usp button.owl-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #111;
    display: inline-block;
    margin: 5px;
    opacity: .5;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
}

.usp button.owl-dot:hover,
.usp button.owl-dot.active {
    opacity: .9;
}
/*------------------------------------*\
	Hidden
\*------------------------------------*/
.blog-list.frontpage,
.promo-section,
.testimonials-list,
.contact-map,
.usp-list{
    display: none;
}
/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media (max-width: 479px) {
	.header-contacts {
		display: none;
	}
}

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

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

@media only screen and (min-width:768px) {
	.slider .caption {
		font-size: 4em;
	}
	.buttons>div,
	.blog-list .article {
		width: 50%;
	}
	.promo-section .wrapper {
		padding: 40px 15px;
	}
	.promo-section .wrapper:before {
		content: url(img/placeholder.png);
		position: absolute;
		bottom: -6px;
	}
	.promo-section .content {
		margin-left: auto;
		max-width: 550px;
		font-size: 30px;
	}
	.testimonials-list .flex-row>div {
		width: 25%;
	}
}

@media only screen and (min-width:1024px) {
	.hidden-mobile {
		display: block;
	}
	.hidden-desktop {
		display: none;
	}
	.header {
		background-image: url(img/header-bg.jpg);
		background-position: center;
		background-repeat: no-repeat;
		background-size: auto 100%;
	}
	
	.logo-img {
		max-height: 100%;
	}
	.nav {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		margin-top: 60px;
	}
	.nav>ul>li {
		display: inline-block;
		font-size: 15px;
		padding: 5px 0;
	}
	.nav>ul>li:not(:first-child) {
		padding-left: 40px;
	}
	.nav>ul>li a {
		color: #1b1b1b;
		text-transform: uppercase;
		display: block;
	}
	.slider .caption {
		font-size: 5em;
	}
	.buttons {
		margin-top: -55px;
		position: relative;
		z-index: 1;
	}
	.buttons .button {
		font-size: 4em;
	}
	.promo-section .wrapper {
		background: url(img/promo-bg.jpg) left 100px center no-repeat;
	}
	.blog-list .article {
		width: 33.33333%;
	}
	.footer {
		background-image: url(img/footer-bg.png);
		background-position: right 10% center;
		background-repeat: no-repeat;
	}
}

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

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

@media only screen and (-webkit-min-device-pixel-ratio:1.5),
only screen and (min-resolution:144dpi) {}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
    background: #04A4CC;
    color: #FFF;
    text-shadow: none;
}

::-webkit-selection {
    background: #04A4CC;
    color: #FFF;
    text-shadow: none;
}

::-moz-selection {
    background: #04A4CC;
    color: #FFF;
    text-shadow: none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #FFF;
    border: 1px solid #F0F0F0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption .wp-caption-text,
.gallery-caption {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

.sticky {}

.bypostauthor {}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " ("attr(href) ")";
    }

    abbr[title]:after {
        content: " ("attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
