/* --------------------*/
/*  General Elements   */
/* --------------------*/
#windows-size {
    color: #ffffff; // #808080; //grey;
    background-color: #000;
    font-size: 20px;
    position: fixed;
    float: right;
    margin-top: 10%;
    left: 50%;
    text-align: center;
    z-index: 11100;
}

body, html {
    height: 100%;
}

body {
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #ffffff;
    background-color: #000000;
    background-image: url("images/background.jpg");
    background-repeat: repeat-y;
    background-size: cover;
}

a, a:hover, a:visited {
    text-decoration: none;
}


.master-title {
    display: none;
}

.game-nav {
    height: 60px;
    position: relative;
}

#game-nav-menu {
    height: 60px;
    width: 40px;
    position: absolute;
}

#game-nav-items {
    height: 60px;
    width: calc(100% - 40px);
    margin-left: 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.game-nav-item {
}


#sidebarMenu {
    height: 100%;
    position: fixed;
    left: 0;
    width: 250px;
    margin-top: 60px;
    transform: translateX(-250px);
    transition: transform 250ms ease-in-out;
    background: linear-gradient(180deg, #FC466B 0%, #3F5EFB 100%);
}
.sidebarMenuInner{
    margin:0;
    padding:0;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.sidebarMenuInner li{
    list-style: none;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    padding: 20px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.sidebarMenuInner li span{
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.50);
}
.sidebarMenuInner li a{
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
}
input[type="checkbox"]:checked ~ #sidebarMenu {
    transform: translateX(0);
}

input[type=checkbox] {
    transition: all 0.3s;
    box-sizing: border-box;
    display: none;
}
.sidebarIconToggle {
    transition: all 0.3s;
    box-sizing: border-box;
    cursor: pointer;
    position: absolute;
    z-index: 99;
    height: 100%;
    width: 100%;
    top: 22px;
    left: 0px;
    height: 22px;
    width: 22px;
}
.spinner {
    transition: all 0.3s;
    box-sizing: border-box;
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: #fff;
}
.horizontal {
    transition: all 0.3s;
    box-sizing: border-box;
    position: relative;
    float: left;
    margin-top: 3px;
}
.diagonal.part-1 {
    position: relative;
    transition: all 0.3s;
    box-sizing: border-box;
    float: left;
}
.diagonal.part-2 {
    transition: all 0.3s;
    box-sizing: border-box;
    position: relative;
    float: left;
    margin-top: 3px;
}
input[type=checkbox]:checked ~ .sidebarIconToggle > .horizontal {
    transition: all 0.3s;
    box-sizing: border-box;
    opacity: 0;
}
input[type=checkbox]:checked ~ .sidebarIconToggle > .diagonal.part-1 {
    transition: all 0.3s;
    box-sizing: border-box;
    transform: rotate(135deg);
    margin-top: 8px;
}
input[type=checkbox]:checked ~ .sidebarIconToggle > .diagonal.part-2 {
    transition: all 0.3s;
    box-sizing: border-box;
    transform: rotate(-135deg);
    margin-top: -9px;
}

/* --------------------*/
/*      Login          */
/* --------------------*/

.login-header {
    background-image:url('images/login.png');
    background-repeat: no-repeat;
    width: 415px;
    height: 427px;
    margin: 10px auto;
    text-align: center;
}

.login-box {
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
    background: #ffffff;
    margin: 10px auto;
    padding:  30px;
    text-align: center;
}

#login-image {
    background-image:url('images/circle.png');
    background-repeat: no-repeat;
    width: 225px;
    height: 225px;
    margin: 10px auto;
    text-align: center;
}

#login-facebook {
    background-image:url('images/facebook-login.png');
    background-repeat: no-repeat;
    width: 328px;
    height: 72px;
    margin: 10px auto;
    text-align: center;
}

