/*
	Theme Name: seodr.
	Description: SEO Doktorn WordPress Theme
	Version: 1.0
	Author: SEO Doktorn i Sverige AB
	Author URI: https://www.seo-doktorn.se
*/
/*------------ Reset ------------*/
*,
*:after,
*:before {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* {
  margin: 0;
  padding: 0;
  outline: 0;
  border: 0;
  font-size: 100%;
}

body {
  font-family: 'Lato', sans-serif;
  color: #222;
  font-size: 16px;

}

a:focus, a:hover, a:active, input:focus {
  outline: 0;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 20px;
  font-weight: 400;
}
.four-o-four{
  font-size: 4rem;
  color: #3DC3E2;
}
#post-404 p{
  font-size: 1.5rem;
}
/*----------- Structure -----------*/
.clear:before,
.clear:after {
  content: ' ';
  display: table;
}

.clear:after {
  clear: both;
}

.clear {
  *zoom: 1;
}

.flex {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.flex-space {
  -webkit-justify-content: space-between;
  -ms-justify-content: space-between;
  justify-content: space-between;
}
.flex-end{
  -webkit-justify-content: flex-end;
  -ms-justify-content: flex-end;
  justify-content: flex-end;
}
.vert-center {
  -ms-align-items: center;
  align-items: center;
}

.horiz-center {
  -webkit-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;
}

.right{
  flex-direction: row-reverse;
}
.row-reverse {
  flex-direction: row-reverse;
}

.center {
  text-align: center;
}

.wrap-full{
  width: 100%;
  margin: 0 auto;
  position: relative;
}
.wrap-l {
  width: 90%;
  margin: 0 auto;
  position: relative;
}

.wrap {
  max-width: 1280px;
  width: 90%;
  margin: 0 auto;
  position: relative;
}

.wrap-m {
  max-width: 1000px;
  width: 90%;
  margin: 0 auto;
  position: relative;
}

.wrap-s {
  max-width: 800px;
  width: 90%;
  margin: 0 auto;
  position: relative;
}

.wrap-xs {
  max-width: 600px;
  width: 90%;
  margin: 0 auto;
  position: relative;
}

/*---------- Cols ----------*/
.col-1-2 {
  width: 48%;
}

.col-1-3 {
  width: 31%;
}

.col-2-3 {
  width: 65%;
}

.col-1-4 {
  width: 23%;
}

.col-3-4 {
  width: 73%;
}

.col-f-1-2 {
  width: 50%;
}

.col-f-1-3 {
  width: 33.33%;
}

.col-f-2-3 {
  width: 66.67%;
}

.col-f-1-4 {
  width: 25%;
}

.col-f-3-4 {
  width: 75%;
}

/*------------ General -----------*/
.pad-l {
  padding: 100px 0;
}

.pad-l-bottom {
  padding-bottom: 100px;
}

.pad {
  padding: 80px 0;
}

.pad-bottom {
  padding-bottom: 80px;
}

.pad-m {
  padding: 60px 0;
}
.pad-top-l{
  padding-top: 80px;
}
.pad-m-bottom {
  padding-bottom: 60px;
}

.pad-s {
  padding: 40px 0;
}

.pad-s-bottom {
  padding-bottom: 40px;
}

.pad-xs {
  padding: 20px 0;
}

.pad-xs-bottom {
  padding-bottom: 20px;
}

.marg-b {
  margin-bottom: 60px;
}

::selection {
  background: #04A4CC;
  color: #FFF;
  text-shadow: none;
}

::-webkit-selection {
  background: #04A4CC;
  color: #FFF;
  text-shadow: none;
}

::-moz-selection {
  background: #04A4CC;
  color: #FFF;
  text-shadow: none;
}

/*--------- Links & Buttons --------*/
a {
  color: #222;
  text-decoration: none;
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
}

a:hover {
  color: #222;
}

button.btn {
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
}

a.btn, .btn {
  line-height: 1;
  display: inline-block;
  padding: 17px 30px;
  border-radius: 0px;
  letter-spacing: 0.06em;
  font-weight: 700;
}

a.btn-primary, .btn-primary {
  background: #333;
  color: #fff !important;
}

a.btn-secondary, .btn-secondary {
  background-color: #3DC3E2;
  color: #fff !important;
}

a.btn-primary:hover, .btn-primary:hover {
  background-color: #3DC3E2;
  color: #fff !important;
}

a.btn-secondary:hover, .btn-secondary:hover {
  background: #333;
  color: #fff !important;
}

/*---------- Typography ---------*/
h1 {
  font-size: 2.6em;
}

h2 {
  font-size: 2.2em;
}

h3 {
  font-size: 1.3em;
}

h4 {
  font-size: 1.2em;
}

/*-------- Color Scheme ---------*/
.grey{
  background: #eee;
}
/*-------- Cookies ---------*/
#cookie-notice {
  font-size: 1em;
  line-height: 1.6;
  font-weight: 400;
  background: rgba(6, 67, 137, .95) !important;
}

