/* ==========================================================================
   Author's custom styles
   ========================================================================== */
/*
   #blur-test{
     position: fixed;
     height: 50px;
     width: 100%;
     top: 0;
     z-index: 10000;
         background-color: transparent;
   } */


html {
  background-color: #FFFAFF;
  font-size: 10px;
}

body {
  background-color: #FFFAFF;
  padding: 0;
}

/* Typography */
body,
button,
input,
select,
textarea {
  color: #1E1B18;
  font-size: 1.9rem;
  line-height: 3rem;
  font-family: 'Open Sans', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.05em;
  margin-top: 6rem;
  margin-bottom: 3rem;
}

h1,
h2,
h3 {
  text-transform: uppercase;
}

h1 {
  font-size: 5.673rem;
  line-height: 6rem;
}

h2 {
  font-size: 3.94rem;
  line-height: 4.5rem;
}

h3 {
  font-size: 2.736rem;
  line-height: 3rem;
}

h4 {
  font-size: 2.28rem;
  line-height: 3rem;
}

p {
  margin-bottom: 3rem;
  margin-top: 0;
  font-size: 1.9rem;
}

b,
strong {
  font-weight: bold;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", Courier, monospace;
  font-size: 15px;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
  font-size: 15px;
  font-size: 0.9375rem;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

small {
  font-size: 1.583rem;
}

big {
  font-size: 2.28rem;
}

#slogan {
  font-size: 6.8rem;
  margin-top: 9rem;
}

li {
  margin-bottom: 3rem;
}
ul{
  margin: 0;
}
ul, ol {
  padding-left: 0;
  list-style-position: outside;
}

nav {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.9rem;
}
.end-padding{
  padding-bottom: 3rem;
}
img{
 width:  100%;
}

/* colors*/
.blue {
  color: #5B92E5;
}
.bg-darkblue {
  background-color: #2B2D42;
  color: #FFFAFF;
}

.bg-lightblue {
  background-color: #E1EBFA;
}

.gradient-rose {
  background: linear-gradient(205.64deg, rgba(216, 49, 91, 0.06) 0.81%, rgba(255, 255, 255, 0) 53.81%);
}

.gradient-blue {
  background: linear-gradient(170.72deg, rgba(91, 146, 229, 0.2) 7.9%, rgba(255, 255, 255, 0) 65.58%);
}

a {
  color: #D8315B;
}

/*  menutop */
.admin-bar .crossborder #top-nav {
    margin-top: 30px;
}
header{
  margin-bottom: auto;
}
header ul {
  list-style: none;
  display: block;
  margin: 0;
  padding: 0;
}

header ul li {
  display: inline-block;
  margin-bottom: 0;
}
#crossborder .navbar-brand{
  padding: 0;
  margin: 0;
  margin-left: calc(-8.333333% - 3rem);
  position: absolute;
}
#logo-header{
  height: 6rem;
  padding: 1rem 0;
  display: inline-block;
  right: -12px;
  position: relative;
}
#top-nav{
  border-bottom: solid 1px #ffffff87;
  background-color: #ffffff00;
  min-height: 6rem;
  height: auto;
  -webkit-transition: all ease-out .6s;
  -moz-transition: all ease-out .6s;
  -o-transition: all ease-out .6s;
  transition: all ease-out .6s;
}
#top-nav.untrans{
  background-color: #fffaff;
  border-bottom: solid 1px #5b92e514;
}
#crossborder .navbar-toggle{
  background-color: inherit;
  border: none;
  padding: 0;
  margin-top: calc(1.5rem + ((1rem - 2px) / 2));
  margin-bottom: calc(1.5rem + ((1rem - 2px) / 2));
}
#crossborder .navbar{
  border-top: 0;
}
.navbar-toggle .icon-bar{
  background-color: #1E1B18;
  width: 3rem;

}
#crossborder .navbar-toggle .icon-bar + .icon-bar{
    margin-top: calc(1rem - 2px);
}
.navbar-toggle{
  float: left;
}
.navbar-nav:after{
  content: none;
}
.navbar-collapse.collapse.in {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

#crossborder .navbar-collapse{
 padding-left: 0;
}

