@charset "UTF-8";

/* CSS Document for D.M.D */

* {
    /*reset of default spacing*/
    margin: 0;
    padding: 0;
}

.topContent {
    position: relative;
    z-index: 2;
    margin: 0 auto;
}


ul,
li, video {
    margin: 0;
    padding: 0;
}



a {
    color: white;
    text-decoration: none;
    transition: all ease-in-out 0.2s;
}

a:hover {
    color: rgba(242, 26, 73, 1.00);
}

.pro_content a:hover,
.st-content a:hover {
    padding-left: 10px;
}

h2 {
    font-size: 26px;
    margin-bottom: 10px;
    font-weight: normal;
    line-height: 26px;
}

h3 {
    font-size: 14px;
    font-weight: normal;
}

h4 {
    font-size: 18px;
    font-weight: normal;
    margin: 5px 0;
}

body {
    margin: 0;
    padding: 0;
    color: white;
    background: #000 url(../imgs/bg2.png) top left no-repeat;
    background-size: contain;
    font-family: 'Dosis', sans-serif;
}

p {
    font-size: 18px;
    margin: 2px 0;
}

.marker {
    background: black;
    display: inline-block;
    padding: 5px;
}

header {
    width: 100%;
    height: 94px;
}

.breaker {
    margin-top: 50px;
}


/*level 2*/

header img {
    width: 152px;
    height: 54px;
    float: left;
    padding-top: 20px;
}

#user_obj {
    clear: both;
    width: 100%;
    height: 342px;
    position: relative;
    padding-top: 50px;
}

#user_obj img {
    width: 45%;
    position: absolute;
    bottom: 10%;
    right: 3%;
}

#user_obj h1 {
    font-family: 'Poppins';
    font-weight: bold;
    font-size: 130px;
    line-height: 120px;
/*    mix-blend-mode: overlay;*/
    /*not supported in IE, chrome*/
    letter-spacing: -5px;
    color:rgba(242, 26, 73, 0.4);
    
}

#business_obj {
    width:100%;
    max-width: 840px;
    min-height: 577px;
    margin: 0 auto;
    /*center align div*/
}

.box {
    width: 220px;
    height: 250px;
    float: left;
    background: url(../imgs/hixs_pattern_evolution.png) top left repeat;
/*    border: 3px rgba(242, 26, 73, 1.00) solid;*/
    position: relative;
    padding: 10px;
    margin:20px 15px 50px;
}

.box h3 {
    font-size: 14px;
}

.box h2 {
    font-size: 26px;
    margin-bottom: 10px;
    font-weight: normal;
    color:rgba(242, 26, 73, 1.00)
}

.box a.more {
    padding-left: 0;
    position: absolute;
    bottom: 5px;
}

.box a:hover.more {
    padding-left: 10px;
}

.box span.portfolio {
    width: 140px;
    height: 90px;
    position: absolute;
    background-color: #a41030;
    background-blend-mode: multiply;
    top: -40px;
    right: -20px;
    border: 5px rgba(113, 23, 24, 1.00) solid;
    transition: all ease-in-out 0.2s;
}

.box span.portfolio:hover {
    width: 140px;
    height: 90px;
    border: 5px rgba(242, 26, 73, 1.00) solid;
    background-blend-mode: normal;
    cursor: pointer;
}

.n1 {
    background-image: url(../showcase/slh/images/caregiver.jpeg);
    background-size: 100%;
}

.n2 {
    background-image: url(../showcase/nhcs/imgs/gallery2.png);
    background-size: 100%;
}

.n3 {
    background-image: url(../showcase/buddyup/images/aboutus-header3.jpg);
    background-size: 100%;
}

#bob2 {
    clear: both;
    width:100%;
    max-width: 840px;
    height: 180px;
}

