/* ===================================================================
CSS information

 file name  : common.css
 author     : VietIQ
 style info : VietIQ
=================================================================== */
/* -----------------------------------------------------------
	body
----------------------------------------------------------- */
body {
  background-color: #1C2139;
  background-image: linear-gradient(#1c2139 0%, #1e2648 30%, #232754 60%, #242a58 100%);
  height: 100vh;
  display: flex;
  align-items: center;
}

/* -----------------------------------------------------------
	#header
----------------------------------------------------------- */
#header {
  width: 100%;
  padding: 30px 15px;
  position: absolute;
  top: 0;
}
@media only screen and (min-width: 1025px) {
  #header {
    padding: 100px 15px 0;
  }
}
@media print {
  #header {
    padding: 100px 15px 0;
  }
}
.ie8 #header {
  padding: 100px 15px 0;
}
#header img {
  height: 50px;
}

/* -----------------------------------------------------------
	#contents
----------------------------------------------------------- */
#contents {
  width: 100%;
}
@media only screen and (min-width: 1025px) {
  #contents .container {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
  }
}
@media print {
  #contents .container {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
  }
}
.ie8 #contents .container {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
}
#contents .container > div {
  width: 100%;
}
#contents .container > div.main_img {
  padding: 5%;
}
@media only screen and (min-width: 1025px) and (max-width: 1500px) {
  #contents .container > div.main_img img {
    max-width: 400px;
  }
}
@media print {
  #contents .container > div.main_img img {
    max-width: 400px;
  }
}
.ie8 #contents .container > div.main_img img {
  max-width: 400px;
}
@media only screen and (max-width: 1024px) {
  #contents .container > div.main_img {
    text-align: center;
    margin-bottom: 2em;
  }
  #contents .container > div.main_img img {
    width: 200px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  #contents .container > div.main_img {
    margin-bottom: 3em;
  }
  #contents .container > div.main_img img {
    width: 300px;
  }
}

/* -----------------------------------------------------------
	#footer
----------------------------------------------------------- */
#footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  left: 0;
  text-align: center;
}

/* -----------------------------------------------------------
	.social-links
----------------------------------------------------------- */
.social-links {
  font-size: 0;
  margin-left: 0;
  margin-top: 15px;
  margin-bottom: 15px;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
@media only screen and (min-width: 1025px) {
  .social-links {
    padding: 0 0 50px;
  }
}
@media print {
  .social-links {
    padding: 0 0 50px;
  }
}
.ie8 .social-links {
  padding: 0 0 50px;
}
.social-links .social-links__link {
  transition: all .5s ease;
}
.social-links .social-links__link span {
  display: none;
}
.social-links .social-links__link:hover {
  color: #fff;
}
.social-links .social-links__items {
  margin-bottom: 15px;
}
@media only screen and (max-width: 767px) {
  .social-links .social-links__items {
    margin-bottom: 7px;
  }
}
.social-links .social-links__items:not(:last-child) {
  margin-right: 15px;
}
.social-links .social-links__items i {
  font-size: 15px;
}
.site-mobile-menu-wrapper .social-links {
  padding-left: 20px;
  margin-bottom: 0;
}
.social_block .social-links .social-links__items {
  margin-right: 7.5px;
  margin-left: 7.5px;
}
@media only screen and (max-width: 767px) {
  .social_block .social-links .social-links__items {
    margin-right: 4px;
    margin-left: 4px;
  }
}
.social_block .social-links .social-links__items:hover .social-links__link:before {
  opacity: 1;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
}
.social_block .social-links .social-links__items:hover .social-links__link:after {
  opacity: 1;
  visibility: visible;
}
.social_block .social-links .social-links__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  border-radius: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 1px;
}
@media only screen and (max-width: 767px) {
  .social_block .social-links .social-links__link {
    height: 34px;
    width: 34px;
  }
}
.social_block .social-links .social-links__link:before, .social_block .social-links .social-links__link:after {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 100%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: all .5s ease;
}
.social_block .social-links .social-links__link:before {
  z-index: 1;
  background-color: #1b2038;
}
.social_block .social-links .social-links__link:after {
  z-index: 0;
  background-image: linear-gradient(to bottom, #f78d7a 0%, #fac15e 100%);
  transition-duration: 1s;
}
.social_block .social-links .social-links__link i {
  display: block;
  position: relative;
  font-size: 17px;
  z-index: 1;
  color: #fff;
  transition: all .5s ease;
}
@media only screen and (max-width: 767px) {
  .social_block .social-links .social-links__link i {
    font-size: 14px;
  }
}
