/*-----------------------------------------------
Styles from Twitter Bootstrap
-----------------------------------------------*/

@font-face {
  font-family: 'Quicksand';
  src: url('fonts/Quicksand-Light.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

#menu-posts-maxgallery > ul:nth-child(2) > li:nth-child(9),
#menu-posts-maxgallery > ul:nth-child(2) > li:nth-child(10),
#menu-posts-maxgallery > ul:nth-child(2) > li:nth-child(11) {
  display: none;
}

a[href="edit.php?post_type=maxgallery&page=mg-admin-notice"],
a[href="edit.php?post_type=maxgallery&page=mg-review-notice"],
a[href="edit.php?post_type=maxgallery&page=mg-review-later"] {
    display: none;
}

.maxgalleria-meta .ui-widget-header {
	background: #fff;
	border-top: 0 none;
	border-left: 0 none;
	border-right: 0 none;
	border-bottom: 4px solid #22bce9;
}

li.ui-state-default.ui-corner-top:hover,
li.ui-state-default.ui-corner-top {
	background: #F0F0F0;
	border: 0 none;
}

ul.ui-tabs-nav li.ui-state-default.ui-corner-top.ui-tabs-active.ui-state-active {
	background: #22bce9;
	border: 0 none;
}
ul.ui-tabs-nav li.ui-state-default.ui-corner-top.ui-tabs-active.ui-state-active a {
	color: #fff !important;
}	

#maxgalleria-tabs.ui-tabs.ui-widget.ui-widget-content.ui-corner-all ul.ui-tabs-nav li	a:hover,
#maxgalleria-tabs.ui-tabs.ui-widget.ui-widget-content.ui-corner-all ul.ui-tabs-nav li	a:focus {	
  color: #22bce9;
	outline: 0 none;
	border: 0 none;	
}

#maxgalleria-tabs.ui-tabs ul.ui-tabs-nav li,
#maxgalleria-tabs.ui-tabs ul.ui-tabs-nav li a:hover,
#maxgalleria-tabs.ui-tabs ul.ui-tabs-nav li a:active,
#maxgalleria-tabs.ui-tabs ul.ui-tabs-nav li a:focus {
	outline: 0 none !important;
	border: 0 none !important;
}

.mxg-btn {
    background: #22bce9;
    border-radius: 2px;
    color: #fff;
    display: inline-block;
    text-transform: uppercase;
    font-size: 14px;
    padding: 6px 10px;
    transition: all .2s linear;
}

div.add-media a.mxg-btn.maxgalleria-open-media {
  color: #fff;	
	text-decoration: none;
}

.mxg-btn:hover, .mxg-dashboard .mxg-btn:focus {
    background: #3fccf5;
}

.ui-tabs .ui-tabs-nav li {
	border: 0 none;	
}
.ui-tabs .ui-tabs-nav li a {
	text-transform: uppercase;
}


maxgalleria-meta .ui-state-default, .maxgalleria-meta .ui-widget-content .ui-state-default, .maxgalleria-meta .ui-widget-header .ui-state-default {
  border: 0 none;
}

.maxgalleria-meta .ui-state-default a, .maxgalleria-meta .ui-state-default a:link, .maxgalleria-meta .ui-state-default a:visited {
	color: #000;
	text-decoration: none;
	font-weight: 400;
	font-size: 14px;

/*  background: #f0f0f0;
  color: #000;
  display: block;
  font-size: 14px;
  font-weight: 400;
  padding: 8px 12px;
  text-decoration: none;
  text-transform: uppercase;
  transition: all .2s linear;*/
}

/*.maxgalleria-meta .ui-tabs-active .ui-state-active a:hover, .maxgalleria-meta .ui-tabs-active .ui-state-active a:focus {
	color: #22bce9;
}
.maxgalleria-meta .ui-state-active {
  background: #22bce9;
  color: #fff;
}
.maxgalleria-meta .ui-state-active a .active:hover, .maxgalleria-meta .ui-state-active a .active:focus {
	color: #fff;
	cursor: default;
}*/