footer {
    margin: 0px auto 0;
    width: 85%;
    height: 25px;
    border-top: 3px rgba(242, 26, 73, 1.00) solid;
    border-left: 3px rgba(242, 26, 73, 1.00) solid;
    border-right: 3px rgba(242, 26, 73, 1.00) solid;
    padding: 10px;
}


.video {
  position: fixed;
  top: 50%; left: 50%;
  z-index: 1;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
}

.contentbox {
    margin: 60px auto 100px;
    max-width: 860px;
    position: relative;
    /*border:3px rgba(242,26,73,1.00) solid;*/
    padding: 0px 50px;
    min-height: 500px;
}


.contentbox h1 {
    font-weight: normal;
    text-transform: uppercase;
}

.contentbox h2 {
    font-weight: normal;
    text-transform: uppercase;
    font-size: 40px;
    line-height: 50px;
    color:rgba(242, 26, 73, 1.00);
}

.contentbox .col {
    border: 0px;
    background-color: black;
    float: left;
    text-align: center;
    padding: 40px;
    transition: all 0.2s ease-in-out;
    overflow: hidden;
    position: relative;
}

.contentbox .col img {
    width: 60%;
}

.contentbox .col:hover {
    -webkit-box-shadow: inset 0px 0px 0px 5px rgba(242, 26, 73, 1.00);
    -moz-box-shadow: inset 0px 0px 0px 5px rgba(242, 26, 73, 1.00);
    box-shadow: inset 0px 0px 0px 5px rgba(242, 26, 73, 1.00);
}

.contentbox .col .reftext {
    width:80%;
    position: absolute;
    top: 45%;
    left: 50%;
    transition: all ease-in-out 0.2s;
    transform: translate(-50%, -50%);
    cursor: pointer;
    color: rgba(0, 0, 0, 0.00);
    font-size: 16px;
}

.contentbox .col .reftext h5 {
    font-size: 30px;
    line-height: 25px;
    margin-bottom: 20px;
}

.contentbox .col:hover>.reftext {
    color: rgba(242, 26, 73, 0.8);
    top: 50%;
}

.pro_content {
    width: 47%;
    height: 200px;
    float: left;
    padding: 10px;
    margin: 5px 5px 0 0;
    transition: all ease-in-out 0.5s;
    background-color: rgba(0, 0, 0, 0.8);
    background-position: left center;
    background-size: 100% 100%;
    background-blend-mode: multiply;
    background-repeat: no-repeat;
    position: relative;
/*    border:2px solid rgba(242, 26, 73, 1.00);*/
    box-sizing: border-box;
}

.proxm {
    background-image: url(../imgs/proxm_logo.png);
}

.buddyup {
    background-image: url(../imgs/buddyup_logo.png);
}

.alice {
    background-image: url(../imgs/alice_logo.png);
}

.keep {
    background-image: url(../imgs/keep_logo.png);
}

.dss {
    background-image: url(../imgs/dss_ps.png);
}

.nhcs {
    background-image: url(../imgs/nhcs_ps.png);
}

.slh {
    background-image: url(../imgs/sunlovehome_ps.png);
}

.spark {
    background-image: url(../imgs/spark_ps.png);
}

.pro_content:hover {
    background-color: rgba(0, 0, 0, 0.85);
    -webkit-box-shadow: inset 0px 0px 0px 5px rgba(242, 26, 73, 1.00);
    -moz-box-shadow: inset 0px 0px 0px 5px rgba(242, 26, 73, 1.00);
    box-shadow: inset 0px 0px 0px 5px rgba(242, 26, 73, 1.00);
    background-position: center;
    background-repeat: no-repeat;
}

.pro_content p {
    font-size: 16px;
    margin: 8px 0;
}

.pro_content span {
    position: absolute;
    bottom: 20px;
}

.showcases {
    min-height: 820px;
}

#map {
    width: 60%;
    height: 230px;
    position: absolute;
    top: -80px;
    right: -20px;
}

#details {
    margin: 42px;
}

