/*
Theme Name: Gateway Scandinavia
Theme URI: 
Description: Specialutformat tema av Logotypebolaget Sverige AB
Version: 1.0
Tags: 
Author: Emil Typlt-Tufvesson - Logotypebolaget
Author URI: http://www.logotypebolaget.se
*/

/* let's clear some floats */
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }

/* hand cursor on clickable elements */
.clickable,
label, 
input[type=button], 
input[type=submit], 
button {cursor: pointer;}

/* Typographic
-------------------------------------------------------------------------------*/
body, select, input, textarea {
    color: #333;
}

a {
    color: #59595B;
}

a:hover {
    color: #48A60D;
}


::-moz-selection {
    background: #48A60D;
    color: #fff;
    text-shadow: none;
}

::selection {
    background: #48A60D;
    color: #fff;
    text-shadow: none;
}

a:link {
    -webkit-tap-highlight-color: #48A60D;
}

ins {
    background-color: #48A60D;
    color: #000;
    text-decoration: none;
}

mark {
    background-color: #48A60D;
    color: #000;
    font-style: italic;
    font-weight: bold;
}

body{
    font-size: 12px;
    font-family: 'SansationRegular';
    font-weight: normal;
    font-style: normal;
    line-height: 1.5;
}

p{
    margin: 0 0 10px 0;
}

strong, .strong{
    font-family: 'SansationBold';
    font-weight: normal;
    font-style: normal;
}

em, .em{
    font-family: 'SansationItalic';
    font-weight: normal;
    font-style: normal;
}

h1, h2, h3{
    font-size: 19px;
    color: #57585A;
    margin: 0 0 10px 0;
    font-family: 'SansationBold';
    font-weight: normal;
    font-style: normal;
}

h2{
    font-size: 16px;
    margin-top: 10px;
}

h3{
    font-size: 13px;
    margin-top: 10px;
}


.headline h1{
    text-align: center;
    margin: 0 0 10px 0;
    background: url(img/line.png) 10px 14px repeat-x;
}

.headline span{
    display: inline-block;
    padding: 0 40px;
    background: url(img/bg.png);
}


.hr{
    border-bottom: 1px dotted #C6C6C6;
    margin: 15px auto 20px auto;
}

.content ul{
	margin-left: 20px;
	margin-top: 10px;
	margin-bottom: 20px;
	list-style: disc;
}

.content ol {
	margin-left: 20px;
	margin-top: 10px;
	list-style-type: decimal;
}

/* Main style
-------------------------------------------------------------------------------*/

body{
    background: url(img/bg.png);
    position: relative;
}

.wrapper{
    background: url(img/bg3.png) top center no-repeat;
    position: relative;
}

/* Header
-------------------------------------------------------------------------------*/

#header{
    position:relative;
    padding-top: 30px;
}

#logo{
    -webkit-transition: all 300ms ;
    -moz-transition: all 300ms ;
    -ms-transition: all 300ms ;
    -o-transition: all 300ms ;
    transition: all 300ms ;
}

#logo:hover{
    opacity: 0.8;
}

#slogan{
    margin-top: 44px;
	margin-left: -25px;
}

#slogan img{
	width: 464px;
	height: auto;
	margin-top: 5px;
}


/* Navigation
-------------------------------------------------------------------------------*/

#nav-main {
    position: absolute;
    top: 20px;
    left: 15px;
    width: 930px;
    background: url(img/nav_even.png);
}

#nav-main ul {
    position: relative;
    list-style: none;
    padding: 0;
    float: left;
    width: 100%;
    top: 0;
}
#nav-main ul li { float: left; margin: 0; *zoom: 1; }
#nav-main ul li:hover { position: relative; }
#nav-main ul li a {
    text-decoration: none;
    display: block;
    font-size: 12px;
    padding: 12px 11px;
    color: #646569;
    margin: 0;
    width: 114px;
    text-align: center;
    -webkit-transition: all 300ms ;
    -moz-transition: all 300ms ;
    -ms-transition: all 300ms ;
    -o-transition: all 300ms ;
    transition: all 300ms ;
}


