/* Global stuff */

* { outline: none !important; }

html, body {

}

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

body {
  background:#005eac url(../images/bg-esn.png) no-repeat center;
  display:flex;
  flex-direction: column;
  align-content: space-between;
  justify-content: space-between;
  color: #fff;
  height: 100%;
  min-height: 100%;
  font-family: nimbus-sans, sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: calc(14px + 1vw);
  letter-spacing: 0.5px;
}

.bg {
  background:#005eac url(../images/bg-esn.png) no-repeat center;
    width: 100%;
    height: 100%;
    min-height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: transparent;
    background-size: cover;
    background-position: right top;
    background-repeat: no-repeat;
    background-attachment: scroll;
    z-index: 0;
    -webkit-backface-visibility: hidden;
}

body.morning {
  background:#005eac url(../images/bg-esn.png) no-repeat center;
  color: #fff;
}
body.evening {
  background:#005eac url(../images/bg-esn.png) no-repeat center;
  color: #fff;
}
body.night {
  background:#005eac url(../images/bg-esn.png) no-repeat center;
  color: #fff;
}

* {
  margin: 0;
  padding: 0;
  line-height: 1.4;
}

p {
  font-size: 14px;
}

.main p.last {
	border-top: 1px solid rgba(255,255,255, 0.1);
    margin-top: 40px;
    padding-top: 20px;
    font-size: 11px;
    display: inline-block;
}

a {
  text-decoration: none;
	transition: 0.3s linear;
	-moz-transition: 0.3s linear;
	-ms-transition: 0.3s linear;
	-o-transition: 0.3s linear;
	-webkit-transition: 0.3s linear;
}

p a {
	color: #ffcb04;
}

p a:hover {
	color: #fff;
}

strong {
  font-weight: 700;
}

/*header,
.main,
footer {
  display: flex;
}*/

header {
    margin-top: 6%;
    position: relative;
    margin-bottom: 6.5vw;
}

/* Main part */

.main {
  flex-direction: column;
  justify-content: center;
  /*align-items: center;*/
  width: 89%;
  height: 100%;
  padding-left: 11%;
  margin-top: 0;
  position: relative;
}

.main h1,
.main h2 {
  font-weight: normal;
  text-align: left;
  font-weight: 400;
}

header h1 {
  font-size: calc(0.2em + 1.5vw);
  font-weight: 400;
  width: 89%;
  height: auto;
  padding: 10px 0 10px 12%;
  letter-spacing: 1px;
  margin-left: -1%;
  
	background: rgba(46,49,146,1);
	background: -moz-linear-gradient(left, rgba(46,49,146,1) 0%, rgba(48,128,210,1) 100%);
	background: -webkit-gradient(left top, right top, color-stop(0%, rgba(46,49,146,1)), color-stop(100%, rgba(48,128,210,1)));
	background: -webkit-linear-gradient(left, rgba(46,49,146,1) 0%, rgba(48,128,210,1) 100%);
	background: -o-linear-gradient(left, rgba(46,49,146,1) 0%, rgba(48,128,210,1) 100%);
	background: -ms-linear-gradient(left, rgba(46,49,146,1) 0%, rgba(48,128,210,1) 100%);
	background: linear-gradient(to right, rgba(46,49,146,1) 0%, rgba(48,128,210,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2e3192', endColorstr='#3080d2', GradientType=1 );
	-webkit-box-shadow: 0px 0px 25px 0px rgba(0,0,0,0.5);
	-moz-box-shadow: 0px 0px 25px 0px rgba(0,0,0,0.5);
	box-shadow: 0px 0px 25px 0px rgba(0,0,0,0.5);
}

header img {
    position: absolute;
    right: 12%;
    height: calc(100% + 10vw);
    top: -2.5vw;
	-webkit-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.5);
	-moz-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.5);
	box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.5);
	max-width: 100%;
	width: auto;
}

header h1 span {
  color: #ffcb04;
  text-transform: uppercase;
  font-weight: 700;
}

.main h2 {
  font-size: 18px;
  color: #ffcb04;
}

.main p {
  margin-top:1em;
  text-align: left;
}

/*.text {
	transform: translateY(50%);
	-moz-transform: translateY(50%);
	-ms-transform: translateY(50%);
	-o-transform: translateY(50%);
	-webkit-transform: translateY(50%);
}*/

/* Footer */

