/* Magiccollect main CSS */
a {
	cursor: pointer;
}
/*
* {
	line-height: 1.3em;
	text-size-adjust: 100%;
}
*/
*, *:before, *:after {
	box-sizing: border-box;
}
* {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
	-webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important; 
    -webkit-focus-ring-color: rgba(255, 255, 255, 0) !important; 
    outline: none !important;
}
html {
	font-size: 10px;
	font-family: "Open Sans", sans-serif
}
@media screen and (max-width: 1041px) {
	/* iPad landscape & iPad Pro portrait*/
	html {
		font-size: 8px;
	}
}
html, body {
	margin:0 !important;
	padding:0 !important;
	height:100% !important;
}

body {
	color: #333;
	font-weight: 400;
	font-family: "Open Sans", sans-serif;
}

a, a:focus, a:hover, a:visited,
a.deckTile , a:focus.deckTile, a:hover.deckTile, a:visited.deckTile { 
    outline: 0 !important; 
	border: none !important;
	-webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important; 
    -webkit-focus-ring-color: rgba(255, 255, 255, 0) !important; 
	/*color: rgba(255,255,255,0);*/
}


.main {
    width: 100%;
	position: absolute;
	top: 0px;
    min-height: 100%;
	height: 100%;
	overflow: hidden;
}

/*/////////////// LOGIN FORM STYLE ////////////////////*/
#login_video {
	/*width: 100%;
	height: auto;*/
  	position: fixed;
  	min-width: 100%;
  	min-height: 100%;
	top: 50%;
    transform: translate(-50%,-50%);
    left: 50%;
}

.login-positioner {
	top: 40%;
    position: fixed;
    width: 100vw;
    height: 262px;
    margin-top: -131px;
}

.infobox {
    height: 40px;
    font-weight: bold;
    font-size: 15px;
    text-align: center;
    width: 240px;
    margin: 0px auto;
}
.bottom-button {
	font-size: 1.2rem;
    color: #fff;
    background-color: #3c3c3c;
    border-radius: 15px;
    margin: 20px 5%;
    text-align: center;
    width: 40%;
    font-family: 'Mukta', sans-serif;
    height: 20px;
    line-height: 20px;
	float: left;
}
.content-w3ls {
    max-width: 500px;
    margin: 0px auto;
}
.content-bottom {
    padding: 1em 4em;
    margin: 0 1em;
	position: relative; 
    z-index: 1;
	/*background-color: rgba(0, 0, 0, 0.3);*/
    border-radius: 35px;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    -ms-border-radius: 35px;
    -o-border-radius: 35px;
}
.warning {
	background:darkred;
	color:white;
	border-radius: 35px;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    -ms-border-radius: 35px;
    -o-border-radius: 35px;
}

form .field-group {
    background: rgba(100, 100, 100, 0.6);
    display: flex;
    display: flex;
    display: -webkit-box;
    /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;
    /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;
    /* TWEENER - IE 10 */
    display: -webkit-flex;
    /* NEW - Chrome */
    margin-bottom: 20px;
    padding: 2px 10px 2px 0;
	border-radius: 35px;
	-webkit-border-radius: 35px;
	-moz-border-radius: 35px;
	-ms-border-radius: 35px;
	-o-border-radius: 35px;
}

form .field-group span {
    flex: 1;
    -webkit-box-flex: 1;      /* OLD - iOS 6-, Safari 3.1-6 */
    -moz-box-flex: 1;         /* OLD - Firefox 19- */
    width: 20%;               /* For old syntax, otherwise collapses. */
    -webkit-flex: 1;          /* Chrome */
    -ms-flex: 1;              /* IE 10 */
    color: #fff;
    background: transparent;
    line-height: 49px;
    text-align: right;
}

ul.list-login {
    margin-top: 1.5em;
    margin-bottom: 1em;
}

form .field-group .wthree-field {
    flex: 4 50%;
    -webkit-box-flex:4 50%;     /* OLD - iOS 6-, Safari 3.1-6 */
    -moz-box-flex: 4 50%;        /* OLD - Firefox 19- */
    -webkit-flex: 4 50%;          /* Chrome */
    -ms-flex: 4 50%;             /* IE 10 */
}

.wthree-field button.btn {
    background: #0f3954;;
    border: none;
    color: #fff;
    padding: 11px 15px;
    text-transform: uppercase;
	font-family: 'Mukta', sans-serif;
    font-size: 16px;
	width:100%;
	margin-top:10px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
	border-radius: 35px;
	-webkit-border-radius: 35px;
	-moz-border-radius: 35px;
	-ms-border-radius: 35px;
	-o-border-radius: 35px;
}