#nav-main ul li a:hover,
#nav-main ul li.sfHover > a,
#nav-main ul li.current-menu-item > a,
#nav-main ul li.current-menu-parent > a,
#nav-main ul li.current-menu-ancestor > a,
#nav-main ul li.current-page-item > a,
#nav-main ul li.current-page-parent > a,
#nav-main ul li.current-page-ancestor > a
#nav-main ul li:hover > a {
    color: #fff;
    background: url(img/button_green.png);
}
#nav-main ul li.orange a:hover,
#nav-main ul li.orange.sfHover > a,
#nav-main ul li.current-menu-item.orange > a,
#nav-main ul li.current-menu-parent.orange > a,
#nav-main ul li.current-menu-ancestor.orange > a,
#nav-main ul li.current-page-item.orange > a,
#nav-main ul li.current-page-parent.orange > a,
#nav-main ul li.current-page-ancestor.orange > a
#nav-main ul li.orange:hover > a {
    background: url(img/button_green.png);
    color: #fff;
}
#nav-main ul li.green a:hover,
#nav-main ul li.green.sfHover > a,
#nav-main ul li.current-menu-item.green > a,
#nav-main ul li.current-menu-parent.green > a,
#nav-main ul li.current-menu-ancestor.green > a,
#nav-main ul li.current-page-item.green > a,
#nav-main ul li.current-page-parent.green > a,
#nav-main ul li.current-page-ancestor.green > a
#nav-main ul li.grey:hover > a {
    background: url(img/button_green.png);
    color: #fff;
}



#nav-main ul ul li a:hover,
#nav-main ul ul li.current-menu-item > a,
#nav-main ul ul li.current-menu-parent > a,
#nav-main ul ul li.current-menu-ancestor > a,
#nav-main ul ul li.current-page-item > a,
#nav-main ul ul li.current-page-parent > a,
#nav-main ul ul li.current-page-ancestor > a
#nav-main ul ul li:hover > a {
    color: #fff;
    background: url(img/button_green.png);
}

#nav-main ul li.orange ul li a:hover,
#nav-main ul li.orange ul li.current-menu-item > a,
#nav-main ul li.orange ul li.current-menu-parent > a,
#nav-main ul li.orange ul li.current-menu-ancestor > a,
#nav-main ul li.orange ul li.current-page-item > a,
#nav-main ul li.orange ul li.current-page-parent > a,
#nav-main ul li.orange ul li.current-page-ancestor > a
#nav-main ul li.orange ul li:hover > a {
    background: url(img/button_orange.png);
    color: #fff;
}

#nav-main ul li.green ul li a:hover,
#nav-main ul li.green ul li.current-menu-item > a,
#nav-main ul li.green ul li.current-menu-parent > a,
#nav-main ul li.green ul li.current-menu-ancestor > a,
#nav-main ul li.green ul li.current-page-item > a,
#nav-main ul li.green ul li.current-page-parent > a,
#nav-main ul li.green ul li.current-page-ancestor > a
#nav-main ul li.green ul li:hover > a {
    color: #fff;
    background: url(img/button_green.png);
}


#nav-main .listContainer {
    position: absolute;
    top: 100%;
    left: 0;
    width: 460px;
    background: url(img/nav_even.png);
    padding: 0;
    -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    -moz-box-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    box-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

#nav-main ul #menu-item-2293 .listContainer {
    width: 362px;
}

#nav-main ul #menu-item-2293 .listContainer ul{
   	width: 150px;
}

#nav-main ul #menu-item-2293 .listContainer ul li a{
    width: 150px;
}

#nav-main li.fourCol .listContainer {
    width: 940px;
}

#nav-main .listCol1 {
    background-image: url(img/arrowgreen.png);
    background-repeat: no-repeat;
    background-position: 65px 0;
}

#nav-main ul ul {
    float: left;
    width: 200px;;
    padding: 10px;
}
#nav-main ul ul li {
}
#nav-main ul ul li a, 
#nav-main ul ul li.even a
 {
    font-size: 12px;
    padding: 8px 10px;
    width: 200px;
    display: inline-block;
    text-align: left;
    background: none;
}