.maxgalleria-meta .btn {
	display: inline-block;
	*display: inline;
	/* IE7 inline-block hack */
	*zoom: 1;
	padding: 4px 10px 4px;
	margin-bottom: 0;
	font-size: 13px;
	font-family: "Quicksand", sans-serif;
	line-height: 18px;
	*line-height: 20px;
	color: #333333;
	text-align: center;
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
	vertical-align: middle;
	cursor: pointer;
	background-color: #f5f5f5;
	background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
	background-image: -ms-linear-gradient(top, #ffffff, #e6e6e6);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
	background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
	background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
	background-image: linear-gradient(top, #ffffff, #e6e6e6);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);
	border-color: #e6e6e6 #e6e6e6 #bfbfbf;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
	*background-color: #e6e6e6;
	/* Darken IE7 buttons by default so they stand out more given they won't have borders */
	filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
	border: 1px solid #cccccc;
	*border: 0;
	border-bottom-color: #b3b3b3;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	*margin-left: .3em;
	-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
	-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
}
.maxgalleria-meta .btn:hover,
.maxgalleria-meta .btn:active,
.maxgalleria-meta .btn.active,
.maxgalleria-meta .btn.disabled,
.maxgalleria-meta .btn[disabled] {
	background-color: #e6e6e6;
	*background-color: #d9d9d9;
}
.maxgalleria-meta .btn:active,
.maxgalleria-meta .btn.active {
	background-color: #cccccc \9;
}
.maxgalleria-meta .btn:first-child {
	*margin-left: 0;
}
.maxgalleria-meta .btn:hover {
	color: #333333;
	text-decoration: none;
	background-color: #e6e6e6;
	*background-color: #d9d9d9;
	/* Buttons in IE7 don't get borders, so darken on hover */
	background-position: 0 -15px;
	-webkit-transition: background-position 0.1s linear;
	-moz-transition: background-position 0.1s linear;
	-ms-transition: background-position 0.1s linear;
	-o-transition: background-position 0.1s linear;
	transition: background-position 0.1s linear;
}
.maxgalleria-meta .btn:focus {
	outline: thin dotted #333;
	outline: 5px auto -webkit-focus-ring-color;
	outline-offset: -2px;
}
.maxgalleria-meta .btn.active,
.maxgalleria-meta .btn:active {
	background-color: #e6e6e6;
	background-color: #d9d9d9 \9;
	background-image: none;
	outline: 0;
	-webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
	-moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
	box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
}
.maxgalleria-meta .btn.disabled,
.maxgalleria-meta .btn[disabled] {
	cursor: default;
	background-color: #e6e6e6;
	background-image: none;
	opacity: 0.65;
	filter: alpha(opacity=65);
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}
.maxgalleria-meta .btn-large {
	padding: 9px 14px;
	font-size: 15px;
	line-height: normal;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
.maxgalleria-meta .btn-small {
	padding: 5px 9px;
	font-size: 11px;
	line-height: 16px;
}
.maxgalleria-meta .btn-mini {
	padding: 2px 6px;
	font-size: 11px;
	line-height: 14px;
}
.maxgalleria-meta .btn-primary,
.maxgalleria-meta .btn-primary:hover,
.maxgalleria-meta .btn-warning,
.maxgalleria-meta .btn-warning:hover,
.maxgalleria-meta .btn-danger,
.maxgalleria-meta .btn-danger:hover,
.maxgalleria-meta .btn-success,
.maxgalleria-meta .btn-success:hover,
.maxgalleria-meta .btn-info,
.maxgalleria-meta .btn-info:hover,
.maxgalleria-meta .btn-inverse,
.maxgalleria-meta .btn-inverse:hover {
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.maxgalleria-meta .btn-primary.active,
.maxgalleria-meta .btn-warning.active,
.maxgalleria-meta .btn-danger.active,
.maxgalleria-meta .btn-success.active,
.maxgalleria-meta .btn-info.active,
.maxgalleria-meta .btn-inverse.active {
	color: rgba(255, 255, 255, 0.75);
}
.maxgalleria-meta .btn {
	border-color: #ccc;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}
.maxgalleria-meta .btn-primary {
	background-color: #0074cc;
	background-image: -moz-linear-gradient(top, #0088cc, #0055cc);
	background-image: -ms-linear-gradient(top, #0088cc, #0055cc);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0055cc));
	background-image: -webkit-linear-gradient(top, #0088cc, #0055cc);
	background-image: -o-linear-gradient(top, #0088cc, #0055cc);
	background-image: linear-gradient(top, #0088cc, #0055cc);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0055cc', GradientType=0);
	border-color: #0055cc #0055cc #003580;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
	*background-color: #0055cc;
	/* Darken IE7 buttons by default so they stand out more given they won't have borders */
	filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}
.maxgalleria-meta .btn-primary.maxgalleria-open-media {
	font-family: "Quicksand", sans-serif;
}
.maxgalleria-meta #galleries_select_button {
	font-family: "Quicksand", sans-serif;
}

form#video-add-form .btn.btn-primary,
.maxgalleria-meta .btn-primary:hover,
.maxgalleria-meta .btn-primary:active,
.maxgalleria-meta .btn-primary.active,
.maxgalleria-meta .btn-primary.disabled,
.maxgalleria-meta .btn-primary[disabled] {
	background-color: #0055cc;
	*background-color: #004ab3;
}
.maxgalleria-meta .btn-primary:active,
.maxgalleria-meta .btn-primary.active {
	background-color: #004099 \9;
}
.maxgalleria-meta .btn-warning {
	background-color: #faa732;
	background-image: -moz-linear-gradient(top, #fbb450, #f89406);
	background-image: -ms-linear-gradient(top, #fbb450, #f89406);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));
	background-image: -webkit-linear-gradient(top, #fbb450, #f89406);
	background-image: -o-linear-gradient(top, #fbb450, #f89406);
	background-image: linear-gradient(top, #fbb450, #f89406);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450', endColorstr='#f89406', GradientType=0);
	border-color: #f89406 #f89406 #ad6704;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
	*background-color: #f89406;
	/* Darken IE7 buttons by default so they stand out more given they won't have borders */
	filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}
.maxgalleria-meta .btn-warning:hover,
.maxgalleria-meta .btn-warning:active,
.maxgalleria-meta .btn-warning.active,
.maxgalleria-meta .btn-warning.disabled,
.maxgalleria-meta .btn-warning[disabled] {
	background-color: #f89406;
	*background-color: #df8505;
}
.maxgalleria-meta .btn-warning:active,
.maxgalleria-meta .btn-warning.active {
	background-color: #c67605 \9;
}
.maxgalleria-meta .btn-danger {
	background-color: #da4f49;
	background-image: -moz-linear-gradient(top, #ee5f5b, #bd362f);
	background-image: -ms-linear-gradient(top, #ee5f5b, #bd362f);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f));
	background-image: -webkit-linear-gradient(top, #ee5f5b, #bd362f);
	background-image: -o-linear-gradient(top, #ee5f5b, #bd362f);
	background-image: linear-gradient(top, #ee5f5b, #bd362f);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#bd362f', GradientType=0);
	border-color: #bd362f #bd362f #802420;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
	*background-color: #bd362f;
	/* Darken IE7 buttons by default so they stand out more given they won't have borders */
	filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}
.maxgalleria-meta .btn-danger:hover,
.maxgalleria-meta .btn-danger:active,
.maxgalleria-meta .btn-danger.active,
.maxgalleria-meta .btn-danger.disabled,
.maxgalleria-meta .btn-danger[disabled] {
	background-color: #bd362f;
	*background-color: #a9302a;
}
.maxgalleria-meta .btn-danger:active,
.maxgalleria-meta .btn-danger.active {
	background-color: #942a25 \9;
}
.maxgalleria-meta .btn-success {
	background-color: #5bb75b;
	background-image: -moz-linear-gradient(top, #62c462, #51a351);
	background-image: -ms-linear-gradient(top, #62c462, #51a351);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351));
	background-image: -webkit-linear-gradient(top, #62c462, #51a351);
	background-image: -o-linear-gradient(top, #62c462, #51a351);
	background-image: linear-gradient(top, #62c462, #51a351);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#51a351', GradientType=0);
	border-color: #51a351 #51a351 #387038;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
	*background-color: #51a351;
	/* Darken IE7 buttons by default so they stand out more given they won't have borders */
	filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}
.maxgalleria-meta .btn-success:hover,
.maxgalleria-meta .btn-success:active,
.maxgalleria-meta .btn-success.active,
.maxgalleria-meta .btn-success.disabled,
.maxgalleria-meta .btn-success[disabled] {
	background-color: #51a351;
	*background-color: #499249;
}
.maxgalleria-meta .btn-success:active,
.maxgalleria-meta .btn-success.active {
	background-color: #408140 \9;
}
.maxgalleria-meta .btn-info {
	background-color: #49afcd;
	background-image: -moz-linear-gradient(top, #5bc0de, #2f96b4);
	background-image: -ms-linear-gradient(top, #5bc0de, #2f96b4);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4));
	background-image: -webkit-linear-gradient(top, #5bc0de, #2f96b4);
	background-image: -o-linear-gradient(top, #5bc0de, #2f96b4);
	background-image: linear-gradient(top, #5bc0de, #2f96b4);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#2f96b4', GradientType=0);
	border-color: #2f96b4 #2f96b4 #1f6377;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
	*background-color: #2f96b4;
	/* Darken IE7 buttons by default so they stand out more given they won't have borders */
	filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}
.maxgalleria-meta .btn-info:hover,
.maxgalleria-meta .btn-info:active,
.maxgalleria-meta .btn-info.active,
.maxgalleria-meta .btn-info.disabled,
.maxgalleria-meta .btn-info[disabled] {
	background-color: #2f96b4;
	*background-color: #2a85a0;
}
.maxgalleria-meta .btn-info:active,
.maxgalleria-meta .btn-info.active {
	background-color: #24748c \9;
}
.maxgalleria-meta .btn-inverse {
	background-color: #414141;
	background-image: -moz-linear-gradient(top, #555555, #222222);
	background-image: -ms-linear-gradient(top, #555555, #222222);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#555555), to(#222222));
	background-image: -webkit-linear-gradient(top, #555555, #222222);
	background-image: -o-linear-gradient(top, #555555, #222222);
	background-image: linear-gradient(top, #555555, #222222);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#555555', endColorstr='#222222', GradientType=0);
	border-color: #222222 #222222 #000000;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
	*background-color: #222222;
	/* Darken IE7 buttons by default so they stand out more given they won't have borders */
	filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}
.maxgalleria-meta .btn-inverse:hover,
.maxgalleria-meta .btn-inverse:active,
.maxgalleria-meta .btn-inverse.active,
.maxgalleria-meta .btn-inverse.disabled,
.maxgalleria-meta .btn-inverse[disabled] {
	background-color: #222222;
	*background-color: #151515;
}
.maxgalleria-meta .btn-inverse:active,
.maxgalleria-meta .btn-inverse.active {
	background-color: #080808 \9;
}
.maxgalleria-meta button.btn,
.maxgalleria-meta input[type="submit"].btn {
	*padding-top: 2px;
	*padding-bottom: 2px;
}
.maxgalleria-meta button.btn::-moz-focus-inner,
.maxgalleria-meta input[type="submit"].btn::-moz-focus-inner {
	padding: 0;
	border: 0;
}
.maxgalleria-meta button.btn.btn-large,
.maxgalleria-meta input[type="submit"].btn.btn-large {
	*padding-top: 7px;
	*padding-bottom: 7px;
}
.maxgalleria-meta button.btn.btn-small,
.maxgalleria-meta input[type="submit"].btn.btn-small {
	*padding-top: 3px;
	*padding-bottom: 3px;
}
.maxgalleria-meta button.btn.btn-mini,
.maxgalleria-meta input[type="submit"].btn.btn-mini {
	*padding-top: 1px;
	*padding-bottom: 1px;
}
.maxgalleria-meta .label,
.maxgalleria-meta .badge {
	font-size: 12px;
	font-weight: bold;
	line-height: 14px;
	color: #ffffff;
	vertical-align: baseline;
	white-space: nowrap;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #999999;
}
.maxgalleria-meta .label {
	padding: 1px 4px 2px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
.maxgalleria-meta .badge {
	padding: 1px 9px 2px;
	-webkit-border-radius: 9px;
	-moz-border-radius: 9px;
	border-radius: 9px;
}
.maxgalleria-meta a.label:hover,
.maxgalleria-meta a.badge:hover {
	color: #ffffff;
	text-decoration: none;
	cursor: pointer;
}
.maxgalleria-meta .label-important,
.maxgalleria-meta .badge-important {
	background-color: #b94a48;
}
.maxgalleria-meta .label-important[href],
.maxgalleria-meta .badge-important[href] {
	background-color: #953b39;
}
.maxgalleria-meta .label-warning,
.maxgalleria-meta .badge-warning {
	background-color: #f89406;
}
.maxgalleria-meta .label-warning[href],
.maxgalleria-meta .badge-warning[href] {
	background-color: #c67605;
}
.maxgalleria-meta .label-success,
.maxgalleria-meta .badge-success {
	background-color: #468847;
}
.maxgalleria-meta .label-success[href],
.maxgalleria-meta .badge-success[href] {
	background-color: #356635;
}
.maxgalleria-meta .label-info,
.maxgalleria-meta .badge-info {
	background-color: #3a87ad;
}
.maxgalleria-meta .label-info[href],
.maxgalleria-meta .badge-info[href] {
	background-color: #2d6987;
}
.maxgalleria-meta .label-inverse,
.maxgalleria-meta .badge-inverse {
	background-color: #333333;
}
.maxgalleria-meta .label-inverse[href],
.maxgalleria-meta .badge-inverse[href] {
	background-color: #1a1a1a;
}
.maxgalleria-meta .alert {
	padding: 8px 35px 8px 14px;
	margin-bottom: 18px;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	background-color: #fcf8e3;
	border: 1px solid #fbeed5;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	color: #c09853;
}
.maxgalleria-meta .alert-success {
	background-color: #dff0d8;
	border-color: #d6e9c6;
	color: #468847;
}
.maxgalleria-meta .alert-error {
	background-color: #f2dede;
	border-color: #eed3d7;
	color: #b94a48;
}
.maxgalleria-meta .alert-info {
	background-color: #d9edf7;
	border-color: #bce8f1;
	color: #3a87ad;
}
.maxgalleria-meta .alert h4 {
	padding: 0px;
	margin: 0px;
}

/*-----------------------------------------------
Meta Styles
-----------------------------------------------*/

#maxgalleria-tabs-options td {
	font-size: 15px;	
}
.maxgalleria-meta {
	padding: 5px 5px 3px 5px;
	font-size: 14px;
}
.maxgalleria-meta h4 {
	font-family: "Quicksand", sans-serif;
	font-weight: normal;
	font-size: 14px;
}
.maxgalleria-meta select {
	font-family: "Quicksand", sans-serif;
	font-size: 13px;
}
.maxgalleria-meta #bulk-action-select,
.maxgalleria-meta #bulk-action-apply {
	font-family: "Quicksand", sans-serif;
}
.maxgalleria-meta .clear {
	clear: both;
}
.maxgalleria-meta .gallery-type {
	text-align: center;
}
.maxgalleria-meta .gallery-type p {
	font-size: 16px;
	font-weight: bold;
}
.maxgalleria-meta .gallery-type label {
	font-size: 16px;
	font-weight: bold;
	text-align: center;
}
.maxgalleria-meta .gallery-type td {
	width: 140px;
	text-align: center;
}
.maxgalleria-meta .gallery-type img {
	margin-bottom: 2px;
	padding: 3px;
	border: solid 2px #ffffff;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}
.maxgalleria-meta .gallery-type img:hover {
    cursor: pointer;
	box-shadow: 0px 0px 3px #111111;
	-moz-box-shadow: 0px 0px 3px #111111;
    -webkit-box-shadow: 0px 0px 3px #111111;
}
.maxgalleria-meta .gallery-type img.selected {
	border: solid 2px #d1d1d1;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}
.maxgalleria-meta .gallery-templates .template {
	display: inline-block;
	vertical-align: top;
	margin-right: 10px;
	margin-bottom: 10px;
}
.maxgalleria-meta .gallery-templates .template img {
	padding: 3px;
	border: solid 2px #f9f9f9;
}
.maxgalleria-meta .gallery-templates .template img:hover {
    border: dashed 2px #b1b1b1;
	cursor: pointer;
}
.maxgalleria-meta .gallery-templates .template img.selected {
	border: solid 2px #808080;
}
.maxgalleria-meta p.no-templates {
	font-style: italic;
	color: #808080;
}
.maxgalleria-meta .add-media {
	float: left;
	margin-right: 50px;
}
.maxgalleria-meta .bulk-actions {
	float: left;
	margin-right: 50px;
	/*margin-top: 3px;*/
}
.maxgalleria-meta .adding-media-library-images-note,
.maxgalleria-meta .adding-videos-note {
	display: none;
	margin-top: 15px;
	padding-left: 5px;
}
.maxgalleria-meta .adding-media-library-images-note .gif img,
.maxgalleria-meta .adding-videos-note .gif img {
	border: none;
	background-color: transparent;
}
.maxgalleria-meta .adding-media-library-images-note .gif,
.maxgalleria-meta .adding-media-library-images-note .text,
.maxgalleria-meta .adding-videos-note .gif,
.maxgalleria-meta .adding-videos-note .text {
	float: left;
}
.maxgalleria-meta .adding-media-library-images-note .gif,
.maxgalleria-meta .adding-videos-note .gif {
	padding-top: 3px;
}
.maxgalleria-meta .adding-media-library-images-note .text,
.maxgalleria-meta .adding-videos-note .text {
	padding-top: 5px;
	margin-left: 5px;
}
#image-gallery-layout.postbox .inside,
#image-gallery-thumbnails.postbox .inside,
#image-gallery-lightbox.postbox .inside,
#image-gallery-advanced.postbox .inside {
	margin: 0px;
	padding: 0px 2px 5px 2px;
}
.maxgalleria-meta .ui-widget, h3.media-title {
	font-family: "Quicksand", sans-serif;
}
.maxgalleria-meta .media img,
.maxgalleria-meta .media img.attachment-maxgallery-meta-image-thumb-small,
.maxgalleria-meta .media img.attachment-maxgallery-meta-video-thumb-small {
	/*padding: 3px;*/
	border: solid 1px #333;
	background-color: #ffffff;	
}
.maxgalleria-meta .media table {
	width: 100% !important;
	border: solid 1px #e1e1e1;
	margin-top: 20px;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}
.maxgalleria-meta .media table tr:nth-child(odd) td {
	background-color: #f9f9f9;
}
.maxgalleria-meta .media table tr:nth-child(even) td {
	background-color: #ffffff;
}
.maxgalleria-meta .media table tr:last-child td {
	border: none;
}
.maxgalleria-meta .media table th {
	padding: 7px;
	border-bottom: solid 1px #e1e1e1;
	background-color: #f1f1f1;
	font-weight: bold;
	text-align: left;
	text-shadow: 0px 1px 0px #ffffff;
}
.maxgalleria-meta .media table td {
	padding: 10px 0;
	border-bottom: solid 1px #e1e1e1;
}
.maxgalleria-meta .media table td.checkbox,
.maxgalleria-meta .media table th.checkbox {
	width: 30px;
	text-align: center;
	vertical-align: top;
}
.maxgalleria-meta .media table td.thumb {
	vertical-align: top;
	text-align: center;
}
/*.maxgalleria-meta .media table td.thumb.image {
	width: 120px;
}
.maxgalleria-meta .media table td.thumb.video {
	width: 120px;
}*/
.maxgalleria-meta .media table td.thumb.image .exclude,
.maxgalleria-meta .media table td.thumb.video .exclude {
	opacity: 0.5;
}
.maxgalleria-meta .media table td.text {
	vertical-align: top;
	width: 48%;
}
.maxgalleria-meta .media table td.ms-order,
.maxgalleria-meta .media table th.ms-order {
  cursor: move;
  background-color: #efefef !important;
	text-align: center;
	width: 30px;
}

.maxgalleria-meta .media table td.thumb.video,
.maxgalleria-meta .media table th.thumb.video,
.maxgalleria-meta .media table td.thumb.image,
.maxgalleria-meta .media table th.thumb.image {
  width: 20%;
}

/*.maxgalleria-meta .media table td.sorting,
.maxgalleria-meta .media table th.sorting {
  width: 33%;
}*/


/*.maxgalleria-meta .media table td.mg-order,
.maxgalleria-meta .media table th.mg-order {
	display: none;
  visibility:collapse;
  width: 0;
}*/

.maxgalleria-meta .media table td.edit,
.maxgalleria-meta .media table th.edit {
	text-right: center;
	padding-right: 10px;
	width: 22%;
}

.maxgalleria-meta .media table td.reorder,
.maxgalleria-meta .media table th.reorder {
  cursor: auto;
	text-right: left;
	padding-right: 10px;
	width: 25%;
}

/*.mg-order {
  display: none;
}*/

.maxgalleria-meta .media .details {
  padding-left: 10px;
	width: 100%;
}
.maxgalleria-meta .media .details .detail-label {
	float: left;
	width: 70px;
	font-weight: bold;
	vertical-align: top;
	padding: 0px 10px 10px 5px;
}
.maxgalleria-meta .media .details .detail-value {
	float: left;
	vertical-align: top;
	padding: 0px 10px 10px 5px;
}
.maxgalleria-meta .media .reorder-media {
	text-align: right;
	padding-right: 10px;
	margin-left: 10px;
	height: 24px;
	width: 24px;
	background: url("images/up-down-24.png") no-repeat;
}
.maxgalleria-meta .media .reorder-media:hover {
	/*cursor: move;*/
  cursor: auto;
}
.maxgalleria-meta .media .actions {
	/*visibility: hidden;*/
	text-align: center;
}
.maxgalleria-meta .media .actions a {
	text-decoration: none;
}
.maxgalleria-meta .dataTables_length,
.maxgalleria-meta .dataTables_filter,
.maxgalleria-meta .dataTables_info,
.maxgalleria-meta .dataTables_paginate {
	display: none;
}
.maxgalleria-meta.tinymce {
	width: 99%;
}
.maxgalleria-meta.tinymce p,
.maxgalleria-meta.tinymce input,
.maxgalleria-meta.tinymce select {
	font-family: inherit;
	font-size: 13px;	
}
.maxgalleria-meta.tinymce p {
	padding: 0px;
	margin: 0px;
}
.maxgalleria-meta.tinymce select {
	padding: 3px;
	margin-top: 20px;
	margin-bottom: 20px;
}
.maxgalleria-meta.tinymce .actions .insert {
	display: inline-block;
	margin-right: 20px;
}
.maxgalleria-meta.tinymce .actions .cancel {
	display: inline-block;
}
.maxgalleria-meta.add-galleries,
.maxgalleria-meta.gallery-edit,
.maxgalleria-meta.gallery-edit-bulk,
.maxgalleria-meta.image-edit,
.maxgalleria-meta.image-edit-bulk,
.maxgalleria-meta.video-edit,
.maxgalleria-meta.video-edit-bulk,
.maxgalleria-meta.video-add {
	font-family: "Quicksand", sans-serif;
	font-size: 13px;
}
.maxgalleria-meta.video-add {
	padding: 0px 10px 10px 10px;
}
.maxgalleria-meta.video-add ul.addons {
	margin-bottom: 40px;
}
.maxgalleria-meta.add-galleries,
.maxgalleria-meta.gallery-edit table,
.maxgalleria-meta.gallery-edit-bulk table,
.maxgalleria-meta.image-edit table,
.maxgalleria-meta.image-edit-bulk table,
.maxgalleria-meta.video-edit table,
.maxgalleria-meta.video-edit-bulk table {
	width: 100%;
}
.maxgalleria-meta.gallery-edit table td,
.maxgalleria-meta.image-edit table td,
.maxgalleria-meta.video-edit table td {
	width: 50%;
}
.maxgalleria-meta.gallery-edit input[type='text'],
.maxgalleria-meta.gallery-edit textarea,
.maxgalleria-meta.image-edit input[type='text'],
.maxgalleria-meta.image-edit textarea,
.maxgalleria-meta.video-edit input[type='text'],
.maxgalleria-meta.video-edit textarea {
	width: 99%;
	font-family: "Quicksand", sans-serif;
	font-size: 13px;
	padding: 3px;
	border: solid 1px #e1e1e1;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}
.maxgalleria-meta.gallery-edit-bulk input[type='text'],
.maxgalleria-meta.image-edit-bulk input[type='text'],
.maxgalleria-meta.video-edit-bulk input[type='text'] {
	font-family: "Quicksand", sans-serif;
	font-size: 13px;
	padding: 3px;
	border: solid 1px #e1e1e1;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}
.maxgalleria-meta.gallery-edit-bulk input[type='text'],
.maxgalleria-meta.image-edit-bulk input[type='text'] {
	width: 400px;
}
.maxgalleria-meta.video-edit-bulk input[type='text'] {
	width: 370px;
}
.maxgalleria-meta.video-add input[type='text'],
.maxgalleria-meta.video-add textarea {
	width: 99%;
	font-family: inherit;
	font-size: 14px;
	padding: 3px;
	border: solid 1px #e1e1e1;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	line-height: 1.5em;
}
.maxgalleria-meta.gallery-edit textarea,
.maxgalleria-meta.image-edit textarea,
.maxgalleria-meta.video-edit textarea {
	height: 100px;
}
.maxgalleria-meta.gallery-edit textarea {
	height: 300px;	
}
.maxgalleria-meta.video-add textarea {
	height: 200px;
}
.maxgalleria-meta.gallery-edit .fields .field,
.maxgalleria-meta.image-edit .fields .field,
.maxgalleria-meta.video-edit .fields .field,
.maxgalleria-meta.video-add .fields .field {
	margin-bottom: 15px;
}
.maxgalleria-meta.gallery-edit .fields .field .field-label,
.maxgalleria-meta.image-edit .fields .field .field-label,
.maxgalleria-meta.video-edit .fields .field .field-label,
.maxgalleria-meta.video-add .fields .field .field-label {
	font-weight: bold;
	font-family: "Quicksand", sans-serif;
}
.maxgalleria-meta.gallery-edit-bulk .fields .field .field-label,
.maxgalleria-meta.image-edit-bulk .fields .field .field-label,
.maxgalleria-meta.video-edit-bulk .fields .field .field-label {
	float: left;
	font-family: "Quicksand", sans-serif;
	font-weight: bold;
	width: 75px;
	margin-top: 5px;
}
.maxgalleria-meta.gallery-edit-bulk .fields .field .field-value,
.maxgalleria-meta.image-edit-bulk .fields .field .field-value,
.maxgalleria-meta.video-edit-bulk .fields .field .field-value{
	float: left;
}
.maxgalleria-meta.gallery-edit-bulk .fields .field .field-value.last,
.maxgalleria-meta.image-edit-bulk .fields .field .field-value.last,
.maxgalleria-meta.video-edit-bulk .fields .field .field-value.last {
	margin-bottom: 20px;
}
.maxgalleria-meta.gallery-edit .fields .field .field-label span,
.maxgalleria-meta.image-edit .fields .field .field-label span,
.maxgalleria-meta.video-edit .fields .field .field-label span,
.maxgalleria-meta.video-add .fields .field .field-label span {
	color: #808080;
	font-style: italic;
	font-weight: normal;
	padding-left: 20px;
}
.maxgalleria-meta.gallery-edit .fields .field .field-value,
.maxgalleria-meta.image-edit .fields .field .field-value,
.maxgalleria-meta.video-edit .fields .field .field-value,
.maxgalleria-meta.video-add .fields .field .field-value {
	margin-top: 2px;
}
.maxgalleria-meta.gallery-edit .thumb,
.maxgalleria-meta.image-edit .thumb,
.maxgalleria-meta.video-edit .thumb {
	text-align: center;
}
.maxgalleria-meta.gallery-edit-bulk .thumb,
.maxgalleria-meta.image-edit-bulk .thumb,
.maxgalleria-meta.video-edit-bulk .thumb {
	padding-top: 3px;
	padding-left: 10px;
	padding-right: 10px;
}
.maxgalleria-meta.video-edit-bulk .thumb {
	padding-bottom: 20px;
}
.maxgalleria-meta.gallery-edit-bulk .thumb img,
.maxgalleria-meta.image-edit-bulk .thumb img.attachment-maxgallery-meta-image-thumb-small,
.maxgalleria-meta.video-edit-bulk .thumb img.attachment-maxgallery-meta-video-thumb-small {
	padding: 3px;
	border: solid 1px #b1b1b1;
	background-color: #ffffff;
}
.maxgalleria-meta.gallery-edit .thumb img,
.maxgalleria-meta.image-edit .thumb img.attachment-maxgallery-meta-image-thumb-large,
.maxgalleria-meta.video-edit .thumb img.attachment-maxgallery-meta-video-thumb-large {
	padding: 3px;
	border: solid 1px #b1b1b1;
	background-color: #ffffff;
}
.maxgalleria-meta.gallery-edit .thumb p,
.maxgalleria-meta.image-edit .thumb p,
.maxgalleria-meta.video-edit .thumb p {
	text-align: center;
	padding-top: 10px;
}
.maxgalleria-meta.gallery-edit .thumb a,
.maxgalleria-meta.image-edit .thumb a,
.maxgalleria-meta.video-edit .thumb a {
	text-decoration: none;
}
.maxgalleria-meta.video-add .note {
	padding-left: 30px;
}
.maxgalleria-meta.video-add .note p {
	padding-bottom: 10px;
}
.maxgalleria-meta.add-galleries .actions .save,
.maxgalleria-meta.gallery-edit .actions .save,
.maxgalleria-meta.gallery-edit-bulk .actions .save,
.maxgalleria-meta.image-edit .actions .save,
.maxgalleria-meta.image-edit-bulk .actions .save,
.maxgalleria-meta.video-edit .actions .save,
.maxgalleria-meta.video-edit-bulk .actions .save,
.maxgalleria-meta.video-add .actions .save {
	display: inline-block;
	margin-right: 10px;
}
.maxgalleria-meta.add-galleries .actions .save,
.maxgalleria-meta.gallery-edit-bulk .actions .save,
.maxgalleria-meta.image-edit-bulk .actions .save,
.maxgalleria-meta.video-edit-bulk .actions .save {
	margin-top: 10px;
}
.maxgalleria-meta.add-galleries .actions .cancel,
.maxgalleria-meta.gallery-edit .actions .cancel,
.maxgalleria-meta.gallery-edit-bulk .actions .cancel,
.maxgalleria-meta.image-edit .actions .cancel,
.maxgalleria-meta.image-edit-bulk .actions .cancel,
.maxgalleria-meta.video-edit .actions .cancel,
.maxgalleria-meta.video-edit-bulk .actions .cancel,
.maxgalleria-meta.video-add .actions .cancel {
	display: inline-block;
}
.maxgalleria-meta.video-add .actions .loading {
	display: inline-block;
	margin-left: 20px;
	margin-bottom: -10px;
}
.maxgalleria-meta.video-add .actions .loading .gif {
	float: left;
	padding-top: 6px;
}
.maxgalleria-meta.video-add .actions .loading .text {
	float: left;
	margin-left: 5px;
	padding-top: 5px;
	font-style: italic;
}
.maxgalleria-meta.add-galleries table tr:nth-child(odd) td,
.maxgalleria-meta.gallery-edit-bulk table tr:nth-child(odd) td,
.maxgalleria-meta.image-edit-bulk table tr:nth-child(odd) td,
.maxgalleria-meta.video-edit-bulk table tr:nth-child(odd) td {
	background-color: #f9f9f9;
	border-top: solid 1px #e1e1e1;
}
.maxgalleria-meta.add-galleries table tr:nth-child(even) td,
.maxgalleria-meta.gallery-edit-bulk table tr:nth-child(even) td,
.maxgalleria-meta.image-edit-bulk table tr:nth-child(even) td,
.maxgalleria-meta.video-edit-bulk table tr:nth-child(even) td {
	background-color: #ffffff;
	border-top: solid 1px #e1e1e1;
}
.maxgalleria-meta.add-galleries table tr:last-child td,
.maxgalleria-meta.gallery-edit-bulk table tr:last-child td,
.maxgalleria-meta.image-edit-bulk table tr:last-child td,
.maxgalleria-meta.video-edit-bulk table tr:last-child td {
	border-bottom: solid 1px #e1e1e1;
}
.maxgalleria-meta.add-galleries table td,
.maxgalleria-meta.gallery-edit-bulk table td,
.maxgalleria-meta.image-edit-bulk table td {
	padding-top: 10px;
}
.maxgalleria-meta.upload-label {
	float: right;
	padding: 0px;
}
.maxgalleria-meta.add-galleries .gallery-thumbs .gallery-thumb {
	float: left;
	margin: 10px 15px 35px 5px;
	width: 160px;
	height: 150px;
	text-align: center;
}
.maxgalleria-meta.add-galleries .gallery-thumbs .gallery-thumb img {
	border: solid 4px #f1f1f1;
	padding: 1px;
}
.maxgalleria-meta.add-galleries .gallery-thumbs .gallery-thumb img:hover {
	cursor: pointer;
}
.mg-meta-edit {
  cursor: pointer;
}
.maxgalleria-meta.add-galleries .gallery-thumbs .gallery-thumb img.selected {
	border: solid 4px #21759b;
	padding: 1px;
}
.maxgalleria-meta.add-galleries .actions .note {
	display: none;
	margin-top: 5px;
}
.maxgalleria-meta.add-galleries .actions .note .gif {
	float: left;
	padding-top: 6px;
}
.maxgalleria-meta.add-galleries .actions .note .text {
	float: left;
	margin-left: 5px;
	padding-top: 5px;
	font-style: italic;
}

/* These styles are for the List/Rows/Grid view options */
.maxgalleria-meta .list .text,
.maxgalleria-meta .list thead,
.maxgalleria-meta .list .checkbox,
.maxgalleria-meta .list .title {
	display: visible !important;
}
.maxgalleria-meta .grid .text,
.maxgalleria-meta .grid thead,
.maxgalleria-meta .grid .checkbox,
.maxgalleria-meta .grid .reorder-media,
.maxgalleria-meta .rows .detail-label,
.maxgalleria-meta .rows.images .detail-value:not(.title-value),
.maxgalleria-meta .rows.videos .detail-value:not(.title-value) {
	display: none !important;
}
.maxgalleria-meta .rows.images .title-value {
	padding-top: 13px !important;
	padding-left: 0px !important;
}
.maxgalleria-meta .rows.videos .title-value {
	padding-top: 10px !important;
	padding-left: 0px !important;
}
.maxgalleria-meta .rows img {
	padding: 0 !important;
	border: 0 !important;
	height: auto !important;
	float: left !important;
}
.maxgalleria-meta .rows.images img {
	width: 20% !important;
	max-width: 20% !important;
}
.maxgalleria-meta .rows.videos img {
	width: 25% !important;
	max-width: 25% !important;
}
.maxgalleria-meta .grid tbody {
	border: 0 !important;
}
.maxgalleria-meta .grid table {
	border: 0 !important;
}
.maxgalleria-meta .grid tr {
	display: block !important;
	padding: 0 !important;
	float: left !important;
	border: 0 !important;
	background: none !important;
	margin: 0 10px 10px 0 !important;
}
.maxgalleria-meta .rows.images .actions {
	margin-left: 10px !important;
	margin-top: 13px !important;
	width: 200px !important;
}
.maxgalleria-meta .rows.videos .actions {
	margin-left: 10px !important;
	margin-top: 10px !important;
	width: 200px !important;
}
.maxgalleria-meta .rows tr td.thumb.image {
	width: 200px !important;
}
.maxgalleria-meta .grid tr td.thumb.image {
	width: 140px !important;
}
.maxgalleria-meta .rows tr td.thumb.video {
	width: 200px !important;
}
.maxgalleria-meta .grid tr td.thumb.video {
	width: 160px !important;
}
.maxgalleria-meta .grid tr td {
	background: none !important;
	border-bottom: 0 !important;
}
.maxgalleria-meta .grid td.thumb {
	padding: 0 !important;
}
.maxgalleria-meta .grid td.reorder {
	border: 0 !important;
	padding: 0 !important;
}
.maxgalleria-meta .list tr:hover,
.maxgalleria-meta .list tr img,
.maxgalleria-meta .rows tr:hover,
.maxgalleria-meta .rows tr img,
.maxgalleria-meta .grid tr:hover,
.maxgalleria-meta .grid tr img {
	cursor: move !important;
}
.maxgalleria-meta ul.views {
	display: block;
	float: right;
	padding: 0;
	margin: 0;
	/*border-radius: 4px;*/
	overflow: hidden;
}
.maxgalleria-meta ul.views li {
	display: block;
	float: left;
	height: 31px;
	line-height: 22px;
	margin: 0;
}
.maxgalleria-meta ul.views li a {
	
	text-align: center;
	display: block;
	/*width: 100%;*/
	width: 32px;
	height: 100%;
	margin: 0;
	/*padding: 6px 14px;*/  
	padding: 4px;
	cursor: pointer;
	color: #888888;
	border: 1px solid #aaaaaa;
	background-color: #ddd;
/*	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #b5b5b5), color-stop(1, #d6d6d6));
	background-image: -o-linear-gradient(bottom, #b5b5b5 0%, #d6d6d6 100%);
	background-image: -moz-linear-gradient(bottom, #b5b5b5 0%, #d6d6d6 100%);
	background-image: -webkit-linear-gradient(bottom, #b5b5b5 0%, #d6d6d6 100%);
	background-image: -ms-linear-gradient(bottom, #b5b5b5 0%, #d6d6d6 100%);
	background-image: linear-gradient(to bottom, #b5b5b5 0%, #d6d6d6 100%);*/
}
.maxgalleria-meta ul.views li a.active {
	color: #333;
	border: 1px solid #CCC;
	background: #ffffff;
	background-color: #fefefe;
/*	background-image: -moz-linear-gradient(top, #0088cc, #0055cc);
	background-image: -ms-linear-gradient(top, #0088cc, #0055cc);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0055cc));
	background-image: -webkit-linear-gradient(top, #0088cc, #0055cc);
	background-image: -o-linear-gradient(top, #0088cc, #0055cc);
	background-image: linear-gradient(top, #0088cc, #0055cc);
	background-repeat: repeat-x;*/
}

.maxgalleria-meta ul.views li a:first-child,
.maxgalleria-meta ul.views li a:nth-child(2) {
	border-right: none;
}
.maxgalleria-meta ul.views li a:nth-child(3) {
	border-right: 1px solid #CCC;
}


.maxgalleria-meta #maxgalleria-tabs {
	border: none;
}
/*.maxgalleria-meta .meta-options {
	font-size: 15px;
}*/
.maxgalleria-meta .meta-options textarea {
	font-family: "Quicksand", sans-serif;
	width: 600px;
	height: 200px;
}
.maxgalleria-meta .meta-options input[type='text'],
.maxgalleria-meta .meta-options select {
	font-family: "Quicksand", sans-serif;
	width: 190px;
}
.maxgalleria-meta .meta-options input[type='text'].small {
	width: 50px;
}
.maxgalleria-meta .meta-options input[type='text'].wide {
	width: 450px;
}
.maxgalleria-meta .meta-options input[type='checkbox'] {
	margin: 8px 10px 5px 2px !important;
}
.maxgalleria-meta .meta-options .meta-template {
	text-align: center;
	display: inline-block;
	font-size: 15px;	
	vertical-align: top;
	margin: 5px 10px 10px 0px;
}
.maxgalleria-meta .meta-options .meta-template img {
	padding: 2px;
	border: solid 4px #ffffff;
}
.maxgalleria-meta .meta-options .meta-template img:hover {
	cursor: pointer;
}
.maxgalleria-meta .meta-options .meta-template img.selected {
	border: solid 4px #21759b;
}
.maxgalleria-meta .meta-options .meta-template input[type='radio'] {
	display: none;
}

/* Toggle button styles borrowed from https://acidjs.wemakesites.net/css3-iphone-buttons.html */
.maxgalleria-meta .toggle-buttons input[type="checkbox"] + div::after {
	content: "No";
}
.maxgalleria-meta .toggle-buttons input[type="checkbox"]:checked + div::after {
	content: "Yes";
}
.maxgalleria-meta .toggle-buttons {
	user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
	margin: 0;
}
.maxgalleria-meta .toggle-buttons label,
.maxgalleria-meta .toggle-buttons input[type="checkbox"] + div,
.maxgalleria-meta .toggle-buttons input[type="checkbox"] + div::before,
.maxgalleria-meta .toggle-buttons input[type="checkbox"] + div::after {
	display: inline-block;
	padding-top: 3px;
}
.maxgalleria-meta .toggle-buttons label,
.maxgalleria-meta .toggle-buttons input[type="checkbox"] + div {
	vertical-align: middle;
}
.maxgalleria-meta .toggle-buttons input[type="checkbox"] + div,
.maxgalleria-meta .toggle-buttons input[type="checkbox"] + div::before,
.maxgalleria-meta .toggle-buttons input[type="checkbox"] + div::after {
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}
.maxgalleria-meta .toggle-buttons input[type="checkbox"] + div::before,
.maxgalleria-meta .toggle-buttons input[type="checkbox"] + div::after,
.maxgalleria-meta .toggle-buttons input[type="checkbox"]:checked + div::before,
.maxgalleria-meta .toggle-buttons input[type="checkbox"]:checked + div::after {
	top: 0;
}
.maxgalleria-meta .toggle-buttons input[type="checkbox"] + div::after,
.maxgalleria-meta .toggle-buttons input[type="checkbox"]:checked + div::before {
	right: 0;
}
.maxgalleria-meta .toggle-buttons input[type="checkbox"] + div::before,
.maxgalleria-meta .toggle-buttons input[type="checkbox"]:checked + div::after {
	left: 0;
}
.maxgalleria-meta .toggle-buttons input[type="checkbox"],
.maxgalleria-meta .toggle-buttons input[type="checkbox"] + div::before,
.maxgalleria-meta .toggle-buttons input[type="checkbox"] + div::after {
	position: absolute;
}
.maxgalleria-meta .toggle-buttons label {
	margin: 0;
	cursor: pointer;
}
.maxgalleria-meta .toggle-buttons input[type="checkbox"] {
	filter: alpha(opacity=0);
	opacity: 0;
	-moz-opacity: 0;
	-webkit-opacity: 0;
}
.maxgalleria-meta .toggle-buttons input[type="checkbox"] + div {
	width: 80px;
	height: 20px;
	font-weight: normal;
	color: #8c8c8c;
	/*text-transform: uppercase;*/
	border: solid 1px #bcbbbb;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#c8c8c8", endColorstr="#f3f3f3");
	background: -moz-linear-gradient(top, #c8c8c8, #f3f3f3);
	background: -webkit-linear-gradient(top, #c8c8c8, #f3f3f3);
	background: -o-linear-gradient(top, #c8c8c8, #f3f3f3);
	background: -ms-linear-gradient(top, #c8c8c8, #f3f3f3);
	background: linear-gradient(top, #c8c8c8, #f3f3f3);
	position: relative;
	text-indent: -9999px;
}
.maxgalleria-meta .toggle-buttons input[type="checkbox"] + div::before {
	content: "";
	width: 35%;
	height: 19px;
	border-top: solid 1px #ffffff;
	border-right: solid 1px #bebebe;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#cfcfcf", endColorstr="#f9f9f9");
	background: -moz-linear-gradient(top, #cfcfcf, #f9f9f9);
	background: -webkit-linear-gradient(top, #cfcfcf, #f9f9f9);
	background: -o-linear-gradient(top, #cfcfcf, #f9f9f9);
	background: -ms-linear-gradient(top, #cfcfcf, #f9f9f9);
	background: linear-gradient(top, #cfcfcf, #f9f9f9);
	box-shadow: 1px 0 1px #bebebe;
	-moz-box-shadow: 1px 0 1px #bebebe;
	-webkit-box-shadow: 1px 0 1px #bebebe;
}
.maxgalleria-meta .toggle-buttons input[type="checkbox"] + div::after {
	text-indent: 0;
	width: 67%;
	height: 22px;
	text-align: center;
}
.maxgalleria-meta .toggle-buttons input[type="checkbox"]:checked + div {
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#05c", endColorstr="#08c");
	background: -moz-linear-gradient(top, #05c, #08c);
	background: -webkit-linear-gradient(top, #05c, #08c);
	background: -o-linear-gradient(top, #05c, #08c);
	background: -ms-linear-gradient(top, #05c, #08c);
	background: linear-gradient(top, #05c, #08c);
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.maxgalleria-meta .toggle-buttons input[type="checkbox"]:checked + div::before {
	left: auto;
	box-shadow: -2px 0 1px #3a5e91;
	-moz-box-shadow: -2px 0 1px #3a5e91;
	-webkit-box-shadow: -2px 0 1px #3a5e91;
}
.maxgalleria-meta .toggle-buttons input[type="checkbox"]:checked + div::after {
	border-top: solid 1px #0f2a4f;
	border-bottom: solid 1px #0f2a4f;
	border-left: solid 1px #2c5496;
	height: 20px;
	top: -1px;
	left: -1px;
	border-radius: 3px 0 0 3px;
	-moz-border-radius: 3px 0 0 3px;
	-webkit-border-radius: 3px 0 0 3px;
}

/*-----------------------------------------------
Admin Page Styles
-----------------------------------------------*/
#maxgalleria-admin {
	margin: 0px 15px 20px 0px;
	font-size: 15px;
	font-family: "Quicksand", sans-serif;
}
#maxgalleria-admin .clear {
	clear: both;
}
#maxgalleria-admin .wrap {
	margin-right: 0px;
}
#maxgalleria-admin h2.title {
	float: left;
}
#maxgalleria-admin h2.tabs {
	border-bottom: solid 1px #cccccc;
	padding-bottom: 0px;
	margin-top: 10px;
}
#maxgalleria-admin h2.tabs .spacer {
	padding-right: 20px;
}
#maxgalleria-admin p {
	line-height: 1.5em;
}
#maxgalleria-admin .section {
	margin-top: 20px;
	margin-bottom: 20px;
	border: solid 1px #cccccc;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}
#maxgalleria-admin .section .header {	
	font-family: inherit;
	font-size: 14px;
	font-weight: bold;
	color: #222222;
	padding: 9px 8px 9px 8px;
	text-align: left;
	background-color: #ffffff;
}
#maxgalleria-admin .section .inside {
	padding: 10px 15px 20px 15px;
	border-top: solid 1px #cccccc;
	background-color: #ffffff;
}
#maxgalleria-admin h4.license-label {
	margin-bottom: 0px;
	margin-top: 0px;
	font-weight: normal;
}
#maxgalleria-admin h4.license-data {
	margin-bottom: 0px;
	margin-top: 0px;
	margin-left: 20px;
}
#maxgalleria-admin input[type="text"].license-key {
	width: 300px;
}
#maxgalleria-admin p.license-note {
	font-style: italic;
	color: #808080;
	padding-bottom: 0px;
	margin-bottom: 0px;
}
#maxgalleria-admin textarea.system-info {
	font-family: Consolas, 'Courier New', 'Courier';
	font-size: 13px;
	width: 100%;
	height: 500px;
	background-color: #f9f9f9;
}
#maxgalleria-admin .import {
	padding: 10px 0px 0px 0px;
}
#maxgalleria-admin .import h4 {
	padding: 0px 0px 5px 0px;
	margin: 0px;
}
#maxgalleria-admin .import input[type="text"],
#maxgalleria-admin .import select {
	width: 300px;
	margin-top: 5px;
}
#maxgalleria-admin .import input[type="radio"] {
	margin-top: 3px;
}
#maxgalleria-admin .alert {
	padding: 8px 35px 8px 14px;
	margin-bottom: 18px;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	background-color: #fcf8e3;
	border: 1px solid #fbeed5;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	color: #c09853;
}
#maxgalleria-admin .alert-success {
	background-color: #dff0d8;
	border-color: #d6e9c6;
	color: #468847;
}
#maxgalleria-admin .alert-error {
	background-color: #f2dede;
	border-color: #eed3d7;
	color: #b94a48;
}
#maxgalleria-admin .alert-info {
	background-color: #d9edf7;
	border-color: #bce8f1;
	color: #3a87ad;
}
#maxgalleria-admin .alert h4 {
	padding: 0px;
	margin: 0px;
}
#maxgalleria-admin .progress {
	overflow: hidden;
	height: 18px;
	margin-bottom: 18px;
	background-color: #f7f7f7;
	background-image: -moz-linear-gradient(top, #f5f5f5, #f9f9f9);
	background-image: -ms-linear-gradient(top, #f5f5f5, #f9f9f9);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9));
	background-image: -webkit-linear-gradient(top, #f5f5f5, #f9f9f9);
	background-image: -o-linear-gradient(top, #f5f5f5, #f9f9f9);
	background-image: linear-gradient(top, #f5f5f5, #f9f9f9);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#f9f9f9', GradientType=0);
	-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
#maxgalleria-admin .progress .bar {
	width: 0%;
	height: 18px;
	color: #ffffff;
	font-size: 12px;
	text-align: center;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #0e90d2;
	background-image: -moz-linear-gradient(top, #149bdf, #0480be);
	background-image: -ms-linear-gradient(top, #149bdf, #0480be);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be));
	background-image: -webkit-linear-gradient(top, #149bdf, #0480be);
	background-image: -o-linear-gradient(top, #149bdf, #0480be);
	background-image: linear-gradient(top, #149bdf, #0480be);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#149bdf', endColorstr='#0480be', GradientType=0);
	-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
	-moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
	box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: width 0.6s ease;
	-moz-transition: width 0.6s ease;
	-ms-transition: width 0.6s ease;
	-o-transition: width 0.6s ease;
	transition: width 0.6s ease;
}
#maxgalleria-admin #import_progress .progress {
	margin-bottom: 0px;
}
#maxgalleria-admin .mg-settings {
	margin-top: 20px;
	margin-bottom: 20px;
	/*border: solid 1px #cccccc;*/
  display:block;
}
#maxgalleria-admin .mg-settings .main .inside {
	border-top: solid 1px #cccccc;
	background-color: #ffffff;
	padding: 0px;
}
#maxgalleria-admin .mg-settings .settings-menu {
	float: left;
	width: 151px;
	background-color: #f1f1f1;
	border-right: solid 1px #cccccc;
}
#maxgalleria-admin .mg-settings .settings-menu ul {
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	min-height: 840px;
}
#maxgalleria-admin .mg-settings .settings-menu ul li {
	padding: 7px 10px 7px 10px;
	border-top: solid 1px #f1f1f1;
	border-bottom: solid 1px #f1f1f1;
	margin-bottom: 0px;
}
#maxgalleria-admin .mg-settings .settings-menu ul li.selected {
	background-color: #ffffff;
	border-top: solid 1px #cccccc;
	border-bottom: solid 1px #cccccc;
	margin-right: -1px;
}
#maxgalleria-admin .mg-settings .settings-menu ul li a {
	text-decoration: none;
}
#maxgalleria-admin .mg-settings .settings-content {
	margin-left: 150px;
	background-color: #ffffff;
	border-left: solid 1px #cccccc;
	border-bottom: solid 2px #ffffff;
	padding: 15px 20px 15px 20px;
}
#maxgalleria-admin .mg-settings .settings-content h2 {
	padding-top: 0px;
}
#maxgalleria-admin .mg-settings .settings-content input[type='text'],
#maxgalleria-admin .mg-settings .settings-content select {
	font-size: 13px;
	width: 150px;
}
#maxgalleria-admin .mg-settings .settings-content input[type='text'].small {
	width: 50px;
}
.maxgalleria-meta input#maxgallery_next_button_title.medium,
.maxgalleria-meta input#maxgallery_prev_button_title.medium,
#maxgalleria-admin .mg-settings .settings-content input[type='text'].medium {
	width: 250px;
}
#maxgalleria-admin .mg-settings .settings-content input[type='text'].wide {
	width: 450px;
}
#maxgalleria-admin .mg-settings .settings-content .settings-title {
	padding: 10px;
	border: solid 1px #e1e1e1;
	font-weight: bold;
	font-size: 14px;
}
#maxgalleria-admin .mg-settings .settings-content .settings-options {
	padding: 10px;
	margin-bottom: 20px;
	border-left: solid 1px #e1e1e1;
	border-right: solid 1px #e1e1e1;
	border-bottom: solid 1px #e1e1e1;
}
#maxgalleria-admin .mg-settings .settings-content .settings-options .note {
	color: #808080;
	font-style: italic;
	padding-bottom: 10px;
}
#maxgalleria-admin .mg-settings .settings-content .settings-options table td {
	padding: 3px 10px 3px 0px;
	font-family: "Quicksand", sans-serif;
}
#maxgalleria-admin .mg-settings .settings-content .settings-options table td input[type='checkbox'] {
	margin: 5px 10px 5px 2px !important;
}

.mg-radio {
	text-align: center;	
}

#close-table td {
	padding: 0 !important;
}

.mg-heading {
	font-family: "Quicksand", sans-serif;
	font-size: 18px;
	font-weight: 400;
}
	.mg-heading.mg-bold {
		font-weight: 400;
	}

.meta-options > table {
  padding-left: 10px;
}

.mg-italic {
  font-style: italic;
}

.mg-align-top {
	vertical-align: top;
}

/*.options-heading {
	padding: 10px 0;
}*/

.extended-area table { 
	border-collapse:collapse; 
	table-layout:fixed;
}	

.extended-area table tbody tr td:nth-child(1) {
	word-wrap: break-word;
	max-width: 200px;		
}

div.settings-options table tbody tr td:nth-child(1) {
	word-wrap: break-word;
	max-width: 200px;	
}

table.mg-mc-settings,
table.mg-settings {
	border: 0 none !important;
}

table.mg-mc-settings tr td {
	padding: 0 !important;
	width: 50px !important;	
}

table.mg-settings tr td {
	padding: 0 !important;
	width: 50px !important;
	/*width: 78px !important;*/
}

table.mg-mc-settings tbody tr td img,
table.mg-settings tbody tr td img {
	height: auto;
	width: 100%;	
}

table.mg-presets tbody tr td img {
	height: auto;
	width: 100%;	
}

table.mg-settings tbody tr td.layout-image {
	padding: 0 5px !important;
	width: 60px;
}
tr.extended-area input#maxalbum_album_extended_title_font_size_key,
tr.extended-area input#maxalbum_album_extended_title_font_size_default,
tr.extended-area input#maxalbum_album_extended_border_padding_key,
tr.extended-area input#maxalbum_album_extended_font_size_key,
input#maxalbum_album_extended_border_padding_default,
input#maxalbum_album_extended_font_size_default {
	width: 55px;
}


input#radio_title_talign_left.title_check_button.icon,
input#radio_title_talign_center.title_check_button.icon,
input#radio_title_talign_right.title_check_button.icon,
div#radio_talign_left.input.radio.title_text_align input#radio_talign_left.check_button.icon,
div#radio_talign_center.input.radio.title_text_align input#radio_talign_center.check_button.icon,
div#radio_talign_right.input.radio.title_text_align input#radio_talign_right.check_button.icon,
input.check_button.icon.maxalbum_album_extended_title_font_text_align_default,
input#maxalbum_album_extended_title_font_style_key.check_button.icon,
input#maxalbum_album_extended_font_title_weight_key.check_button.icon,
input#maxalbum_album_extended_title_font_style_default.title_check_button.icon,
input#maxalbum_album_extended_title_font_weight_default.title_check_button.icon,
input.check_button.icon.maxalbum_album_extended_font_text_align_default,
.text_align input.check_button.icon,
input#maxalbum_album_extended_font_style_default.check_button.icon,
input#maxalbum_album_extended_font_weight_default.check_button.icon {
	display: none;
}

.extended-area td table tbody tr td.radio-aligment div#title_radio_talign_left.input.radio.title_text_align label,
.extended-area td table tbody tr td.radio-aligment div#title_radio_talign_center.input.radio.title_text_align label,
.extended-area td table tbody tr td.radio-aligment div#title_radio_talign_right.input.radio.title_text_align label,
.extended-area td table tbody tr td.radio-aligment div#radio_talign_left.input.radio.title_text_align label,
.extended-area td table tbody tr td.radio-aligment div#radio_talign_center.input.radio.title_text_align label,
.extended-area td table tbody tr td.radio-aligment div#radio_talign_right.input.radio.title_text_align label,
.extended-area td table tbody tr td div.input.checkbox.title_font_style label,
.extended-area td table tbody tr td div.input.checkbox.title_font_weight label,
.extended-area td table tbody tr td div#radio_talign_left.input.radio.text_align label,
.extended-area td table tbody tr td div#radio_talign_center.input.radio.text_align label,
.extended-area td table tbody tr td div#radio_talign_right.input.radio.text_align label,
.extended-area td table tbody tr td div.input.checkbox.desc_font_style label,
.extended-area td table tbody tr td div.input.checkbox.desc_font_weight label {
	background-color: #ffffff;
	background-position: center center;
	background-repeat: no-repeat;
	border: 1px solid #dddddd;
	display: inline-block;
	padding: 4px;
	cursor: pointer;
}

.radio-aligment {
  padding: 3px 0 !important;
}

.extended-area td table tbody tr td.radio-aligment div#radio_talign_left.input.radio.title_text_align.checked label,
.extended-area td table tbody tr td.radio-aligment div#radio_talign_center.input.radio.title_text_align.checked label,
.extended-area td table tbody tr td.radio-aligment div#radio_talign_right.input.radio.title_text_align.checked label,
.extended-area td table tbody tr td div#title_radio_talign_left.input.radio.title_text_align.checked label,
.extended-area td table tbody tr td div#title_radio_talign_center.input.radio.title_text_align.checked label,
.extended-area td table tbody tr td div#title_radio_talign_right.input.radio.title_text_align.checked label,
.extended-area td table tbody tr td div.input.checkbox.title_font_style.checked label,
.extended-area td table tbody tr td div.input.checkbox.title_font_weight.checked label,
.extended-area td table tbody tr td div#radio_talign_left.input.radio.text_align.checked label,
.extended-area td table tbody tr td div#radio_talign_center.input.radio.text_align.checked label,
.extended-area td table tbody tr td div#radio_talign_right.input.radio.text_align.checked label,
.extended-area td table tbody tr td div.input.checkbox.desc_font_style.checked label,
.extended-area td table tbody tr td div.input.checkbox.desc_font_weight.checked label {
	background: #ebebeb none repeat scroll 0 0;
	border-color: #999999;
	box-shadow: 0 2px 5px -3px rgba(0, 0, 0, 0.3) inset;
}

div.meta-options table tbody tr.extended-area {
	display: none;
}

input#maxalbum_album_extended_font_style_key.check_button.icon,
input#maxalbum_album_extended_font_weight_key.check_button.icon {
	display: none;
}

.meta-options .extended-area td table tbody tr td input#maxalbum_album_extended_font_size_key.tiny {
	width: 55px;
}

tr#preset-cell td {
	vertical-align: top;
}

.meta-options .extended-area .input.checkbox.desc_font_style,
.meta-options .extended-area .input.checkbox.desc_font_weight,
.meta-options .extended-area .input.checkbox.title_font_style,
.meta-options .extended-area .input.checkbox.title_font_weight {
  padding-right: 10px;
}

.meta-options .extended-area .input.checkbox.desc_font_weight,
.meta-options .extended-area .input.checkbox.title_font_weight {
  padding-left: 10px;
}

#form-grid-settings > table,
#form-image-carousel-settings > table,
#form-video-showcase-settings > table,
#form-image-showcase-settings > table,
#form-slick-slider-settings > table,
#form-video-tiles-settings > table,
#form-image-tiles-settings > table {
  padding-left: 20px;
}

.ui-tabs-panel.ui-widget-content.ui-corner-bottom {
  padding-left: 0;
}

#arrow-table td {
	padding: 0 !important;
	width: 60px;
}

.mg-float {
	float: left;
	margin: 0 auto;
	width: 28px;
}

.meta-ad-box {
	border: 1px solid #e1e1e1;
	color: #333333;	
	padding: 20px;
}

div#maxgalleria-tabs-template.ui-tabs-panel.ui-widget-content.ui-corner-bottom {
	border: 0 none;
	padding: 0;
}

.meta-seprator {
	margin-top: 20px;
}

div.mg-promo p.mg-promo-template-title a,
p.mg-promo-template-title {
	color: #333333;
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  padding: 0;
  text-align: center;	
	text-decoration: none;
}

#mg-template-ad.large-12.meta-ad-box div.row.row-top-margin {
	margin:	20px 0 20px;
}

#mg-template-ad {
  min-height: 850px !important;
}

p.mg-promo-template-title a {
	text-decoration: none;
}

/*#mg-template-ad .meta-ad-box div.row.row-top-margin div.small-2.medium-2.columns h5 {*/
.mg-promo .temp-ad-height h5,
.meta-ad-box h5  {
	text-align: center;
	font-size: 1em;
}

.mg-promo .temp-ad-height h5 a,
.meta-ad-box h5 a {
	text-decoration: none;	
	color: #333333;
}

a#add-close-btn {
	bottom: 18px;
	color: #333;
	float: right;
	font-size: 18px;
	left: 13px;
	position: relative;
}

/*.image-carousel:hover {
	background-image: url("images/templates/image-carousel-1.png");
	background-size: 100% auto;
	background-repeat: no-repeat;
}*/

/*img.mg-ad-image {
	height: 79px;
	width: 89px;
}*/

/*.medium-2 {
  width: 11.70%;
}

.column, .columns {
	padding-left: 2px !important;
	padding-right: 2px !important;
}*/

.temp-ad-height {
  display: inline-block !important;
	height: 130px;
	margin: 20px 10px;
}

img.mg-ad-image {
	margin: 0 auto;
	display: block;
}

img.anime {
   -webkit-filter: grayscale(100%);
   -moz-filter: grayscale(100%);
   -ms-filter: grayscale(100%);
   -o-filter: grayscale(100%);
   filter: grayscale(100%);
   filter: gray;
   -webkit-transition: all 1s;
   -moz-transition: all 1s;
   -o-transition: all 1s;
   transition: all 1s;
}

img.anime:hover {
   -webkit-filter: none;
   -moz-filter: none;
   -ms-filter: none;
   -o-filter: none;
   filter: none;
   filter: none;
}

div.mg-promo a#add-close-btn {
	margin: 10px 10px 0 0;
}

.color-input {
	float: left;
	margin-left: 12px;
}

.column + .column:last-child, .columns + .column:last-child, .column + .columns:last-child, .columns + .columns:last-child {
  float: left !important;
}

img#maxalbum_album_extended_border_color_key2.left,
img#maxalbum_album_extended_desc_color_key2.left,
img#maxalbum_album_extended_title_color_key2.left,
img#maxalbum_album_style_shadow_color_enabled2.left,
img#maxalbum_album_style_border_color_enabled2.left {
	float: left;
}

.center-table-text {
	text-align: center;
}
/*-----------------------------------------------
Media Manager Styles and Overrides
-----------------------------------------------*/
.attachment-display-settings {
	display: none;
}

/*.wrap h2 {
  float: left;
}

.wrap h2:after {
  clear: both;
}*/

.mg-logo {
  font-style: italic;
  font-size: 14px;
  font-weight: bold;
	height: 80px;
  margin-left: 30px;
  display: block;
	margin: -5px auto 0;
  /*margin: -5px 0 0 210px;*/
  max-width: 550px;
	text-align: center;
}

div.mg-logo p {
	color: red;
	font-weight: normal;
	font-style: normal;
	line-height: 0.6;
}

div.mg-logo p a {
  color: red;	
}

.mg-logo a img {
  vertical-align: middle;
  padding: 0 5px;
  width: 110px;
  height: auto;
}

.mg-promo {
  border: 1px solid #ccc;
  background: none repeat scroll 0 0 #fff;
  display: block;
	font-family: "Quicksand", sans-serif;			
  margin-top: 10px;
  box-sizing: border-box;
  overflow: hidden;
  padding: 10px;
  width: 100%;
}

.mg-promo p.mg-promo-title {
  font-size: 18px;
  font-style: italic;
  font-weight: 700;
  margin: 0;
  padding: 0;
  text-align: center;
}

.promo-section {
  display: block;
  float: left;
  width: 50%;
}

div.mg-promo p.section-title span {
  background: #f5f5f5;
  padding: 8px 18px;
  color: #3B3B3B;
  display: block;
  font-size: 20px;
  font-style: italic;
  text-align: center;
  width: 100%;
}

.top-margin {
  margin-top: 26px !important;
}

div.mg-promo div.promo-section p.section-title {
  font-size: 20px;
  font-style: italic;
  margin-bottom: 18px;
  text-align: center;
  width: 100%;
}

div.mg-promo p.mg-promo-title a {
  color: #444;
  font-size: 20px;
  font-style: italic;  
  font-weight: bold;
  text-decoration: none;
}

div.mg-promo p.mg-promo-title a:hover {
  text-decoration: underline;
}

div.mg-promo div.promo-section p.section-title span {
  background: #f5f5f5;
  padding: 8px 18px;
}

.addon-item {
  background: #f5f5f5;
  text-align: center;
  min-height: 328px;
  margin-bottom: 10px;
  padding: 10px;
}

.addon-item a img {
  display: block;
  height: auto;
  max-width: 100;
  margin: 0 auto;
}

.addon-item h3 {
  font-family: "Trebuchet MS",Arial,sans-serif;
  margin-bottom: 0;
  text-align: center;
}

.addon-item h3 a {
  text-decoration: none;
}

.mg-promo p:not(.mg-promo-title) {
  font-size: 14px;
  text-align: center;
}

.mg-promo p a {
	font-weight: bold;
	font-size: 14px;
}

.mg-bold {
  font-weight:700;
  /*text-decoration: underline;*/
}

.center-text {
  text-align: center;
}

.fb_iframe_widget {
  display: block !important;
  margin: 0 auto;
  position: relative;
  width: 92px;
}

.fb-like {
  text-align: center;
}

#ng-wrap {
  display: block;
  margin-top: 0px;
  float: left;
}

#ng {
  border: 0px none;
  display: inline;
  width: 120px;
  height: 103px;
}


html.wp-toolbar body.wp-admin.wp-core-ui.js.maxgallery_page_maxgalleria-settings.auto-fold.admin-bar.post-type-maxgallery.branch-4-2.version-4-2-3.admin-color-fresh.locale-en-us.customize-support.svg div#wpwrap div#wpcontent div#wpbody div#wpbody-content div#maxgalleria-admin div.wrap div.mg-settings div.main div.inside div.settings-content form#edd table {
  width: 100%;	
}

html.wp-toolbar body.wp-admin.wp-core-ui.js.maxgallery_page_maxgalleria-settings.auto-fold.admin-bar.post-type-maxgallery.branch-4-4.version-4-4-3.admin-color-fresh.locale-en-us.customize-support.svg div#wpwrap div#wpcontent div#wpbody div#wpbody-content div#maxgalleria-admin div.wrap div.mg-settings div.main div.inside div.settings-content form table tbody tr td input#edd_albums_license_key.regular-text,
html.wp-toolbar body.wp-admin.wp-core-ui.js.maxgallery_page_maxgalleria-settings.auto-fold.admin-bar.post-type-maxgallery.branch-4-4.version-4-4-3.admin-color-fresh.locale-en-us.customize-support.svg div#wpwrap div#wpcontent div#wpbody div#wpbody-content div#maxgalleria-admin div.wrap div.mg-settings div.main div.inside div.settings-content div.settings-options form table tbody tr td input#edd_vimeo_license_key.regular-text,
html.wp-toolbar body.wp-admin.wp-core-ui.js.maxgallery_page_maxgalleria-settings.auto-fold.admin-bar.post-type-maxgallery.branch-4-4.version-4-4-3.admin-color-fresh.locale-en-us.customize-support.svg div#wpwrap div#wpcontent div#wpbody div#wpbody-content div#maxgalleria-admin div.wrap div.mg-settings div.main div.inside div.settings-content div.maxgalleria-instagram-settings form table tbody tr td input#edd_instagram_license_key.regular-text,
html.wp-toolbar body.wp-admin.wp-core-ui.js.maxgallery_page_maxgalleria-settings.auto-fold.admin-bar.post-type-maxgallery.branch-4-4.version-4-4-3.admin-color-fresh.locale-en-us.customize-support.svg div#wpwrap div#wpcontent div#wpbody div#wpbody-content div#maxgalleria-admin div.wrap div.mg-settings div.main div.inside div.settings-content div.maxgalleria-flickr-settings form table tbody tr td input#edd_flickr_license_key.regular-text,
html.wp-toolbar body.wp-admin.wp-core-ui.js.maxgallery_page_maxgalleria-settings.auto-fold.admin-bar.post-type-maxgallery.branch-4-4.version-4-4-3.admin-color-fresh.locale-en-us.customize-support.svg div#wpwrap div#wpcontent div#wpbody div#wpbody-content div#maxgalleria-admin div.wrap div.mg-settings div.main div.inside div.settings-content div.maxgalleria-facebook-settings form table tbody tr td input#edd_facebook_license_key.regular-text,
html.wp-toolbar body.wp-admin.wp-core-ui.js.maxgallery_page_maxgalleria-settings.auto-fold.admin-bar.post-type-maxgallery.branch-4-4.version-4-4-3.admin-color-fresh.locale-en-us.customize-support.svg div#wpwrap div#wpcontent div#wpbody div#wpbody-content div#maxgalleria-admin div.wrap div.mg-settings div.main div.inside div.settings-content form table tbody tr td input#edd_masonry_license_key.regular-text,
html.wp-toolbar body.wp-admin.wp-core-ui.js.maxgallery_page_maxgalleria-settings.auto-fold.admin-bar.post-type-maxgallery.branch-4-4.version-4-4-3.admin-color-fresh.locale-en-us.customize-support.svg div#wpwrap div#wpcontent div#wpbody div#wpbody-content div#maxgalleria-admin div.wrap div.mg-settings div.main div.inside div.settings-content form table tbody tr td input#edd_image_showcase_license_key.regular-text,
html.wp-toolbar body.wp-admin.wp-core-ui.js.maxgallery_page_maxgalleria-settings.auto-fold.admin-bar.post-type-maxgallery.branch-4-4.version-4-4-3.admin-color-fresh.locale-en-us.customize-support.svg div#wpwrap div#wpcontent div#wpbody div#wpbody-content div#maxgalleria-admin div.wrap div.mg-settings div.main div.inside div.settings-content form table tbody tr td input#edd_image_showcase_license_key.regular-text,
html.wp-toolbar body.wp-admin.wp-core-ui.js.maxgallery_page_maxgalleria-settings.auto-fold.admin-bar.post-type-maxgallery.branch-4-4.version-4-4-3.admin-color-fresh.locale-en-us.customize-support.svg div#wpwrap div#wpcontent div#wpbody div#wpbody-content div#maxgalleria-admin div.wrap div.mg-settings div.main div.inside div.settings-content form table tbody tr td input#edd_image_showcase_license_key,
html.wp-toolbar body.wp-admin.wp-core-ui.js.maxgallery_page_maxgalleria-settings.auto-fold.admin-bar.post-type-maxgallery.branch-4-4.version-4-4-3.admin-color-fresh.locale-en-us.customize-support.svg div#wpwrap div#wpcontent div#wpbody div#wpbody-content div#maxgalleria-admin div.wrap div.mg-settings div.main div.inside div.settings-content form table tbody tr td input#edd_image_carousel_license_key,
html.wp-toolbar body.wp-admin.wp-core-ui.js.maxgallery_page_maxgalleria-settings.auto-fold.admin-bar.post-type-maxgallery.branch-4-4.version-4-4-3.admin-color-fresh.locale-en-us.customize-support.svg div#wpwrap div#wpcontent div#wpbody div#wpbody-content div#maxgalleria-admin div.wrap div.mg-settings div.main div.inside div.settings-content form table tbody tr td input#edd_video_showcase_license_key,
html.wp-toolbar body.wp-admin.wp-core-ui.js.maxgallery_page_maxgalleria-settings.auto-fold.admin-bar.post-type-maxgallery.branch-4-2.version-4-2-3.admin-color-fresh.locale-en-us.customize-support.svg div#wpwrap div#wpcontent div#wpbody div#wpbody-content div#maxgalleria-admin div.wrap div.mg-settings div.main div.inside div.settings-content form#edd table tbody tr td input#edd_slick_license_key {
	width: 280px;	
}