#details h1 {
    font-weight: normal;
}

#details p {
    margin: 20px;
    font-size: 20px;
}

#details i {
    margin-right: 30px;
    font-size: 30px;
}

#contactbox {
    padding-top:10px;
    margin: 40px auto 0;
    position: relative;
    background: url(../imgs/hixs_pattern_evolution.png) top left repeat;
/*    border: 3px rgba(242, 26, 73, 1.00) solid;*/
}

#formwrapper {
    height: 400px;
    padding: 10px 10px 0;
}


/* enquiry form*/

#enquiry h1 {
    margin: 0 0 20px 0;
    padding: 0;
    font-family: helvetica;
    font-size: 16px;
    font-weight: normal;
    display: inline-block;
    width: 80px;
}

#enquiry input[type="text"] {
    border: none;
    height: 40px;
    background-color: rgba(242, 26, 73, 1.00);
    color: white;
    padding: 0 0 0 5px;
    width: 320px;
    font-size: 20px;
    font-family: 'Dosis', sans-serif;
}

#enquiry input[type="text"].subj {
    border: none;
    height: 40px;
    background-color: rgba(242, 26, 73, 1.00);
    color: white;
    padding: 0 0 0 5px;
    width: 740px;
    font-size: 20px;
    font-family: 'Dosis', sans-serif;
}

#enquiry textarea {
    background-color: rgba(242, 26, 73, 1.00);
    outline: none;
    resize: none;
    border: none;
    width: 735px;
    height: 150px;
    vertical-align: top;
    color: white;
    padding: 5px;
    font-size: 16px;
    font-family: 'Dosis', sans-serif;
}

#enquiry input[type="button"] {
    margin: 0 auto;
    background-color: rgba(242, 26, 73, 1.00);
    border: none;
    color: white;
    width: 100%;
    height: 40px;
    cursor: pointer;
    font-size: 20px;
    font-family: 'Dosis', sans-serif;
    transition: all ease-in-out 0.2s;
}

#enquiry input[type="button"]:hover {
    color: white;
    background: #a41030;
    border: 5px rgba(242, 26, 73, 1.00) solid;
}

#enquiry input[type="button"]:focus,
#enquiry input[type="text"]:focus {
    outline: none;
}

#enquiry .row {
    margin: 20px 0;
}
#enquiry .aright {
    float:right;
    padding-right:10px
}


/* navigation */


nav {
    margin-right: 20px;
    float: right;
    position: relative;
    z-index: 9999;
}

nav ul.col2 {
    width: 160px;
}

nav ul li {
    float: left;
    list-style: none;
    position: relative;
    padding: 30px;
}

nav ul li a {
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(255, 255, 255, 1.00);
    display: block;
    transition: all 0.2s ease-in-out;
}

nav ul li a:hover {
    color: rgba(242, 26, 73, 1.00);
    cursor: pointer;
}

nav ul li ul li {
    padding: 0;
    height: 40px;
    line-height: 40px;
    clear: both;
    background: black;
    width: 80px;
}

nav ul li ul li a {
    padding-left: 3px;
}

nav ul li ul li:hover a {
    padding-left: 10px;
    color: white;
    background: rgba(242, 26, 73, 1.00);
}

nav ul li ul {
/*    visibility: hidden;*/
    opacity: 0;
    position: absolute;
    top: -9999px;
    transition: opacity 0.2s ease-in-out;
}

nav ul li:hover>ul {
/*    visibility: visible;*/
    opacity: 1;
    top:65px;
}


/*social media control*/

nav ul li.socialmedia {
    padding: 30px 10px;
    display: inline-block;
}

nav ul li.socialmedia:hover {
    color: rgba(212, 47, 157, 1.00);
    cursor: pointer;
}

nav .nav_menu_col2 {
    float: left;
    width: 80px;
    height: 160px;
}

.clearfix {
    clear: both;
}

