/*** font-styles ***/
/* this is used to define the customize fonts */
@font-face {
  font-family: "Segoe-UI";
  font-style: normal;
  font-weight: normal;
  src: local('Segoe-UI'), url('../fonts/Segoe-UI.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'Segoe-UI-Light';
  font-style: normal;
  font-weight: normal;
  src: local('Segoe-UI-Light'), url('../fonts/Segoe-UI-Light.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'Segoe-UI-Semilight';
  font-style: normal;
  font-weight: normal;
  src: local('Segoe-UI-Semilight'), url('../fonts/Segoe-UI-Semilight.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'Segoe-UI-Semibold';
  font-style: normal;
  font-weight: normal;
  src: local('Segoe-UI-Semibold'), url('../fonts/Segoe-UI-Semibold.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'Segoe-UI-Bold';
  font-style: normal;
  font-weight: normal;
  src: local('Segoe-UI-Bold'), url('../fonts/Segoe-UI-Bold.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'Segoe-UI-Bold-Italic';
  font-style: normal;
  font-weight: normal;
  src: local('Segoe-UI-Bold-Italic'), url('../fonts/Segoe-UI-Bold-Italic.woff') format('woff');
  font-display: swap;
}

/* common fonts */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Segoe-UI-Bold';
  font-weight: bold;
}

p,
a,
li {
  font-family: "Segoe-UI";
}

h1,
h2,
h3 {
  font-family: 'Segoe-UI-Bold';
  line-height: 1.2;
  margin-bottom: 3vh;
}

a,
ul,
li,
p {
  font-family: "Segoe-UI";
}

h1 {
  font-size: 4.375vw;
  color: #000;
}

h2 {
  font-size: 3.35vw;
  margin-bottom: 2.1762vh;
}

h3 {
  font-size: 2.8125vw;
}

h4 {
  font-size: 2.083vw;
}

h5 {
  font-size: 1.354vw;
  margin: 1% 0;
}

img,
svg {
  width: auto;
  max-width: 100%;
  height: auto;
}

p {
  font-size: 1.25vw;
  margin-bottom: 2.1762vh;
}

a {
  font-size: 1.25vw;
  color: #ff0000;
}

ul{
  padding: 0 3%;
  margin-left: 20px;
}
.site-footer ul{
  margin-left: 0;
}
li {
  font-size: 1.25vw;
  margin-bottom: 0.9vh;
  list-style-type: square;
}

.row {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
}

section {
  padding: 3.5% 7%;
  float: left;
}

main#content {
  padding: 0;
}

div#main {
  padding: 0;
}

div#page {
  overflow: auto;
  overflow-x: hidden;
}

.bold-font {
  font-weight: 700;
}

.w-85 {
  width: 85%;
}

.w-90 {
  width: 90%;
}

.w-80 {
  width: 80%;
}

.w-70 {
  width: 70%;
}

.w-60 {
  width: 60%;
}

/* display none */
#resourcearea .view-filters svg,
#resourcearea .glyphicon {
  display: none;
}

/***Readmore-button***/
.animationButton {
  padding-left: 4%;
  text-align: left;
}

.knowMoreButton {
  display: inline-block;
  padding: 5px 20px 5px 50px;
  background: transparent;
  border: none;
  position: relative;
  cursor: pointer;
  width: auto;
}

.knowMoreButton .circle {
  height: 28px;
  width: 28px;
  border-radius: 25px;
  border: 1px solid #606060;
  display: inline-block;
  position: absolute;
  left: 0;
  transition: 0.3s ease-in;
}

.knowMoreButton .circle .icon {
  left: 0;
  position: absolute;
  height: 14px;
  margin-left: 11px;
  font-size: 30px !important;
  transition: 0.3s ease-in;
  color: #606060;
  top: -12px;
}

.knowMoreButton>span,
.knowMoreButton>span p {
  display: block;
  position: relative;
  z-index: 1;
  font-size: 0.833vw;
  transition: 0.3s ease-in;
}

.knowMoreButton>span a,
.knowMoreButton>span a:not([href]),
.knowMoreButton>span a.know-more-btn,
.knowMoreButton>p a,
.knowMoreButton>p a:not([href]),
.knowMoreButton>p a.know-more-btn {
  color: #ff0000;
  font-size: 0.833vw;
  text-decoration: none;
  height: 26px;
  line-height: 26px;
  display: block;
  font-weight: 800;
}

.knowMoreButton:hover .circle {
  background: #ff0000;
  border: 1px solid #ff0000;
  width: 100%;
  border-radius: 25px;
}

.knowMoreButton:hover>span,
.knowMoreButton:hover>p {
  transform: translateX(-30px);
}

.knowMoreButton:hover>span a,
.knowMoreButton:hover>span a:not([href]),
.knowMoreButton:hover>p a,
.knowMoreButton:hover>p a:not([href]) {
  color: #fff;
  text-decoration: none;
}

.knowMoreButton:hover>p span a,
.knowMoreButton:hover>p span a:not([href]) {
  color: #fff;
  text-decoration: none;
}

