/* -------------------------------------------------------------
style sheet for patriciafry.ch

(c) Dec 2020 by designsia.ch / sia
------------------------------------------------------------- */

/* krub-regular - latin */
@font-face {
  font-family: 'Krub';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/krub-v4-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/krub-v4-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/krub-v4-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/krub-v4-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/krub-v4-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/krub-v4-latin-regular.svg#Krub') format('svg'); /* Legacy iOS */
}

/* krub-500 - latin */
@font-face {
  font-family: 'Krub';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/krub-v4-latin-500.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/krub-v4-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/krub-v4-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/krub-v4-latin-500.woff') format('woff'), /* Modern Browsers */
       url('../fonts/krub-v4-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/krub-v4-latin-500.svg#Krub') format('svg'); /* Legacy iOS */
}

/* krub-600 - latin */
@font-face {
  font-family: 'Krub';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/krub-v4-latin-600.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/krub-v4-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/krub-v4-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/krub-v4-latin-600.woff') format('woff'), /* Modern Browsers */
       url('../fonts/krub-v4-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/krub-v4-latin-600.svg#Krub') format('svg'); /* Legacy iOS */
}

body {
  font-family: 'Krub', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 1rem;
  color: #444444;
  background: #ffffff;
}

header {
  background: #ffffff;
  min-height: 7rem;
}

.logo {
  z-index: 999999!important;
}

.patriciafry img {
  max-width: 180px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#itemid-105 .logo .custom, #itemid-103 .logo .custom {
  padding: 1rem 0rem;
  margin-top: 0rem;
  margin-left: 0rem;
  max-width: 120px;
}

#itemid-105 .fixed-top .logo .custom, #itemid-103 .fixed-top .logo .custom, .logo .custom {
  padding-top: 1rem;
  margin-top: 0rem;
  margin-left: 0rem;
  max-width: 64px;
  z-index: 999 !important;
}

/* FONT STYLES  */
p, td {
  hyphens: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Krub', sans-serif;
  font-style: normal;
  font-weight: 600;
  margin: 0rem;
  line-height: 1.35;
 }

.h1, h1 {
  font-size: 1.4rem;
  color: #ad252b;
  padding: 1.6rem 0rem;
}

h1::before {
  content: "Patricia Fry \2013  Wissensmanagement Umwelt";
  display: block;
  font-weight: 400;
  font-size: .8rem;
  padding-bottom: .35rem;
}

/* do not show on home */
#itemid-105 h1::before, #itemid-103 h1::before {
  display: none;
}

.h2, h2 {
  font-size: 1.2rem;
  color: #ad252b;
  padding: 1rem 0rem;
}

h3 {

}
.small {
  font-family: 'Krub', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: .92rem;
}

.small b, .small strong {
  font-weight: 600;
  font-size: 1rem;
}

a {
 color:#7e5e83;
 text-decoration:underline;
 background-color:transparent
}

a:hover {
 color:#7e5e83;
 text-decoration:none
}

a:hover, a:focus, a:link {

}

ul.list {
  list-style-type: none;
  margin-left: 0rem;
  padding-left: 0px;
}

ul.list li {
  background: url(../images/list-style.png) no-repeat 0px .4rem;
  background-size: .6rem;
  padding: 0 0 1rem 1.4rem;
}

.small ul.list li, ul.list.small li {
  background: url(../images/list-style.png) no-repeat 0px .4rem;
  background-size: .4rem;
  padding: 0 0 .7rem 1.4rem;
}

/* IMAGE SLIDE */

.slide-images {
  margin: 0rem 0 1rem 0;
  position: relative;
}

.slide-images, .slide, .carousel-item {
  height: 80px;
}

.slide-images .custom {
  position: absolute;
  right: 0px;
  margin-left: 0px;
  width: calc(100% - 15px) ;
}

.slide, .carousel-item {
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-origin: border-box;
  background-position: left;
}