#top-nav #col-nav{
  padding-left: 0;
  padding-right: 0;
}

.page-template-crossborder-page  #floatingSocialShare{
  margin-top: 0;
}
#menu-left {
  width: auto;
  text-align: left;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

#menu-left a {
  color: #1E1B18;
  padding: 0 3rem 0 0;
  line-height: 6rem;
}
#menu-left a[title="SaveReturnRules"]{
  display: inline-block;
  background-color: #D8315B;
  color: #fff;
  padding: 0 3rem 0 3rem;
}
#menu-left a[title="SaveReturnRules"]:focus, #menu-left a[title="SaveReturnRules"]:hover{
  background-color: #D8315B;
  color: #fff;
}

#menu-left a:focus, #menu-left a:hover {
  background: none;
  color: #D8315B;
}

.navbar-right {
  margin-right: 15px;
  line-height: 6rem;
  float: right !important;
}
.lang{
  font-size: inherit;
  font-family: inherit;
  font-weight: inherit;
  color: inherit;
}
.lang li:after {
  content: "/";
  margin: 0 5px;
}

.lang li:last-child:after {
  content: none;
}

.navbar-right .lang a {
  color: #D8315B;
  text-decoration: none;
}
#crossborder #flags_language_selector img{
  display: none;
}

#cases-button {
  z-index: 1031;
  line-height: 6rem;
  position: absolute;
  right: 0;
  top: 0;
  padding-left: 3rem;
  background-color: #5B92E5;
  cursor: pointer;
  border-bottom: solid 1px #ffffff87;
  white-space: nowrap;
}
#cases-button.closed{
  background-color: #2B2D42;
  -webkit-transition: all .6s ease;
  transition: all .6s ease;
}
#cases-button:hover{

}
#cases-button a {
  color: #FFFAFF;
}
#cases-button.closed a:hover, #cases-button.closed:hover a{
  color: #FFFAFF;
  opacity: 0.8;
}

#cases-button:hover a{
  opacity: 0.8;
}
/*    menu-right   */
#crossborder .menu-right {
  position: absolute;
  right: 0;
  z-index: 99;
  margin-top: calc(6rem + 1px);
  -webkit-transition: all .6s ease;
  transition: all .6s ease;
  top:0;
}

#crossborder .menu-right.closed{
  top: calc(-100vh - 1px);
  -webkit-transition: all .6s ease;
  transition: all .6s ease;
}

.menu-block {
  height: calc(20vh - (6rem / 5));
  border-bottom: 1px solid #C1C0C0;
  margin-left: -15px;
  margin-right: -15px;
  padding: 3rem;
  display: flex;
  align-items: flex-end;
  font-size: 1.9rem;
  position: relative;
}

.menu-thumb{
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  top: 0;
  left: 0;
  z-index: 2;
  opacity: 0.4;
  background-color: #FFFAFF;
  background-position: center;
  -webkit-transition: all .6s ease;
  transition: all .6s ease;
}
.menu-block:hover .menu-thumb{
  opacity: 0.6;
}

.menu-block .menu-title {
  color: #FFFAFF;
  position: relative;
  z-index: 10;
}
.menu-block:hover .menu-title,  .menu-title:hover{
  /* color: #2B2D42; */
  -webkit-transition: all .6s ease;
  transition: all .6s ease;
}

.menu-block .menu-title:hover{

}


/* mainpage */
#top {
  padding-top: 6rem;
}

#slogan {
  z-index: 10;
  position: relative;
}

#main-pic {

}



#main-pic img {
  position: absolute;
  left: -5%;
  z-index: 1;
  margin-top: -3vw;
}


#about{
  margin-top: 0;
}
#lead{
  margin-bottom: 3rem;
  z-index: 10;
  position: relative;
}