img#standard-slider-arrows {
	height: 28px;
	width: auto;
}

.utp-body {
  background-color: #edf2f7;
	margin-left: -20px;
	margin-top: 20px;
}


div#get-mg {
	background-color: #65b1e4;	
	float: left;
	min-height: 87px;
	width: 100%;	
}

#page-logo {
	display: block;
	float: left;
	padding-top: 20px;
	width: 33%;
}

div#mg-buy-btn a img {
	display: block;
	height: 56px;
	margin: 15px auto 0;
	width: 228px
}

div#ao-title-area h1 {
	margin-bottom: 16px;
}

div.cover-title a {
	color: #000;
	display: block;
	line-height: 28px;
	text-decoration: none;
}

div#get-mg.width-50 {
	margin-bottom: 14px;
	padding: 0 40px;
}

div.ao-item-single div.cover-title,
div.ao-item div.cover-title {
	font-size: 18px;
	font-weight: 700;
	padding-bottom: 13px;
}

div.ao-item-single div.cover-caption,
div.ao-item div.cover-caption {
	color: #004976;
	font-size: 13px;
	padding-top: 9px;
}

#mg-buy-btn {
	display: block;
	float: left;
	width: 33%;
}

#follow-mf {
	display: block;
	float: left;
	padding: 34px 0 0 60px;
	width: 311px;
}