#logout-facebook {
    background-image:url('images/facebook-logout.png');
    background-repeat: no-repeat;
    width: 328px;
    height: 72px;
    margin: 10px auto;
    text-align: center;
}

#login-text {
    color: #000000;
    font-size: 26px;
    margin-bottom: 10px;
}

#login-status {
    color: #000000;
    font-size: 26px;
    margin-bottom: 10px;
}

#status {
    color: #000000;
    font-size: 26px;
    margin-bottom: 10px;
}

#user-data {
    color: #000000;
    font-size: 18px;
    margin-left: 10px;
}

#user-data img {
    width: 100px;
    height: 100px;
}

/* --------------------*/
/*      Menu Page      */
/* --------------------*/

.menu-content {
    text-align: center;
    margin: 0 auto;
    max-width: 920px;
}

.menu-title {
    font-size: 30px;
    padding: 20px 0 10px;
}

.menu-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    margin: 20px -20px;
    text-align: center;
    box-sizing: content-box;
}

.menu-item {
    background-color: #ffffff;
    background-color: #ffffff;
    margin: 20px;
}

.menu-item a {
    text-decoration: none;
}

.menu-item-image {
    width: 280px;
    max-width: 280px;
    height: auto;
}

.menu-item-name {
    font-size: 18px;
    padding: 10px 0;
}

/* --------------------*/
/*      Game Page      */
/* --------------------*/

.logout {
    background-image:url('images/logout.png');
    background-repeat: no-repeat;
    width: 328px;
    height: 72px;
    margin: 10px auto;
    text-align: center;
}


#left-border {
    background-image:url('images/external-image-left.png');
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 100%;
    text-align:center;
    width: 461px;
    height: 485px;
    padding: 0px;
    float: left;
}

#right-border {
    background-image:url('images/external-image-right.png');
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 100%;
    text-align:center;
    width: 271px;
    height: 485px;
    padding: 0px;
    float: left;
}

.clear-borders {
    clear: both;
}

/* --------------------*/
/*        Game         */
/* --------------------*/


#canvas-container {
	width: fit-content;
    text-align: center;
    padding: 0px;
    position: relative;
    margin: 0 auto;
}

.game-nav-player {
}

#game-player,
#game-maxscore,
#game-score,
#game-lives {
    font-weight: 700;
    font-size: 30px;
}

#game-start-control,
#game-pause,
#canvas-preloader {
    position: absolute;
    width: 125px;
    height: 125px;
    top: 340px;
    left: 50%;
    margin-left: -62.5px;
}

#game-start-control,
#game-pause {
    cursor: pointer;
    display: none;
}

#game-start-control {
    background-image: url("images/game/start.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

#game-replay-control {
    text-align: center;
    position: absolute;
    width: 450px;
    height: 200px;
    top: 280px;
    left: 50%;
    margin-left: -225px;
    cursor: pointer;
    display: none;
}

#game-replay-text {
    font-family: 'Arial';
    font-weight: 700;
    font-size: 30px;
    line-height: 32px;
    padding: 20px;
    color: #000;
    text-transform: uppercase;
}

#game-replay {
    background-color: #000000;
    background-size: 100% 100%;
    width: 400px;
    height: 50px;
    font-family: 'Arial', sans-serif;
    font-size: 25px;
    line-height: 32px;
    font-weight: 400;
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
    margin: 20px auto 0px;
    padding: 10px;
}


#game-over {
    background-image: url('images/game/game-over.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 217px;
    height: 74px;
    top: 270px;
    left: 50%;
    margin-left: -108.5px;
    position: absolute;
    display:none;
}

#controls {
    width: 100%;
    height: 114px;
    text-align: center;
    margin: 10px auto;
    position: relative;
}

#game-control-left {
    background-image: url('images/game/arrow-left.png');
    width: 52px;
    height: 52px;
    position: absolute;
    top: 32px;
    left: 0px;
}

#game-control-up {
    background-image: url('images/game/arrow-up.png');
    width: 52px;
    height: 52px;
    position: absolute;
    top: 0px;
}