.bottom-grid,.bottom-grid1{
    display: flex;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    justify-content: space-between;
    margin: 0em 10em;
}
ul.links-unordered-list li {
    display: inline-block;
    margin-right: 10px;
}
ul.links-unordered-list li a {
    font-size: 16px;
    color: #ccc;
    font-weight: normal;
    letter-spacing: 1px;
    padding: 0 5px;
    text-transform: capitalize;
}
.wthree-field input {
    padding: 10px 0 10px 15px;
    font-size: 17px;
    font-weight: 300;
	color:#ddd;
    letter-spacing: 1px;
    border: none;
    background: transparent;
    box-sizing: border-box;
	font-family: 'Mukta', sans-serif;
    width: 100%;
    outline: none;
	line-height: normal;
}
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #ccc;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #ccc;
}
::-ms-input-placeholder { /* IE 10+ */
  color: #ccc;
}
::-moz-placeholder { /* Firefox 18- */
  color: #ccc;
}

/* Change Autocomplete styles in Chrome*/
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  border: none;
  -webkit-text-fill-color: #ddd;
  -webkit-box-shadow: 0 0 0px 0px #000 inset;
  transition: background-color 5000s ease-in-out 0s;
}

/*/////////////////////////////////////////////////////*/

/*/////////////// TOP MENU         ////////////////////*/
#mobile-menu {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	background: rgba(33,33,33,0);
	color: #fff;
	z-index: 5000;
	display: block;
	transition: background-color .25s ease-in-out;
}
#mobile-menu .header {
	position: relative;
	height: 50px;
	background-color: black;
	background-size: auto 100%;
	/*border-bottom: 1px white solid;*/
}
#mobile-menu .header .logo {
	position: absolute;
	top: 50%;
	left: 50%;
}
#mobile-menu .header .logo a {
	font-size: 0;
	text-indent: -999px;
	text-decoration: none;
	width: 124px;
	height: 50px;
	background: url("/content/images/mc_logo.png") no-repeat;
	background-size: 100% 100%;
	position: absolute;
	top: 50%;
	left: 50%;
	cursor: pointer;
	overflow: hidden;
	transform: translate(-50%, -50%);
}
#mobile-menu * {
	outline: none !important;
}
#mobile-menu i {
	color: white;
    font-size: 1.6rem;
    margin: 2px;
	width: 2.2rem;
}

#mobile-menu .header .toggle-button {
	padding: 10px 10px 0;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	cursor: pointer;
	width: 47px;
}
#mobile-menu .header .toggle-button:after {
	top: 15px;
	position: absolute;
	left: 15px;
	font-family: "Font Awesome 5 Free";
	font-weight:900;
	content: "\f0c9";
	color: #fff;
	font-size: 20px;
}
.mobile-menu-open.main-menu-open #mobile-menu .header .toggle-button:after {
    content: "\f00d";
}
.mobile-menu-open #mobile-menu {
    background: rgba(33,33,33,0.6);
    bottom: 0;
}
#mobile-menu nav {
    width: 270px;
    position: absolute;
    top: 50px;
    bottom: 0;
    left: -540px;
    background: #000;
    transition: transform .25s ease-in-out;
	transform: translateX(270px);
}
#mobile-menu .menu-wrapper {
    position: absolute;
    top: 0px;
    right: 0;
    bottom: 0;
    left: 0;
}
#mobile-menu .mm-panel {
    background: #000;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    transition: transform .25s ease;
    overflow: auto;
}
#mobile-menu .mm-panel.mm-opened {
    transform: translateX(0%);
}
#mobile-menu nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
#mobile-menu li {
    color: #fff;
    font-weight: 600;
    font-size: 1.5rem;
    margin: 0 !important;
    position: relative;
}
#mobile-menu li a, #mobile-menu li p {
    text-transform: uppercase;
    margin: 0;
    padding: 15px 50px 15px 36px;
    display: block;
}
#mobile-menu li a, #mobile-menu li p {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid #1a1a1a;
}
#mobile-menu li.expanded a::after {
    content: "\f054";
    color: #fff;
    font-family: "Font Awesome 5 Free";
    text-align: center;
    text-transform: none;
    margin-top: -8px;
    position: absolute;
    top: 50%;
    right: 15px;
    min-width: 25px;
}
#mobile-menu #mm-0 li a, #mobile-menu li.top_level a, #mobile-menu li.has-children a, #mobile-menu li.hub-link a, #mobile-menu li.no-link p {
    padding-left: 30px;
    font-size: 1.6rem /*!important*/;
    border-bottom: 1px solid #1a1a1a;
}

#mobile-menu .bottom_level{
	position: absolute;
    bottom: 0px;
}
#mobile-menu .mm-subopen {
    background: rgba(0,0,0,0);
    padding: 0;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: 2;
}

