/*
Theme Name: Rob Salkowitz
Theme URI: http://mediaplant.net/themes/robsalkowitz
Author: MediaPlant
Author URI: http://mediaplant.net
Description: Custom theme created for Rob Salkowitz by MediaPlant
Version: 1.0
*/

body {
    margin: 0;
    padding: 0;
}

.contain {
    width: 940px;
    margin: 0 auto;
    font-family: "Open Sans", sans-serif;
}

    .contain h1 {
        font-size: 44px;
        line-height: 56px;
        font-weight: 700;
        text-transform: uppercase;
    }

    .contain p,
    .contain a {
        font-family: "Open sans", Arial;
        font-size: 1em;
        line-height: 1.55em;
    }

    .contain a {
        color: #680056;
    }

        .contain a:hover {
            color: #33002a;
        }

#footer {
}

#top-nav {
    border-bottom: 1px solid #c3c3c3;
    background-color: #fff;
    font-family: "Open Sans", sans-serif;
    position: fixed;
    top: 0;
    z-index: 9999;
    width: 100%;
}

    #top-nav li {
        display: inline-block;
        text-transform: uppercase;
    }

    #top-nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
        float: right;
    }

    #top-nav li a,
    #top-nav > div.contain a {
        text-transform: uppercase;
        font-size: 18px;
        color: #000 !important;
        font-weight: bold;
        float: left;
        text-decoration: none;
        padding: 15px 0 15px 40px;
    }

    #top-nav li a {
        font-size: 13px !important;
        line-height: 18px;
        padding: 20px 0 10px 20px !important;
    }

        #top-nav li a:hover {
            color: #680056 !important;
        }

    #top-nav > div.contain a.site-title {
        padding-right: 10px;
        padding-left: 0;
    }

.clear {
    clear: both;
}

.content-area {
    min-height: 100%;
}

#fullpage .section {
    background-size: cover;
}

    #fullpage .section .contain {
        margin-top: 0px;
    }

    #fullpage .section:nth-child(1) {
        background-image: url(http://robsalkowitz.com/wp-content/uploads/bg_home.jpg);
        background-repeat: no-repeat;
        background-position: 50% 0;
    }

    #fullpage .section:nth-child(2) {
        background-image: url(http://robsalkowitz.com/wp-content/uploads/bg_about.jpg);
    }
    /*#fullpage .section:nth-child(3) {
  background-image: url(/wp-content/uploads/bg_MC.jpg);
  color: #fff;
}*/
    #fullpage .section:nth-child(3) {
        background-image: url(http://robsalkowitz.com/wp-content/uploads/bg_texture_tile-1.jpg);
        background-size: auto;
        background-repeat: repeat;
    }

    #fullpage .section:nth-child(4) {
        background-image: url(http://robsalkowitz.com/wp-content/uploads/bg_texture_tile-1.jpg);
        background-size: auto;
        background-repeat: repeat;
    }

    #fullpage .section:nth-child(5) {
        background-image: url(http://robsalkowitz.com/wp-content/uploads/bg_texture_tile-1.jpg);
        background-size: auto;
        background-repeat: repeat;
    }

    #fullpage .section:nth-child(6) {
        background-image: url(http://robsalkowitz.com/wp-content/uploads/bg_texture_tile-1.jpg);
        background-size: auto;
        background-repeat: repeat;
    }

    #fullpage .section:nth-child(7) {
        background-image: url(http://robsalkowitz.com/wp-content/uploads/bg_texture_tile-1.jpg);
        background-size: auto;
        background-repeat: repeat;
    }

    #fullpage .section:nth-child(8) {
        background-image: url(http://robsalkowitz.com/wp-content/uploads/bg_texture_tile-1.jpg);
        background-size: auto;
        background-repeat: repeat;
    }

    #fullpage .section:nth-child(9) {
        background-image: url(http://robsalkowitz.com/wp-content/uploads/bg_books.jpg);
    }

    #fullpage .section:nth-child(10) {
        background-image: url(http://robsalkowitz.com/wp-content/uploads/bg_contact.jpg);
        background-repeat: no-repeat;
        background-position: 75% 0;
    }

    #fullpage .section:nth-child(1) .contain {
        margin-top: -15%;
    }

    #fullpage .section:nth-child(3) .contain,
    #fullpage .section:nth-child(5) .contain,
    #fullpage .section:nth-child(7) .contain {
        margin-top: 10%;
    }

    #fullpage .section:nth-child(3) .clients .contain,
    #fullpage .section:nth-child(5) .clients .contain,
    #fullpage .section:nth-child(7) .clients .contain {
        margin-top: 0px;
    }

    #fullpage .section:nth-child(3) .contain p,
    #fullpage .section:nth-child(5) .contain p,
    #fullpage .section:nth-child(7) .contain p {
        margin-top: 20px;
    }

    #fullpage .section .section-banner {
        position: absolute;
        top: 75px;
        width: 100%;
        max-height: 300px;
    }