#game-control-down {
    background-image: url('images/game/arrow-down.png');
    width: 52px;
    height: 52px;
    position: absolute;
    top: 63px;
}

#game-control-right {
    background-image: url('images/game/arrow-right.png');
    width: 52px;
    height: 52px;
    position: absolute;
    top: 32px;
    right: 0px;
}

#presound {
    position: absolute;
    top: -1000px;
    display: none;
}

#sound1 {
    position: absolute;
    top: -1000px;
}

#sound-control {
    background-image: url('images/game/sound-off.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 32px;
    height: 32px;
    position: absolute;
    top: 0px;
    left: 0px;
}

#sound-control.on{
    background-image: url('images/game/sound-on.png');
}



/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}

/* Medium devices (desktops, 1199px and up) */
@media (max-width: 1199px) {
    #left-border {
        width: 347px;
        height: 485px;
    }

    #right-border {
        width: 204px;
        height: 485px;
    }
}

/* Small devices (tablets, 991px and down) */
@media (max-width: 991px) {

    .menu-content {
        max-width: 920px;
    }

    .menu-title {
        font-size: 30px;
        padding: 20px 0 10px;
    }

    .menu-container {
        margin: 20px -20px;
    }

    .menu-item {
        margin: 20px;
    }

    .menu-item-image {
    }

    .menu-item-name {
        font-size: 18px;
        padding: 10px 0;
    }

    #left-border {
        width: 214px;
        height: 485px;
    }

    #right-border {
        width: 126px;
        height: 485px;
    }
}

/* Extra small devices (phones, less than 768px) */
/* This is the default in Bootstrap */
@media (max-width: 767px) {

	.game-nav {
	    height: 10vw;
	}

	#game-nav-menu {
	    height: 10vw;
	    width: 6vw;
	}

	#game-nav-items {
	    height: 10vw;
	    width: calc(100% - 12vw);
	    margin-left: 10vw;
	}

	.game-nav-item {
		font-size: 2.5vw;
	}


	#sidebarMenu {
	    left: 0;
	    width: 100vw;
	    margin-top: 10vw;
	    transform: translateX(-100vw);
	}
	.sidebarMenuInner{
	    margin:0;
	    padding:0;
	}
	.sidebarMenuInner li{
	    padding: 4vw;
	}
	.sidebarMenuInner li span{
	    font-size: 2.5vw;
	}
	input[type="checkbox"]:checked ~ #sidebarMenu {
	}

	input[type=checkbox] {
	}
	.sidebarIconToggle {
	    top: 3.25vw;
	    left: 2vw;
	    height: 4vw;
	    width: 4vw;
	}
	.spinner {
	    height: 0.75vw;
	}
	.horizontal {
	    margin-top: 0.75vw;
	}
	.diagonal.part-1 {
	}
	.diagonal.part-2 {
	    margin-top: 0.75vw;
	}
	input[type=checkbox]:checked ~ .sidebarIconToggle > .diagonal.part-1 {
	    margin-top: 1.75vw;
	}
	input[type=checkbox]:checked ~ .sidebarIconToggle > .diagonal.part-2 {
	    margin-top: -2.25vw;
	}

    .menu-content {
        width: 90%;
        max-width: 280px;
    }

    .menu-title {
        font-size: 8vw;
        padding: 6vw 0 3vw;
    }

    .menu-container {
        margin: 0 -5vw 5vw;
    }

    .menu-item {
        margin: 5vw;
    }

    .menu-item-image {
    }

    .menu-item-name {
        font-size: 6vw;
        padding: 2vw 0;
    }

    #canvas-container {
        float: none;
        text-align: center;
        padding: 0px;
        position: relative;
    }

    .game-score {
        font-size: 5vw;
        height: 11.5vw;
    }

	#game-player,
	#game-maxscore,
	#game-score,
	#game-lives {
		font-size: 6vw;
	}

    #game-start-control,
    #game-pause,
    #canvas-preloader {
        width: 30vw;
        height: 30vw;
        top: 55vw;
        margin-left: -15vw;
    }

    #game-replay-control {
        width: 80vw;
        height: 50vw;
        top: 55vw;
        margin-left: -40vw;
    }

    #game-replay-text {
        font-size: 8vw;
        line-height: 1.2;
        padding: 4vw;
    }

    #game-replay {
        width: 80vw;
        height: 10vw;
        font-size: 5vw;
        line-height: 1;
        margin: 4vw auto 0;
        padding: 3vw;
    }

    #game-over {
        width: 50vw;
        height: 17.05vw;
        top: 36vw;
        margin-left: -25vw;
    }

    #controls {
        width: 100%;
        height: 114px;
        margin: 10px auto;
    }

    #sound-control {
        width: 32px;
        height: 32px;
        top: 0px;
        left: 0px;
    }

}