#cookie-notice .button#cn-accept-cookie {
  background: #f8b92e;
  font-weight: 600;
  margin-left: 20px;
}

a.cookie-read {
  text-decoration: underline;
  color: #fff;
}

.cookie-notice-container {
  padding: 30px;
}

@media only all and (max-width: 1150px) {
  #cn-notice-text {
    display: block;
    margin-bottom: 20px;
  }

  #cookie-notice .button#cn-accept-cookie {
    margin-left: 0;
  }
}

/*------- forms ---------*/
.input-outer {
  margin-bottom: 25px;
}

.input-outer .divide {
  float: left;
  width: 48%;
}

.input-outer .divide+.divide {
  margin-left: 4%;
}

.input-outer div {
  position: relative;
}

.input-outer label {
  color: #a4a7a8;
  position: absolute;
  left: 0;
  top: 10px;
  z-index: 10;
  pointer-events: none;
  transition: transform 150ms ease-out, font-size 150ms ease-out;
  font-weight: 400;
}

.wpcf7-form-control-wrap {
  position: relative;
}

.wpcf7 input[type="text"], .wpcf7 input[type="tel"], .wpcf7 input[type="email"], .wpcf7 textarea {
  width: 100%;
  padding: 12px 0px 9px 0;
  border-radius: 0;
  -webkit-box-shadow: 0 2px 0 0 #bbb;
  -moz-box-shadow: 0 2px 0 0 #bbb;
  box-shadow: 0 2px 0 0 #bbb;
  transition: all 0.25s ease;
  -webkit-appearance: none;
  background: transparent;
}

.focused label {
  transform: translateY(-120%);
  font-size: .75em;
}

.wpcf7 input.filled, .wpcf7 textarea.filled {
  box-shadow: 0 2px 0 0 #3DC3E2;;
}

span.wpcf7-not-valid-tip {
  font-size: 0.8em;
  margin-top: 3px;
}

/* checkbox */
.wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item-label {
  font-size: 0.85em;
}

.wpcf7-form-control-wrap.acceptance-251 {
  float: left;
}

span.wpcf7-list-item {
  margin: 0;
}

.wpcf7-acceptance .wpcf7-list-item label {
  position: relative;
  cursor: pointer;
  padding: 0 0 1px 35px;
}

.wpcf7 input[type="checkbox"] {
  width: auto;
  display: inline-block;
  display: none;
}

.wpcf7-acceptance .wpcf7-list-item-label:before {
  content: "";
  display: block;
  position: absolute;
  border: 2px solid #bbb;
  border-radius: 100%;
  height: 28px;
  width: 28px;
  top: -3px;
  left: 0;
  z-index: 5;
  transition: border .1s linear;
  -webkit-transition: border .1s linear;
}

.wpcf7-acceptance .wpcf7-list-item-label:after {
  content: "";
  display: block;
  position: absolute;
  border-radius: 100%;
  height: 18px;
  width: 18px;
  top: 2px;
  left: 5px;
  margin: auto;
  transition: background 0.1s linear;
  -webkit-transition: background 0.1s linear;
}

.wpcf7 input[type="checkbox"]:checked~.wpcf7-list-item-label:after {
  background: #3DC3E2;
}
div.wpcf7 .wpcf7-submit:disabled{
  color: rgb(255 255 255 / 35%);
}
.submit-outer input[type=submit]{
  line-height: 1;
  display: inline-block;
  padding: 17px 30px;
  border-radius: 0px;
  letter-spacing: 0.06em;
  font-weight: 700;
  background-color: #3DC3E2;
  color: #fff ;
  margin-top: 20px;
}
.grecaptcha-badge { opacity:0;}

/*-------------- Fixed search ---------------*/
.fixed-search {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: #fff;
  z-index: 9999;
  display: none;
}

.fixed-search .wrap {
  position: relative;
}

.fixed-search .search {
  width: 100%;
  padding: 40px 0;
}