#twitter-block {
    min-height: 465px;
    background-color: #fff;
}

    #twitter-block strong {
        background-color: #680056;
        width: auto;
        display: block;
        color: #fff;
        padding: 10px;
    }

.about-buttons {
    height: 140px;
    list-style: none;
    padding: 0;
    margin: 0;
}

    .about-buttons li {
        list-style: none;
        float: left;
    }

        .about-buttons li a {
            display: block;
            width: 110px;
            height: 140px;
            background-repeat: no-repeat;
            background-image: url(http://robsalkowitz.com/wp-content/uploads/About_button_sprite.png);
            background-position: 0 0;
            margin-right: 15px;
        }

            .about-buttons li a:hover {
                background-position: 0 -140px;
            }

        .about-buttons li:nth-child(1) a {
            background-position: 0 0;
        }

            .about-buttons li:nth-child(1) a:hover {
                background-position: 0 -140px;
            }

        .about-buttons li:nth-child(2) a {
            background-position: -110px 0;
        }

            .about-buttons li:nth-child(2) a:hover {
                background-position: -110px -140px;
            }

        .about-buttons li:nth-child(3) a {
            background-position: -220px 0;
        }

            .about-buttons li:nth-child(3) a:hover {
                background-position: -220px -140px;
            }

        .about-buttons li:nth-child(4) a {
            background-position: -330px 0;
        }

            .about-buttons li:nth-child(4) a:hover {
                background-position: -330px -140px;
            }

        .about-buttons li:nth-child(5) a {
            background-position: -440px 0;
            margin-right: 0;
        }

            .about-buttons li:nth-child(5) a:hover {
                background-position: -440px -140px;
            }

#social-icons {
    list-style: none;
    margin-top: -15px;
}

    #social-icons li {
        float: left;
        padding-right: 0px;
        width: 45px;
        margin-top: 0;
    }

        #social-icons li a {
            display: block;
            background-color: #680056;
            height: 36px;
            width: 36px;
            border-radius: 3px;
        }

            #social-icons li a:hover {
                background-color: #33002a;
            }

    #social-icons a img {
        width: 100%;
        margin: 0 auto;
        display: block;
    }

#books {
}

#books-section div {
    float: left;
    margin-right: 6.6%;
    width: 20%;
}

    #books-section div.last {
        margin-right: 0;
    }

    #books-section div a {
        background-color: #fff;
        display: block;
    }

        #books-section div a img {
            opacity: 1;
        }

        #books-section div a:hover img {
            opacity: 0.75;
        }

#books-section strong {
    text-transform: uppercase;
    font-size: 13px;
    line-height: 16px;
    display: block;
    text-align: center;
    margin-top: 15px;
}
    #books-section div:hover strong,
    #books-section strong.active {
        color: #680056;
    }

.services-block {
    border: 2px solid #c2c2c2;
    padding: 10px;
    padding-left: 20px;
}

    .services-block.white {
        border: 2px solid #fff;
    }

    .services-block.blue {
        border: 2px solid #0580bd;
    }

    .services-block.green {
        border: 2px solid #8ac640;
    }

    .services-block strong {
        display: block;
        margin: 10px 0;
        text-transform: uppercase;
    }

    .services-block ul li {
        list-style: disc inside;
    }