/* AREA EXPANDED  */
/* link, area is closed */
h2 a[aria-expanded="false"], h2 a[aria-expanded="true"] {
  color: #ad252b;
  background: url(../images/item-collapse.png) no-repeat right 6px;
  background-size: 13px;
  padding-right: 22px;
  text-decoration: none!important;
}

/*link, area is open */
h2 a[aria-expanded="true"] {
  color: #ad252b;
  background: url(../images/item-close.png) no-repeat right 6px;
  background-size: 13px;
  padding-right: 22px;
}

/* link Referenzen, area is closed */
p a[aria-expanded="false"], p a[aria-expanded="true"] {
  color: #444444;
  background: url(../images/item-collapse.png) no-repeat right 3px;
  background-size: 13px;
  padding-right: 22px;
  text-decoration: none!important;
}

/*link Referenzen, area is open */
p a[aria-expanded="true"] {
  color: #444444;
  background: url(../images/item-close.png) no-repeat right 3px;
  background-size: 13px;
  padding-right: 22px;
}

span.arrow {
  float: left;
  padding: 0 .9rem 1rem 0;
}

span.arrow3 {
  float: left;
  padding: 0 .9rem 1.8rem 0;
}

.card {
  border: none;
  border-radius: 0rem;
}

.videos {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 1rem;
  margin-bottom: 1rem;
}

.video-image {
  max-width: 160px;
  position: relative;
  padding-top: .35rem;
}

.videos .wf-icon-zoom-image {
  position: absolute;
  background: url(../images/play-video.png) no-repeat center center !important;
  background-size: 1.2rem !important;
}

.wf-icon-zoom-image::before, .wf-icon-zoom-image > svg {
    display: none;
}


/* MENU STYLES  */
.navbar {
    padding: 1rem;
}

.navbar-nav .nav-item a, div.mod-languages li {
  color: #222222;
  font-weight: 400;
  font-size: .88rem;
  text-decoration:none !important;
}

.navbar2 {
  margin-top: .1rem;
}

div.mod-languages li {
    margin: 0px !important;
    text-transform: lowercase;
}
div.mod-languages li:not(:first-child) a:before {
  content: "|";
}

/* FOOTER STYLES */
.footer .custom {
  margin: 4rem 0 2rem 0;
}

.footer p, .footer a {
  color: #ad252b;
  font-weight: 400;
  text-decoration:none !important;
}

/* FORM STYLES */
label {
  min-width: 200px;
}

.btn-primary {
  color: #fff;
  background-color: #ad252b;
  border-color: #ad252b;
  margin: 1rem 0;
}

.btn-primary:hover {
  color: #fff;
  background-color: #444444;
  border-color: #444444;
}


.btn-secondary {
  margin: .2rem 0;
}


/* FORM STYLES  */

@media (min-width: 576px) {

.slide-images .custom {
  width: calc(100vw - calc((100vw - 540px)/2) - 15px) ;
}

.slide-images, .slide, .carousel-item {
  height: 100px;
}
}

@media (min-width: 768px) {

.patriciafry img {
  max-width: 240px;
}

#itemid-105 .fixed-top .logo .custom, #itemid-103 .fixed-top .logo .custom, .logo .custom  {
  margin-left: -2rem;
}

.slide-images, .slide, .carousel-item {
  height: 130px;
}

.slide-images {
  margin: 0rem 0 2rem 0;
}

.slide-images .custom {
  width: calc(100vw - calc((100vw - 720px)/2) - 15px) ;
}
}

@media (min-width: 992px) {

#itemid-105 .logo .custom, #itemid-103 .logo .custom, #error .logo img {
  padding-top: 3rem;
  max-width: 150px;
}

.slide-images {
  margin: 4rem 0;
}

.slide-images .custom {
  width: calc(100vw - calc((100vw - 840px)/2) - 15px) ;
}