/* Smartphones (portrait - 320) ----------- */
/* Smartphones (landscape - 568) ----------- */
/* No media query for min width */
@media only screen and (max-width : 480px) {
/* Styles */

}

/* Responsive styles for bottom-up adjustments */
/* Extra small devices (phones, less than 768px) */
/* No media query since this is the default in Bootstrap */

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {  }

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {  }

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {  }

/* Smartphones (portrait and landscape) ----------- */
@media only screen  and (min-device-width : 320px) and (max-device-width : 480px) {
/* Styles */
}

/* Smartphones (landscape) ----------- */
@media only screen and (min-width : 321px) {
/* Styles */
}


.clearfix:before, .clearfix:after { content: " "; display: table; }
.clearfix:after { clear: both; }

/* Hides spinners for numeric input fields*/
.popup-content input[type='number'] {
    -moz-appearance:textfield;
}
.popup-content input::-webkit-outer-spin-button,
.popup-content input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.popup-overlay-bg {
    background-size:cover;
    background-repeat:no-repeat;
    background-color: #666666;
    opacity: 0.80;
    position: fixed;
    top: 0;
    left: 0;
    height:100%;
    min-height:100%;
    width: 100%;
    display: none;
    cursor: pointer;
    z-index: 10000;
}

.popup-close {
    background: url('https://debraindev.com/wm3/images/svg-close.php?color=007e32&perc=20') no-repeat;
    background-repeat: no-repeat;
    background-size: contain;
    height: 16px;
    width: 16px;
    opacity: 1;
    position: absolute;
    float: right;
    right: 20px;
    top: 15px;
    cursor: pointer;
    z-index: 10002;
}

.popup-content {
    background-color: #ffffff;
    background-size: 100% 100%;
    width: 400px;
    position: fixed;
    left: 50%;
    margin-left: -200px;
    top: 50%;
    margin-top: -340px;
    display: none;
    z-index: 10001;
    letter-spacing: normal;
}

.popup-title {
    position: absolute;
    width: 340px;
    left: 50%;
    margin-left: -170px;
    text-align: center;
    box-sizing: border-box;
    font-family: WMReg;
    font-weight: 400;
    font-size: 23px;
    line-height: 1.4;
    color: #053f27;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 24px 40px;
    top: 530px;
}

.popup-title em {
    font-family: WMBold;
    font-weight: 700;
    border-bottom: solid 1px #ffffff;
    padding-bottom: 5px;
}

.popup-subtitle {
    position: absolute;
    width: 409px;
    left: 50%;
    margin-left: -204px;
    text-align: center;
    box-sizing: border-box;
    font-family: WMLight;
    font-weight: 100;
    font-size: 19px;
    line-height: 1.3;
    color: #ffffff;
    padding: 0 15px;
    bottom: 24px;
}

.popup-form-title {
    text-align: center;
    box-sizing: border-box;
    font-family: WMReg;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.2;
    color: #053f27;
    padding: 0px 0px 15px 0;
}