/* Border
-------------------------------------------------------------------------------*/

.no-margin{
    margin: 0;
}

.no-margin.two{
    width: 320px;
}

.no-margin.one{
    width: 155px;
}

.border{
    background: url(img/header.png) no-repeat -4px 10px;
    position: relative;
    overflow: visible;
}

.home .border{
    background: url(img/header_big.png) no-repeat -4px 10px;
    position: relative;
    overflow: visible;
}


.two .border{
    background: url(img/bildbg.png) no-repeat -6px 10px;
    width: 320px;
    height: 220px;
}

.one .border{
    background: url(img/smallbutton.png) no-repeat -3px 0px;
    width: 155px;
    height: 99px;
}

.two .one .border{
    background: url(img/smallbutton.png) no-repeat -3px 0px;
    width: 155px;
    height: 99px;
}

/* Border Contact
-------------------------------------------------------------------------------*/

.page-template-page-contact-php .one.border{
    height: 165px;
}

.contact-info{
    margin-top: 100px;
    margin-left: 10px;
}

.contact-info p{
    margin: 2px 0;
}

.map.two .border{
    background: url(img/contactbg.png) no-repeat -6px -3px;
    height: 335px;
}

.map.two .border iframe{
    position: absolute;
    top: 9px;
    left: 12px;
}


/* Ribbons
-------------------------------------------------------------------------------*/

.ribbon{
    position: absolute;
    top: -8px;
    right: -8px;
    background: url(img/applybanner.png) no-repeat;
    background-position: 0 0;
    width: 142px;
    height: 142px;
    z-index: 500;
}

.ribbon:hover {
}

.apply{
    background: url(img/apply_banner.png);
    background-position: -2px -3px;
	width: 140px;
	height: 140px;
    top: -4px;
    right: -8px;
}

.apply:hover {
	background-position: -2px -152px;
}

.spots .ribbon{
    top: -1px;
    right: -1px;
    background: url(img/smallbanner1.png);
    width: 115px;
    height: 115px;
}

.spots .yellow .ribbon{
    background: url(img/smallbanner2.png);
}

.spots .green .ribbon{
    background: url(img/smallbanner1.png);
}

.spots .grey .ribbon{
    background: url(img/smallbanner3.png);
}

.sidebar{
	margin-top: -10px;
}


/* Spots
-------------------------------------------------------------------------------*/

.spots .two:hover a{
	
}

.spots .two .one a{
    font-size: 12px;
}

.spots .yellow .trans{
    background: url(img/greenleaf.png);
}

.spots .green .trans{
    background: url(img/greenleaf.png);
}

.spots .grey .trans{
    background: url(img/greyleaf.png);
}

.spots .red .trans{
    background: url(img/greyleaf.png);
}

.spots .blue .trans{
    background: url(img/greyleaf.png);
}

.trans, .spots .img{
    position: absolute;
    top: 18px;
    left: 10px;
    width: 291px;
	height: 190px;
}

.img{
    vertical-align: middle;
    display: table-cell;
    text-align: center;
    width: 291px;
	height: 190px;
}

.trans{
    vertical-align: middle;
    display: table-cell;
    text-align: center;
    opacity: 0;
    -webkit-transition: all 300ms ;
    -moz-transition: all 300ms ;
    -ms-transition: all 300ms ;
    -o-transition: all 300ms ;
    transition: all 300ms ;
    background: url(img/greenleaf.png);
}

a:hover .trans{
    opacity: 1;
}

.reverse .trans{
    opacity: 1;
}

.reverse a:hover .trans, .three-cols .trans:hover{
    opacity: 0;
}

.empty.trans, .empty.trans a:hover {
    opacity: 1;
}

.img .empty.trans {
    top: 0;
	left: 0;
}


.empty.trans div {
    opacity: 0;
    -webkit-transition: all 300ms ;
    -moz-transition: all 300ms ;
    -ms-transition: all 300ms ;
    -o-transition: all 300ms ;
    transition: all 300ms ;
}