.knowMoreButton:hover .circle .icon {
  color: #fff;
  left: calc(100% - 55px);
}

.knowMoreButton.white .icon,
.knowMoreButton.white>span a,
.knowMoreButton.white>p a {
  color: #fff;
}

.knowMoreButton.white .circle {
  border: 1px solid #ccc;
}

.knowMoreButton.white:hover .circle {
  border: 1px solid #ff0000;
}

.knowMoreButton.grey .icon,
.knowMoreButton.grey>span a,
.knowMoreButton.grey>p a {
  color: #707070;
}

.knowMoreButton.grey .circle {
  border: 1px solid #707070;
}

.knowMoreButton.grey:hover .circle {
  border: 1px solid #ff0000;
}

.col,
[class*="col-"] {
  padding: 0;
}

/* common template banner */
.banner-content h4 {
  font-size: 4.35vw;
  width: 82%;
}

.banner-content p {
  font-size: 2.3vw;
  margin-top: 1vw;
  width: 95%;
}

.page-node-7 .banner-content p{
  color: #000;
}

/* login */
.user-login-form {
  max-width: 600px;
  margin: 10vh auto;
  border: 1px solid #ddd;
  background: #f2f2f2;
  padding: 20px 30px !important;
  border-radius: 10px;
}

.user-login-form .captcha__description,
.user-login-form .text-muted {
  font-size: 14px;
  top: 2px;
  position: relative;
}

.user-login-form form#user-login-form button {
  font-size: 18px;
  margin-top: 15px;
  background-color: #FF000B;
  padding: 0.5vw 2vw;
  text-transform: uppercase;
  font-family: "Segoe-UI-Bold";
  border-color: transparent;
}

.user-login-form label.js-form-required.form-required {
  margin-block: 2vh 1vh;
  visibility: visible;
}

.user-login-form label {
  font-size: 1.12vw;
}

.user-login-form label {
  max-width: 100%;
  margin-bottom: 5px;
  font-weight: 700;
  visibility: visible;
}

.user-login-form .form-required::after {
  content: '';
  vertical-align: super;
  display: inline-block;
  background-image: url(/themes/contrib/bootstrap_barrio/images/required.svg);
  background-repeat: no-repeat;
  background-size: 7px 7px;
  width: 7px;
  height: 7px;
  margin: 0 0.3em;
}

.user-login-form .form-control {
  font-size: 1.5rem;
}

.user-login-form .form-control {
  display: block;
  width: 100%;
  padding: .375rem .75rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: .375rem;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.user-login-form .js-form-item {
  width: 100%;
}

#user-login-form button,
.path-search button#edit-submit {
  font-size: 1.1vw;
  margin-top: 15px;
  background-color: #FF000B;
  padding: 0.5vw 2vw;
  text-transform: uppercase;
  font-family: "Segoe-UI-Bold";
  border-color: transparent;
}

/* search */
.path-search main#content {
  padding: 150px 100px;
}

.path-search .list-group.node_search-results li.list-group-item {
   margin: 10px 0;
  border: 1px solid #ccc !important;
}

.path-search input#edit-keys {
  height: 2.5vw;
  font-size: 1.1vw;
}

.path-search button#edit-submit {
  margin-top: -5px;
  padding: 0.3vw 2vw;
}

.path-search a {
  color: #ff0000;
}

.path-search .js-form-item{
  margin: 0 10px 10px 0;
}

/* footer */
.site-footer ul.clearfix.nav.navbar-nav {
    display: inline;
}
.site-footer__bottom {
    margin: 0;
}
.site-footer .nav>li>a {
    padding: 0;
    margin-right: 20px;
}
.site-footer li.nav-item:last-child a {
    margin: 0;
}
.site-footer .nav>li>a:hover, 
.site-footer .nav>li>a:focus {
    text-decoration: none;
    background-color: transparent;
}
.site-footer {
    padding: 4vh 7.3% 4vh;
}

.region-footer-first .navbar-nav>li>a{
  padding: 0;
  margin-right: 20px;
}
section.row.region.region-footer-fourth {
    width: 35%;
}
section.row.region.region-footer-fourth ul.clearfix.nav{
  float: right;
  padding: 0;
}

section.row.region.region-footer-fifth li.nav-item:last-child {
    float: right;
    margin: 0;
}
.site-footer__bottom {
    width: 100%;
}
nav#block-sonata-copyrightmenu ul.clearfix.nav {
    display: block;
    padding: 0;
}
nav#block-sonata-copyrightmenu li.nav-item {
    display: inline-block;
}

/* rewriting the width */
.box-5{
  width: 78%;
}

/* home page cta button alignment bottom */
.view-content.row .views-view-responsive-grid__item {
  position: relative;
  padding-bottom: 10%;
}

.card-footer {
    position: absolute;
    bottom: 0;
    top: auto;
}

/* search footer*/
.path-search .site-footer a {
    color: #fff;
}
.search-block-form {
    display: flex;
}