.popup-form-subtitle {
    text-align: center;
    box-sizing: border-box;
    font-family: WMLight;
    font-weight: 100;
    font-size: 16px;
    line-height: 18px;
    color: #666666;
    padding: 0 0 10px;
    text-decoration: underline;
    cursor: pointer;
}

#popup-forgot-password {
    margin-top: 10px;
}

#popup-separator-svg {
    width: 140px;
    height: 2px;
    position: absolute;
    bottom: 93px;
    left: 50%;
    margin-left: -70px;
    display: none;
}

.popup-separator-svg {
    stroke: #053f27;
    stroke-width: 7px;
}

.popup-separator {
    background-size: 100% 100%;
    background-position: top center;
    width: 70px;
    height: 30px;
    position: absolute;
    top: 166px;
    left: 50%;
    margin-left: -35px;
    display: none;
}

.popup-registration {
    background-color: #ffffff;
    width: 409px;
    height: 680px;
    float: left;
    box-sizing: border-box;
    padding: 40px 35px 5px;
    overflow: hidden;
}

.popup-form-field-left,
.popup-form-field-right {
    width: 50%;
    float: left;
    box-sizing: border-box;
}
.popup-form-field-left {
    padding-right: 6px;
}
.popup-form-field-right {
    padding-left: 6px;
}
.popup-form-field-full {
    width: 100%;
    float: left;
    display: inline-table;
}

.popup-form label {
    font-family: WMLight, Helvetica;
    font-weight: normal;
    font-size: 12px;
    line-height: 16px;
    color: #666666;
    margin: 5px 0 5px 0;
    display: inline-block;
    width: auto;
    max-width: 100%;
}

.popup-form-field-full.left-label {
    margin-top: 0px;
}

.popup-form-field-full.left-label label {
    font-size: 16px;
    font-weight: 700;
    color: #004027;
    width: 40%;
    padding-top: 15px;
    float: left;
}

.popup-form input {
    border: 0px;
    border-bottom: solid 1px #b3c5be;
    font-family: WMLight, Helvetica;
    font-size: 17px;
    color: #053f27;
    height: 40px;
    width: 100%;
    padding: 6px 6px 6px 0px;
    border-radius: 0px;
    margin: 0 0 20px;
    box-sizing: border-box;
    display: inline-block;
}

.popup-form input:focus,
.popup-form select:focus {
    outline: none;
    border-color: #053f27 ;
}

.popup-form input::-webkit-input-placeholder {
 font-size: 17px;
 color: #b3c5be;
}

.popup-form input:-moz-placeholder { /* older Firefox*/
 font-size:17px;
 color: #b3c5be;
}

.popup-form input::-moz-placeholder { /* Firefox 19+ */
 font-size: 17px;
 color: #b3c5be;
}

.popup-form input:-ms-input-placeholder {
 font-size: 17px;
 color: #b3c5be;
}

.popup-dob {
    height: 42px;
}

.popup-form-field-full.left-label .popup-dob {
    width: 60%;
    float: left;
}

#popup-month {
    border-right: 0px;
}
#popup-day {
    border-right: 0px;
    border-left: 0px;
}

#popup-month,
#popup-day {
    width: 29%;
    width: calc(30% - 8px);
    margin: 0 8px 0 0;
    text-align: center;
    float: left;
}

#popup-year {
    width: 40%;
    border-left: 0px;
    margin: 0;
    float: right;
    text-align: center;
}

.popup-dob.focused {
    border-color: #053f27;
}

.popup-dob.focused #popup-month,
.popup-dob.focused #popup-day,
.popup-dob.focused #popup-year {
}

.popup-row-optin {
    margin-top: 0px;
}

.popup-form .popup-row-optin label {
    font-family: WMLight, Helvetica;
    font-weight: normal;
    font-size: 11px;
    line-height: 16px;
    color: #666666;
    text-transform: none;
    margin: 20px 0 5px 0;
    display: inline-block;
    max-width: 100%;
}