a:hover .empty.trans div{
    opacity: 1;
}

.trans div{
    vertical-align: middle;
    display: table-cell;
    text-align: center;
    width: 251px;
    height: 190px;
    color: #fff;
    font-size: 20px;
    padding: 0 20px;
}

.one .trans, .spots .one .img{
    top: 9px;
    left: 14px;	
    width: 133px;
    height: 76px;
}

.one .trans div{
    font-size: 12px;
    width: 133px;
    height: 76px;
}

.logos .trans{
    opacity: 1;
    background: none;
}

.spots .logos a img{
    -webkit-transition: all 300ms ;
    -moz-transition: all 300ms ;
    -ms-transition: all 300ms ;
    -o-transition: all 300ms ;
    transition: all 300ms ;
    position: relative;
    top: 0;
    left: 0;
}
.logos a img:hover{
    opacity: 0.6; 
}

.two .info{
    margin: 5px 13px 0 6px;
    text-align: justify; 
}

a:hover .info, a:hover .excerpt{
    color:#333;
}


.ie .trans{
    opacity: 1;
}


.ie7 .trans{
	position:relative;
	display: block;
	cursor: pointer;
}

.ie7 .two .trans:hover{
	cursor: pointer;
}

.ie7 .trans div{
	top: 50%;
	left: 50%;
	position:absolute;
	padding: 0;
	height: auto;
}

.ie7 .trans div .ie-div{
	top: -50%;
	left: -50%;
	position:relative;
	width: 251px;
}

.ie7 .one .trans div .ie-div{
	width: 133px;
}


/* Slide
-------------------------------------------------------------------------------*/

.slide-wrap{
    background: url(img/header.png) no-repeat -4px 10px;
    position: relative;
    padding: 10px 0;
}

.fluid_container{
    position:relative;
    height: 247px;
    width: 930px;
    padding: 20px 15px;
}

.home .fluid_container{
    height: 447px;
}

.home .slide-wrap{
    background: url(img/header_big.png) no-repeat -4px 10px;
    
}

.camera_prev, .camera_next, .camera_commands{
    background: #d8d8d8;
    background: rgba(216, 216, 216, 0.85);
 }

.camera_commands {
display: none;
}


.camera_prev:hover, .camera_next:hover, .camera_commands:hover{
    background: #fff;
    background: rgba(252, 252, 252, 0.85);
}

.camera_wrap .slide-link{
    position: absolute;
    bottom: -1px;
	right: 0px;
    background: url(img/bildtxtram.png) no-repeat 0px 0px;
    height: 35px;
    line-height: 35px;
    text-align: right;
	padding-right: 12px;
	padding-left: 14px;
}

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

.content{
    position:relative;
}

.go-back{
	margin-top: 10px;
	display: inline-block;
}

.list {
	margin: 10px;
	line-height: 1.8;
}

.list a{
	display:block;
	font-size: 17px;
}



/* Blog
-------------------------------------------------------------------------------*/

.two.column{
   position:relative;
}



.excerpt{
   margin: 10px 10px;
}


.excerpt p{
}

.paginate{
    text-align: center;
    padding-top: 20px;
}


.paginate .wp-paginate {
    padding: 20px;
    margin: 0;
}

.paginate .wp-paginate a:hover, .paginate .wp-paginate a:active {
    background: #48A60D;
    color: #fff;
    border: 1px solid #7E8285;
}

.paginate .wp-paginate .current {
    color: #fff;
    background: #48A60D;
    border: 1px solid #7E8285;
    margin-right: 4px;
    padding: 3px 6px;
}

.hidden-link a, .hidden-link a:hover{
    text-decoration: none;
    color: #59595B;
}


.page-template-page-three-php .hidden-link a, .page-template-page-three-php .hidden-link a:hover { 
	color: #59595B;
}

.read-more{
    text-align: right;
    
}


a:hover .read-more{
    text-decoration: underline;
    color: #48A60D;
}

.date-box{
    margin: 10px 0 10px 0;
}

.latest{
    margin-top: 5px;
}


.latest .date-box{
    margin: 0 0 10px 0;
}