.fixed-search .search-input {
  width: 80%;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

.fixed-search .search-submit {
  width: 20%;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

.fixed-search .icon-cross {
  position: absolute;
  top: 15px;
  right: 15px;
}

/*--------- Front page ---------*/

.hero .col-f-2-3{
  padding: 100px;
  background: #eee;
}
.hero .btn-secondary{
  margin-left: 20px;
}
.hero p{
  width: 70%;
}

.page-id-6 .breadcrumbs-outer{
  display: none;
}
/* .page-id-6 .topheader-section{
  height: 100vh;
}
.page-id-6 .top-header-wrap{
height: 83vh;
align-items: center;

}
.top-header-wrap-inner{
  color: #fff;
  position: absolute;
  z-index: 3;
  max-width: 700px;
  top: 50%;
  left: 10%;
  right: 10%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}

.top-header-wrap-inner h1{
  font-size: 3.4em;
  line-height: 1.2;
}

.top-header-wrap-inner p{
  line-height: 1.5;
  font-size: 1.1em;
  margin-bottom: 35px;
}

.top-header-wrap-inner .btn + .btn{
  margin-left: 10px;
} */


.top-header-banner{

align-items: center;
margin: auto;


height: 17vh;
flex-wrap: wrap;
padding: 0 10%;
}
.top-header-banner .col-1-3{
height: 100%;
align-items: center;
float: left;
display: flex;
justify-content: center;
}
.top-header-banner p{
  margin-bottom: 0;
  margin-left: 10%;
}

.kontaktbanner-img{
  border-radius: 100%;
  width: 100px;
}
/*----------- Pages ---------*/
p{
  margin-bottom: 20px;
}
.main{
  margin-top: 79px;
}
.main-content p {
  margin-bottom: 25px;
  line-height: 1.8;
}
.main p a{
  text-decoration: underline;
}

.main-content .btn + .btn{
  margin-left: 10px;
}
.breadcrumbs-outer{
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,.5);
}


#breadcrumbs {
  line-height: 1.3;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.1em;
  font-size: 0.7em;
  margin-bottom: 0;
}

#breadcrumbs a{
  color: white;
  cursor: pointer;
}
#breadcrumbs a:hover{
  text-decoration: underline;
}
.main-content:after{
  background-image: url(assets/img/skane.svg); 
  background-size: cover; 
  background-repeat: no-repeat;
  position: absolute;
  content: '';
}

.main-content ul, .main-content ol {
  margin-bottom: 25px;
  padding-left: 1.3em;
}

.main-content a {
  color: #666;
}
.main-content a:hover {
  color: #3DC3E2;;
}

.top-header-wrap{
  padding: 60px 0px;
}
.top-header-wrap h1{
  margin-bottom: 0px;
}
.topheader-section{
  position: relative;
  color: white;
}
.topheader-section p{
  font-size: 2.6em;
  margin-bottom: 0px;
}
.overlay {
  background: rgba(0,0,0,.5);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

/*----------- Flexible Content ---------*/

.smaller-head{
	font-weight: 100;
  font-size: 22px;
}
.main-content{
  /* padding: 120px 5%;
  margin: auto; */

  padding: 60px 5%;
  margin: auto;
} 
.flexible-5050-inner2 {
  position: relative;
  overflow: hidden;
}
.puff-inner{
  position: absolute;
  bottom: 0;
  width: 100%;
  color: #ffffff;
  /* background: rgba(238, 238, 238, 1); */
  padding: 5%;
  -webkit-transition: all .5s ease;
  -moz-transition: all .5s ease;
  -ms-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}
.puff-inner p{
  margin-bottom: 0px;
}
.puff-inner-title{
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 2rem;
}
.text-black {
  color: black;
}
.puff a:hover .puff-inner{
  color: #3DC3E2;
  width: 100%;
  -webkit-transition: all .5s ease;
  -moz-transition: all .5s ease;
  -ms-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}

.puff .col-1, .puff .col-2{
  margin: 4% 0%;
  width: 48%;
  height: 300px;
  position: relative;
}
/* 
.puff .col-1{
  margin-left: 2%;
  margin-right: 1%;
} */
.puff .col-2{

  margin-left: 4%;
}

.object-img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}


.medarbetare-outer img{
  -webkit-box-shadow: 2px 4px 5px 0px rgba(0,0,0,0.75);
  -moz-box-shadow: 2px 4px 5px 0px rgba(0,0,0,0.75);
  box-shadow: 2px 4px 5px 0px rgba(0,0,0,0.75);
  width: 100%
}
.medarbetare-outer{
  padding: 2%;
}
.medarbetare-outer{
  margin-left: 0%;
  padding-top: 0%;
}
.medarbetare-section .col-1-3:nth-child(3n+2){
  margin-left: 3.5%;
}
.medarbetare-section .col-1-3:nth-child(3n+3){
  margin-left: 3.5%;
}
.medarbetare-inner p{
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  letter-spacing: 0.05rem;
}
.medarbetare-name{
  font-size: 24px;
}

