/*
Theme Name: DotDigital
Theme URI: http://webdesign-finder.com/dotdigital
Author: MWTemplates
Author URI: http://modernwebtemplates.com/
Description: Dotdigital - IT Agency Wordpress Theme
Version: 1.0.0
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: custom-header, left-sidebar, right-sidebar, post-formats, full-width-template
Text Domain: dotdigital
Domain Path: /languages

This theme uses great Unyson Framework to make best user experience

see css/main.css for all of the styles
*/


/*
** WordPress Required
*/
body{
	font-family: 'Varela Round', sans-serif!important;
}
.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 .wp-caption-dt {
    background: transparent;
    border: 0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}
.wp-caption .wp-caption-dt:empty {
    display: none;
}

.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;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    white-space: nowrap;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    clip: auto !important;
    display: block;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

aside .widget label {
    display: none;
}

.sticky,
.bypostauthor{position: relative;}

/* Portfolio Carousel */
#portfolio .text-block.shortcode h3 {
	margin-top: 40px;
}
.portfolio-shortcode .item-media {
	position: relative;
	overflow: hidden;
	height: 40vh;
}
.portfolio-shortcode .item-media:hover img{
	-webkit-transform: translateY(calc(40vh - 100%));
	-moz-transform: translateY(calc(40vh - 100%));
	-ms-transform: translateY(calc(40vh - 100%));
	transform: translateY(calc(40vh - 100%));
}
.portfolio-shortcode .item-media img {
	max-width: 100%;
	width: auto;
	transition: 1.5s ease-in-out all;
}
.portfolio-shortcode .gallery-item .media-links:before {
    background-color: rgba(255, 255, 255, 0.7) !important;
}
@media only screen and (max-width: 768px) {
	.portfolio-shortcode .item-media:hover img{
		-webkit-transform: none;
		-moz-transform: none;
		-ms-transform: none;
		transform: none;
	}	
}