/*---------------------------------------------------------------------------------------------
*  Paywall styles
*---------------------------------------------------------------------------------------------*/
.loader {
    margin: 0 auto;
    border: 5px solid #f3f3f3;
    border-radius: 50%;
    border-top: 5px solid #3498db;
    width: 50px;
    height: 50px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
      0% { -webkit-transform: rotate(0deg); }
      100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
}

.mmcp-wrapper {
    position: relative;
}
.mmcp-buttons {
    display: flex;
}

@media (max-width:600px) {
    .mmcp-buttons {
        display: block;
    }
    .column-w50{
        /*width: 100%;*/
    }
    .mmcp-btn-add-publication {
        font-size: 14px !important;
    }
    .modal-content h2 {
    	font-size: 25px;
    }
    .modal-content .mmcp-btn-register {
		color: blue !important; 
		background-color: transparent; 
		border-color: transparent; 
		word-wrap: break-word;
		padding: 0px;
		white-space: unset;
    }
}

.mmcp-pw{
    width: 100%;
    height: 80px;
    background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 );
    position: absolute;
    margin-top: -115px;
}

.mmc-column{
	width: 100%;
    display: flex;
    flex: 1;
	padding: 0 0.75rem;
	position: relative;
	float: left;
}

.column-w100{
    width: 100%;
    padding-top: 30px;
    text-align: center;
}

.columng-w100 a {
    color: #428bca !important;
}

.mmcp-btn {
    margin: 10px 0px;
	width: 100%;
    min-height: 62px;
    align-self: center;
	padding: .8rem 2rem;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    font-size: 1.7rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.mmcp-btn-register, .mmcp-btn-add-publication {
	text-transform: uppercase;
	color: #fff !important;
    background-color: #ff8a00;
    border-color: #ff8a00;
}

.mmcp-btn-register span {
    display: block;
    font-weight: 600;
    color: #484141;
    font-size: 13px;
}

.mmcp-btn-register:hover span{ 
    color: #fff;
}

.mmcp-btn-register:hover {
	color: #fff;
    background-color: #000;
    border-color: #000;
}

.mmcp-btn-login {
	text-transform: uppercase;
    padding: 15px 0px;
	color: #000;
    background-color: #fff;
    border-color: #000;
}

.mmcp-btn-login span{
    display: block;
    font-weight: 600;
    color: #000;
    font-size: 13px;
}

.mmcp-btn-login:hover span{ 
    color: #fff;
}

.mmcp-btn-login:hover {
	color: #fff;
    background-color: #000;
    border-color: #000;
}

.mmcp-add-publication {
    display: none;
}

/* The Modal (background) */
.mmcp-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.mmcp-modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    text-align: center;
}

/* The Close Button */
.mmcp-close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.mmcp-close:hover,
.mmcp-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* UI */

.open-topbar {
    display: flex;
    height: 40px;
    align-items: center;
    float: right;
}

.open-login{
    display: inline-block;
    padding-left: 20px;
}

.open-subscription{
    display: inline-block;
}

.open-dropbtn {
    background-color: #4CAF50;
    color: white !important;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
}

.open-dropdown {
    position: relative;
    display: inline-block;
}

.open-dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.open-dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.open-dropdown-content a:hover {background-color: #ddd;}

.open-dropdown:hover .open-dropdown-content {display: block;}

.open-dropdown:hover .open-dropbtn {background-color: #3e8e41;}

.footer-subs-note {
    border-top: 1px solid #fff;
    background: #ff8a00;
    z-index: 999;
    font-size: 16px;
    color: #fff;
    position: fixed;
    bottom: 0;
    display: block;
    text-align: center;
    padding: 10px 0px;
    width: 100%;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-menu>li>a {
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-submenu>.dropdown-menu {
  top: 23px;
  width: 100%;
  -webkit-border-radius: 0 6px 6px 6px;
  -moz-border-radius: 0 6px 6px;
  border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu, .dropdown-submenu:active>.dropdown-menu {
  display: block;
}

.dropdown-submenu>a:after {
  display: block;
  content: " ";
  float: right;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-left-color: #ccc;
  margin-top: 5px;
  margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
  border-left-color: #222;
}

.dropdown-submenu.pull-left {
  float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
  left: -100%;
  margin-left: 10px;
  -webkit-border-radius: 6px 0 6px 6px;
  -moz-border-radius: 6px 0 6px 6px;
  border-radius: 6px 0 6px 6px;
}
.main-nav {
    z-index: 900 !important;
}