div#get-mg.row div.width-50 img {
	float: left;
	padding: 19px 0 14px;
}

#ao-title-area {
	min-height: 120px;
}

div#ao-title-area h1 {
	color: #35669f;
	font-family: "Quicksand";
	font-size: 2em;
	font-weight: 300;
	line-height: 1.5em;
	text-align: center;
}

.ao-section-title {
	background-color: #65B1E4;
	color: #fff;
	font-family: "Quicksand";
	font-size: 1.7em;
	font-weight: 600;
	line-height: 1.5em;
	padding: 12px 0;
	text-align: center;
}

.ao-row {
	
}

.ao-item {
	display: block;
	float: left;
	margin-top: 40px;
	text-align: center;
	width: 33%;
}

.ao-half-item {
	display: block;
	float: left;
	margin-top: 40px;
	width: 16.5%;
}

.ao-item-single {
	display: block;
	margin: 40px auto 0;
	text-align: center;
	width: 33%;
}

#sources-title {
	margin-top: 39px;
}

.ao-item-container {
	margin: 0 auto;
}

div.utp-body div.top-section div.container {
	padding-bottom: 100px;	
}

.ao-bottom {
	padding-bottom: 100px;
}

.maxgalleria-meta #bulk-action-apply{
	margin-top: -1px;
	height: 31px;
}