footer {
  /*width: 100%;
  height: 2em;*/
    width: 100%;
    height: 2em;
}

.social {
  /*display: flex;
  margin:0 auto;
  font-size: 12px;*/
    font-size: 11px;
    width: 100%;
    text-align: right;
    display: inline-block;
    padding-bottom: 0px;
}

.social a, .social small {
  display: inline-block;
  margin-right: 12%;
  color: #fff;
	transition: 0.3s linear;
	-moz-transition: 0.3s linear;
	-ms-transition: 0.3s linear;
	-o-transition: 0.3s linear;
	-webkit-transition: 0.3s linear;
  text-align: right;
  text-transform: uppercase;
}

.social a {
	margin-right: 0;
	color: #ffcb04 !important;
}

.social a:hover {
  color: #fff !important;
}

.evening .social a,
.night .social a,
.morning .social a {
  color: #fff;
}

#right-triangle {
   width: 0;
   height: 0;
   border-left: 25px solid #ffcb04;
   border-top: 15px solid transparent;
   border-bottom: 15px solid transparent;
}

#base {
    background: #ffcb04;
    display: inline-block;
    height: 100px;
    position: absolute;
    width: 50px;
    left: -45px;
    margin-top: -25px;
    transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	-webkit-transform: rotate(90deg);
}
#base:before {
    border-bottom: 25px solid #ffcb04;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    content: "";
    height: 0;
    left: 0;
    position: absolute;
    top: -25px;
    width: 0;
}

.catalog {
	position: absolute;
	top: 0;
	left: 40%;
}

.catalog a {
    padding: 0;
    font-size: 0;
    height: 100%;
}

.catalog img {
    max-height: 100% !important;
    max-width: 100%;
    width: auto;
    margin: 0 auto;
    display: inline-block;
   /* float: right;*/
	/*margin-top: -25px;*/
	/*transform: translateY(-10%);
	-moz-transform: translateY(-10%);
	-ms-transform: translateY(-10%);
	-o-transform: translateY(-10%);
	-webkit-transform: translateY(-10%);*/
}

.catalog .btnholder {
    left: 0; 
    right: 0; 
    margin-left: auto; 
    margin-right: auto;
    position: absolute;
    width: auto;
    top: 43%;
    text-align: center;
}

.catalog .btnholder a {
	color: #fff;
	font-size: 14px;
	text-transform: uppercase;
	font-weight: 400;
	background-color: #ffcb04;
	padding: 15px;
	vertical-align: middle;
	display: inline-block;
	border: 2px solid #ffcb04;
	transition: 0.3s linear;
	-moz-transition: 0.3s linear;
	-ms-transition: 0.3s linear;
	-o-transition: 0.3s linear;
	-webkit-transition: 0.3s linear;
}

.btn {
	color: #fff;
	font-size: 12px;
	text-transform: uppercase;
	font-weight: 400;
	background-color: #ffcb04;
	padding: 10px;
	vertical-align: middle;
	display: inline-block;
	border: 2px solid #ffcb04;
	transition: 0.3s linear;
	-moz-transition: 0.3s linear;
	-ms-transition: 0.3s linear;
	-o-transition: 0.3s linear;
	-webkit-transition: 0.3s linear;
}

.catalog:hover .btnholder a, .catalog .btnholder a:hover, .btn:hover {
	background-color: transparent;
	border: 2px solid #ffcb04;
}

.height_1 {
	height: 23%;
}

section.main {
	height: 100%;
}

footer {
	padding: 10px 0;
	height: auto;
}

.relative {
	position: relative;
}

@media (max-width: 600px) and (min-width: 0px) {
	.catalog .btnholder {
		display: none;
	}
}

@media (max-width: 480px) and (min-width: 0px) {
	#base {
    	left: -80px;
    	margin-top: -30px;
	}
	header h1 {
    	font-size: calc(0.4em + 0vw);
	}
	/*.main {
    	height: auto;
	}*/
	.main h2 {
    	font-size: 13px;
	}
	.main p {
    	font-size: 11px;
	}
	.social, .social a, .social small {
    	font-size: 8px;
	}
	.catalog {
		right: 3%;
		left: auto;
	}
	.catalog img {
    	margin-top: 50px;
    	max-width: 45% !important;
    	float: right;
	}
	.catalog .btnholder {
		display: none;
	}
}
