body{
  font-family: "Times New Roman";
  font-size: 18px;
}

body.bg {
  background: #fff;
}

#sp-header-wrapper {
    background: #fff;
}

#sp-main-body-wrapper {
  padding: 0 !important;
}

img.banner {
  margin-bottom: 10px;
}

a.menu-item {
  font-size: 14px;
}

.logo-text {
  width: 100% !important;
  height: 90px !important;
  position: relative;
}

.logo-slogan {
  display: none;
}

.logo-text > a {
  display: inline-block;
  padding: 10px 0;
  font-family: "Times New Roman";
  font-size: 36px;
  font-weight: bold;
  color: #000;
}

.logo-text > a:hover {
  color: #397dcf;
}

.logo-text:before {
  content: '';
  display: block;
  width: 100%;
  height: 60px;
  background: #204D84;
  background-size: cover;
  background-position: center center;
}

.logo-text:after {
  content: '';
  display: block;
  max-width: 100%;
  height: 20px;
  background: #204D84;
  background-size: cover;
  background-position: center center;
  position: relative;
  bottom: -4px;
}

#sp-main-menu li.menu-item {
  background: #397dcf;
  border-radius: 3px;
}

#sp-main-menu ul.level-0 > li > a {
  color: #fff;
}

#sp-main-menu ul.level-0 > li:hover, #sp-main-menu ul.level-0 > li.active {
  background: #204d84;
}

.sp-main-menu-toggler {
  position: absolute;
  top: 155px;
  right: 20px;
}

.sp-mobile-menu {
  position: absolute !important;
  top: 193px;
  left: 0;
  width: 100%;
}

#sp-menu {
  margin-top: 45px;
  margin-left: 0;
}

#sp-search {
  margin-top: 45px;
  float: right;
  text-align: right;
  padding-top: 10px;
}

div.mod-languages ul.lang-inline li {
    float: left;
}

ul.bullet {
  list-style: none;
}
 
ul.bullet li:before {
  color: #397dcf;
  content: '\f00c';
  font-family: "FontAwesome";
  font-size: 1em;
  margin-right: 5px;
}

#sp-main-body-wrapper {
  border-bottom: none;
}

#sp-footer-wrapper {
  background: #204d84;
  max-width: 940px;
  margin: 0 auto;
  font-size: 14px;
  border-top: none;
}

#sp-footer1 {
  padding-left: 30px;
}

#sp-footer2 {
  padding-right: 30px;
}

.lift-effect {
  position: relative;
  border: 1px solid #397DCF;
  border-radius: 5px;
  background: #fff;
  margin-bottom: 20px;
  padding: 5px 20px 20px 20px;
}

.padding {
  /*padding: 5px 18px;*/
}

.lift-effect h3 {
  color: #397DCF;
}

.lift-effect:before, .lift-effect:after {
  content: '';
	position: absolute;
	bottom: 20px;
	width: 50%;
	height: 10px;
	background: red;
	box-shadow: 0 5px 15px rgba(0,0,0,.7);
	z-index: -1;
	transition: all .3s ease-in-out;
}

.lift-effect:before {
  left: 15px;
	transform: rotate(-5deg);
}

.lift-effect:after {
  right: 15px;
	transform: rotate(5deg);
}

.lift-effect:hover::before,
.lift-effect:hover::after {
  box-shadow: 0 2px 14px rgba(0,0,0,.4);
}

.lift-effect:hover::before {
  left: 5px;
}

.lift-effect:hover::after {
  right: 5px;
}

/* Home page */

.my-home-row h3 {
  color: #397DCF;
  font-size: 21px;
  text-align: center;
}

.my-home-row div {
  border: 1px solid #397DCF;
  border-radius: 5px;
  padding: 10px 15px;
}

.my-home-row div p {
  font-size: 17px;
}

.my-home-row .home-content {
  margin-bottom: 25px;
}

.my-home-row .short {
  margin-bottom: 44px;
}

.my-home-row .btn-large {
  width: 88.4%;
}

.my-home-row .btn-primary {
  background: #397DCF;
}

.my-home-row .btn-primary:hover {
  background: #5397E9;
}

.my-home-row div {
  -webkit-transition: all .2s ease-out;
  -ms-transition: all .2s ease-out;
  -moz-transition: all .2s ease-out;
   transition: all .2s ease-out;
}

.my-home-row div:hover {
  box-shadow: 0px 0px 10px rgba(0,0,0,.6);
  -webkit-transform: scale(1.05);
  -ms-transform: scale(1.05);   
  -moz-transform: scale(1.05);
   transform: scale(1.05);
}

/* End Home page */

/* Contact page */