.bulk-actions > select {
	margin-top: -1px;
	height: 32px;
  width: 117px;
}

#simplemodal-container img#image-to-crop {
	height: 518px;
	width: auto;
}

tr td.radio-text {
	text-align: center;
}

#form-md-settings {
    padding: 0 15px;
}

.md-color-cell {
/*	box-shadow: 0 0 1px 1px #000;
	display: table-cell;
	height: 20px;*/
height: 39px;
width: 40px;
}

.md-settings-bg {
	/*background-color: #F7F2F1;*/
	border-spacing: 10px;
}

.md-settings-bg td {
	border-radius: 10px;
}

.md-white {
	border: 1px solid #000;
}

.md_card {
	display: none;
}

#md-accent-colors {
	display: none;
}

.md-color-row {
	margin-top: 10px;
}

.mxg-actions {
  float: right;	
}

.mxg-actions a {
	background: #ddd;
	border: 1px solid #ccc;
	border-top-color: rgb(204, 204, 204);
	border-right-color: rgb(204, 204, 204);
	border-bottom-color: rgb(204, 204, 204);
	border-left-color: rgb(204, 204, 204);
	border-radius: 50%;
	color: #444;
	display: inline-block;
	padding: 6px;
	transition: all .2s linear;
}

.mxg-actions .mxg-reorder {
	background: transparent;
	border-color: transparent;
}
.mxg-actions .mxg-reorder:hover, .mxg-actions .mxg-reorder:focus {
	background: transparent;
	border-color: transparent;
	color: #22bce9;
}
.mxg-actions a:hover, .mxg-actions a:focus {
	border-color: #22bce9;
	background: #22bce9;
	color: #fff;
}

