@import "global.css";

:root {
	--c1: #e80f29;
}

body, html {
	background: #5a8bf9;
	font-family: 'Montserrat', sans-serif;
}

/* loader */
#pre-loader {
    width: 100%;
    height: 100%;
    z-index: 999;
    position: fixed;
}
#pre-loader .app-loader {
    top: 50%;
    left: 50%;
    width: 70px;
    height: 70px;
    padding: 10px;
    border-radius: 50%;
    position: absolute;
	transform: translate(-50%, -50%);
    background: rgba(250, 250, 255, 0.6);
}
.app-loader .loading {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: solid 2px var(--c1);
    border-top-color: #fff;
    animation: spin 1s infinite linear;
    -webkit-animation: spin 1s infinite linear;
    display: inline-block;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

@-webkit-keyframes spin { 
    100% { 
        -webkit-transform: rotate(360deg); 
    } 
}

/* pagination */
.pagination {
	margin: 0 auto;
	display: block;
	text-align: center;
}
.pagination>li {
	margin:0 10px 0 0;
	display: inline-block;
	vertical-align: middle;
}
.pagination>li:last-child {
	margin-right: 0;
}
.pagination>li>a,
.pagination>li>span {
	padding: 0;
	color: #333;
	width: 40px;
	height: 40px;
	font-size: 16px;
	background: white;
	line-height: 38px;
	text-align: center;
	border: 1px solid #ddd;
	border-radius: 0 ! important;
}
.pagination>li>a:hover,
.pagination>li.active>span,
.pagination>li.active>span:hover {
	color: white;
	background: #007ef4;
	border-color:#007ef4;
}

/* breadrumb */
.breadrumb {
    font-size: 13px;
}
.breadrumb li {
    color: white;
    padding: 0 10px;
    position: relative;
    display: inline-block;
}
.breadrumb li:first-child {
	padding-left: 0;
}
.breadrumb li:last-child {
	padding-right: 0;
}
.breadrumb li a::after {
    right: -3px;
    content: '/';
    color: white;
    position: absolute;
}
.breadrumb li span {
    color: var(--c1);
}

/* goTop */
#goTop {
    opacity: 0;
    color: #999;
    right: 13px;
    width: 50px;
    height: 50px;
    z-index: 999;
    bottom: 13px;
    font-size: 26px;
	cursor: pointer;
    position: fixed;
    line-height: 45px;
    background: white;
    text-align: center;
	border-radius: 100%;
	border: 1px solid #bababa;
    transition: all .3s ease;
    -moz-transition: all .3s ease;
    -webkit-transition: all .3s ease;
}
#goTop:hover {
    color: white;
    background: #3a50b9;
    border-color: #3a50b9;
}

/* scale3d */
.scale3d {
    display: block;
    overflow: hidden;
    position: relative;
}
.scale3d>img {
    margin: auto;
    transform: scale3d(1, 1, 1);
    -moz-transform: scale3d(1, 1, 1);
    -webkit-transform: scale3d(1, 1, 1);
    backface-visibility: hidden;
    transition: opacity 1s, transform 1s;
    -webkit-backface-visibility: hidden;
    -moz-transition: opacity 1s, -moz-transform 1s;
    -webkit-transition: opacity 1s, -webkit-transform 1s;
}
.scale3d:hover>img {
    -webkit-transform: scale3d(1.05, 1.05, 1.05);
    -moz-transform: scale3d(1.05, 1.05, 1.05);
    -o-transform: scale3d(1.05, 1.05, 1.05);
    -ms-transform: scale3d(1.05, 1.05, 1.05);
    transform: scale3d(1.05, 1.05, 1.05);
}

/* effect style */

.effect {
    display: block;
    overflow: hidden;
    position: relative;
}
.effect::after {
    background: rgba(0, 0, 0, 0) linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%) repeat scroll 0 0;
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    right: -75%;
    top: 0;
    transform: skewX(-25deg);
    width: 50%;
    z-index: 2;
}
.effect:hover::after {
    animation: 1s ease 0s normal none 1 running slash;
    animation: 1s ease 0s normal none 1 running slash;
    -webkit-animation: 1s ease 0s normal none 1 running slash;
    -moz-animation: 1s ease 0s normal none 1 running slash;
}
@-webkit-keyframes slash {
    0% {
        right: 125%;
	}
    125% {
        right: 0;
	}
}
@-moz-keyframes slash {
    0% {
        right: 125%;
	}
    125% {
        right: 0;
	}
}
@keyframes slash {
    0% {
        right: 125%
	}
    125% {
        right: 0;
	}
}

/* maker */
.maker.loading {
	position: fixed;
	overflow: hidden;
	width: 100%;
	height: 100%;
	z-index: 999999;
	top: 0;
	background: rgba(0,0,0,0.5);
}
.maker.loading::after {
	top: 50%;
	left: 50%;
	zoom: 0.5;
	z-index: 1;
	display: block;
	position: absolute;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	content: url(../images/loading.svg);
}

/* scrollbar */
.scrollbar::-webkit-scrollbar {
    width: 6px;
}
.scrollbar::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: var(--c1);
}
.entry {
	font-size: 16px;
	line-height: 1.8;
}
.entry p:last-child {
	margin-bottom: 0;
}

@media screen and (max-width: 1200px) {
	.wrapper {
		padding-left: 10px;
		padding-right: 10px;
	}
	.hotline-menu .hotline span {
		display: none;
	}
}

@media screen and (max-width: 992px) {
	.header .logo {
		top: 0;
		left: 50%;
		margin: auto;
		position: absolute;
		transform: translate(-50%, 0);
	}
	.header .logo img {
		max-width: auto;
		max-height: 70px;
	}
	.hotline-menu {
		padding: 10px;
	}
	.hotline-menu .hotline {
		padding: 5px 0;
	}
	.hotline-menu .menu a {
		width: 50px;
		height: 50px;
		font-size: 10px;
	}
	.socials {
		padding: 15px 0;
	}
}

@media screen and (max-width: 767px) {
	.wrapper {
		padding-left: 5px;
		padding-right: 5px;
	}
	.header {
		height: 50px;
		padding: 5px;
		-webkit-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.2);
		-moz-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.2);
		box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.2);
	}
	.header::after {
		content: '';
		clear: both;
		display: table;
	}
	.hotline {
		float: left;
	}
	.hotline .fa {
		width: 40px;
		height: 40px;
		color: white;
		font-size: 24px;
		padding: 7px 10px;
		border-radius: 100%;
		border: 1px solid white;
	}
	.header .logo img {
		max-height: 50px;
	}
	.menu {
		float: right;
	}
	.menu a {
		width: 40px;
		height: 40px;
		color: white;
		display: block;
		padding: 10px 0;
		font-size: 10px;
		font-weight: 700;
		position: relative;
		text-align: center;
		border: 1px solid white;
		text-transform: uppercase;
	}
	.menu a span {
		padding-bottom: 2px;
		border-bottom: 2px solid;
	}
}