.medarbetare-name,
.medarbetare-phone{
  position: relative;

}
.medarbetare-name:before,
.medarbetare-phone:before,
.medarbetare-mail:before{
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  font-size: 24px;
  padding-right: 25px;
}

.medarbetare-name:before{
  content: "\e907";

}
.medarbetare-phone:before{
  content: "\e904";
}

.medarbetare-mail:before{
  content: "\e905";
}

.medarbetare-mail:hover:before{
  content: "\e906";
}

.medarbetare a:hover{
  color: #3dc3e1;
}


/*----------- Samarbetspartners ------------*/
.samarbetspartners .tns-outer{
  text-align: center;
}
.samarbetspartners a:hover img{
  filter: grayscale();
}
.samarbetspartners a{
  display: block;
}
.samarbetspartners a img{
  max-height: 100px;
  max-width: 200px;
  margin: 0px 20px;
}

/*----------- Refrenser ------------*/
.referens-img{
  width: 100%;
  margin-bottom: 20px;
}
.excerpt{
	width: 85%;
}
.filter-outer{
  padding-bottom: 40px;
}
.filter-simple-button{
  background: none;
}
.filter-simple-button:hover{
  color: #04A4CC;
}

.filter-simple-item{
  box-shadow: 0 0 20px rgb(0 0 0 / 14%);
  /* margin-left: 3.5%; */
  border: 1px solid #eee;
  padding: 20px;
  border-radius: 8px;

}
.filter-simple-item:nth-child(3n+2), .filter-simple-item:nth-child(3n+3){
  margin-left: 3.5%;
}
.filter-loop{
  padding-bottom: 60px;
}
.referens-img img{
  height: 200px;
  transition: transform 1s ease;
  object-fit: cover;
  /* min-height: 310px; */
  transform-origin: center center;
  margin: 0 0 1em;
  width: 100%;
  transform: scale(1);
}
.filter-simple-item:hover .referens-img img{
  transform: scale(.95);
}
.filter-simple-item:hover .btn{
	background-color: #04A4CC;
}
.referenser-content{
  padding-bottom: 60px;
}
.gallery-wrap{
  width: 50%;
  /* height: 600px; */
  float: left;
  padding: 25px;
}

.gallery-section .gallery-wrap:hover img {
  transform: scale(1.1);
}

.gallery-section img{

  object-fit: cover;
  object-position: center;
  -moz-transition: all 0.6s ease;
  -ms-transition: all 0.6s ease;
  -o-transition: all 0.6s ease;
  -webkit-transition: all 0.6s ease;
  transition: all 0.6s ease;
}

.tns-outer{
  position: relative;
}
.tns-controls{
  position: absolute;
  top: 50%;
  margin-top: -20px;
  width: 100%;
}
.tns-controls button{
  background: #3ec2e0;
  color: #fff;
  padding: 10px;
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
}
.tns-controls button:hover{
  background-color: #38b2ce;
}
.tns-controls button:first-of-type{
  position: absolute;
  left: 0;
  z-index: 3;
}

.tns-controls button:last-of-type{
  position: absolute;
  right: 0 !important;
  z-index: 3;
}

/*----------- Sociala Medier ------------*/
.sociala-medier a {
  padding: 20px;
  font-size: 1.2em;
  line-height: 1;
  background: #3DC3E2;
  border-radius: 50%;
  color: #fff;
  display: inline-block;
  position: relative;
  margin: 0 5px;
}
.sociala-medier a:hover{
  background: #38b2ce;
}


.sociala-medier i {
  top: 10px;
  left: 10px;
  position: absolute;
  z-index: 2;
}
.main-footer .sociala-medier i {
  left: 12px;
}
.main-footer .sociala-medier .icon-facebook {
  top: 12px;
}
/*----------- Footer ------------*/
.footer{
  background: #333;
  /* background: #070735f5; */
  color: white;
}
.footer .logo{
  width: 200px;
}
.footer .logo img{
  margin-top: 0px;
}
.footer{
  font-size: 0.9em;
}
.footer .col-2-3 a{
  color: #fff;
  margin-bottom: 5px;
  display: inline-block;
}
.footer .col-2-3 a:hover{
  color: #3DC3E2;
}
.main-footer h3 {
  color: #fff;
  position: relative;
  font-size: 1rem;
  letter-spacing: 0.06em;
  padding-bottom: 15px;
  font-weight: 600;
}
.footer h3:after {
  content: "";
  width: 50px;
  height: 2px;
  background-color: #3dc3e1;
  position: absolute;
  bottom: 0;
  left: 0;
}
.main-footer ul{
  list-style: none;
}
.main-footer ul li{
  background: none;
  line-height: 1.4;
}
.main-footer ul li a{
  color: #fff;
  font-size: 0.9rem;
}
.sub-footer {
  color: #fff;
  border-top: 1px solid rgb(6 147 227 / 36%);
}
.sub-footer p{
  margin-bottom: 0;
  font-size: 12px;
}
/*------------ responsive ------------*/
@media only screen and (max-width: 1250px) {
  .main{
    margin-top: 72px;
  }
}