.options-heading {
  padding-top: 20px;
}

.options-heading,
.mxg-option-title {
	border-bottom: 1px solid #444;
	color: #444;
	font-size: 18px !important;
	font-weight: 400;
	line-height: 24px;
	margin: 0 0 20px;
	text-transform: uppercase;
}
	.mxg-option-title strong {
		font-weight: 400;
	}

.mxg-instructions {
	color: #111111;
	font-size: 17px;
	line-height: 18.4px;
	padding-top: 18px;
	vertical-align: baseline;
	font-weight: normal;
	font-style: normal;
	text-transform: none;
	text-decoration: none;
	text-align: start;
}

#maxgalleria-tabs-description,
#maxgalleria-tabs-advanced {
	font-size: 14px;
}

.padding-top {
	padding-top: 18px !important;
}

.maxgalery-pt .widefat tfoot tr th,
.maxgalery-pt .widefat thead tr th {
	font-size: 14px;
	font-family: "Quicksand", sans-serif;
	font-weight: bold;
	border: 1px solid #fff;
	background-color: #3fccf5;
}

.maxgalery-pt .widefat tfoot td.check-column, .maxgalery-pt .widefat thead td.check-column {
	background-color: #3fccf5;		
	border: 1px solid #fff;
}

.maxgalery-pt .widefat tfoot tr th,
.maxgalery-pt .widefat tfoot tr th a,
.maxgalery-pt .widefat thead tr th,
.maxgalery-pt .widefat thead tr th a {
	color: #000;	
}

