/*!
 Version: 1.0
 Author: GT3 Themes
 Website: https//gt3themes.com
 */

#cpt-gt3_gallery_section .gt3-media-list {
	display: -webkit-box;
	display: -moz-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;

	flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	margin: 0 -15px 0 0;
}
#cpt-gt3_gallery_section .gt3-media-list:not(:empty) {
	margin-top: 15px;
	margin-bottom: -15px;
}

#cpt-gt3_gallery_section .gt3-media-list .gt3-image-item {
	margin-right: 15px;
	margin-bottom: 15px;
	position: relative;
	line-height: 0;
	cursor: move;
	cursor: -moz-grab;
	cursor: grab;
	cursor: -webkit-grab;
	width: 150px;
	height: 150px;
}

#cpt-gt3_gallery_section .gt3-image-item:active,
#cpt-gt3_gallery_section .gt3-image-item *:active {
	cursor: -moz-grabbing;
	cursor: grabbing;
	cursor: -webkit-grabbing;
}

#cpt-gt3_gallery_section .gt3-media-bar {
	position: absolute;
	top: 5px;
	right: 5px;
	opacity: 0;
	visibility: hidden;
}

#cpt-gt3_gallery_section .gt3-image-item .gt3-overlay {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: black;
	opacity: 0;
	-webkit-transition: opacity 200ms ease-in-out;
	-moz-transition: opacity 200ms ease-in-out;
	-o-transition: opacity 200ms ease-in-out;
	transition: opacity 200ms ease-in-out;
}

#cpt-gt3_gallery_section .gt3-image-item:hover .gt3-overlay {
	opacity: 0.2;
}

#cpt-gt3_gallery_section .gt3-image-item:hover .gt3-media-bar{
	opacity: 1;
	visibility: visible;
}

#cpt-gt3_gallery_section .gt3-image-item a {
	text-decoration: none;
}

#cpt-gt3_gallery_section .gt3-media-view {
	margin-top: 10px;
}

#cpt-gt3_gallery_section .gt3-media-view .gt3-clear-media {
	top: 0;
	margin-left: 10px;
}

#cpt-gt3_gallery_section .gt3-edit-media {
	display: block;
	width: 30px;
	height: 30px;
	background: #2ed188 url("img/edit.png") no-repeat center;
	background-size: 18px;
	margin-bottom: 5px;
	border-radius: 3px;
}

#cpt-gt3_gallery_section .gt3-remove-media {
	display: block;
	width: 30px;
	height: 30px;
	background: #ff767d url("img/delete.png") no-repeat center;
	background-size: 16px;
	border-radius: 3px;
}

#cpt-gt3_gallery_section .gt3-media-status {
	height: 28px;
	padding: 0 10px;
	line-height: 28px;
	float: right;
}

@media screen  and (max-width: 782px){

	#cpt-gt3_gallery_section .gt3-media-list .gt3-image-item {
		width: 100px;
		height: 100px;
	}

	#cpt-gt3_gallery_section .gt3-clear-media {
		padding: 4px 8px;
	}

	#cpt-gt3_gallery_section .gt3-add-media {
		padding: 0 10px;
		font-size: 13px;
		line-height: 26px;
	}
}

@media screen and (max-width: 480px){

	#cpt-gt3_gallery_section .gt3-media-status {
		padding: 0 10px;
		line-height: 28px;
		float: none;
		display: block;
		text-align: center;
		clear: both;
	}

	#cpt-gt3_gallery_section .gt3-clear-media {
		float: right;
	}
}


/* Required for Dashicons to work properly */
i.mce-i-icon {
	font: 400 20px/1 dashicons;
	padding: 0;
	vertical-align: top;
	speak: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	margin-left: -2px;
	padding-right: 2px
}