.latest .read-more{
    position:absolute;
    top: 63px;
	left: 221px;
}


.archive .row a.link {
	display: block;
	float: left;
	position: relative;
}

.archive .row a.read-more-link {
	float: right;
	margin-right: 10px;
	text-decoration: none;
}

.archive .row a.read-more-link:hover {
	text-decoration: underline;
}

.archive .read-more {
	width: 320px;
	float: left;
	margin-bottom: 25px;
}

.archive .read-more:hover {
	color: #48A60D;
}



/* Forms
-------------------------------------------------------------------------------*/
input{
    border: 1px solid #C8C9CB;
    background: #E7E7E7;
    -webkit-transition: all 300ms;
    -moz-transition: all 300ms;
    -ms-transition: all 300ms;
    -o-transition: all 300ms;
    transition: all 300ms;
    font-family: 'SansationBold';
    font-weight: normal;
    font-style: normal;
    padding: 5px;
	margin-bottom: 15px;
    width: 95.5%;
}

.one input{
    width: 90.5%;
}


textarea{
	width: 95.5%;
	height: 104px;
    background: #E7E7E7;
    border: 1px solid #C8C9CB;
    -webkit-transition: all 300ms;
    -moz-transition: all 300ms;
    -ms-transition: all 300ms;
    -o-transition: all 300ms;
    transition: all 300ms;
    font-family: 'SansationBold';
    font-weight: normal;
    font-style: normal;
    padding: 5px;
}

.ie textarea{
	overflow: auto;
}

#footer textarea{
	height: 100px;
}



input[type="button"], input[type="submit"], button {
    cursor: pointer;
    color: #838488;
    padding: 5px 7px;
    margin: 0 14px;
    float: right;
    position: relative;
    font-family: 'SansationBold';
    font-weight: normal;
    font-style: normal;
    -webkit-transition: all 300ms;
    -moz-transition: all 300ms;
    -ms-transition: all 300ms;
    -o-transition: all 300ms;
    transition: all 300ms;
    background: none;
    width: 60px;
    border: 0px solid #C8C9CB;
}



input[type="button"]:hover, input[type="submit"]:hover, button:hover {
    background: #E7E7E7;
    border: 0px solid #C8C9CB;
}


.absolute input[type="submit"], #footer .absolute input[type="submit"]{
	margin-top: -31px;
	margin-right: 13px;
	width: 50px;
}

#footer .absolute input[type="submit"]{
	margin-right: 11px;
}

textarea:focus,
input[type="text"]:focus{
    background: #fff;
    -webkit-transition: all 300ms;
    -moz-transition: all 300ms;
    -ms-transition: all 300ms;
    -o-transition: all 300ms;
    transition: all 300ms;
}


/* Contact form 7
-------------------------------------------------------------------------------*/

.wpcf7 p{
    color: #fff;
}

.wpcf7 .one, .wpcf7 .two{
	overflow: visible;
}

.contact h2{
    color: #fff;
}


.row .wpcf7-response-output, .row .wpcf7-not-valid-tip {
    position: absolute;
    margin:0;
    z-index: 500;
    background-color: #ED1C23;
    border: 0;
    color:#fff;
    margin-top: 5px;
    -webkit-box-shadow: 0 1px 5px rgba(0,0,0,0.35);
    -moz-box-shadow: 0 1px 5px rgba(0,0,0,0.35);
    box-shadow: 0 1px 5px rgba(0,0,0,0.35);
    font-size: 13px;
    padding: 5px 10px;
    width: 434px;
    font-family: 'SansationBold';
    font-weight: normal;
    font-style: normal;
    margin-left: 10px;
    margin-top: -30px;
}

.row .wpcf7-not-valid-tip {
    width: 170px;
    font-size: 12px;
    margin-top: 10px;
    top: 0;
    left: 18px;
}

.row .wpcf7-mail-sent-ok{
    background-color: #48A60D;
}


#footer .wpcf7-response-output{
	margin-top: -20px;
}

.overflow {
	overflow: visible;
}

/* Gravity Form
-------------------------------------------------------------------------------*/

