:root {
	--main-color: #FF9100;
	--main-color-40: rgba(255, 145, 0, 0.4);
	--main-color-light: #ffdeb2;
        --main-color-lighter: #FFEAD5;
}
  
 body {
	background: white;
}
a, a:visited, a:active, a:link {
	color: gray;
}

.wrap {
	background: none;
}

#head {
	background-color: #FF8F00;
}

#head.admin {
	background-color: rgba(0, 0, 0, 0.6);
}

.headwrap {
	height: 60px;
}

#head.admin .headwrap {
	height: 40px;
}

#head.admin .logo_glava img {
	height: 36px;
}

.traka_glava {
	bottom: 0;
	right: 32px;
}

.traka_glava a {
	font-size: 13pt;
	color: white !important;
	margin: 0;
	border-top: 1px solid white;
	border-left: 1px solid white;
	text-align: center;
	padding: 5px 30px;
}

.traka_glava a:last-child {
	border-right: 1px solid white;
}

.traka_glava a:hover {
	text-shadow: none;
	background-color: rgba(0,0,0,0.3);
}

.traka_glava a .traka_glava_img, .menubackitem .traka_glava_img {
	display: inline-block;
	height: 22px;
	background-position: top left;
	background-repeat: no-repeat;
	background-size: cover;
	vertical-align: bottom;
	margin-bottom: -2px;
}

.traka_glava a .headsublinks a {
	border-right: 1px solid white;
}

.traka_glava a .headsublinks a:last-child {
	border-bottom: 1px solid white;
}

.login_head, #loged_head {
	background-color: rgba(0,0,0,0.5);
}


#content {

}

#content.land {
	background-color: white;
}

#content .wrap {
	min-height: 0;
}


/* back menu for smaller screens */


#menuback {
	background-color: #222;
}
.menubackitem {
	padding: 10px;
	font-size: 13pt;
	color: #FF9100;
}
.menubackitem .traka_glava_img {
	padding-bottom: 2px;
	background-size: contain;
}
.selmenubackitem {
	background-color: #FF9100;
	color: white;
}
.menubackitem:hover {
	background-color: #FF9100;
	color: black;
}
#menubackbutton {
	left: 15px;
	top:15px;
}

/* marketing floating and fixed */

.m_top_content {
	padding: 17px 10px;
	font-size: 18px;
}

/* contents */

.pagetoptitle a {
	color: #ff9100;
	font-weight: 600;
	font-size: 24px;
}

/* login & register page */

#login-content {
	float: left;
	width: 39%;
	border: 1px solid lightgray;
	border-radius: 10px;
}

#login-content > div{
	margin: 15px;
}

#registerImg, #loginTxt {
	float: left;
	width: 55%;
	margin-right: 5%;
	overflow: hidden;
}

#loginTxt > div {
	padding: 10px;
}

#registerImg > img{
	width: 100%;
}

.loginpromotxt, .loginpromotxttop {
	width: 90%;
	font-size: 17px;
	color: #f90;
	text-align: center;
	margin: 30px auto 0;
}

.loginpromotxttop {
	margin: 0 auto 10px;
	padding-top: 10px;
}


/* footers */

#footer {
	background-color: #252422;
}

#bigfooter {
	background-color: #252422;
}

#bgfcontent {
	padding:0px 36px;
}

#bigfooter .widget {
	text-align: left;
	height: 258px;
}

#bigfooter .widget h3{
	font: 14pt AvenirNextLTW01-Bold, "Arial Bold", sans-serif;
}

#footer a, #bigfooter a {
	color: #f1eae0;
}

#footer a:hover, #bigfooter a:hover {
	color: #FF8F00;
}

/* ui-widget */

.ui-dialog.ui-widget-content {
	border: none;
}

.ui-widget-header {
	border: none;
}

.ui-dialog .ui-dialog-titlebar {
	padding: .6em 1em;
	font-family: 'Helvetica Neue', helvetica, arial, sans-serif;
	font-size: 1.1em;
}

.sectiontitleblock:after {
	background: #ff9100;
}

/* Responsive Design
------------------------------------------------------------ */

@media only screen and (max-width: 1200px) {

}

@media only screen and (max-width: 999px) {

}

@media only screen and (max-width: 768px) {
	.headwrap {
		height: auto;
	}
	#head .logo_glava img {
		height: 35px;
	}
	.traka_glava {
		padding: 0;
		right: 0;
	}
	.traka_glava a, .traka_glava a:last-child {
		font-size: 12pt;
		display: inline-block;
		padding: 5px 15px;
		border: none;
	}
	#login-content {
		width: 49%;
	}
	#registerImg, #loginTxt {
		width: 45%;
	}
	#registerImg > img{
		width: 190%;
	}
	#bigfooter .widget {
		width: 23%;
	}
	#bgfcontent {
		padding:0px 8px;
	}
}

@media only screen and (max-width: 400px) {
	.traka_glava a, .traka_glava a:last-child {
		font-size: 10pt;
		padding: 0 10px 5px;
	}
	#login-content {
		float: none;
		width: 90%;
		margin: 0 auto;
	}

	#registerImg, #loginTxt {
		float: none;
		width: 100%;
		margin-right: 0;
	}
	#registerImg > img{
		width: 100%;
	}
	#bigfooter .widget {
		width: 45%;
		height: auto;
	}

}
