/* -------------------------------------------------------------- 

   custom-editor-style.css
   * set up some style in WP editor.
    
-------------------------------------------------------------- */

@import url( '../third-party/bootstrap/dist/css/bootstrap.css' );
@import url( '../css/custom-style.css' );

body { 
    font-family: "Roboto", Helvetica, Arial, Sans-Serif;
    font-size: 15px;
    margin: 10px; 
}

 a {
	color: #006ec3;
}

p {
    font-size: 14px;
	margin: 0 0 10px;
	line-height: 1.65em;
	text-align: justify;
}

blockquote {
    border-left: 3px solid #eee;
    font-size: initial;
    margin: 0 0 20px;      
    padding: 10px 20px;
}

.dropcap {
	display: inline;
	font-size: 35px;
	line-height: normal;
}


/*media*/
.size-auto {
	height: auto;
	max-width: 100%;
}

.size-full {
	width: 100%;
	height: 100%;
}

img.wp-post-image {
	height: auto;
	max-width: 100%;
}

img.attachment-large-image,
img.attachment-standard-image,
img.attahment-masonry-image {
	height: auto;
	max-width: 100%;
}

img.attachment-widget-image {
	max-width: 100%;
}

.alignnone {
    margin: 0;
}

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

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

img.alignright,
a img.alignright {
    float: right;
}

img.alignnone,
a img.alignnone {
    margin: 0;
}

img.alignleft,
a img.alignleft {
    float: left;
}

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

.wp-caption {
	position: relative;
}

.wp-caption-text {
    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-dd,
.wp-caption-text {
	font-family: inherit;
    font-weight: 700;
	font-size: 10px;
    font-style: normal;
	letter-spacing: 0.03em;
    text-align: center;
	text-transform: uppercase;
}

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

.wp-caption-dd,
.wp-caption-text
.gallery-caption {
    position: relative;
}

.gallery .gallery-caption {
    clear: both;
    font-size: 11px;
    margin: 0;
}


/**
 * Galleries
 * ----------------------------------------------------------------------------
 * These styles come from Wordpress Default Theme.
 */

.gallery {
	margin-bottom: 20px;
	margin-left: -4px;
}

.gallery-item {
	float: left;
	margin: 0 4px 4px 0;
	overflow: hidden;
	position: relative;
}

.gallery .gallery-item {
    margin: 0 4px 4px 0;
    padding: 0;
}

.gallery-icon {
    background-color: black;
    box-shadow: 0 1px 2px rgba( 0, 0, 0, 0.1);
    float: left;
    overflow: hidden;
    position: relative;
}

.gallery-icon img {
	opacity: 1;
}

.gallery-icon:hover img {
	opacity: 0.6;	
	-webkit-transition: 0.3s;
	-o-transition: 0.3s;
	transition: 0.3s;
}

.gallery-columns-1,
.gallery-columns-2,
.gallery-columns-3 {
	display: table;
	margin: 0 auto 20px;
}

.gallery-columns-1 .gallery-item,
.gallery-columns-2 .gallery-item,
.gallery-columns-3 .gallery-item {
	text-align: center;
    width: initial;
}

.gallery-columns-4 .gallery-item {
	max-width: 23%;
	max-width: -webkit-calc(25% - 4px);
	max-width:         calc(25% - 4px);
}

.gallery-columns-5 .gallery-item {
	max-width: 19%;
	max-width: -webkit-calc(20% - 4px);
	max-width:         calc(20% - 4px);
}

.gallery-columns-6 .gallery-item {
	max-width: 15%;
	max-width: -webkit-calc(16.7% - 4px);
	max-width:         calc(16.7% - 4px);
}

.gallery-columns-7 .gallery-item {
	max-width: 13%;
	max-width: -webkit-calc(14.28% - 4px);
	max-width:         calc(14.28% - 4px);
}

.gallery-columns-8 .gallery-item {
	max-width: 11%;
	max-width: -webkit-calc(12.5% - 4px);
	max-width:         calc(12.5% - 4px);
}

.gallery-columns-9 .gallery-item {
	max-width: 9%;
	max-width: -webkit-calc(11.1% - 4px);
	max-width:         calc(11.1% - 4px);
}

.gallery-columns-1 .gallery-item:nth-of-type(1n),
.gallery-columns-2 .gallery-item:nth-of-type(2n),
.gallery-columns-3 .gallery-item:nth-of-type(3n),
.gallery-columns-4 .gallery-item:nth-of-type(4n),
.gallery-columns-5 .gallery-item:nth-of-type(5n),
.gallery-columns-6 .gallery-item:nth-of-type(6n),
.gallery-columns-7 .gallery-item:nth-of-type(7n),
.gallery-columns-8 .gallery-item:nth-of-type(8n),
.gallery-columns-9 .gallery-item:nth-of-type(9n) {
	margin-right: 0;
}

.gallery-columns-1.gallery-size-medium figure.gallery-item:nth-of-type(1n+1),
.gallery-columns-1.gallery-size-thumbnail figure.gallery-item:nth-of-type(1n+1),
.gallery-columns-2.gallery-size-thumbnail figure.gallery-item:nth-of-type(2n+1),
.gallery-columns-3.gallery-size-thumbnail figure.gallery-item:nth-of-type(3n+1) {
	clear: left;
}

.gallery-caption {
	background-color: rgba(0, 0, 0, 0.7);
	box-sizing: border-box;
	color: #fff;
	font-size: 14px;
	line-height: 1.3;
	margin: 0;
	max-height: 50%;
	opacity: 0;
	padding: 2px 8px;
	position: absolute;
	bottom: 0;
	left: 0;
	text-align: left;
	-webkit-transition: opacity 400ms ease;
	transition:         opacity 400ms ease;
	width: 100%;
}

.gallery-caption:before {
	box-shadow: 0 -10px 15px #000 inset;
	content: "";
	min-height: 49px;
	position: absolute;
	    left: 0;
	    top: 0;
	width: 100%;
    height: 100%;
}

.gallery-item:hover .gallery-caption {
	opacity: 1;
}

.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}