.contact {
  background: url(/images/system/contact.jpg) no-repeat 3px 3px / 20px 20px;
  background-size: 350px;
  background-position: top 70px right 90px;
}

.contact h3 {
  margin-left: 200px;
}

.contact-address-block {
  width: 200px;
  margin-left: 200px;
}

.contact .page-header,legend,.control-group:nth-of-type(5) {
  display: none;
}
.form-horizontal .control-group:nth-of-type(4) {
  margin-bottom: 0 !important;
}

.form-actions {
  margin-top: 0;
}

#jform_contact_name {
  background: url(/images/system/user.png) no-repeat;
  background-position: 3px;
  background-size: 18px;
}

#jform_contact_emailmsg {
  background: url(/images/system/message.png) no-repeat;
  background-position: 3px;
  background-size: 18px;
}

#jform_contact_email {
  background: url(/images/system/email.png) no-repeat;
  background-position: 3px;
  background-size: 18px;
}

#jform_contact_name:focus, #jform_contact_email:focus, #jform_contact_emailmsg:focus, #jform_contact_message:focus {
  outline: none;
  border-color: #138DF2;
  box-shadow: 0 0 3px #397dcf;
}

#jform_contact_name, #jform_contact_email, #jform_contact_emailmsg {
  padding: 5px 5px 5px 25px;
  width: 225px;
}

#jform_contact_message {
  width: 225px;
  height: 100px;
  background: url(/images/system/message.png) no-repeat;
  padding-left: 25px;
  background-position: 3px 5px;
  background-size: 18px;
}

label.invalid {
  color: #9ecaed;
}

.contact .btn-primary {
  padding: 8px;
  width: 260px;
  background: #397DCF;
}

.contact .btn-primary:hover {
  background: #5397E9;
}

.form-actions {
  background: #fff;
  padding: 0;
  border-top: none;
}

.contact-address {
  margin-bottom: 15px;
}

i.icon-print {
  display: none;
}

div.contact-contactinfo div.media:nth-of-type(2) {
  /*display: none;*/
  /*margin-top: 0;*/
}

/* End Contact page */

/*********************************************** @media query ****************************************************************************/

@media (max-width: 1280px) {
  .logo-text:before {
    /*background: url("/images/system/logo-back-1000.png") no-repeat;*/
    background-size: cover;
  }
}

@media (max-width: 979px) {
  .responsive #sp-header-wrapper [class*="span"] {
    width: auto;
    float: none;
  }
   .logo-text:before {
    /*background: url("/images/system/logo-back-800.png") no-repeat;*/
    background-size: cover;
  }
  .logo-text:after {
    /*background: url("/images/system/logo-back-800.png") no-repeat;*/
    background-size: cover;
  }
  #sp-search {
    text-align: left;
	margin-top: 40px;
    margin-left: 0;
  }
  .contact {
    background-size: 250px;
    background-position: top 70px right 0px;
  }
}

@media (max-width: 800px) {
  .logo-text:before {
    /*background: url("/images/system/logo-back-800.png") no-repeat;*/
    background-size: cover;
  }
  .logo-text:after {
    /*background: url("/images/system/logo-back-1000.png") no-repeat;*/
    background-size: cover;
  }
  .sp-main-menu-toggler {
    right: 38px;
  }
  .lift-effect:before, .lift-effect:after {
    bottom: 15px;
  }
  .my-home-row div {
    width: 70% !important;
    padding-right: 5px;
    margin: 0 0 20px 90px !important;
  }
  .my-home-row div:nth-of-type(3) {
    margin: 0 0 0 90px !important;
  }
  .my-home-row .btn-large {
    width: 91%;
  }
}

@media (max-width: 770px) {
  .sp-main-menu-toggler {
    right: 22px;
  }
}

@media (max-width: 400px) {
  .logo-text:before {
    /*background: url("/images/system/logo-back-300.png") no-repeat;*/
    background-size: cover;
  }
  .logo-text:after {
    /*background: url("/images/system/logo-back-800.png") no-repeat;*/
    background-size: cover;
  }
  .sp-main-menu-toggler {
    right: 10px;
  }
  .lift-effect:before, .lift-effect:after {
    bottom: 6px;
  }
  .my-home-row div {
    width: 100% !important;
    margin: 0 0 20px 0 !important;
  }
  .my-home-row div:nth-of-type(3) {
    margin: 0 !important;
  }
  .my-home-row .btn-large {
    width: 88.4%;
  }
  .contact {
    background-size: 115px;
    background-position: top 145px right 0px;
  }
  .contact h3, .contact-address-block, form {
    margin-left: 50px;
  }
  .form-horizontal .form-actions {
    padding-left: 0;
  }
}

@media (max-width: 320px) {
  form {
    margin-left: 20px;
  }
}