#savereturnrules-button{
  margin-bottom: 3rem;
  font-size: 2.736rem;
  text-transform: uppercase;
  background-color: #D8315B;
  display: inline-block;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.05em;
  padding:  1rem 2rem;
}

.banners {
  margin-top: 4vw;
}

.banners img {
  margin-bottom: 3rem;
  width: 100%;
}

/* newsblock */
#newsblock {
  margin-top: -69rem;
  position: absolute;
  right: 0;
  padding: 3rem;

}

#newsblock h3 {
  margin-top: 0rem;
}

.news-cell {
  border-bottom: 1px solid #C1C0C0;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
}

.news-cell:last-of-type {
  border-bottom: 0;
}

.news-cell .date {
  display: block;
  font-size: 1.583rem;
  line-height: 3rem;
  color: #fffaffcf;
}

.news-cell a {
  color: #FFFAFF;
}
.news-button{
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #FFFAFF;
}

/* quotes */
.quotes-container p {
  margin-top: 0;
}

.quotes-container .name {
  display: block;
  font-weight: bold;
}

.quotes-container {

  margin-bottom: 3rem;
}

.line{
  border-top: 1px solid #C1C0C0;
  margin-top: 3rem;
}
/* .position-container {
  display: none;
} */

.quotes-container:last-of-type {
  border-bottom: 0;
}
.face{
  margin-bottom: 3rem;
}
.quote{
  margin-bottom: 3rem;
}
.chevron {
  text-align: center;
}
.chevron img{
  width: auto;
  max-width: 100%;
  display: inline-block;
}
/* norms */

.norm-heading h3{
  /* margin-bottom: 0; */
}
.norm-container h4{
  margin-top: 0;
}

footer{
  background-color: #1E1B18;
  color: #FFFAFF;
  padding: 3rem 0;
}
footer p{
      margin-left: 8.33333333%;
      margin-bottom: 0;
}
footer a{
  color: #FFFAFF;
  text-decoration;
}

/* case page */
.page-template-crossbordersub-page .entry-header{
  margin-bottom: 0;
}

#crossborder-sub-pic{
  float: right;
  margin-top: 3rem;
}

#sublead{
  margin-bottom: 6rem;
}

.crossborder-sub-title{
  margin-bottom: 6rem;
}

.practice-container .row{
  display: flex;
  flex-wrap: wrap;
}

.practice-side{
  padding-left: 3rem;
  position: relative;
  z-index: 1;
}

.practice-text{
  padding-right: 1.5rem;
  padding-left: 3px;
  margin-bottom: 3rem;
}
.comment-heading{
  margin-top: 0;
}
.case-container .line{
  margin-top: 0;
  padding-bottom: 3rem;
}

.links-container .menu-block{
  float: left;
  width: 20%;
  margin: 0;
  border-bottom: 0;
  border-left: 1px solid #C1C0C0;
}
/* .case-container > .row > .col-xl-10 > .line:last-of-type{
  display: none;
} */

/* Savereturnrules */

#crossborder-savereturnrules-heading{
  font-size: 3.94rem;
  line-height: 4.5rem;
  margin-bottom: 6rem;
}
#toc-savereturnrules{
  position: absolute;
  right: 0;
  padding: 3rem;
}
.sticky {
  position: fixed;
  top: 6rem;
}


#toc-savereturnrules h3{
  margin-top: 0;
  margin-bottom: 2rem;
  border-bottom: 0.5rem solid;
  padding-bottom: 1rem;
}
#toc-savereturnrules ul{
  list-style: none;
  padding: 0;
  margin: 0;
}
#toc-savereturnrules li{
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.05em;
  font-size: 2.28rem;
  line-height: 3rem;
}
#toc-savereturnrules li a{
  color: #fff;
}


