/* Copyright (C) YOOtheme GmbH, YOOtheme Proprietary Use License (http://www.yootheme.com/license) */

@import url(../warp/css/layout.css);


/* Spacing
----------------------------------------------------------------------------------------------------*/

.module,
#breadcrumbs,
#content { margin: 10px; }

#toolbar,
#footer { margin: 0 10px; }

#header { margin: 0px 0px; }

#menu .module { margin: 10px 5px; }

#footer .module { margin: 0; }


/* Layout
----------------------------------------------------------------------------------------------------*/

/* Layout Widescreen Elements */
body#page { background: #222; }

#block-toolbar {
	background: #2c2623;
}
#block-main { padding-bottom: 15px; background: url('../images/color/red/kh-bg.png');}
#block-bottom { padding: 20px 0; }
#block-footer { 
    position: absolute;
    width: 100%;
    bottom: 0px;
    background: #25201dcc;
}

/* Layout Content Elements */
#toolbar {
	line-height: 40px;
	/*color: #888;*/
	font-size: 18px;
}

#menu {
	position: relative;
	margin-top: 5px;
	float: right; 
}

.menu-responsive { margin-top: 15px; }

#footer {
	padding: 0px 0;
	color: #555;
	font-size: 13px;
	text-align: left;
}

#footer a { color: #888; }

#totop-scroller {
	display: block;
	position: absolute;
	top: 20px;
	right: 0;
	z-index: 1;
	width: 40px;
	height: 40px;
	background: url(../images/totop_scroller.png) 0 0 no-repeat;
	text-decoration: none;
	opacity: 0.6;
}
#totop-scroller:hover { opacity: 1; }

/* Section Line Style */
.top-a-sep #top-a,
.top-b-sep #top-b,
.main-sep #main,
.bottom-a-sep #bottom-a {
	min-height: 150px;
	margin-top: 20px;
	padding-top: 20px;
	background: url(../images/section.png) 50% 0 no-repeat;
	background-size: contain;
}

.button-primary, .mod-black .button-primary, .menu-dropdown li.active .level1, .menu-dropdown li.active:hover .level1, .module.mod-header-color .module-title, #system .pagination strong { font-size: 17px;}



.tabs_content .box {
   width: 32%;
    height: 200px;
    padding: 5px 5px;
    display: block;
    float: left;
    opacity: 0.94;
}
.tabs_content .box:hover {opacity: 1;}
.tabs_content .wrap {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    display: block;
    box-shadow: 0 5px 15px rgba(38, 34, 31, 0.15);
}

.tabs_content .wrap:before {
    opacity: 0.15;
    background-color: #26221f;
}


.tabs_content .wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin:0;
}

.tabs_content .wrap:after {
    height: 50%;
    top: auto;
    bottom: 0;
    opacity: 0.9;
    background-image: -webkit-linear-gradient(bottom, #26221f 0%, transparent 100%);
    background-image: linear-gradient(to top, #26221f 0%, transparent 100%);
}

.tabs_content .wrap:before, .tabs_content .wrap:after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    -webkit-transition: all .3s;
    transition: all .3s;
}

.tabs_content .wrap h5 {
    position: absolute;
    top: 35%;
    left: 50%;
    font-size: 18px;
    color: #fff;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 20;
    width: -webkit-calc(100% - 40px);
    width: calc(100% - 40px);
    height: -webkit-calc(100% - 40px);
    height: calc(100% - 40px);
    -webkit-transition: all .3s;
    transition: all .3s;
}

.b_fix{
    height: 1px;
    background: transparent;
    position: fixed;
    top: 0;}

.tabs_content .wrap:hover h5 {
    top: 20px;
    font-size: 22px;
}

.tabs_content .wrap:after {
    height: 50%;
    top: auto;
    bottom: 0;
    opacity: 0.9;
    background-image: -webkit-linear-gradient(bottom, #26221f 0%, transparent 100%);
    background-image: linear-gradient(to top, #26221f 0%, transparent 100%);
}

.tabs_content .wrap:hover:before {
    opacity: 0.6;
}

.tabs_content .wrap:before {
    opacity: 0.4;
    background-color: #26221f;
}

.tabs_content .wrap h5 .line {
    position: relative;
}

.tabs_content .wrap h5 .line:before {
    right: -webkit-calc(100% + 20px);
    right: calc(100% + 20px);
}

.tabs_content .wrap h5 .line:after, .tabs_content .wrap h5 .line:before {
    content: "";
    display: block;
    position: absolute;
    width: 30px;
    height: 2px;
    opacity: 0.5;
    background-color: #ffc20e;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: all .3s;
    transition: all .3s;
}

.tabs_content .wrap h5 .line:after {
    left: -webkit-calc(100% + 20px);
    left: calc(100% + 20px);
}

.tabs_content .wrap h5 .ang {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.tabs_content .wrap:hover .ang.tr:before {
    width: 35px;
}

.tabs_content .wrap h5 .ang.tr:before {
    width: 0px;
}

.tabs_content .wrap h5 .ang.tr:before,  .tabs_content .wrap h5 .ang.tr:after {
    top: 0;
    right: 0;
}

.tabs_content .wrap h5 .ang:before, .tabs_content .wrap h5 .ang:after {
    content: "";
    display: block;
    position: absolute;
    width: 0px;
    height: 1px;
    opacity: 0.5;
    background-color: white;
    -webkit-transition: all .3s;
    transition: all .3s;
}


.tabs_content .wrap:hover .ang.tr:after {
    height: 35px;
}

.tabs_content .wrap h5 .ang.tr:after {
    width: 1px;
    height: 0px;
}

.tabs_content .wrap h5 .ang {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.tabs_content .wrap:hover .ang.bl:before {
    width: 35px;
}

.tabs_content .wrap h5 .ang.bl:before {
    width: 0px;
}

.tabs_content .wrap h5 .ang.bl:before,  .tabs_content .wrap h5 .ang.bl:after {
    bottom: 0;
    left: 0;
}

.tabs_content .wrap:hover .ang.bl:after {
    height: 35px;
}

.tabs_content .wrap h5 .ang.bl:after {
    width: 1px;
    height: 0px;
}

.tabs_content .wrap:after {
    height: 50%;
    top: auto;
    bottom: 0;
    opacity: 0.9;
    background-image: -webkit-linear-gradient(bottom, #26221f 0%, transparent 100%);
    background-image: linear-gradient(to top, #26221f 0%, transparent 100%);
}