.popup-form .popup-row-optin label a,
.popup-form .popup-row-optin label a:hover,
.popup-form .popup-row-optin label a:visited {
    color: #666666;
    text-decoration: underline;
}

/*checkbox style*/
.popup-form .popup-input-checkbox{
    background-image: url(https://archeio.nyc3.digitaloceanspaces.com/welcome-mat/misc/input-check.png);
    background-size: 14px 28px;
    background-position: 0px 0px;
    width: 14px;
    height: 14px;
    border: 0;
}

.popup-form input[type="checkbox"] {
    display:none;
}

.popup-form input[type="checkbox"]:checked + label span,
.popup-form input[type="checkbox"]:checked + b + label span {
    background:url(https://archeio.nyc3.digitaloceanspaces.com/welcome-mat/misc/input-check.png) left top no-repeat;
    background-size: 14px 28px;
    background-position: 0px -14px;
    width: 14px;
    height: 14px;
}

.popup-form input[type="checkbox"] + label span,
.popup-form input[type="checkbox"] + b + label span {
    background: url(https://archeio.nyc3.digitaloceanspaces.com/welcome-mat/misc/input-check.png) left top no-repeat;
    background-size: 14px 28px;
    background-position: 0px 0px;
    vertical-align: middle;
    display: inline-block;
    cursor: pointer;
    width: 14px;
    height: 14px;
    margin: -3px 4px 0 0;
}

.popoup-checkbox-label{
    font-family: WMReg;
    font-size: 11px;
    color: #4d4d4d;
}

.popup-form input[type="submit"] {
    background-repeat: no-repeat;
    background-position: 95%;
    background-color: #63ab7d;
    font-family: WMReg, Helvetica;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
    height: 64px;
    border: 0;
    border-radius: 0;
    -webkit-appearance: none;
    margin: 15px 0px 0px;
    padding: 1px 6px;
    box-sizing: border-box;
    cursor: pointer;
 }

.popup-form input[type="submit"]:hover {
    background-color: #053f27;
}

.popup-form input.validation-error,
.popup-form select.validation-error {
    border-bottom: 2px solid #d3072a;
    color:black;
    margin-bottom: 0px;
    height: 35px;
}

.popup-form label.validation-error,
.popup-form .validation-error-message{
    font-family: WMLight;
    font-size: 12px;
    line-height: 12px;
    font-weight: normal;
    width: auto;
    color: red;
    margin-top: 5px;
    margin-bottom: 0px;
    padding-top: 0px;
    float: none;
}

#popup-or-svg {
    width: 100%;
    margin: 15px 0;
}

.popup-or-svg {
    stroke: #1d4d37;
    fill: #1d4d37;
    font-family: WMLight;
}

.popup-thanks {
    background: #ffffff;
    width: 409px;
    height: 680px;
    position: relative;
    float: left;
    display: none;
}

.popup-thanks-title {
    position: absolute;
    width: 270px;
    left: 50%;
    margin-left: -135px;
    text-align: center;
    box-sizing: border-box;
    font-family: WMBold;
    font-weight: 400;
    font-size: 44px;
    line-height: 48px;
    color: #053f27;
    top: 265px;
    padding: 0 20px;
}

.popup-thanks-title em {
    font-family: WMReg;
    font-weight: 700;
    padding-bottom: 5px;
}

.popup-thanks-subtitle {
    position: absolute;
    width: 400px;
    left: 50%;
    margin-left: -200px;
    text-align: center;
    box-sizing: border-box;
    font-family: WMReg;
    font-weight: 100;
    font-size: 30px;
    line-height: 1.4;
    color: #053f27;
    top: 410px;
    padding: 0 118px;
}

.popup-thanks-subtitle a,
.popup-thanks-subtitle a:hover {
        color: #053f27;
}

.popup-thanks-separator {
    background-size: 100% 100%;
    background-position: top center;
    width: 70px;
    height: 30px;
    position: absolute;
    top: 320px;
    left: 50%;
    margin-left: -35px;
    display: none;
}

#popup-thanks-separator-svg {
    width: 70px;
    height: 2px;
    position: absolute;
    top: 390px;
    left: 50%;
    margin-left: -35px;
}

.popup-signin {
    background-color: #ffffff;
    width: 409px;
    height: 480px;
    float: left;
    box-sizing: border-box;
    padding: 40px 35px 5px;
    overflow: hidden;
}

/* Extra small devices (phones, less than 768px) */
/* This is the default in Bootstrap */
@media (max-width: 840px) {

    .popup-content{
        background: none;
        width: 560px;
        height: auto;
        margin-left: -280px;
        margin-top: 0px;
        padding-left: 0px;
        position: absolute;
        top: 20px;
    }

    .popup-close {
        background: url('https://debraindev.com/wm3/images/svg-close.php?color=ffffff&perc=25') no-repeat;
        width: 25px;
        height: 25px;
    }

    .popup-title {
        background-color: #ffffff;
        font-size: 29px;
        padding: 14px 40px;
        width: 440px;
        margin: 0;
        margin-left: -220px;
        top: 242px;
    }

    .popup-subtitle {
        font-size: 23px;
        line-height: 1.2;
        width: 100%;
        left: 0;
        margin: 0;
        padding: 0px 50px;
        bottom: 20px;
    }

    #popup-separator-svg {
        bottom: auto;
        top: 160px;
    }

    .popup-form{
        width: 100%;
        height: auto;
        padding-top: 0px;
    }

    .popup-form-title {
        font-size: 30px;
        padding: 30px 24px 15px 0;
    }

    .popup-form label.validation-error {
        font-size: 14px;
    }

    .popup-form .popup-row-optin label {
        font-size: 16px;
    }

    .popup-thanks {
        width: 560px;
        height: 465px;
        text-align: center;
    }

    .popup-thanks-title {
        bottom: auto;
        top: 165px;
        width: 100%;
        left: 0px;
        margin-left: 0px;
        padding: 0;
    }

    .popup-thanks-subtitle {
        bottom: auto;
        top: 320px;
        padding: 0 10px;
        width: 100%;
        left: 0px;
        margin-left: 0px;
    }

    .popup-thanks-separator {
    }

    #popup-thanks-separator-svg {
        top: 290px;
    }

}