a.view-article {
    font-family: "Open Sans", Arial;
    font-size: 1em;
    text-decoration: none;
}

    a.view-article.orange {
        color: #ec6c25;
    }

        a.view-article.orange:hover {
            color: #bf571f;
        }

    a.view-article.green {
        color: #447903;
    }

        a.view-article.green:hover {
            color: #244001;
        }

    a.view-article.blue {
        color: #004f88;
    }

        a.view-article.blue:hover {
            color: #002540;
        }

.clients {
    background-color: #e0edf3;
    background-color: transparent;
    background-image: url(http://robsalkowitz.com/wp-content/uploads/FF_clients_bg_tile.png);
    background-repeat: repeat;
    bottom: 0px;
    clear: both;
    height: 100px;
    padding-top: 20px;
    position: absolute;
    width: 100%;
}

    .clients.IF {
        background-image: url(http://robsalkowitz.com/wp-content/uploads/IF_clients_bg_tile.png);
    }

    .clients h3 {
        font-size: 1.12em;
        font-family: "Segoe UI Semibold", "Segoe UI", Arial;
        font-weight: normal;
        margin-bottom: 12px;
        text-align: center;
        text-transform: uppercase;
    }

        .clients h3 + .columns {
            margin-left: 0px;
        }

    .clients .column.mc {
        margin: 0;
    }

    .clients img.center {
        display: block;
        text-align: center;
        margin: 0 auto;
    }

input[type=text] {
    width: 100%;
}

table.articles {
}

    table.articles td {
        border: 0 none;
    }

        table.articles td.spacer {
        }

        table.articles td.thumb {
            vertical-align: top;
        }

            table.articles td.thumb img {
                margin-top: 10px;
            }

        table.articles td h3 {
            font-size: 20px;
            line-height: 26px;
            font-weight: 700;
            margin: 10px 0;
        }

            table.articles td h3 a {
                color: #000;
                line-height: 26px;
                text-decoration: none;
            }

                table.articles td h3 a:hover {
                    color: #ec6c25;
                }

        table.articles td div {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 10px;
            text-transform: uppercase;
        }

            table.articles td div span {
                display: inline-block;
                background-color: #ec6c25;
                color: #fff;
                margin-right: 5px;
                font-weight: 300;
                padding: 5px 10px;
            }

        table.articles td p {
        }

    table.articles.SS div span {
        background-color: #447903;
    }

    table.articles.SS td h3 a:hover {
        color: #447903;
    }

    table.articles.IF div span {
        background-color: #004f88;
    }

    table.articles.IF td h3 a:hover {
        color: #004f88;
    }

#popup-wrapper { /*display: none;*/
}

.popup_content {
    background-color: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    display: block;
    padding: 35px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
    position: relative;
    margin: 0 auto !important;
	float: left;
}

    .popup_content img {
        float: left;
        margin-right: 20px;
        width: 34%;
    }

    .popup_content h2,
    .popup_content p,
    .popup_content a {
        font-family: "Open Sans", Arial;
    }

    .popup_content h2 {
        color: #000;
        font-size: 26px;
        line-height: 32px;
        font-weight: 600;
        margin-top: 40px;
    }

    .popup_content p {
        color: #000;
        font-weight: 300;
        width: 93%;
    }

    .popup_content a {
        bottom: 20px;
        color: #680056;
        position: absolute;
        right: 35px;
        text-decoration: none;
        font-style: italic;
        font-weight: 600;
    }

        .popup_content a.my_popup_close {
            top: 35px;
            right: 0;
        }

.fp-controlArrow.fp-prev {
	display: none;
    border-color: transparent #680056 transparent transparent !important;
}

.fp-controlArrow.fp-next {
    border-color: transparent transparent transparent #680056 !important;
}

#top-nav li a.hamburger, #top-nav > div.contain a.hamburger {
    display: none;
}

#top-nav > div.contain a.close {
    display: none;
    cursor: pointer;
    height: 25px;
    width: 25px;
    position: absolute;
    z-index: 99;
    right: 20px;
    top: 10px;
    padding: 0;
    float: none;
}

.menu-top-menu-container {
}