.content .gform_wrapper input[type="text"], .content .gform_wrapper input[type="url"], .content .gform_wrapper input[type="email"], .content .gform_wrapper input[type="phone"], .content .gform_wrapper input[type="number"], .content .gform_wrapper input[type="password"] {
	padding: 5px;
}

.content .gform_wrapper .top_label .gfield_label {
	font-weight: bold;
}

.content .gform_wrapper .gfield_required {
	color: #57585A;
}

.content .gform_wrapper select {
	border: 1px solid #C8C9CB;
	background: #E7E7E7;
	padding: 5px;
}

.gform_wrapper div.charleft {
	font-size: 12px !important;
	color: #888 !important;
}

.gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type="submit"] {
	border: 1px solid #C8C9CB;
	width: auto;
}

.gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type="submit"] {
	font-size: 1em;
	margin-right: 50px;
}

.gform_wrapper .top_label .gfield_label {
	font-size: 12px;
}

#gforms_confirmation_message {
	border: 1px solid #888;
}

/* Gallery
-------------------------------------------------------------------------------*/

.content .ngg-navigation {
	font-size:0.9em !important;
	clear:both !important;
	display:block !important;
	padding-top: 15px;
    padding-bottom: 2px;
	text-align:center;
}

.content .ngg-navigation span {
	font-weight:bold;
	margin:0pt 6px;
}

.content .ngg-navigation a.page-numbers,
.content .ngg-navigation a.next,
.content .ngg-navigation a.prev,
.content .ngg-navigation span.page-numbers,
.content .ngg-navigation span.next,
.content .ngg-navigation span.prev {
	background: #ddd;
	border: 1px solid #ccc;
	color: #666;
	margin-right: 4px;
	padding: 3px 6px;
	text-align: center;
	text-decoration: none;
}

.content .ngg-navigation a.page-numbers:hover,
.content .ngg-navigation a.next:hover,
.content .ngg-navigation a.prev:hover,
.content .ngg-navigation span.page-numbers:hover,
.content .ngg-navigation span.next:hover,
.content .ngg-navigation span.prev:hover {
	background: #ccc;
	color: #888;
}

.content .ngg-gallery-thumbnail img {
	-webkit-box-shadow: 0 1px 5px rgba(0,0,0,0.2);
	-moz-box-shadow: 0 1px 5px rgba(0,0,0,0.2);
	box-shadow: 0 1px 5px rgba(0,0,0,0.2);
	border: 0;
}

.content .ngg-gallery-thumbnail img:hover {
	background-color: #47AA42;
}



/* Footer
-------------------------------------------------------------------------------*/

#footer{
    background: url(img/footer.png) no-repeat top center;
    height: 300px;
    color: #fff;
    margin-top: 20px;
    font-size: 13px;
    position: relative;
    overflow: visible;
}

#footer .column{
    margin: 0 10px 0 20px;
}

#footer .two .column {
	margin: 0 10px 0 10px;
}

#footer .two .one {
	width: 135px;
}

#footer .two textarea, #footer .two input {
	width: 278px;
}

#footer .two .one input {
	width: 123px;
}

#footer .form {
	margin: 0 20px 0 10px;
	overflow: visible;
}

#footer .two{
    width: 290px;
}

#footer .copy{
    text-align: center;
    top: -14px;
	position: relative;
}

#footer .social{
    padding: 5px 0px;
}

#footer .social .clearfix{
    padding: 5px 0;
}

#footer h2{
    color: #fff;
}

#footer .leaf img{
    margin-top: 30px;
    margin-left: 55px;
}

#footer a{
    color: #fff;
}

#footer a:hover{
    color: #333;
}

.home .content {
	margin-top: 10px;
}

.stButton:hover{
	opacity: 0.6;
}

th {
	font-size: 14px;
	font-weight: normal;
	border-bottom: 2px solid #ccc;
	padding: 10px 8px;
}


td {
	border-bottom: 1px solid #ccc;
	padding: 6px 8px;
}

/* =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;
}

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

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%; /* Image does not overflow the content area */
    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 p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}