.maxgalery-pt .subsubsub,
.maxgalery-pt #search-submit,
.maxgalery-pt select#bulk-action-selector-bottom,
.maxgalery-pt select#cat,
.maxgalery-pt select#filter-by-date,
.maxgalery-pt select#bulk-action-selector-top {
	font-family: "Quicksand", sans-serif;	
}

.maxgalery-pt .tablenav .one-page .displaying-num,
.maxgalery-pt .wrap a.page-title-action,
.maxgalery-pt .wrap .add-new-h2:hover, .maxgalery-pt .wrap .page-title-action:hover,
.maxgalery-pt .wrap h1.wp-heading-inline,
.maxgalery-pt .search-box input[name="s"], .maxgalery-pt .tablenav .search-plugins input[name="s"], .maxgalery-pt .tagsdiv .newtag,
.maxgalery-pt #doaction, .maxgalery-pt #doaction2, .maxgalery-pt #post-query-submit {
	font-family: "Quicksand", sans-serif;	
}

.maxgalery-pt .wp-core-ui .button-secondary:focus, .maxgalery-pt .wp-core-ui .button-secondary:hover, .maxgalery-pt .wp-core-ui .button.focus, .maxgalery-pt .wp-core-ui .button.hover, .maxgalery-pt .wp-core-ui .button:focus, .maxgalery-pt .wp-core-ui .button:hover {
	font-family: "Quicksand", sans-serif;		
}