@media all and (max-height:768px) {
    #fullpage .section {
        min-height: 685px;
    }

        #fullpage .section .section-banner {
           /* top: 30px; */
        }

        #fullpage .section:nth-child(4),
        #fullpage .section:nth-child(6),
        #fullpage .section:nth-child(8) {
            padding-top: 40px;
        }
}

@media all and (max-width:940px) {
    .contain {
        max-width: 940px;
        width: auto;
        padding-right: 20px;
        padding-left: 20px;
    }

    #top-nav .contain {
        max-width: 940px;
        width: auto;
    }

    .clients img {
        width: 100%;
    }

    .clients .mc img {
        width: auto;
    }

    #fullpage :nth-child(3).section .contain,
    #fullpage :nth-child(5).section .contain,
    #fullpage :nth-child(7).section .contain {
        margin-top: 0;
    }
}
@media all and (max-height:768px) and (min-height: 659px) {
	#fullpage .section:nth-child(3) .contain, #fullpage .section:nth-child(5) .contain, #fullpage .section:nth-child(7) .contain {
		margin-top: 10%;
	}
}
@media all and (max-height:658px) {
	#fullpage .section:nth-child(3) .contain, #fullpage .section:nth-child(5) .contain, #fullpage .section:nth-child(7) .contain {
		margin-top: 10%;
	}
}
@media all and (max-height:658px) and (min-width: 1100px) {
	#fullpage .section:nth-child(3) .contain, #fullpage .section:nth-child(5) .contain, #fullpage .section:nth-child(7) .contain {
		margin-top: 20%;
	}
}

@media all and (max-width:735px) and (min-width:631px) {
    #top-nav ul {
    }

    #top-nav li a, #top-nav > div.contain a {
        padding: 15px 0;
    }

    #top-nav li a {
        padding: 20px 0px 10px 10px !important;
    }

    #top-nav > div.contain a.site-title {
        padding-right: 0;
    }
	#fullpage :nth-child(4).section {
		height: auto !important;
	}
}