#hmenu {
    color: white;
    font-size: 20px;
    float: right;
    display: none;
    padding: 20px;
}


/*footer navigation*/
nav#base ul li { 
    padding:0px 10px;
}



@media only screen and (max-width:1045px) {
    #enquiry input[type="text"],
    #enquiry input[type="text"].subj
    {
        width: 85%;
        height:40px;
    }
    #enquiry textarea
    { 
        width:84%;
        margin-bottom: 15px;
    }
    #enquiry h1 {
        width: 12%;
        font-size: 16px;
    }
   
    #bob2 {
        width:90%;
        margin:40px auto 0;
    }
    #enquiry .row {
        margin: 0px 0;
    }
    #enquiry input[type="button"] {
    margin: 0;
    width: 100%;
    }
    #formwrapper {
        height:380px;
        
    }
    #enquiry .aright {
    float:none;
    padding-right:0;
}
    
}

@media only screen and (max-width:950px) {
    .pro_content {
        width:46%;
    }
    .pro_content h2 {
        font-size: 2.1em;
    }
    .pgresource {
        min-height: 500px;
    }
    .contentbox .col {
        padding:4%;
    
    }
    
    
}

@media only screen and (max-width:900px) {
    .contentbox .col {
        padding:2.6%;
    }
    .reftext p { line-height: 1.1em;}
    
}

@media only screen and (max-width:815px) {
    /*turn off*/
    nav ul {
        display: none;
    }
    nav:hover ul li.socialmedia {
        border-top:1px solid rgba(255,255,255,0.5);
        width:10px;
        float:left;
    }
    nav:hover ul li ul {
        display: none;
    }
    /*turn on*/
    #hmenu {
        display: block;
        margin: 0;
    }
    nav {
        margin: 0;
    }
    nav:hover ul {
        /*appear when hover*/
        display: block;
        position: absolute;
        top: 50px;
        right: 0;
    }
    nav:hover ul li {
        width:80px;
        padding: 10px 30px;
        display: inline-block;
        position: relative;
        background: black;
    }
    .box {
        margin: 0 auto 30px;
        width: 60%;
        height: 155px;
        /*reduce further from schematic*/
        float: none;
        background: url(../imgs/hixs_pattern_evolution.png) top left repeat;
/*        border: 3px rgba(242, 26, 73, 1.00) solid;*/
        position: relative;
        padding: 1% 1% 1% 26%;
    }
    .box span.portfolio {
        width: 30%;
        height: 100px;
        position: absolute;
        background-color: #a41030;
        background-blend-mode: multiply;
        top: -20px;
        left: -20px;
        border: 5px rgba(113, 23, 24, 1.00) solid;
        transition: all ease-in-out 0.2s;
    }
    .box span.portfolio:hover {
        width: 30%;
        height: 100px;
        border: 5px rgba(242, 26, 73, 1.00) solid;
        background-blend-mode: normal;
        cursor: pointer;
    }
    #business_obj {
        width: 100%;
        height: 750px;
    }
    .n1, .n2, .n3 {
        background-repeat: no-repeat;
        background-size: cover;
    }
    #user_obj { height:220px;}
    #user_obj h1 {
        font-size: 100px;
        line-height: 90px;
        letter-spacing: -3px;
        top:0;
        position:absolute;
    }
    #user_obj img {
        width: 60%;
        position: absolute;
        bottom: 10%;
        right: 3%;
    }
    
    .box h4 {
        display: none;
    }
    
    .box a.more {
        position: absolute;
        bottom: 0px;
        right: 0;
        padding: 5px 10px;
        background-color: #a41030;
    }
    
    .box a:hover.more {
        padding-right: 20px;
    }
    
    .contentbox {
        margin-top: 10%;
        margin-left:auto;
        margin-right:auto;
        width: 90%;
        min-height: 800px;
        padding:0;
    }
    
    .contentbox .col {
        float: left;
        padding: 9%;
    }
    
    .contentbox .col img {
        width: 50%;
    }
    
    .pro_content {
        width: 45%;
        height:130px
    }
    .pro_content p {
        display:none;
    }
    .pro_content h2 {
        font-size: 1.3em;
        line-height: 30px;
        margin-top: 10px;
    }
    .showcases {
    min-height: 650px;
}
    #contactbox {
        width: 90%;
        height: 635px;
    }
    #formwrapper {
        height:50%;
        padding:30px 20px;
    }
    #map {
        width: 60%;
        height: 220px;
        position: absolute;
        top: -130px;
        right: -20px;
    }

    #enquiry input[type="text"],
    #enquiry input[type="text"].subj
    {
        width: 75%;
        height:40px;
    }
    #enquiry textarea
    { 
        width:75%; 
    }
     #enquiry input[type="button"] {
        margin: 0;
        width: 100%;
    }
    #enquiry h1 {
        width: 15%;
        font-size: 16px;
        
        
    }
    #business_obj {
        margin-top: 30px;
        width:100%;
        height:900px;
     }
    

}