@media (min-width: 1921px) {
  html{
    font-size: 0.5vw;
  }
  .banners img{
    max-width: 200px;
    display: block;
  }
  #main-pic img{
    padding-top: 0;
    margin-top: -20%;
    width: 75%;
    left: -25%;
  }
  .banners a {
    display: block;
  }

  /* crossbordersub */
  .practice-text{
    width: auto;
  }
  #good-practice{
    margin-right:  16.66666667%;
  }
}

/* other sizes*/
@media (min-width: 1600px) and (max-width: 1920px){

  .banners img{
    max-width: 150px;
  }
  #main-pic img{
    padding-top: 0;
    margin-top: -20%;
    left: -30%;
  }
  /* crossbordersub */
  .practice-text{
    width: auto;
  }
  #good-practice{
    margin-right:  16.66666667%;
  }
}
@media (min-width: 1200px) and (max-width: 1599px) {
  #main-pic img{
    left: -20%;
    margin-top: -20%;
  }
  #cases-button{
      padding-left: 3rem;
  }
  .menu-block{
    padding: 1.5rem;
  }


}

@media (min-width: 992px) and (max-width: 1199px) {
  #slogan{
    font-size: 6.808rem;
    margin-top: 6rem;
  }
  #main-pic img{
    padding-top: 0;
    margin-top: 0;
  }
  #lead{
    margin-bottom: 3rem;
  }
  .banners{
      margin-top: 3rem;
      margin-bottom: 6rem;
      z-index: 10;
      position: relative;
  }
  .banners img{
    width: calc(33vw - 6rem);
    margin-right: 3rem;
  }
  #newsblock{
      margin-top:auto;
      position: relative;
  }
  .portrait{
    text-align: center;
  }
  .portrait img{
    max-width: 18rem;
  }
  .chevron {
    text-align: left;
  }
  .position-container .chevron img{
    position: absolute;
    margin-top: -100%;
  }

  .navbar-right{
    float: left !important;
  }
  .navbar-nav {
    margin: 0;
  }

    /* crossbordersub */

  #crossborder-sub-pic{
    float: left;
  }

  #toc-savereturnrules{
    position: relative;
    margin-bottom: 4rem;
  }
  #toc-savereturnrules h3{
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  body{
    margin-bottom: 45px;
  }

  #slogan{
    font-size: 8vw;
    margin-top: 6rem;
  }
  #main-pic img{
    padding-top: 0;
    width: 100%;
    margin-top: 0%;
    left: 0%;
    position: relative;
    margin: 6vw 0px;
  }
  #lead{
    margin-bottom: 3rem;
  }
  .banners{
      margin-top: 0;
      margin-bottom: 6rem;
      z-index: 10;
      position: relative;
  }
  .banners img{
    width: calc(33vw - 6rem);
    margin-right: 3rem;
  }

  #newsblock{
      margin-top:auto;
      position: relative;
  }

  .portrait{
    text-align: center;
  }

  .portrait img{
    width: 18rem;
  }

  .navbar-right{
    float: left !important;
  }
  .navbar-nav {
    margin: 0;
  }

  .links-container .menu-block{
    float: none;
    width: auto;
    height: auto;
    border-left: 0;
    border-bottom: 1px solid #C1C0C0;
  }


    /* crossbordersub */

    .page-template-crossbordersub-page #floatingSocialShare{
      margin-top: 0;
    }
    .crossborder-sub-title{
      margin-bottom: 0;
    }
    #crossborder-sub-pic{
      float: none;
    }

    #toc-savereturnrules{
      position: relative;
      width: 100%;
      margin-bottom: 4rem;
    }
    #toc-savereturnrules h3{
      display: none;
    }
 }