@media only screen and (max-width: 1000px) {
  .hero .col-f-2-3{
    width: 100%;
  }
  .flexible-5050 .col-f-1-2{
    width: 100%;
  }
  .flexible-5050-inner2{
    height: 300px;
  }
  .left{
    flex-direction: column-reverse;
    -ms-flex-direction: column-reverse;
  }
  .right{
    flex-direction: column-reverse;
    -ms-flex-direction: column-reverse;
  }

  .footer h3:after{
    left: 50%;
    margin-left: -50%;
  }
  .col-1-2{
    width: 100%;
  }
  .filter-simple-item.col-1-3{
    width: 100%;
    margin-top: 20px;
  }
  .filter-simple-item:nth-child(3n+2), .filter-simple-item:nth-child(3n+3){
    margin-left: 0%;
  }
  .referens-img img{
    transform: none;
  }
  .referens-img:hover img {
    transform: none;
  }
  #filters{
    -webkit-justify-content: flex-start;
    -ms-justify-content: flex-start;
    justify-content: flex-start;
  }
 .btn-referens-filter{
  padding: 17px 10px;
 }
 .filter-outer{
   padding-bottom: 20px;
 }
 .contact-form-section .right{
   flex-direction: row-reverse;
   -ms-flex-direction: row-reverse;
 }

  
}

@media only screen and (max-width: 800px) {
  .hero .col-f-2-3{
    padding: 60px;
  }
  .hero h1{
    font-size: 2em;
  }
  .hero p{
    width: 100%;
  }
  .puff-inner{
    padding: 10%;
  }
  .single-referenser .pad{
    padding: 40px 0px;
  }
  .puff .col-1, .puff .col-2{
    width: 100%;
  }
  .puff .col-2 {
    margin-left: 0%;
  }
  .puff .col-2{
    margin-top: 0%;
  }
  .col-1-3{
    width: 100%;
  }
  .gallery-wrap{
    width: 100%;
    margin-top: 40px;
    padding: 0px;
  }
  .main-footer .pad-m{
    padding: 40px 0px;
  }
  .main-footer .col-1-3, .main-footer .col-2-3{
    width: 100%;
    text-align: center;
    -webkit-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }
  .main-footer .col-2-3 .col-1-3{
    width: 48%;
  }
  /* .footer .logo img {
    margin-left: -30px;
  } */
  .footer h3:after{
    width: 100%;
  }
  .main-footer .footer-left{
    margin-bottom: 40px;
  }
  .main-footer .col-2-3 .col-1-3 + .col-1-3{
    margin-bottom: 0px;
  }
  .gallery-section .gallery-wrap:hover img {
    transform: none;
  }
  .referenser-content {
    padding-bottom: 20px;
  }
  .medarbetare-outer{
    padding: 0%;
  }
  .medarbetare-section .col-1-3:nth-child(3n+2), .medarbetare-section .col-1-3:nth-child(3n+3){
    margin-left: 0%;
  }
  .karta .flexible-5050-inner2 .object-img{
    left: -25%;
  }
  .karta .main-content{
    text-align: center;
  }
  .karta .col-f-1-2{
    padding: 0px 5%;
  }
  .karta .flexible-5050-inner2{
    position: relative;
    height: 200px;
  }
}

@media only screen and (max-width: 600px) {
	.hero .btn-primary{
		margin-right: 2%;
	}
	.hero .btn-secondary{
		margin-left: 0px;
	}
  }

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {}

/*------------ WordPress core ---------*/
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #FFF;
  border: 1px solid #F0F0F0;
  max-width: 96%;
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption .wp-caption-text,
.gallery-caption {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

/*------------ Print css -----------*/
@media print {
  * {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " ("attr(href) ")";
  }

  abbr[title]:after {
    content: " ("attr(title) ")";
  }

  .ir a:after,
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "";
  }

  pre, blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }

  tr, img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  @page {
    margin: 0.5cm;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}