.maxgalery-pt .widefat td, .maxgalery-pt .widefat td ol, .maxgalery-pt .widefat td p, .maxgalery-pt .widefat td ul {
	font-family: "Quicksand", sans-serif;			
}

#meta-image-gallery {
	margin-top: -11px;
}

form#edd table tbody tr td input#edd_slick_license_key {
  width: 250px;
}

.red {
  color: #CC0000;  
}

.license-key {
  width: 250px !important;
}

.license_warning {
  padding: 0;
  border: 1px solid #000;
  margin: 25px 0;
  display: inline-block;
  background: #fefefe;
  width: 100%; 
}
.license_warning h3 {
    margin-top: 0;
    background-color: #000000;
    padding: 10px;
    color: #fff;
    font-size: 18px;
    text-align: center; 
}
.license_warning p {
    padding: 5px 5px;
    margin: 5px 0;
    font-size: 16px;
    text-align: center;
    line-height: 24px; 
}

input.ns-spread-type,
input.ns-blur-type,
input.ns-shadow-type,
input.border-radius,
input.border-thickness,
input.layout-type,
input.preset-type {
  opacity: 1;
  float: none;
  width: 15px;
  height: 15px;
  position: static;
}

.title_text_align.checked,
.title_font_style.checked,
.title_font_weight.checked {
  border: 2px solid red;
}

/*#exampleModal {
  display: none;
}*/

.mg-templates {
  float: left; 
  display: inline-block;
}

ul#mg-media-sources li{
  margin-right: 20px;
}

.maxgalleria-meta.video-edit table tbody tr td a#video-save-button.btn.btn-primary,
.maxgalleria-meta.image-edit-bulk table tbody tr td a#bulk-save-button.btn.btn-primary,
.maxgalleria-meta.image-edit table tbody tr td a#save-button.btn.btn-primary {
  color: #fff;
}

#video-add-popup,
#edit-video-popup,
#bulk-edit-popup,
#edit-image-popup {
  position: fixed;
  top: 0px;
  left: 0px;
  background: rgba(0, 0, 0, 0.58);
  width: 100%;
  height: 100%;
  display: none;
}

.popup-content {
  width: 50%;
  margin: 0 auto;
  margin-top: 100px;
  border-radius: 3px;
  background: #fff;
  position: relative;
}

.bulk-popup-content {
  width: 50%;
  margin: 0 auto;
  margin-top: 100px;
  border-radius: 3px;
  background: #fff;
  position: relative;
  overflow-y: auto;
  height: 80%;  
}

.video-add-popup-content {
  width: 50%;
  margin: 0 auto;
  margin-top: 100px;
  border-radius: 3px;
  background: #fff;
  position: relative;
  overflow-y: auto;
}

#meta-video-gallery a#gallery_media_select_button.mxg-btn {
  color: #fff !important;
  cursor: pointer;
  text-decoration: none !important;
}


#alwrap {
  position: relative;
}

#bulk-ajaxloader,
#ajaxloader {
  background: url("images/ajax-loader.gif") no-repeat scroll center center transparent;
  height: 32px;
  position: absolute;
  margin: -10px auto 0;
  width: 100%;
}

.close-popup {
  cursor: pointer;
  position: absolute;
  top: 5px;
  right: 12px;
  font-size: 17px;
  color: #7c7575;
  text-decoration: none;
}

/* ===== styles for the WEBP callout ===== */
.mg-pro-webp-callout{
  /* — Theme tokens (tweak if needed to match your brand) — */
  --mg-accent: #1e88e5;            /* brand blue */
  --mg-accent-dark: #1565c0;
  --mg-bg: #f6f9ff;                /* panel background */
  --mg-text: #263238;              /* high-contrast slate */
  --mg-border: #d5e3ff;            /* panel border */
  --mg-card-radius: 10px;          /* matches feature cards */
  --mg-card-shadow: 0 6px 18px rgba(0,0,0,.08); /* matches depth */
  --mg-focus: #0d47a1;

  position: relative;
  margin: 16px 0 28px;
  padding: 18px 22px;
  background: var(--mg-bg);
  color: var(--mg-text);
  border: 1px solid var(--mg-border);
  /*border-left: 4px solid var(--mg-accent);
  border-radius: var(--mg-card-radius);*/
  box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 50%);
  /*box-shadow: var(--mg-card-shadow);*/
}

/* Badge */
.mg-pro-webp-badge{
  position: absolute;
  top: -10px;
  left: 14px;
  background: linear-gradient(180deg, var(--mg-accent), var(--mg-accent-dark));
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .06em;
  padding: 5px 9px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
}

/* Title & paragraph */
.mg-pro-webp-callout h3{
  margin: 2px 0 6px;
  font-size: 22px;
  line-height: 1.25;
  color: var(--mg-accent-dark);
}
.mg-pro-webp-callout p{
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.55;
  opacity: .95;
}

/* Bullets + CTA layout */
.mg-pro-webp-actions{ display: block; }
.mg-pro-webp-benefits{
  margin: 0 0 14px 18px;
  padding: 0;
  font-size: 14.5px;
}
.mg-pro-webp-benefits li{ margin: 4px 0; }

/* CTA button */
.mg-pro-webp-cta{
  display: inline-block;
  text-decoration: none;
  background: var(--mg-accent);
  color: #fff;
  padding: 9px 14px;
  border-radius: 7px;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(30,136,229,.22);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.mg-pro-webp-cta:hover{
  background: var(--mg-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(21,101,192,.26);
}
.mg-pro-webp-cta:focus{
  outline: 2px solid var(--mg-focus);
  outline-offset: 2px;
}

.row.mg-pro-wide{
  max-width: 1148px !important; /* exact pixel match */
  max-width: 70.3125rem;        /* rem equivalent at 16px root for consistency */
  margin-left: auto;
  margin-right: auto;
}

/* Ensure the callout fills the column and respects gutters */
.mg-pro-webp-callout{ width: 100%; }

.mg-pro-webp-actions {
  display: block !important;
}

.mg-pro-webp-cta,
.mg-pro-webp-cta:hover,
.mg-pro-webp-cta:focus,
.mg-pro-webp-cta:active {
  color: #fff !important;          /* Force white text */
  text-decoration: none !important;/* Prevent underline from link styles */
}

/* Desktop: place CTA beside list for tighter rhythm */
@media (min-width: 860px){
  .mg-pro-webp-actions{
    display: flex;
    align-items: flex-start;
    gap: 18px;
  }
  .mg-pro-webp-benefits{ margin-bottom: 0; }
}

/* Mobile polish */
@media (max-width: 720px){
  .mg-pro-webp-callout{
    padding: 14px 14px 16px;
    border-left-width: 3px;
  }
  .mg-pro-webp-callout h3{ font-size: 19px; }
  .mg-pro-webp-badge{ top: -9px; left: 10px; }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce){
  .mg-pro-webp-cta{ transition: none; }
}

/* end of callout CSS */


@media (max-width: 718px) {

  div.cover-title a {
		height: 62px;
  }
}

@media (max-width: 690px) {
	#page-logo {
		float: none;
		margin: 0 auto;
		padding-left: 20px;
		width: 311px;
	}
  #mg-buy-btn {
    display: block;
    float: none;
    margin: 0 auto;
    width: 311px;
  }	
	
  #follow-mf {
    display: block;
    float: none;
    margin: 0 auto;
    padding: 25px 0 14px 39px;
    width: 311px;
  }	
	
	div#get-mg.width-50 {
		padding: 0;
	}
}

@media (max-width: 640px) {

  .ao-item {
		display: block;
		float: none;
		width: 290px;
		margin: 20px auto 0;
	}
	
	.ao-half-item {
		display: none;
	}

}
@media (max-width: 850px) {
  .addon-item {
    min-height: 310px;
  }
}
@media (max-width: 730px) {
  .addon-item {
    min-height: 304px;
  }
}
@media (max-width: 632px) {
  .addon-item {
    min-height: 328px;
  }
}

@media (max-width: 500px) {
  .addon-item {
    min-height: 342px;
  }
}

@media (max-width: 400px) {
  .addon-item {
    min-height: 298px;
  }
}

@media (max-width: 380px) {
  .addon-item h3 a, ul.addon-info li h3 a {
    font-size: 18px;
  }
}

@media (max-width: 330px) {
  .addon-item h3 a, ul.addon-info li h3 a {
    font-size: 14px;
  }
  
  .addon-item h3, ul.addon-info li h3 {
    line-height: 15px;
  }
}
@media (max-width: 320px) {
  .addon-item {
    min-height: 270px;
  }
  .addon-item-2 {
    min-height: 270px;
  }  
}