@media only screen and (max-width:710px) {
    .contentbox .col {
        padding: 6%;
}
    .pgresource {
        min-height:600px;
    }
    
}

@media only screen and (max-width:605px) {
    .contentbox .col {
        padding: 3%;
    }
    
}

@media only screen and (max-width:590px) {
    #user_obj {
        height:150px;
    }
    #user_obj h1 {
        width:100%;
        margin-top:20px;
        font-size: 4em;
        line-height: 56px;
        letter-spacing: -1px;
    }
    #user_obj img { width:50%;}
    #business_obj {
        height:900px;  
    }
    .box { 
        margin: 0 auto 15px;
/*        width: 55%;*/
        height: 190px;
        padding: 1% 1% 1% 30%;
    }
    .box h2 { font-size: 1.2em;}
/*    .box p { display:none;}*/
    .box span.portfolio {
        width: 30%;
        height: 92px;
        position: absolute;
        
        left:-5px;  
    }
     .box span.portfolio:hover {
        width: 30%;
        height: 100px;
    }
    .pro_content {
        width: 94%;
        height:130px
    }
    .contentbox .col {
        width:45%;
        padding: 2%;
    }
    
    .contentbox .col img {
        width: 50%;
    }
    
    .contentbox {
        margin-top: 10%;
        width: 90%;
        min-height: 510px;
        padding:0;
        
    }
    .syl_t { /*hides the title in accordion*/
        display: none;
        position: absolute;
        top: -9999;
    }
    .reftext p{ display:none; }
    
    #map {
        width: 100%;
        height: 130px;
        position: absolute;
        top: 0px;
        right: 0px;
    }
    #contactbox {
        height:600px;
        
    }
    #contactbox #details {
        display:none;
        
    }
    #formwrapper {
        margin-top:130px;
    }

    #enquiry input[type="text"],
    #enquiry input[type="text"].subj
    {
        width: 100%;
        height:30px;
        margin-bottom:10px; 
        
    }
    #enquiry textarea
    { 
        width:100%; 
    }
     #enquiry input[type="button"] {
        margin: 0;
        width: 100%;
    }
    #enquiry h1 {
        width: 100%;
        font-size: 16px;
        display:inline-block;
        margin:0;
        text-align: center;
        margin-bottom:5px;
    }
    #enquiry .row {
        margin:0;
    }
    
    
}

@media only screen and (max-width:465px) {
    #user_obj img {
        display:none;
        
    }
    #user_obj h1 {
        font-size: 7em;
        line-height: 95px;
        letter-spacing: -5px;
        position:fixed;
        top:0px;
        left:0;
        z-index: -100;
    }
    header img {
        height:40px;
        width:100px;
    }
    .contentbox .col {
        width:42%;
        padding: 3.6%;
    }
    
}