/* Smartphones (portrait - 320) ----------- */
/* Smartphones (landscape - 568) ----------- */
/* No media query for min width */
@media only screen and (max-width : 600px) {

    .popup-content {
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0px;
        margin: 0;
    }

    .popup-close {
        width: 3.33vw;
        height: 3.33vw;
        opacity: 1;
        right: 3vw;
        top: 3vw;
    }

    .popup-title {
        font-size: 5.18vw;
        width: 78.60vw;
        padding: 2.5vw 7.143vw;
        margin-left: -39.30;
        top: 43.22vw;
    }

    .popup-subtitle {
        font-size: 3.26667vw;
        width: 100%;
        left: 0px;
        margin-left: 0px;
        padding: 0px 16.6667vw;
        bottom: 3.066667vw;
    }

    .popup-form-title {
        font-size: 5.36vw;
        width: 90vw;
        margin: 3.3333vw 0 3.3333vw 5vw;
        padding: 5.36vw 15vw 2.68vw 0;
    }

    .popup-form-subtitle {
        width: 90vw;
        font-size: 5vw;
        line-height: 1.05;
        margin: 4.6667vw 0 4.6667vw 5%;
        padding: 0;
    }

    .popup-separator {
    }

    #popup-separator-svg {
        bottom: auto;
        top: 160px;
    }

    .popup-form {
        width: 100%;
        padding: 0.8333vw 3.8333vw;
    }

    .popup-form-field-left,
    .popup-form-field-right,
    .popup-form-field-full {
        width: 100%;
        float: none;
        padding: 0px;
    }

    .popup-form label {
        width: 90%;
        margin-left: 5%;
    }

    .popup-form-field-full.left-label label {
        width: 35%;
        font-size: 4vw;
        padding-top: 1.20vw;
        margin: 0.89vw 0 0.89vw 5%;
    }

    .popup-form .popup-input-sm,
    .popup-form .popup-input-lg {
        width: 90%;
        height: 7.25vw;
        font-size: 4vw;
        padding: 1.1vw 1.1vw 1.1vw 0px;
        margin: 0 0 3.571vw 5%;
    }

    .popup-form input::-webkit-input-placeholder {
        font-size: 4vw;
    }

    .popup-form input:-moz-placeholder { /* older Firefox*/
        font-size: 4vw;
    }

    .popup-form input::-moz-placeholder { /* Firefox 19+ */
        font-size: 4vw;
    }

    .popup-form input:-ms-input-placeholder {
        font-size: 4vw;
    }

    .popup-dob {
        width: 90%;
        height: 8.3333vw;
        margin-left: 5%;
    }

    .popup-form-field-full.left-label .popup-dob {
        width: 55%;
        margin-left: 0px;
    }

    .popoup-checkbox-label {
        font-size: 15px;
        padding-right: 20px;
        font-weight: normal;
        text-align: left;
    }

    .popup-form input[type="checkbox"]:checked + label span,
    .popup-form input[type="checkbox"]:checked + b + label span {
        background:url(https://archeio.nyc3.digitaloceanspaces.com/welcome-mat/misc/input-check-mobile.png) left top no-repeat;
        background-size: 21px 44px;
        background-position: 0px -22px;
        width:21px;
        height:22px;
    }

    .popup-form input[type="checkbox"] + label span,
    .popup-form input[type="checkbox"] + b + label span {
        background:url(https://archeio.nyc3.digitaloceanspaces.com/welcome-mat/misc/input-check-mobile.png) left top no-repeat;
        background-size: 21px 44px;
        background-position: 0px 0px;
        display:inline-block;
        vertical-align:middle;
        cursor:pointer;
        width:21px;
        height:22px;
        margin:-1px 4px 0 0;
        margin-right: 5px;
     }

    .popup-row-optin {
        margin-top: 1vw;
    }

    .popup-form .popup-row-optin label {
        width: 90%;
        margin: 2.667vw 0 2.667vw 5%;
        font-size: 2.8vw;
        line-height: 1.05;
    }

    .popup-form input[type="submit"] {
        width: 90%;
        height: 13vw;
        font-size: 3.5vw;
        line-height: 1.2vw;
        margin: 8vw 0px 2vw 5%;
        padding: 0 1.5vw;
    }

    .popup-form input.validation-error,
    .popup-form select.validation-error {
        height: 6.25vw;
    }

    .popup-form label.validation-error {
        font-size: 2.5vw;
        line-height: 1;
        margin: 1vw 0 1vw 5%;
    }

    .popup-form #popup-dob-error label.validation-error {
        margin-left: 0;
        width: 100%;
    }

    .popup-thanks {
        width: 100%;
        height: 90vw;
    }

    .popup-thanks-title {
        font-size: 8vw;
        line-height: 8vw;
        bottom: auto;
        top: 34vw;
        width: 100%;
        left: 0px;
        margin-left: 0px;
        padding: 0;
    }

    .popup-thanks-subtitle {
        font-size: 6.8vw;
        line-height: 4.8vw;
        bottom: auto;
        top: 67vw;
        padding: 0 2vw;
        width: 100%;
        left: 0px;
        margin-left: 0px;
    }

    .popup-thanks-separator {
    }

    #popup-thanks-separator-svg {
        top: 58vw;
    }

}