/* navbar resize*/
@media (max-width: 1199px) {
    #top-nav{
      background-color: #fffaff;
    }
    #top-nav #col-nav{
      padding-left: 3rem;
    }
    .navbar-header {
        float: none;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .navbar-text {
        float: none;
        margin: 15px 0;
    }
    /* since 3.1.0 */
    .navbar-collapse.collapse.in {
        display: block!important;
    }
    .collapsing {
        overflow: hidden!important;
    }
    #menu-left {
      margin-left: 0rem;
    }
    #crossborder .navbar-brand{
      display: block;
      width: 100%;
      position: relative;
      margin-left: auto;
    }
    #logo-header{
      right: auto;
      width: 5rem;
    }
    #menu-left{
      margin-top: 6rem;
      border-bottom: 1px solid #dedede;
      border-top: 1px solid #dedede;
    }
    #menu-left a[title="SaveReturnRules"]{
      display: inline-block;
      background-color: #D8315B;
      color: #fff;
      padding: 0 3rem 0 3rem;
      width: 100%;
      text-align: center;
    }
}
@media (max-width: 767px) {
  body{
    margin-bottom: 45px;
  }

  /* Mobile Typography */
  body,
  button,
  input,
  select,
  textarea {
    font-size: 1.4rem;
    line-height: 2rem;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-weight: 500;
    margin-top: 4rem;
    margin-bottom: 2rem;
  }


  h1 {
    font-size: 2.9rem;
    margin-top: 4rem;
    line-height: 4rem;
  }

  h2 {
    font-size: 2.42rem;
    line-height: 3rem;

  }
  h3 {
    font-size: 1.68rem;
    line-height: 2rem;

  }

  h4 {
    font-size: 1.68rem;
    line-height: 2rem;
  }

  p {
    margin-bottom: 2rem;
    margin-top: 0;
    font-size: 1.4rem;
  }


  small {
    font-size: 1.4rem;
  }

  big {
    font-size: 1.750rem;
  }

  #slogan {
    font-size: 7vw;
    margin-top: 2rem;
  }

  li {
    margin-bottom: 3rem;
  }

  nav {
    letter-spacing: 0.05em;
    font-size: 1.750rem;
    line-height: 2rem;


  }
  #menu-left a {
    color: #1E1B18;
    padding: 0 2rem 0 0;
    line-height: 4rem;
  }
  #menu-left a[title="SaveReturnRules"]{
    display: inline-block;
    background-color: #D8315B;
    color: #fff;
    padding: 0 3rem 0 3rem;
    width: 100%;
    text-align: center;
  }
  .navbar-right{
    float: left !important;
  }
  .navbar-nav {
    margin: 0;
  }
  .end-padding{
    padding-bottom: 2rem;
  }
  #menu-right{
    width: 100%;
  }

  /*   mainpage  */

  #main-pic img{
    width: 100%;
    padding-top: 0;
    margin-top: 0%;
    left:0;
    position: relative;
    margin-bottom: 2rem;
  }
  #lead{
    margin-bottom: 2rem;
  }

  #savereturnrules-button{
    font-size: 1.68rem;
    line-height: 2rem;
  }
  .banners{
      margin-top: 0;
      margin-bottom: 4rem;
      z-index: 10;
      position: relative;
  }
  .banners img{
    width: 100%;
    display: block;
    margin-bottom: 2rem;
  }
  #newsblock{
      margin-top:auto;
      position: relative;
  }
  .portrait{
    text-align: center;
  }
  .portrait img{
    width: 18rem;
  }
  .quotes-container{
    text-align: center;
  }
  .quotes-container svg{
    width: 2rem;
  }


  /* crossbordersub */

  .page-template-crossbordersub-page #floatingSocialShare{
    margin-top: 0;
  }
  .crossborder-sub-title{
    margin-bottom: 0;
  }
  #crossborder-sub-pic{
    margin: 2rem 0;
    float: none;
  }
  .practice-text{
    margin-bottom: 2rem;
  }
  .links-container .menu-block{
    float: none;
    width: auto;
    height: auto;
    border-left: 0;
    border-bottom: 1px solid #C1C0C0;
  }

  #toc-savereturnrules{
    position: relative;
    width: 100%;
    margin-bottom: 4rem;
  }


}