@media all and (max-width:630px) and (min-width:100px) {
    .contain {
        width: auto;
    }

    .content-area {
        background-image: url(http://robsalkowitz.com/wp-content/uploads/bg_about.jpg);
        background-repeat: repeat;
    }

    #top-nav li a.hamburger, #top-nav > div.contain a.hamburger {
        display: block;
        position: absolute;
        top: 0px;
        right: 20px;
    }

    #top-nav a.close {
        height: 25px;
        width: 25px;
        position: absolute;
        z-index: 99;
        right: 0;
    }

    .menu-navigation-container {
        display: block;
        position: absolute;
        top: 0px;
        width: 100%;
        left: 0;
        padding: 10px 0;
        padding-top: 50px;
        background-image: url(http://robsalkowitz.com/wp-content/uploads/mobilemenubg.png);
        background-color: transparent;
        background-repeat: repeat;
    }

    #top-nav li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #505050;
        padding-bottom: 10px;
    }

    #top-nav .menu-navigation-container li a {
        color: #fff !important;
        text-align: center;
        float: none;
        display: inline-block;
    }

    #fullpage .section {
        padding-bottom: 40px;
    }

        #fullpage .section .contain {
            padding: 20px;
            padding-top: 80px;
        }

        #fullpage .section .section-banner {
            top: 25px;
        }

        #fullpage .section:nth-child(3),
        #fullpage .section:nth-child(5),
        #fullpage .section:nth-child(7) {
            padding-bottom: 0;
            padding-top: 40px;
        }

    #fullpage :nth-child(3).section .contain, #fullpage :nth-child(5).section .contain, #fullpage :nth-child(7).section .contain {
        margin-top: 5%;
        padding-top: 20px;
    }

    #top-nav {
        padding-left: 10px;
        position: fixed;
    }

    .menu-navigation-container {
        clear: both;
        display: none;
    }

    #top-nav ul {
        float: none;
    }

    #top-nav li a {
        padding: 0 20px 0 0 !important;
    }

    #books-section div {
        float: left;
        width: 50%;
        margin-right: 0;
        height: 240px;
    }

        #books-section div img {
            display: block;
            margin: 0 auto;
            max-width: 50%;
            text-align: center;
        }

    #books-section strong {
        margin: 10px 0 20px 0;
    }

    #twitter-block iframe {
        width: 100% !important;
    }

    .clients {
        float: left;
        height: 260px;
        margin-top: 35px;
        position: static;
    }

        .clients .columns {
            width: 50%;
            margin-left: 0;
        }

        .clients img {
            display: block;
            margin: 0 auto;
            width: auto;
        }

    .articles {
        margin-bottom: 0;
    }

    .services-block {
        margin-top: 35px;
    }

    .section-banner-container {
        position: relative;
        overflow: hidden;
        width: 100%;
        height: 215px;
        margin-top: 35px;
    }

    #fullpage .section .section-banner-container .section-banner {
        width: 200%;
        position: absolute;
        top: 0px;
        left: -50%;
    }


    #fullpage :nth-child(1).section .contain {
        margin-top: -50%;
		margin-top: 0;
    }

    #fullpage :nth-child(10).section {
        background-image: url(http://robsalkowitz.com/wp-content/uploads/bg_texture_tile-1.jpg);
        background-size: auto;
        background-repeat: repeat;
    }

    .popup_content h2 {
        clear: both;
    }

    .popup_content img {
        float: none;
        display: block;
        margin: 0 auto !important;
    }

    .fp-controlArrow.fp-prev {
        left: 3px !important;
        border-width: 18px !important;
        margin-top: 0;
    }

    .fp-controlArrow.fp-next {
        right: 3px !important;
        border-width: 18px !important;
        margin-top: 0;
    }
	table.articles td.thumb {
		width: 60px;
	}
	table.articles td.thumb img{
		width: 60px;
		height: 60px;
	}
	table.articles td h3 {
		line-height: 22px; font-size: 16px;
	}
	table.articles td h3 a {
		line-height: 22px;
	}
	table.articles td div {
		font-size: 12px;
	}
	.contain table.articles p {
		font-size: 0.85em;
	}
	.popup_content h2 {
		margin-top: 20px;
	}
	.popup_content p {
		font-size: 0.85em;
	}
	table.articles td {
		padding-top: 0;
		padding-left: 0;
	}
	.contain table.articles p {
		margin-bottom: 0;
	}
	#fullpage :nth-child(4).section {
		/*height: auto !important;*/
	}
}

@media all and (max-width:550px) and (min-width:100px) {
    #fullpage .section .contain {
            padding-top: 20px;
    }
	#fullpage :nth-child(2).section .contain {
            padding-top: 80px;
    }
	#fullpage :nth-child(1).section {
        background-size: 150% auto;
        background-repeat: no-repeat;
        background-position: 84% 9%;
    }

        #fullpage :nth-child(1).section .contain {
            margin-top: 70%;
        }
	#fullpage :nth-child(3).section .contain,
    #fullpage :nth-child(5).section .contain,
    #fullpage :nth-child(7).section .contain {
        margin-top: 0;
		padding-top: 0;
    }
	#fullpage .section:nth-child(9) .contain {
		padding-top: 40px;
	}
	#fullpage :nth-child(1).section .contain h1{
        margin-top: 55px;
    }
	#twitter-block {
		width: 280px;
	}
}
@media only screen and (max-width: 480px), only screen and (max-device-width: 480px) {
   /* CSS overrides for mobile here */
   #fullpage :nth-child(1).section .contain {
        margin-top: 70%;
    }
	#fullpage :nth-child(1).section .contain h1{
        margin-top: 55px;
    }
	#fullpage :nth-child(3).section .contain,
    #fullpage :nth-child(5).section .contain,
    #fullpage :nth-child(7).section .contain {
        margin-top: 0;
		padding-top: 0;
    }
}
@media all and (max-width:490px) and (min-width:420px) {
    .section-banner-container {
        height: 180px;
    }
}

@media all and (max-width:420px) and (min-width:100px) {
    .section-banner-container {
        height: 160px;
    }
#fullpage :nth-child(3).section .contain,
    #fullpage :nth-child(5).section .contain,
    #fullpage :nth-child(7).section .contain {
        margin-top: 0;
		padding-top: 0;
    }
	#twitter-block {
		width: 280px;
	}
}