.slide-images, .slide, .carousel-item {
  height: 157px;
}

#itemid-105 .logo .custom, #itemid-103 .logo .custom {
  margin-left: -4rem;
}

#itemid-105 .fixed-top .logo .custom, #itemid-103 .fixed-top .logo .custom, .logo .custom  {
  padding-top: 0rem;
  margin-top: -1.375rem;
  margin-left: -4rem;
}

.h1, h1 {
  font-size: 2rem;
}

h1::before {
  font-size: 1rem;
}

.videos {
  grid-template-columns: 120px 1fr;
  grid-gap: 1.5rem;
}

.navbar {
  padding: 0rem;
}

.mod-languages, #navbar2 .navbar-nav {
  width: auto;
  max-width: auto;
}

#navbar1 .row, #navbar2 .row {
  width: 840px !important;
  text-align: left;
  margin: 0 auto;
  padding: 0 .5rem;
}

#navbar1 .row > *, #navbar2 .row > * {
  padding-right: 0px;
  padding-left: 0px;
}

#navbar1 {
  background: #ad252b;
}

#navbar1, #navbar2 {
  padding: .1rem 0rem;
}

#navbar2 .navbar-nav {
  flex-direction: row;
}

#navbar1 .navbar-nav .nav-item a {
  color: #ffffff;
}

div.mod-languages ul {
  padding: 0rem 2rem 0rem 0rem !important;
}

.navbar-expand-lg .navbar-nav .nav-item a, .navbar-nav .nav-item a {
  padding: .2rem 2.6rem .2rem 0rem !important;
}

#navbar1 .navbar-nav .nav-item.active a, #navbar1 .navbar-nav .nav-item a.show, #navbar1 .navbar-nav .show > .nav-item a, #navbar1 .navbar-nav .nav-item a:hover {
  color: #ffe800;
}

#navbar2 .navbar-nav .nav-item a, div.mod-languages ul li a {
  color: #ad252b;
}

.container, .container-lg, .container-md, .container-sm, .container-xl {
  max-width: 840px!important;
}
}

@media (min-width: 1200px) {

#itemid-105 .fixed-top .logo .custom, #itemid-103 .fixed-top .logo .custom, .logo .custom  {
  margin-left: -7rem;
}

}

@media (max-width: 991.98px) {

.offcanvas.offcanvas-start { /* from right to left */
  left: auto;
  right: 0px;
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
  background: #ad252b;
}

.offcanvas ul li {
  position: relative;
  width: 100%;
  margin: .5rem 0;
  text-align: right;
}

.offcanvas ul li li {
  margin: .25rem 0;
}

.offcanvas li a {
  color: #fff!important;
  line-height: 1.6rem!important;
  font-size: 1.2rem!important;
  text-decoration: none;
}

.offcanvas li li a {
  color: #fff;
  line-height: 1.4rem;
  font-size: .85rem;
}

.navbar {
  padding: var(--border-width) 0;
  float: right;
}

.navbar-toggler {
  margin: 1rem .3rem;
  padding: .3rem;
  line-height: 1;
  color: #ad252b;
  background-color: transparent;
  border-radius: 0.5rem;
}

.icon-menu::before {
    background-image: url("../images/menu-open.png")!important;
    background-size: 45px 37px;
    display: inline-block;
    width: 45px;
    height: 37px;
    content:""!important;
}

.row {
    display:                    block;
    width:                      100% !important;
    margin:                     0rem !important;
    padding:                     0rem !important;
    -webkit-box-flex:           1;
    flex-grow:                  1;
    min-height: 0rem !important;
}

.row [class*="col-"] {
    display:                    inline-block !important;
    vertical-align: top !important;
    width:                      100% !important;
    padding-right:              0rem;
    padding-left:               0rem;
    -webkit-box-flex:           0;
    -ms-flex:                   0 0 100%;
    flex:                       0 0 100%;
    max-width:                  100%;
}
}