#result_sets li:hover,
#result_amount li:hover,
#land_sets li:hover,
#mobile-menu li:not(.no-hover):hover,
#mobile-menu li:not(.no-hover):hover a,
#mobile-menu li:not(.no-hover):hover i,
#mobile-menu li:not(.no-hover):hover svg,
#mobile-menu li:not(.no-hover):hover path,
.toggle-button:hover:after,
.add-deck:hover:after,
.remove-button:hover,
.remove-button:hover:after{
	color: #e2bf73 !important;
	fill: #e2bf73 !important;
}

/*
#mobile-menu li.no-hover:hover a,
#mobile-menu li.no-hover:hover i,
#mobile-menu li.no-hover:hover svg,
#mobile-menu li.no-hover:hover path {
	color: inherit !important;
	fill: inherit !important;
}
*/

@media (max-width: 1041px) {
	.mobile-menu-open #mobile-menu nav {
		transform: translateX(270px);
	}
}
/*/////////////////////////////////////////////////////*/

/*/////////////// MAIN CONTENT     ////////////////////*/
#content-wrapper {
	padding-top: 50px;
	background: url("/content/images/background.jpg") 0 0 repeat;
	transition: transform 0.3s linear 0s;
	overflow: hidden;
	min-height: 100vh;
}

#content {
	margin: 0 auto;
	padding: 1px 0px 80px;
	position: relative;
	z-index: 2;
	padding-right: 14px;
	padding-left: 14px;
}

/*/////////////////////////////////////////////////////*/

/*/////////////// DECK OVERVIEW    ////////////////////*/
.deckTile {
	float:left;
	overflow: hidden;
	font-family: 'Work Sans', sans-serif;
	width: 8.85%;
	margin: 0.12%;
	border: 5px solid white;
}

.deckThumb {
	width:100%;
	height:250px;
	background-repeat:no-repeat;
	background-size:cover;
	background-position:center;
	background-color: #3c3c3c;
}
.deckTitle {
	width: 90%;
	height: 25px;
	line-height: 25px;
	font-size: 12px;
	font-family: 'Work Sans', sans-serif;	
	color: white;
	position: relative;
    top: 180px;
    background: #0c1d28;
    padding-left: 5px;
	margin-left: 5%;
	text-transform: uppercase;
}
.deckTitleText {
	width: 87%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    line-height: 25px;
    height: 25px;
}
.deckInfo {
	width: 90%;
	height: 30px;
	font-size: 10px;
	font-family: 'Work Sans', sans-serif;	
	color: #0c1d28;
	position: relative;
    top: 180px;
    background: white;
    padding: 5px;
	margin-left: 5%;
	text-transform: uppercase;
	overflow: hidden;
}

@media screen and (max-width: 1925px) {
	/* 1080p computer screen */
	.deckTile {
		width: 13.7%;
		margin: 0.29%;
	}
}
@media screen and (max-width: 1370px) {
	/* iPad Pro landscape */
	.deckTile {
		width: 19%;
		margin: 0.5%;
	}
}
@media screen and (max-width: 1041px) {
	/* iPad landscape & iPad Pro portrait*/
	.deckTile {
		width: 24%;
		margin: 0.5%;
	}
}
@media screen and (max-width: 770px) {
	/* iPad portrait */
	.deckTile {
		width: 31%;
		margin: 1%;
	}
}
@media screen and (max-width: 420px) {
	/* Phone portait */
	.deckThumb {
		/*background-image: url(https://c1.scryfall.com/file/scryfall-cards/art_crop/front/1/e/1e94c783-e474-4cbc-a38a-27ad8dd15a7b.jpg?1592517067);*/
		background-size: auto 100%;
		background-position: top left;
		border: none;
		height: 50px;
	}
	.deckTile {
		width: 98%;
		margin: 1%;
		height: 50px;
		border: none;
	}
	.deckTitle {
		top: 0px;
		font-size: 1rem;
		height: 20px;
		line-height: 20px;
		float: right;
		width: 80%;
	}
	.deckTitleText {
		line-height: 20px;
		height: 20px;
	}
	.deckInfo {
		top: 0px;
		font-size: 1rem;
		padding-top: 2px;
		float: right;
		width: 80%;
	}
	.deckColors img {
		width: 15px;
	}
}

.deckThumb-mini {
	width:100%;
	max-width:340px;
	height:50px;
	background-repeat:no-repeat;
	background-size: auto 100%;
	background-position: top left;
	border: none;
	font-weight: 100;
}

.deckTile-mini {
	float:left;
	overflow: hidden;
	font-family: 'Work Sans', sans-serif;
	width: 98%;
	margin: 1%;
	height: 50px;
	border: none;
}
.deckTitle-mini {
	font-family: 'Work Sans', sans-serif;	
	color: white;
	position: relative;
    background: #0c1d28;
    padding-left: 5px;
	margin-left: 5%;
	text-transform: uppercase;
	top: 0px;
	font-size: 1rem;
	height: 20px;
	line-height: 20px;
	float: right;
	width: calc(100% - 60px);
	width: -webkit-calc(100% - 60px);
	width: -moz-calc(100% - 60px);
}
.deckTitleText-mini {
	width: 87%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    line-height: 2rem;
    height: 2rem;
}
.deckInfo-mini {
	height: 30px;
	font-family: 'Work Sans', sans-serif;	
	color: #0c1d28;
	position: relative;
    background: white;
    padding: 5px;
	margin-left: 5%;
	text-transform: uppercase;
	overflow: hidden;
	top: 0px;
	font-size: 1rem;
	padding-top: 2px;
	float: right;
	width: calc(100% - 60px);
	width: -webkit-calc(100% - 60px);
	width: -moz-calc(100% - 60px);
}
.deckColors-mini img {
	width: 15px;
}
/*/////////////////////////////////////////////////////*/

/*/////////////// DECK FILTER      ////////////////////*/
#header-additions {
	position: fixed;
	top: 0px;
	right: 0px;
	z-index: 6000;
}

.toggle-button.deck-filter {
	height: 50px;
	width: 50px;
	padding-top: 13px;
	border-radius: 20px;
	color: #fff;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-size: 20px;
	text-align: center;
	float: left;
}
.toggle-button.deck-filter:after {
	content: "\f0b0";

}
#mobile-menu nav.deckfilter {
	right: 0px;
    left: auto;
}
.mobile-menu-open.deck-filter-open #mobile-menu .toggle-button.deck-filter:after {
    content: "\f00d";
}

/* Remove arrow from <select> */
select::-ms-expand {	display: none; }
select{
    -webkit-appearance: none;
    appearance: none;
}
@-moz-document url-prefix(){
	.ui-select{border: 1px solid #CCC; border-radius: 4px; box-sizing: border-box; position: relative; overflow: hidden;}
  .ui-select select { width: 110%; background-position: right 30px center !important; border: none !important;}
}
/******/
select.deckfilter {
	color: white;
    background: transparent;
    border-bottom: 1px solid white;
    margin: 0px 10px;
    text-transform: uppercase;
    font-size: 1.5rem;
	padding: 0px 3px;
	border-radius: 0px;
}
select.deckfilter option {
	color: white;
	background: black;
	font-size: 1.4rem;
}


.deckfilter-icon-before {
	margin-left: 30px !important;
}
.deckfilter-icon-after {
	margin-left: 10px !important;
}
.fa-sort-down:before, .fa-sort-up:before {
	margin-left: -15px;
}
/*/////////////////////////////////////////////////////*/

/*/////////////// ADD DECK         ////////////////////*/
.add-deck {
    height: 50px;
    width: 40px;
	padding-top: 13px;
    border-radius: 20px;
    color: #fff;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 18px;
    text-align: center;
	float: left;
	
}
.add-deck:after {
	content: "\f055";
}
/*/////////////////////////////////////////////////////*/

/*/////////////// AUTOCOMPLETE JS        //////////////*/
.ui-helper-hidden-accessible {
	/* Hide tooltip */
	display: none;
}
ul.ui-autocomplete {
    width: 300px !important;
	background-color: #ffffff;
	padding: 5px 10px;
	color: #000000;
	max-height: 30vh;
	overflow-y: scroll;
	overflow-x: hidden;
	cursor: pointer;
	z-index: 20000;
}
ul.ui-autocomplete li {
	font-size: 1.6rem;
	color: #000;
	font-weight: 900;
	white-space: nowrap;
    text-overflow: ellipsis;
    width: 100%;
    overflow: hidden;
}
/*/////////////////////////////////////////////////////*/

/*/////////////// FLIP CARDS             //////////////*/
.flip {
	position: absolute;
    bottom: 0;
    z-index: 5000;
    background: #f1f1f1;
    height: 40px;
    width: 40px;
    border-radius: 20px;
    /*line-height: 40px;*/
	padding-top: 10px;
    left: calc(50% - 20px);
	text-align: center;
	border: 1px solid #3c3c3c;
}
.flip i {
	color: black !important;
	font-size: 20px !important;
	margin: unset !important;
}
.flippable-card, .flippable-card-back {
	transition: all 1s;
	transform-style: preserve-3d;
 	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	z-index: 100;
}
.flippable-card img, .flippable-card-back img{
	z-index: 100;
}
.flippable-card-back{
	transform: rotateY(-180deg);
}
/*/////////////////////////////////////////////////////*/





.info-small {
	font-size: 0.9rem !important;
	color: #fa8642 !important;
	line-height: 1.2rem;
}
.info-small i {
	font-size: 1.2rem !important;
	color: #fa8642 !important;
	fill: #fa8642 !important;
}
